From 06b091100947a17f29b82f92bf0fa38735eaabac Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 31 Aug 2016 00:00:33 +0200 Subject: don't use selected_fg_color in weird places --- common/cinnamon/sass/_colors.scss | 9 ++++++++- common/cinnamon/sass/_common.scss | 22 ++++++++++++---------- 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'common/cinnamon/sass') diff --git a/common/cinnamon/sass/_colors.scss b/common/cinnamon/sass/_colors.scss index 47daa0f..8d3a5f2 100644 --- a/common/cinnamon/sass/_colors.scss +++ b/common/cinnamon/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/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index c1788b0..73c0529 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -8,6 +8,7 @@ $font-family: Futura Bk bt, sans, 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; @@ -397,9 +398,10 @@ StScrollBar { } .panel { + $_panel_fg_color: $_shell_fg_color; &-top, &-bottom { - color: $selected_fg_color; + color: $_panel_fg_color; font-size: 1em; padding: 0px; } @@ -833,7 +835,7 @@ StScrollBar { &:highlighted { border-color: rgba(0,0,0,0); - color: $selected_fg_color; + color: $_shell_fg_color; } } @@ -1186,7 +1188,7 @@ StScrollBar { font-weight: bold; spacing: 1em; padding: 16px; - color: $selected_fg_color; + color: $_shell_fg_color; border-image: url("common-assets/misc/osd.svg") 9 9 9 9; } @@ -1199,7 +1201,7 @@ StScrollBar { min-width: 64px; min-height: 64px; - color: $selected_fg_color; + color: $_shell_fg_color; background: none; border: none; border-radius: 5px; @@ -1241,14 +1243,14 @@ StScrollBar { padding-left: 8px; padding-right: 8px; transition-duration: 100; - color: transparentize($selected_fg_color, 0.4); + color: transparentize($_shell_fg_color, 0.4); - &:hover {color: $selected_fg_color;} + &:hover {color: $_shell_fg_color;} &:active, &:checked, &:focus { - color: $selected_fg_color; + color: $_shell_fg_color; .panel-bottom & { border-image: url("common-assets/panel/window-list-active-bottom.svg") 3 3 1 3; } @@ -1485,7 +1487,7 @@ StScrollBar { &-box { padding-left: 3px; padding-right: 3px; - color: $selected_fg_color; + color: $_shell_fg_color; text-shadow: none; transition-duration: 100; @@ -1497,7 +1499,7 @@ StScrollBar { &-label { font-weight: bold; - color: $selected_fg_color; + color: $_shell_fg_color; &:hover, .applet-box:hover > & { color: $selected_fg_color; @@ -1506,7 +1508,7 @@ StScrollBar { } &-icon { - color: $selected_fg_color; + color: $_shell_fg_color; icon-size: 22px; &:hover, .applet-box:hover > & { -- cgit v1.2.3