diff options
author | raveit65 <[email protected]> | 2015-04-19 13:55:25 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-04-19 13:55:25 +0200 |
commit | d65ba74dc8efa997613aa1fc54f58fbc8668c4f0 (patch) | |
tree | 9859fb7827dd6b6821e4fde03650e5d885be2eb4 /desktop-themes/BlueMenta/gtk-3.0 | |
parent | bcba7417b2fbb914570334a3e22f1d0f8802d5f3 (diff) | |
download | mate-themes-d65ba74dc8efa997613aa1fc54f58fbc8668c4f0.tar.bz2 mate-themes-d65ba74dc8efa997613aa1fc54f58fbc8668c4f0.tar.xz |
Menta themes GTK+-3.16: adjustments for window-frame (csd apps) -->
- enable windows shadows for compositor
- add stylying for new widget window-frame.solid-csd (non compositor)
Diffstat (limited to 'desktop-themes/BlueMenta/gtk-3.0')
-rw-r--r-- | desktop-themes/BlueMenta/gtk-3.0/gtk-main.css | 3 | ||||
-rw-r--r-- | desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 38 |
2 files changed, 24 insertions, 17 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css index aee1e6c4..954ed51d 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css @@ -224,6 +224,9 @@ @define-color wm_button_bg_active_b shade (@theme_bg_color, 0.9); @define-color wm_button_bg_active_c shade (@theme_bg_color, 0.9); +/* csd border */ +@define-color wm_csd_solid_border_color shade (#3c3c3c, 1.2); + @import url("gtk-main-common.css"); @import url("gtk-widgets-backgrounds.css"); @import url("gtk-widgets-borders.css"); diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 8cda950e..a1d2ceb2 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -2648,10 +2648,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { border-width: 0px 0px 0px 0px; 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; } @@ -4509,7 +4507,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; @@ -4566,20 +4566,16 @@ GtkModelButton.button.flat:selected { icon-shadow: none; } -/**************************************************************************************** -* Give and take related to recent gtk3.3.14 development, * -* to achieve full size of the icon menu of some of the applications whose notification * -* icons appear in the system tray, the "shadow" is disabled. * -* same affect in mate-panel main menu, csd apps, header-bars apps * -* if compositor switch to disable !!!!! * -*****************************************************************************************/ - .window-frame { - border-radius: 0px 0px 0px 0px; - border-width: 1px; - box-shadow: 0 0 0 @wm_shadow; + border-radius: 6px 6px 0px 0px; + border-width: 0px; + box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; /* this is used for the resize cursor area */ - margin: 2px; + margin: 10px; +} + +.window-frame:backdrop { + box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow; } .window-frame.tiled { @@ -4587,8 +4583,16 @@ GtkModelButton.button.flat:selected { background-color: @theme_bg_color; } -.window-frame:backdrop { - box-shadow: 0 0 0 @wm_shadow; +.window-frame.ssd { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); +} + +.window-frame.solid-csd { + border-radius: 0; + margin: 2px; + background-color: @wm_bg_a; + border: solid 1px @wm_csd_solid_border_color; + box-shadow: none; } .window-frame.csd.popup { |