[nautilus/wip/antoniof/gnome-42: 10/72] Revert "css: Drop unused, redundant or obsolete styles"
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/gnome-42: 10/72] Revert "css: Drop unused, redundant or obsolete styles"
- Date: Fri, 11 Feb 2022 19:27:59 +0000 (UTC)
commit dd766fc2043a0d9217309c83d6b766944f2f2e4f
Author: Ondrej Holy <oholy redhat com>
Date: Fri Feb 11 13:50:22 2022 +0100
Revert "css: Drop unused, redundant or obsolete styles"
This reverts commit 856c3a09b939ff5342203024a30e16490afae2da.
src/resources/css/Adwaita.css | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 92d1870ec..8a0bb9c01 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -1,3 +1,9 @@
+.nautilus-window,
+.nautilus-window notebook,
+.nautilus-window notebook > stack {
+ background: @theme_base_color;
+}
+
.nautilus-empty-state-icon {
opacity: 0.50;
}
@@ -72,6 +78,32 @@
opacity: 1;
}
+/* Make the tags fit into the box */
+entry.search > * {
+ margin: 5px;
+}
+
+/* Sidebar */
+
+.nautilus-window .sidebar-row:selected {
+ background: mix(@theme_bg_color, @theme_fg_color, 0.07);
+}
+
+.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);
+}
+
+.nautilus-window .sidebar-row:selected:backdrop {
+ background: mix(@theme_unfocused_bg_color, @theme_unfocused_fg_color, 0.07);
+}
+
+.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);
+}
+
/* Floating status bar */
.floating-bar {
padding: 3px;
@@ -198,6 +230,9 @@ flowboxchild:selected .icon-ui-labels-box {
}
flowboxchild:selected image {
+ -gtk-icon-effect: dim; /* GTK 3 only */
+ /* GTK 4 TODO: Replace previous line with the following one:
-gtk-icon-filter: opacity(0.5);
+ */
-gtk-icon-shadow: 0px 0px @theme_selected_bg_color;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]