diff options
author | Jakub Steiner <jimmac@gmail.com> | 2020-07-13 16:01:01 +0200 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2020-07-13 17:03:55 +0200 |
commit | fe5c0e2fe38b1ea3172195c4a45ef9e434498fe7 (patch) | |
tree | 6a9eff1ac4506f64e363051e9a6c7b96b54c5465 /gtk/theme | |
parent | 53831e67a77aaaacc17a8f7ec9a942bd097e9e2b (diff) | |
download | gtk+-fe5c0e2fe38b1ea3172195c4a45ef9e434498fe7.tar.gz |
Adwaita: sidebar color for file picker
- avoid using the selected blue for the sidebar
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1586
Diffstat (limited to 'gtk/theme')
-rw-r--r-- | gtk/theme/Adwaita/_common.scss | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 7e829c1b4b..49199896bf 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -3343,7 +3343,17 @@ placessidebar { // will make the animation of the new bookmark row jump > revealer { padding: 0 14px; } - &:selected { color: $selected_fg_color; } + &:selected { + background-color: $menu_selected_color; + color: $fg_color; + + &:focus, &:hover { + color: $selected_fg_color; + background-color: $selected_bg_color; + } + } + + &:disabled { color: $insensitive_fg_color; } @@ -3361,7 +3371,6 @@ placessidebar { @extend %button_basic_flat; @extend %button_selected_flat; - min-height: 26px; min-width: 26px; margin-top: 3px; |