From 7b125559908565f0cebcbe222d5953b201140d71 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 9 Dec 2014 17:03:35 +0100 Subject: Most GTK3 themes hack: disable .window-frame to avoid a black background of csd, header-bars apps and main menu if compositor is disable --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 15 ++++++++++++--- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 15 ++++++++++++--- desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css | 13 +++++++++++-- .../ContrastHighInverse/gtk-3.0/gtk-widgets.css | 13 +++++++++++-- desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 15 ++++++++++++--- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 15 ++++++++++++--- desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css | 9 +++++++++ desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 9 +++++++++ desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css | 9 +++++++++ 9 files changed, 97 insertions(+), 16 deletions(-) diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index a005330a..7fdc547c 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2183,17 +2183,26 @@ GtkProgressBar.osd.progressbar { .header-bar.frame.titlebar .button.image-button.titlebutton:hover:backdrop { color: #747473; } - + +/**************************************************************************************** +* 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-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; + 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; +/* margin: 10px; } +*/ /**************************** * Suggested action buttons * diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index e4231f0f..44bf1740 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -3957,12 +3957,20 @@ GtkModelButton.button:selected { icon-shadow: 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-radius: 0; - border-width: 0px; - box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; + border-width: 0px; + box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;*/ /* this is used for the resize cursor area */ - margin: 10px; +/* margin: 10px; } .window-frame.tiled { @@ -3973,6 +3981,7 @@ GtkModelButton.button:selected { .window-frame:backdrop { box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow; } +*/ /* Various hacks and shit */ /* FIXME - BELOW: Some stuff that can probably be done better or in another way */ diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 981e6141..31b74fad 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -1315,19 +1315,28 @@ GtkProgressBar.osd.progressbar { color: @theme_base_color; } +/**************************************************************************************** +* 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-color: darker(@theme_bg_color); border-radius: 7px 7px 0 0; border-width: 1px; border-style: solid; - box-shadow: 0 2px 8px 3px alpha(black, 0.7); + box-shadow: 0 2px 8px 3px alpha(black, 0.7);*/ /* this is used for the resize cursor area */ - margin: 10px; +/* margin: 10px; } .window-frame:backdrop { box-shadow: 0 2px 5px 1px alpha(black, 0.7); } +*/ /**************** * App-specific * diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css index 2e53b4b9..d4677cc9 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css @@ -1203,19 +1203,28 @@ GtkProgressBar.osd.progressbar { color: @theme_base_color; } +/**************************************************************************************** +* 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-color: darker(@theme_bg_color); border-radius: 7px 7px 0 0; border-width: 1px; border-style: solid; - box-shadow: 0 2px 8px 3px alpha(white, 0.7); + box-shadow: 0 2px 8px 3px alpha(white, 0.7);*/ /* this is used for the resize cursor area */ - margin: 10px; +/* margin: 10px; } .window-frame:backdrop { box-shadow: 0 2px 5px 1px alpha(white, 0.7); } +*/ /**************** * App-specific * diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index 9a49178b..c9a53c78 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -1982,17 +1982,26 @@ GtkProgressBar.osd.progressbar { .header-bar.frame.titlebar .button.image-button.titlebutton:hover:backdrop { color: #747473; } - + +/**************************************************************************************** +* 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-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; + 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; +/* margin: 10px; } +*/ /**************************** * Suggested action buttons * diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index d44467cb..eeea1ad4 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -3959,12 +3959,20 @@ GtkModelButton.button:selected { icon-shadow: 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-radius: 0; - border-width: 0px; - box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow; + border-width: 0px; + box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;*/ /* this is used for the resize cursor area */ - margin: 10px; +/* margin: 10px; } .window-frame.tiled { @@ -3975,6 +3983,7 @@ GtkModelButton.button:selected { .window-frame:backdrop { box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow; } +*/ /* Various hacks and shit */ /* FIXME - BELOW: Some stuff that can probably be done better or in another way */ diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 26cb8934..5c1bb29b 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -1921,12 +1921,21 @@ 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; margin: 10px; } +*/ /************** * 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 55fd826f..d47a19f0 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -1925,12 +1925,21 @@ 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; margin: 10px; } +*/ /************** * 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 b24309d8..26f76d85 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -1920,12 +1920,21 @@ 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; margin: 10px; } +*/ /************** * Action bar * -- cgit v1.2.1