Revamp /admin with drill-down sidebar nav and focused sub-views; v1.1.50
Publish Container / docker (push) Successful in 13m50s
Publish Container / docker (push) Successful in 13m50s
- Replace flat sidebar with accordion nav: parent items (Homepage, About, Contact, Podcast Hub) expand to reveal focused sub-items - Split big sections into granular sub-views so each form shows only 3-8 fields (Homepage: Hero/Share/PRISM/Where-to-Next, About: Show Copy/Bio/ Testimonials, Contact: Profile/Copy & Scripture, Podcast: Current Series/ Highlights/Finished Books/Scripts/RSS) - New topbar: brand + breadcrumb (Homepage › Hero), clean gold Save Draft button, ghost Preview/Publish buttons — no more jump-to select - New sidebar: compact 196px width, filter input at top, small-caps group labels, chevron-animated parent items, indented sub-items with active highlight, Back-to-site/Log-out/version at the bottom - Replace PodcastTab state with adminView sub-views (podcast:current-series etc.) eliminating the secondary tab bar inside the panel - Extend AdminView type with all new colon-separated sub-view values Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
a072076818
commit
e593031d0d
3 files changed
+683
-527
No files matched your search
+396
-262
@@ -7492,278 +7492,420 @@
|
||||
|
||||
/* ── Admin Shell Layout ── */
|
||||
.admin-shell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
background: #070707;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
background: #0c0a08;
|
||||
color: var(--brand-warm-white);
|
||||
}
|
||||
|
||||
.admin-topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: #070707;
|
||||
border-bottom: 1px solid rgba(201,168,76,0.2);
|
||||
padding: 0.65rem 1.5rem;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
/* ── Topbar ── */
|
||||
.admin-topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 48px;
|
||||
background: #0f0d0b;
|
||||
border-bottom: 1px solid rgba(201,168,76,0.14);
|
||||
padding: 0 1.25rem;
|
||||
gap: 1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-topbar-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
.admin-topbar-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.admin-topbar-ornament {
|
||||
color: var(--brand-gold);
|
||||
font-size: 1rem;
|
||||
}
|
||||
.admin-topbar-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.admin-topbar-title {
|
||||
font-family: var(--brand-font-heading);
|
||||
font-size: 1.1rem;
|
||||
color: var(--brand-warm-white);
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
.admin-mobile-menu-btn {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
border-radius: 6px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-topbar-sub {
|
||||
font-size: 0.78rem;
|
||||
color: rgba(201,168,76,0.5);
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.admin-mobile-menu-btn:hover { background: rgba(201,168,76,0.1); }
|
||||
|
||||
.admin-topbar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.admin-menu-bar {
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 1.5px;
|
||||
background: rgba(240,234,216,0.7);
|
||||
border-radius: 1px;
|
||||
transition: background 150ms;
|
||||
}
|
||||
|
||||
.admin-view-picker {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
padding: 0.35rem 0.7rem;
|
||||
border: 1px solid rgba(201,168,76,0.22);
|
||||
border-radius: 999px;
|
||||
background: rgba(201,168,76,0.06);
|
||||
}
|
||||
.admin-topbar-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-view-picker-label {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(240,234,216,0.6);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.admin-topbar-ornament {
|
||||
color: var(--brand-gold);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.admin-view-picker-select {
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--brand-warm-white);
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.03em;
|
||||
min-width: 11rem;
|
||||
outline: none;
|
||||
}
|
||||
.admin-topbar-title {
|
||||
font-family: var(--brand-font-heading);
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: var(--brand-warm-white);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.admin-topbar-meta {
|
||||
font-size: 0.78rem;
|
||||
color: rgba(240,234,216,0.45);
|
||||
}
|
||||
.admin-topbar-crumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.admin-mobile-menu-btn {
|
||||
display: none;
|
||||
background: transparent;
|
||||
color: var(--brand-gold);
|
||||
border: 1px solid rgba(201,168,76,0.35);
|
||||
border-radius: 999px;
|
||||
padding: 0.45rem 0.9rem;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.8rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.admin-crumb-sep {
|
||||
color: rgba(201,168,76,0.35);
|
||||
font-size: 0.9rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-mobile-menu-btn--open {
|
||||
background: rgba(201,168,76,0.15);
|
||||
border-color: rgba(201,168,76,0.6);
|
||||
color: var(--brand-warm-white);
|
||||
}
|
||||
.admin-crumb-parent {
|
||||
font-size: 0.82rem;
|
||||
color: rgba(240,234,216,0.45);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.admin-layout {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
.admin-crumb-current {
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
color: var(--brand-warm-white);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* ── Sidebar ── */
|
||||
.admin-sidebar {
|
||||
width: 210px;
|
||||
min-width: 210px;
|
||||
background: #09090a;
|
||||
border-right: 1px solid rgba(201,168,76,0.1);
|
||||
padding: 1.25rem 0 2rem;
|
||||
overflow-y: auto;
|
||||
position: sticky;
|
||||
top: 51px; /* matches topbar height */
|
||||
height: calc(100vh - 51px);
|
||||
}
|
||||
.admin-topbar-meta {
|
||||
font-size: 0.75rem;
|
||||
color: rgba(240,234,216,0.38);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-sidebar-meta-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 1.1rem 1rem;
|
||||
border-bottom: 1px solid rgba(201,168,76,0.08);
|
||||
margin-bottom: 1rem;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
.admin-unsaved-dot {
|
||||
font-size: 0.75rem;
|
||||
color: #e09a40;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-meta-link {
|
||||
display: block;
|
||||
background: none;
|
||||
border: none;
|
||||
color: rgba(240,234,216,0.45);
|
||||
font-size: 0.82rem;
|
||||
padding: 0.25rem 0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: left;
|
||||
transition: color 150ms;
|
||||
}
|
||||
/* ── Topbar buttons ── */
|
||||
.btn-admin-save {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 30px;
|
||||
padding: 0 0.9rem;
|
||||
background: var(--brand-gold);
|
||||
color: #100d07;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: background 150ms, opacity 150ms;
|
||||
}
|
||||
|
||||
.admin-meta-link:hover {
|
||||
color: var(--brand-warm-white);
|
||||
}
|
||||
.btn-admin-save:disabled { opacity: 0.45; cursor: default; }
|
||||
.btn-admin-save:not(:disabled):hover { background: #d9b85a; }
|
||||
|
||||
.admin-sidebar-version {
|
||||
padding: 0.5rem 1.1rem 0.75rem;
|
||||
font-size: 0.72rem;
|
||||
color: rgba(240,234,216,0.28);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.btn-admin-publish {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 30px;
|
||||
padding: 0 0.9rem;
|
||||
background: rgba(201,168,76,0.12);
|
||||
color: var(--brand-gold);
|
||||
border: 1px solid rgba(201,168,76,0.3);
|
||||
border-radius: 6px;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: background 150ms, border-color 150ms;
|
||||
}
|
||||
|
||||
.admin-nav-search {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
padding: 0 1.1rem 1rem;
|
||||
}
|
||||
.btn-admin-publish:hover { background: rgba(201,168,76,0.2); border-color: rgba(201,168,76,0.55); }
|
||||
|
||||
.admin-nav-search label {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(240,234,216,0.6);
|
||||
}
|
||||
.btn-admin-ghost {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 30px;
|
||||
padding: 0 0.8rem;
|
||||
background: transparent;
|
||||
color: rgba(240,234,216,0.6);
|
||||
border: 1px solid rgba(240,234,216,0.14);
|
||||
border-radius: 6px;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: background 150ms, color 150ms;
|
||||
}
|
||||
|
||||
.admin-nav-search input {
|
||||
width: 100%;
|
||||
border: 1px solid rgba(201,168,76,0.18);
|
||||
border-radius: 10px;
|
||||
background: rgba(201,168,76,0.05);
|
||||
color: var(--brand-warm-white);
|
||||
padding: 0.65rem 0.8rem;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
.btn-admin-ghost:hover { background: rgba(240,234,216,0.06); color: var(--brand-warm-white); }
|
||||
.btn-admin-ghost--active { background: rgba(240,234,216,0.08); color: var(--brand-warm-white); }
|
||||
|
||||
.admin-nav-search input::placeholder {
|
||||
color: rgba(240,234,216,0.34);
|
||||
}
|
||||
/* ── Layout ── */
|
||||
.admin-layout {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.admin-nav-empty {
|
||||
padding: 0 1.1rem;
|
||||
}
|
||||
/* ── Sidebar ── */
|
||||
.admin-sidebar {
|
||||
width: 196px;
|
||||
min-width: 196px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #0d0b09;
|
||||
border-right: 1px solid rgba(201,168,76,0.09);
|
||||
position: sticky;
|
||||
top: 48px;
|
||||
height: calc(100vh - 48px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.admin-nav-group {
|
||||
margin-bottom: 1.15rem;
|
||||
padding-top: 0.55rem;
|
||||
border-top: 1px solid rgba(201, 168, 76, 0.14);
|
||||
}
|
||||
.admin-sidebar-top {
|
||||
padding: 0.75rem 0.85rem 0.5rem;
|
||||
border-bottom: 1px solid rgba(201,168,76,0.07);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-nav-group:first-of-type {
|
||||
padding-top: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
.admin-nav-search input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid rgba(201,168,76,0.15);
|
||||
border-radius: 6px;
|
||||
background: rgba(255,255,255,0.04);
|
||||
color: var(--brand-warm-white);
|
||||
padding: 0.45rem 0.65rem;
|
||||
font-size: 0.82rem;
|
||||
font-family: var(--brand-font-body);
|
||||
transition: border-color 150ms;
|
||||
}
|
||||
|
||||
.admin-nav-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
font-size: 0.76rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: #ffe3a3;
|
||||
background: rgba(201, 168, 76, 0.22);
|
||||
border: 1px solid rgba(201, 168, 76, 0.45);
|
||||
border-radius: 999px;
|
||||
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
|
||||
padding: 0.2rem 0.62rem;
|
||||
margin-left: 1.1rem;
|
||||
margin-bottom: 0.42rem;
|
||||
}
|
||||
.admin-nav-search input:focus { outline: none; border-color: rgba(201,168,76,0.4); }
|
||||
.admin-nav-search input::placeholder { color: rgba(240,234,216,0.28); }
|
||||
|
||||
.admin-nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
border-left: 2px solid transparent;
|
||||
color: rgba(240,234,216,0.84);
|
||||
padding: 0.4rem 1.1rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: color 150ms, background 150ms;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.admin-sidebar-scroll {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 0.5rem 0 0.75rem;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: rgba(201,168,76,0.15) transparent;
|
||||
}
|
||||
|
||||
.admin-nav-badge {
|
||||
margin-left: auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
padding: 0 0.35rem;
|
||||
border-radius: 999px;
|
||||
background: var(--brand-gold);
|
||||
color: #1a160d;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
.admin-sidebar-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.1rem;
|
||||
padding: 0.65rem 0.85rem 0.75rem;
|
||||
border-top: 1px solid rgba(201,168,76,0.07);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-nav-badge--neutral {
|
||||
background: rgba(201,168,76,0.25);
|
||||
color: var(--brand-gold);
|
||||
}
|
||||
.admin-meta-link {
|
||||
display: block;
|
||||
background: none;
|
||||
border: none;
|
||||
color: rgba(240,234,216,0.38);
|
||||
font-size: 0.78rem;
|
||||
font-family: var(--brand-font-body);
|
||||
padding: 0.2rem 0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: left;
|
||||
transition: color 150ms;
|
||||
}
|
||||
|
||||
.admin-nav-item:hover {
|
||||
color: #fff6de;
|
||||
background: rgba(201,168,76,0.11);
|
||||
}
|
||||
.admin-meta-link:hover { color: rgba(240,234,216,0.7); }
|
||||
|
||||
.admin-nav-item--active {
|
||||
color: #ffe4a8 !important;
|
||||
background: rgba(201,168,76,0.18);
|
||||
border-left-color: var(--brand-gold);
|
||||
}
|
||||
.admin-sidebar-version {
|
||||
font-size: 0.68rem;
|
||||
color: rgba(240,234,216,0.2);
|
||||
margin-top: 0.35rem;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
/* ── Content Panel ── */
|
||||
.admin-panel {
|
||||
.admin-nav-empty {
|
||||
padding: 0.5rem 0.85rem;
|
||||
font-size: 0.82rem;
|
||||
color: rgba(240,234,216,0.35);
|
||||
}
|
||||
|
||||
/* ── Nav groups ── */
|
||||
.admin-nav-group {
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.admin-nav-group-label {
|
||||
display: block;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.11em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(201,168,76,0.5);
|
||||
padding: 0.55rem 0.85rem 0.2rem;
|
||||
}
|
||||
|
||||
/* ── Flat leaf nav items ── */
|
||||
.admin-nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
border-left: 2px solid transparent;
|
||||
color: rgba(240,234,216,0.72);
|
||||
padding: 0.38rem 0.85rem;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.84rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: color 150ms, background 150ms;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.admin-nav-item:hover { color: var(--brand-warm-white); background: rgba(201,168,76,0.07); }
|
||||
|
||||
.admin-nav-item--active {
|
||||
color: #ffe4a8 !important;
|
||||
background: rgba(201,168,76,0.12);
|
||||
border-left-color: var(--brand-gold);
|
||||
}
|
||||
|
||||
.admin-nav-badge {
|
||||
margin-left: auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
padding: 0 0.3rem;
|
||||
border-radius: 999px;
|
||||
background: var(--brand-gold);
|
||||
color: #1a160d;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.admin-nav-badge--neutral {
|
||||
background: rgba(201,168,76,0.22);
|
||||
color: var(--brand-gold);
|
||||
}
|
||||
|
||||
/* ── Parent nav items (accordion) ── */
|
||||
.admin-nav-parent-wrap { }
|
||||
|
||||
.admin-nav-parent {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
border-left: 2px solid transparent;
|
||||
color: rgba(240,234,216,0.72);
|
||||
padding: 0.38rem 0.85rem;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.84rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: color 150ms, background 150ms;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.admin-nav-parent:hover { color: var(--brand-warm-white); background: rgba(201,168,76,0.07); }
|
||||
|
||||
.admin-nav-parent--active {
|
||||
color: rgba(240,234,216,0.95);
|
||||
border-left-color: rgba(201,168,76,0.4);
|
||||
}
|
||||
|
||||
.admin-nav-chevron {
|
||||
color: rgba(240,234,216,0.3);
|
||||
flex-shrink: 0;
|
||||
transition: transform 200ms;
|
||||
}
|
||||
|
||||
.admin-nav-chevron--open { transform: rotate(180deg); }
|
||||
|
||||
/* ── Sub-items ── */
|
||||
.admin-nav-sub {
|
||||
padding-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.admin-nav-sub-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
border-left: 2px solid transparent;
|
||||
color: rgba(240,234,216,0.55);
|
||||
padding: 0.32rem 0.85rem 0.32rem 1.75rem;
|
||||
font-family: var(--brand-font-body);
|
||||
font-size: 0.81rem;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
transition: color 150ms, background 150ms;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.admin-nav-sub-item:hover { color: rgba(240,234,216,0.85); background: rgba(201,168,76,0.06); }
|
||||
|
||||
.admin-nav-sub-item--active {
|
||||
color: #ffe4a8 !important;
|
||||
background: rgba(201,168,76,0.1);
|
||||
border-left-color: var(--brand-gold);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ── Content Panel ── */
|
||||
.admin-panel {
|
||||
flex: 1;
|
||||
padding: 2rem 2.5rem;
|
||||
overflow-y: auto;
|
||||
@@ -8247,27 +8389,31 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.admin-mobile-menu-btn {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.admin-sidebar {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 52px;
|
||||
top: 48px;
|
||||
left: 0;
|
||||
z-index: 130;
|
||||
width: min(320px, 84vw);
|
||||
width: min(280px, 84vw);
|
||||
min-width: 0;
|
||||
height: calc(100vh - 52px);
|
||||
height: calc(100vh - 48px);
|
||||
border-right: 1px solid rgba(201,168,76,0.22);
|
||||
box-shadow: 16px 0 40px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 16px 0 48px rgba(0, 0, 0, 0.55);
|
||||
}
|
||||
|
||||
.admin-sidebar--open {
|
||||
display: block;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.admin-sidebar-backdrop {
|
||||
display: block;
|
||||
position: fixed;
|
||||
inset: 52px 0 0 0;
|
||||
inset: 48px 0 0 0;
|
||||
z-index: 120;
|
||||
border: none;
|
||||
background: rgba(0, 0, 0, 0.48);
|
||||
@@ -8277,9 +8423,11 @@
|
||||
.admin-panel {
|
||||
padding: 1.25rem 1rem;
|
||||
}
|
||||
.admin-topbar-sub {
|
||||
|
||||
.admin-topbar-meta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-preview-pane {
|
||||
display: none;
|
||||
}
|
||||
@@ -8650,21 +8798,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Admin Redesign: Topbar state zone ── */
|
||||
.admin-topbar-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.admin-topbar-state {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
/* ── Admin Redesign: Analytics CSS classes ── */
|
||||
|
||||
/* ── Admin Redesign: Analytics CSS classes ── */
|
||||
.admin-analytics-grid {
|
||||
|
||||
Reference in new issue
Block a user