mdb-ui-kit/sass/_form.scss

43 lines
883 B
SCSS
Raw Normal View History

// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
@mixin mdb-label-color-toggle-focus(){
// override bootstrap focus and keep all the standard color (could be multiple radios in the form group)
.form-group.is-focused & {
color: $mdb-label-color;
// on focus just darken the specific labels, do not turn them to the brand-primary
&:hover,
&:focus {
color: $mdb-label-color-toggle-focus;
}
2015-12-14 04:38:09 +03:00
// correct the above focus color for disabled items
fieldset[disabled] & {
color: $mdb-label-color;
}
}
}
.form-horizontal {
// Consistent vertical alignment of radios and checkboxes
.radio,
.checkbox,
.radio-inline,
.checkbox-inline {
2015-11-25 02:40:52 +03:00
padding-top: 0;
}
2015-11-22 00:36:03 +03:00
.radio {
margin-bottom: 10px;
}
label {
text-align: right;
}
label.control-label {
margin: 0;
}
}