react-jam-ui
Version:
React JAM UI components
30 lines (25 loc) • 586 B
text/stylus
$default = json('default.json', { hash: true });
$custom = json('../../../../ui.config.json', { hash: true, optional: true });
$forms = typeof($custom) != 'null' ? $custom.$forms : $default.$forms;
.form {
&__row {
&+& {
margin-top: $forms.gap;
}
}
&-label {
}
&-control {
position: relative;
}
&-inline {
.form-label {
display: inline-block;
margin: 0 10px 0 0;
vertical-align: middle;
}
.form-control {
display: inline-block;
}
}
}