]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more vars changed
authorMark Otto <otto@github.com>
Fri, 30 Nov 2012 23:27:13 +0000 (15:27 -0800)
committerMark Otto <otto@github.com>
Fri, 30 Nov 2012 23:27:13 +0000 (15:27 -0800)
docs/templates/pages/customize.mustache
less/forms.less
less/mixins.less
less/type.less
less/variables.less
less/wells.less

index e05502f5b2e4f596bed21df9712457b69e7310bd..c3c318d42ac23655c55e7bdf12de2d6d84d3eb1e 100644 (file)
                 <input type="text" class="span3" placeholder="#ddd">
 
                 <h3>{{_i}}Forms{{/i}}</h3>
-                <label>@placeholderText</label>
+                <label>@input-color-placeholder</label>
                 <input type="text" class="span3" placeholder="@grayLight">
                 <label>@input-background</label>
                 <input type="text" class="span3" placeholder="#fff">
index 84ca238e04c5961a390566166f4bee98800a0634..a21dd238e1bb7f8d5673d3af6184610f6bc1957f 100644 (file)
@@ -663,13 +663,13 @@ legend + .control-group {
   // Float the labels left
   .control-label {
     float: left;
-    width: @horizontalComponentOffset - 20;
+    width: @component-offset-horizontal - 20;
     padding-top: 5px;
     text-align: right;
   }
   // Move over all input controls and content
   .controls {
-    margin-left: @horizontalComponentOffset;
+    margin-left: @component-offset-horizontal;
   }
   // Remove bottom margin on block level help text since that's accounted for on .control-group
   .help-block {
@@ -688,6 +688,6 @@ legend + .control-group {
   }
   // Move over buttons in .form-actions to align with .controls
   .form-actions {
-    padding-left: @horizontalComponentOffset;
+    padding-left: @component-offset-horizontal;
   }
 }
index 1fd0660f313eb0e7706352542af09752043dc85d..452c7278224ec298f6e6d7de33c06d4afb2d7e68 100644 (file)
@@ -53,7 +53,7 @@
 
 // Placeholder text
 // -------------------------
-.placeholder(@color: @placeholderText) {
+.placeholder(@color: @input-color-placeholder) {
   &:-moz-placeholder {
     color: @color;
   }
index 3fa68751d973ae3b6e6eec3a6e06a01918eb2883..2f6dc9a9b960a809ebdedcb8d27c825fde27b037 100644 (file)
@@ -140,13 +140,13 @@ dd {
   .clearfix(); // Ensure dl clears floats if empty dd elements present
   dt {
     float: left;
-    width: @horizontalComponentOffset - 20;
+    width: @component-offset-horizontal - 20;
     clear: left;
     text-align: right;
     .text-overflow();
   }
   dd {
-    margin-left: @horizontalComponentOffset;
+    margin-left: @component-offset-horizontal;
   }
 }
 
@@ -157,7 +157,7 @@ dd {
 hr {
   margin: @line-height-base 0;
   border: 0;
-  border-top: 1px solid @hrBorder;
+  border-top: 1px solid @hr-border;
   border-bottom: 1px solid #fff;
 }
 
index dcdecd125a86a439892a379137ffb9fb161806ec..d3f1f124338fe74cbd79d2ee432ba92fc9be5c98 100644 (file)
 @input-border-radius:            @border-radius-base;
 @input-border-radius-search:     20px;
 
-@form-actions-background:        #f5f5f5;
+@input-color-placeholder:        @grayLight;
 
 @input-height:                   @line-height-base + 14px; // base line-height + 12px vertical padding + 2px top/bottom border
 
+@form-actions-background:        #f5f5f5;
+
 
 // Dropdowns
 // -------------------------
 // -------------------------
 // Used for a bird's eye view of components dependent on the z-axis
 // Try to avoid customizing these :)
+
 @zindex-dropdown:          1000;
 @zindex-popover:           1010;
 @zindex-tooltip:           1030;
 @zindex-modal-background:  1040;
 @zindex-modal:             1050;
 
-// Input placeholder text color
-// -------------------------
-@placeholderText:         @grayLight;
-
-
-// Hr border color
-// -------------------------
-@hrBorder:                @grayLighter;
-
-
-// Horizontal forms & lists
-// -------------------------
-@horizontalComponentOffset:       180px;
-
-
-// Wells
-// -------------------------
-@wellBackground:                  #f5f5f5;
-
 
 // Navbar
 // -------------------------
+
 @navbarCollapseWidth:             979px;
 @navbarCollapseDesktopWidth:      @navbarCollapseWidth + 1;
 
 @popoverArrowOuterColor:  rgba(0,0,0,.25);
 
 
+// Miscellaneous
+// -------------------------
+
+// Hr border color
+@hr-border:                     @grayLighter;
+
+// Horizontal forms & lists
+@component-offset-horizontal:   180px;
+
+// Wells
+@well-background:               #f5f5f5;
+
+
 
 // GRID
 // --------------------------------------------------
index 5ada844b59b2368c22834282410a7b435882f06f..23cd13bfb08d05905dd0ece029d1def8110fe35b 100644 (file)
@@ -8,8 +8,8 @@
   min-height: 20px;
   padding: 19px;
   margin-bottom: 20px;
-  background-color: @wellBackground;
-  border: 1px solid darken(@wellBackground, 7%);
+  background-color: @well-background;
+  border: 1px solid darken(@well-background, 7%);
   border-radius: @border-radius-base;
   .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
   blockquote {