From b498f652d1bc9968e5f300e7bdd5a0fa7da11dae Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 5 Jun 2016 19:22:19 +0200 Subject: GTK+-3.20 Submarine themes: fix pathbar in nemo --- .../Green-Submarine/gtk-3.0/other-applications.css | 55 ++++++++++++---------- 1 file changed, 29 insertions(+), 26 deletions(-) (limited to 'desktop-themes/Green-Submarine') diff --git a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css index 62c6c0d8..398110cc 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/other-applications.css @@ -56,50 +56,53 @@ } /* pathbar */ -.nemo-window widget.raised.linked > button:nth-child(first) widget { +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:first-child widget { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); color: @menu_fg_dark_color; } -.nemo-window widget.raised.linked > button:nth-child(last) widget { +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:last-child widget { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: @menu_fg_dark_color; } -.nemo-window widget.raised.linked > button:nth-child(first) widget:disabled, -.nemo-window widget.raised.linked > button:nth-child(last) widget:disabled { +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:disabled:first-child widget, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:disabled:last-child widget { color: @insensitive_fg_color; } -.nemo-window widget.raised.linked > button:nth-child(first), -.nemo-window widget.raised.linked > button:nth-child(first):hover, -.nemo-window widget.raised.linked > button:nth-child(first):focus, -.nemo-window widget.raised.linked > button:nth-child(first):backdrop, -.nemo-window widget.raised.linked > button:nth-child(first):disabled, -.nemo-window widget.raised.linked > button:nth-child(first):focus:hover:active { - margin: 0px -1px 0px -1px; - padding: 0px; +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:hover:first-child widget, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:hover:last-child widget { + color: shade (@theme_selected_bg_color, 1.2); + -gtk-icon-shadow: 0px 1px shade (@menu_fg_dark_color, 1.0), + 1px 0px shade (@menu_fg_dark_color, 1.0), + -1px 0px shade (@menu_fg_dark_color, 1.0), + 0px -1px shade (@menu_fg_dark_color, 1.0); } -.nemo-window widget.raised.linked > button:nth-child(last), -.nemo-window widget.raised.linked > button:nth-child(last):hover, -.nemo-window widget.raised.linked > button:nth-child(last):focus, -.nemo-window widget.raised.linked > button:nth-child(last):backdrop, -.nemo-window widget.raised.linked > button:nth-child(last):disabled, -.nemo-window widget.raised.linked > button:nth-child(last):focus:hover:active { - margin: 0px -1px 0px -1px; +/* this makes the arrow a bit bigger */ +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:first-child { + margin: 0px 0px 0px -1px; padding: 0px; } -.nemo-window widget.raised.linked > button.text-button.toggle, -.nemo-window widget.raised.linked > button.text-button.toggle:nth-child(first) { - margin: 0px 0px 0px 0px; - padding: 0px 6px; +.nemo-window toolbar.primary-toolbar widget.raised.linked > button:last-child { + margin: 0px -1px 0px 0px; + padding: 0px; } -.nemo-window widget.raised.linked > button.text-button.toggle:nth-child(last) { - margin: 0px 0px 0px 0px; - padding: 0px 6px; +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:hover, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:focus, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:backdrop, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:checked, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:checked:hover, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:checked:hover:active, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:disabled, +.nemo-window toolbar.primary-toolbar widget.raised.linked > button.text-button.toggle:focus:hover:active { + margin: 0px 0px 0px 0px; + padding: 0px; + padding: 0px 6px; } /* Nemo statusbar */ -- cgit v1.2.1