client / static /css /vibe.css
P01yH3dr0n's picture
launch
774fe36
Raw
History Blame Contribute Delete
3.87 kB
/* ===== Vibe Item Lists ===== */
.vibe-item-list { margin-top: 10px; }
/* -- Reference Image Item -- */
.vibe-ref-item {
display: flex; gap: 10px; padding: 10px;
background: var(--bg-card); border: 1px solid var(--border);
border-radius: var(--radius); margin-bottom: 8px;
align-items: flex-start;
}
.vibe-ref-thumb-wrap {
position: relative; flex-shrink: 0;
width: 72px; height: 72px;
}
.vibe-ref-thumb {
width: 72px; height: 72px; object-fit: cover;
border-radius: 6px; border: 1px solid var(--border);
}
.vibe-ref-remove {
position: absolute; top: -6px; right: -6px;
width: 20px; height: 20px; border-radius: 50%;
background: var(--error); color: #fff; border: none;
font-size: 0.65rem; cursor: pointer;
display: flex; align-items: center; justify-content: center;
line-height: 1; opacity: 0;
transition: opacity var(--transition); z-index: 2;
}
.vibe-ref-item:hover .vibe-ref-remove,
.vibe-file-item:hover .vibe-ref-remove { opacity: 1; }
.vibe-ref-sliders { flex: 1; min-width: 0; }
.vibe-ref-sliders .form-group { margin-bottom: 8px; }
.vibe-ref-sliders .form-group:last-child { margin-bottom: 0; }
.vibe-ref-sliders label { font-size: 0.7rem; margin-bottom: 3px; }
/* -- Vibe File Item -- */
.vibe-file-item {
display: flex; gap: 10px; padding: 10px;
background: var(--bg-card); border: 1px solid var(--border);
border-radius: var(--radius); margin-bottom: 8px;
align-items: flex-start;
}
.vibe-file-thumb-wrap {
position: relative; flex-shrink: 0;
width: 72px; height: 72px;
}
.vibe-file-thumb {
width: 72px; height: 72px; object-fit: cover;
border-radius: 6px; border: 1px solid var(--border);
}
.vibe-file-thumb-placeholder {
width: 72px; height: 72px;
display: flex; align-items: center; justify-content: center;
font-size: 2rem; background: var(--bg-input);
border-radius: 6px; border: 1px solid var(--border);
color: var(--text-muted);
}
.vibe-file-download {
position: absolute; bottom: -6px; right: -6px;
width: 20px; height: 20px; border-radius: 50%;
background: var(--accent); color: #fff; border: none;
font-size: 0.6rem; cursor: pointer;
display: flex; align-items: center; justify-content: center;
line-height: 1; opacity: 0;
transition: opacity var(--transition); z-index: 2;
}
.vibe-file-item:hover .vibe-file-download { opacity: 1; }
.vibe-file-info { flex: 1; min-width: 0; }
.vibe-file-name {
font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* -- Convert Button -- */
.btn-vibe-convert {
width: 100%; padding: 8px 12px;
background: var(--bg-tertiary); color: var(--text-primary);
border: 1px solid var(--border); border-radius: var(--radius);
font-size: 0.85rem; cursor: pointer;
transition: all var(--transition);
margin-top: 8px; margin-bottom: 4px;
}
.btn-vibe-convert:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-vibe-convert:disabled { opacity: 0.5; cursor: not-allowed; }
.vibe-note {
font-size: 0.72rem; color: var(--text-muted); line-height: 1.5;
margin-top: 6px; padding: 6px 8px; background: var(--bg-input);
border-radius: 4px; border-left: 3px solid var(--warning);
}
.vibe-checkbox-row {
display: flex;
align-items: center;
gap: 6px;
margin-top: 6px;
margin-bottom: 6px;
}
.vibe-checkbox-row input[type="checkbox"] {
width: 15px;
height: 15px;
accent-color: var(--accent);
cursor: pointer;
margin: 0;
}
.vibe-checkbox-row label {
font-size: 0.82rem;
color: var(--text-secondary);
cursor: pointer;
user-select: none;
text-transform: none !important;
letter-spacing: 0 !important;
font-weight: 500 !important;
margin-bottom: 0 !important;
}