[gnome-shell/wip/sass: 56/78] theme: use selected bg color consistently



commit 69fc9bcfa4574941ff328056844f21fe91ce053d
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Jan 13 12:29:47 2015 +0100

    theme: use selected bg color consistently

 data/theme/_common.scss    |    5 +++--
 data/theme/gnome-shell.css |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index 6f7a6ec..1b67aa3 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -198,7 +198,7 @@ StScrollBar {
     
     &:ltr { padding: .4em 1.75em .4em 0em; }
     &:rtl { padding: .4em 0em .4em 1.75em; }
-    &:active { background-color: lighten($bg_color,10%); }
+    &:active { background-color: $selected_bg_color; }
     &:insensitive { background-color: transparentize($bg_color,.5); }
   }
   .popup-inactive-menu-item { //all icons and other graphical elements
@@ -250,7 +250,8 @@ StScrollBar {
   .level {
     height: 0.6em;
     border-radius: 0.3em;
-    background-color: $selected_bg_color;
+    background-color: darken($bg_color,15%);
+    color: $fg_color;
   }
 }
 
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 027f1ba..afb614e 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -828,7 +828,7 @@ StScrollBar {
     .popup-menu .popup-menu-item:rtl {
       padding: .4em 0em .4em 1.75em; }
     .popup-menu .popup-menu-item:active {
-      background-color: #515a5a; }
+      background-color: #215d9c; }
     .popup-menu .popup-menu-item:insensitive {
       background-color: rgba(57, 63, 63, 0.5); }
   .popup-menu .popup-inactive-menu-item {
@@ -871,7 +871,8 @@ StScrollBar {
   .osd-window .level {
     height: 0.6em;
     border-radius: 0.3em;
-    background-color: #215d9c; }
+    background-color: #151717;
+    color: #eeeeec; }
 
 /* App Switcher */
 .switcher-popup {


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