mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +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;
|
background-color: #eee;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
.show-grid [class*="span"]:hover {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,12 +34,12 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
// add tipsies to grid for scaffolding
|
// add tipsies to grid for scaffolding
|
||||||
// if ($('#gridSystem').length) {
|
if ($('#gridSystem').length) {
|
||||||
// $('#gridSystem').tooltip({
|
$('#gridSystem').tooltip({
|
||||||
// selector: '.show-grid > div:not(.tooltip)'
|
selector: '.show-grid > [class*="span"]'
|
||||||
// , title: function () { return $(this).width() + 'px' }
|
, title: function () { return $(this).width() + 'px' }
|
||||||
// })
|
})
|
||||||
// }
|
}
|
||||||
|
|
||||||
// tooltip demo
|
// tooltip demo
|
||||||
$('.tooltip-demo').tooltip({
|
$('.tooltip-demo').tooltip({
|
||||||
|
@ -1535,7 +1535,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>Form actions</h3>
|
<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">
|
<form class="bs-docs-example">
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<button type="submit" class="btn btn-primary">Save changes</button>
|
<button type="submit" class="btn btn-primary">Save changes</button>
|
||||||
|
@ -1171,6 +1171,7 @@
|
|||||||
<li><a href="#">2</a></li>
|
<li><a href="#">2</a></li>
|
||||||
<li><a href="#">3</a></li>
|
<li><a href="#">3</a></li>
|
||||||
<li><a href="#">4</a></li>
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
<li><a href="#">Next</a></li>
|
<li><a href="#">Next</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
@ -1196,7 +1197,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="pagination">
|
<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>
|
<li class="active"><a href="#">1</a></li>
|
||||||
...
|
...
|
||||||
</ul>
|
</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>
|
<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">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li class="disabled"><span>Prev</span></li>
|
<li class="disabled"><span>&laquo;</span></li>
|
||||||
<li class="active"><span>1</span></li>
|
<li class="active"><span>1</span></li>
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -185,10 +185,11 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
<script src="http://code.jquery.com/jquery.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</pre>
|
</pre>
|
||||||
@ -198,12 +199,13 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<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>
|
<script src="js/bootstrap.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
2
docs/templates/pages/base-css.mustache
vendored
2
docs/templates/pages/base-css.mustache
vendored
@ -1472,7 +1472,7 @@
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Form actions{{/i}}</h3>
|
<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">
|
<form class="bs-docs-example">
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<button type="submit" class="btn btn-primary">{{_i}}Save changes{{/i}}</button>
|
<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="#">2</a></li>
|
||||||
<li><a href="#">3</a></li>
|
<li><a href="#">3</a></li>
|
||||||
<li><a href="#">4</a></li>
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
<li><a href="#">Next</a></li>
|
<li><a href="#">Next</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
@ -1125,7 +1126,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="pagination">
|
<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>
|
<li class="active"><a href="#">1</a></li>
|
||||||
...
|
...
|
||||||
</ul>
|
</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>
|
<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">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li class="disabled"><span>Prev</span></li>
|
<li class="disabled"><span>&laquo;</span></li>
|
||||||
<li class="active"><span>1</span></li>
|
<li class="active"><span>1</span></li>
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -114,10 +114,11 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
<script src="http://code.jquery.com/jquery.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</pre>
|
</pre>
|
||||||
@ -127,12 +128,13 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<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>
|
<script src="js/bootstrap.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user