mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Merge branch '2.2.2-wip' into exploratory
This commit is contained in:
commit
269be76f4a
12
docs/assets/css/bootstrap.css
vendored
12
docs/assets/css/bootstrap.css
vendored
@ -550,6 +550,18 @@ ol.unstyled {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul.inline,
|
||||
ol.inline {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul.inline > li,
|
||||
ol.inline > li {
|
||||
display: inline-block;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
@ -347,7 +347,7 @@
|
||||
</pre>
|
||||
|
||||
<h3>Unstyled</h3>
|
||||
<p>A list of items with no <code>list-style</code> or additional left padding.</p>
|
||||
<p>Remove default the <code>list-style</code> and left padding on list items (immediate children only).</p>
|
||||
<div class="bs-docs-example">
|
||||
<ul class="unstyled">
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
@ -371,6 +371,21 @@
|
||||
<ul class="unstyled">
|
||||
<li>...</li>
|
||||
</ul>
|
||||
</pre>
|
||||
|
||||
<h3>Inline</h3>
|
||||
<p>Place all list items on a single line with <code>inline-block</code> and some light padding.</p>
|
||||
<div class="bs-docs-example">
|
||||
<ul class="inline">
|
||||
<li>Lorem ipsum</li>
|
||||
<li>Phasellus iaculis</li>
|
||||
<li>Nulla volutpat</li>
|
||||
</ul>
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="inline">
|
||||
<li>...</li>
|
||||
</ul>
|
||||
</pre>
|
||||
|
||||
<h3>Description</h3>
|
||||
|
17
docs/templates/pages/base-css.mustache
vendored
17
docs/templates/pages/base-css.mustache
vendored
@ -287,7 +287,7 @@
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Unstyled{{/i}}</h3>
|
||||
<p>{{_i}}A list of items with no <code>list-style</code> or additional left padding.{{/i}}</p>
|
||||
<p>{{_i}}Remove default the <code>list-style</code> and left padding on list items (immediate children only).{{/i}}</p>
|
||||
<div class="bs-docs-example">
|
||||
<ul class="unstyled">
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
@ -311,6 +311,21 @@
|
||||
<ul class="unstyled">
|
||||
<li>...</li>
|
||||
</ul>
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Inline{{/i}}</h3>
|
||||
<p>{{_i}}Place all list items on a single line with <code>inline-block</code> and some light padding.{{/i}}</p>
|
||||
<div class="bs-docs-example">
|
||||
<ul class="inline">
|
||||
<li>Lorem ipsum</li>
|
||||
<li>Phasellus iaculis</li>
|
||||
<li>Nulla volutpat</li>
|
||||
</ul>
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
<ul class="inline">
|
||||
<li>...</li>
|
||||
</ul>
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Description{{/i}}</h3>
|
||||
|
@ -105,12 +105,25 @@ ol ul {
|
||||
li {
|
||||
line-height: @baseLineHeight;
|
||||
}
|
||||
|
||||
// Remove default list styles
|
||||
ul.unstyled,
|
||||
ol.unstyled {
|
||||
margin-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
// Single-line list items
|
||||
ul.inline,
|
||||
ol.inline {
|
||||
list-style: none;
|
||||
& > li {
|
||||
display: inline-block;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Description Lists
|
||||
dl {
|
||||
margin-bottom: @baseLineHeight;
|
||||
|
Loading…
x
Reference in New Issue
Block a user