diff options
author | Horst3180 | 2016-05-29 19:22:18 +0200 |
---|---|---|
committer | Horst3180 | 2016-05-29 19:22:18 +0200 |
commit | ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96 (patch) | |
tree | 94b480739c9811fa2c72e2cf3bf57fa8293b3748 /common/gnome-shell/3.16/sass | |
parent | 753130a3ba5386d485d519b4a93aea4d184c4850 (diff) | |
download | solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.tar.gz solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.tar.xz solarc-theme-ca76d0e2e55cb9a6b69a29c19225c22bb50c6f96.zip |
use accent color for menu highlight (fix #135)
Diffstat (limited to 'common/gnome-shell/3.16/sass')
-rw-r--r-- | common/gnome-shell/3.16/sass/_common.scss | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/common/gnome-shell/3.16/sass/_common.scss b/common/gnome-shell/3.16/sass/_common.scss index 9515e43..6d8af82 100644 --- a/common/gnome-shell/3.16/sass/_common.scss +++ b/common/gnome-shell/3.16/sass/_common.scss @@ -148,6 +148,11 @@ StScrollBar { border-right-width: 1px; border-left-width: 5px; color: transparent; + + .popup-menu-item.selected & { + -slider-background-color: transparentize(black, 0.8); + -slider-active-background-color: $selected_fg_color; + } } // @@ -177,11 +182,14 @@ StScrollBar { width: 50px; height: 20px; background-size: contain; + background-image: url("#{$asset_path}/switch/switch-off.svg"); - &-us, &-intl { - background-image: url("#{$asset_path}/switch/switch-off.svg"); + &:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); } - &:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); } + .popup-menu-item.selected & { + background-image: url("common-assets/switch/switch-off-selected.svg"); + + &:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); } } } @@ -534,9 +542,9 @@ StScrollBar { } &:active, &.selected { - color: $fg_color; + color: $selected_fg_color; background-color: transparent; - border-image: url("#{$asset_path}/menu/menu-hover.svg") 9 9 1 1; + border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1; } &:insensitive { |