Files
WinStudentGoalTracker/ui/winstudentgoaltracker/src/app/desktop/pages/home/home.scss
T
2026-02-28 09:51:53 -08:00

110 lines
1.7 KiB
SCSS

:host {
display: block;
height: 100%;
}
.shell {
display: flex;
flex-direction: column;
height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Header */
.header {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0 1rem;
height: 48px;
background: #fff;
border-bottom: 1px solid #ddd;
flex-shrink: 0;
}
.menu-toggle {
background: none;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 1rem;
cursor: pointer;
padding: 0.25rem 0.5rem;
color: #333;
}
.menu-toggle:hover {
background: #f5f5f5;
}
.header-title {
font-weight: 600;
font-size: 1rem;
color: #333;
}
/* Body: Sidebar + Content */
.body {
display: flex;
flex: 1;
overflow: hidden;
}
.sidebar {
width: 0;
background: #fff;
border-right: 1px solid #ddd;
display: flex;
flex-direction: column;
overflow: hidden;
transition: width 0.2s ease;
flex-shrink: 0;
}
.sidebar.expanded {
width: 220px;
}
.nav-item {
display: block;
padding: 0.75rem 1rem;
color: #333;
text-decoration: none;
white-space: nowrap;
font-size: 0.875rem;
}
.nav-item:hover {
background: #f5f5f5;
}
.nav-item.sub {
padding-left: 2rem;
font-size: 0.8125rem;
}
.nav-item.active {
font-weight: 600;
color: #4f46e5;
background: #eef2ff;
}
/* Main content */
.content {
flex: 1;
overflow-y: auto;
padding: 1.5rem;
background: #f5f5f5;
}
/* Footer */
.footer {
display: flex;
align-items: center;
padding: 0 1rem;
height: 32px;
background: #fff;
border-top: 1px solid #ddd;
color: #666;
font-size: 0.75rem;
flex-shrink: 0;
}