0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 20:55:17 +00:00
VueTube/NUXT/components/playlistCard.vue

81 lines
2 KiB
Vue
Raw Normal View History

2022-05-19 19:14:17 +00:00
<template>
<v-card
v-ripple
class="background d-flex flex-row overflow-hidden mb-4 mx-4"
2022-05-21 02:01:39 +00:00
style="height: 6rem !important"
2022-05-19 19:14:17 +00:00
:class="
$store.state.tweaks.roundThumb && $store.state.tweaks.roundTweak > 0
? $vuetify.theme.dark
? 'lighten-1'
: 'darken-1'
: ''
"
:style="{
borderRadius: $store.state.tweaks.roundThumb
? `${$store.state.tweaks.roundTweak / 2}rem`
: '0',
}"
flat
>
<v-img
contain
src="/dev.svg"
class="background"
style="position: relative; max-width: 8rem !important"
2022-05-21 02:01:39 +00:00
:class="$vuetify.theme.dark ? 'lighten-3' : 'darken-3'"
2022-05-19 19:14:17 +00:00
:style="{
borderRadius: $store.state.tweaks.roundThumb
? `${$store.state.tweaks.roundTweak / 2}rem`
2022-05-19 19:14:17 +00:00
: '0',
}"
>
<div
class="d-flex flex-column justify-center align-center"
2022-05-19 19:14:17 +00:00
style="
position: absolute;
top: 0;
right: 0;
width: 50%;
2022-05-19 19:14:17 +00:00
height: 100%;
background: linear-gradient(var(--v-background-base) -1000%, #00000000 1000%);
2022-05-19 19:14:17 +00:00
"
>
<div>420</div>
<v-icon>mdi-playlist-play</v-icon>
</div>
</v-img>
2022-05-21 02:01:39 +00:00
<div class="pa-4" v-emoji style="font-size: 0.75rem !important">
2022-05-19 19:14:17 +00:00
<b>Work in Progress</b>
<div
2022-05-21 02:01:39 +00:00
class="background--text caption mt-2"
2022-05-19 19:14:17 +00:00
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
Bottom Text <br />
420 videos
</div>
</div>
<v-spacer></v-spacer>
<div class="d-flex flex-column">
<v-btn
text
tile
elevation="0"
2022-05-21 02:01:39 +00:00
class="flex-grow-1"
style="width: 2rem !important"
2022-05-19 19:14:17 +00:00
>
<v-icon>mdi-share-outline</v-icon>
2022-05-19 19:14:17 +00:00
</v-btn>
<v-btn
text
tile
elevation="0"
2022-05-21 02:01:39 +00:00
class="flex-grow-1"
style="width: 2rem !important"
2022-05-19 19:14:17 +00:00
>
<v-icon>mdi-playlist-plus</v-icon>
2022-05-19 19:14:17 +00:00
</v-btn>
</div>
</v-card>
</template>