crystal svg

This commit is contained in:
Jörn-Michael Miehe 2019-05-16 08:09:43 +02:00
parent 4c32aaf1b5
commit e028a7c714

View file

@ -2,10 +2,29 @@
<v-list-tile avatar> <v-list-tile avatar>
<v-tooltip @input="booted = true" bottom> <v-tooltip @input="booted = true" bottom>
<template v-slot:activator="{ on }"> <template v-slot:activator="{ on }">
<v-list-tile-avatar :color="color" v-on="on"> <v-list-tile-avatar v-on="on">
<span class="headline font-weight-bold white--text"> <svg
{{ dbentry.cost }} x="0px"
</span> y="0px"
width="16px"
height="30px"
viewBox="0 0 16 30"
style="enable-background:new 0 0 16 30;"
xml:space="preserve"
>
<polygon points="0,5 8,0 16,5 16,25 8,30 0,25" :fill="color" />
<text
x="2.5"
y="22"
font-size="20"
font-family="sans-serif"
fill="white"
font-weight="bold"
class="ng-binding"
>
{{ dbentry.cost }}
</text>
</svg>
</v-list-tile-avatar> </v-list-tile-avatar>
</template> </template>
<v-img <v-img