chore: consolidate platform split checks
This commit is contained in:
@@ -14,12 +14,20 @@
|
||||
.icon-nav-item { height: 52px; display: grid; place-items: center; color: #a7a49f; border-left: 3px solid transparent; text-decoration: none; }
|
||||
.icon-nav-item:hover, .icon-nav-item.active { background: var(--rail-bg-active); color: #fff; border-left-color: var(--accent); }
|
||||
.app-main { min-width: 0; min-height: 0; height: 100vh; display: grid; grid-template-rows: 64px 51px minmax(0, 1fr); }
|
||||
.titlebar { background: #fbfbfa; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 18px; gap: 36px; z-index: 100; box-shadow: 0px 0px 10px 0px darkgrey; }
|
||||
.titlebar { position: relative; background: #fbfbfa; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 18px; gap: 36px; z-index: 100; box-shadow: 0px 0px 10px 0px darkgrey; }
|
||||
.tenant-selector { height: 40px; min-width: 210px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; display: flex; align-items: center; padding: 0 12px; gap: 5px; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.05); }
|
||||
.tenant-label, .tenant-caret, .muted { color: var(--muted); }
|
||||
.titlebar-spacer { flex: 1; }
|
||||
.titlebar-link, .account-pill { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: inherit; }
|
||||
.account-pill { color: var(--text); }
|
||||
.maintenance-topbar-link { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(154, 92, 0, .26); background: #ffe1a3; color: #593700; border-radius: 6px; min-height: 32px; padding: 0 14px; font: inherit; font-weight: 800; box-shadow: 0 1px 2px rgba(0,0,0,.08); cursor: pointer; z-index: 1; }
|
||||
.maintenance-topbar-link:hover { background: #ffd170; color: #3e2800; }
|
||||
.language-menu-button { min-width: 54px; justify-content: center; font-weight: 800; }
|
||||
.language-menu-code, .language-option-code { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
|
||||
.language-menu { min-width: 210px; }
|
||||
.language-menu .dropdown-item { justify-content: flex-start; }
|
||||
.language-menu .dropdown-item svg { margin-left: auto; }
|
||||
.language-option-code { width: 34px; color: var(--muted); }
|
||||
.api-mini { display: flex; gap: 6px; }
|
||||
.api-mini input { width: 155px; height: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 8px; }
|
||||
.breadcrumb-bar { background: var(--bar); border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; padding: 0 22px; box-shadow: 0px 0px 10px 0px darkgrey; z-index: 90; }
|
||||
@@ -37,11 +45,32 @@
|
||||
.section-link.active { border-left: 3px solid var(--accent); font-weight: 700; }
|
||||
.section-link.subtle { font-size: 13px; }
|
||||
.workspace-content { min-width: 0; max-width: 100%; min-height: 0; overflow: auto; }
|
||||
.ui-no-sticky-section-sidebars .app-content { overflow: auto; }
|
||||
.ui-no-sticky-section-sidebars .workspace { height: auto; min-height: 100%; }
|
||||
.ui-no-sticky-section-sidebars .section-sidebar {
|
||||
height: max-content;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
.ui-no-sticky-section-sidebars .workspace-content { 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; }
|
||||
.page-heading p { margin: 6px 0 0; color: var(--muted); }
|
||||
.page-heading.split { display: flex; align-items: center; justify-content: space-between; }
|
||||
.module-entry-page { max-width: none; }
|
||||
.workspace-data-page .card { margin-bottom: 18px; }
|
||||
.page-heading.workspace-heading {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 75;
|
||||
background: var(--bg, #f8f7f4);
|
||||
border-bottom: 1px solid var(--line);
|
||||
box-shadow: 0 8px 18px rgba(65, 60, 52, .08);
|
||||
margin: -28px -34px 22px;
|
||||
padding: 18px 34px 16px;
|
||||
}
|
||||
.workspace-heading .mono-small { margin-top: 8px; }
|
||||
.panel, .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
|
||||
.card-header { min-height: 56px; padding: 0 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; background: var(--panel-header); border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
|
||||
.card-header h2 { margin: 0; font-size: 16px; color: var(--text-strong); }
|
||||
@@ -129,9 +158,58 @@
|
||||
.empty-state { min-height: 220px; display: grid; place-items: center; text-align: center; padding: 32px; }
|
||||
.empty-state h2 { margin: 0; color: var(--text-strong); }
|
||||
.empty-state p { max-width: 520px; margin: 8px auto 18px; color: var(--muted); }
|
||||
.docs-workspace { grid-template-columns: 292px minmax(0, 1fr); background: var(--panel); }
|
||||
.docs-workspace-content { background: var(--panel); }
|
||||
.docs-outline { padding-top: 22px; }
|
||||
.docs-sidebar-header { padding: 0 16px 16px; }
|
||||
.docs-sidebar-header .section-title { padding: 0 6px 12px; }
|
||||
.docs-audience-toggle { width: 100%; }
|
||||
.docs-tree { display: grid; gap: 2px; padding: 0 10px 24px; }
|
||||
.docs-tree-node { min-width: 0; }
|
||||
.docs-tree-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 3px; }
|
||||
.docs-tree-toggle, .docs-tree-toggle-placeholder { width: 22px; height: 32px; display: inline-grid; place-items: center; flex: 0 0 auto; }
|
||||
.docs-tree-toggle { border: 0; border-radius: 4px; background: transparent; color: #686560; cursor: pointer; }
|
||||
.docs-tree-toggle:hover { background: rgba(255,255,255,.35); color: var(--text-strong); }
|
||||
.docs-tree-toggle-placeholder { opacity: 0; }
|
||||
.docs-tree-children { display: grid; gap: 2px; }
|
||||
.docs-tree-page { width: 100%; min-height: 32px; border: 0; border-radius: 4px; background: transparent; color: #686560; font: inherit; font-size: 13px; line-height: 1.25; text-align: left; cursor: pointer; padding: 7px 9px; overflow-wrap: anywhere; }
|
||||
.docs-tree-page:hover, .docs-tree-page.is-active { background: rgba(255,255,255,.42); color: var(--text-strong); }
|
||||
.docs-tree-page.is-active { box-shadow: inset 3px 0 var(--accent); font-weight: 700; }
|
||||
.docs-tree-empty { color: var(--muted); font-size: 12px; line-height: 1.35; padding: 8px 9px; }
|
||||
.docs-page { min-height: 100%; background: var(--panel); }
|
||||
.docs-content { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 32px; }
|
||||
.docs-page-main { min-width: 0; }
|
||||
.docs-page-outline-box { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: 6px; background: #fbfaf8; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
|
||||
.docs-page-outline-box h2 { margin: 0 0 10px; color: var(--text-strong); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
|
||||
.docs-page-outline-box nav { display: grid; gap: 4px; }
|
||||
.docs-page-outline-box a { border-radius: 4px; color: var(--muted); font-size: 13px; line-height: 1.3; padding: 5px 6px; text-decoration: none; }
|
||||
.docs-page-outline-box a:hover { background: var(--panel); color: var(--text-strong); }
|
||||
.docs-section { scroll-margin-top: 24px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
|
||||
.docs-section:last-child { border-bottom: 0; }
|
||||
.docs-section h2 { margin: 0 0 18px; color: var(--text-strong); font-size: 24px; font-weight: 650; }
|
||||
.docs-reference-block { scroll-margin-top: 24px; margin-top: 24px; }
|
||||
.docs-reference-block:first-child { margin-top: 0; }
|
||||
.docs-reference-block h3, .docs-topic h3 { margin: 0 0 8px; color: var(--text-strong); }
|
||||
.docs-topic-list { display: grid; gap: 28px; }
|
||||
.docs-topic { scroll-margin-top: 24px; }
|
||||
.docs-topic-page h2 { margin: 0 0 12px; color: var(--text-strong); font-size: 28px; font-weight: 650; line-height: 1.18; }
|
||||
.docs-topic-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
|
||||
.docs-topic-summary { margin: 0 0 10px; color: var(--text); font-weight: 600; }
|
||||
.docs-topic-body { margin: 0; color: var(--text); line-height: 1.7; white-space: pre-line; }
|
||||
.docs-topic-links { margin: 12px 0 0; }
|
||||
.docs-topic-details { display: grid; gap: 16px; margin-top: 18px; }
|
||||
.docs-detail-block { scroll-margin-top: 24px; }
|
||||
.docs-detail-block h4 { margin: 0 0 7px; color: var(--text-strong); font-size: 15px; }
|
||||
.docs-detail-block p, .docs-detail-block ul, .docs-detail-block ol { margin: 0; line-height: 1.65; }
|
||||
.docs-detail-block ul, .docs-detail-block ol { padding-left: 22px; }
|
||||
.docs-unavailable-reason { margin-top: 16px; border-left: 3px solid var(--amber); padding-left: 12px; }
|
||||
@media (max-width: 900px) {
|
||||
.page-heading.split { align-items: flex-start; flex-direction: column; }
|
||||
.summary-grid, .detail-list div { grid-template-columns: 1fr; }
|
||||
.docs-workspace { grid-template-columns: 1fr; }
|
||||
.docs-outline { display: none; }
|
||||
.docs-content { grid-template-columns: 1fr; }
|
||||
.docs-page-outline-box { display: none; }
|
||||
}
|
||||
|
||||
/* Side rail: settings lives as the bottom utility entry. */
|
||||
|
||||
Reference in New Issue
Block a user