gnome-shell: Fix focused buttons

Hide 2px inset box-shadow on focused buttons, that was inherited
from default shell theme due to the !important flag that was added
to upstream stylesheets in GNOME 43 cycle [1].

[1] b9359f4f07
This commit is contained in:
Joonas Henriksson 2022-12-12 04:57:49 +02:00
parent ef0900a99a
commit a76102bb2d
No known key found for this signature in database
GPG Key ID: FAEDBC4FB5AA3B17
2 changed files with 5 additions and 2 deletions

View File

@ -297,7 +297,10 @@ StScrollBar {
border-color: if($variant!='dark', darken($osd_bg_color, 5%), darken($osd_bg_color, 8%));
&:hover { background-color: lighten($osd_bg_color, 5%); }
&:focus { color: $selected_bg_color; }
&:focus {
color: $selected_bg_color;
box-shadow: none !important;
}
&:active {
color: $selected_fg_color;
background-color: $selected_bg_color;

View File

@ -86,7 +86,7 @@
color: $fg_color;
background-color: $button_bg;
border: 1px solid $selected_bg_color;
box-shadow: inset 0 1px transparentize($button_bg, 0.95);
box-shadow: inset 0 1px transparentize($button_bg, 0.95) !important;
}
@else if $t==focus-hover {