feat(ui,perf): add 3 terminal themes, mobile touch/scroll polish, and bounded stream/sparkline memory
This commit is contained in:
parent
076df61f4d
commit
01aae91982
10 changed files with 167 additions and 14 deletions
|
|
@ -150,7 +150,7 @@ body {
|
|||
|
||||
.panel-region {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 320px auto 260px;
|
||||
contain-intrinsic-size: auto none auto 260px;
|
||||
}
|
||||
|
||||
@supports not (content-visibility: auto) {
|
||||
|
|
@ -628,6 +628,35 @@ dialog::backdrop {
|
|||
background: var(--bg-elevated);
|
||||
}
|
||||
|
||||
dialog:modal {
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
dialog::backdrop {
|
||||
overflow: hidden;
|
||||
overscroll-behavior: contain;
|
||||
background: rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
|
||||
dialog.ai-drawer {
|
||||
border: 1px solid var(--border);
|
||||
background: var(--bg-panel);
|
||||
color: var(--fg);
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
dialog.ai-drawer[open] {
|
||||
margin: 0 0 0 auto;
|
||||
width: min(560px, 100vw);
|
||||
max-width: 100vw;
|
||||
height: 100dvh;
|
||||
max-height: 100dvh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
border-left: 1px solid var(--accent);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.metric-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
|
@ -639,15 +668,17 @@ dialog::backdrop {
|
|||
}
|
||||
|
||||
.btn,
|
||||
.btn-sm,
|
||||
.nav-link,
|
||||
.touch-key,
|
||||
input,
|
||||
select {
|
||||
select,
|
||||
.input-sm {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
padding-bottom: 62px;
|
||||
padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.primary-nav {
|
||||
|
|
@ -658,7 +689,7 @@ dialog::backdrop {
|
|||
z-index: 20;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
padding: 4px 6px;
|
||||
padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue