aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'lib/forms.less')
-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;
+ }
}