2021-09-29 10:50:45 -05:00
|
|
|
<template>
|
2023-01-05 06:04:56 -06:00
|
|
|
<div class="vrtktovh" :class="{ first }">
|
2021-09-29 10:50:45 -05:00
|
|
|
<div class="label"><slot name="label"></slot></div>
|
2023-01-05 06:04:56 -06:00
|
|
|
<div class="main">
|
2021-09-29 10:50:45 -05:00
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2021-12-30 06:47:48 -06:00
|
|
|
<script lang="ts" setup>
|
2023-01-05 06:04:56 -06:00
|
|
|
defineProps<{
|
|
|
|
first?: boolean;
|
|
|
|
}>();
|
2021-09-29 10:50:45 -05:00
|
|
|
</script>
|
|
|
|
|
2022-12-27 03:29:39 -06:00
|
|
|
<style lang="scss" scoped>
|
2021-09-29 10:50:45 -05:00
|
|
|
.vrtktovh {
|
|
|
|
border-top: solid 0.5px var(--divider);
|
2023-01-05 06:04:56 -06:00
|
|
|
//border-bottom: solid 0.5px var(--divider);
|
2021-09-29 10:50:45 -05:00
|
|
|
|
|
|
|
> .label {
|
|
|
|
font-weight: bold;
|
2023-01-05 06:04:56 -06:00
|
|
|
padding: 1.5em 0 0 0;
|
|
|
|
margin: 0 0 16px 0;
|
2021-11-28 05:07:37 -06:00
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-09-29 10:50:45 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
> .main {
|
2023-01-05 06:04:56 -06:00
|
|
|
margin: 1.5em 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.first {
|
|
|
|
border-top: none;
|
|
|
|
|
|
|
|
> .label {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2021-09-29 10:50:45 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|