@import '../../colors.scss'; .text-field { font-size: 0.9em; margin: 5px 0; label { display: block; margin: 0; } textarea { resize: none; } &.field-active { textarea { background-color: $color-primary-4 !important; color: $color-primary-3 !important; } } &.field-invalid { textarea { background-color: $color-secondary-2 !important; color: $color-primary-4 !important; } } &.field-small { font-size: 0.8em; } .field-clear { position: absolute; right: 8px; top: 8px; z-index: 10; font-size: 0.9em; font-weight: 600; letter-spacing: -0.5px; cursor: pointer; } &.field-active .field-clear { color: $color-primary-2; } .field-error { padding: 5px 10px; font-size: 0.9em; color: $color-secondary-0; } }