From d271e75c97bc24ec3f13e27cb84760804294eb84 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 2 Mar 2016 12:41:43 +0100 Subject: fix spinbuttons --- common/gtk-3.0/3.20/sass/_common.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (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 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); } } } -- cgit v1.2.3