diff options
author | raveit65 <[email protected]> | 2016-03-19 10:17:03 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-03-19 10:17:58 +0100 |
commit | eecc00acfb3a44a3815dd23b9052af754e4cd976 (patch) | |
tree | e0cce2f3b0750ac115b9f9e5113939aa05f27dfb | |
parent | 0fe1d322971b6647697479e16bbf4589d094df81 (diff) | |
download | mate-themes-eecc00acfb3a44a3815dd23b9052af754e4cd976.tar.bz2 mate-themes-eecc00acfb3a44a3815dd23b9052af754e4cd976.tar.xz |
GTK+-3.20 Submarine themes: fix for nautilus pathbar
-rw-r--r-- | desktop-themes/Blue-Submarine/gtk-3.0/gnome-applications.css | 60 | ||||
-rw-r--r-- | desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css | 60 |
2 files changed, 120 insertions, 0 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gnome-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/gnome-applications.css index 81b19630..368e5558 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gnome-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gnome-applications.css @@ -1,4 +1,64 @@ +/* forward/back buttons */ +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button { + box-shadow: none; + border-width: 1px; +} + +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button:first-child { + border-radius: 4px 0px 0px 4px; +} + +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button:last-child { + border-radius: 0px 4px 4px 0px; +} + +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button:hover { + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); +} + +/* workaround for jumping buttons in nautilus */ +.nautilus-window > headerbar.titlebar .linked.path-bar>button, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle { + border-width: 1px; + border-radius: 4px; + box-shadow: none; +} + +.nautilus-window > headerbar.titlebar .linked.path-bar>button:hover, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle:hover, +.nautilus-window > headerbar.titlebar .linked.path-bar>button:checked, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle:checked, +.nautilus-window > headerbar.titlebar .linked.path-bar>button:hover:active, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle:hover:active { + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); + border-radius: 4px; +} + +.nautilus-window > headerbar.titlebar .linked.path-bar> button:first-child widget { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +.nautilus-window > headerbar.titlebar .linked.path-bar > button:last-child widget { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +.nautilus-window > headerbar.titlebar .linked.path-bar > button:first-child, +.nautilus-window > headerbar.titlebar .linked.path-bar> button:last-child { + padding: 0px; +} + +.nautilus-window > headerbar.titlebar .linked.path-bar > button.text-button.toggle { + margin: 0px -1px 0px 0px; + padding: 4px; +} + EphyWindow { background-image: -gtk-gradient (linear, left top, left bottom, diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css index 92c2d05a..c215ab67 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gnome-applications.css @@ -1,4 +1,64 @@ +/* forward/back buttons */ +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button { + box-shadow: none; + border-width: 1px; +} + +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button:first-child { + border-radius: 4px 0px 0px 4px; +} + +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button:last-child { + border-radius: 0px 4px 4px 0px; +} + +.nautilus-window > headerbar.titlebar > .linked.raised > button.image-button:hover { + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); +} + +/* workaround for jumping buttons in nautilus */ +.nautilus-window > headerbar.titlebar .linked.path-bar>button, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle { + border-width: 1px; + border-radius: 4px; + box-shadow: none; +} + +.nautilus-window > headerbar.titlebar .linked.path-bar>button:hover, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle:hover, +.nautilus-window > headerbar.titlebar .linked.path-bar>button:checked, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle:checked, +.nautilus-window > headerbar.titlebar .linked.path-bar>button:hover:active, +.nautilus-window > headerbar.titlebar .linked.path-bar>button.text-button.toggle:hover:active { + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); + border-radius: 4px; +} + +.nautilus-window > headerbar.titlebar .linked.path-bar> button:first-child widget { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + +.nautilus-window > headerbar.titlebar .linked.path-bar > button:last-child widget { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +.nautilus-window > headerbar.titlebar .linked.path-bar > button:first-child, +.nautilus-window > headerbar.titlebar .linked.path-bar> button:last-child { + padding: 0px; +} + +.nautilus-window > headerbar.titlebar .linked.path-bar > button.text-button.toggle { + margin: 0px -1px 0px 0px; + padding: 4px; +} + EphyWindow { background-image: -gtk-gradient (linear, left top, left bottom, |