2015-12-09 20:24:09 +03:00
|
|
|
.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-09 21:57:24 +03:00
|
|
|
|
|
|
|
// correct the above focus color for disabled items
|
|
|
|
fieldset[disabled] & {
|
|
|
|
color: @mdb-label-color;
|
|
|
|
}
|
2015-12-09 20:24:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-20 19:17:12 +03:00
|
|
|
.form-horizontal {
|
|
|
|
|
|
|
|
// Consistent vertical alignment of radios and checkboxes
|
|
|
|
.radio,
|
|
|
|
.checkbox,
|
|
|
|
.radio-inline,
|
|
|
|
.checkbox-inline {
|
2015-11-25 02:40:39 +03:00
|
|
|
padding-top: 0;
|
2015-11-20 19:17:12 +03:00
|
|
|
}
|
|
|
|
|
2015-11-21 22:17:53 +03:00
|
|
|
.radio {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2015-11-20 19:17:12 +03:00
|
|
|
label {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
label.control-label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|