feat(list): add header shadow
This commit is contained in:
parent
8090737996
commit
d494aacd80
1 changed files with 20 additions and 14 deletions
|
@ -5,6 +5,7 @@ const props = defineProps<{
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="slant-shadow">
|
||||
<div class="slant mb-12 bg-light-card-bg dark:bg-dark-card-bg">
|
||||
<ThemeController class="h-12" />
|
||||
|
||||
|
@ -22,6 +23,7 @@ const props = defineProps<{
|
|||
</span>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
@ -34,4 +36,8 @@ const props = defineProps<{
|
|||
padding-bottom: 8rem /* 128px (pb-32) */;
|
||||
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 128px));
|
||||
}
|
||||
|
||||
.slant-shadow {
|
||||
filter: drop-shadow(0px 0px 20px #ccc);
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue