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