]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more consistent forms vars; drop search border radius since no more search form
authorMark Otto <otto@github.com>
Mon, 1 Apr 2013 00:33:55 +0000 (17:33 -0700)
committerMark Otto <otto@github.com>
Mon, 1 Apr 2013 00:33:55 +0000 (17:33 -0700)
less/forms.less
less/variables.less

index 0c440265d8a496f691248a95d4e471b257697f28..4235eff9c4cf321422451f824fe5f87f103c6468 100644 (file)
@@ -62,7 +62,7 @@ input[type="color"] {
   line-height: @line-height-base;
   color: @gray;
   vertical-align: middle;
-  background-color: @input-background;
+  background-color: @input-bg;
   border: 1px solid @input-border;
   border-radius: @input-border-radius;
   .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
@@ -286,7 +286,7 @@ textarea {
   &[readonly],
   fieldset[disabled] & {
     cursor: not-allowed;
-    background-color: @input-background-disabled;
+    background-color: @input-bg-disabled;
   }
 }
 // Explicitly reset the colors here
@@ -341,7 +341,7 @@ select:focus:invalid {
   padding: (@line-height-base - 1) 20px @line-height-base;
   margin-top: @line-height-base;
   margin-bottom: @line-height-base;
-  background-color: @form-actions-background;
+  background-color: @form-actions-bg;
   border-top: 1px solid #e5e5e5;
   .clearfix(); // Adding clearfix to allow for .pull-right button containers
 }
index 31522165ca3bed72cefa3c251a914bd871676e18..bf51a7d33c79fdbb09eb200be508f5a298a6cbf9 100644 (file)
 // Forms
 // -------------------------
 
-@input-background:               #fff;
-@input-background-disabled:      @grayLighter;
+@input-bg:                       #fff;
+@input-bg-disabled:              @grayLighter;
 
 @input-border:                   #ccc;
 @input-border-radius:            @border-radius-base;
-@input-border-radius-search:     20px;
 
 @input-color-placeholder:        @grayLight;
 
 @input-height-large:             (@line-height-base + 24px); // base line-height + 22px vertical padding + 2px top/bottom border
 @input-height-small:             (@line-height-base + 6px);  // base line-height + 4px vertical padding + 2px top/bottom border
 
-// adjust min-height on input sizes
-
-
-@form-actions-background:        #f5f5f5;
+@form-actions-bg:                 #f5f5f5;
 
 
 // Dropdowns