aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-18 13:15:58 -0700
committerJacob Thornton <[email protected]>2012-04-18 13:15:58 -0700
commitb627898919bcd17cafe5b1cae69c555ebb9a769e (patch)
tree202e392f7e650ffc276899513f4d16c1d076c192
parent8f98c4fbf6085e613314892de5da871dce862b34 (diff)
parent47b6e6bd80040cdaa50c27cb7eb11881df679eee (diff)
downloadbootstrap-b627898919bcd17cafe5b1cae69c555ebb9a769e.tar.xz
bootstrap-b627898919bcd17cafe5b1cae69c555ebb9a769e.zip
Merge branch '2.0.3-wip' of https://github.com/twitter/bootstrap into 2.0.3-wip
-rw-r--r--docs/assets/css/bootstrap.css2
-rw-r--r--docs/scaffolding.html6
-rw-r--r--docs/templates/pages/scaffolding.mustache6
-rw-r--r--less/labels-badges.less2
-rw-r--r--less/mixins.less1
-rw-r--r--less/tests/css-tests.html28
6 files changed, 37 insertions, 8 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 00485499f..43bba2bee 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -3740,7 +3740,7 @@ a.thumbnail:hover {
font-weight: bold;
line-height: 14px;
color: #ffffff;
- vertical-align: middle;
+ vertical-align: baseline;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #999999;
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index 20a9f5c73..caffa6af6 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -533,13 +533,13 @@
@media (max-width: 480px) { ... }
// Landscape phone to portrait tablet
- @media (max-width: 768px) { ... }
+ @media (max-width: 767px) { ... }
// Portrait tablet to landscape and desktop
- @media (min-width: 768px) and (max-width: 980px) { ... }
+ @media (min-width: 768px) and (max-width: 979px) { ... }
// Large desktop
- @media (min-width: 1200px) { .. }
+ @media (min-width: 1200px) { ... }
</pre>
</div><!-- /.span -->
</div><!-- /.row -->
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache
index 40b264d03..13c777a26 100644
--- a/docs/templates/pages/scaffolding.mustache
+++ b/docs/templates/pages/scaffolding.mustache
@@ -456,13 +456,13 @@
@media (max-width: 480px) { ... }
// {{_i}}Landscape phone to portrait tablet{{/i}}
- @media (max-width: 768px) { ... }
+ @media (max-width: 767px) { ... }
// {{_i}}Portrait tablet to landscape and desktop{{/i}}
- @media (min-width: 768px) and (max-width: 980px) { ... }
+ @media (min-width: 768px) and (max-width: 979px) { ... }
// {{_i}}Large desktop{{/i}}
- @media (min-width: 1200px) { .. }
+ @media (min-width: 1200px) { ... }
</pre>
</div><!-- /.span -->
</div><!-- /.row -->
diff --git a/less/labels-badges.less b/less/labels-badges.less
index e29f2c434..0fbd7bbc6 100644
--- a/less/labels-badges.less
+++ b/less/labels-badges.less
@@ -8,7 +8,7 @@
font-weight: bold;
line-height: 14px; // ensure proper line-height if floated
color: @white;
- vertical-align: middle;
+ vertical-align: baseline;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
background-color: @grayLight;
diff --git a/less/mixins.less b/less/mixins.less
index ddd25d0e4..e0cb5f8a5 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -291,6 +291,7 @@
.user-select(@select) {
-webkit-user-select: @select;
-moz-user-select: @select;
+ -ms-user-select: @select;
-o-user-select: @select;
user-select: @select;
}
diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html
index 58e25be61..a39dde53d 100644
--- a/less/tests/css-tests.html
+++ b/less/tests/css-tests.html
@@ -462,6 +462,10 @@
<!-- Tabs
================================================== -->
+<div class="page-header">
+ <h1>Tabs</h1>
+</div>
+
<div class="tabbable tabs-left" style="margin-bottom: 18px;">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li>
@@ -502,6 +506,30 @@
+<!-- Labels
+================================================== -->
+
+<div class="page-header">
+ <h1>Labels</h1>
+</div>
+
+<div class="row">
+ <div class="span4">
+ <h4>Inline label</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Maecenas sed diam <span class="label label-warning">Label name</span> eget risus varius blandit sit amet non magna. Fusce <code>.class-name</code> dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+ </div><!--/span-->
+ <div class="span4">
+ <form class="form-horizontal">
+ <label>Example label</label>
+ <input type="text" placeholder="Input"> <span class="help-inline"><span class="label">Hey!</span> Read this.</span>
+ </form>
+ </div><!--/span-->
+ <div class="span4">
+
+ </div><!--/span-->
+</div><!--/row-->
+
+