diff options
author | raveit65 <[email protected]> | 2015-04-19 17:17:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-04-19 17:17:39 +0200 |
commit | 294e99ad4d60aed9fb679b5bb883577c2ffb8c29 (patch) | |
tree | 5164a4a56c7f7d9b1dbca12074f900f8c46dba4f /desktop-themes/GreenLaguna | |
parent | ba9ad51f9337fbcfa2fdad7cb3d9653573e6a6fb (diff) | |
download | mate-themes-294e99ad4d60aed9fb679b5bb883577c2ffb8c29.tar.bz2 mate-themes-294e99ad4d60aed9fb679b5bb883577c2ffb8c29.tar.xz |
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)
Diffstat (limited to 'desktop-themes/GreenLaguna')
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 @@ <frame_geometry name="utility" title_scale="small" parent="normal"/> -<frame_geometry name="border" has_title="false" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false"> +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> <distance name="left_width" value="2"/> <distance name="right_width" value="2"/> <distance name="bottom_height" value="2"/> @@ -47,8 +47,8 @@ <distance name="right_titlebar_edge" value="0"/> <distance name="button_width" value="0"/> <distance name="button_height" value="0"/> - <distance name="title_vertical_pad" value="0"/> - <border name="title_border" left="0" right="0" top="6" bottom="0"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> <border name="button_border" left="0" right="0" top="0" bottom="0"/> </frame_geometry> 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 @@ <frame_geometry name="utility" title_scale="small" parent="normal"/> -<frame_geometry name="border" has_title="false" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false"> +<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> <distance name="left_width" value="2"/> <distance name="right_width" value="2"/> <distance name="bottom_height" value="2"/> @@ -47,8 +47,8 @@ <distance name="right_titlebar_edge" value="0"/> <distance name="button_width" value="0"/> <distance name="button_height" value="0"/> - <distance name="title_vertical_pad" value="0"/> - <border name="title_border" left="0" right="0" top="6" bottom="0"/> + <distance name="title_vertical_pad" value="2"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> <border name="button_border" left="0" right="0" top="0" bottom="0"/> </frame_geometry> |