Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-03-12 04:28:28 +0400
committerMark Otto <markotto@twitter.com>2012-03-12 04:28:28 +0400
commit8fd126ba1ba8c76f9b11833380db91554a034794 (patch)
treedf0ef1afec027b96123470069ae0cb71379d9af8 /less
parentce292a8bb8129cd16425e3428a461891e78e3a3c (diff)
updated apple touch icons and moved input responsive fix from <480 to <767
Diffstat (limited to 'less')
-rw-r--r--less/responsive.less47
1 files changed, 18 insertions, 29 deletions
diff --git a/less/responsive.less b/less/responsive.less
index a83eb87293..6399c1ecdf 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;
+ }
+
}