Skip to content

Commit

Permalink
Opt: menu style
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyCreeper committed Dec 12, 2023
1 parent f3fd0c6 commit ff2f858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/assets/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,16 @@ a {
}

.menu-item {
@apply bg-white px-4 py-2 rounded-lg my-3 first:mt-0 last:mb-0 transition-all duration-500 dark:bg-zinc-700;
@apply bg-white px-4 py-3 rounded-lg my-3 first:mt-0 last:mb-0 transition-all duration-500 dark:bg-zinc-700;
}

.menu-item-active {
@apply bg-sky-400 text-white shadow-md shadow-sky-200 dark:bg-purple-600 dark:shadow-purple-500;
@apply bg-sky-400 text-white shadow-md shadow-sky-200 dark:bg-pink-500 dark:shadow-pink-600;
}

.menu-toggle {
z-index: 999;
@apply hidden absolute bg-pink-500 shadow-md shadow-pink-200 rounded-r-md w-2 h-20 left-0 top-1/2 bottom-1/2 transition-all duration-300 dark:shadow-pink-600;
@apply hidden fixed bg-pink-500 shadow-md shadow-pink-200 rounded-r-md w-2 h-20 left-0 top-1/2 bottom-1/2 transition-all duration-300 dark:shadow-pink-600;

&:hover {
@apply w-4 bg-purple-400 shadow-purple-200 dark:shadow-purple-600;
Expand Down

0 comments on commit ff2f858

Please sign in to comment.