diff --git a/webui/index.html b/webui/index.html index 1b84bb9..3b9a4db 100644 --- a/webui/index.html +++ b/webui/index.html @@ -15,7 +15,7 @@ } catch (e) {} })(); - +
@@ -1222,6 +1222,6 @@
- + diff --git a/webui/styles.css b/webui/styles.css index ea2be23..abbb39f 100644 --- a/webui/styles.css +++ b/webui/styles.css @@ -154,6 +154,16 @@ body { min-height: 100%; } +html { + scroll-behavior: smooth; +} + +@media (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto; + } +} + body { margin: 0; font-family: "Inter", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; @@ -958,15 +968,57 @@ summary.sectionTitle { .inline2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 8px; + gap: 0; min-width: 0; + border-radius: var(--radius-md); + isolation: isolate; +} + +.inline2 > .input, +.inline2 > input { + border-radius: 0; + margin-left: -1px; +} + +.inline2 > .input:first-child, +.inline2 > input:first-child { + border-top-left-radius: var(--radius-md); + border-bottom-left-radius: var(--radius-md); + margin-left: 0; +} + +.inline2 > .input:last-child, +.inline2 > input:last-child { + border-top-right-radius: var(--radius-md); + border-bottom-right-radius: var(--radius-md); +} + +.inline2 > .input:focus-visible, +.inline2 > input:focus-visible { + z-index: 1; +} + +.inline2 > span { + display: inline-flex; + align-items: center; + justify-content: center; + padding: 0 6px; + color: var(--muted); + font-size: var(--text-sm); } .rowActions { display: flex; + align-items: center; flex-wrap: wrap; - gap: 8px; - margin-top: 12px; + gap: var(--space-2); + margin-top: var(--space-4); + padding-top: var(--space-3); + border-top: 1px solid var(--border); +} + +.rowActions .btnPrimary { + order: -1; } .label {