style: Fix focus border color on system entries
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2823>
This commit is contained in:
parent
b6bcb31d77
commit
a72c95de96
@ -249,9 +249,9 @@ stage {
|
|||||||
%osd_entry {
|
%osd_entry {
|
||||||
@extend %entry_common;
|
@extend %entry_common;
|
||||||
@include entry(normal, $c:$osd_fg_color,);
|
@include entry(normal, $c:$osd_fg_color,);
|
||||||
&:hover { @include entry(hover, $c:$osd_fg_color,);}
|
&:hover { @include entry(hover, $c:$osd_fg_color);}
|
||||||
&:focus { @include entry(focus, $c:$osd_fg_color,);}
|
&:focus { @include entry(focus, $c:$osd_fg_color);}
|
||||||
&:insensitive { @include entry(insensitive, $c:$osd_fg_color,);}
|
&:insensitive { @include entry(insensitive, $c:$osd_fg_color);}
|
||||||
|
|
||||||
StLabel.hint-text {color: transparentize($osd_fg_color, 0.3); }
|
StLabel.hint-text {color: transparentize($osd_fg_color, 0.3); }
|
||||||
}
|
}
|
||||||
@ -279,13 +279,14 @@ stage {
|
|||||||
%system_entry {
|
%system_entry {
|
||||||
@extend %entry_common;
|
@extend %entry_common;
|
||||||
@include entry(normal, $c:$system_fg_color,);
|
@include entry(normal, $c:$system_fg_color,);
|
||||||
&:hover { @include entry(hover, $c:$system_fg_color,);}
|
&:hover { @include entry(hover, $c:$system_fg_color);}
|
||||||
&:focus { @include entry(focus, $c:$system_fg_color,);}
|
&:focus { @include entry(focus, $c:$system_fg_color, $fc:transparentize($system_fg_color, 0.5));}
|
||||||
&:insensitive { @include entry(insensitive, $c:$system_fg_color,);}
|
&:insensitive { @include entry(insensitive, $c:$system_fg_color);}
|
||||||
|
|
||||||
StLabel.hint-text { color: transparentize($system_fg_color, 0.3);}
|
StLabel.hint-text { color: transparentize($system_fg_color, 0.3);}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
%system_button {
|
%system_button {
|
||||||
@include button(normal, $tc:$system_fg_color, $c:$system_bg_color);
|
@include button(normal, $tc:$system_fg_color, $c:$system_bg_color);
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Text entries
|
// Text entries
|
||||||
@mixin entry($t, $c) {
|
@mixin entry($t, $c, $fc:$selected_bg_color) {
|
||||||
//
|
//
|
||||||
// Entries drawing function
|
// Entries drawing function
|
||||||
//
|
//
|
||||||
@ -46,8 +46,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@if $t==focus {
|
@if $t==focus {
|
||||||
background-color: mix(transparentize($c, 0.75), $selected_bg_color, 95%);
|
background-color: mix(transparentize($c, 0.75), $fc, 95%);
|
||||||
box-shadow: inset 0 0 0 2px transparentize($selected_bg_color, 0.3);
|
box-shadow: inset 0 0 0 2px transparentize($fc, 0.3);
|
||||||
color: $c;
|
color: $c;
|
||||||
&:hover {}
|
&:hover {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user