From d0f82bdffa11f06aed41a4408b0a6fb6a92e31e2 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 22 Nov 2021 14:25:04 -0300 Subject: [PATCH] Improvements to numberinput style. --- src/views/admin/scss/_tainacan-form.scss | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/views/admin/scss/_tainacan-form.scss b/src/views/admin/scss/_tainacan-form.scss index ed960a1bd..c8a66cd4f 100644 --- a/src/views/admin/scss/_tainacan-form.scss +++ b/src/views/admin/scss/_tainacan-form.scss @@ -68,22 +68,35 @@ order: -1; } p.control:first-child .button { - border-right: none; + border-right-width: 0px; } p.control:last-child .button { - border-left: none; + border-left-width: 0px; } button, input { height: auto !important; text-align: start; } + button.is-primary:disabled, + button.is-primary:disabled:hover, + button.is-primary:disabled:focus, + button.is-primary:disabled:active { + background-color: var(--tainacan-input-border-color) !important; + } + button.is-primary:not(:disabled), + button.is-primary:not(:disabled):hover, + button.is-primary:not(:disabled):focus, + button.is-primary:not(:disabled):active { + background-color: var(--tainacan-input-background-color) !important; + } button.is-primary, button.is-primary:hover, button.is-primary:focus, button.is-primary:active { - border: 1px solid var(--tainacan-input-border-color); - background-color: var(--tainacan-input-background-color) !important; + border-width: 1px; + border-style: solid; + border-color: var(--tainacan-input-border-color) !important; color: var(--tainacan-secondary) !important; padding: 0.25em 0.6em !important; border-radius: 0 !important;