feat(bulk-api-tester): add comparison drafts library and multi-draft combiner under single heading

This commit is contained in:
2026-10-28 14:36:36 +05:30
parent ad48d28310
commit ce75adb467
6 changed files with 1389 additions and 18 deletions
+177
View File
@@ -3777,3 +3777,180 @@ body.theme-light .aurora-wall {
border: 1px dashed var(--border-3);
border-radius: var(--r-md);
}
/* ═══════════════════════════════════════════════════════════════════
26 · COMPARISON DRAFTS & MULTI-DRAFT COMBINER STUDIO
═══════════════════════════════════════════════════════════════════ */
.drafts-modal-card {
width: min(1060px, 96vw);
max-height: 92vh;
display: flex;
flex-direction: column;
background: var(--bg-surface, #0a0e17);
border: 1px solid var(--border-2);
border-radius: var(--r-lg);
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
overflow: hidden;
}
.drafts-combiner-bar {
display: flex;
flex-direction: column;
gap: 10px;
padding: 14px 20px;
background: rgba(16, 22, 35, 0.75);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border-2);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.combiner-heading-row {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.combiner-heading-input {
flex: 1;
min-width: 280px;
background: rgba(0, 0, 0, 0.45);
border: 1px solid var(--border-2);
border-radius: var(--r-md);
padding: 9px 14px;
color: var(--text-1);
font-family: var(--font-display);
font-size: 13px;
font-weight: 600;
outline: none;
transition: all 0.18s ease;
}
.combiner-heading-input:focus {
border-color: var(--accent);
box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.35);
background: rgba(0, 0, 0, 0.6);
}
.drafts-list-container {
display: flex;
flex-direction: column;
gap: 14px;
padding: 18px 20px;
overflow-y: auto;
max-height: 62vh;
}
.draft-card {
background: rgba(16, 22, 35, 0.6);
border: 1px solid var(--border-1);
border-radius: var(--r-md);
padding: 14px 16px;
display: flex;
flex-direction: column;
gap: 12px;
transition: all 0.2s ease;
position: relative;
}
.draft-card:hover {
border-color: rgba(255, 255, 255, 0.16);
background: rgba(16, 22, 35, 0.85);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.draft-card.selected {
border-color: var(--accent);
background: rgba(var(--accent-rgb), 0.08);
box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.2);
}
.draft-card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.draft-title-wrap {
display: flex;
align-items: center;
gap: 10px;
}
.draft-checkbox {
width: 17px;
height: 17px;
accent-color: var(--accent);
cursor: pointer;
}
.draft-title-text {
font-family: var(--font-display);
font-size: 14px;
font-weight: 700;
color: var(--text-1);
}
.draft-items-strip {
display: flex;
align-items: center;
gap: 10px;
overflow-x: auto;
padding: 6px 2px 10px;
}
.draft-item-card {
flex: 0 0 125px;
background: rgba(0, 0, 0, 0.35);
border: 1px solid var(--border-1);
border-radius: var(--r-sm);
padding: 6px;
display: flex;
flex-direction: column;
gap: 5px;
cursor: pointer;
position: relative;
transition: all 0.15s ease;
}
.draft-item-card:hover {
border-color: var(--border-2);
}
.draft-item-card.selected {
border-color: var(--cyan);
box-shadow: 0 0 10px rgba(var(--cyan-rgb), 0.35);
background: rgba(var(--cyan-rgb), 0.08);
}
.draft-item-thumb {
width: 100%;
height: 70px;
background: #020408;
border-radius: 4px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.draft-item-thumb img {
max-width: 100%;
max-height: 100%;
object-fit: cover;
}
.draft-item-checkbox {
position: absolute;
top: 4px;
left: 4px;
width: 16px;
height: 16px;
accent-color: var(--cyan);
cursor: pointer;
z-index: 5;
}