2022-06-15 16:13:33 +00:00
|
|
|
<template>
|
2022-06-15 17:32:46 +00:00
|
|
|
<router-link
|
|
|
|
:to="listLink(list.id)"
|
|
|
|
class="list-card"
|
|
|
|
>
|
|
|
|
{{ list.title }}
|
|
|
|
</router-link>
|
2022-06-15 16:13:33 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./list_card.js"></script>
|
2022-06-15 17:32:46 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
|
|
|
.list-card {
|
|
|
|
margin: 0;
|
|
|
|
padding: 1em;
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0;
|
|
|
|
color: $fallback--link;
|
|
|
|
color: var(--link, $fallback--link);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $fallback--lightBg;
|
|
|
|
background-color: var(--selectedMenu, $fallback--lightBg);
|
|
|
|
color: $fallback--link;
|
|
|
|
color: var(--selectedMenuText, $fallback--link);
|
|
|
|
--faint: var(--selectedMenuFaintText, $fallback--faint);
|
|
|
|
--faintLink: var(--selectedMenuFaintLink, $fallback--faint);
|
|
|
|
--lightText: var(--selectedMenuLightText, $fallback--lightText);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|