Files
smartguide/webapp/src/app/shared/ui/app-layout/app-layout.component.scss
T

118 lines
2.0 KiB
SCSS

@use '@angular/material' as mat;
.app-shell {
height: 100svh;
overflow: hidden;
background: var(--sg-background);
}
.container,
.drawer-container {
width: 100%;
height: 100%;
background: var(--sg-background);
}
.container {
overflow: hidden;
}
.content-shell {
min-height: 100%;
background: var(--sg-background);
}
mat-toolbar.main {
position: sticky;
top: 0;
z-index: 10;
display: grid;
grid-template-columns: minmax(190px, 1fr) minmax(320px, 560px) minmax(130px, 1fr);
gap: 24px;
height: 76px;
padding: 0 32px;
background: rgba(255, 255, 255, 0.92);
border-bottom: 1px solid var(--sg-border);
color: var(--sg-text);
backdrop-filter: blur(16px);
box-shadow: none;
}
.topbar-left,
.topbar-actions {
display: flex;
align-items: center;
gap: 10px;
}
.topbar-actions {
justify-content: flex-end;
}
.topbar-actions button {
color: var(--sg-text);
}
.back-link {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 42px;
border: 0;
background: transparent;
color: var(--sg-text-muted);
font-size: 13px;
cursor: pointer;
}
.back-link mat-icon {
font-size: 20px;
width: 20px;
height: 20px;
}
.drawer {
width: var(--sg-sidebar-width);
background: var(--sg-surface);
border-right: 1px solid var(--sg-border);
box-shadow: none;
}
.content {
min-height: calc(100svh - 76px);
background: var(--sg-background);
}
@media (max-width: 900px) {
mat-toolbar.main {
grid-template-columns: auto 1fr auto;
height: auto;
min-height: 72px;
padding: 12px 16px;
gap: 12px;
}
.back-link span {
display: none;
}
.search-box {
height: 44px;
}
}
@media (max-width: 600px) {
mat-toolbar.main {
grid-template-columns: 1fr auto;
}
.search-box {
grid-column: 1 / -1;
order: 3;
}
.content {
min-height: calc(100svh - 124px);
}
}