158 lines
2.7 KiB
CSS
158 lines
2.7 KiB
CSS
|
|
#header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 18px;
|
|
background: rgba(255, 255, 255, .8);
|
|
border-bottom: 1px solid rgba(215, 224, 234, .9);
|
|
backdrop-filter: blur(14px);
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
|
|
position: relative;
|
|
z-index: 4000;
|
|
overflow: visible;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.brand-title {
|
|
font-family: var(--font-head);
|
|
font-weight: 700;
|
|
letter-spacing: -.04em;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.brand-sub {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
#header {
|
|
flex-wrap: wrap;
|
|
height: auto;
|
|
padding: 12px 14px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.header-search {
|
|
order: 3;
|
|
width: 100%;
|
|
max-width: none;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.header-right {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav-tabs {
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.form-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#panel {
|
|
grid-template-rows: auto minmax(320px, 48vh);
|
|
}
|
|
|
|
#modal {
|
|
width: 100%;
|
|
border-radius: 20px;
|
|
}
|
|
}
|
|
|
|
/* ==========================================================================
|
|
ROLE-BASED ACCESS CONTROL (RBAC) VISIBILITY
|
|
========================================================================== */
|
|
.sidebar {
|
|
width: 260px;
|
|
background: #0f172a;
|
|
color: #cbd5e1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 5000;
|
|
border-right: 1px solid #1e293b;
|
|
font-family: var(--font);
|
|
}
|
|
|
|
.sidebar-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 24px 20px;
|
|
border-bottom: 1px solid #1e293b;
|
|
}
|
|
|
|
.brand-icon {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.sidebar-brand .brand-title {
|
|
color: #fff;
|
|
font-family: var(--font-head);
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
letter-spacing: -.03em;
|
|
margin: 0;
|
|
}
|
|
|
|
.sidebar-brand .brand-sub {
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
padding: 24px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.sidebar-nav .nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
color: #94a3b8;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: 12px;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
.sidebar-nav .nav-item:hover {
|
|
background: #1e293b;
|
|
color: #fff;
|
|
}
|
|
|
|
.sidebar-nav .nav-item.active {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
|
|
}
|
|
|
|
.sidebar-footer {
|
|
padding: 20px;
|
|
border-top: 1px solid #1e293b;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|