Skip to content

Commit

Permalink
fix(lists): better class name and documentation ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbot committed Mar 14, 2016
1 parent 315c7e0 commit c870f4e
Showing 1 changed file with 30 additions and 38 deletions.
68 changes: 30 additions & 38 deletions src/pivotal-ui/components/lists/lists.scss
Expand Up @@ -156,6 +156,23 @@ parent: list
</ul>
```
Use a different type of bullet in an unordered list (`<ul>`) with `list-unordered-alt`.
```html_example
<ul class="list-unordered-alt">
<li>
feep
</li>
<li>
fop
</li>
<li>
meep
</li>
</ul>
```
*/

.list-unordered {
Expand All @@ -166,6 +183,19 @@ parent: list
}
}

.list-unordered-alt {
list-style: none;
padding: 0px;
}

.list-unordered-alt li:before
{
content: '\2022';
margin-right: 15px;
position: relative;
top: -1px;
}

/*doc
---
title: Indentation
Expand Down Expand Up @@ -225,44 +255,6 @@ Places all list items on a single line with `display: inline-block;` and some li
```
*/

/*doc
---
title: Bullet sizes
name: list_05_bullets
parent: list
---
Uses tiny bullets in an unordered list (`<ul>`) with `list-style-tiny`.
```html_example
<ul class="list-style-tiny">
<li>
feep
</li>
<li>
fop
</li>
<li>
meep
</li>
</ul>
```
*/

.list-style-tiny {
list-style: none;
padding: 0px;
}

.list-style-tiny li:before
{
content: '\2022';
margin-right: 15px;
position: relative;
top: -1px;
}

/*doc
---
title: Inline Divider
Expand Down

0 comments on commit c870f4e

Please sign in to comment.