[nautilus] Adwaita.css: make sidebar selector specific
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Adwaita.css: make sidebar selector specific
- Date: Sat, 15 Jun 2019 18:52:58 +0000 (UTC)
commit 3930f2a936ea1c5fe77bb4ee9eb47a57051c0efa
Author: Tomasz Gąsior <kontakt tomaszgasior pl>
Date: Thu Jun 13 19:20:02 2019 +0200
Adwaita.css: make sidebar selector specific
Have been using CSS to desaturate nautilus sidebar.
However, this also affects the GtkFileChooser invoked by nautilus,
which is unnecessary and breaks consistency with other apps.
To avoid that side effect, use more specific CSS selectors.
src/resources/css/Adwaita.css | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 9232ba803..11df2291a 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -78,22 +78,22 @@ entry.search > * {
/* Sidebar */
-.sidebar-row:selected {
+.nautilus-window .sidebar-row:selected {
background: mix(@theme_bg_color, @theme_fg_color, 0.07);
}
-.sidebar-row:selected,
-.sidebar-row:selected image,
-.sidebar-row:selected label {
+.nautilus-window .sidebar-row:selected,
+.nautilus-window .sidebar-row:selected image,
+.nautilus-window .sidebar-row:selected label {
color: mix(@theme_fg_color, @theme_text_color, 0.5);
}
-.sidebar-row:selected:backdrop {
+.nautilus-window .sidebar-row:selected:backdrop {
background: mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.07);
}
-.sidebar-row:selected:backdrop,
-.sidebar-row:selected:backdrop label {
+.nautilus-window .sidebar-row:selected:backdrop,
+.nautilus-window .sidebar-row:selected:backdrop label {
color: mix(@theme_unfocused_fg_color, @theme_unfocused_text_color, 0.15);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]