From dc529b921b9246fddede1396637cc334e9d98148 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 13 Sep 2015 20:16:45 +0200 Subject: Gtk3 submarine themes: fix linked buttons in toolbar and primary-toolbar --- .../Blue-Submarine/gtk-3.0/gtk-widgets.css | 397 ++++++++++----------- 1 file changed, 186 insertions(+), 211 deletions(-) (limited to 'desktop-themes/Blue-Submarine/gtk-3.0') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css index fb5765c1..fb8dc2e8 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -780,8 +780,6 @@ GtkScrolledWindow.frame { background-image: none; box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); text-shadow: none; - - icon-shadow: none; border-image: none; } @@ -892,52 +890,60 @@ GtkScrolledWindow.frame { /* Middle toolbar-button */ .toolbar.menubar .linked .button, +.toolbar.menubar .linked .button:focus, .toolbar.menubar .linked .button:hover, -.toolbar .button.raised.linked, -.toolbar .raised.linked .button, -.primary-toolbar .linked .button, -.primary-toolbar .linked .entry, .toolbar.menubar .linked .button:active, .toolbar.menubar .linked .button:active:hover, .toolbar.menubar .linked .button:active:active, -.toolbar .button.raised.linked:active, -.toolbar .button.raised.linked:active:hover, -.toolbar .button.raised.linked:active:active, -.toolbar .raised.linked .button:active, -.toolbar .raised.linked .button:hover, -.toolbar .raised.linked .button:active:hover, -.toolbar .raised.linked .button:active:active, -.primary-toolbar .linked .button:active, -.primary-toolbar .linked .button:active:hover, -.primary-toolbar .linked .button:active:active, .toolbar.menubar .linked .button:checked, .toolbar.menubar .linked .button:checked:hover, .toolbar.menubar .linked .button:checked:checked, +.toolbar.menubar .linked .button:insensitive, +.toolbar .button.raised.linked, +.toolbar .button.raised.linked:focus, +.toolbar .button.raised.linked:hover, +.toolbar .button.raised.linked:active, +.toolbar .button.raised.linked:active:hover, +.toolbar .button.raised.linked:active:active, .toolbar .button.raised.linked:checked, .toolbar .button.raised.linked:checked:hover, .toolbar .button.raised.linked:checked:checked, +.toolbar .button.raised.linked:insensitive, +.toolbar .raised.linked .button, +.toolbar .raised.linked .button:focus, +.toolbar .raised.linked .button:hover, +.toolbar .raised.linked .button:active, +.toolbar .raised.linked .button:active:hover, +.toolbar .raised.linked .button:active:active, .toolbar .raised.linked .button:checked, .toolbar .raised.linked .button:checked:hover, .toolbar .raised.linked .button:checked:checked, +.toolbar .raised.linked .button:insensitive, +.primary-toolbar .linked .entry, +.primary-toolbar .linked .entry:insensitive, +.primary-toolbar .linked .button, +.primary-toolbar .linked .button:focus, +.primary-toolbar .linked .button:hover, +.primary-toolbar .linked .button:active, +.primary-toolbar .linked .button:active:hover, +.primary-toolbar .linked .button:active:active, .primary-toolbar .linked .button:checked, .primary-toolbar .linked .button:checked:hover, .primary-toolbar .linked .button:checked:checked, -.toolbar.menubar .linked .button:insensitive, -.toolbar .button.raised.linked:insensitive, -.toolbar .raised.linked .button:insensitive, -.primary-toolbar .linked .button:insensitive, -.primary-toolbar .linked .entry:insensitive { - border-width: 1px; - border-right-width: 0px; - border-left-width: 0px; - border-radius: 0; - padding-left: 4px; - padding-right: 4px; +.primary-toolbar .linked .button:insensitive { + padding: 2px 4px 4px 2px; + border-radius: 0px; + border-width: 1px 0px 1px 0px; } /* Middle toolbar-button hover */ .toolbar.menubar .linked .button:hover, -.toolbar .raised.linked .button:hover { +.toolbar .raised.linked .button:hover, +.primary-toolbar .linked .button:hover { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); 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), @@ -948,24 +954,27 @@ GtkScrolledWindow.frame { .toolbar.menubar .linked .button:active, .toolbar.menubar .linked .button:active:hover, .toolbar.menubar .linked .button:active:active, -.toolbar .button.raised.linked:active, -.toolbar .button.raised.linked:active:hover, -.toolbar .raised.linked .button:active:active, -.toolbar .raised.linked .button:active, -.primary-toolbar .linked .button:active, -.primary-toolbar .linked .button:active:hover, -.primary-toolbar .linked .button:active:active, .toolbar.menubar .linked .button:checked, .toolbar.menubar .linked .button:checked:hover, .toolbar.menubar .linked .button:checked:checked, +.toolbar .button.raised.linked:active, +.toolbar .button.raised.linked:active:hover, +.toolbar .button.raised.linked:active:active, .toolbar .button.raised.linked:checked, .toolbar .button.raised.linked:checked:hover, -.toolbar .raised.linked .button:checked:checked, +.toolbar .button.raised.linked:checked:checked, +.toolbar .raised.linked .button:active, +.toolbar .raised.linked .button:active:hover, +.toolbar .raised.linked .button:active:active, .toolbar .raised.linked .button:checked, +.toolbar .raised.linked .button:checked:hover, +.toolbar .raised.linked .button:checked:checked, +.primary-toolbar .linked .button:active, +.primary-toolbar .linked .button:active:hover, +.primary-toolbar .linked .button:active:active, .primary-toolbar .linked .button:checked, .primary-toolbar .linked .button:checked:hover, .primary-toolbar .linked .button:checked:checked { - /* Remove right border */ 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), @@ -988,53 +997,60 @@ GtkScrolledWindow.frame { /* Leftmost toolbars-button */ .toolbar.menubar .linked .button:first-child, +.toolbar.menubar .linked .button:focus:first-child, .toolbar.menubar .linked .button:hover:first-child, -.toolbar .button.raised.linked:first-child, -.toolbar .raised.linked .button:first-child, -.toolbar .raised.linked .button:hover:first-child -.primary-toolbar .linked .button:first-child, -.primary-toolbar .linked .entry:first-child, .toolbar.menubar .linked .button:active:first-child, .toolbar.menubar .linked .button:active:hover:first-child, .toolbar.menubar .linked .button:active:active:first-child, -.toolbar .button.raised.linked:active:first-child, -.toolbar .button.raised.linked:active:hover:first-child, -.toolbar .button.raised.linked:active:active:first-child, -.toolbar .raised.linked .button:active:first-child, -.toolbar .raised.linked .button:active:hover:first-child, -.toolbar .raised.linked .button:active:active:first-child, -.primary-toolbar .linked .button:active:first-child, -.primary-toolbar .linked .button:active:hover:first-child, -.primary-toolbar .linked .button:active:active:first-child, .toolbar.menubar .linked .button:checked:first-child, .toolbar.menubar .linked .button:checked:hover:first-child, .toolbar.menubar .linked .button:checked:checked:first-child, +.toolbar.menubar .linked .button:insensitive:first-child, +.toolbar .button.raised.linked:first-child, +.toolbar .button.raised.linked:focus:first-child, +.toolbar .button.raised.linked:hover:first-child, +.toolbar .button.raised.linked:active:first-child, +.toolbar .button.raised.linked:active:hover:first-child, +.toolbar .button.raised.linked:active:active:first-child, .toolbar .button.raised.linked:checked:first-child, .toolbar .button.raised.linked:checked:hover:first-child, .toolbar .button.raised.linked:checked:checked:first-child, +.toolbar .button.raised.linked:insensitive:first-child, +.toolbar .raised.linked .button:first-child, +.toolbar .raised.linked .button:focus:first-child, +.toolbar .raised.linked .button:hover:first-child, +.toolbar .raised.linked .button:active:first-child, +.toolbar .raised.linked .button:active:hover:first-child, +.toolbar .raised.linked .button:active:active:first-child, .toolbar .raised.linked .button:checked:first-child, .toolbar .raised.linked .button:checked:hover:first-child, .toolbar .raised.linked .button:checked:checked:first-child, +.toolbar .raised.linked .button:insensitive:first-child, +.primary-toolbar .linked .entry:first-child, +.primary-toolbar .linked .button:first-child, +.primary-toolbar .linked .button:focus:first-child, +.primary-toolbar .linked .button:hover:first-child, +.primary-toolbar .linked .button:active:first-child, +.primary-toolbar .linked .button:active:hover:first-child, +.primary-toolbar .linked .button:active:active:first-child, .primary-toolbar .linked .button:checked:first-child, .primary-toolbar .linked .button:checked:hover:first-child, .primary-toolbar .linked .button:checked:checked:first-child, -.toolbar.menubar .linked .button:insensitive:first-child, -.toolbar .button.raised.linked:insensitive:first-child, -.toolbar .raised.linked .button:insensitive:first-child, .primary-toolbar .linked .button:insensitive:first-child, .primary-toolbar .linked .entry:insensitive:first-child { - border-width: 1px; - border-right-width: 0; - border-radius: 5px; - border-bottom-right-radius: 0; - border-top-right-radius: 0; - padding-left: 4px; - padding-right: 4px; + padding: 2px 4px 4px 2px; + border-radius: 6px 0px 0px 6px; + border-width: 1px 0px 1px 1px; } /* Leftmost toolbars-button hover */ .toolbar.menubar .linked .button:hover:first-child, -.toolbar .raised.linked .button:hover:first-child { +.toolbar .raised.linked .button:hover:first-child, +.primary-toolbar .linked .button:hover:first-child { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); 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), @@ -1045,28 +1061,27 @@ GtkScrolledWindow.frame { .toolbar.menubar .linked .button:active:first-child, .toolbar.menubar .linked .button:active:hover:first-child, .toolbar.menubar .linked .button:active:active:first-child, -.toolbar .button.raised.linked:active:first-child, -.toolbar .button.raised.linked:active:hover:first-child, -.toolbar .button.raised.linked:active:active:first-child, -.toolbar .raised.linked .button:active:first-child, -.toolbar .raised.linked .button:active:hover:first-child, -.toolbar .raised.linked .button:active:active:first-child, -.primary-toolbar .linked .button:active:first-child, -.primary-toolbar .linked .button:active:hover:first-child, -.primary-toolbar .linked .button:active:active:first-child, .toolbar.menubar .linked .button:checked:first-child, .toolbar.menubar .linked .button:checked:hover:first-child, .toolbar.menubar .linked .button:checked:checked:first-child, +.toolbar .button.raised.linked:active:first-child, +.toolbar .button.raised.linked:active:hover:first-child, +.toolbar .button.raised.linked:active:active:first-child, .toolbar .button.raised.linked:checked:first-child, .toolbar .button.raised.linked:checked:hover:first-child, .toolbar .button.raised.linked:checked:checked:first-child, +.toolbar .raised.linked .button:active:first-child, +.toolbar .raised.linked .button:active:hover:first-child, +.toolbar .raised.linked .button:active:active:first-child, .toolbar .raised.linked .button:checked:first-child, .toolbar .raised.linked .button:checked:hover:first-child, .toolbar .raised.linked .button:checked:checked:first-child, +.primary-toolbar .linked .button:active:first-child, +.primary-toolbar .linked .button:active:hover:first-child, +.primary-toolbar .linked .button:active:active:first-child, .primary-toolbar .linked .button:checked:first-child, .primary-toolbar .linked .button:checked:hover:first-child, .primary-toolbar .linked .button:checked:checked:first-child { - /* Remove right border */ 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), @@ -1089,53 +1104,60 @@ GtkScrolledWindow.frame { /* Rightmost toolbar-button */ .toolbar.menubar .linked .button:last-child, +.toolbar.menubar .linked .button:focus:last-child, .toolbar.menubar .linked .button:hover:last-child, -.toolbar .button.raised.linked:last-child, -.toolbar .raised.linked .button:last-child, -.toolbar .raised.linked .button:hover:last-child, -.primary-toolbar .linked .button:last-child, -.primary-toolbar .linked .entry:last-child, .toolbar.menubar .linked .button:active:last-child, .toolbar.menubar .linked .button:active:hover:last-child, .toolbar.menubar .linked .button:active:active:last-child, -.toolbar .button.raised.linked:active:last-child, -.toolbar .button.raised.linked:active:hover:last-child, -.toolbar .button.raised.linked:active:active:last-child, -.toolbar .raised.linked .button:active:last-child, -.toolbar .raised.linked .button:active:hover:last-child, -.toolbar .raised.linked .button:active:active:last-child, -.primary-toolbar .linked .button:active:last-child, -.primary-toolbar .linked .button:active:hover:last-child, -.primary-toolbar .linked .button:active:active:last-child, .toolbar.menubar .linked .button:checked:last-child, .toolbar.menubar .linked .button:checked:hover:last-child, .toolbar.menubar .linked .button:checked:checked:last-child, +.toolbar.menubar .linked .button:insensitive:last-child, +.toolbar .button.raised.linked:last-child, +.toolbar .button.raised.linked:focus:last-child, +.toolbar .button.raised.linked:hover:last-child, +.toolbar .button.raised.linked:active:last-child, +.toolbar .button.raised.linked:active:hover:last-child, +.toolbar .button.raised.linked:active:active:last-child, .toolbar .button.raised.linked:checked:last-child, .toolbar .button.raised.linked:checked:hover:last-child, .toolbar .button.raised.linked:checked:checked:last-child, +.toolbar .button.raised.linked:insensitive:last-child, +.toolbar .raised.linked .button:last-child, +.toolbar .raised.linked .button:focus:last-child, +.toolbar .raised.linked .button:hover:last-child, +.toolbar .raised.linked .button:active:last-child, +.toolbar .raised.linked .button:active:hover:last-child, +.toolbar .raised.linked .button:active:active:last-child, .toolbar .raised.linked .button:checked:last-child, .toolbar .raised.linked .button:checked:hover:last-child, .toolbar .raised.linked .button:checked:checked:last-child, +.toolbar .raised.linked .button:insensitive:last-child, +.primary-toolbar .linked .entry:last-child, +.primary-toolbar .linked .button:last-child, +.primary-toolbar .linked .button:focus:last-child, +.primary-toolbar .linked .button:hover:last-child, +.primary-toolbar .linked .button:active:last-child, +.primary-toolbar .linked .button:active:hover:last-child, +.primary-toolbar .linked .button:active:active:last-child, .primary-toolbar .linked .button:checked:last-child, .primary-toolbar .linked .button:checked:hover:last-child, .primary-toolbar .linked .button:checked:checked:last-child, -.toolbar.menubar .linked .button:insensitive:last-child, -.toolbar .button.raised.linked:insensitive:last-child, -.toolbar .raised.linked .button:insensitive:last-child, .primary-toolbar .linked .button:insensitive:last-child, .primary-toolbar .linked .entry:insensitive:last-child { - border-width: 1px; - border-left-width: 0px; - border-radius: 5px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - padding-left: 4px; - padding-right: 4px; + padding: 2px 4px 4px 2px; + border-radius: 0px 6px 6px 0px; + border-width: 1px 1px 1px 0px; } /* Rightmost toolbars-button hover */ .toolbar.menubar .linked .button:hover:last-child, -.toolbar .raised.linked .button:hover:last-child { +.toolbar .raised.linked .button:hover:last-child, +.primary-toolbar .linked .button:hover:last-child { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); 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), @@ -1146,23 +1168,27 @@ GtkScrolledWindow.frame { .toolbar.menubar .linked .button:active:last-child, .toolbar.menubar .linked .button:active:hover:last-child, .toolbar.menubar .linked .button:active:active:last-child, +.toolbar.menubar .linked .button:checked:last-child, +.toolbar.menubar .linked .button:checked:hover:last-child, +.toolbar.menubar .linked .button:checked:checked:last-child, .toolbar .button.raised.linked:active:last-child, .toolbar .button.raised.linked:active:hover:last-child, .toolbar .button.raised.linked:active:active:last-child, +.toolbar .button.raised.linked:checked:last-child, +.toolbar .button.raised.linked:checked:hover:last-child, +.toolbar .button.raised.linked:checked:checked:last-child, .toolbar .raised.linked .button:active:last-child, .toolbar .raised.linked .button:active:hover:last-child, .toolbar .raised.linked .button:active:active:last-child, +.toolbar .raised.linked .button:checked:last-child, +.toolbar .raised.linked .button:checked:hover:last-child, +.toolbar .raised.linked .button:checked:checked:last-child, .primary-toolbar .linked .button:active:last-child, .primary-toolbar .linked .button:active:hover:last-child, .primary-toolbar .linked .button:active:active:last-child, -.toolbar.menubar .linked .button:checked:last-child, -.toolbar.menubar .linked .button:checked:hover:last-child, -.toolbar .button.raised.linked:checked:last-child, -.toolbar .button.raised.linked:checked:hover:last-child, -.toolbar .raised.linked .button:checked:last-child, -.toolbar .raised.linked .button:checked:hover:last-child, .primary-toolbar .linked .button:checked:last-child, -.primary-toolbar .linked .button:checked:hover:last-child { +.primary-toolbar .linked .button:checked:hover:last-child, +.primary-toolbar .linked .button:checked:checked:last-child { 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), @@ -1185,65 +1211,55 @@ GtkScrolledWindow.frame { /* Linked single toolbar-button */ .toolbar.menubar .linked .button:only-child, .toolbar.menubar .linked .button:hover:only-child, -.toolbar .button.raised.linked:only-child, -.toolbar .raised.linked .button:only-child, -.toolbar .raised.linked .button:hover:only-child, -.primary-toolbar .linked .entry:only-child, -.primary-toolbar .linked .button:only-child, .toolbar.menubar .linked .button:active:only-child, .toolbar.menubar .linked .button:active:hover:only-child, .toolbar.menubar .linked .button:active:active:only-child, -.toolbar .button.raised.linked:active:only-child, -.toolbar .raised.linked .button:active:only-child, -.primary-toolbar .linked .button:active:only-child, -.toolbar .button.raised.linked:active:hover:only-child, -.toolbar .button.raised.linked:active:active:only-child, -.toolbar .raised.linked .button:active:hover:only-child, -.toolbar .raised.linked .button:active:active:only-child, -.primary-toolbar .linked .button:active:hover:only-child, -.primary-toolbar .linked .button:active:active:only-child, .toolbar.menubar .linked .button:checked:only-child, .toolbar.menubar .linked .button:checked:hover:only-child, .toolbar.menubar .linked .button:checked:checked:only-child, +.toolbar.menubar .linked .button:insensitive:only-child, +.toolbar .button.raised.linked:only-child, +.toolbar .button.raised.linked:hover:only-child, +.toolbar .button.raised.linked:active:only-child, +.toolbar .button.raised.linked:active:hover:only-child, +.toolbar .button.raised.linked:active:active:only-child, .toolbar .button.raised.linked:checked:only-child, -.toolbar .raised.linked .button:checked:only-child, -.primary-toolbar .linked .button:checked:only-child, .toolbar .button.raised.linked:checked:hover:only-child, .toolbar .button.raised.linked:checked:checked:only-child, +.toolbar .button.raised.linked:insensitive:only-child, +.toolbar .raised.linked .button:only-child, +.toolbar .raised.linked .button:hover:only-child, +.toolbar .raised.linked .button:active:only-child, +.toolbar .raised.linked .button:active:hover:only-child, +.toolbar .raised.linked .button:active:active:only-child, +.toolbar .raised.linked .button:checked:only-child, .toolbar .raised.linked .button:checked:hover:only-child, .toolbar .raised.linked .button:checked:checked:only-child, +.toolbar .raised.linked .button:insensitive:only-child, +.primary-toolbar .linked .entry:only-child, +.primary-toolbar .linked .button:only-child, +.primary-toolbar .linked .button:hover:only-child, +.primary-toolbar .linked .button:active:only-child, +.primary-toolbar .linked .button:active:hover:only-child, +.primary-toolbar .linked .button:active:active:only-child, +.primary-toolbar .linked .button:checked:only-child, .primary-toolbar .linked .button:checked:hover:only-child, .primary-toolbar .linked .button:checked:checked:only-child, -.toolbar.menubar .linked .button:insensitive:only-child, -.toolbar .button.raised.linked:insensitive:only-child, -.toolbar .raised.linked .button:insensitive:only-child, .primary-toolbar .linked .entry:insensitive:only-child, .primary-toolbar .linked .button:insensitive:only-child { border-width: 1px; - border-radius: 5px; - padding-left: 4px; - padding-right: 4px; -} - -/* Linked single toolbar-button normal */ -.toolbar.menubar .linked .button:only-child, -.toolbar .button.raised.linked:only-child, -.toolbar .raised.linked .button:only-child, -.primary-toolbar .linked .entry:only-child, -.primary-toolbar .linked .button:only-child { - box-shadow: inset 0px 2px alpha(#fff, 0.09), - inset 2px 0px alpha(#fff, 0.06), - inset -2px 0px alpha(#fff, 0.06), - inset 0px -2px alpha(#fff, 0.06), - inset 0px 1px shade(@theme_button_border_dark, 1.05), - inset 1px 0px shade(@theme_button_border_dark, 1.00), - inset -1px 0px shade(@theme_button_border_dark, 1.00), - inset 0px -1px shade(@theme_button_border_dark, 0.85); + border-radius: 6px; + padding: 2px 4px 4px 2px; } /* Linked single toolbar-button hover */ .toolbar .raised.linked .button:hover:only-child, -.toolbar.menubar .linked .button:hover:only-child { +.toolbar.menubar .linked .button:hover:only-child, +.primary-toolbar .linked .button:hover:only-child { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); 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), @@ -1254,24 +1270,24 @@ GtkScrolledWindow.frame { .toolbar.menubar .linked .button:active:only-child, .toolbar.menubar .linked .button:active:hover:only-child, .toolbar.menubar .linked .button:active:active:only-child, -.toolbar .button.raised.linked:active:only-child, -.toolbar .button.raised.linked:active:hover:only-child, -.toolbar .button.raised.linked:active:active:only-child, -.toolbar .raised.linked .button:active:only-child, -.toolbar .raised.linked .button:active:hover:only-child, -.toolbar .raised.linked .button:active:active:only-child, -.primary-toolbar .linked .button:active:only-child, -.primary-toolbar .linked .button:active:hover:only-child, -.primary-toolbar .linked .button:active:active:only-child, .toolbar.menubar .linked .button:checked:only-child, .toolbar.menubar .linked .button:checked:hover:only-child, .toolbar.menubar .linked .button:checked:checked:only-child, +.toolbar .button.raised.linked:active:only-child, +.toolbar .button.raised.linked:active:hover:only-child, +.toolbar .button.raised.linked:active:active:only-child, .toolbar .button.raised.linked:checked:only-child, .toolbar .button.raised.linked:checked:hover:only-child, .toolbar .button.raised.linked:checked:checked:only-child, +.toolbar .raised.linked .button:active:only-child, +.toolbar .raised.linked .button:active:hover:only-child, +.toolbar .raised.linked .button:active:active:only-child, .toolbar .raised.linked .button:checked:only-child, .toolbar .raised.linked .button:checked:hover:only-child, .toolbar .raised.linked .button:checked:checked:only-child, +.primary-toolbar .linked .button:active:only-child, +.primary-toolbar .linked .button:active:hover:only-child, +.primary-toolbar .linked .button:active:active:only-child, .primary-toolbar .linked .button:checked:only-child, .primary-toolbar .linked .button:checked:hover:only-child, .primary-toolbar .linked .button:checked:checked:only-child { @@ -2167,32 +2183,6 @@ GtkComboBox.combobox-entry .button *:prelight { color: @theme_text_dark_color; } -/* Makes the button of the combobox entry that has the same gradient text boxes -.primary-toolbar GtkComboBox.combobox-entry .button:active, -.primary-toolbar GtkComboBox.combobox-entry .button:active:hover, -GtkComboBox.combobox-entry .button:active, -GtkComboBox.combobox-entry .button:active:hover, -.primary-toolbar GtkComboBox.combobox-entry .button:active:nth-child(last), -.primary-toolbar GtkComboBox.combobox-entry .button:active:hover:nth-child(last), -GtkComboBox.combobox-entry .button:active:nth-child(last), -GtkComboBox.combobox-entry .button:active:hover:nth-child(last) { - background-image: -gtk-gradient(linear, - left top, left bottom, - from (shade(@theme_base_color, 0.81)), - color-stop (0.15, shade(@theme_base_color, 0.91)), - color-stop (0.50, shade(@theme_base_color, 0.93)), - to (shade(@theme_base_color, 0.95))); - box-shadow: 1 0 inset shade(@frame_color, 1.50); -} - -.primary-toolbar GtkComboBox.combobox-entry .button:active:nth-child(first), -.primary-toolbar GtkComboBox.combobox-entry .button:active:hover:nth-child(first), -GtkComboBox.combobox-entry .button:active:nth-child(first), -GtkComboBox.combobox-entry .button:active:hover:nth-child(first) { - box-shadow: -1 0 inset shade(@frame_color, 1.50); -} -*/ - /************ * Toolbars * ************/ @@ -2283,13 +2273,11 @@ GtkHandleBox, -GtkWidget-focus-line-width: 0; border-image: none; border-style: solid; - border-width: 1px; - border-radius: 5px; - border-color: @transparent; + border-radius: 6px; + border-color: transparent; box-shadow: none; background-image: none; background-color: alpha (@theme_base_color, 0.0); - padding: 2px 4px; } .toolbar .button { @@ -2309,6 +2297,14 @@ GtkHandleBox, border-left-color: alpha (#000, 0.20); border-right-color: alpha (#000, 0.20); border-bottom-color: alpha (#000, 0.25); + box-shadow: inset 0px 1px alpha(shade(@button_border, 1.00), 0.70), + inset 1px 0px alpha(shade(@button_border, 0.94), 0.80), + inset -1px 0px alpha(shade(@button_border, 0.94), 0.80), + inset 0px -1px alpha(shade(@button_border, 0.88), 0.90); +} + +.toolbar GtkComboBox .button:hover { + border-radius: 5px } .primary-toolbar .toolbar .button, @@ -2317,6 +2313,9 @@ GtkHandleBox, text-shadow: 0px 1px @theme_shadow_dark_color; } +.primary-toolbar .linked .button:focus { + box-shadow: none; +} .toolbar .button:insensitive, .primary-toolbar .toolbar .button:insensitive, @@ -2355,8 +2354,6 @@ GtkHandleBox, left top, left bottom, from (shade(@menu_bg_dark_color, 2.03)), to (shade(@menu_bg_dark_color, 1.17))); - border-width: 1px; - border-radius: 5px; border-style: solid; border-color: transparent; box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), @@ -2373,8 +2370,8 @@ GtkHandleBox, .toolbar .button:checked:checked { background-image: -gtk-gradient (linear, left top, left bottom, - from (alpha(#000, 0.20)), - to (alpha(#000, 0.06))); + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); border-width: 1px; border-radius: 5px; border-color: transparent; @@ -2402,8 +2399,7 @@ GtkHandleBox, to (shade(@menu_bg_dark_color, 1.17))); border-image: none; border-color: transparent; - border-width: 1px; - border-radius: 5px; + border-radius: 6px; border-style: solid; box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), inset 1px 0px shade (@theme_selected_bg_color, 1.3), @@ -2482,17 +2478,6 @@ GtkHandleBox, padding: 2px; } -.toolbar .raised .button, -.toolbar .raised.button, -.toolbar .raised .button:first-child, -.toolbar .raised.button:first-child, -.toolbar .raised .button:last-child, -.toolbar .raised.button:last-child, -.toolbar .raised .button:only-child, -.toolbar .raised.button:only-child { - padding: 2px 4px; -} - .toolbar.menubar .button * { padding: 2px 2px; } @@ -2505,7 +2490,6 @@ GtkHandleBox, padding: 2px 4px; } -.toolbar NautilusPathBar .button, .toolbar.menubar .button, .toolbar .raised .button, .toolbar .raised.button { @@ -2513,8 +2497,6 @@ GtkHandleBox, left top, left bottom, from (@button_raised_gradient_color_a), to (@button_raised_gradient_color_b)); - border-width: 1px; - border-radius: 5px; border-style: solid; /* outer */ border-color: transparent; @@ -2524,7 +2506,6 @@ GtkHandleBox, color: shade(@theme_fg_dark_color, 1.00); } -.toolbar NautilusPathBar .button:insensitive, .toolbar .button.raised.linked:insensitive, .toolbar .raised.linked .button:insensitive, .toolbar .button.raised.linked:insensitive:active, @@ -2549,14 +2530,13 @@ GtkHandleBox, color: mix(@theme_bg_dark_color, @theme_fg_dark_color, 0.50); } -.toolbar NautilusPathBar .button:hover, .toolbar.menubar .button:hover, .toolbar .raised .button:hover, .toolbar .raised.button:hover { background-image: -gtk-gradient (linear, left top, left bottom, - from (@button_raised_gradient_color_a), - to (@button_raised_gradient_color_b)); + from (shade(@menu_bg_dark_color, 2.03)), + to (shade(@menu_bg_dark_color, 1.17))); border-image: none; /* outer */ border-color: transparent; @@ -2568,13 +2548,11 @@ GtkHandleBox, color: shade(@theme_fg_dark_color, 1.00); } -.toolbar NautilusPathBar .button:active, .toolbar.menubar .button:active, .toolbar .raised .button:active, .toolbar .raised .button:active:hover, .toolbar .raised.button:active:hover, .toolbar .raised.button:active, -.toolbar NautilusPathBar .button:checked, .toolbar.menubar .button:checked, .toolbar .raised .button:checked, .toolbar .raised .button:checked:hover, @@ -2584,7 +2562,6 @@ GtkHandleBox, left top, left bottom, from (shade(@button_raised_gradient_color_b, 0.90)), to (shade(@button_raised_gradient_color_a, 0.80))); - border-width: 1px; border-style: solid; border-radius: 5px; border-image: none; @@ -2596,14 +2573,12 @@ GtkHandleBox, } /* setup shadows */ -.toolbar NautilusPathBar .button GtkLabel, .toolbar .raised .button GtkLabel, .toolbar .raised.button GtkLabel { color: @theme_fg_dark_color; text-shadow: 0px 1px @theme_shadow_dark_color; } -.toolbar NautilusPathBar .button, .toolbar .raised .button, .toolbar .raised.button { icon-shadow: 1px 1px @theme_shadow_dark_color; -- cgit v1.2.1