2026-05-10 14:21:10 +08:00
|
|
|
/* Scan terminal empty, loading, error, and skeleton signal states. */
|
2026-04-28 20:19:17 +08:00
|
|
|
|
2026-05-10 14:21:10 +08:00
|
|
|
/* ── Empty state ── */
|
2026-04-28 20:19:17 +08:00
|
|
|
.root :global(.scan-empty-state) {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 48px 32px;
|
|
|
|
|
text-align: center;
|
2026-05-10 14:21:10 +08:00
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-empty-icon) {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
background: rgba(77, 163, 255, 0.1);
|
|
|
|
|
border: 1px solid rgba(77, 163, 255, 0.16);
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
color: var(--color-accent-secondary);
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
margin-bottom: 4px;
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-empty-title) {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #e8f2ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-empty-copy) {
|
2026-05-10 14:21:10 +08:00
|
|
|
max-width: 360px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #8fa4c3;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Error state ── */
|
|
|
|
|
.root :global(.scan-error-state) {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 48px 32px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-error-icon) {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
background: rgba(239, 68, 68, 0.1);
|
|
|
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
color: #FCA5A5;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-error-title) {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #e8f2ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-error-copy) {
|
|
|
|
|
max-width: 360px;
|
2026-04-28 20:19:17 +08:00
|
|
|
font-size: 14px;
|
|
|
|
|
color: #8fa4c3;
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-10 14:21:10 +08:00
|
|
|
.root :global(.scan-retry-button) {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
min-height: 40px;
|
|
|
|
|
padding: 10px 16px;
|
|
|
|
|
border: 1px solid rgba(77, 163, 255, 0.3);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
background: rgba(77, 163, 255, 0.12);
|
|
|
|
|
color: #9ecbff;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-retry-button:hover) {
|
|
|
|
|
background: rgba(77, 163, 255, 0.18);
|
|
|
|
|
border-color: rgba(111, 183, 255, 0.48);
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-28 20:19:17 +08:00
|
|
|
.root :global(.scan-loading-state) {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 520px;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
padding: 48px 32px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-loading-signal) {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: min(100%, 420px);
|
|
|
|
|
display: grid;
|
|
|
|
|
justify-items: center;
|
2026-05-25 01:10:26 +08:00
|
|
|
gap: 16px;
|
2026-04-28 20:19:17 +08:00
|
|
|
padding: 28px 30px;
|
2026-05-25 01:10:26 +08:00
|
|
|
background: transparent;
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-loading-signal.compact) {
|
|
|
|
|
width: min(100%, 340px);
|
|
|
|
|
gap: 12px;
|
|
|
|
|
padding: 18px 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-25 01:10:26 +08:00
|
|
|
.root :global(.scan-loading-spinner-wrapper) {
|
2026-04-28 20:19:17 +08:00
|
|
|
position: relative;
|
2026-05-25 02:29:04 +08:00
|
|
|
width: 96px;
|
|
|
|
|
height: 96px;
|
2026-04-28 20:19:17 +08:00
|
|
|
display: grid;
|
2026-05-25 01:10:26 +08:00
|
|
|
place-items: center;
|
|
|
|
|
margin: 0 auto;
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
2026-05-25 01:10:26 +08:00
|
|
|
.root :global(.scan-loading-spinner-ring) {
|
2026-04-28 20:19:17 +08:00
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
2026-05-25 02:29:04 +08:00
|
|
|
border: 2px solid transparent;
|
|
|
|
|
border-top-color: #3b82f6;
|
|
|
|
|
border-right-color: #60a5fa;
|
2026-05-25 01:10:26 +08:00
|
|
|
border-radius: 50%;
|
2026-05-25 02:29:04 +08:00
|
|
|
animation: scan-loading-spin 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
|
|
|
|
box-shadow: 0 0 12px rgba(59, 130, 246, 0.12);
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
2026-05-25 01:10:26 +08:00
|
|
|
.root :global(.scan-loading-spinner-logo) {
|
2026-05-25 02:29:04 +08:00
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
2026-05-25 01:10:26 +08:00
|
|
|
object-fit: contain;
|
2026-05-25 02:29:04 +08:00
|
|
|
border-radius: 8px;
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-loading-copy-block) {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 7px;
|
|
|
|
|
justify-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-loading-copy-block strong) {
|
2026-05-10 14:21:10 +08:00
|
|
|
color: var(--color-text-primary);
|
2026-05-25 01:10:26 +08:00
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: -0.01em;
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.root :global(.scan-loading-copy-block span) {
|
|
|
|
|
max-width: 320px;
|
2026-05-10 14:21:10 +08:00
|
|
|
color: var(--color-text-secondary);
|
2026-05-25 01:10:26 +08:00
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 1.5;
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
2026-05-25 01:10:26 +08:00
|
|
|
@keyframes scan-loading-spin {
|
2026-04-28 20:19:17 +08:00
|
|
|
0% {
|
2026-05-25 01:10:26 +08:00
|
|
|
transform: rotate(0deg);
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
100% {
|
2026-05-25 01:10:26 +08:00
|
|
|
transform: rotate(360deg);
|
2026-04-28 20:19:17 +08:00
|
|
|
}
|
|
|
|
|
}
|
2026-05-10 16:19:21 +08:00
|
|
|
|