diff options
author | Horst3180 | 2015-05-17 00:34:40 +0200 |
---|---|---|
committer | Horst3180 | 2015-05-17 00:34:40 +0200 |
commit | 3c3f2529c3fe286080a2d3f3b74681ea7a97d30a (patch) | |
tree | f1356f50d0c9e5c92e989f3ba6336142ee3b477b /gtk-3.0/_common.scss | |
parent | 6b5c46252c98a7db7f5afa19b3ae77e21fc56ec0 (diff) | |
download | solarc-theme-3c3f2529c3fe286080a2d3f3b74681ea7a97d30a.tar.gz solarc-theme-3c3f2529c3fe286080a2d3f3b74681ea7a97d30a.tar.xz solarc-theme-3c3f2529c3fe286080a2d3f3b74681ea7a97d30a.zip |
better selection-mode
Diffstat (limited to 'gtk-3.0/_common.scss')
-rw-r--r-- | gtk-3.0/_common.scss | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/gtk-3.0/_common.scss b/gtk-3.0/_common.scss index d56bf8d..837c01d 100644 --- a/gtk-3.0/_common.scss +++ b/gtk-3.0/_common.scss @@ -1050,20 +1050,53 @@ GtkComboBox { border-color: darken($selection_mode_bg, 4%); box-shadow: none; - &:backdrop { background-color: $selection_mode_bg; } + &:backdrop { + background-color: $selection_mode_bg; + color: transparentize($selected_fg_color, 0.4); + } .subtitle:link { @extend *:link:selected; } .button { - @extend %selected-button + color: $selected_fg_color; + outline-color: transparentize($selected_fg_color, 0.7); + background-color: transparentize($selected_fg_color, 1); + border-color: transparentize($selected_fg_color, 1); + + &.flat { + @include button(undecorated); + color: $selected_fg_color; + background-color: transparentize($selected_fg_color, 1); + } + &:hover { + color: $selected_fg_color; + outline-color: transparentize($selected_fg_color, 0.7); + background-color: transparentize($selected_fg_color, 0.95); + border-color: transparentize($selected_fg_color, 0.5); + } + &:active, &:checked { + color: $selected_fg_color; + outline-color: transparentize($selected_fg_color, 0.7); + background-color: transparentize(black, 0.8); + border-color: transparentize(black, 0.8); + } + &:insensitive { + color: transparentize($selected_fg_color, 0.6); + background-color: transparentize($selected_fg_color, 1); + border-color: transparentize($selected_fg_color, 1); + + &:active, &:checked { + color: transparentize($selected_fg_color, 0.6); + background-color: transparentize(black, 0.85); + border-color: transparentize(black, 0.85); + } + } } .selection-menu { box-shadow: none; padding-left: 10px; padding-right: 10px; - padding-top: 12px; - padding-bottom: 12px; GtkArrow { -GtkArrow-arrow-scaling: 1; } .arrow { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); @@ -1087,7 +1120,7 @@ GtkComboBox { padding-top: 5px; // less padding for ssd padding-bottom: 5px; // background-color: opacify($header_bg, 1); - border-bottom: none; + border-bottom-width: 0; &:backdrop { background-color: lighten(opacify($header_bg, 1), 3%); } } |