@import '../../colors.scss'; .choice-field { font-size: 0.9em; .field-name { margin: 0; } .field-select { position: relative; margin-top: 5px; .field-value { background-color: $color-primary-2; border: none; color: $color-primary-4; border-radius: 5px; padding: 7px 10px; cursor: pointer; &:after { content: "⋎"; position: absolute; right: 10px; } } .field-options { position: absolute; top: 35px; 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; padding: 5px 10px; cursor: pointer; border-radius: 5px; } .field-option:hover { background-color: $color-primary-1; } } &:focus { outline: none; } } .field-select.select-expanded { .field-options { display: block; } .field-value:after { content: "⋏"; } } &.field-small { font-size: 0.8em; } }