aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-03-23 23:41:38 +0100
committerHorst31802016-03-23 23:41:38 +0100
commit2de83c04f6e519abff9e889f59ee9b3411382d16 (patch)
treed78b91b7319d6716b5a552cc159f44cfe7ed4fec /common/gtk-3.0/3.20/sass
parent66c0cc14d61a5af2cca59af533cd8b08733a75a4 (diff)
downloadsolarc-theme-2de83c04f6e519abff9e889f59ee9b3411382d16.tar.gz
solarc-theme-2de83c04f6e519abff9e889f59ee9b3411382d16.tar.xz
solarc-theme-2de83c04f6e519abff9e889f59ee9b3411382d16.zip
more osd fixes
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss19
1 files changed, 19 insertions, 0 deletions
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"),