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): tighten operator surface density

rcourtman52b10813a81b
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.json
index 284fb518ce..c296a986ee 100644
--- a/internal/cloudcp/portal/dist/build_manifest.json
+++ b/internal/cloudcp/portal/dist/build_manifest.json
@@ -1,5 +1,5 @@
{
- "source_hash": "0c49bc95cb51e46024b02182e86f0642d66b924ca635b0f9b325557b462230e1",
+ "source_hash": "3d04bce10b6022f46b3aa45b4712c36dc8f9e65a86047dc0bc01184af1e88819",
"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 0e4d8b9cb9..b6b647a157 100644
--- a/internal/cloudcp/portal/dist/portal_app.css
+++ b/internal/cloudcp/portal/dist/portal_app.css
@@ -471,7 +471,7 @@ header .logout-btn:hover,
gap: 26px;
}
.portal-content-panel {
- padding: 18px 24px 0;
+ padding: 14px 18px 0;
}
.portal-top-section,
.service-section {
@@ -587,8 +587,8 @@ header .logout-btn:hover,
.account-stat-card:hover,
.workspace-row:hover,
.service-card:hover {
- transform: translateY(-2px);
- box-shadow: var(--shadow-md);
+ transform: none;
+ box-shadow: var(--shadow-sm);
}
.account-overview-card,
.account-stat-card,
@@ -845,9 +845,9 @@ header .logout-btn:hover,
.portal-support-panel {
border: 1px solid var(--line);
border-radius: var(--radius-lg);
- padding: 18px 20px;
- background: var(--panel);
- box-shadow: var(--shadow-sm);
+ padding: 16px 18px;
+ background: #fff;
+ box-shadow: none;
}
.portal-support-panel h2 {
margin: 8px 0 0;
@@ -869,10 +869,10 @@ header .logout-btn:hover,
margin-top: 20px;
}
.portal-support-card {
- padding: 18px;
+ padding: 16px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
- background: var(--panel-muted);
+ background: #fbfcfd;
}
.portal-support-card h3 {
margin: 0;
@@ -924,19 +924,19 @@ header .logout-btn:hover,
.workspace-list-wrap {
display: flex;
flex-direction: column;
- gap: 10px;
- padding: 14px;
+ gap: 8px;
+ padding: 10px 12px 12px;
border: 1px solid var(--line);
- border-radius: 14px;
- background: #fff;
- box-shadow: var(--shadow-sm);
+ border-radius: 12px;
+ background: #fbfcfd;
+ box-shadow: none;
}
.workspace-list-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
- padding: 2px 0 12px;
+ padding: 0 2px 10px;
border-bottom: 1px solid var(--line);
}
.workspace-list-summary {
@@ -972,7 +972,7 @@ header .logout-btn:hover,
display: grid;
grid-template-columns: minmax(0, 1.8fr) 132px 132px 176px;
gap: 14px;
- padding: 2px 16px 6px;
+ padding: 2px 14px 4px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.12em;
@@ -984,7 +984,7 @@ header .logout-btn:hover,
flex-direction: column;
gap: 0;
border: 1px solid var(--line);
- border-radius: 12px;
+ border-radius: 10px;
background: #fff;
overflow: hidden;
}
@@ -993,19 +993,16 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1.8fr) 132px 132px 176px;
gap: 14px;
align-items: center;
- padding: 14px 16px;
+ padding: 11px 14px;
background: #fff;
border-top: 1px solid var(--line);
- transition:
- border-color 140ms ease,
- background 140ms ease,
- box-shadow 140ms ease;
+ transition: border-color 140ms ease, background 140ms ease;
}
.workspace-row:first-child {
border-top: none;
}
.workspace-row:hover {
- background: #fbfcfe;
+ background: #f8fbfd;
}
.workspace-row.selected {
position: relative;
@@ -1022,13 +1019,13 @@ header .logout-btn:hover,
.workspace-row-primary {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: 6px;
min-width: 0;
}
.workspace-row-heading {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: 4px;
}
.workspace-name,
.workspace-management-content h4,
@@ -1046,8 +1043,8 @@ header .logout-btn:hover,
.workspace-meta-item {
display: inline-flex;
align-items: center;
- min-height: 24px;
- padding: 0 9px;
+ min-height: 22px;
+ padding: 0 8px;
border-radius: 999px;
background: #f1f5f8;
font-size: 11px;
@@ -1056,8 +1053,8 @@ header .logout-btn:hover,
.workspace-row-note,
.workspace-management-summary {
margin: 0;
- font-size: 12px;
- line-height: 1.5;
+ font-size: 11px;
+ line-height: 1.45;
color: var(--ink-soft);
}
.workspace-row-status-cell {
@@ -1120,9 +1117,9 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 10px;
- padding: 14px;
+ padding: 12px;
border-radius: var(--radius-sm);
- background: var(--panel-muted);
+ background: #f7fafc;
color: var(--ink-soft);
}
.workspace-management-empty-copy {
@@ -1139,9 +1136,9 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 8px;
- padding: 12px;
+ padding: 11px;
border: 1px solid var(--line);
- border-radius: 12px;
+ border-radius: 10px;
background: #fff;
}
.workspace-management-empty-card h4 {
@@ -1157,7 +1154,7 @@ header .logout-btn:hover,
color: var(--ink-soft);
}
.workspace-management-empty-card-muted {
- background: var(--panel-muted);
+ background: #fbfcfd;
}
.workspace-management-empty-list {
margin: 0;
@@ -1632,24 +1629,24 @@ header .logout-btn:hover,
.service-shell {
display: grid;
grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
- gap: 16px;
+ gap: 12px;
align-items: start;
- padding: 16px;
+ padding: 12px;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
- background: #eef3f7;
+ background: #f7fafc;
}
.service-shell-main,
.service-shell-sidebar {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: 8px;
}
.service-shell-sidebar-head,
.service-inline-support {
- padding: 14px 16px;
+ padding: 12px 14px;
border: 1px solid var(--line);
- border-radius: 12px;
+ border-radius: 10px;
background: #fff;
}
.service-shell-sidebar-head h3 {
@@ -1669,7 +1666,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: #fff;
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
overflow: hidden;
}
.service-brief-card {
@@ -1720,14 +1717,11 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
- padding: 12px 14px;
+ padding: 10px 12px;
border: none;
border-top: 1px solid var(--line);
background: #fff;
- transition:
- border-color 140ms ease,
- box-shadow 140ms ease,
- transform 140ms ease;
+ transition: border-color 140ms ease, background 140ms ease;
}
.service-action-row:first-child {
border-top: none;
@@ -1735,7 +1729,7 @@ header .logout-btn:hover,
.service-action-row:hover,
.service-action-row.active {
border-color: rgba(15, 109, 115, 0.28);
- box-shadow: 0 10px 24px rgba(10, 25, 41, 0.08);
+ background: #f8fbfd;
}
.service-action-main {
display: flex;
@@ -1804,7 +1798,7 @@ header .logout-btn:hover,
min-width: 86px;
}
.service-panel {
- padding: 18px;
+ padding: 16px;
border-radius: var(--radius-md);
background: #fff;
}
diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.css
index 60d563afe4..47a2fe0dc4 100644
--- a/internal/cloudcp/portal/frontend/src/styles.css
+++ b/internal/cloudcp/portal/frontend/src/styles.css
@@ -504,7 +504,7 @@ header .logout-btn:hover,
}
.portal-content-panel {
- padding: 18px 24px 0;
+ padding: 14px 18px 0;
}
.portal-top-section,
@@ -637,8 +637,8 @@ header .logout-btn:hover,
.account-stat-card:hover,
.workspace-row:hover,
.service-card:hover {
- transform: translateY(-2px);
- box-shadow: var(--shadow-md);
+ transform: none;
+ box-shadow: var(--shadow-sm);
}
.account-overview-card,
@@ -930,9 +930,9 @@ header .logout-btn:hover,
.portal-support-panel {
border: 1px solid var(--line);
border-radius: var(--radius-lg);
- padding: 18px 20px;
- background: var(--panel);
- box-shadow: var(--shadow-sm);
+ padding: 16px 18px;
+ background: #fff;
+ box-shadow: none;
}
.portal-support-panel h2 {
@@ -958,10 +958,10 @@ header .logout-btn:hover,
}
.portal-support-card {
- padding: 18px;
+ padding: 16px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
- background: var(--panel-muted);
+ background: #fbfcfd;
}
.portal-support-card h3 {
@@ -1022,12 +1022,12 @@ header .logout-btn:hover,
.workspace-list-wrap {
display: flex;
flex-direction: column;
- gap: 10px;
- padding: 14px;
+ gap: 8px;
+ padding: 10px 12px 12px;
border: 1px solid var(--line);
- border-radius: 14px;
- background: #fff;
- box-shadow: var(--shadow-sm);
+ border-radius: 12px;
+ background: #fbfcfd;
+ box-shadow: none;
}
.workspace-list-toolbar {
@@ -1035,7 +1035,7 @@ header .logout-btn:hover,
align-items: center;
justify-content: space-between;
gap: 16px;
- padding: 2px 0 12px;
+ padding: 0 2px 10px;
border-bottom: 1px solid var(--line);
}
@@ -1077,7 +1077,7 @@ header .logout-btn:hover,
display: grid;
grid-template-columns: minmax(0, 1.8fr) 132px 132px 176px;
gap: 14px;
- padding: 2px 16px 6px;
+ padding: 2px 14px 4px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.12em;
@@ -1090,7 +1090,7 @@ header .logout-btn:hover,
flex-direction: column;
gap: 0;
border: 1px solid var(--line);
- border-radius: 12px;
+ border-radius: 10px;
background: #fff;
overflow: hidden;
}
@@ -1100,10 +1100,10 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1.8fr) 132px 132px 176px;
gap: 14px;
align-items: center;
- padding: 14px 16px;
+ padding: 11px 14px;
background: #fff;
border-top: 1px solid var(--line);
- transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
+ transition: border-color 140ms ease, background 140ms ease;
}
.workspace-row:first-child {
@@ -1111,7 +1111,7 @@ header .logout-btn:hover,
}
.workspace-row:hover {
- background: #fbfcfe;
+ background: #f8fbfd;
}
.workspace-row.selected {
@@ -1132,14 +1132,14 @@ header .logout-btn:hover,
.workspace-row-primary {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: 6px;
min-width: 0;
}
.workspace-row-heading {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: 4px;
}
.workspace-name,
@@ -1160,8 +1160,8 @@ header .logout-btn:hover,
.workspace-meta-item {
display: inline-flex;
align-items: center;
- min-height: 24px;
- padding: 0 9px;
+ min-height: 22px;
+ padding: 0 8px;
border-radius: 999px;
background: #f1f5f8;
font-size: 11px;
@@ -1171,8 +1171,8 @@ header .logout-btn:hover,
.workspace-row-note,
.workspace-management-summary {
margin: 0;
- font-size: 12px;
- line-height: 1.5;
+ font-size: 11px;
+ line-height: 1.45;
color: var(--ink-soft);
}
@@ -1245,9 +1245,9 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 10px;
- padding: 14px;
+ padding: 12px;
border-radius: var(--radius-sm);
- background: var(--panel-muted);
+ background: #f7fafc;
color: var(--ink-soft);
}
@@ -1267,9 +1267,9 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 8px;
- padding: 12px;
+ padding: 11px;
border: 1px solid var(--line);
- border-radius: 12px;
+ border-radius: 10px;
background: #fff;
}
@@ -1288,7 +1288,7 @@ header .logout-btn:hover,
}
.workspace-management-empty-card-muted {
- background: var(--panel-muted);
+ background: #fbfcfd;
}
.workspace-management-empty-list {
@@ -1836,26 +1836,26 @@ header .logout-btn:hover,
.service-shell {
display: grid;
grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
- gap: 16px;
+ gap: 12px;
align-items: start;
- padding: 16px;
+ padding: 12px;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
- background: #eef3f7;
+ background: #f7fafc;
}
.service-shell-main,
.service-shell-sidebar {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: 8px;
}
.service-shell-sidebar-head,
.service-inline-support {
- padding: 14px 16px;
+ padding: 12px 14px;
border: 1px solid var(--line);
- border-radius: 12px;
+ border-radius: 10px;
background: #fff;
}
@@ -1878,7 +1878,7 @@ header .logout-btn:hover,
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: #fff;
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
overflow: hidden;
}
@@ -1937,11 +1937,11 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
- padding: 12px 14px;
+ padding: 10px 12px;
border: none;
border-top: 1px solid var(--line);
background: #fff;
- transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
+ transition: border-color 140ms ease, background 140ms ease;
}
.service-action-row:first-child {
@@ -1951,7 +1951,7 @@ header .logout-btn:hover,
.service-action-row:hover,
.service-action-row.active {
border-color: rgba(15, 109, 115, 0.28);
- box-shadow: 0 10px 24px rgba(10, 25, 41, 0.08);
+ background: #f8fbfd;
}
.service-action-main {
@@ -2031,7 +2031,7 @@ header .logout-btn:hover,
}
.service-panel {
- padding: 18px;
+ padding: 16px;
border-radius: var(--radius-md);
background: #fff;
}