Commit 7b9a949a authored by fat's avatar fat

Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip

parents cfa4ab90 88dd20e6
...@@ -418,9 +418,6 @@ body { ...@@ -418,9 +418,6 @@ body {
.bs-example-control-sizing input[type="text"] + input[type="text"] { .bs-example-control-sizing input[type="text"] + input[type="text"] {
margin-top: 10px; margin-top: 10px;
} }
.bs-example-form {
overflow: hidden;
}
.bs-example-form .input-group { .bs-example-form .input-group {
margin-bottom: 10px; margin-bottom: 10px;
} }
...@@ -431,6 +428,9 @@ body { ...@@ -431,6 +428,9 @@ body {
} }
/* Navbar examples */ /* Navbar examples */
.bs-example .navbar:last-child {
margin-bottom: 0;
}
.bs-navbar-top-example, .bs-navbar-top-example,
.bs-navbar-bottom-example { .bs-navbar-bottom-example {
z-index: 1; z-index: 1;
...@@ -457,7 +457,7 @@ body { ...@@ -457,7 +457,7 @@ body {
} }
.bs-navbar-top-example:after { .bs-navbar-top-example:after {
top: auto; top: auto;
bottom: -1px; bottom: 15px;
-webkit-border-radius: 0 4px 0 4px; -webkit-border-radius: 0 4px 0 4px;
-moz-border-radius: 0 4px 0 4px; -moz-border-radius: 0 4px 0 4px;
border-radius: 0 4px 0 4px; border-radius: 0 4px 0 4px;
...@@ -545,6 +545,37 @@ body { ...@@ -545,6 +545,37 @@ body {
/* Responsive docs /* Responsive docs
-------------------------------------------------- */ -------------------------------------------------- */
/* Responsive (scrollable) doc tables */
@media (max-width: 768px) {
.bs-table-scrollable {
width: 100%;
margin-bottom: 15px;
overflow-y: hidden;
overflow-x: scroll;
border: 1px solid #ddd;
}
.bs-table-scrollable .table {
margin-bottom: 0;
border: 0;
}
.bs-table-scrollable .table th,
.bs-table-scrollable .table td {
white-space: nowrap;
}
.bs-table-scrollable .table th:first-child,
.bs-table-scrollable .table td:first-child {
border-left: 0;
}
.bs-table-scrollable .table th:last-child,
.bs-table-scrollable .table td:last-child {
border-right: 0;
}
.bs-table-scrollable .table tr:last-child th,
.bs-table-scrollable .table tr:last-child td {
border-bottom: 0;
}
}
/* Related: responsive utilities tables */ /* Related: responsive utilities tables */
.table code { .table code {
font-size: 13px; font-size: 13px;
...@@ -578,7 +609,7 @@ body { ...@@ -578,7 +609,7 @@ body {
------------------------- */ ------------------------- */
.responsive-utilities-test { .responsive-utilities-test {
margin-top: 5px; margin-top: 5px;
margin-left: 0; padding-left: 0;
list-style: none; list-style: none;
overflow: hidden; /* clear floats */ overflow: hidden; /* clear floats */
} }
......
This diff is collapsed.
...@@ -362,11 +362,17 @@ p { ...@@ -362,11 +362,17 @@ p {
.lead { .lead {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 21px; font-size: 16.099999999999998px;
font-weight: 200; font-weight: 200;
line-height: 1.4; line-height: 1.4;
} }
@media (min-width: 768px) {
.lead {
font-size: 21px;
}
}
small { small {
font-size: 85%; font-size: 85%;
} }
...@@ -2513,7 +2519,6 @@ button.close { ...@@ -2513,7 +2519,6 @@ button.close {
} }
.nav-tabs.nav-justified { .nav-tabs.nav-justified {
display: table;
width: 100%; width: 100%;
border-bottom: 0; border-bottom: 0;
} }
...@@ -2521,7 +2526,7 @@ button.close { ...@@ -2521,7 +2526,7 @@ button.close {
.nav-tabs.nav-justified > li { .nav-tabs.nav-justified > li {
display: table-cell; display: table-cell;
float: none; float: none;
width: auto; width: 1%;
} }
.nav-tabs.nav-justified > li > a { .nav-tabs.nav-justified > li > a {
...@@ -2545,7 +2550,7 @@ button.close { ...@@ -2545,7 +2550,7 @@ button.close {
border-radius: 5px; border-radius: 5px;
} }
.nav-pills > li + li > a { .nav-pills > li + li {
margin-left: 2px; margin-left: 2px;
} }
...@@ -2566,14 +2571,13 @@ button.close { ...@@ -2566,14 +2571,13 @@ button.close {
} }
.nav-justified { .nav-justified {
display: table;
width: 100%; width: 100%;
} }
.nav-justified > li { .nav-justified > li {
display: table-cell; display: table-cell;
float: none; float: none;
width: auto; width: 1%;
} }
.nav-justified > li > a { .nav-justified > li > a {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -147,7 +147,11 @@ bootstrap/ ...@@ -147,7 +147,11 @@ bootstrap/
<p>In addition, <strong>Internet Explorer 8 requires the use of <a href="https://github.com/scottjehl/Respond">respond.js</a> to enable media query support.</strong></p> <p>In addition, <strong>Internet Explorer 8 requires the use of <a href="https://github.com/scottjehl/Respond">respond.js</a> to enable media query support.</strong></p>
<h3>IE Compatibility modes</h3> <h3>IE Compatibility modes</h3>
<p>Bootstrap is not supported in the old Internet Explorer compatibility modes. To be sure you're using the latest rendering mode for IE, consider including <code>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;</code> in your pages. See <a href="http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge">this StackOverflow question</a> for more information.</p> <p>Bootstrap is not supported in the old Internet Explorer compatibility modes. To be sure you're using the latest rendering mode for IE, consider including the appropriate <code>meta</code> tag in your pages.</p>
{% highlight html %}
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% endhighlight %}
<p>See <a href="http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge">this StackOverflow question</a> for more information.</p>
</div> </div>
......
This diff is collapsed.
...@@ -132,9 +132,7 @@ ...@@ -132,9 +132,7 @@
border-radius: 5px; border-radius: 5px;
} }
+ li { + li {
> a { margin-left: 2px;
margin-left: 2px;
}
} }
// Active state // Active state
...@@ -167,12 +165,11 @@ ...@@ -167,12 +165,11 @@
// ------------------------- // -------------------------
.nav-justified { .nav-justified {
display: table;
width: 100%; width: 100%;
> li { > li {
float: none; float: none;
display: table-cell; display: table-cell;
width: auto; width: 1%;
> a { > a {
text-align: center; text-align: center;
} }
......
...@@ -11,9 +11,13 @@ p { ...@@ -11,9 +11,13 @@ p {
} }
.lead { .lead {
margin-bottom: @line-height-computed; margin-bottom: @line-height-computed;
font-size: (@font-size-base * 1.5); font-size: (@font-size-base * 1.15);
font-weight: 200; font-weight: 200;
line-height: 1.4; line-height: 1.4;
@media (min-width: 768px) {
font-size: (@font-size-base * 1.5);
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment