mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 02:15:11 +01:00
4f15b6f7c2
This reverts commit ada04c1932
.
41 lines
611 B
Vue
41 lines
611 B
Vue
<template>
|
|
<div class="adhpbeou">
|
|
<div class="label" @click="focus"><slot name="label"></slot></div>
|
|
<div class="content">
|
|
<slot></slot>
|
|
</div>
|
|
<div class="caption"><slot name="caption"></slot></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { } from 'vue';
|
|
|
|
function focus() {
|
|
// TODO
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.adhpbeou {
|
|
> .label {
|
|
font-size: 0.85em;
|
|
padding: 0 0 8px 0;
|
|
user-select: none;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
> .caption {
|
|
font-size: 0.85em;
|
|
padding: 8px 0 0 0;
|
|
color: var(--fgTransparentWeak);
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
</style>
|