web: comfortable phone density and clearer back control

Raise phone body/meta type, controls and dock targets to 44/56px, make the chat
back arrow a visible 44px control, and give the star/menu 44px hit areas without
covering the chat status. Keep the shipped skill free of personal device and
project capture paths.
This commit is contained in:
2026-10-20 03:49:35 +01:00
parent fa0d0473cc
commit 607356702a
6 changed files with 84 additions and 8 deletions
+7
View File
@@ -367,3 +367,10 @@ button { transition: background-color 120ms ease-out, border-color 120ms ease-ou
.stage-pane-sheet, .confirm-dialog, .attention-sheet-panel { animation: none; }
.row, .rail-tab, .strip-tab, .dock-item, .chat-star, .chat-menu-button, button { transition: none; }
}
/* Comfortable phone rows: the 12px meta and 8px padding were readable but
cramped under a thumb. */
@media (max-width: 599px) {
.row { padding: 10px 14px; }
.row-meta { font-size: 13px; line-height: 18px; }
}
+37
View File
@@ -916,3 +916,40 @@
white-space: nowrap;
text-overflow: ellipsis;
}
/* ---- Phone comfort ------------------------------------------------------ */
@media (max-width: 599px) {
.chat-row { min-height: 96px; }
.chat-row .row-head { padding-right: 50px; }
.chat-star {
top: 2px;
right: 2px;
width: 44px;
height: 44px;
font-size: 18px;
}
.chat-row .chat-menu-button {
right: 2px;
bottom: 2px;
width: 44px;
height: 44px;
font-size: 18px;
}
.chat-row-actions .chat-menu-item { padding: 8px 12px; font-size: 14px; }
button.chat-create-back,
button.chat-back {
width: 44px;
height: 44px;
background: var(--color-surface-2);
border-color: var(--color-border);
color: var(--color-text);
}
.chat-create-back-glyph { font-size: 24px; }
.chat-bar-title { font-size: 18px; }
.chat-activity { font-size: 12px; }
.chat-send,
.chat-stop { min-width: 44px; min-height: 44px; font-size: 18px; }
.chat-attach { min-width: 44px; min-height: 44px; }
.chat-composer-input { padding: 10px 12px; font-size: 15px; }
.chat-turn { font-size: 15px; }
}
+15
View File
@@ -262,3 +262,18 @@
--density-control-height: 30px;
--density-control-height-small: 24px;
}
/* Phones get the comfortable density: a 44px control, slightly larger body
text and a 56px dock cell. Desktop keeps the denser 36px/14px scale. */
@media (max-width: 599px) {
:root {
--density-control-height: 44px;
--density-control-height-small: 40px;
--type-eyebrow: 600 12px/16px var(--font-sans);
--type-label: 600 12px/17px var(--font-sans);
--type-meta: 400 13px/18px var(--font-sans);
--type-body-small: 400 14px/20px var(--font-sans);
--type-body: 400 15px/21px var(--font-sans);
--type-title-small: 600 17px/23px var(--font-sans);
}
}
+17
View File
@@ -636,3 +636,20 @@ body {
.dock-item,
.dock-search { width: auto; min-width: 0; }
}
/* ---- Phone comfort ------------------------------------------------------ */
@media (max-width: 599px) {
.pane-head { padding: 10px 14px; }
.detail-pane > .pane-scroll > .detail { padding: var(--space-m); }
.settings-pane > .settings { padding: var(--space-m) var(--space-m) var(--space-l); }
.pane-back { padding: 8px 12px 0; }
.pane-back button { min-height: 44px; font-size: 14px; }
.pane-subtitle { font-size: 13px; }
.strip-tab { font-size: 13.5px; }
.dock-item,
.dock-search { min-height: 56px; font-size: 12px; line-height: 15px; }
.dock-item .icon,
.dock-search .icon { width: 22px; height: 22px; }
.dock-badge { top: 4px; right: 8px; }
.dock-status { min-height: 32px; font-size: 12px; }
}