Spaces:
Running
Running
| /* ===== 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 ; | |
| letter-spacing: 0 ; | |
| font-weight: 500 ; | |
| margin-bottom: 0 ; | |
| } |