From 9f33cb74301e50143d9d1b61a1b0a8d750510c27 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) --- desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 18 +++++++++++++++--- desktop-themes/TraditionalOk/gtk-3.0/gtk.css | 4 ++++ 2 files changed, 19 insertions(+), 3 deletions(-) (limited to 'desktop-themes/TraditionalOk/gtk-3.0') 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 * -- cgit v1.2.1