1
0
mirror of https://github.com/danbee/julep synced 2025-03-04 08:59:10 +00:00

Split out link lists and lists.

This commit is contained in:
Dan Barber 2013-02-26 15:23:46 +00:00
parent 03525b9a5a
commit c75e38bc5d

View File

@ -1,8 +1,4 @@
.list {
list-style: none;
padding: 0;
li {
a {
@mixin list-style {
background: #ffffff; /* Old browsers */
@include linear-gradient(white, #f1f1f1);
text-shadow: 0 2px 2px white;
@ -14,10 +10,31 @@
display: block;
padding: 0.7em 1em;
text-decoration: none;
}
}
.list-global {
list-style: none;
padding: 0;
}
.list {
@extend .list-global;
li {
@include list-style;
}
}
@mixin list() {
@extend .list;
@mixin list {
@extend .link-list;
}
.link-list {
@extend .list-global;
li a {
@include list-style;
}
}
@mixin link-list {
@extend .link-list;
}