aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-11-17 00:06:16 -0800
committerMark Otto <[email protected]>2011-11-17 00:06:16 -0800
commita8e88d14a422c3dfdb79eaf6d6a3a2f1144df150 (patch)
tree9b7ce47a201e8d71f74509463ba6f8a9ef5b2dc7 /lib
parenta0179322854a9d1e2b9363447c9884e40733d04f (diff)
downloadbootstrap-a8e88d14a422c3dfdb79eaf6d6a3a2f1144df150.tar.xz
bootstrap-a8e88d14a422c3dfdb79eaf6d6a3a2f1144df150.zip
make form classes match table classes (readable left to right), update docs associated with it
Diffstat (limited to 'lib')
-rw-r--r--lib/forms.less40
1 files changed, 21 insertions, 19 deletions
diff --git a/lib/forms.less b/lib/forms.less
index b7eb15005..adc050d7a 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -364,7 +364,7 @@ form .clearfix.success {
// SEARCH FORM
// -----------
-.form-search .search-query {
+.search-form .search-query {
.border-radius(14px);
}
@@ -388,22 +388,24 @@ form .clearfix.success {
// Horizontal-specific styles
// --------------------------
-// Float the labels left
-.form-horizontal .control-group > label {
- float: left;
- width: 130px;
- padding-top: 5px;
- text-align: right;
-}
-// Move over all input controls and content
-.form-horizontal .controls {
- margin-left: 150px;
-}
-// Move the options list down to align with labels
-.form-horizontal .control-list {
- padding-top: 6px; // has to be padding because margin collaspes
-}
-// Move over buttons in .form-actions to align with .controls
-.form-horizontal .form-actions {
- padding-left: 150px;
+.horizontal-form {
+ // Float the labels left
+ .control-group > label {
+ float: left;
+ width: 130px;
+ padding-top: 5px;
+ text-align: right;
+ }
+ // Move over all input controls and content
+ .controls {
+ margin-left: 150px;
+ }
+ // Move the options list down to align with labels
+ .control-list {
+ padding-top: 6px; // has to be padding because margin collaspes
+ }
+ // Move over buttons in .form-actions to align with .controls
+ .form-actions {
+ padding-left: 150px;
+ }
}