Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions gui/src/styles-models-workspace.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
============================================================================ */

.main-inner:has(.models-workspace-shell) {
max-width: 1200px;
max-width: var(--workspace-measure);
}

.models-workspace-shell {
Expand All @@ -30,7 +30,7 @@
.models-workspace-main {
display: flex;
flex-direction: column;
gap: var(--space-3);
gap: var(--space-5);
min-width: 0;
}

Expand Down Expand Up @@ -141,16 +141,22 @@
.models-provider-list {
display: flex;
flex-direction: column;
gap: var(--space-2);
gap: 0;
border-top: 1px solid var(--border-subtle);
}

.models-provider-card {
margin-bottom: 0;
overflow: hidden;
border: 0;
border-bottom: 1px solid var(--border-subtle);
border-radius: 0;
background: transparent;
box-shadow: none;
}

.models-provider-body {
padding: var(--space-3) var(--space-4);
padding: 0 0 var(--space-4);
}

.models-provider-body > .input {
Expand Down
76 changes: 38 additions & 38 deletions gui/src/styles/model-catalog.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.models-workspace-root {
grid-template-columns: minmax(0, 1fr) clamp(320px, 24vw, 400px);
gap: 32px;
grid-template-columns: minmax(0, 1fr) clamp(340px, 25vw, 420px);
gap: var(--space-8);
align-items: start;
min-height: max(400px, calc(100dvh - 330px));
}
Expand Down Expand Up @@ -36,8 +36,12 @@
.models-catalog-toolbar {
display: flex;
align-items: center;
gap: 12px;
margin: 24px 0 20px;
gap: var(--space-3);
margin: var(--space-6) 0 var(--space-4);
padding: var(--space-3);
background: var(--surface-paper);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
}
.models-search-field {
flex: 1;
Expand Down Expand Up @@ -66,11 +70,11 @@
.models-catalog-columns {
display: grid;
grid-template-columns: minmax(0, 1fr) 140px 84px 88px;
gap: 12px;
gap: var(--space-3);
color: var(--muted);
font-size: var(--text-caption);
padding: 0 12px 12px;
border-bottom: 1px solid var(--border-soft);
padding: 0 var(--space-3) var(--space-2);
border-bottom: 1px solid var(--border-subtle);
}
.models-catalog-columns > :last-child {
text-align: right;
Expand All @@ -79,14 +83,14 @@
gap: 0;
}
.models-provider-list {
gap: 12px;
gap: 0;
}
.models-provider-card {
overflow: visible;
}
.models-provider-card .models-provider-head {
min-height: 48px;
padding: 0 10px;
min-height: var(--control-touch);
padding: var(--space-2) var(--space-2);
border: 0;
background: transparent;
align-items: center;
Expand Down Expand Up @@ -135,31 +139,26 @@
display: flex;
align-items: center;
position: relative;
gap: 16px;
padding: 0 12px 0 0;
border-radius: 6px;
gap: var(--space-4);
padding: 0 var(--space-3) 0 0;
border-bottom: 1px solid var(--border-subtle);
border-radius: 0;
min-height: 56px;
}
.models-catalog-row + .models-catalog-row {
margin-top: 2px;
margin-top: 0;
}
@media (hover: hover) and (pointer: fine) {
.models-catalog-row:hover {
background: var(--hover);
}
}
.models-catalog-row.is-selected {
background: var(--raised);
background: var(--surface-raised);
box-shadow: inset 2px 0 0 var(--text-primary);
}
.models-catalog-row.is-selected::before {
content: "";
position: absolute;
left: 0;
top: 12px;
bottom: 12px;
width: 2px;
background: var(--text);
border-radius: 2px;
content: none;
}
.models-workspace-shell .switch {
position: relative;
Expand Down Expand Up @@ -257,23 +256,24 @@
}
.model-inspector {
position: sticky;
top: calc(var(--workspace-header) + 24px);
top: calc(var(--workspace-header) + var(--space-6));
align-self: start;
min-width: 0;
border-radius: 0;
border-left: 1px solid var(--border-soft);
background: transparent;
padding: 0 0 24px 28px;
padding: var(--space-6);
background: var(--surface-paper);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
box-shadow: none;
}
.model-inspector-empty {
min-height: 220px;
}
.model-inspector h3 {
margin: 0;
font-size: 24px;
font-weight: 650;
line-height: 1.35;
letter-spacing: -0.025em;
font-size: clamp(1.45rem, 2vw, 1.9rem);
font-weight: var(--weight-semibold);
line-height: 1.08;
letter-spacing: -0.03em;
overflow-wrap: anywhere;
}
.model-inspector-empty p,
Expand Down Expand Up @@ -343,10 +343,10 @@
.model-inspector-identifier {
position: relative;
overflow: hidden;
background: var(--rail);
border: 1px solid var(--border-soft);
border-radius: 8px;
padding: 4px 12px 12px;
background: var(--surface-raised);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: var(--space-2) var(--space-3) var(--space-3);
}
.model-inspector-identifier::after {
content: "";
Expand Down Expand Up @@ -408,8 +408,8 @@
color: var(--red);
}
.models-advanced {
border-top: 1px solid var(--border-soft);
margin-top: 24px;
border-top: 1px solid var(--border-subtle);
margin-top: var(--space-6);
}
.models-advanced
> [data-slot="accordion-item"]
Expand Down
48 changes: 31 additions & 17 deletions gui/src/styles/ocx-system.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,23 @@

:root,
:root[data-style] {
--workspace-measure: 1400px;
--page-gutter: clamp(var(--space-4), 3vw, var(--space-12));
--section-gap: var(--space-6);
--card-radius: var(--radius-group);
--card-border: var(--border-soft);
/* Auth-inspired semantic aliases. The underlying Signaal palette stays canonical. */
--surface-canvas: var(--bg);
--surface-paper: var(--surface);
--surface-raised: var(--raised);
--text-primary: var(--text);
--text-secondary: var(--muted);
--border-subtle: var(--border-soft);
--interactive-accent: var(--accent-blue);

--workspace-measure: 1480px;
--page-gutter: clamp(var(--space-4), 3.5vw, var(--space-12));
--section-gap: var(--space-8);
--card-radius: var(--radius-lg);
--card-border: var(--border-subtle);
--card-shadow: none;
--card-shadow-raised: none;
--card-shadow-raised: 0 12px 34px
color-mix(in srgb, var(--text) 7%, transparent);
--focus-ring: 0 0 0 3px var(--accent-soft);

--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
Expand All @@ -32,8 +42,8 @@
position: sticky;
top: 0;
z-index: var(--z-sticky);
background: color-mix(in srgb, var(--surface) 96%, transparent);
border-bottom: 1px solid var(--border-soft);
background: var(--surface-paper);
border-bottom: 1px solid var(--border-subtle);
}
.ocx-workspace .brand .name {
font-weight: var(--weight-semibold);
Expand Down Expand Up @@ -168,8 +178,9 @@
--------------------------------------------------------------------------- */
.ocx-workspace .page-head {
align-items: flex-start;
gap: 24px;
margin-bottom: 24px;
gap: var(--space-8);
margin-bottom: var(--space-8);
padding-top: var(--space-2);
}
.ocx-workspace .page-head > div:first-child {
min-width: 0;
Expand All @@ -178,18 +189,20 @@
gap: 6px;
}
.ocx-workspace .page-head h2 {
font-size: var(--text-title);
max-width: 18ch;
font-size: clamp(1.9rem, 3vw, 2.8rem);
font-weight: var(--weight-semibold);
letter-spacing: var(--tracking-tight);
line-height: var(--leading-tight);
letter-spacing: -0.035em;
line-height: 1.02;
text-wrap: balance;
}
.ocx-workspace .page-head p,
.ocx-workspace .page-head .page-sub {
margin: 0;
color: var(--muted);
font-size: var(--text-control);
line-height: var(--leading-body);
max-width: 64ch;
color: var(--text-secondary);
font-size: 0.95rem;
line-height: 1.6;
max-width: 62ch;
}
.ocx-workspace .page-head-actions {
flex-shrink: 0;
Expand Down Expand Up @@ -254,6 +267,7 @@
--------------------------------------------------------------------------- */
.ocx-workspace .panel,
.ocx-workspace .card {
background: var(--surface-paper);
border-color: var(--card-border);
border-radius: var(--card-radius);
box-shadow: var(--card-shadow);
Expand Down
39 changes: 35 additions & 4 deletions gui/src/styles/pages-observe.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,13 @@
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 16px;
gap: var(--space-2);
margin-bottom: var(--space-4);
padding: var(--space-3);
font-family: var(--font-ui);
background: var(--surface-paper);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
}

.verkeer-filters .usage-segmented {
Expand Down Expand Up @@ -175,6 +179,7 @@

.verkeer-disclosure {
margin-top: var(--section-gap);
border-top: 1px solid var(--border-subtle);
}

.verkeer-disclosure .ocx-group-body {
Expand Down Expand Up @@ -207,18 +212,44 @@
--------------------------------------------------------------------------- */
.logs-page .logs-toolbar {
font-family: var(--font-ui);
padding: var(--space-3);
background: var(--surface-paper);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
}

.logs-page .tbl tbody tr {
transition: background var(--motion-fast) var(--ease-out);
}

.logs-page .tbl tbody tr:hover td {
background: var(--hover);
background: var(--surface-raised);
}

.logs-page .tbl tbody tr:active td {
background: var(--raised);
background: var(--surface-raised);
}

.verkeer-page .tbl-wrap,
.logs-page .logs-table-wrap {
background: var(--surface-paper);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
overflow: auto;
}

.verkeer-page .tbl,
.logs-page .logs-table {
margin: 0;
}

.verkeer-page .tbl tbody td,
.logs-page .tbl tbody td {
border-bottom-color: var(--border-subtle);
}

.logs-page .logs-table-wrap {
margin-top: var(--space-4);
}

/* ---------------------------------------------------------------------------
Expand Down
Loading
Loading