From 1b1579d0d2f501bafd0293338a5fe45173cf8a02 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 27 Jan 2015 17:57:48 +0100 Subject: BlackMate GreenLaguna GTK3: add round corners to csd apps if compositor is on - add more triggers for csd apps --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 60 ++++++++++++++++-------- 1 file changed, 40 insertions(+), 20 deletions(-) (limited to 'desktop-themes/BlackMATE/gtk-3.0') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 1568a382..816f6bbb 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -1842,16 +1842,16 @@ GtkCalendar.header .stack-switcher > .titlebutton.button { * Header bars * ***************/ .header-bar { - border-width: 0 0 1px; - border-style: solid; - padding: 0 1px; - border-radius: 0px; - padding: 6px; - background-color: @theme_bg_color; - /*background-image: linear-gradient(to bottom, - @toolbar_gradient_base, - shade(@theme_bg_color, 1.6));*/ - border-color: alpha(@frame_color, 0.6); + border-width: 0 0 1px; + border-style: solid; + padding: 0 1px; + border-radius: 7px 7px 0 0; + padding: 6px; + background-color: @theme_bg_color; + /*background-image: linear-gradient(to bottom, + @toolbar_gradient_base, + shade(@theme_bg_color, 1.6));*/ + border-color: alpha(@frame_color, 0.6); } .header-bar .button.text-button { @@ -2219,7 +2219,7 @@ GtkPopover .separator { background-image: linear-gradient(to bottom, shade (@theme_bg_color, 1.50), shade (@theme_bg_color, 1.0)); - border-radius: 0; + border-radius: 7px 7px 0 0; } .tiled .titlebar { @@ -2347,20 +2347,40 @@ GtkPopover .separator { * 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 !!!!! * +* if compositor switch to disable !!!!! * *****************************************************************************************/ -/* + .window-frame { - border-color: @theme_bg_color; - border-radius: 7px 7px 0 0; + border-radius: 0px 0px 0px 0px; border-width: 1px; - border-style: solid; - background-color: @theme_bg_color; - box-shadow: 0 0 0 2px @osd_button_shadow, 0 2px 8px 3px @osd_button_shadow;*/ + box-shadow: 0 0 0 @wm_shadow; /* this is used for the resize cursor area */ -/* margin: 10px; + margin: 2px; +} + +.window-frame.tiled { + border-radius: 0; + background-color: @theme_bg_color; +} + +.window-frame:backdrop { + box-shadow: 0 0 0 @wm_shadow; +} + +.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; } -*/ /**************************** * Suggested action buttons * -- cgit v1.2.1