From c709fb58fe2d4dd1c3ccf6b7d8f22d133d2a4906 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 14 Jan 2015 20:42:58 +0100 Subject: Traditional themes GTK3: good looking CSD --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 36 ++++++++++++++++------ .../TraditionalOk/gtk-3.0/gtk-widgets.css | 36 ++++++++++++++++------ .../TraditionalOkTest/gtk-3.0/gtk-widgets.css | 36 ++++++++++++++++------ 3 files changed, 78 insertions(+), 30 deletions(-) diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index e650306b..e0cd8909 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -1890,7 +1890,7 @@ GtkInfoBar:last-child, @theme_base_color, @theme_bg_color); background-color: transparent; - border-radius: 0px; + border-radius: 7px 7px 0 0; border-bottom: 1px solid; border-color: shade(@border_color, 1.30); padding: 5px 4px 4px 4px; @@ -1921,21 +1921,37 @@ GtkInfoBar:last-child, border-image: none; } -/**************************************************************************************** -* 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 is disable !!!!! * -*****************************************************************************************/ -/* .window-frame { border-width: 1px; border-radius: 7px 7px 0 0; border-style: solid; + box-shadow: 0 2px 8px 3px @wm_shadow; margin: 10px; } -*/ + +.window-frame:backdrop { + box-shadow: 0 2px 8px 3px @wm_shadow; +} + +.window-frame.tiled { + border-radius: 0; + background-color: @theme_bg_color; +} + +.window-frame.csd.popup { + border-radius: 0; + box-shadow: 0 1px 5px @wm_shadow; +} + +.window-frame.csd.tooltip { + border-radius: 5px; + box-shadow: 0 1px 5px @wm_shadow; +} + +.window-frame.csd.message-dialog { + border-radius: 7px; + box-shadow: 0 1px 5px @wm_shadow; +} /************** * Action bar * diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index 7762b0b8..220837c0 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -1894,7 +1894,7 @@ GtkInfoBar:last-child, @theme_base_color, @theme_bg_color); background-color: transparent; - border-radius: 0px; + border-radius: 7px 7px 0 0; border-bottom: 1px solid; border-color: shade(@border_color, 1.30); padding: 5px 4px 4px 4px; @@ -1925,21 +1925,37 @@ GtkInfoBar:last-child, border-image: none; } -/**************************************************************************************** -* 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 is disable !!!!! * -*****************************************************************************************/ -/* .window-frame { border-width: 1px; border-radius: 7px 7px 0 0; border-style: solid; + box-shadow: 0 2px 8px 3px @wm_shadow; margin: 10px; } -*/ + +.window-frame:backdrop { + box-shadow: 0 2px 8px 3px @wm_shadow; +} + +.window-frame.tiled { + border-radius: 0; + background-color: @theme_bg_color; +} + +.window-frame.csd.popup { + border-radius: 0; + box-shadow: 0 1px 5px @wm_shadow; +} + +.window-frame.csd.tooltip { + border-radius: 5px; + box-shadow: 0 1px 5px @wm_shadow; +} + +.window-frame.csd.message-dialog { + border-radius: 7px; + box-shadow: 0 1px 5px @wm_shadow; +} /************** * Action bar * diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index 66743229..5d4bb49c 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -1889,7 +1889,7 @@ GtkInfoBar:last-child, @theme_base_color, @theme_bg_color); background-color: transparent; - border-radius: 0px; + border-radius: 7px 7px 0 0; border-bottom: 1px solid; border-color: shade(@border_color, 1.30); padding: 5px 4px 4px 4px; @@ -1920,21 +1920,37 @@ GtkInfoBar:last-child, border-image: none; } -/**************************************************************************************** -* 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 is disable !!!!! * -*****************************************************************************************/ -/* .window-frame { border-width: 1px; border-radius: 7px 7px 0 0; border-style: solid; + box-shadow: 0 2px 8px 3px @wm_shadow; margin: 10px; } -*/ + +.window-frame:backdrop { + box-shadow: 0 2px 8px 3px @wm_shadow; +} + +.window-frame.tiled { + border-radius: 0; + background-color: @theme_bg_color; +} + +.window-frame.csd.popup { + border-radius: 0; + box-shadow: 0 1px 5px @wm_shadow; +} + +.window-frame.csd.tooltip { + border-radius: 5px; + box-shadow: 0 1px 5px @wm_shadow; +} + +.window-frame.csd.message-dialog { + border-radius: 7px; + box-shadow: 0 1px 5px @wm_shadow; +} /************** * Action bar * -- cgit v1.2.1