Collection: amélioration + lancement d'événements

This commit is contained in:
2018-05-25 00:58:20 +02:00
parent 49812d43c4
commit d3d8f27c6d
5 changed files with 132 additions and 34 deletions

View File

@@ -0,0 +1,23 @@
div.chill-collection {
ul.chill-collection__list {
list-style: none;
padding: 0;
margin-bottom: 1.5rem;
li.chill-collection__list__entry:nth-child(2n) {
background-color: var(--chill-light-gray);
padding: 0.5rem 0;
}
// all entries, except the last one
li.chill-collection__list__entry:nth-last-child(1n+2) {
margin-bottom: 1rem;
}
}
button.chill-collection__button--add {
}
}