From dde91ab9a69f53007ac6f9fcf35f947a71326f5a Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Tue, 13 Jan 2015 12:29:47 +0100 Subject: [PATCH] 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 3749539bf..fd19cff8a 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 f4f5b8e0b..65c2f3256 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 {