From 5d67d69bbcaa44bc970312aec61f60afdf256a44 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 19 Apr 2015 15:23:07 +0200 Subject: BlackMATE 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/BlackMATE/gtk-3.0/gtk-main.css | 5 ++++ desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 29 +++++++++++++--------- .../BlackMATE/metacity-1/metacity-theme-1.xml | 6 ++--- .../BlackMATE/metacity-1/metacity-theme-2.xml | 6 ++--- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css index 10482fdb..76074261 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css @@ -132,6 +132,11 @@ @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); +@define-color wm_border alpha(black,0.18); + +/* csd border */ +@define-color wm_csd_border_color shade (#595959, 1.35); +@define-color wm_csd_solid_border_color shade (#595959, 1.0); /* FIXME: needs dark colors from here */ @define-color link_color #2EB8E6; /*#4a90d9*/ diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 946ac79b..8096bad1 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2470,18 +2470,10 @@ 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: 0px 0px 0px 0px; - border-width: 1px; - box-shadow: 0 0 0 @wm_shadow; + border-radius: 7px 7px 0px 0px; + 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; } @@ -2492,7 +2484,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_a; + border: solid 2px @wm_csd_solid_border_color; + box-shadow: none; } .window-frame.csd.popup { diff --git a/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml b/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml index 0bb574e4..aaf91c36 100644 --- a/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml +++ b/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml @@ -39,7 +39,7 @@ - + @@ -47,8 +47,8 @@ - - + + diff --git a/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml b/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml index 355401ee..1b1bcee8 100644 --- a/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml +++ b/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml @@ -39,7 +39,7 @@ - + @@ -47,8 +47,8 @@ - - + + -- cgit v1.2.1