Skip to content

Commit

Permalink
add active states to categorypanel (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
donjo authored Jul 25, 2024
1 parent bde785a commit 71e306e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,20 @@ body:not(:has(.ddoc)) {
/* Custom DDOC styles for the Deno documentation */
.ddoc {
@apply pt-0 !important;

#categoryPanel {
@apply border-r border-gray-000;
@apply pt-4 !important;

li:hover {
@apply bg-blue-50 rounded-md !important;
> a {
@apply no-underline !important;
}
}
.active {
@apply bg-blue-50 rounded-md !important;
}
}

.contextLink {
Expand All @@ -240,7 +251,7 @@ body:not(:has(.ddoc)) {

> ul {
@apply border-l border-gray-000 !important;

> li > a {
@apply text-gray-3 hover:bg-blue-50 rounded-lg hover:no-underline py-1.5 px-3.5 !important;
}
Expand Down

0 comments on commit 71e306e

Please sign in to comment.