diff options
author | raveit65 <[email protected]> | 2014-11-22 13:45:45 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2014-11-22 13:45:45 +0100 |
commit | 3083394b82845cd8e055895ca08e39cdf4309656 (patch) | |
tree | 85a9d3b73bec8e730a7ec8ec88f6364cfcedc5af | |
parent | f3ccd0d727ff2f50e42659551ea3f49018405c9e (diff) | |
download | mate-themes-3083394b82845cd8e055895ca08e39cdf4309656.tar.bz2 mate-themes-3083394b82845cd8e055895ca08e39cdf4309656.tar.xz |
BlackMate GTK3-3.10: add support for CSD applications
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index d68be001..1af86e30 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2008,6 +2008,143 @@ GtkProgressBar.osd.progressbar { border-radius: 0; } +/******* + * CSD * + *******/ + +.titlebar { + text-shadow: 0 1px @osd_text_shadow; + background-image: linear-gradient(to bottom, + shade (@theme_bg_color, 1.50), + shade (@theme_bg_color, 1.0)); + border-radius: 0; +} + +.tiled .titlebar { + border-radius: 0; +} + +.maximized .titlebar { + border-radius: 0; +} + +/* this is the default titlebar that is added by GTK + * when client-side decorations are in use and the application + * did not set a custom titlebar. + */ + +.titlebar.default-decoration { + border: none; + box-shadow: none; +} + +.titlebar .title { + font: Bold 10; + background: none; + color: #D9D9D9; +} + + /* Colour when unfocused? does this work?*/ +.titlebar:backdrop { + color: #747473; + text-shadow: none; + background-image: none; + background-color: #747473; +} + +.titlebar .titlebutton, +.header-bar.frame.titlebar .button.image-button.titlebutton, +.button.text-button.titlebutton { + /* Due to a bug somewhere in gtk or cairo, + a padding of zero (or even one) doesn't work always!!! */ + padding: 4px 4px 4px 4px; + + border-radius: 3px; + border-width: 1px; + border-style: solid; + text-shadow: 0 -1px black; + + color: #D9D9D9; + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); +} + +.titlebar .titlebutton:hover, +.header-bar.frame.titlebar .button.image-button.titlebutton:hover, +.button.text-button.titlebutton:hover { + border-image: none; + border-style: solid; + border-color: shade(@button_border, 1.1); + background-image: -gtk-gradient (radial, + 0.5 -2.0, 2.0, + 0.5 -2.0, 3.0, + from (shade(@button_gradient_color_a, 1.5)), + color-stop (0.42, shade(@button_gradient_color_a, 0.7)), + color-stop (0.43, @theme_bg_color), + to (shade(@button_gradient_color_b, 0.7))); +} + +.titlebar .titlebutton:active, +.titlebar .titlebutton:active:hover, +.header-bar.frame.titlebar:active, +.header-bar.frame.titlebar:active:hover, +.button.image-button.titlebutton:active, +.button.image-button.titlebutton:active:hover, +.button.text-button.titlebutton:active, +.button.text-button.titlebutton:active:hover { + /* some apps need this */ + color: @theme_fg_color; + border-style: solid; + background-image: linear-gradient(to bottom, + shade(@button_gradient_color_b, 0.7), + @theme_bg_color 50%, + shade(@button_gradient_color_a, 1.5)); +} + +.titlebar .right .titlebutton:first-child { + border-left: 1px solid @menu_separator; +} + +.titlebar .right .titlebutton:last-child { + +} + +.titlebar .left .titlebutton:last-child { + border-right: 1px solid @menu_separator; +} + +.titlebar .left .titlebutton:first-child { + +} + +.titlebar .titlebutton:backdrop, +.titlebar .titlebutton:hover:backdrop, +.header-bar.frame.titlebar .button.image-button.titlebutton:backdrop, +.header-bar.frame.titlebar .button.image-button.titlebutton:hover:backdrop { + background: none; + color: @theme_main_color; + border-image: none; + icon-shadow: none; +} + +.titlebar .titlebutton:hover:backdrop, +.header-bar.frame.titlebar .button.image-button.titlebutton:hover:backdrop { + color: #747473; +} + +.window-frame { + border-color: @theme_bg_color; + border-radius: 7px 7px 0 0; + 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; + + /* this is used for the resize cursor area */ + margin: 10px; +} + /**************************** * Suggested action buttons * ****************************/ |