mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 20:16:15 -08:00
58 lines
973 B
SCSS
58 lines
973 B
SCSS
@use '@angular/material' as mat;
|
|
|
|
:host {
|
|
display: flex;
|
|
flex-direction: row;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
app-region: drag;
|
|
|
|
button {
|
|
@include mat.form-field-density(-5);
|
|
app-region: no-drag;
|
|
}
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0; // Important for proper flex behavior
|
|
}
|
|
|
|
.content-header {
|
|
padding: 16px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
app-region: drag;
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
button {
|
|
app-region: no-drag;
|
|
}
|
|
}
|
|
|
|
.scrollable-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
|
|
&.no-header {
|
|
// When header is hidden, content starts from top
|
|
margin-top: 0;
|
|
}
|
|
}
|