papercss/src/components/_lists.scss

49 lines
751 B
SCSS
Raw Normal View History

2017-12-19 17:52:33 +01:00
ol {
list-style-type: decimal;
ol {
list-style-type: upper-alpha;
ol {
list-style-type: upper-roman;
ol {
list-style-type: lower-alpha;
ol {
list-style-type: lower-roman;
}
}
}
}
}
@mixin li-bullet($char) {
li:before {
content: $char;
}
}
ul {
list-style: none;
margin-left: 0;
li {
text-indent: -7px;
&:before {
position: relative;
left: -7px;
}
}
@include li-bullet("-");
ul {
@include li-bullet("+");
ul {
@include li-bullet("~");
ul {
@include li-bullet("");
ul {
@include li-bullet("");
}
}
}
}
&.inline li{
display: inline;
margin-left: 5px;
}
}