summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2020-07-13 16:01:01 +0200
committerJakub Steiner <jimmac@gmail.com>2020-07-14 11:37:29 +0200
commit627ec82e6027520c62fb2df3bc646ffaed0f69a5 (patch)
tree89d4b1ad9d56a15cae9c55a71f86e4a7c75c08ea /gtk
parentccc34ca06cdc98f60236a206a40330fb9faf1c03 (diff)
downloadgtk+-627ec82e6027520c62fb2df3bc646ffaed0f69a5.tar.gz
Adwaita: sidebar color for file picker
- use menu like hovers and desaturated selected_bg_color Partially addresses https://gitlab.gnome.org/GNOME/gtk/-/issues/1586
Diffstat (limited to 'gtk')
-rw-r--r--gtk/theme/Adwaita/_common.scss15
1 files changed, 9 insertions, 6 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 49199896bf..74e3372d2a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3344,17 +3344,20 @@ placessidebar {
> revealer { padding: 0 14px; }
&:selected {
- background-color: $menu_selected_color;
- color: $fg_color;
+ background-color: desaturate($selected_bg_color,100%);
+ color: $selected_fg_color;
- &:focus, &:hover {
+ &:focus {
+ outline-width: 0;
color: $selected_fg_color;
background-color: $selected_bg_color;
}
+ &:hover:not(:last-child) { /* FIXME: dirty specificity bump */
+ color: $fg_color;
+ background-color: $menu_selected_color;
+ }
}
-
-
&:disabled { color: $insensitive_fg_color; }
image.sidebar-icon {
@@ -3415,7 +3418,7 @@ placesview {
-gtk-icon-transform: rotate(-0.5turn);
}
- row.activatable:hover { background-color: transparent; }
+ row.activatable:hover { }
> actionbar > revealer > box > box{
border-spacing: 6px;