groups: AI enhance for gallery photos (photo_jobs.group_photo_id, before/after compare modal)
This commit is contained in:
+9
-3
@@ -19,6 +19,10 @@
|
||||
.enhance-badge.left { left: 10px; }
|
||||
.enhance-badge.right { right: 10px; }
|
||||
.photo-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); display: block; }
|
||||
.photo-na { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0 4px; box-sizing: border-box; border: 1px dashed var(--border); border-radius: 6px; background: var(--bg); color: var(--muted); font-size: .6rem; line-height: 1.15; text-align: center; overflow: hidden; }
|
||||
#photoJobModal .edit-modal { width: min(1100px, 94vw); max-width: none; max-height: 94vh; overflow-y: auto; }
|
||||
#photoJobCompare { min-height: 220px; }
|
||||
.enhance-empty { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--muted); font-size: .85rem; background: var(--bg); }
|
||||
</style>
|
||||
</head>
|
||||
<body data-page="worker">
|
||||
@@ -163,7 +167,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-overlay" id="photoJobModal">
|
||||
<div class="edit-modal" style="max-width:900px">
|
||||
<div class="edit-modal">
|
||||
<h3 id="photoJobTitle">Обработка фотографии</h3>
|
||||
<div class="enhance-compare" id="photoJobCompare">
|
||||
<div class="enhance-stage">
|
||||
@@ -175,9 +179,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="enhance-divider" id="photoJobDivider"><div class="enhance-handle">⇔</div></div>
|
||||
<div class="enhance-badge left">Было</div>
|
||||
<div class="enhance-badge right">Стало</div>
|
||||
<div class="enhance-badge left" id="photoJobBadgeBefore">Было</div>
|
||||
<div class="enhance-badge right" id="photoJobBadgeAfter">Стало</div>
|
||||
<div class="enhance-empty" id="photoJobEmpty"></div>
|
||||
</div>
|
||||
<div class="hint" id="photoJobNote" style="display:none"></div>
|
||||
<div class="data-stats" id="photoJobMeta" style="margin-top:12px"></div>
|
||||
<div class="card-foot" style="justify-content:flex-end;gap:8px;margin-top:14px">
|
||||
<button type="button" class="btn-primary ghost" id="photoJobCloseBtn">Закрыть</button>
|
||||
|
||||
Reference in New Issue
Block a user