Skip to content

Commit 1896e5e

Browse files
committed
gtk3: Update active popover item style
Make active/hover popover menu items style consistent in colors with every other menu item and selected items in the theme.
1 parent 80813ef commit 1896e5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

common/gtk-3.0/sass/_common.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,7 @@ modelbutton.flat {
819819

820820
@extend %undecorated_button;
821821

822-
&:hover { background-color: if($variant!='dark', mix($fg_color,$bg_color,5%), mix($fg_color,$bg_color,10%)); }
823-
&:active, &:selected { &, arrow { @extend %selected_items; } }
822+
&:hover, &:active, &:selected { &, arrow { @extend %selected_items; } }
824823
&:checked { color: $fg_color; }
825824

826825
// FIXME: temporary workaround
@@ -2184,6 +2183,8 @@ switch {
21842183
// too similar in luminosity to the selected background color, hence
21852184
// we need special casing.
21862185
menuitem #{$w}#{$s}:hover,
2186+
modelbutton #{$w}#{$s}:hover,
2187+
modelbutton #{$w}#{$s}:active,
21872188
.view #{$w}#{$s}:selected,
21882189
treeview.#{$w}#{$s}:selected,
21892190
row:selected #{$w}#{$s},

0 commit comments

Comments
 (0)