From a86ab2b6d7732999a2e4de14b035bd1d38e1cf2b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Apr 2015 14:47:31 +0200 Subject: Menta themes GTK3: fix blurred window controls icons --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 31 ++++++++++++------------ 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'desktop-themes/BlueMenta/gtk-3.0') diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 24780883..aacb3e38 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -2468,13 +2468,11 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { ***************/ .titlebar, GtkCalendar.header, .header-bar { - border-width: 0px 0px 0px 0px; + border-width: 0 0 1px; border-style: solid; border-color: shade(@borders, 0.90); - box-shadow: inset 0 -1px shade(@wm_bg_b, 0.95); background-color: @theme_bg_color; - padding: 6px; } @@ -4316,7 +4314,9 @@ GtkModelButton.button.flat:selected { *******/ .titlebar { text-shadow: 0 1px @wm_title_shadow; - background-image: none; + background-image: linear-gradient(to bottom, + @wm_bg_a, + @wm_bg_b); border-radius: 6px 6px 0px 0px; box-shadow: inset 0 -1px alpha(@theme_base_color, 0.4); border-color: @borders; @@ -4349,23 +4349,24 @@ GtkModelButton.button.flat:selected { .titlebar .titlebutton { color: @wm_title; - padding: 4px 5px; -/* border: none; - border-image: none;*/ -} - -.titlebar .titlebutton { + padding: 2px 6px 3px 3px; + border: none; + border-image: none; /* fake request for hardcoded icons, to avoid usage of regular window-close button*/ -gtk-icon-style: requested; - color: @wm_title; - padding: 4px; +} + +.titlebar .titlebutton:hover { + border: none; border-image: none; } -.titlebar .titlebutton:active { -/* border: none; - border-image: none;*/ +.titlebar .titlebutton:active, +.titlebar .titlebutton:checked, +.titlebar .titlebutton:checked:checked { + border: none; + border-image: none; } .titlebar .titlebutton:backdrop { -- cgit v1.2.1