[gnome-shell-extensions] data: Adjust classic style to top bar transparency changes



commit a2508106f4e220b3c4838afe1a806a0e6a51690c
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Jul 19 12:43:57 2017 +0200

    data: Adjust classic style to top bar transparency changes

 data/gnome-classic.css  |    9 +++++++--
 data/gnome-classic.scss |    9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/data/gnome-classic.css b/data/gnome-classic.css
index fc1dcfa..057d06f 100644
--- a/data/gnome-classic.css
+++ b/data/gnome-classic.css
@@ -1908,7 +1908,7 @@ StScrollBar {
 /* Overrides */
 #panel {
   font-weight: normal;
-  background-color: #ededed;
+  background-color: #ededed !important;
   background-gradient-direction: vertical;
   background-gradient-end: #e0e0e0;
   border-top-color: #666;
@@ -1929,13 +1929,18 @@ StScrollBar {
     -natural-hpadding: 8px;
     -minimum-hpadding: 4px;
     font-weight: normal;
-    color: #2e3436; }
+    color: #2e3436 !important;
+    text-shadow: none; }
     #panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel 
.panel-button:checked {
       background-color: #4a90d9 !important;
       color: #ffffff !important;
       box-shadow: none; }
       #panel .panel-button:active > .system-status-icon, #panel .panel-button:overview > 
.system-status-icon, #panel .panel-button:focus > .system-status-icon, #panel .panel-button:checked > 
.system-status-icon {
         icon-shadow: none; }
+    #panel .panel-button:hover {
+      text-shadow: none; }
+      #panel .panel-button:hover .system-status-icon {
+        icon-shadow: none; }
     #panel .panel-button .app-menu-icon {
       width: 0;
       height: 0;
diff --git a/data/gnome-classic.scss b/data/gnome-classic.scss
index 263f255..274a3f8 100644
--- a/data/gnome-classic.scss
+++ b/data/gnome-classic.scss
@@ -9,7 +9,7 @@ $variant: 'light';
 
 #panel {
   font-weight: normal;
-  background-color: $bg_color;
+  background-color: $bg_color !important;
   background-gradient-direction: vertical;
   background-gradient-end: darken($bg_color,5%);
   border-top-color: #666; /* we don't support non-uniform border-colors and
@@ -30,7 +30,8 @@ $variant: 'light';
     -natural-hpadding: 8px;
     -minimum-hpadding: 4px;
     font-weight: normal;
-    color: $fg_color;
+    color: $fg_color !important;
+    text-shadow: none;
     &:active, &:overview, &:focus, &:checked {
       // Trick due to St limitations. It needs a background to draw
       // a box-shadow
@@ -39,6 +40,10 @@ $variant: 'light';
       box-shadow: none;
       & > .system-status-icon { icon-shadow: none; }
     }
+    &:hover {
+      text-shadow: none;
+      & .system-status-icon { icon-shadow: none; }
+    }
     .app-menu-icon { width: 0; height: 0; margin: 0; } // shell's display:none; :D
   }
 


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