From 6204c99e69d1707a79c5e56685b47310106c60b0 Mon Sep 17 00:00:00 2001 From: Emiliano Ciavatta Date: Fri, 2 Oct 2020 17:49:00 +0200 Subject: Minor scss improvements --- frontend/src/components/fields/common.scss | 31 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'frontend/src/components/fields/common.scss') diff --git a/frontend/src/components/fields/common.scss b/frontend/src/components/fields/common.scss index f83a988..f37369e 100644 --- a/frontend/src/components/fields/common.scss +++ b/frontend/src/components/fields/common.scss @@ -1,48 +1,47 @@ -@import '../../colors.scss'; +@import "../../colors.scss"; .field { - input, textarea { - background-color: $color-primary-2; width: 100%; - border: none; + padding: 7px 10px; color: $color-primary-4; + border: none; border-radius: 5px; - padding: 7px 10px; + background-color: $color-primary-2; &:focus { - background-color: $color-primary-1; color: $color-primary-4; - box-shadow: none; outline: none; + background-color: $color-primary-1; + box-shadow: none; } &[readonly] { - background-color: $color-primary-2; - border: none; color: $color-primary-4; + border: none; + background-color: $color-primary-2; } &[readonly]:focus { - background-color: $color-primary-1; color: $color-primary-4; + background-color: $color-primary-1; box-shadow: none; } } button { - border-radius: 0; - background-color: $color-primary-2; - border: none; + font-weight: 500; + padding: 5px 12px; color: $color-primary-4; + border: none; + border-radius: 0; outline: none; - padding: 5px 12px; - font-weight: 500; + background-color: $color-primary-2; &:hover, &:active { - background-color: $color-primary-1; color: $color-primary-4; + background-color: $color-primary-1; } &:focus, -- cgit v1.2.3-70-g09d2