refine premium webui details

This commit is contained in:
Your Name committed 2026-06-01 14:32:31 +08:00
1 parent 204ed24c67
commit a6563c11f4
2 files changed
+44 -15

No files matched your search

+43 -14
View File
@@ -1032,8 +1032,8 @@ body {
position: static;
max-height: none;
padding: 0 8px;
border: 0;
border-bottom: 1px solid var(--border);
border: 0 !important;
border-bottom: 1px solid #e9edf5 !important;
border-radius: 0;
background: #ffffff;
box-shadow: none;
@@ -1059,7 +1059,7 @@ body {
height: 44px;
margin-top: 0;
padding: 0;
border: 0;
border: 0 !important;
border-radius: 0;
background: transparent;
overflow-x: auto;
@@ -1115,7 +1115,7 @@ body {
.overview {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-template-columns: minmax(120px, 0.92fr) minmax(150px, 1.18fr) minmax(120px, 0.92fr) minmax(120px, 0.92fr);
align-self: stretch;
align-content: start;
gap: 8px;
@@ -1157,8 +1157,8 @@ body {
right: 14px;
display: grid;
place-items: center;
width: 32px;
height: 32px;
width: 30px;
height: 30px;
border-radius: 50%;
color: #6657f5;
background: linear-gradient(135deg, #eeeaff, #ffffff);
@@ -1167,6 +1167,11 @@ body {
box-shadow: 0 8px 18px rgba(109, 93, 252, 0.14);
}
.premiumMetricIcon + .overviewValue,
.overviewValue:has(+ .premiumMetricIcon) {
max-width: calc(100% - 30px);
}
.premiumMetricIcon[data-tone="device"] {
color: #0ea5e9;
background: linear-gradient(135deg, #e6f6ff, #ffffff);
@@ -1185,9 +1190,12 @@ body {
.overviewValue {
margin-top: 6px;
color: #101936;
font-size: 22px;
max-width: 100%;
font-size: 19px;
font-weight: 800;
line-height: 1.05;
line-height: 1.1;
overflow-wrap: anywhere;
word-break: keep-all;
}
.overviewLabel {
@@ -1198,7 +1206,7 @@ body {
.overviewMeta {
color: #7a8496;
font-size: 10px;
font-size: 9.5px;
font-weight: 600;
}
@@ -2178,7 +2186,7 @@ body {
flex-wrap: wrap;
gap: 6px;
max-width: 100%;
font-size: 20px;
font-size: 19px;
font-weight: 800;
line-height: 1.12;
overflow-wrap: anywhere;
@@ -2360,14 +2368,35 @@ body {
}
.toastContainer {
right: 10px;
bottom: 56px;
left: 10px;
right: 14px;
bottom: max(12px, env(safe-area-inset-bottom));
left: auto;
max-width: none;
}
.toast {
grid-template-columns: 22px minmax(0, 1fr) 22px;
grid-template-columns: 18px minmax(0, 1fr) 18px;
width: min(260px, calc(100vw - 28px));
min-height: 44px;
padding: 9px 10px;
gap: 8px;
font-size: 12px;
}
.toastIcon {
width: 18px;
height: 18px;
flex-basis: 18px;
}
.toastIcon svg {
width: 12px;
height: 12px;
}
.toastClose {
width: 18px;
height: 18px;
}
.appFooter {
+1 -1
View File
@@ -21,7 +21,7 @@
<link rel="stylesheet" href="css/logs.css?v=console-20260531-split-css-3" />
<link rel="stylesheet" href="css/charts.css?v=console-20260531-split-css-3" />
<link rel="stylesheet" href="styles.css?v=console-20260531-split-css-3" />
<link rel="stylesheet" href="css/premium.css?v=console-20260601-goal-sweep-4" />
<link rel="stylesheet" href="css/premium.css?v=console-20260601-goal-sweep-5" />
</head>
<body>
<div class="app">