diff options
author | raveit65 <[email protected]> | 2015-01-27 17:57:48 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-01-27 17:57:48 +0100 |
commit | 1b1579d0d2f501bafd0293338a5fe45173cf8a02 (patch) | |
tree | 61457b05eb949a0faba0b0da51f1d2e076f1cce4 /desktop-themes | |
parent | c749f59679352bd0698aa5daa1a40e1f1f0eaa8a (diff) | |
download | mate-themes-1b1579d0d2f501bafd0293338a5fe45173cf8a02.tar.bz2 mate-themes-1b1579d0d2f501bafd0293338a5fe45173cf8a02.tar.xz |
BlackMate GreenLaguna GTK3: add round corners to csd apps if compositor is on
- add more triggers for csd apps
Diffstat (limited to 'desktop-themes')
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 60 | ||||
-rw-r--r-- | desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 66 |
2 files changed, 83 insertions, 43 deletions
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 * diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index 4ace2282..cb97b99b 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -1646,28 +1646,28 @@ GtkCalendar.header .stack-switcher > .titlebutton.button { * Header bars * ***************/ .header-bar { - border-width: 0 0 1px; - border-style: solid; - padding: 0 1px; - 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; + border-radius: 7px 7px 0 0; + padding: 0 1px; + 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); } .notebook GtkContainer .header-bar { - background-color: @theme_bg_color; + background-color: @theme_bg_color; } - .header-bar .button.text-button { - padding: 2px 6px; + padding: 2px 6px; } .header-bar .button.image-button { - padding: 5px 4px 4px 5px; + padding: 5px 4px 4px 5px; } /******* @@ -2025,7 +2025,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 { @@ -2143,20 +2143,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: 7px 7px 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 * |