From ebd200c80a517f9bf59834bf3cdcd3d4db4406c9 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 --- .../TraditionalOk/gtk-3.0/gtk-widgets.css | 36 ++++++++++++++++------ 1 file changed, 26 insertions(+), 10 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 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 * -- cgit v1.2.1