Adwaita: sidebar color for file picker

- avoid using the selected blue for the sidebar

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1586
This commit is contained in:
Jakub Steiner
2020-07-13 16:01:01 +02:00
parent 53831e67a7
commit fe5c0e2fe3
2 changed files with 56 additions and 33 deletions

View File

@@ -4,21 +4,30 @@
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "gtk4-widget-factory",
"tags": ["devel", "development", "nightly"],
"tags" : [
"devel",
"development",
"nightly"
],
"desktop-file-name-prefix" : "(Development) ",
"finish-args" : [
"--device=dri",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*"
"--talk-name=org.gtk.vfs",
"--talk-name=org.gtk.vfs.*"
],
"cleanup" : [
"/include",
"/lib/pkgconfig", "/share/pkgconfig",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"/man", "/share/man", "/share/gtk-doc",
"*.la", ".a",
"/man",
"/share/man",
"/share/gtk-doc",
"*.la",
".a",
"/lib/girepository-1.0",
"/share/gir-1.0",
"/share/doc"
@@ -98,5 +107,10 @@
}
]
}
]
],
"build-options" : {
"env" : {
"DBUS_SESSION_BUS_ADDRESS" : "''"
}
}
}

View File

@@ -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;