theme: Move :hover below :focus in %bubble_button

Fix issue where background colour of modal buttons do not update when
hovering over a focused button.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1818>
This commit is contained in:
theRealPadster 2021-04-18 22:05:58 -04:00 committed by Marge Bot
parent a472657490
commit 396c12c925

View File

@ -81,7 +81,7 @@ stage {
padding: $base_padding * 2; padding: $base_padding * 2;
} }
// Overview panels // Overview panels
// for the dash and workspace switcher // for the dash and workspace switcher
%overview_panel { %overview_panel {
color: $osd_fg_color; color: $osd_fg_color;
@ -129,8 +129,8 @@ stage {
border-bottom-width: 0; border-bottom-width: 0;
&:insensitive { @include button(insensitive, $shadow: none); } &:insensitive { @include button(insensitive, $shadow: none); }
&:hover { @include button(hover, $shadow: none); }
&:focus { @include button(focus, $shadow: none); } &:focus { @include button(focus, $shadow: none); }
&:hover { @include button(hover, $shadow: none); }
&:active { @include button(active, $shadow: none); } &:active { @include button(active, $shadow: none); }
// radius is 2 pixel less to fit in bubble // radius is 2 pixel less to fit in bubble
@ -142,7 +142,7 @@ stage {
border-right-width: 0; border-right-width: 0;
border-radius: 0 0 $modal_radius - 2px 0; border-radius: 0 0 $modal_radius - 2px 0;
} }
&:first-child:last-child { &:first-child:last-child {
border-radius: 0 0 $modal_radius - 2px $modal_radius - 2px; border-radius: 0 0 $modal_radius - 2px $modal_radius - 2px;
} }