diff options
author | raveit65 <[email protected]> | 2015-04-22 14:47:31 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-04-22 14:47:31 +0200 |
commit | a86ab2b6d7732999a2e4de14b035bd1d38e1cf2b (patch) | |
tree | 87517c5b350eec8db8a55327c36a4c5591457488 | |
parent | c5294110a868a5fa28dcf292e732b410e92b4854 (diff) | |
download | mate-themes-a86ab2b6d7732999a2e4de14b035bd1d38e1cf2b.tar.bz2 mate-themes-a86ab2b6d7732999a2e4de14b035bd1d38e1cf2b.tar.xz |
Menta themes GTK3: fix blurred window controls icons
-rw-r--r-- | desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 31 | ||||
-rw-r--r-- | desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 26 |
2 files changed, 33 insertions, 24 deletions
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 { diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index fceed51b..01d57318 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/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; } @@ -4325,7 +4323,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; @@ -4364,17 +4364,25 @@ GtkModelButton.button.flat:selected { } .titlebar .titlebutton { + color: @wm_title; + 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 { |