Added support for charts

This commit is contained in:
Shiny Nematoda 2022-10-02 15:41:26 +00:00
parent 0b159c9a42
commit a9d7d07e7b
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
16 changed files with 213 additions and 66 deletions

View file

@ -4,7 +4,9 @@ defineEmits(['click']);
</script>
<template>
<button :class="'bi clickable bi-' + (ico ? ico : 'play')" @click="$emit('click')">
<button
:class="'bi clickable bi-' + (ico ? ico : 'play')"
@click="$emit('click')">
<slot name="menu"></slot>
</button>
</template>
@ -24,12 +26,18 @@ defineEmits(['click']);
transition: background 0.4s ease;
margin-right: auto;
}
.bi-play {
color: var(--color-background-soft);
box-shadow: 0 0 1rem var(--color-foreground);
transition: all 0.4s ease;
}
.bi-play::before {
padding-left: 0.2rem;
}
.bi:hover,
.bi:not(.bi-play) {
background: transparent;
box-shadow: none;
}
.bi:not(.bi-play) {
font-size: 1.75rem;