Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
269be76f
Commit
269be76f
authored
Nov 04, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.2.2-wip' into exploratory
parents
83a3789b
28da3121
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
2 deletions
+57
-2
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+12
-0
docs/base-css.html
docs/base-css.html
+16
-1
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+16
-1
less/type.less
less/type.less
+13
-0
No files found.
docs/assets/css/bootstrap.css
View file @
269be76f
...
@@ -550,6 +550,18 @@ ol.unstyled {
...
@@ -550,6 +550,18 @@ ol.unstyled {
list-style
:
none
;
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
{
dl
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
...
...
docs/base-css.html
View file @
269be76f
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
</pre>
</pre>
<h3>
Unstyled
</h3>
<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"
>
<div
class=
"bs-docs-example"
>
<ul
class=
"unstyled"
>
<ul
class=
"unstyled"
>
<li>
Lorem ipsum dolor sit amet
</li>
<li>
Lorem ipsum dolor sit amet
</li>
...
@@ -371,6 +371,21 @@
...
@@ -371,6 +371,21 @@
<
ul class="unstyled"
>
<
ul class="unstyled"
>
<
li
>
...
<
/li
>
<
li
>
...
<
/li
>
<
/ul
>
<
/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>
</pre>
<h3>
Description
</h3>
<h3>
Description
</h3>
...
...
docs/templates/pages/base-css.mustache
View file @
269be76f
...
@@ -287,7 +287,7 @@
...
@@ -287,7 +287,7 @@
</pre>
</pre>
<h3>
{{
_i
}}
Unstyled
{{/
i
}}
</h3>
<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"
>
<div
class=
"bs-docs-example"
>
<ul
class=
"unstyled"
>
<ul
class=
"unstyled"
>
<li>
Lorem ipsum dolor sit amet
</li>
<li>
Lorem ipsum dolor sit amet
</li>
...
@@ -311,6 +311,21 @@
...
@@ -311,6 +311,21 @@
<
ul class="unstyled"
>
<
ul class="unstyled"
>
<
li
>
...
<
/li
>
<
li
>
...
<
/li
>
<
/ul
>
<
/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>
</pre>
<h3>
{{
_i
}}
Description
{{/
i
}}
</h3>
<h3>
{{
_i
}}
Description
{{/
i
}}
</h3>
...
...
less/type.less
View file @
269be76f
...
@@ -105,12 +105,25 @@ ol ul {
...
@@ -105,12 +105,25 @@ ol ul {
li {
li {
line-height: @baseLineHeight;
line-height: @baseLineHeight;
}
}
// Remove default list styles
ul.unstyled,
ul.unstyled,
ol.unstyled {
ol.unstyled {
margin-left: 0;
margin-left: 0;
list-style: none;
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
// Description Lists
dl {
dl {
margin-bottom: @baseLineHeight;
margin-bottom: @baseLineHeight;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment