diff options
author | Horst3180 | 2016-08-31 00:00:33 +0200 |
---|---|---|
committer | Horst3180 | 2016-08-31 00:00:33 +0200 |
commit | 06b091100947a17f29b82f92bf0fa38735eaabac (patch) | |
tree | 8a99ae5c31af7e37dd1b8255f45c3098963b78e2 /common/gnome-shell/3.16/sass | |
parent | 9c4b8025282487a94aaae2210d96b8e7ced5377d (diff) | |
download | solarc-theme-06b091100947a17f29b82f92bf0fa38735eaabac.tar.gz solarc-theme-06b091100947a17f29b82f92bf0fa38735eaabac.tar.xz solarc-theme-06b091100947a17f29b82f92bf0fa38735eaabac.zip |
don't use selected_fg_color in weird places
Diffstat (limited to 'common/gnome-shell/3.16/sass')
-rw-r--r-- | common/gnome-shell/3.16/sass/_colors.scss | 9 | ||||
-rw-r--r-- | common/gnome-shell/3.16/sass/_common.scss | 28 |
2 files changed, 24 insertions, 13 deletions
diff --git a/common/gnome-shell/3.16/sass/_colors.scss b/common/gnome-shell/3.16/sass/_colors.scss index 47daa0f..8d3a5f2 100644 --- a/common/gnome-shell/3.16/sass/_colors.scss +++ b/common/gnome-shell/3.16/sass/_colors.scss @@ -8,7 +8,7 @@ $bg_color: if($variant =='light', #F5F6F7, #383C4A); $fg_color: if($variant =='light', #5c616c, #D3DAE3); $selected_fg_color: #ffffff; -$selected_bg_color: #5294E2; +$selected_bg_color: #5294e2; $selected_borders_color: darken($selected_bg_color, 20%); $borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%)); @@ -18,11 +18,18 @@ $link_visited_color: if($variant == 'light', darken($selected_bg_color,20%), lighten($selected_bg_color,10%)); $selection_mode_bg: if($transparency == 'true', transparentize($selected_bg_color, 0.05), $selected_bg_color); +$selection_mode_fg: $selected_fg_color; $warning_color: #F27835; $error_color: #FC4138; +$warning_fg_color: white; +$error_fg_color: white; $success_color: #73d216; $destructive_color: #F04A50; $suggested_color: #4DADD4; +$destructive_fg_color: white; +$suggested_fg_color: white; + +$drop_target_color: #F08437; //insensitive state derived colors $insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55)); diff --git a/common/gnome-shell/3.16/sass/_common.scss b/common/gnome-shell/3.16/sass/_common.scss index 688bbb5..b9ac0d3 100644 --- a/common/gnome-shell/3.16/sass/_common.scss +++ b/common/gnome-shell/3.16/sass/_common.scss @@ -30,6 +30,7 @@ $font-family: Futura Bk bt, Cantarell, Sans-Serif; $_bubble_bg_color: opacify($osd_bg_color,0.25); $_bubble_fg_color: $osd_fg_color; $_bubble_borders_color: transparentize($osd_fg_color,0.8); +$_shell_fg_color: white; stage { font-family: $font-family; @@ -338,17 +339,17 @@ StScrollBar { // Shutdown Button .button:last-child { - color: $selected_fg_color; + color: $destructive_fg_color; background-color: $destructive_color; border-color: $destructive_color; &:hover { - color: $selected_fg_color; + color: $destructive_fg_color; background-color: lighten($destructive_color, 9%); border-color: lighten($destructive_color, 9%); } &:active { - color: $selected_fg_color; + color: $destructive_fg_color; background-color: darken($destructive_color, 5%); border-color: darken($destructive_color, 5%); } @@ -618,7 +619,7 @@ StScrollBar { min-width: 64px; min-height: 64px; - color: $selected_fg_color; + color: $_shell_fg_color; background: none; border: none; border-radius: 5px; @@ -698,7 +699,7 @@ StScrollBar { color: $osd_fg_color; &:highlighted { - color: $selected_fg_color; + color: $_shell_fg_color; } } @@ -776,6 +777,8 @@ StScrollBar { // Top Bar // #panel { + $_panel_fg_color: $_shell_fg_color; + font-weight: bold; height: 2.1em; min-height: 27px; @@ -821,7 +824,7 @@ StScrollBar { -natural-hpadding: 10px; -minimum-hpadding: 6px; font-weight: bold; - color: $selected_fg_color; + color: $_panel_fg_color; transition-duration: 100ms; border-bottom-width: 1px; border-color: transparent; @@ -834,7 +837,7 @@ StScrollBar { } &:hover { - color: $selected_fg_color; + color: $_panel_fg_color; background-color: transparentize(black, 0.83); border-bottom-width: 1px; border-color: transparent; @@ -1396,9 +1399,9 @@ StScrollBar { .list-search-result-content { spacing: 12px; padding: 12px; } -.list-search-result-title { font-size: 1.5em; color: $selected_fg_color; } +.list-search-result-title { font-size: 1.5em; color: $_shell_fg_color; } -.list-search-result-description { color: darken($selected_fg_color, 20%); } +.list-search-result-description { color: darken($_shell_fg_color, 20%); } .search-provider-icon { padding: 15px; } .search-provider-icon-more { @@ -1454,7 +1457,7 @@ StScrollBar { .dash-label { border-radius: 3px; padding: 4px 12px; - color: $selected_fg_color; + color: $_shell_fg_color; background-color: transparentize(black, 0.3); text-align: center; -x-offset: 3px; @@ -1618,7 +1621,7 @@ StScrollBar { } %icon_tile { - color: $selected_fg_color; + color: $_shell_fg_color; border-radius: 2px; padding: 6px; border: 1px solid transparent; @@ -1641,6 +1644,7 @@ StScrollBar { } &:active > .overview-icon, &:checked > .overview-icon { + color: $selected_fg_color; background-color: $selected_bg_color; box-shadow: none; } @@ -2191,7 +2195,7 @@ $legacy_icon_size: 24px; padding-right: .3em; &:hover { - color: $selected_fg_color; + color: $_shell_fg_color; text-shadow: black 0px 2px 2px; } &:selected { |