aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/fields/ChoiceField.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/ChoiceField.scss
parente4e317851930004d05d328a3934707e58bd4d2e2 (diff)
Minor scss improvements
Diffstat (limited to 'frontend/src/components/fields/ChoiceField.scss')
-rw-r--r--frontend/src/components/fields/ChoiceField.scss16
1 files changed, 8 insertions, 8 deletions
diff --git a/frontend/src/components/fields/ChoiceField.scss b/frontend/src/components/fields/ChoiceField.scss
index e7683b7..0b5e510 100644
--- a/frontend/src/components/fields/ChoiceField.scss
+++ b/frontend/src/components/fields/ChoiceField.scss
@@ -1,4 +1,4 @@
-@import '../../colors.scss';
+@import "../../colors.scss";
.choice-field {
font-size: 0.9em;
@@ -12,29 +12,29 @@
margin-top: 5px;
.field-value {
- background-color: $color-primary-2;
- border: none;
- color: $color-primary-4;
- border-radius: 5px;
padding: 7px 25px 7px 10px;
cursor: pointer;
+ color: $color-primary-4;
+ border: none;
+ border-radius: 5px;
+ background-color: $color-primary-2;
&:after {
- content: "⋎";
position: absolute;
right: 10px;
+ content: "⋎";
}
}
.field-options {
position: absolute;
+ z-index: 20;
top: 35px;
+ display: none;
width: 100%;
- z-index: 20;
border-top: 3px solid $color-primary-0;
border-radius: 5px;
background-color: $color-primary-2;
- display: none;
.field-option {
display: block;