From d6f88daab35185d5731ee9e708dc9b8ec0a151b0 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Sat, 31 Jul 2021 14:53:42 -0500 Subject: [PATCH] Xfce: Improve thunar 4.16 appearance --- gtk-3.0/apps/_thunar.scss | 3 ++- gtk-3.0/gtk-dark.css | 25 ++++++++++++++++--------- gtk-3.0/gtk.css | 23 ++++++++++++++++++----- 3 files changed, 36 insertions(+), 15 deletions(-) diff --git a/gtk-3.0/apps/_thunar.scss b/gtk-3.0/apps/_thunar.scss index 3b168ac..147b628 100644 --- a/gtk-3.0/apps/_thunar.scss +++ b/gtk-3.0/apps/_thunar.scss @@ -13,7 +13,8 @@ scrolledwindow.sidebar treeview.view { } /* path-bar of thunar */ -window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar { +window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar, +.thunar toolbar { .path-bar-button { @include button(normal-header); border-radius: 0; diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 18272cd..8cdc111 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -6346,7 +6346,8 @@ scrolledwindow.sidebar treeview.view { padding: 1.5px; } /* path-bar of thunar */ -window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button { +window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button, +.thunar toolbar .path-bar-button { color: #d8dee9; border-radius: 4px; text-shadow: none; @@ -6358,25 +6359,31 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path- box-shadow: none; min-height: 20px; padding: 3px 4px; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:first-child { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:first-child, + .thunar toolbar .path-bar-button:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:last-child { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:last-child, + .thunar toolbar .path-bar-button:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-right-style: solid; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:only-child { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:only-child, + .thunar toolbar .path-bar-button:only-child { border-radius: 4px; border-style: solid; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:hover { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:hover, + .thunar toolbar .path-bar-button:hover { color: #81a1c1; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:checked { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:checked, + .thunar toolbar .path-bar-button:checked { color: #fff; outline-color: rgba(255, 255, 255, 0.3); background-color: rgba(129, 161, 193, 0.7); text-shadow: none; } -window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .toggle.path-bar-button:hover { +window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .toggle.path-bar-button:hover, +.thunar toolbar .toggle.path-bar-button:hover { color: #fff; outline-color: rgba(255, 255, 255, 0.3); background-color: rgba(129, 161, 193, 0.7); @@ -6393,5 +6400,5 @@ window.thunar paned > scrolledwindow treeview.view:hover, window.thunar paned > background: #3b4252; color: #d8dee9; } .caja-notebook .entry:selected { - background: #8fbcbb; - color: #2e3440; } + background: #81a1c1; + color: #fefefe; } diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 18272cd..2bc7ec2 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -6346,7 +6346,8 @@ scrolledwindow.sidebar treeview.view { padding: 1.5px; } /* path-bar of thunar */ -window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button { +window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button, +.thunar toolbar .path-bar-button { color: #d8dee9; border-radius: 4px; text-shadow: none; @@ -6358,25 +6359,37 @@ window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path- box-shadow: none; min-height: 20px; padding: 3px 4px; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:first-child { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:first-child, + .thunar toolbar .path-bar-button:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:last-child { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:last-child, + .thunar toolbar .path-bar-button:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-right-style: solid; } - window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:only-child { + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:only-child, + .thunar toolbar .path-bar-button:only-child { border-radius: 4px; border-style: solid; } +<<<<<<< HEAD window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:hover { color: #81a1c1; } window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:checked { +======= + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:hover, + .thunar toolbar .path-bar-button:hover { + color: #8fbcbb; } + window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .path-bar-button:checked, + .thunar toolbar .path-bar-button:checked { +>>>>>>> d2caa05 (Xfce: Improve thunar 4.16 appearance) color: #fff; outline-color: rgba(255, 255, 255, 0.3); background-color: rgba(129, 161, 193, 0.7); text-shadow: none; } -window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .toggle.path-bar-button:hover { +window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar .toggle.path-bar-button:hover, +.thunar toolbar .toggle.path-bar-button:hover { color: #fff; outline-color: rgba(255, 255, 255, 0.3); background-color: rgba(129, 161, 193, 0.7);