[gtk/wip/jimmac/file-dialog-sidebar-color: 19/19] Adwaita: sidebar color for file picker
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/jimmac/file-dialog-sidebar-color: 19/19] Adwaita: sidebar color for file picker
- Date: Tue, 14 Jul 2020 09:38:26 +0000 (UTC)
commit 627ec82e6027520c62fb2df3bc646ffaed0f69a5
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Jul 13 16:01:01 2020 +0200
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
gtk/theme/Adwaita/_common.scss | 15 +++++++++------
1 file 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]