[gnome-themes-standard] fallback: fixup gnome-panel theming for fallback mode
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] fallback: fixup gnome-panel theming for fallback mode
- Date: Tue, 4 Oct 2011 00:45:01 +0000 (UTC)
commit 66337c9988063766f2b84f9fbea61915e617693e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 3 20:41:04 2011 -0400
fallback: fixup gnome-panel theming for fallback mode
The panel in fallback mode looks really bad with the current theme.
Fixup a number of issues with the background colors and borders for the
taskbar, menu and clock items.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 53 ++++++++++++++++++--------------
1 files changed, 30 insertions(+), 23 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 34eba5c..ced424e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1603,13 +1603,10 @@ GtkCalendar.highlight {
* Fallback Mode Panel
**********************/
-PanelWidget,
-PanelApplet,
-PanelApplet > GtkMenuBar.menubar,
.gnome-panel-menu-bar,
+PanelWidget,
PanelAppletFrame,
-PanelMenuBar.menubar,
-PanelToplevel {
+PanelApplet {
background-color: @os_chrome_bg_color;
background-image: none;
color: @os_chrome_fg_color;
@@ -1620,37 +1617,47 @@ ClockBox,
font: bold;
}
-PanelApplet > GtkMenuBar.menubar.menuitem:prelight,
-.gnome-panel-menu-bar.menuitem:prelight {
+.gnome-panel-menu-bar .menuitem:prelight {
background-color: @os_chrome_selected_bg_color;
color: @os_chrome_selected_fg_color;
- border-color: lighter (@os_chrome_selected_bg_color);
}
-/* panel buttons (clock, tasklist etc) */
-PanelApplet GtkToggleButton {
- background-color: @os_chrome_bg_color;
+.gnome-panel-menu-bar .menuitem *:prelight {
+ color: @os_chrome_selected_fg_color;
+ text-shadow: @os_chrome_bg_color 0 1;
+}
+
+PanelApplet .button,
+PanelApplet .button:prelight {
+ padding: 6 0;
+
+ border-image: none;
+ border-width: 0;
+ border-radius: 0;
+
background-image: none;
- border-color: @os_chrome_bg_color;
- border-width: 1;
+ background-color: alpha(@theme_base_color, 0.0);
+
color: @os_chrome_fg_color;
}
-PanelApplet GtkToggleButton:prelight:active,
-PanelApplet GtkToggleButton:active {
- background-color: @os_chrome_selected_bg_color;
+PanelApplet .button:active:prelight,
+PanelApplet .button:active {
+ border-image: none;
background-image: none;
- border-color: lighter (@os_chrome_selected_bg_color);
- border-width: 1;
+ background-color: @os_chrome_selected_bg_color;
+ border-width: 0;
+ border-radius: 0;
+}
+
+PanelApplet *:prelight {
color: @os_chrome_selected_fg_color;
}
-PanelApplet GtkToggleButton:prelight {
- background-color: @os_chrome_bg_color;
- background-image: none;
- border-color: @os_chrome_bg_color;
- border-width: 1;
+PanelApplet *:active,
+PanelApplet *:prelight:active {
color: @os_chrome_selected_fg_color;
+ text-shadow: @os_chrome_bg_color 0 1;
}
NaTrayApplet {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]