feat: add shared workspace layouts
This commit is contained in:
@@ -82,6 +82,16 @@
|
||||
.ghost-button { border: 0; background: transparent; color: var(--muted); font-weight: 700; }
|
||||
.app-content { min-height: 0; overflow: hidden; }
|
||||
.workspace { height: 100%; min-height: 0; display: grid; grid-template-columns: 198px minmax(0, 1fr); }
|
||||
.workspace-layout-primary,
|
||||
.workspace-layout-content { min-width: 0; min-height: 0; }
|
||||
.workspace-layout-pane-scrollable { overflow: auto; }
|
||||
.workspace-layout-pane-contained { overflow: hidden; }
|
||||
.workspace-layout-primary > .section-sidebar { width: 100%; height: 100%; box-sizing: border-box; }
|
||||
.workspace-layout-navigation.workspace-layout-primary-compact { grid-template-columns: 168px minmax(0, 1fr); }
|
||||
.workspace-layout-navigation.workspace-layout-primary-wide { grid-template-columns: 240px minmax(0, 1fr); }
|
||||
.workspace-layout-split { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
|
||||
.workspace-layout-split.workspace-layout-primary-compact { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); }
|
||||
.workspace-layout-split.workspace-layout-primary-wide { grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); }
|
||||
.section-sidebar { background: var(--sidebar-bg); border-right: var(--border-line-dark); padding: 18px 0; border-left: 3px solid var(--sidebar-border); box-shadow: var(--shadow-chrome); z-index: 80; overflow-y: scroll; }
|
||||
.section-title { font-size: 12px; font-weight: 800; color: var(--muted); padding: 0 22px 14px; letter-spacing: .06em; }
|
||||
.section-title-lower { margin-top: 28px; }
|
||||
@@ -142,6 +152,7 @@
|
||||
overflow: visible;
|
||||
}
|
||||
.ui-no-sticky-section-sidebars .workspace-content { overflow: visible; }
|
||||
.ui-no-sticky-section-sidebars .workspace-layout-primary { overflow: visible; }
|
||||
.content-pad { min-width: 0; max-width: 100%; box-sizing: border-box; padding: 28px 34px; }
|
||||
.page-heading { margin-bottom: 22px; }
|
||||
.page-heading h1 { margin: 0; font-size: 26px; color: var(--text-strong); font-weight: 600; }
|
||||
@@ -187,6 +198,8 @@
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
.page-layout-notices { display: grid; gap: 12px; min-width: 0; }
|
||||
.page-layout-notices > .alert { margin-bottom: 0; }
|
||||
.workspace-heading .mono-small { margin-top: 8px; }
|
||||
.panel, .card { background: var(--panel); border: var(--border-line); border-radius: var(--radius); box-shadow: var(--shadow); }
|
||||
.panel { overflow: hidden; }
|
||||
@@ -254,6 +267,8 @@
|
||||
@media (max-width: 900px) {
|
||||
.api-mini { display: none; }
|
||||
.workspace { grid-template-columns: 1fr; }
|
||||
.workspace-layout-navigation > .workspace-layout-primary { display: none; }
|
||||
.workspace-layout-split { grid-template-columns: 1fr; grid-template-rows: minmax(160px, 34%) minmax(0, 1fr); }
|
||||
.section-sidebar { display: none; }
|
||||
.wizard-card { grid-template-columns: 1fr; }
|
||||
.metric-grid, .dashboard-grid, .settings-grid { grid-template-columns: 1fr; }
|
||||
|
||||
Reference in New Issue
Block a user