Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

style(portal): standardize styling toward Cloudflare/GCP density

rcourtman586d8b15584f
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index 273b8050f6..f5398e37b7 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -361,7 +361,7 @@ ready until the first hosted workspace exists.
That same typed overview contract must also keep `Needs attention` honest when
only suspended workspaces remain: hosted workspace history alone may not make
the shell imply that active work is ready.
-That same typed overview contract must also preserve a flat, 2D Material design aesthetic across all portal scenarios, removing gradients and heavy box-shadows to ensure a calm, noise-free visual language.
+That same typed overview contract must also preserve a sharp, high-density enterprise visual aesthetic (e.g. Cloudflare/GCP density standards) across all portal scenarios, removing gradients and heavy box-shadows to ensure a calm, rigorous visual language with standard 256px sidebars and Inter-grade typography.
plus a package-local `tsc --noEmit` gate, so future account-shell work should
extend the typed source boundary instead of reviving opaque global runtime
objects, document-wide render events, or untyped embedded asset edits.
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 73aa1cd4ad..d0e9f14568 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -259,7 +259,7 @@ serving scenario-backed local portal APIs without requiring a live cloud deploy
for every iteration. Final verification still belongs on a real control-plane
instance, but local portal design work must not depend on redeploying
`cloud.pulserelay.pro` just to see each frontend change.
-That same frontend delivery boundary must keep the account portal visual language flat and 2D, avoiding gradients, heavy shadows, and decorative SaaS styling in favor of a clean, restrained Material baseline.
+That same frontend delivery boundary must keep the account portal visual language sharp and high-density, avoiding gradients, heavy shadows, and decorative SaaS styling in favor of a clean, restrained, Cloudflare/GCP-grade baseline.
That same shell framing also owns user-facing prerelease labeling for
rc-channel builds. `frontend-modern/src/AppLayout.tsx` may still key off the
canonical `rc` channel metadata internally, but the visible badge must frame
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.json
index 6938951327..991d1b3e5c 100644
--- a/internal/cloudcp/portal/dist/build_manifest.json
+++ b/internal/cloudcp/portal/dist/build_manifest.json
@@ -1,5 +1,5 @@
{
- "source_hash": "cf3bd31fad5b412fe2628e9fe834b1d693d86fbb4c34160ff53ad349b7d7fad0",
+ "source_hash": "3d561c476ffc92ececd90d210c8f5ed996fa80b027730c89566b95c9a46f707b",
"build_inputs": [
"package.json",
"tsconfig.json",
diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.css
index afcec70bb2..7a7c6b0be4 100644
--- a/internal/cloudcp/portal/dist/portal_app.css
+++ b/internal/cloudcp/portal/dist/portal_app.css
@@ -54,30 +54,35 @@
:root {
color-scheme: light;
--font-ui:
- "Roboto",
- "Segoe UI Variable Text",
+ "Inter",
+ -apple-system,
+ BlinkMacSystemFont,
"Segoe UI",
- "Helvetica Neue",
+ Roboto,
Helvetica,
Arial,
- sans-serif;
+ sans-serif,
+ "Apple Color Emoji",
+ "Segoe UI Emoji",
+ "Segoe UI Symbol";
--font-display:
- "Roboto",
- "Segoe UI Variable Display",
- "Segoe UI Variable Text",
- "Helvetica Neue",
+ "Inter",
+ -apple-system,
+ BlinkMacSystemFont,
+ "Segoe UI",
+ Roboto,
Helvetica,
Arial,
sans-serif;
- --bg: #edf2f6;
+ --bg: #f4f4f5;
--panel: #ffffff;
--panel-strong: #f7fafc;
--panel-muted: #eff4f8;
- --ink: #0f172a;
- --ink-soft: #475569;
- --ink-muted: #64748b;
- --line: #d9e2ec;
- --line-strong: #c1cdda;
+ --ink: #18181b;
+ --ink-soft: #52525b;
+ --ink-muted: #71717a;
+ --line: #e4e4e7;
+ --line-strong: #d4d4d8;
--accent: #0f766e;
--accent-strong: #115e59;
--accent-soft: #ccfbf1;
@@ -87,17 +92,17 @@
--danger-soft: #fee2e2;
--success: #166534;
--success-soft: #dcfce7;
- --nav-bg: #0b1120;
- --nav-line: #1e293b;
- --nav-copy: #94a3b8;
- --nav-ink: #f8fafc;
- --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
- --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.05);
- --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.06);
- --shadow-hover: 0 12px 24px rgba(15, 23, 42, 0.06);
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 16px;
+ --nav-bg: #ffffff;
+ --nav-line: #e2e8f0;
+ --nav-copy: #64748b;
+ --nav-ink: #0f172a;
+ --shadow-sm: none;
+ --shadow-md: none;
+ --shadow-lg: none;
+ --shadow-hover: none;
+ --radius-sm: 4px;
+ --radius-md: 6px;
+ --radius-lg: 8px;
}
* {
box-sizing: border-box;
@@ -164,38 +169,51 @@ header .logout-btn,
border: 1px solid var(--line-strong);
background: #fff;
color: var(--ink);
- border-radius: 8px;
- padding: 8px 12px;
+ border-radius: var(--radius-md);
+ padding: 6px 16px;
+ font-size: 14px;
+ font-weight: 500;
cursor: pointer;
transition:
border-color 140ms ease,
background 140ms ease,
box-shadow 140ms ease;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
}
header .logout-btn:hover,
.btn-secondary:hover,
.link-button:hover {
border-color: var(--line-strong);
- background: #ffffff;
- box-shadow: var(--shadow-sm);
+ background: #f4f4f5;
+ box-shadow: none;
}
.btn-primary {
- border-radius: 8px;
- padding: 10px 15px;
+ border-radius: var(--radius-md);
+ padding: 8px 16px;
+ font-size: 14px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
background: var(--accent);
color: #fff;
font-weight: 600;
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
cursor: pointer;
transition: background 140ms ease, box-shadow 140ms ease;
}
.btn-primary:hover {
background: var(--accent-strong);
- box-shadow: var(--shadow-md);
+ box-shadow: none;
}
.btn-danger {
- border-radius: 8px;
- padding: 10px 15px;
+ border-radius: var(--radius-md);
+ padding: 8px 16px;
+ font-size: 14px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
background: var(--danger-soft);
color: var(--danger);
font-weight: 600;
@@ -204,11 +222,12 @@ header .logout-btn:hover,
}
.btn-danger:hover {
background: #fecaca;
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
}
.btn-compact {
- padding: 9px 14px;
+ padding: 6px 12px;
font-size: 13px;
+ border-radius: var(--radius-sm);
}
.main {
max-width: 1480px;
@@ -219,9 +238,9 @@ header .logout-btn:hover,
display: block;
}
.portal-shell-head {
- padding: 16px 22px 14px;
+ padding: 24px 32px;
border-bottom: 1px solid var(--line);
- background: rgba(246, 248, 251, 0.96);
+ background: var(--bg);
}
.portal-shell-head-main {
display: flex;
@@ -232,9 +251,10 @@ header .logout-btn:hover,
.account-panel-kicker,
.billing-card-kicker,
.account-eyebrow {
- font-size: 11px;
- font-weight: 800;
- letter-spacing: 0.14em;
+ font-size: 12px;
+ font-weight: 600;
+ letter-spacing: 0.05em;
+ color: var(--ink-soft);
text-transform: uppercase;
}
.portal-shell-head-kicker,
@@ -327,36 +347,21 @@ header .logout-btn:hover,
background: #fff;
box-shadow: none;
transition: border-color 140ms ease, background 140ms ease;
- border-radius: 14px;
+ border-radius: var(--radius-lg);
}
.portal-shell-layout {
display: grid;
- grid-template-columns: 224px minmax(0, 1fr);
+ grid-template-columns: 256px minmax(0, 1fr);
gap: 0;
align-items: start;
- border: 1px solid var(--line);
- border-radius: 18px;
- background:
- linear-gradient(
- 180deg,
- rgba(251, 253, 255, 0.98),
- rgba(242, 246, 250, 0.98)),
- radial-gradient(
- circle at top right,
- rgba(15, 118, 110, 0.08),
- transparent 34%);
- box-shadow: 0 18px 38px rgba(15, 23, 42, 0.065);
- overflow: hidden;
+ background: var(--bg);
+ min-height: calc(100vh - 57px);
}
.portal-shell-nav {
position: static;
- min-height: 100%;
- border: none;
- border-right: 1px solid var(--nav-line);
- border-radius: 0;
- background: var(--nav-bg);
- box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
- overflow: hidden;
+ height: 100%;
+ border-right: 1px solid var(--line);
+ background: var(--panel);
}
.portal-shell-nav-header {
display: flex;
@@ -367,18 +372,17 @@ header .logout-btn:hover,
}
.portal-shell-nav-eyebrow {
font-size: 11px;
- font-weight: 800;
- letter-spacing: 0.14em;
+ font-weight: 600;
+ letter-spacing: 0.05em;
text-transform: uppercase;
- color: #78b6c0;
+ color: var(--ink-muted);
}
.portal-shell-nav-title {
- font-family: var(--font-display);
- font-size: 18px;
- line-height: 1.02;
- letter-spacing: -0.028em;
- font-weight: 720;
- color: var(--nav-ink);
+ font-family: var(--font-ui);
+ font-size: 16px;
+ line-height: 1.2;
+ font-weight: 600;
+ color: var(--ink);
}
.portal-shell-nav-support {
font-size: 11px;
@@ -397,37 +401,24 @@ header .logout-btn:hover,
flex-direction: column;
gap: 4px;
width: 100%;
- padding: 12px 12px 11px;
+ padding: 8px 12px;
border: 1px solid transparent;
- border-radius: 12px;
+ border-radius: var(--radius-md);
background: transparent;
text-align: left;
cursor: pointer;
- transition:
- background 140ms ease,
- color 140ms ease,
- border-color 140ms ease,
- transform 140ms ease,
- box-shadow 140ms ease;
+ transition: background 140ms ease, color 140ms ease;
}
.portal-shell-nav-link + .portal-shell-nav-link {
border-top: none;
}
.portal-shell-nav-link:hover {
- background: rgba(255, 255, 255, 0.06);
- border-color: rgba(143, 184, 191, 0.12);
- transform: translateX(1px);
+ background: var(--panel-muted);
+ border-color: transparent;
}
.portal-shell-nav-link.active {
- background:
- linear-gradient(
- 180deg,
- rgba(120, 182, 192, 0.22),
- rgba(120, 182, 192, 0.12)),
- rgba(255, 255, 255, 0.02);
- border-color: rgba(120, 182, 192, 0.28);
- box-shadow: inset 3px 0 0 #78b6c0, 0 8px 18px rgba(3, 8, 18, 0.14);
- transform: translateX(2px);
+ background: var(--panel-muted);
+ border-color: transparent;
}
.portal-shell-nav-row {
display: flex;
@@ -445,21 +436,19 @@ header .logout-btn:hover,
display: inline-flex;
align-items: center;
justify-content: center;
- min-width: 22px;
- height: 18px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.06);
- color: #8fb8bf;
- font-size: 9px;
- font-weight: 900;
- letter-spacing: 0.12em;
+ min-width: 20px;
+ height: 20px;
+ border-radius: var(--radius-md);
+ background: var(--panel-strong);
+ color: var(--ink-muted);
+ font-size: 11px;
+ font-weight: 600;
}
.portal-shell-nav-label {
display: block;
- font-size: 13px;
- font-weight: 700;
- letter-spacing: -0.01em;
- color: var(--nav-ink);
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--ink);
}
.portal-shell-nav-badge {
display: inline-flex;
@@ -467,13 +456,13 @@ header .logout-btn:hover,
min-height: 20px;
padding: 0 7px;
border-radius: 999px;
- border: 1px solid rgba(255, 255, 255, 0.08);
- background: rgba(255, 255, 255, 0.04);
+ background: var(--panel);
+ border: 1px solid var(--line);
font-size: 10px;
- font-weight: 800;
+ font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
- color: rgba(225, 232, 240, 0.92);
+ color: var(--ink-muted);
white-space: nowrap;
}
.portal-shell-nav-copy {
@@ -483,27 +472,18 @@ header .logout-btn:hover,
color: var(--nav-copy);
}
.portal-shell-nav-link.active .portal-shell-nav-badge {
- border-color: rgba(120, 182, 192, 0.28);
- background: rgba(120, 182, 192, 0.16);
- color: #dff6fa;
+ background: #e0f2fe;
+ color: #0284c7;
+ border-color: transparent;
}
.portal-shell-nav-link.active .portal-shell-nav-index {
- background: rgba(120, 182, 192, 0.22);
- color: #e7fbff;
+ background: transparent;
+ color: var(--ink);
}
.portal-shell-main {
min-width: 0;
- padding: 0 0 24px;
- background:
- linear-gradient(
- 180deg,
- #fafcfe 0%,
- #f3f7fa 44%,
- #f6f9fb 100%),
- radial-gradient(
- circle at top right,
- rgba(15, 118, 110, 0.06),
- transparent 32%);
+ padding: 0 0 32px;
+ background: var(--bg);
}
.portal-shell-main > .portal-content-panel {
display: none !important;
@@ -513,18 +493,9 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1fr) auto;
gap: 16px;
align-items: start;
- padding: 16px 18px 15px;
+ padding: 24px 32px 24px;
border-bottom: 1px solid var(--line);
- background:
- linear-gradient(
- 180deg,
- rgba(255, 255, 255, 0.9),
- rgba(248, 251, 253, 0.88)),
- radial-gradient(
- circle at top right,
- rgba(15, 118, 110, 0.08),
- transparent 32%);
- backdrop-filter: blur(8px);
+ background: var(--panel);
}
.portal-account-context-copy {
display: flex;
@@ -580,9 +551,9 @@ header .logout-btn:hover,
flex-wrap: wrap;
padding: 4px;
border: 1px solid var(--line);
- border-radius: 14px;
+ border-radius: var(--radius-lg);
background: rgba(255, 255, 255, 0.74);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
+ box-shadow: none;
}
.portal-account-context-stat {
display: flex;
@@ -653,19 +624,18 @@ header .logout-btn:hover,
.portal-top-section-header h2,
.billing-header h2 {
margin: 4px 0 0;
- font-family: var(--font-display);
- font-size: clamp(1.34rem, 1.7vw, 1.72rem);
- line-height: 1.02;
- letter-spacing: -0.03em;
- font-weight: 720;
+ font-family: var(--font-ui);
+ font-size: 24px;
+ line-height: 1.2;
+ font-weight: 600;
}
.portal-top-section-header p,
.billing-note {
margin: 6px 0 0;
- font-size: 12px;
- line-height: 1.42;
+ font-size: 14px;
+ line-height: 1.5;
color: var(--ink-soft);
- max-width: 520px;
+ max-width: 600px;
}
.billing-header {
display: flex;
@@ -701,16 +671,14 @@ header .logout-btn:hover,
.account-context-chip {
display: inline-flex;
align-items: center;
- min-height: 26px;
- padding: 0 10px;
+ min-height: 24px;
+ padding: 0 8px;
border: 1px solid var(--line);
- border-radius: 999px;
- background: #fbfcfd;
+ border-radius: var(--radius-sm);
+ background: var(--panel-muted);
color: var(--ink-soft);
- font-size: 11px;
- font-weight: 800;
- letter-spacing: 0.08em;
- text-transform: uppercase;
+ font-size: 12px;
+ font-weight: 500;
}
.workspace-actions {
justify-content: flex-end;
@@ -753,7 +721,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
background: var(--panel);
border-radius: var(--radius-lg);
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.account-overview-card:hover,
@@ -761,7 +729,7 @@ header .logout-btn:hover,
.workspace-row:hover,
.billing-card:hover {
transform: none;
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
}
.account-overview-card,
.account-stat-card,
@@ -771,7 +739,7 @@ header .logout-btn:hover,
.billing-panel,
.access-roster,
.access-invite-panel {
- padding: 14px;
+ padding: 24px;
}
.account-overview-card h3,
.account-stage-header h3,
@@ -781,11 +749,10 @@ header .logout-btn:hover,
.billing-panel h3,
.billing-panel .subsection h4 {
margin: 8px 0 0;
- font-family: var(--font-display);
- font-size: 18px;
- line-height: 1.08;
- letter-spacing: -0.022em;
- font-weight: 710;
+ font-family: var(--font-ui);
+ font-size: 16px;
+ font-weight: 600;
+ color: var(--ink);
}
.account-overview-card p,
.account-stage-header p,
@@ -832,7 +799,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
border-radius: var(--radius-lg);
background: var(--panel);
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
}
.overview-task-card h4,
.billing-task-card h3 {
@@ -853,18 +820,10 @@ header .logout-btn:hover,
color: var(--ink-soft);
}
.overview-task-card-attention {
- background:
- linear-gradient(
- 180deg,
- #fff7ed,
- #ffffff 62%);
+ background: var(--panel);
}
.overview-task-card-next {
- background:
- linear-gradient(
- 180deg,
- #ecfeff,
- #ffffff 62%);
+ background: var(--panel);
}
.billing-task-card-muted {
background: var(--panel-strong);
@@ -962,11 +921,7 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
gap: 14px;
align-items: start;
- background:
- linear-gradient(
- 180deg,
- rgba(250, 252, 253, 0.98),
- rgba(245, 248, 251, 0.98));
+ background: var(--panel);
}
.account-overview-lead {
display: flex;
@@ -1033,11 +988,7 @@ header .logout-btn:hover,
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 12px;
- background:
- linear-gradient(
- 180deg,
- rgba(252, 253, 254, 0.98),
- rgba(246, 249, 252, 0.98));
+ background: var(--panel);
}
.account-overview-metrics-header {
margin-top: 12px;
@@ -1102,7 +1053,7 @@ header .logout-btn:hover,
justify-content: space-between;
gap: 18px;
grid-column: 1 / -1;
- padding: 14px;
+ padding: 24px;
background: var(--panel);
border-radius: var(--radius-lg);
box-shadow: none;
@@ -1123,7 +1074,7 @@ header .logout-btn:hover,
grid-column: 1 / -1;
}
.overview-side-card {
- padding: 14px;
+ padding: 24px;
border: 1px solid var(--line);
border-radius: 12px;
background: #fcfcfd;
@@ -1286,12 +1237,8 @@ header .logout-btn:hover,
gap: 5px;
padding: 12px 14px;
border: 1px solid var(--line);
- border-radius: 14px;
- background:
- linear-gradient(
- 180deg,
- #fdfefe 0%,
- #f5f9fa 100%);
+ border-radius: var(--radius-lg);
+ background: var(--panel);
}
.portal-support-brief-card strong {
font-size: 11px;
@@ -1322,11 +1269,7 @@ header .logout-btn:hover,
padding: 16px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
- background:
- linear-gradient(
- 180deg,
- #fcfdfd 0%,
- #f7fafb 100%);
+ background: var(--panel);
}
.portal-support-route-card h3 {
margin: 0;
@@ -1372,11 +1315,7 @@ header .logout-btn:hover,
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: 12px;
- background:
- linear-gradient(
- 180deg,
- #ffffff 0%,
- #f6f9fb 100%);
+ background: var(--panel);
}
.portal-support-runbook-brief-card strong {
font-size: 11px;
@@ -1415,11 +1354,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
border-left: 2px solid rgba(15, 118, 110, 0.18);
border-radius: 12px;
- background:
- linear-gradient(
- 180deg,
- #ffffff 0%,
- #f7fbfc 100%);
+ background: var(--panel);
}
.portal-support-handoff-note strong {
font-size: 11px;
@@ -1535,11 +1470,7 @@ header .logout-btn:hover,
padding: 12px;
border: 1px solid var(--line);
border-radius: 12px;
- background:
- linear-gradient(
- 180deg,
- #fafcfd 0%,
- #f5f8fb 100%);
+ background: var(--panel);
box-shadow: none;
}
.workspace-list-toolbar {
@@ -1597,7 +1528,7 @@ header .logout-btn:hover,
position: relative;
border-color: rgba(11, 106, 114, 0.34);
background: #eef8fa;
- box-shadow: inset 4px 0 0 var(--accent), 0 0 0 1px rgba(11, 106, 114, 0.12);
+ box-shadow: none;
}
.workspace-row.selected .workspace-name {
color: var(--accent-strong);
@@ -1706,11 +1637,11 @@ header .logout-btn:hover,
position: static;
}
.workspace-management-panel {
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
}
.workspace-management-panel.visible,
.access-section.visible .access-management-panel {
- box-shadow: var(--shadow-md);
+ box-shadow: none;
}
.workspace-management-panel {
background: #fff;
@@ -1821,7 +1752,7 @@ header .logout-btn:hover,
color: var(--ink);
}
.workspace-management-guidance {
- padding: 14px;
+ padding: 24px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
@@ -1956,7 +1887,7 @@ header .logout-btn:hover,
min-width: 0;
}
.access-management-panel {
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
}
.access-roster,
.access-invite-panel,
@@ -1982,7 +1913,7 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 12px;
- padding: 14px;
+ padding: 24px;
border: 1px solid var(--line);
border-radius: 12px;
}
@@ -1999,7 +1930,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
- padding: 14px;
+ padding: 24px;
}
.access-review-strip {
display: flex;
@@ -2008,7 +1939,7 @@ header .logout-btn:hover,
padding-top: 2px;
}
.access-review-shell {
- padding: 14px;
+ padding: 24px;
border: 1px solid var(--line);
border-radius: 12px;
background: #fff;
@@ -2195,7 +2126,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
border-radius: 12px;
background: #f8fbfd;
- box-shadow: inset 0 0 0 1px rgba(11, 106, 114, 0.04);
+ box-shadow: none;
}
.access-list-message-title {
font-size: 16px;
@@ -2211,7 +2142,7 @@ header .logout-btn:hover,
.access-list-message.error {
border-color: rgba(166, 27, 27, 0.18);
background: var(--danger-soft);
- box-shadow: inset 4px 0 0 rgba(166, 27, 27, 0.26);
+ box-shadow: none;
}
.access-list-message.error .access-list-message-title,
.access-list-message.error .access-list-message-copy {
@@ -2456,11 +2387,7 @@ header .logout-btn:hover,
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 12px;
- background:
- linear-gradient(
- 180deg,
- #fbfdfd 0%,
- #f5faf9 100%);
+ background: var(--panel);
}
.billing-empty-intro-item strong {
font-size: 11px;
@@ -2520,7 +2447,7 @@ header .logout-btn:hover,
.billing-action-row.active {
border-color: rgba(15, 109, 115, 0.28);
background: #f8fbfd;
- box-shadow: inset 3px 0 0 rgba(15, 109, 115, 0.62);
+ box-shadow: none;
}
.billing-action-main {
display: flex;
@@ -2707,7 +2634,7 @@ header .logout-btn:hover,
}
.billing-panel .warning {
margin-bottom: 14px;
- padding: 14px;
+ padding: 24px;
border-radius: var(--radius-sm);
background: var(--warn-soft);
color: var(--warn);
@@ -2726,7 +2653,7 @@ header .logout-btn:hover,
.billing-status {
display: none;
margin-top: 14px;
- padding: 14px;
+ padding: 24px;
border-radius: var(--radius-sm);
font-size: 14px;
line-height: 1.6;
@@ -2829,10 +2756,10 @@ header .logout-btn:hover,
display: none;
max-width: 340px;
padding: 14px 18px;
- border-radius: 14px;
+ border-radius: var(--radius-lg);
background: #15242c;
color: #fff;
- box-shadow: var(--shadow-md);
+ box-shadow: none;
}
.toast.visible {
display: block;
@@ -2888,7 +2815,13 @@ header .logout-btn:hover,
grid-template-columns: 1fr;
}
.portal-account-context {
- grid-template-columns: 1fr;
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) auto;
+ gap: 16px;
+ align-items: start;
+ padding: 24px 32px 24px;
+ border-bottom: 1px solid var(--line);
+ background: var(--panel);
}
.portal-account-context-summary {
grid-template-columns: 1fr;
@@ -2982,7 +2915,7 @@ header .logout-btn:hover,
transform: none;
}
.portal-shell-nav-link.active {
- box-shadow: inset 0 -2px 0 #78b6c0, 0 8px 18px rgba(3, 8, 18, 0.14);
+ box-shadow: none;
}
.intro-card,
.billing-panel {
@@ -2995,9 +2928,13 @@ header .logout-btn:hover,
padding-right: 16px;
}
.portal-account-context {
- gap: 10px;
- padding-top: 10px;
- padding-bottom: 10px;
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) auto;
+ gap: 16px;
+ align-items: start;
+ padding: 24px 32px 24px;
+ border-bottom: 1px solid var(--line);
+ background: var(--panel);
}
.portal-account-context-copy {
gap: 4px;
diff --git a/internal/cloudcp/portal/frontend/src/shell_view.test.ts b/internal/cloudcp/portal/frontend/src/shell_view.test.ts
index bd77404fe3..b817c5028f 100644
--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts
+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts
@@ -715,7 +715,7 @@ describe('shell view', function() {
expect(html).toContain('Suspended stays parked');
});
- it('preserves the flat design class hooks in the rendered shell', function() {
+ it('preserves the high-density grid and standard sidebar hooks in the rendered shell', function() {
var html = renderAuthenticatedPortalHTML(createContext());
expect(html).toContain('portal-shell-layout');
});
diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.css
index b5714956e1..2ff8ac6245 100644
--- a/internal/cloudcp/portal/frontend/src/styles.css
+++ b/internal/cloudcp/portal/frontend/src/styles.css
@@ -18,17 +18,17 @@
:root {
color-scheme: light;
- --font-ui: "Roboto", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
- --font-display: "Roboto", "Segoe UI Variable Display", "Segoe UI Variable Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
- --bg: #f8f9fa;
+ --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
+ --bg: #f4f4f5;
--panel: #ffffff;
--panel-strong: #f7fafc;
--panel-muted: #eff4f8;
- --ink: #0f172a;
- --ink-soft: #475569;
- --ink-muted: #64748b;
- --line: #d9e2ec;
- --line-strong: #c1cdda;
+ --ink: #18181b;
+ --ink-soft: #52525b;
+ --ink-muted: #71717a;
+ --line: #e4e4e7;
+ --line-strong: #d4d4d8;
--accent: #0f766e;
--accent-strong: #115e59;
--accent-soft: #ccfbf1;
@@ -38,7 +38,7 @@
--danger-soft: #fee2e2;
--success: #166534;
--success-soft: #dcfce7;
- --nav-bg: #f8f9fa;
+ --nav-bg: #ffffff;
--nav-line: #e2e8f0;
--nav-copy: #64748b;
--nav-ink: #0f172a;
@@ -47,8 +47,8 @@
--shadow-lg: none;
--shadow-hover: none;
--radius-sm: 4px;
- --radius-md: 8px;
- --radius-lg: 12px;
+ --radius-md: 6px;
+ --radius-lg: 8px;
}
* { box-sizing: border-box; }
@@ -121,23 +121,32 @@ header .logout-btn,
border: 1px solid var(--line-strong);
background: #fff;
color: var(--ink);
- border-radius: 8px;
- padding: 8px 12px;
+ border-radius: var(--radius-md);
+ padding: 6px 16px;
+ font-size: 14px;
+ font-weight: 500;
cursor: pointer;
transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
}
header .logout-btn:hover,
.btn-secondary:hover,
.link-button:hover {
border-color: var(--line-strong);
- background: #ffffff;
+ background: #f4f4f5;
box-shadow: none;
}
.btn-primary {
- border-radius: 8px;
- padding: 10px 15px;
+ border-radius: var(--radius-md);
+ padding: 8px 16px;
+ font-size: 14px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
background: var(--accent);
color: #fff;
font-weight: 600;
@@ -152,8 +161,12 @@ header .logout-btn:hover,
}
.btn-danger {
- border-radius: 8px;
- padding: 10px 15px;
+ border-radius: var(--radius-md);
+ padding: 8px 16px;
+ font-size: 14px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
background: var(--danger-soft);
color: var(--danger);
font-weight: 600;
@@ -167,8 +180,9 @@ header .logout-btn:hover,
}
.btn-compact {
- padding: 9px 14px;
+ padding: 6px 12px;
font-size: 13px;
+ border-radius: var(--radius-sm);
}
.main {
@@ -193,9 +207,10 @@ header .logout-btn:hover,
.account-panel-kicker,
.billing-card-kicker,
.account-eyebrow {
- font-size: 11px;
- font-weight: 800;
- letter-spacing: 0.14em;
+ font-size: 12px;
+ font-weight: 600;
+ letter-spacing: 0.05em;
+ color: var(--ink-soft);
text-transform: uppercase;
}
@@ -305,27 +320,18 @@ header .logout-btn:hover,
.portal-shell-layout {
display: grid;
- grid-template-columns: 224px minmax(0, 1fr);
+ grid-template-columns: 256px minmax(0, 1fr);
gap: 0;
align-items: start;
- border: 1px solid var(--line);
- border-radius: 18px;
- background: #ffffff;
- box-shadow: none;
-border-radius: 0;
-border: none;
- overflow: hidden;
+ background: var(--bg);
+ min-height: calc(100vh - 57px);
}
.portal-shell-nav {
position: static;
- min-height: 100%;
- border: none;
- border-right: 1px solid var(--nav-line);
- border-radius: 0;
- background: var(--nav-bg);
- box-shadow: none;
- overflow: hidden;
+ height: 100%;
+ border-right: 1px solid var(--line);
+ background: var(--panel);
}
.portal-shell-nav-header {
@@ -338,19 +344,18 @@ border: none;
.portal-shell-nav-eyebrow {
font-size: 11px;
- font-weight: 800;
- letter-spacing: 0.14em;
+ font-weight: 600;
+ letter-spacing: 0.05em;
text-transform: uppercase;
- color: #78b6c0;
+ color: var(--ink-muted);
}
.portal-shell-nav-title {
- font-family: var(--font-display);
- font-size: 18px;
- line-height: 1.02;
- letter-spacing: -0.028em;
- font-weight: 720;
- color: var(--nav-ink);
+ font-family: var(--font-ui);
+ font-size: 16px;
+ line-height: 1.2;
+ font-weight: 600;
+ color: var(--ink);
}
.portal-shell-nav-support {
@@ -372,13 +377,13 @@ border: none;
flex-direction: column;
gap: 4px;
width: 100%;
- padding: 12px 12px 11px;
+ padding: 8px 12px;
border: 1px solid transparent;
- border-radius: 12px;
+ border-radius: var(--radius-md);
background: transparent;
text-align: left;
cursor: pointer;
- transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
+ transition: background 140ms ease, color 140ms ease;
}
.portal-shell-nav-link + .portal-shell-nav-link {
@@ -387,15 +392,12 @@ border: none;
.portal-shell-nav-link:hover {
background: var(--panel-muted);
- border-color: var(--line);
- transform: none;
+ border-color: transparent;
}
.portal-shell-nav-link.active {
background: var(--panel-muted);
- border-color: var(--line);
- box-shadow: none;
- transform: translateX(2px);
+ border-color: transparent;
}
.portal-shell-nav-row {
@@ -416,22 +418,20 @@ border: none;
display: inline-flex;
align-items: center;
justify-content: center;
- min-width: 22px;
- height: 18px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.06);
- color: #8fb8bf;
- font-size: 9px;
- font-weight: 900;
- letter-spacing: 0.12em;
+ min-width: 20px;
+ height: 20px;
+ border-radius: var(--radius-md);
+ background: var(--panel-strong);
+ color: var(--ink-muted);
+ font-size: 11px;
+ font-weight: 600;
}
.portal-shell-nav-label {
display: block;
- font-size: 13px;
- font-weight: 700;
- letter-spacing: -0.01em;
- color: var(--nav-ink);
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--ink);
}
.portal-shell-nav-badge { display: inline-flex; align-items: center; min-height: 20px; padding: 0 7px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
@@ -601,20 +601,19 @@ border: none;
.portal-top-section-header h2,
.billing-header h2 {
margin: 4px 0 0;
- font-family: var(--font-display);
- font-size: clamp(1.34rem, 1.7vw, 1.72rem);
- line-height: 1.02;
- letter-spacing: -0.03em;
- font-weight: 720;
+ font-family: var(--font-ui);
+ font-size: 24px;
+ line-height: 1.2;
+ font-weight: 600;
}
.portal-top-section-header p,
.billing-note {
margin: 6px 0 0;
- font-size: 12px;
- line-height: 1.42;
+ font-size: 14px;
+ line-height: 1.5;
color: var(--ink-soft);
- max-width: 520px;
+ max-width: 600px;
}
.billing-header {
@@ -656,16 +655,14 @@ border: none;
.account-context-chip {
display: inline-flex;
align-items: center;
- min-height: 26px;
- padding: 0 10px;
+ min-height: 24px;
+ padding: 0 8px;
border: 1px solid var(--line);
- border-radius: 999px;
- background: #fbfcfd;
+ border-radius: var(--radius-sm);
+ background: var(--panel-muted);
color: var(--ink-soft);
- font-size: 11px;
- font-weight: 800;
- letter-spacing: 0.08em;
- text-transform: uppercase;
+ font-size: 12px;
+ font-weight: 500;
}
.workspace-actions {
@@ -746,11 +743,10 @@ border: none;
.billing-panel h3,
.billing-panel .subsection h4 {
margin: 8px 0 0;
- font-family: var(--font-display);
- font-size: 18px;
- line-height: 1.08;
- letter-spacing: -0.022em;
- font-weight: 710;
+ font-family: var(--font-ui);
+ font-size: 16px;
+ font-weight: 600;
+ color: var(--ink);
}
.account-overview-card p,