barkey/packages/frontend/src/components/global/MkFooterSpacer.vue

33 lines
804 B
Vue
Raw Normal View History

2023-10-31 04:46:58 +00:00
<!--
SPDX-FileCopyrightText: syuilo and misskey-project
2023-10-31 04:46:58 +00:00
SPDX-License-Identifier: AGPL-3.0-only
-->
<template>
2023-11-01 06:36:15 +00:00
<div :class="[$style.spacer, defaultStore.reactiveState.darkMode.value ? $style.dark : $style.light]"></div>
2023-10-31 04:46:58 +00:00
</template>
<script lang="ts" setup>
import { defaultStore } from '@/store.js';
</script>
<style lang="scss" module>
.spacer {
box-sizing: border-box;
padding: 32px;
margin: 0 auto;
height: 300px;
background-clip: content-box;
background-size: auto auto;
background-color: rgba(255, 255, 255, 0);
&.light {
2023-11-01 06:36:15 +00:00
background-image: repeating-linear-gradient(135deg, transparent, transparent 16px, #00000010 16px, #00000010 20px );
2023-10-31 04:46:58 +00:00
}
&.dark {
background-image: repeating-linear-gradient(135deg, transparent, transparent 16px, #FFFFFF16 16px, #FFFFFF16 20px );
}
}
</style>