sync
[bootswatch] / AdminLTE-master / less / forms.less
1 /* 
2    All form elements including input, select, textarea etc.
3 -----------------------------------------------------------------
4 */
5
6
7 &.form-control {
8
9     .border-radius(@input-radius)!important;
10     box-shadow: none;
11
12     &:focus {
13         border-color: @light-blue !important; 
14         box-shadow: none;
15     }               
16
17 }
18
19 .form-group {
20     &.has-success {
21         label {
22             color: @green;
23         }
24         .form-control {
25             border-color: @green !important;
26             box-shadow: none;
27         }
28     }
29
30     &.has-warning {
31         label {
32             color: @yellow;
33         }
34         .form-control {
35             border-color: @yellow !important;
36             box-shadow: none;
37         }
38     }
39
40     &.has-error {
41         label {
42             color: @red;
43         }
44         .form-control {
45             border-color: @red !important;
46             box-shadow: none;
47         }
48     }
49 }
50
51 /* Input group */
52 .input-group {
53     > .input-group-btn > .btn {
54
55     }
56     .input-group-addon {
57         border-radius: 0;
58         background-color: #f4f4f4;
59     }
60 }
61 /* button groups */
62 .btn-group-vertical {
63     .btn {
64         &.btn-flat:first-of-type, &.btn-flat:last-of-type {
65             border-radius: 0;
66         }
67     }
68 }
69
70 /* Checkbox and radio inputs */
71 .checkbox, .radio {
72     padding-left: 0;
73 }