From 0f5c74a1c97862f443028508d3c8ebaa4b693d97 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 31 Mar 2016 21:25:07 +0200 Subject: nicer button padding --- common/gtk-3.0/3.20/sass/_common.scss | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'common/gtk-3.0/3.20/sass/_common.scss') diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 86d1f3f..e30151d 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -381,23 +381,33 @@ button { } &.image-button { - min-width: 32px; - padding-left: 0; - padding-right: 0; + min-width: 24px; + padding-left: 5px; + padding-right: 5px; } &.text-button { - padding-left: 16px; - padding-right: 16px; + padding-left: 12px; + padding-right: 12px; } &.text-button.image-button { - padding-left: 8px; - padding-right: 8px; + padding-left: 5px; + padding-right: 5px; label { - padding-left: 8px; - padding-right: 8px; + &:first-child { + padding-left: 8px; + padding-right: 2px; + } + &:last-child { + padding-right: 8px; + padding-left: 2px; + } + &:only-child { + padding-left: 8px; + padding-right: 8px; + } } } -- cgit v1.2.3