aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass/_common.scss
diff options
context:
space:
mode:
authorHorst31802016-03-02 12:41:43 +0100
committerHorst31802016-03-02 12:41:43 +0100
commitd271e75c97bc24ec3f13e27cb84760804294eb84 (patch)
treef13b6a0aa7d53d90deaabf162732bbc771c152d5 /common/gtk-3.0/3.20/sass/_common.scss
parent3b607e4f5174834a66a81a7cdf7e14faed5836d6 (diff)
downloadsolarc-theme-d271e75c97bc24ec3f13e27cb84760804294eb84.tar.gz
solarc-theme-d271e75c97bc24ec3f13e27cb84760804294eb84.tar.xz
solarc-theme-d271e75c97bc24ec3f13e27cb84760804294eb84.zip
fix spinbuttons
Diffstat (limited to 'common/gtk-3.0/3.20/sass/_common.scss')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss14
1 files changed, 8 insertions, 6 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index 0f57cdb..d901b99 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -743,19 +743,18 @@ spinbutton {
&:disabled { color: $insensitive_fg_color; }
&:not(.vertical) {
- button, entry {
- padding-top: 0;
- padding-bottom: 0;
- min-height: 0;
+ button, entry { @extend %linked; }
+
+ &:dir(ltr) entry,
+ &:dir(rtl) button.up { border-radius: 3px 0 0 3px; }
- @extend %linked;
- }
> button + button { border-left-style: none; }
> button:hover:not(:active),
> button:hover + button { box-shadow: inset 1px 0 $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: if($variant=='light', $selected_bg_color, $entry_border); }
@@ -768,6 +767,9 @@ spinbutton {
@extend %linked_vertical;
}
+
+ button.up { border-radius: 3px 3px 0 0; }
+
> entry:focus + button { border-top-color: if($variant=='light', $selected_bg_color, $entry_border); }
}
}