Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 7x 7x 7x 7x | <template> <ul :class="$style.root" :style="{ listStyleType: type }"> <slot></slot> </ul> </template> <script> import { MParent } from '../m-parent.vue'; export default { name: 'u-list', childName: 'u-list-item', mixins: [MParent], props: { type: String }, }; </script> <style module> .root { margin: 0; list-style: var(--list-style); } .root[line] .item:not(:last-child) { border-bottom: var(--list-item-border-bottom); } .root[striped] .item:nth-of-type(odd) { background: var(--list-item-background-striped); } .root[hover] .item:hover { background: var(--list-item-background-hover); } </style> |