aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-09-20 21:30:16 +0200
committerHorst31802016-09-20 21:30:16 +0200
commita7e9f80aab54181d8df5fbd3a77978b11f2f46c6 (patch)
tree3ae7a198cfbffd0baa52abb76f739b281b7ed01a /common/gtk-3.0/3.20/sass
parent97d96272f05eb9692203cea422d70af739bb154d (diff)
downloadsolarc-theme-a7e9f80aab54181d8df5fbd3a77978b11f2f46c6.tar.gz
solarc-theme-a7e9f80aab54181d8df5fbd3a77978b11f2f46c6.tar.xz
solarc-theme-a7e9f80aab54181d8df5fbd3a77978b11f2f46c6.zip
spinbutton tweaks
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index b361ab1..847c5c7 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -363,7 +363,7 @@ button {
background-clip: if($variant=='light', border-box, padding-box);
transition-duration: 50ms;
- label:disabled { color: inherit; opacity: 0.6; }
+ &:not(:disabled) label:disabled { color: inherit; opacity: 0.6; }
}
//Webkitgtk workaround start
@@ -809,6 +809,9 @@ spinbutton {
> button:hover:not(:active),
> button:hover + button { box-shadow: inset 1px 0 $button_border; }
+ > button:disabled + button:not(:disabled):not(:active):not(:checked):not(:hover),
+ > button:not(:disabled):not(:active):not(:checked):not(:hover) + button:disabled { box-shadow: inset 1px 0 transparentize($button_border, 0.5); }
+
> button:first-child:hover:not(:active),
> button.up:dir(rtl):hover:not(:active),
> entry + button:not(:active):hover { box-shadow: none; }
@@ -1302,6 +1305,9 @@ headerbar {
> button:hover:not(:active),
> button:hover + button { box-shadow: inset 1px 0 $header_button_border; }
+ > button:disabled + button:not(:disabled):not(:active):not(:checked):not(:hover),
+ > button:not(:disabled):not(:active):not(:checked):not(:hover) + button:disabled { box-shadow: inset 1px 0 $header_button_border; }
+
> button:first-child:hover:not(:active),
> entry + button:not(:active):hover { box-shadow: none; }