User
Domino/CategoryTree.css
From Dogcraft Wiki
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.CategoryTreeItem a { | .CategoryTreeItem a { | ||
color: initial; | color: initial; | ||
} | |||
.CategoryTreeItem:hover a { | |||
color: var(--blue); | |||
} | } | ||
.CategoryTreeTag > .CategoryTreeSection:first-child > .CategoryTreeItem:first-child > .CategoryTreeBullet:first-child { | .CategoryTreeTag > .CategoryTreeSection:first-child > .CategoryTreeItem:first-child > .CategoryTreeBullet:first-child { | ||
display: none; | display: none; | ||
} | |||
.CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem { | |||
grid-template-columns: 1fr; | |||
margin-top: 1rem; | |||
} | } | ||
| Line 12: | Line 21: | ||
.CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem a, | .CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem a, | ||
.CategoryTreeTag > .CategoryTreeSection > .CategoryTreeChildren > .CategoryTreeSection > .CategoryTreeItem a { | .CategoryTreeTag:not(.highlight-root-only) > .CategoryTreeSection > .CategoryTreeChildren > .CategoryTreeSection > .CategoryTreeItem a { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Latest revision as of 17:53, 30 January 2026
.CategoryTreeItem a {
color: initial;
}
.CategoryTreeItem:hover a {
color: var(--blue);
}
.CategoryTreeTag > .CategoryTreeSection:first-child > .CategoryTreeItem:first-child > .CategoryTreeBullet:first-child {
display: none;
}
.CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem {
grid-template-columns: 1fr;
margin-top: 1rem;
}
.CategoryTreeTag > .CategoryTreeSection > .CategoryTreeChildren {
margin-left: 0;
}
.CategoryTreeTag > .CategoryTreeSection > .CategoryTreeItem a,
.CategoryTreeTag:not(.highlight-root-only) > .CategoryTreeSection > .CategoryTreeChildren > .CategoryTreeSection > .CategoryTreeItem a {
font-weight: bold;
}
.CategoryTreeItem {
margin-bottom: .5rem;
display: grid;
grid-template-columns: 16px 1fr;
column-gap: 4px;
}
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached {
font-family: "Font Awesome 6 Free";
font-weight: 900;
border: none !important;
width: auto;
height: auto;
color: initial;
font-size: .70em;
}
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached[data-ct-state="expanded"]::before {
content: '\f078';
}
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached[data-ct-state="collapsed"]::before {
content: '\f054';
}
.CategoryTreePageBullet {
width: 16px;
border: none;
}