Attribute changed material-kit
[bootswatch] / material-kit / sass / material-kit / _form.scss
1 // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
3 @mixin mdb-label-color-toggle-focus(){
4   // override bootstrap focus and keep all the standard color (could be multiple radios in the form group)
5   .form-group.is-focused & {
6     color: $mdb-label-color;
7
8     // on focus just darken the specific labels, do not turn them to the brand-primary
9     &:hover,
10     &:focus {
11       color: $mdb-label-color-toggle-focus;
12     }
13
14     // correct the above focus color for disabled items
15     fieldset[disabled] & {
16       color: $mdb-label-color;
17     }
18   }
19 }
20
21 .form-horizontal {
22
23   // Consistent vertical alignment of radios and checkboxes
24   .radio,
25   .checkbox,
26   .radio-inline,
27   .checkbox-inline {
28     padding-top: 0;
29   }
30
31   .radio {
32     margin-bottom: 10px;
33   }
34
35   label {
36     text-align: right;
37   }
38
39   label.control-label {
40     margin: 0;
41   }
42 }