aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/fields/TextField.scss
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-10-02 15:49:00 +0000
committerEmiliano Ciavatta2020-10-02 15:54:34 +0000
commit6204c99e69d1707a79c5e56685b47310106c60b0 (patch)
tree0659149ecbb19ea7118f22e90ebb68c3bebe9518 /frontend/src/components/fields/TextField.scss
parente4e317851930004d05d328a3934707e58bd4d2e2 (diff)
Minor scss improvements
Diffstat (limited to 'frontend/src/components/fields/TextField.scss')
-rw-r--r--frontend/src/components/fields/TextField.scss18
1 files changed, 9 insertions, 9 deletions
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;
}
}