aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/fields/common.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/common.scss
parente4e317851930004d05d328a3934707e58bd4d2e2 (diff)
Minor scss improvements
Diffstat (limited to 'frontend/src/components/fields/common.scss')
-rw-r--r--frontend/src/components/fields/common.scss31
1 files changed, 15 insertions, 16 deletions
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,