collapse dev tools into disclosure in admin sidebar
All checks were successful
deploy / deploy (push) Successful in 1m31s
All checks were successful
deploy / deploy (push) Successful in 1m31s
LiveDashboard, Errors, and Jobs are now behind a "Developer tools" toggle, keeping View shop and Log out as the prominent footer links. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3286,6 +3286,35 @@
|
||||
border-top: 1px solid var(--t-border-default);
|
||||
}
|
||||
|
||||
/* Dev tools disclosure in sidebar footer */
|
||||
.admin-dev-tools {
|
||||
& > summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.375rem 0.75rem;
|
||||
font-size: 0.875rem;
|
||||
color: var(--t-text-secondary);
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
|
||||
&::marker, &::-webkit-details-marker { display: none; }
|
||||
}
|
||||
|
||||
& > summary:hover { color: var(--t-text-primary); }
|
||||
|
||||
& .admin-dev-tools-chevron {
|
||||
margin-left: auto;
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
|
||||
&[open] .admin-dev-tools-chevron { transform: rotate(90deg); }
|
||||
|
||||
& > .admin-nav {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Sidebar nav area */
|
||||
.admin-sidebar-nav {
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user