lbry-desktop/ui/scss/component/_form-field.scss

36 lines
576 B
SCSS
Raw Normal View History

2017-04-09 17:06:23 +02:00
@import "../global";
.form-field {
display: inline-block;
}
.form-field__label {
margin-top: $spacing-vertical * 2/3;
margin-bottom: $spacing-vertical * 1/3;
line-height: 1;
}
.form-field__label--error {
color: $color-error;
}
.form-field__input-text {
width: 330px;
}
.form-field__input-text-number {
width: 50px;
}
.form-field__error, .form-field__helper {
margin-top: $spacing-vertical * 1/3;
font-size: 0.8em;
transition: opacity $transition-standard;
}
.form-field__error {
color: $color-error;
}
.form-field__helper {
color: $color-help;
}