From 2361b4a6da338605b33c85110354265f00550975 Mon Sep 17 00:00:00 2001 From: eudaimon Date: Wed, 21 Feb 2024 10:36:52 +0100 Subject: [PATCH] Vainly trying to fix Nautilus's pathbar, added shadow to xfwm4 theme --- gtk-3.0/gtk.css | 12 +++++++----- gtk-4.0/gtk.css | 12 +++++++----- source/common/desktops.scss | 4 ++++ source/common/nautilus.scss | 10 ++++++---- source/gtk3/gtk-new.css | 12 +++++++----- source/gtk4/gtk-new.css | 12 +++++++----- xfwm4/themerc | 6 +++--- 7 files changed, 41 insertions(+), 27 deletions(-) diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 6120fc9..f7fd1c9 100644 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -585,17 +585,17 @@ window.devel headerbar.titlebar:not(.selection-mode):backdrop { background: #606 #NautilusPathBar { background: none; border-radius: 0px; } -#NautilusPathBar button, #NautilusPathBar menubutton { margin: 0; } +#NautilusPathBar button, #NautilusPathBar menubutton, #NautilusPathBar #NautilusPathButton { margin: 0; } -#NautilusPathBar button label, #NautilusPathBar menubutton label { font-weight: normal; } +#NautilusPathBar button label, #NautilusPathBar menubutton label, #NautilusPathBar #NautilusPathButton label { font-weight: normal; font-style: italic; } #NautilusPathBar > scrolledwindow > viewport > box > box > label { opacity: 0; margin: 0 -0.5em; padding: 0; } -#NautilusPathBar button.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } +#NautilusPathBar button.current-dir, #NautilusPathBar #NautilusPathButton.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } -#NautilusPathBar button.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } +#NautilusPathBar button.current-dir:hover, #NautilusPathBar #NautilusPathButton.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } -#NautilusPathBar button.current-dir label { font-weight: bold; } +#NautilusPathBar button.current-dir label, #NautilusPathBar #NautilusPathButton.current-dir label { font-weight: bold; font-style: normal; } .nautilus-list-view listview > row { border-radius: 0px; margin: 0pX; } @@ -1565,6 +1565,8 @@ XfdesktopIconView.view:active { text-shadow: none; color: #f9f06b; background-co .top-bar:backdrop { background-color: #606060; color: #ffffff; transition: none; } +.character-list-scroll { color: #ffffff; background-color: #555555; } + windowhandle > box { padding: 0; } /* GTK NAMED COLORS ---------------- use responsibly! */ diff --git a/gtk-4.0/gtk.css b/gtk-4.0/gtk.css index 0c10be8..f7f4db5 100644 --- a/gtk-4.0/gtk.css +++ b/gtk-4.0/gtk.css @@ -725,17 +725,17 @@ pathbar > button.slider-button { padding-left: 0; padding-right: 0; } #NautilusPathBar { background: none; border-radius: 0px; } -#NautilusPathBar button, #NautilusPathBar menubutton { margin: 0; } +#NautilusPathBar button, #NautilusPathBar menubutton, #NautilusPathBar #NautilusPathButton { margin: 0; } -#NautilusPathBar button label, #NautilusPathBar menubutton label { font-weight: normal; } +#NautilusPathBar button label, #NautilusPathBar menubutton label, #NautilusPathBar #NautilusPathButton label { font-weight: normal; font-style: italic; } #NautilusPathBar > scrolledwindow > viewport > box > box > label { opacity: 0; margin: 0 -0.5em; padding: 0; } -#NautilusPathBar button.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } +#NautilusPathBar button.current-dir, #NautilusPathBar #NautilusPathButton.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } -#NautilusPathBar button.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } +#NautilusPathBar button.current-dir:hover, #NautilusPathBar #NautilusPathButton.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } -#NautilusPathBar button.current-dir label { font-weight: bold; } +#NautilusPathBar button.current-dir label, #NautilusPathBar #NautilusPathButton.current-dir label { font-weight: bold; font-style: normal; } .nautilus-list-view listview > row { border-radius: 0px; margin: 0pX; } @@ -1743,6 +1743,8 @@ XfdesktopIconView.view:active { text-shadow: none; color: #f9f06b; background-co .top-bar:backdrop { background-color: #606060; color: #ffffff; transition: none; } +.character-list-scroll { color: #ffffff; background-color: #555555; } + windowhandle > box { padding: 0; } /* GTK NAMED COLORS ---------------- use responsibly! */ diff --git a/source/common/desktops.scss b/source/common/desktops.scss index d1ddfa8..19eaa3d 100644 --- a/source/common/desktops.scss +++ b/source/common/desktops.scss @@ -58,6 +58,10 @@ XfdesktopIconView.view:active { } } +.character-list-scroll{ //On gnome-characters I've noticed that on light themes, something weird happens, let's hope this (seemingly unnecessary) fixes it! + color: $text_color; + background-color: $base_color; +} windowhandle > box { padding: 0; diff --git a/source/common/nautilus.scss b/source/common/nautilus.scss index afb13ba..0343d55 100644 --- a/source/common/nautilus.scss +++ b/source/common/nautilus.scss @@ -14,22 +14,24 @@ #NautilusPathBar { background: none; border-radius: 0px; - button, menubutton { + button, menubutton, #NautilusPathButton { //why a repeated id?? shouldn't that be a class, programmer that programs Nautilus? I've never programmed a GTK app, though! margin: 0; - label {font-weight: normal;} + label {font-weight: normal; font-style: italic;} //this italic is a subtle reference to the removed slashes } - > scrolledwindow > viewport > box > box > label { // let's make the slashes disappear + > scrolledwindow > viewport > box > box > label { // makes the slashes disappear opacity: 0; margin: 0 -0.5em; padding: 0; } - button.current-dir { + + button.current-dir, #NautilusPathButton.current-dir { @include button(checked-active); &:hover { @include button(checked-hover); } label { font-weight: bold; + font-style: normal; } } } diff --git a/source/gtk3/gtk-new.css b/source/gtk3/gtk-new.css index 6120fc9..f7fd1c9 100644 --- a/source/gtk3/gtk-new.css +++ b/source/gtk3/gtk-new.css @@ -585,17 +585,17 @@ window.devel headerbar.titlebar:not(.selection-mode):backdrop { background: #606 #NautilusPathBar { background: none; border-radius: 0px; } -#NautilusPathBar button, #NautilusPathBar menubutton { margin: 0; } +#NautilusPathBar button, #NautilusPathBar menubutton, #NautilusPathBar #NautilusPathButton { margin: 0; } -#NautilusPathBar button label, #NautilusPathBar menubutton label { font-weight: normal; } +#NautilusPathBar button label, #NautilusPathBar menubutton label, #NautilusPathBar #NautilusPathButton label { font-weight: normal; font-style: italic; } #NautilusPathBar > scrolledwindow > viewport > box > box > label { opacity: 0; margin: 0 -0.5em; padding: 0; } -#NautilusPathBar button.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } +#NautilusPathBar button.current-dir, #NautilusPathBar #NautilusPathButton.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } -#NautilusPathBar button.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } +#NautilusPathBar button.current-dir:hover, #NautilusPathBar #NautilusPathButton.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } -#NautilusPathBar button.current-dir label { font-weight: bold; } +#NautilusPathBar button.current-dir label, #NautilusPathBar #NautilusPathButton.current-dir label { font-weight: bold; font-style: normal; } .nautilus-list-view listview > row { border-radius: 0px; margin: 0pX; } @@ -1565,6 +1565,8 @@ XfdesktopIconView.view:active { text-shadow: none; color: #f9f06b; background-co .top-bar:backdrop { background-color: #606060; color: #ffffff; transition: none; } +.character-list-scroll { color: #ffffff; background-color: #555555; } + windowhandle > box { padding: 0; } /* GTK NAMED COLORS ---------------- use responsibly! */ diff --git a/source/gtk4/gtk-new.css b/source/gtk4/gtk-new.css index 0c10be8..f7f4db5 100644 --- a/source/gtk4/gtk-new.css +++ b/source/gtk4/gtk-new.css @@ -725,17 +725,17 @@ pathbar > button.slider-button { padding-left: 0; padding-right: 0; } #NautilusPathBar { background: none; border-radius: 0px; } -#NautilusPathBar button, #NautilusPathBar menubutton { margin: 0; } +#NautilusPathBar button, #NautilusPathBar menubutton, #NautilusPathBar #NautilusPathButton { margin: 0; } -#NautilusPathBar button label, #NautilusPathBar menubutton label { font-weight: normal; } +#NautilusPathBar button label, #NautilusPathBar menubutton label, #NautilusPathBar #NautilusPathButton label { font-weight: normal; font-style: italic; } #NautilusPathBar > scrolledwindow > viewport > box > box > label { opacity: 0; margin: 0 -0.5em; padding: 0; } -#NautilusPathBar button.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } +#NautilusPathBar button.current-dir, #NautilusPathBar #NautilusPathButton.current-dir { border-width: 2px; color: #f9f06b; background-color: #93531c; border-left-color: #633813; border-top-color: #633813; border-right-color: #b88e6a; border-bottom-color: #b88e6a; } -#NautilusPathBar button.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } +#NautilusPathBar button.current-dir:hover, #NautilusPathBar #NautilusPathButton.current-dir:hover { border-width: 2px; color: #f9f06b; background-color: #a85f20; border-left-color: #754216; border-top-color: #754216; border-right-color: #ca9e78; border-bottom-color: #ca9e78; } -#NautilusPathBar button.current-dir label { font-weight: bold; } +#NautilusPathBar button.current-dir label, #NautilusPathBar #NautilusPathButton.current-dir label { font-weight: bold; font-style: normal; } .nautilus-list-view listview > row { border-radius: 0px; margin: 0pX; } @@ -1743,6 +1743,8 @@ XfdesktopIconView.view:active { text-shadow: none; color: #f9f06b; background-co .top-bar:backdrop { background-color: #606060; color: #ffffff; transition: none; } +.character-list-scroll { color: #ffffff; background-color: #555555; } + windowhandle > box { padding: 0; } /* GTK NAMED COLORS ---------------- use responsibly! */ diff --git a/xfwm4/themerc b/xfwm4/themerc index 0296584..22ca23a 100644 --- a/xfwm4/themerc +++ b/xfwm4/themerc @@ -8,11 +8,11 @@ frame_border_top=2 full_width_title=true maximized_offset=0 show_app_icon=true -shadow_delta_height=0 +shadow_delta_height=2 shadow_delta_width=0 shadow_delta_x=0 -shadow_delta_y=0 -shadow_opacity=0 +shadow_delta_y=-10 +shadow_opacity=50 title_horizontal_offset=1 title_shadow_active=false title_shadow_inactive=false