User

Domino/CategoryTree.css

From Dogcraft Wiki

(Domino changed the content model of the page User:Domino/CategoryTree.css from "CSS" to "Sanitized CSS")
Tag: content model change
mNo edit summary
 
(3 intermediate revisions 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;
}
}
Line 18: Line 27:
.CategoryTreeItem {
.CategoryTreeItem {
   margin-bottom: .5rem;
   margin-bottom: .5rem;
}
   display: grid;
 
   grid-template-columns: 16px 1fr;
.CategoryTreeBullet {
   column-gap: 4px;
   display: inline-block;
   height: 1rem;
   margin: .25rem;
}
}


Line 42: Line 48:
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached[data-ct-state="collapsed"]::before {
.CategoryTreeToggle.CategoryTreeToggleHandlerAttached[data-ct-state="collapsed"]::before {
content: '\f054';
content: '\f054';
}
.CategoryTreePageBullet {
width: 16px;
border: none;
}
}

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;
}