From 2de83c04f6e519abff9e889f59ee9b3411382d16 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 23 Mar 2016 23:41:38 +0100 Subject: more osd fixes --- common/gtk-3.0/3.20/sass/_common.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'common/gtk-3.0/3.20/sass') diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 21327e5..23c9e14 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -261,6 +261,13 @@ entry { @include entry(osd); &:focus { @include entry(osd-focus); } &:disabled { @include entry(osd-insensitive); } + + selection { + &:focus, & { + color: $selected_bg_color; + background-color: $selected_fg_color; + } + } } progress { @@ -775,6 +782,17 @@ spinbutton { > entry:focus + button { border-left-color: if($variant=='light', $selected_bg_color, $entry_border); } > entry:drop(active) + button { border-left-color: $drop_target_color; } + + .osd & { + > button:hover:not(:active), + > button:hover + button { box-shadow: inset 1px 0 $osd_button_border; } + + > button:first-child:hover:not(:active), + > button.up:dir(rtl):hover:not(:active), + > entry + button:not(:active):hover { box-shadow: none; } + + > entry:focus + button { border-left-color: $osd_button_border; } + } } &.vertical { button, entry { @@ -1977,6 +1995,7 @@ switch { url("assets/#{$a}#{$as}#{$asset_suffix}@2.png")); } + .osd, %osd_check_radio { #{$w}#{$s} { -gtk-icon-source: -gtk-scaled(url("assets/#{$a}#{$as}-dark.png"), -- cgit v1.2.3