mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Merge branch '2.3.0-wip' into 3.0.0-wip
Conflicts: docs/assets/css/bootstrap.css docs/assets/css/docs.css docs/assets/js/application.js docs/components.html docs/templates/pages/components.mustache less/sprites.less
This commit is contained in:
commit
83e5c01856
@ -149,6 +149,9 @@ section > ul li {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.show-grid [class*="span"]:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -522,4 +525,4 @@ input.focused {
|
||||
.bs-docs-sidenav {
|
||||
width: 260px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,12 +34,12 @@
|
||||
})
|
||||
|
||||
// add tipsies to grid for scaffolding
|
||||
// if ($('#gridSystem').length) {
|
||||
// $('#gridSystem').tooltip({
|
||||
// selector: '.show-grid > div:not(.tooltip)'
|
||||
// , title: function () { return $(this).width() + 'px' }
|
||||
// })
|
||||
// }
|
||||
if ($('#gridSystem').length) {
|
||||
$('#gridSystem').tooltip({
|
||||
selector: '.show-grid > [class*="span"]'
|
||||
, title: function () { return $(this).width() + 'px' }
|
||||
})
|
||||
}
|
||||
|
||||
// tooltip demo
|
||||
$('.tooltip-demo').tooltip({
|
||||
|
@ -1535,7 +1535,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||
</pre>
|
||||
|
||||
<h3>Form actions</h3>
|
||||
<p>End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.</p>
|
||||
<p>End a form with a group of actions (buttons). When placed within a <code>.form-actions</code>, the buttons will automatically indent to line up with the form controls.</p>
|
||||
<form class="bs-docs-example">
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary">Save changes</button>
|
||||
|
@ -1171,6 +1171,7 @@
|
||||
<li><a href="#">2</a></li>
|
||||
<li><a href="#">3</a></li>
|
||||
<li><a href="#">4</a></li>
|
||||
<li><a href="#">5</a></li>
|
||||
<li><a href="#">Next</a></li>
|
||||
</ul>
|
||||
</pre>
|
||||
@ -1196,7 +1197,7 @@
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="pagination">
|
||||
<li class="disabled"><a href="#">Prev</a></li>
|
||||
<li class="disabled"><a href="#">&laquo;</a></li>
|
||||
<li class="active"><a href="#">1</a></li>
|
||||
...
|
||||
</ul>
|
||||
@ -1204,7 +1205,7 @@
|
||||
<p>You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="pagination">
|
||||
<li class="disabled"><span>Prev</span></li>
|
||||
<li class="disabled"><span>&laquo;</span></li>
|
||||
<li class="active"><span>1</span></li>
|
||||
...
|
||||
</ul>
|
||||
|
@ -185,10 +185,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Bootstrap 101 Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello, world!</h1>
|
||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||
<script src="http://code.jquery.com/jquery.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</pre>
|
||||
@ -198,12 +199,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Bootstrap 101 Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello, world!</h1>
|
||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||
<script src="http://code.jquery.com/jquery.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
2
docs/templates/pages/base-css.mustache
vendored
2
docs/templates/pages/base-css.mustache
vendored
@ -1472,7 +1472,7 @@
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Form actions{{/i}}</h3>
|
||||
<p>{{_i}}End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.{{/i}}</p>
|
||||
<p>{{_i}}End a form with a group of actions (buttons). When placed within a <code>.form-actions</code>, the buttons will automatically indent to line up with the form controls.{{/i}}</p>
|
||||
<form class="bs-docs-example">
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary">{{_i}}Save changes{{/i}}</button>
|
||||
|
5
docs/templates/pages/components.mustache
vendored
5
docs/templates/pages/components.mustache
vendored
@ -1100,6 +1100,7 @@
|
||||
<li><a href="#">2</a></li>
|
||||
<li><a href="#">3</a></li>
|
||||
<li><a href="#">4</a></li>
|
||||
<li><a href="#">5</a></li>
|
||||
<li><a href="#">Next</a></li>
|
||||
</ul>
|
||||
</pre>
|
||||
@ -1125,7 +1126,7 @@
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="pagination">
|
||||
<li class="disabled"><a href="#">Prev</a></li>
|
||||
<li class="disabled"><a href="#">&laquo;</a></li>
|
||||
<li class="active"><a href="#">1</a></li>
|
||||
...
|
||||
</ul>
|
||||
@ -1133,7 +1134,7 @@
|
||||
<p>You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="pagination">
|
||||
<li class="disabled"><span>Prev</span></li>
|
||||
<li class="disabled"><span>&laquo;</span></li>
|
||||
<li class="active"><span>1</span></li>
|
||||
...
|
||||
</ul>
|
||||
|
@ -114,10 +114,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Bootstrap 101 Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello, world!</h1>
|
||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||
<script src="http://code.jquery.com/jquery.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</pre>
|
||||
@ -127,12 +128,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Bootstrap 101 Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- Bootstrap -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello, world!</h1>
|
||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||
<script src="http://code.jquery.com/jquery.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user