From 1b9a7aa81eb1818b100ff80b9f5c703b2e1e60ab Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Tue, 5 Sep 2023 15:51:13 +0200 Subject: [PATCH] Adjust height, border and background colors for inputs --- app/webpacker/css/admin_v3/shared/forms.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/webpacker/css/admin_v3/shared/forms.scss b/app/webpacker/css/admin_v3/shared/forms.scss index b9abfd6068..ed2675395b 100644 --- a/app/webpacker/css/admin_v3/shared/forms.scss +++ b/app/webpacker/css/admin_v3/shared/forms.scss @@ -1,5 +1,13 @@ $text-inputs: "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel]"; +#{$text-inputs}, +input[type="date"], +input[type="datetime"], +input[type="time"], +input[type="number"] { + height: $btn-relaxed-height; +} + #{$text-inputs}, input[type="date"], input[type="datetime"], @@ -9,9 +17,10 @@ textarea, fieldset { @include border-radius($border-radius); padding: $vpadding-txt $hpadding-txt; - border: 1px solid $color-txt-brd; + border: 1px solid $lighter-grey; color: $color-txt-text; font-size: 90%; + background-color: $lighter-grey; &:focus { outline: none;