0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

more consistent forms vars; drop search border radius since no more search form

This commit is contained in:
Mark Otto 2013-03-31 17:33:55 -07:00
parent 8b9d488377
commit 896ee79473
2 changed files with 6 additions and 10 deletions

View 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
}

View File

@ -108,12 +108,11 @@
// 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;
@ -121,10 +120,7 @@
@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