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/TextField.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'frontend/src/components/fields/TextField.scss') diff --git a/frontend/src/components/fields/TextField.scss b/frontend/src/components/fields/TextField.scss index de831fb..c2d6ef5 100644 --- a/frontend/src/components/fields/TextField.scss +++ b/frontend/src/components/fields/TextField.scss @@ -1,4 +1,4 @@ -@import '../../colors.scss'; +@import "../../colors.scss"; .text-field { font-size: 0.9em; @@ -15,15 +15,15 @@ &.field-active { textarea { - background-color: $color-primary-4 !important; color: $color-primary-3 !important; + background-color: $color-primary-4 !important; } } &.field-invalid { textarea { - background-color: $color-secondary-2 !important; color: $color-primary-4 !important; + background-color: $color-secondary-2 !important; } } @@ -32,14 +32,14 @@ } .field-clear { - position: absolute; - right: 8px; - top: 8px; - z-index: 10; font-size: 0.9em; font-weight: 600; - letter-spacing: -0.5px; + position: absolute; + z-index: 10; + top: 8px; + right: 8px; cursor: pointer; + letter-spacing: -0.5px; } &.field-active .field-clear { @@ -47,8 +47,8 @@ } .field-error { - padding: 5px 10px; font-size: 0.9em; + padding: 5px 10px; color: $color-secondary-0; } } -- cgit v1.2.3-70-g09d2