[gnome-themes-standard] highcontrast: add theming for the fallback panel in HC theme
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] highcontrast: add theming for the fallback panel in HC theme
- Date: Thu, 13 Sep 2012 20:20:53 +0000 (UTC)
commit 858a82f03701e98a72a7fe5e50bfc9f86a878473
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Sep 13 16:18:01 2012 -0400
highcontrast: add theming for the fallback panel in HC theme
https://bugzilla.gnome.org/show_bug.cgi?id=682884
themes/HighContrast/gtk-3.0/gtk-widgets.css | 112 +++++++++++++++++++++++++++
1 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/themes/HighContrast/gtk-3.0/gtk-widgets.css b/themes/HighContrast/gtk-3.0/gtk-widgets.css
index 7788f0c..a3f3be1 100644
--- a/themes/HighContrast/gtk-3.0/gtk-widgets.css
+++ b/themes/HighContrast/gtk-3.0/gtk-widgets.css
@@ -15,6 +15,12 @@
@define-color error_color #cc0000;
@define-color success_color #4e9a06;
+/* fallback mode */
+ define-color os_chrome_bg_color black;
+ define-color os_chrome_fg_color #ccc;
+ define-color os_chrome_selected_bg_color #333;
+ define-color os_chrome_selected_fg_color white;
+
* {
-GtkRange-stepper-size: 2;
-GtkScale-slider-length: 28;
@@ -1021,6 +1027,112 @@ GtkIconView.view.cell {
background-color: @theme_base_color;
}
+/**********************
+ * Fallback Mode Panel
+ **********************/
+
+/* the panel bar itself */
+.gnome-panel-menu-bar,
+PanelApplet > GtkMenuBar.menubar,
+PanelToplevel,
+PanelWidget,
+PanelAppletFrame,
+PanelApplet {
+ color: @os_chrome_fg_color;
+
+ background-color: @os_chrome_bg_color;
+ background-image: none;
+}
+
+/* applets on the panel */
+ClockBox,
+.gnome-panel-menu-bar,
+PanelApplet > GtkMenuBar.menubar {
+ font: bold;
+}
+
+.gnome-panel-menu-bar .menuitem,
+PanelApplet > GtkMenuBar.menubar .menuitem {
+ color: @os_chrome_fg_color;
+}
+
+.gnome-panel-menu-bar .menuitem:hover,
+PanelApplet > GtkMenuBar.menubar .menuitem:hover {
+ color: @os_chrome_selected_fg_color;
+ background-color: @os_chrome_selected_bg_color;
+}
+
+.gnome-panel-menu-bar .menuitem *:hover,
+PanelApplet > GtkMenuBar.menubar .menuitem *:hover {
+ text-shadow: 0 1px @os_chrome_bg_color;
+}
+
+/* dropdown menus from applets */
+.gnome-panel-menu-bar .menu,
+PanelApplet > GtkMenuBar.menubar .menu {
+ font: regular;
+}
+
+.gnome-panel-menu-bar .menu *:hover,
+PanelApplet > GtkMenuBar.menubar .menu *:hover {
+ text-shadow: none;
+}
+
+.gnome-panel-menu-bar .menu .menuitem,
+PanelApplet > GtkMenuBar.menubar .menu .menuitem {
+ color: @theme_fg_color;
+}
+
+.gnome-panel-menu-bar .menu .menuitem:hover,
+PanelApplet > GtkMenuBar.menubar .menu .menuitem:hover {
+ color: @os_chrome_selected_fg_color;
+ background-color: @os_chrome_selected_bg_color;
+}
+
+/* application buttons */
+PanelApplet .button,
+PanelApplet .button:hover {
+ padding: 4px;
+
+ border-image: none;
+ border-width: 0;
+ border-radius: 0;
+
+ background-image: none;
+ background-color: @os_chrome_bg_color;
+
+ color: @os_chrome_fg_color;
+ text-shadow: none;
+}
+
+PanelApplet .button:active:hover,
+PanelApplet .button:active {
+ border-image: none;
+ background-image: none;
+ background-color: @os_chrome_selected_bg_color;
+ border-width: 0;
+ border-radius: 0;
+}
+
+PanelApplet *:hover {
+ color: @os_chrome_selected_fg_color;
+}
+
+PanelApplet *:active,
+PanelApplet *:hover:active {
+ color: @os_chrome_selected_fg_color;
+ text-shadow: 0 1px @os_chrome_bg_color;
+}
+
+WnckPager {
+ background-color: lighter(@os_chrome_selected_bg_color);
+}
+
+NaTrayApplet {
+ -NaTrayApplet-icon-padding: 12;
+ -NaTrayApplet-icon-size: 16;
+}
+
/****************
* App-specific *
****************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]