From 330c7b7022938b0b84c37b86039503f481f6d15a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 19 Apr 2015 17:17:39 +0200 Subject: GreenLaguna GTK+-3.16: adjustments for window-frame (csd apps) --> - enable window shadows for compositor - add stylying for new widget window-frame.solid-csd (non compositor) --- desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css | 4 +++ desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 29 +++++++++++++--------- .../GreenLaguna/metacity-1/metacity-theme-1.xml | 6 ++--- .../GreenLaguna/metacity-1/metacity-theme-2.xml | 6 ++--- 4 files changed, 27 insertions(+), 18 deletions(-) diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css index 4782b9da..0dd3ba9f 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css @@ -152,6 +152,10 @@ @define-color wm_util shade(@theme_bg_color, 1.2); @define-color wm_unfocus shade(@theme_bg_color, 1.05); @define-color wm_shadow alpha(black, 0.5); +/* csd border */ +@define-color wm_csd_solid_bg shade(@theme_bg_color, 1.05); +@define-color wm_csd_border_color shade (#B4B5B3, 1.35); +@define-color wm_csd_solid_border_color shade (#B4B5B3, 1.2); /******** * Misc * diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index e69b91c6..489a0376 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -2622,20 +2622,12 @@ GtkPopover .separator { color: #747473; } -/**************************************************************************************** -* 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: 7px 7px 0px 0px; - border-width: 1px; - box-shadow: 0 0 0 @wm_shadow; + border-width: 0px; + box-shadow: 0 0 0 2px @wm_csd_border_color, 0 2px 8px 3px @wm_shadow; /* this is used for the resize cursor area */ - margin: 2px; + margin: 10px; } .window-frame.tiled { @@ -2644,7 +2636,20 @@ GtkPopover .separator { } .window-frame:backdrop { - box-shadow: 0 0 0 @wm_shadow; + box-shadow: 0 0 0 2px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow; +} + +.window-frame.ssd { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); +} + +.window-frame.solid-csd { + border-radius: 0px; + margin: 2px; + margin-top: 0px; + background-color: @wm_csd_solid_bg; + border: solid 2px @wm_csd_solid_border_color; + box-shadow: none; } .window-frame.csd.popup { diff --git a/desktop-themes/GreenLaguna/metacity-1/metacity-theme-1.xml b/desktop-themes/GreenLaguna/metacity-1/metacity-theme-1.xml index ec8d1fe7..a7e57e90 100644 --- a/desktop-themes/GreenLaguna/metacity-1/metacity-theme-1.xml +++ b/desktop-themes/GreenLaguna/metacity-1/metacity-theme-1.xml @@ -39,7 +39,7 @@ - + @@ -47,8 +47,8 @@ - - + + diff --git a/desktop-themes/GreenLaguna/metacity-1/metacity-theme-2.xml b/desktop-themes/GreenLaguna/metacity-1/metacity-theme-2.xml index ec8d1fe7..a7e57e90 100644 --- a/desktop-themes/GreenLaguna/metacity-1/metacity-theme-2.xml +++ b/desktop-themes/GreenLaguna/metacity-1/metacity-theme-2.xml @@ -39,7 +39,7 @@ - + @@ -47,8 +47,8 @@ - - + + -- cgit v1.2.1