Spaces:
Running
Running
File size: 1,770 Bytes
774fe36 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | /* ===== Extra Input Preview ===== */
.extra-preview-container {
position: relative;
display: flex;
justify-content: center;
align-items: flex-start;
width: 100%;
border-radius: var(--radius);
overflow: hidden;
border: 1px solid var(--border);
background: var(--bg-input);
margin-bottom: 8px;
}
.extra-preview-img {
display: block;
width: 100%;
height: auto;
object-fit: contain;
}
.extra-mask-canvas {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
cursor: crosshair;
touch-action: none;
/* Width and height set by JS to match displayed image size */
}
/* ===== Mask Buttons ===== */
.mask-btn-row { display: flex; gap: 6px; margin-top: 8px; }
.btn-mask {
flex: 1; padding: 6px 10px;
background: var(--bg-input); color: var(--text-primary);
border: 1px solid var(--border); border-radius: var(--radius);
font-size: 0.8rem; cursor: pointer;
transition: all var(--transition); text-align: center;
}
.btn-mask:hover { background: var(--bg-hover); border-color: var(--accent); }
.extra-btn-row {
display: flex;
gap: 6px;
margin-top: 6px;
}
/* ===== Inpaint Overlay Checkbox ===== */
.extra-checkbox-row {
display: flex;
align-items: center;
gap: 6px;
margin-top: 6px;
margin-bottom: 6px;
}
.extra-checkbox-row input[type="checkbox"] {
width: 15px;
height: 15px;
accent-color: var(--accent);
cursor: pointer;
margin: 0;
}
.extra-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;
} |