mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
parent
8cb00d6420
commit
d5e47c57f1
3 changed files with 10 additions and 5 deletions
|
@ -33,6 +33,7 @@
|
|||
@import "mixins/alert";
|
||||
@import "mixins/buttons";
|
||||
@import "mixins/pagination";
|
||||
@import "mixins/lists";
|
||||
@import "mixins/list-group";
|
||||
@import "mixins/nav-divider";
|
||||
@import "mixins/forms";
|
||||
|
|
|
@ -85,17 +85,14 @@ mark,
|
|||
// Lists
|
||||
//
|
||||
|
||||
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
||||
.list-unstyled {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
@include list-unstyled;
|
||||
}
|
||||
|
||||
// Inline turns list items into inline-block
|
||||
.list-inline {
|
||||
padding-left: 0;
|
||||
@include list-unstyled;
|
||||
margin-left: -5px;
|
||||
list-style: none;
|
||||
|
||||
> li {
|
||||
display: inline-block;
|
||||
|
|
7
scss/mixins/_lists.scss
Normal file
7
scss/mixins/_lists.scss
Normal file
|
@ -0,0 +1,7 @@
|
|||
// Lists
|
||||
|
||||
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
||||
@mixin list-unstyled {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
}
|
Loading…
Reference in a new issue