This commit is contained in:
tao.chen
2026-09-03 15:11:15 +08:00
parent 58d9a123de
commit 5c494d50cf
3 changed files with 118 additions and 35 deletions
+54
View File
@@ -277,3 +277,57 @@ a { color: var(--accent); text-decoration: none; }
.status-timeout { color: var(--warn); background: rgba(224, 164, 88, 0.12); }
.status-skipped { color: var(--skipped); background: rgba(154, 163, 178, 0.12); }
.status-running { color: var(--accent); background: rgba(91, 141, 239, 0.12); }
/* ============ Running actions + Modal ============ */
.running-actions { margin-top: 12px; display: flex; gap: 8px; }
.modal {
position: fixed;
inset: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
}
.modal[hidden] { display: none; }
.modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
}
.modal-dialog {
position: relative;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: var(--shadow);
width: min(900px, 92vw);
height: min(72vh, 720px);
display: flex;
flex-direction: column;
overflow: hidden;
}
.modal-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 16px;
border-bottom: 1px solid var(--border);
background: var(--surface-2);
}
.modal-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.modal-log {
flex: 1;
height: auto;
border: none;
border-radius: 0;
}
.modal-foot {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
border-top: 1px solid var(--border);
background: var(--surface-2);
font-size: 12px;
}