From 674ffa0890353fa72dae97305ca38996932fa964 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 21 Mar 2016 21:39:18 +0100 Subject: set min-width on spinbutton entries --- common/gtk-3.0/3.20/gtk-dark.css | 3 +++ common/gtk-3.0/3.20/gtk-darker.css | 3 +++ common/gtk-3.0/3.20/gtk-solid-dark.css | 3 +++ common/gtk-3.0/3.20/gtk-solid-darker.css | 3 +++ common/gtk-3.0/3.20/gtk-solid.css | 3 +++ common/gtk-3.0/3.20/gtk.css | 3 +++ common/gtk-3.0/3.20/sass/_common.scss | 2 ++ 7 files changed, 20 insertions(+) diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index ea72108..8f6329d 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -733,6 +733,9 @@ spinbutton button:active { spinbutton:disabled { color: rgba(211, 218, 227, 0.45); } +spinbutton:not(.vertical) entry { + min-width: 28px; } + spinbutton:not(.vertical):dir(ltr) entry, spinbutton:not(.vertical):dir(rtl) button.up { border-radius: 3px 0 0 3px; } diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index 6bd242e..a450743 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -732,6 +732,9 @@ spinbutton button:active { spinbutton:disabled { color: rgba(92, 97, 108, 0.55); } +spinbutton:not(.vertical) entry { + min-width: 28px; } + spinbutton:not(.vertical):dir(ltr) entry, spinbutton:not(.vertical):dir(rtl) button.up { border-radius: 3px 0 0 3px; } diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index edb76c9..5f9083b 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -733,6 +733,9 @@ spinbutton button:active { spinbutton:disabled { color: rgba(211, 218, 227, 0.45); } +spinbutton:not(.vertical) entry { + min-width: 28px; } + spinbutton:not(.vertical):dir(ltr) entry, spinbutton:not(.vertical):dir(rtl) button.up { border-radius: 3px 0 0 3px; } diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index 452c8a2..db3c774 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -732,6 +732,9 @@ spinbutton button:active { spinbutton:disabled { color: rgba(92, 97, 108, 0.55); } +spinbutton:not(.vertical) entry { + min-width: 28px; } + spinbutton:not(.vertical):dir(ltr) entry, spinbutton:not(.vertical):dir(rtl) button.up { border-radius: 3px 0 0 3px; } diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index aa287ff..e979f58 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -732,6 +732,9 @@ spinbutton button:active { spinbutton:disabled { color: rgba(92, 97, 108, 0.55); } +spinbutton:not(.vertical) entry { + min-width: 28px; } + spinbutton:not(.vertical):dir(ltr) entry, spinbutton:not(.vertical):dir(rtl) button.up { border-radius: 3px 0 0 3px; } diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index 8cab57a..02ee058 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -732,6 +732,9 @@ spinbutton button:active { spinbutton:disabled { color: rgba(92, 97, 108, 0.55); } +spinbutton:not(.vertical) entry { + min-width: 28px; } + spinbutton:not(.vertical):dir(ltr) entry, spinbutton:not(.vertical):dir(rtl) button.up { border-radius: 3px 0 0 3px; } diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 40a0f53..d46f294 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -729,6 +729,8 @@ spinbutton { &:disabled { color: $insensitive_fg_color; } &:not(.vertical) { + entry { min-width: 28px; } + button, entry { @extend %linked; } &:dir(ltr) entry, -- cgit v1.2.3