111 lines
3.0 KiB
CSS
111 lines
3.0 KiB
CSS
:root {
|
|
--shell-bg: #f3f5f9;
|
|
--shell-sidebar: #08142f;
|
|
--shell-topbar-height: 56px;
|
|
--shell-rail-closed: 44px;
|
|
--shell-rail-open: 190px;
|
|
}
|
|
|
|
body { background: var(--shell-bg); }
|
|
.app-shell { min-height: 100vh; }
|
|
|
|
.sidebar {
|
|
position: fixed !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
bottom: 0 !important;
|
|
width: var(--shell-rail-closed) !important;
|
|
background: var(--shell-sidebar) !important;
|
|
color: #e5e7eb !important;
|
|
overflow-x: hidden !important;
|
|
overflow-y: auto !important;
|
|
padding: 0.75rem 0.35rem 1rem 0.35rem !important;
|
|
z-index: 1000 !important;
|
|
transition: width 0.18s ease !important;
|
|
}
|
|
|
|
.app-shell.nav-open .sidebar { width: var(--shell-rail-open) !important; }
|
|
|
|
.brand,
|
|
.sidebar-section-title,
|
|
.nav-link-text { display: none !important; }
|
|
|
|
.app-shell.nav-open .brand,
|
|
.app-shell.nav-open .sidebar-section-title,
|
|
.app-shell.nav-open .nav-link-text { display: initial !important; }
|
|
|
|
.app-shell:not(.nav-open) .nav-link { justify-content: center !important; }
|
|
|
|
.global-topbar {
|
|
position: fixed !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
min-height: var(--shell-topbar-height) !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-end !important;
|
|
gap: 1rem !important;
|
|
padding: 0.5rem 0.75rem 0.5rem 0.5rem !important;
|
|
background: var(--shell-sidebar) !important;
|
|
border-bottom: 1px solid rgba(255,255,255,0.08) !important;
|
|
z-index: 900 !important;
|
|
}
|
|
|
|
.global-topbar-left { display: none !important; }
|
|
|
|
.global-topbar-right {
|
|
margin-left: auto !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-end !important;
|
|
gap: 0.5rem !important;
|
|
}
|
|
|
|
.global-topbar-user {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
align-items: flex-end !important;
|
|
white-space: nowrap !important;
|
|
line-height: 1.1 !important;
|
|
}
|
|
|
|
.global-topbar-name,
|
|
.global-topbar-username { color: #fff !important; white-space: nowrap !important; }
|
|
|
|
.global-topbar-logout {
|
|
appearance: none !important;
|
|
border: 1px solid rgba(255,255,255,0.14) !important;
|
|
background: rgba(255,255,255,0.10) !important;
|
|
color: #fff !important;
|
|
border-radius: 10px !important;
|
|
padding: 0.45rem 0.75rem !important;
|
|
cursor: pointer !important;
|
|
font: inherit !important;
|
|
}
|
|
|
|
.main {
|
|
margin-left: var(--shell-rail-closed) !important;
|
|
width: calc(100vw - var(--shell-rail-closed)) !important;
|
|
min-height: 100vh !important;
|
|
padding: calc(var(--shell-topbar-height) + 1rem) 1rem 1rem 1rem !important;
|
|
box-sizing: border-box !important;
|
|
background: var(--shell-bg) !important;
|
|
}
|
|
|
|
.app-shell.nav-open .main {
|
|
margin-left: var(--shell-rail-open) !important;
|
|
width: calc(100vw - var(--shell-rail-open)) !important;
|
|
}
|
|
|
|
.main-content {
|
|
width: 100% !important;
|
|
max-width: 1400px !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.global-topbar-username { display: none !important; }
|
|
.main { padding: calc(var(--shell-topbar-height) + 1rem) 0.75rem 0.75rem 0.75rem !important; }
|
|
}
|