This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-09 12:23:32 +00:00
|
|
|
<template>
|
|
|
|
<BaseButton class="simple-button">
|
2024-02-07 11:18:19 +00:00
|
|
|
<slot />
|
2023-06-09 12:23:32 +00:00
|
|
|
</BaseButton>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import BaseButton from '@/components/base/BaseButton.vue'
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.simple-button {
|
|
|
|
color: var(--text);
|
|
|
|
padding: .25rem .5rem;
|
|
|
|
transition: background-color $transition;
|
|
|
|
border-radius: $radius;
|
|
|
|
display: block;
|
|
|
|
margin: .1rem 0;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|