From c7e7122e25208f9e039bb7cb1d9d5c3640d9141d Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 1 Mar 2024 16:05:27 +0100 Subject: [PATCH] [Editor] Indicate if the highlight-thickness slider is disabled The fact that the highlight-thickness can only be changed in "free" mode isn't really obvious visually in the toolbar, so attempt to provide at least some indication of the `disabled`-state by "dimming" the slider. --- web/annotation_editor_layer_builder.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/annotation_editor_layer_builder.css b/web/annotation_editor_layer_builder.css index e69fb93ef..6e93f787d 100644 --- a/web/annotation_editor_layer_builder.css +++ b/web/annotation_editor_layer_builder.css @@ -1188,6 +1188,10 @@ --example-color: CanvasText; } + :is(& > .editorParamsSlider[disabled]) { + opacity: 0.4; + } + &::before { content: ""; width: 8px;