changeset 100:374207f64e2f

Match newer Nautilus style and fix DConf path bar Styles are similar but not related (and then there's pathbar vs path-bar)
author IBBoard <dev@ibboard.co.uk>
date Sun, 27 Mar 2022 15:00:24 +0100
parents 85674188d6d3
children 1e5ce701b8d8
files gtk-3.24/nautilus.css gtk-4.4/gtk.css gtk-4.4/gtk.scss
diffstat 3 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk-3.24/nautilus.css	Sun Mar 27 11:57:56 2022 +0100
+++ b/gtk-3.24/nautilus.css	Sun Mar 27 15:00:24 2022 +0100
@@ -106,9 +106,30 @@
 
 .nautilus-window .path-bar:not(.linked) button:not(:backdrop):hover { box-shadow: inset 0 -3px @borders; }
 
+.nautilus-window .path-bar-box button {
+  border-width: 0 1px 0 0
+}
+.nautilus-window .path-bar-box.width-maximized { 
+  border-radius: 0;
+}
+.nautilus-window .path-bar-box .linked > button {
+  box-shadow: none
+}
+.nautilus-window .path-bar-box .linked > button:only-child {
+  border-radius:0;
+}
+.nautilus-window .path-bar-box .linked > button:first-child {
+  border-top-left-radius: 6px;
+  border-bottom-left-radius: 6px;
+}
+
 .nautilus-window .path-bar-box {
   transition: border 200ms;
   transition: background-color 200ms;
+  border-radius: 5px;
+  border: 1px @wm_button_border solid;
+  background-color: @wm_bg_a;
+  padding-right: 6px;
 }
 .nautilus-window .path-bar-box.width-maximized {
   border: 1px @wm_button_border solid;
--- a/gtk-4.4/gtk.css	Sun Mar 27 11:57:56 2022 +0100
+++ b/gtk-4.4/gtk.css	Sun Mar 27 15:00:24 2022 +0100
@@ -1998,6 +1998,8 @@
 
 #pathbarbox { background-color: #C6C6C6; }
 
+headerbar .pathbar { background-color: @theme_bg_dark_color; border-style: none; }
+
 list-row.sidebar-item { background-color: #b9b9b9; border-color: #7a7a7a; }
 
 list-row.sidebar-item:backdrop, list-row.sidebar-item:backdrop:hover { background-color: #b9b9b9; border-color: #818181; }
--- a/gtk-4.4/gtk.scss	Sun Mar 27 11:57:56 2022 +0100
+++ b/gtk-4.4/gtk.scss	Sun Mar 27 15:00:24 2022 +0100
@@ -400,6 +400,10 @@
 #pathbarbox {
   background-color: $bg_color;
 }
+headerbar .pathbar {
+  background-color: #{"@theme_bg_dark_color"};
+  border-style:none;
+}
 list-row {
   // Set sidebar items back to something reasonable
   &.sidebar-item {