Added grid layout for monthly view

This commit is contained in:
Alexis
2024-04-01 15:05:08 +02:00
parent abc4d908f1
commit e7d3fd3fd3
30 changed files with 498 additions and 146 deletions

View File

@@ -0,0 +1,29 @@
<script lang="ts" setup>
const props = defineProps<{
faded?: boolean
}>()
</script>
<template>
<div
class="tile relative text-xs text-center p-4 border-slate-700"
:class="{
'text-slate-500': props.faded,
'text-slate-300': !props.faded
}"
>
<slot />
</div>
</template>
<style lang="scss" scoped>
.tile {
&:not(:nth-child(10n)) {
border-right-width: 1px;
}
&:nth-child(n + 11) {
border-top-width: 1px;
}
}
</style>