diff --git a/crates/izlek-web/src/logs.rs b/crates/izlek-web/src/logs.rs index 07f1ea1..3254433 100644 --- a/crates/izlek-web/src/logs.rs +++ b/crates/izlek-web/src/logs.rs @@ -391,8 +391,6 @@ async fn logs_screen(cx: &Cx, snapshot: LogsSnapshot) -> Result { "izlek" -
- (t(lang, Key::Logs)) (crate::layout::topbar_nav(cx, crate::layout::NavPage::Logs, lang).await?) (crate::layout::user_menu(cx, &me.display_name, &me.email, me.role, lang).await?) diff --git a/crates/izlek-web/src/rules.rs b/crates/izlek-web/src/rules.rs index aa6e103..045be58 100644 --- a/crates/izlek-web/src/rules.rs +++ b/crates/izlek-web/src/rules.rs @@ -715,8 +715,6 @@ async fn rules_page(cx: &Cx) -> Result { "izlek" - - (t(lang, Key::MailRules)) (crate::layout::topbar_nav(cx, crate::layout::NavPage::Rules, lang).await?) (crate::layout::user_menu(cx, &user.display_name, &user.email, user.role, lang).await?) diff --git a/crates/izlek-web/src/settings.rs b/crates/izlek-web/src/settings.rs index 4c23c47..0b47e52 100644 --- a/crates/izlek-web/src/settings.rs +++ b/crates/izlek-web/src/settings.rs @@ -786,8 +786,6 @@ async fn settings_page(cx: &Cx) -> Result { "izlek" - - (t(lang, Key::NavSettings)) (crate::layout::topbar_nav(cx, crate::layout::NavPage::Settings, lang).await?) (crate::layout::user_menu(cx, &user.display_name, &user.email, user.role, lang).await?) diff --git a/style/_instrument.scss b/style/_instrument.scss index 094d8c8..86fb39b 100644 --- a/style/_instrument.scss +++ b/style/_instrument.scss @@ -11,8 +11,7 @@ // --- Instrument skin: chrome (topbar, wordmark, nav) ----------------------- - // 44px chrome strip. Pairs with the .board-stage min-height below, which - // re-derives its calc from these two literals. + // 44px chrome strip. .topbar { height: 44px; } @@ -21,12 +20,8 @@ height: 40px; } - .board-stage { - min-height: calc(100vh - 44px - 40px); - } - - // Wordmark and board name read as engraved panel labels: mono, uppercase, - // tracked wide. + // The wordmark reads as an engraved panel label: mono, uppercase, tracked + // wide. .wordmark-text { font-family: var(--font-mono); font-size: 13px; @@ -35,14 +30,6 @@ text-transform: uppercase; } - .board-name { - font-family: var(--font-mono); - font-size: 11px; - font-weight: 600; - letter-spacing: 0.12em; - text-transform: uppercase; - } - // Active nav underlines in accent, not ink. .topbar-nav-on { box-shadow: inset 0 -2px 0 var(--accent); diff --git a/style/_ledger.scss b/style/_ledger.scss index 8ef79e0..b42f5ca 100644 --- a/style/_ledger.scss +++ b/style/_ledger.scss @@ -18,11 +18,6 @@ font-weight: 600; } - .board-name { - font-family: var(--font-display); - font-size: 15px; - } - .auth-title, .settings-title, .detail-title, @@ -36,7 +31,7 @@ .settings-title { font-size: 22px; } .panel-title { font-size: 15px; } - .card-title { font-size: 14px; } + .card-title { font-size: 16px; } // --- Ledger skin: rules & ornaments (no boxes) ------------------------------- @@ -83,7 +78,7 @@ border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; - padding: 10px 2px; + padding: 12px 2px 14px 2px; transition: border-color var(--dur-fast) var(--ease); &:hover { @@ -98,6 +93,11 @@ .card-title { text-decoration: line-through; } } + // Ledger entries stack into a continuous ruled column — no gaps between rows. + .column-cards { + gap: 0; + } + .rule-row { background: transparent; border: none; @@ -115,7 +115,10 @@ border-bottom: 1px solid var(--rule-strong); } - .topbar-nav-on { box-shadow: inset 0 -2px 0 var(--rule-strong); } + .topbar-nav-on { + border-bottom: 2px solid var(--rule-strong); + box-shadow: none; + } // --- Ledger skin: chips as inked text ---------------------------------------- diff --git a/style/main.scss b/style/main.scss index 1ea0776..0343d3c 100644 --- a/style/main.scss +++ b/style/main.scss @@ -325,6 +325,19 @@ body { font-size: 13px; } +// The board page owns the viewport: chrome and the occasional refusal line +// keep their natural height, the stage absorbs the rest, the document never +// scrolls. +body:has(.board-stage) { + height: 100vh; + overflow: hidden; + display: flex; + flex-direction: column; + + > * { flex: none; } + > .board-stage { flex: 1; min-height: 0; } +} + a { color: var(--accent); transition: color var(--dur-fast) var(--ease); @@ -372,22 +385,22 @@ a { background: var(--border); } -.board-name { - font-size: 13px; - font-weight: 600; -} - .topbar-nav-links { display: flex; gap: 16px; + margin-left: auto; } +// The spacer's flex-grow eats the free space before auto margins see any, so +// inside the chrome the nav's auto margin does the pushing instead. +.topbar > .spacer { display: none; } + .topbar-nav { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; - color: var(--muted-soft); + color: var(--muted); text-decoration: none; padding-bottom: 2px; @@ -683,14 +696,16 @@ a { position: relative; display: flex; flex-direction: column; - min-height: calc(100vh - var(--topbar-height) - 52px); + flex: 1; + min-height: 0; padding: 20px 24px 24px 24px; } .board-columns { flex: 1; + min-height: 0; display: grid; - grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 16px; align-items: stretch; } @@ -730,8 +745,13 @@ a { .column-cards { display: flex; flex-direction: column; - gap: 10px; + gap: 8px; flex: 1; + min-height: 0; + overflow-y: auto; + scrollbar-width: none; + + &::-webkit-scrollbar { display: none; } } .column-empty { @@ -755,7 +775,7 @@ a { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); - padding: 12px; + padding: 10px 12px; box-shadow: var(--shadow-1); cursor: pointer; transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);