lbry-desktop/ui/scss/component/_form-field.scss
Jeremy Kauffman 575db85477 so far
2017-04-17 09:46:51 -04:00

36 lines
No EOL
576 B
SCSS

@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;
}