feat: 添加自动运行选择对话框,支持继续当前流程或重新开始,优化用户体验

This commit is contained in:
QLHazyCoder
2026-04-08 17:41:00 +08:00
parent cf3f0f1665
commit ce78a099d6
5 changed files with 329 additions and 77 deletions
+73
View File
@@ -677,6 +677,79 @@ header {
.log-line { animation: fadeIn 120ms ease-out; }
/* ============================================================
Modal
============================================================ */
.modal-overlay {
position: fixed;
inset: 0;
z-index: 1200;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
background: rgba(15, 17, 23, 0.32);
backdrop-filter: blur(2px);
}
.modal-overlay[hidden] {
display: none !important;
}
.modal-card {
width: min(100%, 320px);
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: var(--shadow-md), 0 18px 36px rgba(0, 0, 0, 0.18);
padding: 14px;
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 10px;
}
.modal-title {
font-size: 14px;
font-weight: 700;
color: var(--text-primary);
}
.modal-close {
width: 26px;
height: 26px;
border: none;
border-radius: 999px;
background: transparent;
color: var(--text-muted);
cursor: pointer;
font-size: 18px;
line-height: 1;
transition: all var(--transition);
}
.modal-close:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.modal-message {
font-size: 13px;
line-height: 1.55;
color: var(--text-secondary);
margin-bottom: 14px;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
/* ============================================================
Toast Notifications
============================================================ */