Files
design-system/src/pages/Inventory/Inventory.module.css

88 lines
1.3 KiB
CSS
Raw Normal View History

.page {
min-height: 100vh;
background: var(--bg-body);
font-family: var(--font-body);
}
.header {
position: sticky;
top: 0;
z-index: 10;
background: var(--bg-surface);
border-bottom: 1px solid var(--border);
padding: 12px 24px;
display: flex;
align-items: center;
gap: 16px;
}
.headerTitle {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.backLink {
font-size: 13px;
color: var(--amber);
text-decoration: none;
margin-left: auto;
}
.backLink:hover {
text-decoration: underline;
}
.body {
display: flex;
gap: 0;
max-width: 1200px;
margin: 0 auto;
padding: 24px;
}
.nav {
width: 200px;
flex-shrink: 0;
position: sticky;
top: 57px;
height: calc(100vh - 57px);
overflow-y: auto;
padding-right: 16px;
}
.navSection {
margin-bottom: 8px;
}
.navLabel {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
padding: 8px 8px 4px;
display: block;
}
.navLink {
display: block;
font-size: 13px;
color: var(--text-secondary);
text-decoration: none;
padding: 4px 8px;
border-radius: var(--radius-sm);
line-height: 1.5;
}
.navLink:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.content {
flex: 1;
min-width: 0;
}