docs: upload netgrimoire-sidebar-additions.css

This commit is contained in:
Administrator 2026-02-25 21:31:46 +00:00 committed by John Smith
parent f1e298d578
commit 9773b65e0c

View file

@ -0,0 +1,178 @@
/* ============================================================
NETGRIMOIRE THEME Sidebar Auto-Tree Additions
ADD these rules to your existing netgrimoire-theme.css
in Administration Theme Custom CSS
(append after the existing CSS, don't replace it)
============================================================ */
/* ── Top-level folder items (Home, Netgrimoire, Work) ─────── */
.sidebar-left .v-treeview > .v-treeview-node > .v-treeview-node__root,
.navigation .v-treeview > .v-treeview-node > .v-treeview-node__root {
font-family: 'Cinzel', serif !important;
font-size: 0.72rem !important;
letter-spacing: 0.12em !important;
text-transform: uppercase !important;
color: #00e5cc !important;
border-bottom: 1px solid rgba(0, 229, 204, 0.12) !important;
padding: 10px 8px !important;
margin-bottom: 2px !important;
}
.sidebar-left .v-treeview > .v-treeview-node > .v-treeview-node__root:hover,
.navigation .v-treeview > .v-treeview-node > .v-treeview-node__root:hover {
background: rgba(0, 229, 204, 0.06) !important;
text-shadow: 0 0 10px rgba(0, 229, 204, 0.4) !important;
}
/* ── Child / nested page items ────────────────────────────── */
.sidebar-left .v-treeview-node__children .v-treeview-node__root,
.navigation .v-treeview-node__children .v-treeview-node__root {
font-family: 'Raleway', sans-serif !important;
font-size: 0.82rem !important;
font-weight: 400 !important;
color: #7aaaa5 !important;
padding-left: 20px !important;
border-left: 1px solid rgba(0, 229, 204, 0.08) !important;
margin-left: 12px !important;
transition: color 0.2s, border-left-color 0.2s, padding-left 0.2s !important;
}
.sidebar-left .v-treeview-node__children .v-treeview-node__root:hover,
.navigation .v-treeview-node__children .v-treeview-node__root:hover {
color: #00e5cc !important;
border-left-color: rgba(0, 229, 204, 0.4) !important;
padding-left: 24px !important;
background: rgba(0, 229, 204, 0.04) !important;
}
/* ── Active / current page ────────────────────────────────── */
.sidebar-left .v-treeview-node__root.v-treeview-node__root--active,
.navigation .v-treeview-node__root.v-treeview-node__root--active {
color: #00e5cc !important;
border-left: 2px solid #00e5cc !important;
background: rgba(0, 229, 204, 0.07) !important;
box-shadow: inset 0 0 12px rgba(0, 229, 204, 0.06) !important;
}
/* ── Expand/collapse chevron arrows ───────────────────────── */
.sidebar-left .v-treeview-node__toggle,
.navigation .v-treeview-node__toggle {
color: rgba(0, 229, 204, 0.4) !important;
transition: color 0.2s !important;
}
.sidebar-left .v-treeview-node__root:hover .v-treeview-node__toggle,
.navigation .v-treeview-node__root:hover .v-treeview-node__toggle {
color: #00e5cc !important;
}
/* ── Folder icons ─────────────────────────────────────────── */
.sidebar-left .v-treeview-node__prepend .v-icon,
.navigation .v-treeview-node__prepend .v-icon {
color: rgba(0, 229, 204, 0.35) !important;
font-size: 1rem !important;
transition: color 0.2s !important;
}
.sidebar-left .v-treeview-node__root:hover .v-treeview-node__prepend .v-icon,
.navigation .v-treeview-node__root:hover .v-treeview-node__prepend .v-icon {
color: #00e5cc !important;
}
/* ── Sidebar panel background & border ────────────────────── */
.sidebar-left,
.v-navigation-drawer {
background: linear-gradient(180deg, #080c10 0%, #0a0d12 100%) !important;
border-right: 1px solid rgba(0, 229, 204, 0.12) !important;
}
/* ── "Current Directory" label ────────────────────────────── */
.sidebar-left .caption,
.sidebar-left .overline,
.sidebar-left .grey--text {
font-family: 'Cinzel', serif !important;
font-size: 0.6rem !important;
letter-spacing: 0.2em !important;
color: rgba(0, 229, 204, 0.3) !important;
text-transform: uppercase !important;
}
/* ── Main Menu button ─────────────────────────────────────── */
.sidebar-left .v-btn[href*="menu"],
.v-toolbar .v-btn:first-child {
font-family: 'Cinzel', serif !important;
letter-spacing: 0.1em !important;
border: 1px solid rgba(0, 229, 204, 0.2) !important;
color: #00e5cc !important;
transition: box-shadow 0.3s, border-color 0.3s !important;
}
.sidebar-left .v-btn[href*="menu"]:hover,
.v-toolbar .v-btn:first-child:hover {
border-color: rgba(0, 229, 204, 0.5) !important;
box-shadow: 0 0 12px rgba(0, 229, 204, 0.2) !important;
}
/* ── Page contents panel (right side TOC) ─────────────────── */
.sidebar-right,
.toc-container {
background: linear-gradient(180deg, #080c10 0%, #0a0d12 100%) !important;
border-left: 1px solid rgba(0, 229, 204, 0.1) !important;
}
.sidebar-right .overline,
.sidebar-right .caption {
font-family: 'Cinzel', serif !important;
font-size: 0.6rem !important;
letter-spacing: 0.2em !important;
color: rgba(0, 229, 204, 0.35) !important;
}
.sidebar-right a,
.toc-container a {
font-family: 'Raleway', sans-serif !important;
color: #5a8f8a !important;
font-size: 0.82rem !important;
transition: color 0.2s, padding-left 0.2s !important;
}
.sidebar-right a:hover,
.toc-container a:hover {
color: #00e5cc !important;
padding-left: 4px !important;
}
/* TOC active heading */
.sidebar-right a.is-active,
.toc-container a.is-active {
color: #00e5cc !important;
border-left: 2px solid #00e5cc !important;
padding-left: 8px !important;
}
/* ── "Last Edited By" / metadata panels ───────────────────── */
.page-rating-container,
.contributor-container,
.last-modified-container {
border-top: 1px solid rgba(0, 229, 204, 0.08) !important;
font-family: 'Raleway', sans-serif !important;
color: #4a7070 !important;
font-size: 0.75rem !important;
}
/* ── Talk / View Discussion button ────────────────────────── */
.v-btn.talk-btn,
.sidebar-right .v-btn {
background: transparent !important;
border: 1px solid rgba(0, 229, 204, 0.2) !important;
color: #5a9090 !important;
font-family: 'Raleway', sans-serif !important;
font-size: 0.75rem !important;
letter-spacing: 0.06em !important;
transition: border-color 0.3s, color 0.3s !important;
}
.sidebar-right .v-btn:hover {
border-color: rgba(0, 229, 204, 0.45) !important;
color: #00e5cc !important;
}