mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 00:53:08 +02:00
a92795d90f
* 絵文字デッキの作成 * 細かい不備を修正 * fix lint * fix * fix CHANGELOG.md * fix setTimeout -> nextTick * fix https://github.com/misskey-dev/misskey/pull/12617#issuecomment-1848952862 * fix bug * fix CHANGELOG.md * fix CHANGELOG.md * wip * Update CHANGELOG.md * Update CHANGELOG.md * wip --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
55 lines
932 B
Vue
55 lines
932 B
Vue
<!--
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<template>
|
|
<div :class="[$style.root, { [$style.rootFirst]: first }]">
|
|
<div :class="[$style.label, { [$style.labelFirst]: first }]"><slot name="label"></slot></div>
|
|
<div :class="[$style.description]"><slot name="description"></slot></div>
|
|
<div :class="$style.main">
|
|
<slot></slot>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
defineProps<{
|
|
first?: boolean;
|
|
}>();
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.root {
|
|
border-top: solid 0.5px var(--divider);
|
|
//border-bottom: solid 0.5px var(--divider);
|
|
}
|
|
|
|
.rootFirst {
|
|
border-top: none;
|
|
}
|
|
|
|
.label {
|
|
font-weight: bold;
|
|
padding: 1.5em 0 0 0;
|
|
margin: 0 0 8px 0;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.labelFirst {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.main {
|
|
margin: 1.5em 0 0 0;
|
|
}
|
|
|
|
.description {
|
|
font-size: 0.85em;
|
|
color: var(--fgTransparentWeak);
|
|
margin: 0 0 8px 0;
|
|
}
|
|
</style>
|