File tree Expand file tree Collapse file tree 5 files changed +18
-13
lines changed Expand file tree Collapse file tree 5 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 743
743
744
744
.dl-horizontal dt {
745
745
float : left;
746
- width : 120 px ;
746
+ width : 160 px ;
747
747
overflow : hidden;
748
748
clear : left;
749
749
text-align : right;
752
752
}
753
753
754
754
.dl-horizontal dd {
755
- margin-left : 130 px ;
755
+ margin-left : 180 px ;
756
756
}
757
757
758
758
hr {
@@ -1775,20 +1775,20 @@ legend + .control-group {
1775
1775
1776
1776
.form-horizontal .control-label {
1777
1777
float : left;
1778
- width : 140 px ;
1778
+ width : 160 px ;
1779
1779
padding-top : 5px ;
1780
1780
text-align : right;
1781
1781
}
1782
1782
1783
1783
.form-horizontal .controls {
1784
1784
* display : inline-block;
1785
1785
* padding-left : 20px ;
1786
- margin-left : 160 px ;
1786
+ margin-left : 180 px ;
1787
1787
* margin-left : 0 ;
1788
1788
}
1789
1789
1790
1790
.form-horizontal .controls : first-child {
1791
- * padding-left : 160 px ;
1791
+ * padding-left : 180 px ;
1792
1792
}
1793
1793
1794
1794
.form-horizontal .help-block {
@@ -1802,7 +1802,7 @@ legend + .control-group {
1802
1802
}
1803
1803
1804
1804
.form-horizontal .form-actions {
1805
- padding-left : 160 px ;
1805
+ padding-left : 180 px ;
1806
1806
}
1807
1807
1808
1808
table {
Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ legend + .control-group {
615
615
// Float the labels left
616
616
.control-label {
617
617
float : left ;
618
- width : 140 px ;
618
+ width : @horizontalComponentOffset - 20 ;
619
619
padding-top : 5px ;
620
620
text-align : right ;
621
621
}
@@ -625,10 +625,10 @@ legend + .control-group {
625
625
// don't inherit the margin of the parent, in this case .controls
626
626
* display : inline-block ;
627
627
* padding-left : 20px ;
628
- margin-left : 160 px ;
628
+ margin-left : @horizontalComponentOffset ;
629
629
* margin-left : 0 ;
630
630
& :first-child {
631
- * padding-left : 160 px ;
631
+ * padding-left : @horizontalComponentOffset ;
632
632
}
633
633
}
634
634
// Remove bottom margin on block level help text since that's accounted for on .control-group
@@ -645,6 +645,6 @@ legend + .control-group {
645
645
}
646
646
// Move over buttons in .form-actions to align with .controls
647
647
.form-actions {
648
- padding-left : 160 px ;
648
+ padding-left : @horizontalComponentOffset ;
649
649
}
650
650
}
Original file line number Diff line number Diff line change @@ -119,13 +119,13 @@ dd {
119
119
.clearfix (); // Ensure dl clears floats if empty dd elements present
120
120
dt {
121
121
float : left ;
122
- width : 120 px ;
122
+ width : @horizontalComponentOffset - 20 ;
123
123
clear : left ;
124
124
text-align : right ;
125
125
.text-overflow ();
126
126
}
127
127
dd {
128
- margin-left : 130 px ;
128
+ margin-left : @horizontalComponentOffset ;
129
129
}
130
130
}
131
131
Original file line number Diff line number Diff line change 144
144
@hrBorder : @grayLighter ;
145
145
146
146
147
+ // Horizontal forms & lists
148
+ // -------------------------
149
+ @horizontalComponentOffset : 180px ;
150
+
151
+
147
152
// Wells
148
153
// -------------------------
149
154
@wellBackground : #f5f5f5 ;
You can’t perform that action at this time.
0 commit comments