From 396c12c925b603bdb1ff1016dcd1c5fd0282ecb3 Mon Sep 17 00:00:00 2001 From: theRealPadster Date: Sun, 18 Apr 2021 22:05:58 -0400 Subject: [PATCH] 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: --- data/theme/gnome-shell-sass/_common.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index f83ce5e90..9df3d8d43 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_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; }