From cb7102ebe4e10ab82fa0b2982de07b37f8b9583e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 19 Apr 2015 16:22:30 +0200 Subject: Traditional themes GTK+-3.16: adjustments for window-frame (csd apps) --> - add stylying for new widget window-frame.solid-csd (non compositor) --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 18 +++++++++++++++--- desktop-themes/TraditionalGreen/gtk-3.0/gtk.css | 4 ++++ desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 18 +++++++++++++++--- desktop-themes/TraditionalOk/gtk-3.0/gtk.css | 4 ++++ .../TraditionalOkTest/gtk-3.0/gtk-widgets.css | 18 +++++++++++++++--- desktop-themes/TraditionalOkTest/gtk-3.0/gtk.css | 4 ++++ 6 files changed, 57 insertions(+), 9 deletions(-) diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 3ac43694..fc9d86aa 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -1953,15 +1953,15 @@ GtkInfoBar:last-child, } .window-frame { - border-width: 1px; + border-width: 0px; border-radius: 7px 7px 0 0; border-style: solid; - box-shadow: 0 2px 8px 3px @wm_shadow; + box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; margin: 10px; } .window-frame:backdrop { - box-shadow: 0 2px 8px 3px @wm_shadow; + box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px } .window-frame.tiled { @@ -1969,6 +1969,18 @@ GtkInfoBar:last-child, background-color: @theme_bg_color; } +.window-frame.ssd { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); +} + +.window-frame.solid-csd { + border-radius: 0; + margin: 4px; + background-color: @wm_bg_a; + border: solid 1px @wm_csd_solid_border_color; + box-shadow: none; +} + .window-frame.csd.popup { border-radius: 0; box-shadow: 0 1px 5px @wm_shadow; diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css index 34de43b1..572ae377 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css @@ -430,6 +430,10 @@ @define-color wm_shadow alpha(black, 0.5); +@define-color wm_border alpha(black,0.18); +@define-color wm_bg_a shade (@theme_bg_color, 1.05); +@define-color wm_bg_b @theme_bg_color; +@define-color wm_csd_solid_border_color shade (@theme_selected_bg_color, 0.55); /*********** * imports * diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index a2b9f977..ca313915 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -1957,15 +1957,15 @@ GtkInfoBar:last-child, } .window-frame { - border-width: 1px; + border-width: 0px; border-radius: 7px 7px 0 0; border-style: solid; - box-shadow: 0 2px 8px 3px @wm_shadow; + box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; margin: 10px; } .window-frame:backdrop { - box-shadow: 0 2px 8px 3px @wm_shadow; + box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px } .window-frame.tiled { @@ -1973,6 +1973,18 @@ GtkInfoBar:last-child, background-color: @theme_bg_color; } +.window-frame.ssd { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); +} + +.window-frame.solid-csd { + border-radius: 0; + margin: 4px; + background-color: @wm_bg_a; + border: solid 1px @wm_csd_solid_border_color; + box-shadow: none; +} + .window-frame.csd.popup { border-radius: 0; box-shadow: 0 1px 5px @wm_shadow; diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk.css index 0304deb2..544fc6e6 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk.css @@ -430,6 +430,10 @@ @define-color wm_shadow alpha(black, 0.5); +@define-color wm_border alpha(black,0.18); +@define-color wm_bg_a shade (@theme_bg_color, 1.05); +@define-color wm_bg_b @theme_bg_color; +@define-color wm_csd_solid_border_color shade (@theme_selected_bg_color, 0.55); /*********** * imports * diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index b30c4a38..f728987f 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -1952,15 +1952,15 @@ GtkInfoBar:last-child, } .window-frame { - border-width: 1px; + border-width: 0px; border-radius: 7px 7px 0 0; border-style: solid; - box-shadow: 0 2px 8px 3px @wm_shadow; + box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; margin: 10px; } .window-frame:backdrop { - box-shadow: 0 2px 8px 3px @wm_shadow; + box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px } .window-frame.tiled { @@ -1968,6 +1968,18 @@ GtkInfoBar:last-child, background-color: @theme_bg_color; } +.window-frame.ssd { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); +} + +.window-frame.solid-csd { + border-radius: 0; + margin: 4px; + background-color: @wm_bg_a; + border: solid 1px @wm_csd_solid_border_color; + box-shadow: none; +} + .window-frame.csd.popup { border-radius: 0; box-shadow: 0 1px 5px @wm_shadow; diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk.css index 71d42d77..c6b719fb 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk.css @@ -430,6 +430,10 @@ @define-color wm_shadow alpha(black, 0.5); +@define-color wm_border alpha(black,0.18); +@define-color wm_bg_a shade (@theme_base_color, 1.0); +@define-color wm_bg_b @theme_bg_color; +@define-color wm_csd_solid_border_color shade (@theme_selected_bg_color, 0.55); /*********** * imports * -- cgit v1.2.1