Add responsive game filters and hybrid toolbox drawer
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
This commit is contained in:
parent
1ee460b94f
commit
00e73f0062
32 changed files with 1202 additions and 241 deletions
|
|
@ -9,6 +9,10 @@
|
|||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.app-shell.sidebar-compact {
|
||||
grid-template-columns: 72px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
inset: 0 auto 0 0;
|
||||
|
|
@ -292,6 +296,61 @@
|
|||
display: inline-flex;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] {
|
||||
width: 72px;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-4) 10px;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .brand-name,
|
||||
.sidebar[data-variant="compact"] .nav-item strong,
|
||||
.sidebar[data-variant="compact"] .sidebar-about-link strong,
|
||||
.sidebar[data-variant="compact"] .sidebar-mascot,
|
||||
.sidebar[data-variant="compact"] .sidebar-note > .badge,
|
||||
.sidebar[data-variant="compact"] .sidebar-note > p {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .brand,
|
||||
.sidebar[data-variant="compact"] .nav-item,
|
||||
.sidebar[data-variant="compact"] .sidebar-about-link {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .nav-item {
|
||||
width: 100%;
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .sidebar-secondary-links {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .sidebar-about-link {
|
||||
width: 100%;
|
||||
padding-inline: 8px;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .sidebar-note {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
padding: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .sidebar-storage-actions {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.sidebar[data-variant="compact"] .sidebar-action-button {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
flex: 0 0 36px;
|
||||
}
|
||||
|
||||
.content-shell {
|
||||
grid-column: 2;
|
||||
display: flex;
|
||||
|
|
@ -300,6 +359,26 @@
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
.app-shell.toolbox-drawer-open .content-shell {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 700px;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.app-shell.toolbox-drawer-open .topbar {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.app-shell.toolbox-drawer-open main {
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
min-width: 0;
|
||||
width: min(1600px, max(0px, calc(100% - 64px)));
|
||||
}
|
||||
}
|
||||
|
||||
.topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue