mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 02:11:08 +00:00
HC: special case .dim-label
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3507
This commit is contained in:
parent
de8a8d7bde
commit
fd00aa98ea
@ -71,3 +71,4 @@ $switch_bg_color: $selected_bg_color;
|
|||||||
$switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),darken($switch_bg_color,30%));
|
$switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),darken($switch_bg_color,30%));
|
||||||
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.5), transparentize($selected_bg_color, 0.3));
|
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.5), transparentize($selected_bg_color, 0.3));
|
||||||
$alt_focus_border_color: if($variant == 'light', transparentize(white, 0.2), transparentize(white,0.7));
|
$alt_focus_border_color: if($variant == 'light', transparentize(white, 0.2), transparentize(white,0.7));
|
||||||
|
$dim_label_opacity: 0.55;
|
||||||
|
@ -180,7 +180,7 @@ label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dim-label {
|
.dim-label {
|
||||||
opacity: 0.55;
|
opacity: $dim_label_opacity;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,3 +20,5 @@ $insensitive_borders_color: mix($borders_color, $bg_color, 80%);
|
|||||||
//focus rings
|
//focus rings
|
||||||
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.2), transparentize(white, 0.4));
|
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.2), transparentize(white, 0.4));
|
||||||
$alt_focus_border_color: if($variant == 'light', white, transparentize(white,0.4));
|
$alt_focus_border_color: if($variant == 'light', white, transparentize(white,0.4));
|
||||||
|
|
||||||
|
$dim_label_opacity: 0.9;
|
||||||
|
Loading…
Reference in New Issue
Block a user