[gnome-shell/wip/sassWithSomeFixes: 47/62] theme: overview-icon fixes



commit aaa26524056280267176243df77646d3431ad18f
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Oct 16 21:01:09 2014 +0200

    theme: overview-icon fixes

 data/gnome-shell-theme.gresource.xml |    2 --
 data/theme/_common.scss              |   17 +++++++----------
 2 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/data/gnome-shell-theme.gresource.xml b/data/gnome-shell-theme.gresource.xml
index d473494..0d90fca 100644
--- a/data/gnome-shell-theme.gresource.xml
+++ b/data/gnome-shell-theme.gresource.xml
@@ -25,8 +25,6 @@
     <file>page-indicator-checked.svg</file>
     <file>page-indicator-hover.svg</file>
     <file>panel-button-border.svg</file>
-    <file>panel-button-highlight-narrow.svg</file>
-    <file>panel-button-highlight-wide.svg</file>
     <file>process-working.svg</file>
     <file>running-indicator.svg</file>
     <file>source-button-border.svg</file>
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index e0b45d7..eff7cb5 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -478,11 +478,6 @@ StScrollBar {
       height: 24px;
     }
     
-    .overview-icon {
-      &:hover {
-        background-color: transparentize($osd_bg_color,0.6);
-      }
-    }
   }
   
   .dash-label { //osd tooltip
@@ -531,14 +526,20 @@ StScrollBar {
     & > .overview-icon { 
       @extend %icon_tile;
     }
+    &.running > .overview-icon {
+      text-shadow: black 0px 2px 2px;
+    }
     &:active > .overview-icon, 
     &:checked > .overview-icon {
       background-color: transparentize($osd_bg_color,.1);
     }
     &:hover > .overview-icon, 
+    &.running:hover > .overview-icon,
     &:focus > .overview-icon, 
     &:selected > .overview-icon { 
-      background-color: transparentize($osd_bg_color,.5); 
+      background-color: transparentize($osd_bg_color,.5);
+      border-image: none;
+      background-image: none;
     }
     
   }
@@ -551,10 +552,6 @@ StScrollBar {
     text-align: center;
   }
   
-  .app-well-app.running > .overview-icon {
-    text-shadow: black 0px 2px 2px;
-    border-image: url("panel-button-border.svg") 6 10 0 2; //fixme needs to not be blurry and a little 
narrower
-  }
   .app-well-app.app-folder > .overview-icon {
     background-color: transparentize($osd_bg_color,.6);
   }


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