From 695c29b2d9a6f85bf9c061c001711485a854b6b5 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Mon, 21 Dec 2015 19:15:18 +0100 Subject: Gtk+-3.18 most themes: workaround for broken first/last-child logic with linked buttons in pathbar with gtk+-3.18 --- .../Menta/gtk-3.0/other-applications.css | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'desktop-themes/Menta') diff --git a/desktop-themes/Menta/gtk-3.0/other-applications.css b/desktop-themes/Menta/gtk-3.0/other-applications.css index 0b132d58..12fdc638 100644 --- a/desktop-themes/Menta/gtk-3.0/other-applications.css +++ b/desktop-themes/Menta/gtk-3.0/other-applications.css @@ -38,6 +38,41 @@ NemoPathbarButton:active:hover { color-stop (1, shade(alpha(@theme_selected_bg_color, 0.8), 1.25))); } +/* workaround for broken first/last-child logic with linked buttons + in pathbar with gtk+-3.18 */ +NemoPathBar:dir(ltr).raised.linked .button.text-button, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:active, +NemoPathBar:dir(ltr).raised.linked .button.text-button:active, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:active, +NemoPathBar:dir(ltr).raised.linked .button.text-button:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:active:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:active:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:active:first-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:active:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:active:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:active:last-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:only-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:only-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:hover:active:only-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:active:only-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:only-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:only-child, +NemoPathBar:dir(ltr).raised.linked .button.text-button:checked:hover:active:only-child { + border-right-width: 1px; + border-left-width: 1px; + border-image-width: 3px 3px 4px 3px; + border-radius: 4px; +} /* For Places Sidebar diskfull indicators */ -- cgit v1.2.1