Files
Stirling-PDF/frontend/editor/src/portal/components/Sidebar.css
T
Reece BrowneandGitHub b36f3e0875 Remove unused portal UI (#6949)
Removes some cluttered/unused UI from the portal:

- Search bar in the header
- The top bar entirely (breadcrumb, notification bell, plan switcher,
user menu)
- The plan/usage indicator in the sidebar footer
- The floating assistant badge

UI only. Where a component isn't deleted it's just no longer rendered,
so anything here is easy to restore.
2026-07-10 13:16:57 +00:00

80 lines
1.6 KiB
CSS

.portal-sidebar {
width: 15rem;
height: 100vh;
background: var(--color-sidebar-bg);
border-right: 1px solid var(--color-sidebar-border);
display: flex;
flex-direction: column;
flex-shrink: 0;
position: sticky;
top: 0;
}
/* Logo block */
.portal-sidebar__logo {
height: 3.1875rem; /* 51px */
padding: 0 0.875rem;
display: flex;
align-items: center;
gap: 0.5rem;
border-bottom: 1px solid var(--color-sidebar-divider);
}
/* Stirling brand mark (theme-switched in Sidebar.tsx) + product wordmark */
.portal-sidebar__brand {
display: inline-flex;
align-items: center;
gap: 0.4rem;
}
.portal-sidebar__brand-mark {
height: 1.375rem;
width: auto;
display: block;
}
.portal-sidebar__logo-suffix {
font-family: var(--font-brand);
font-size: 1.0625rem;
font-weight: 700;
color: var(--color-text-1);
letter-spacing: 0.01em;
white-space: nowrap;
}
/* App switcher (down-arrow → Portal / Editor); button and menu styling live
with the shared AppSwitch element. */
.portal-sidebar__app-switch {
margin-left: auto;
display: flex;
}
/* Nav body */
.portal-sidebar__nav {
flex: 1 1 auto;
overflow-y: auto;
padding: 0.75rem 0.625rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.portal-sidebar__group {
display: flex;
flex-direction: column;
gap: 0.125rem;
}
.portal-sidebar__divider {
height: 1px;
background: var(--color-sidebar-divider);
margin: 0.25rem 0;
}
/* Footer */
.portal-sidebar__footer {
border-top: 1px solid var(--color-sidebar-divider);
padding: 0.5rem 0.625rem 0.75rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}