From 158255255e816423cb7f4f5272d2ee745ad18bae Mon Sep 17 00:00:00 2001 From: arily Date: Tue, 4 Jul 2023 17:48:14 +0900 Subject: [PATCH] leaderboard --- src/assets/styles/daisyui.scss | 5 +-- src/components/leaderboard/user-table.vue | 4 +-- src/pages/leaderboard/[[mode]].vue | 43 +++++++++++------------ 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/assets/styles/daisyui.scss b/src/assets/styles/daisyui.scss index 53364182..ee9bf5fb 100755 --- a/src/assets/styles/daisyui.scss +++ b/src/assets/styles/daisyui.scss @@ -11,12 +11,13 @@ html { animation: none; @each $variant in $variants { - &.btn-#{$variant} { + &.btn-#{$variant}:not(.no-shadow) { @apply shadow-#{$variant}/40 hover:shadow-#{$variant}/60 dark:shadow-#{$variant}/20 hover:dark:shadow-#{$variant}/30; } } - &.btn-ghost { + &.btn-ghost, + &.no-shadow { @apply shadow-none; } } diff --git a/src/components/leaderboard/user-table.vue b/src/components/leaderboard/user-table.vue index 447841e9..e61e3474 100755 --- a/src/components/leaderboard/user-table.vue +++ b/src/components/leaderboard/user-table.vue @@ -79,8 +79,8 @@ const formatter = new Intl.NumberFormat(undefined, option)