summaryrefslogtreecommitdiff
path: root/_common.scss
diff options
context:
space:
mode:
authortheRealPadster <padspambox@gmail.com>2021-04-18 22:05:58 -0400
committerFlorian Müllner <fmuellner@gnome.org>2021-05-13 16:49:11 +0200
commitf4422e8aef6800369f116625cded03e49abb9172 (patch)
treee4f422b9ab5406cbcc4a9ea319e6403a76ba05e5 /_common.scss
parentf49e7243fdc0a484e5bf8e14fa11d1f07edc62a3 (diff)
downloadgnome-shell-sass-f4422e8aef6800369f116625cded03e49abb9172.tar.gz
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>
Diffstat (limited to '_common.scss')
-rw-r--r--_common.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/_common.scss b/_common.scss
index f83ce5e..9df3d8d 100644
--- a/_common.scss
+++ b/_common.scss
@@ -81,7 +81,7 @@ stage {
padding: $base_padding * 2;
}
-// Overview panels
+// Overview panels
// for the dash and workspace switcher
%overview_panel {
color: $osd_fg_color;
@@ -129,8 +129,8 @@ stage {
border-bottom-width: 0;
&:insensitive { @include button(insensitive, $shadow: none); }
- &:hover { @include button(hover, $shadow: none); }
&:focus { @include button(focus, $shadow: none); }
+ &:hover { @include button(hover, $shadow: none); }
&:active { @include button(active, $shadow: none); }
// radius is 2 pixel less to fit in bubble
@@ -142,7 +142,7 @@ stage {
border-right-width: 0;
border-radius: 0 0 $modal_radius - 2px 0;
}
-
+
&:first-child:last-child {
border-radius: 0 0 $modal_radius - 2px $modal_radius - 2px;
}