From cee3ec2c507e5932856d1b32a50e9e78f17ee7bc Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Thu, 14 Mar 2024 10:53:43 -0230 Subject: [PATCH] style: Fix hover state difference in notification header buttons - make the close button and expand button use the same styles - add style for :active:hover state since it was missing Part-of: --- data/theme/gnome-shell-sass/widgets/_message-list.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss b/data/theme/gnome-shell-sass/widgets/_message-list.scss index b52444b89..2b3fd610f 100644 --- a/data/theme/gnome-shell-sass/widgets/_message-list.scss +++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss @@ -116,19 +116,16 @@ color: $fg_color; background-color: transparentize($fg_color, .9); padding: 4px; - &:hover { background-color: transparentize($fg_color, .87);} - &:active { background-color: transparentize($fg_color, .84);} + &:hover { background-color: transparentize($fg_color, .81);} + &:active, + &:active:hover { background-color: transparentize($fg_color, .76);} &:insensitive { background-color: transparentize($fg_color, .93);} } .message-expand-button { padding: 6px; - background-color: transparentize($fg_color, 0.9); - &:ltr { margin-right: $base_padding; } &:rtl { margin-left: $base_padding; } - - &:hover { background-color: transparentize($fg_color, 0.8);} } }