feat: refresh gpgui helper download UI

This commit is contained in:
Kevin Yue committed 2026-08-07 23:11:09 +08:00
1 parent 32cd228c02
commit cd8eb1d9eb
8 files changed
+188 -84

No files matched your search

@@ -4,7 +4,123 @@ body,
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
-webkit-user-select: none;
user-select: none;
cursor: default;
}
body {
background: #f6f5f4;
color: #2e3436;
font-family:
Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.update-window {
box-sizing: border-box;
display: flex;
align-items: center;
width: 100%;
height: 100%;
padding: 16px 18px;
gap: 15px;
background: #f6f5f4;
}
.update-logo {
flex: 0 0 auto;
width: 48px;
height: 48px;
}
.update-content,
.update-status {
min-width: 0;
width: 100%;
}
.update-title.MuiTypography-root {
color: #2e3436;
font-size: 16px;
font-weight: 600;
line-height: 1.25;
letter-spacing: -0.01em;
}
.update-description.MuiTypography-root {
margin-top: 3px;
color: #5e5c64;
font-size: 12px;
line-height: 1.4;
}
.progress-row {
display: flex;
align-items: center;
gap: 10px;
margin-top: 9px;
}
.progress-track {
flex: 1;
min-width: 0;
}
.progress-bar.MuiLinearProgress-root {
height: 6px;
overflow: hidden;
border-radius: 3px;
background-color: #d5d3d1;
}
.progress-bar .MuiLinearProgress-bar {
border-radius: 3px;
background: #3584e4;
transition: transform 180ms ease-out;
}
.progress-label.MuiTypography-root {
min-width: 36px;
color: #3d3846;
font-size: 12px;
font-variant-numeric: tabular-nums;
font-weight: 500;
text-align: right;
}
.progress-label-hidden.MuiTypography-root {
visibility: hidden;
}
.error-status .update-title.MuiTypography-root {
color: #9c2f2f;
}
.error-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 8px;
}
.error-actions .update-description.MuiTypography-root {
margin-top: 0;
}
.retry-button.MuiButton-root {
min-width: 68px;
border-radius: 8px;
background: #3584e4;
box-shadow: none;
font-size: 12px;
font-weight: 600;
line-height: 1.5;
text-transform: none;
}
.retry-button.MuiButton-root:hover {
background: #1c71d8;
box-shadow: none;
}