From 56e2a570e38f6a580846ebfc1da6728fae964c85 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Mon, 15 Jul 2019 23:40:09 +0200 Subject: [PATCH] classic: hover state for panel buttons - prelight before active - lighten up slightly, similar to what the default does (inverted) Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/169 --- data/gnome-classic.scss | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/data/gnome-classic.scss b/data/gnome-classic.scss index 410c5f03..5b29df1b 100644 --- a/data/gnome-classic.scss +++ b/data/gnome-classic.scss @@ -32,18 +32,20 @@ $variant: 'light'; font-weight: normal; color: $fg_color; text-shadow: none; - &:active, &:overview, &:focus, &:checked { - // Trick due to St limitations. It needs a background to draw - // a box-shadow - background-color: $selected_bg_color !important; - color: $selected_fg_color !important; - box-shadow: none; - & > .system-status-icon { icon-shadow: none; } - } &:hover { + color: lighten($fg_color,10%); text-shadow: none; & .system-status-icon { icon-shadow: none; } } + &:active, &:overview, &:focus, &:checked { + // Trick due to St limitations. It needs a background to draw + // a box-shadow + background-color: $selected_bg_color; + color: $selected_fg_color; + box-shadow: none; + & > .system-status-icon { icon-shadow: none; } + } + .app-menu-icon { width: 0; height: 0; margin: 0; } // shell's display:none; :D .system-status-icon {