[gnome-panel/wip/segeiger/css-transparent-show-desktop-button] CSS: Fix transparency for show desktop button on Adwaita theme
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/segeiger/css-transparent-show-desktop-button] CSS: Fix transparency for show desktop button on Adwaita theme
- Date: Sat, 6 Jun 2015 19:09:15 +0000 (UTC)
commit 60a178c893d06c25fa5b7b5a368699465ed0a8ff
Author: Sebastian Geiger <sbastig gmx net>
Date: Sat Jun 6 21:05:15 2015 +0200
CSS: Fix transparency for show desktop button on Adwaita theme
The show desktop button is now transparent if gnome-panel
is configured to be transparent. When the showdesktop button
is active the background color is set to the default background
color for the theme.
gnome-panel/Adwaita.css | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/Adwaita.css b/gnome-panel/Adwaita.css
index bf51ed8..53442c5 100644
--- a/gnome-panel/Adwaita.css
+++ b/gnome-panel/Adwaita.css
@@ -35,6 +35,14 @@ PanelApplet GtkButton#showdesktop-button {
border-radius: 0;
}
+PanelApplet GtkToggleButton#showdesktop-button:checked {
+ background: @theme_selected_bg_color;
+}
+
+PanelApplet GtkToggleButton#showdesktop-button {
+ background: transparent;
+}
+
WnckPager:selected {
background-color: @theme_selected_bg_color;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]