polish premium webui visuals

This commit is contained in:
Your Name committed 2026-06-01 13:45:07 +08:00
1 parent eea0c48a44
commit 60741369f2
3 files changed
+194 -15

No files matched your search

+157 -10
View File
@@ -874,8 +874,12 @@ body {
padding: 14px;
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 0;
background: #ffffff;
box-shadow: 0 28px 70px rgba(15, 23, 42, 0.13);
background:
linear-gradient(90deg, rgba(109, 93, 252, 0.028), transparent 26%, transparent 74%, rgba(15, 159, 142, 0.025)),
#ffffff;
box-shadow:
0 32px 80px rgba(15, 23, 42, 0.14),
0 1px 0 rgba(255, 255, 255, 0.86) inset;
overflow: hidden;
font-family: var(--font-ui);
}
@@ -893,6 +897,12 @@ body {
"footer";
}
:root:not([data-premium-panel="device"]) .app {
background:
linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(255, 255, 255, 0.98)),
#ffffff;
}
.header {
position: static;
display: flex;
@@ -1118,16 +1128,53 @@ body {
}
.overviewCard {
position: relative;
overflow: hidden;
min-height: 78px;
padding: 11px 12px;
border-color: #edf0f6;
background: linear-gradient(135deg, #ffffff, #f9faff);
background:
radial-gradient(circle at 92% 18%, rgba(109, 93, 252, 0.12), transparent 28px),
linear-gradient(135deg, #ffffff, #f9faff);
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.overviewPrimary {
min-height: 78px;
background: linear-gradient(135deg, #ffffff, #f5f3ff);
background:
radial-gradient(circle at 92% 18%, rgba(244, 63, 94, 0.13), transparent 31px),
linear-gradient(135deg, #ffffff, #f5f3ff);
}
.premiumMetricIcon {
position: absolute;
top: 14px;
right: 14px;
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
color: #6657f5;
background: linear-gradient(135deg, #eeeaff, #ffffff);
font-size: 13px;
font-weight: 900;
box-shadow: 0 8px 18px rgba(109, 93, 252, 0.14);
}
.premiumMetricIcon[data-tone="device"] {
color: #0ea5e9;
background: linear-gradient(135deg, #e6f6ff, #ffffff);
}
.premiumMetricIcon[data-tone="gift"] {
color: #13a56a;
background: linear-gradient(135deg, #e7f8ef, #ffffff);
}
.premiumMetricIcon[data-tone="log"] {
color: #f97316;
background: linear-gradient(135deg, #fff1e4, #ffffff);
}
.overviewValue {
@@ -1160,8 +1207,12 @@ body {
padding: 13px 14px;
border: 1px solid #edf0f6;
border-radius: 8px;
background: #ffffff;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 252, 255, 0.96)),
#ffffff;
box-shadow:
0 8px 24px rgba(15, 23, 42, 0.045),
0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.premiumDashHead {
@@ -1196,7 +1247,7 @@ body {
.premiumTrendSvg {
width: 100%;
height: 150px;
height: 170px;
}
.premiumTrendGrid {
@@ -1214,6 +1265,7 @@ body {
stroke: #6d5dfc;
stroke-width: 3;
stroke-linecap: round;
filter: drop-shadow(0 6px 7px rgba(109, 93, 252, 0.18));
}
.premiumTrendGhost {
@@ -1224,6 +1276,26 @@ body {
stroke-linecap: round;
}
.premiumTrendAxis,
.premiumTrendTick {
fill: #8a94a6;
font-family: var(--font-ui);
font-size: 10px;
font-weight: 700;
}
.premiumTrendPoint {
fill: #ffffff;
stroke: #6d5dfc;
stroke-width: 2;
}
.premiumTrendPointHot {
fill: #6d5dfc;
stroke: #ffffff;
filter: drop-shadow(0 5px 7px rgba(109, 93, 252, 0.35));
}
.premiumDeviceTable,
.premiumLatestLogs {
display: grid;
@@ -1242,10 +1314,23 @@ body {
}
.premiumDeviceRow {
grid-template-columns: 70px minmax(0, 1fr) 44px;
grid-template-columns: 78px minmax(0, 1fr) 50px;
gap: 8px;
}
.premiumDeviceHead {
min-height: 26px;
color: #667085;
background: #f8faff;
font-weight: 850;
}
.premiumDeviceHead b,
.premiumDeviceHead em {
color: #667085;
font-weight: 850;
}
.premiumDeviceRow b {
overflow: hidden;
color: #111827;
@@ -1287,10 +1372,21 @@ body {
:root:not([data-premium-panel="device"]) .configWorkspace {
max-height: none;
padding-right: 6px;
padding: 12px 6px 0;
overflow: visible;
}
:root:not([data-premium-panel="device"]) .configRail {
border-color: #e7ebf3;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}
:root:not([data-premium-panel="device"]) .sideNav {
border: 1px solid #e9edf5;
border-radius: 8px;
background: #ffffff;
}
.workspaceHeader {
display: none;
}
@@ -1309,17 +1405,45 @@ body {
}
.premiumConfigCard {
position: relative;
overflow: hidden;
min-width: 0;
padding: 11px 14px 10px;
border: 1px solid #eceff6;
border-radius: 8px;
background: #ffffff;
background:
linear-gradient(90deg, rgba(109, 93, 252, 0.028), transparent 44%),
#ffffff;
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
opacity: 1 !important;
transform: none !important;
animation: none !important;
}
.premiumConfigCard::before {
content: "";
position: absolute;
left: 0;
top: 12px;
bottom: 12px;
width: 3px;
border-radius: 0 99px 99px 0;
background: linear-gradient(180deg, #6d5dfc, #22c55e);
opacity: 0.82;
}
.premiumConfigCard::after {
content: "";
position: absolute;
right: -82px;
top: -92px;
width: 190px;
height: 190px;
border-radius: 50%;
background: radial-gradient(circle, rgba(109, 93, 252, 0.08), transparent 68%);
pointer-events: none;
}
.premiumConfigHead {
display: flex;
align-items: center;
@@ -1417,6 +1541,12 @@ body {
box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}
.premiumField input:hover,
.premiumField select:hover {
border-color: #cdd5e5;
background: #fbfcff;
}
.premiumField input:focus,
.premiumField select:focus {
border-color: #7568ff;
@@ -1614,6 +1744,23 @@ body {
background: transparent;
}
:root:not([data-premium-panel="device"]) .cardTitle {
margin: 0 0 12px;
padding: 13px 14px;
border: 1px solid #edf0f6;
border-radius: 8px;
background: #ffffff;
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}
:root:not([data-premium-panel="device"]) .logSection {
border: 1px solid #e3e9f1;
border-radius: 8px;
background: #f8fbfa;
overflow: hidden;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}
.panel > .sectionTitle {
margin: 8px 0 0;
padding: 13px 14px 9px;