diff options
| author | Mark Otto <[email protected]> | 2012-03-11 17:28:28 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-11 17:28:28 -0700 |
| commit | 8fd126ba1ba8c76f9b11833380db91554a034794 (patch) | |
| tree | df0ef1afec027b96123470069ae0cb71379d9af8 /less/responsive.less | |
| parent | ce292a8bb8129cd16425e3428a461891e78e3a3c (diff) | |
| download | bootstrap-8fd126ba1ba8c76f9b11833380db91554a034794.tar.xz bootstrap-8fd126ba1ba8c76f9b11833380db91554a034794.zip | |
updated apple touch icons and moved input responsive fix from <480 to <767
Diffstat (limited to 'less/responsive.less')
| -rw-r--r-- | less/responsive.less | 47 |
1 files changed, 18 insertions, 29 deletions
diff --git a/less/responsive.less b/less/responsive.less index a83eb8729..6399c1ecd 100644 --- a/less/responsive.less +++ b/less/responsive.less @@ -80,26 +80,6 @@ line-height: @baseLineHeight; } - // Make span* classes full width - input[class*="span"], - select[class*="span"], - textarea[class*="span"], - .uneditable-input { - display: block; - width: 100%; - min-height: 28px; /* Make inputs at least the height of their button counterpart */ - /* Makes inputs behave like true block-level elements */ - -webkit-box-sizing: border-box; /* Older Webkit */ - -moz-box-sizing: border-box; /* Older FF */ - -ms-box-sizing: border-box; /* IE8 */ - box-sizing: border-box; /* CSS3 spec*/ - } - // But don't let it screw up prepend/append inputs - .input-prepend input[class*="span"], - .input-append input[class*="span"] { - width: auto; - } - // Update checkboxes for iOS input[type="checkbox"], input[type="radio"] { @@ -195,19 +175,28 @@ width: auto; } -/* // FORM FIELDS // ----------- - // Make them behave like divs - input, - textarea, - select, + // Make span* classes full width + input[class*="span"], + select[class*="span"], + textarea[class*="span"], .uneditable-input { - .box-sizing(border-box); - max-width: 100%; - min-height: 20px; + display: block; + width: 100%; + min-height: 28px; /* Make inputs at least the height of their button counterpart */ + /* Makes inputs behave like true block-level elements */ + -webkit-box-sizing: border-box; /* Older Webkit */ + -moz-box-sizing: border-box; /* Older FF */ + -ms-box-sizing: border-box; /* IE8 */ + box-sizing: border-box; /* CSS3 spec*/ } -*/ + // But don't let it screw up prepend/append inputs + .input-prepend input[class*="span"], + .input-append input[class*="span"] { + width: auto; + } + } |
