mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-15 06:08:57 +03:00
141f4063c2
Brought some of the code from v4 to give better highlighting.
38 lines
762 B
SCSS
38 lines
762 B
SCSS
// 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.form-horizontal {
|
|
|
|
// Consistent vertical alignment of radios and checkboxes
|
|
.radio,
|
|
.checkbox,
|
|
.radio-inline,
|
|
.checkbox-inline {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.radio {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
label {
|
|
text-align: right;
|
|
}
|
|
|
|
label.control-label {
|
|
margin: 0;
|
|
}
|
|
}
|