[gnome-panel] Small improvements for themes



commit 8f5a23cf808ab91d6602fa02c422d3f1b5874655
Author: Balló György <ballogyor gmail com>
Date:   Wed Aug 5 17:43:59 2015 +0200

    Small improvements for themes
    
    - Use non-bold text on the top panel. I found it's easier to read, and more similar to GNOME 2 and GNOME 
Classic.
    
    - @theme_unfocused_text_color is not available in HighContrast theme, use @theme_unfocused_text_color 
again.
    
    - Use higher contrast for the active tasklist button in HighContrast theme.

 gnome-panel/Adwaita.css      |    2 +-
 gnome-panel/HighContrast.css |   16 +++++++++++-----
 2 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/gnome-panel/Adwaita.css b/gnome-panel/Adwaita.css
index 404e039..609ce3b 100644
--- a/gnome-panel/Adwaita.css
+++ b/gnome-panel/Adwaita.css
@@ -5,7 +5,7 @@ PanelWidget {
 .gnome-panel-menu-bar,
 PanelApplet > GtkMenuBar.menubar,
 ClockBox {
-       font: bold;
+       font: regular;
        color: @theme_unfocused_text_color;
        background: transparent;
 }
diff --git a/gnome-panel/HighContrast.css b/gnome-panel/HighContrast.css
index 404e039..01c2e41 100644
--- a/gnome-panel/HighContrast.css
+++ b/gnome-panel/HighContrast.css
@@ -3,10 +3,9 @@ PanelWidget {
 }
 
 .gnome-panel-menu-bar,
-PanelApplet > GtkMenuBar.menubar,
-ClockBox {
-       font: bold;
-       color: @theme_unfocused_text_color;
+PanelApplet > GtkMenuBar.menubar {
+       font: regular;
+       color: @theme_unfocused_fg_color;
        background: transparent;
 }
 
@@ -30,11 +29,18 @@ PanelApplet GtkButton#tasklist-button,
 PanelApplet GtkButton#clock-applet-button,
 PanelApplet GtkButton#showdesktop-button {
        padding: 0px 4px;
-       color: @theme_unfocused_text_color;
+       color: @theme_unfocused_fg_color;
        border: 0;
        border-radius: 0;
 }
 
+PanelApplet GtkButton#tasklist-button:checked,
+PanelApplet GtkButton#clock-applet-button:checked,
+PanelApplet GtkButton#showdesktop-button:checked {
+       background-color: @theme_selected_bg_color;
+       color: @theme_selected_fg_color;
+}
+
 WnckPager:selected {
        background-color: @theme_selected_bg_color;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]