-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathqbootstrap.less
61 lines (48 loc) · 1.13 KB
/
qbootstrap.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
@import "../../../../twbs/bootstrap/less/variables.less";
@import "../../../../twbs/bootstrap/less/mixins.less";
.qform-horizontal {
.row {
.form-group {
vertical-align: middle;
padding-left:0;
padding-right:0;
}
.form-control {
display: inline-block;
vertical-align: middle;
}
.control-label {
text-align: right;
margin-bottom: 0;
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
}
.checkbox {
margin-top: 7px;
}
.row {
.form-group .btn-group {
display:inline-block;
}
}
}
}
.row {
.form-group .btn-group {
display:block;
// This appears to be a bootstrap bug. By floating the labels, bootstrap gives them no height, causing problems
// for the following item. The below should fix that.
.btn {
float:none;
display:inline-block;
margin-right:0;
}
.btn+.btn {
margin-left: -5px;
}
}
}
// fixes a corner problem when putting a background color on a modal header
.modal-header {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}