File size: 8,718 Bytes
31112ad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
.postprocess div,
.postprocess span,
.postprocess label,
.postprocess input,
.postprocess select,
.postprocess textarea {
    font-size: 12px !important;
    padding: 0px !important;
    border:  5px !important;
    border-radius: 0px !important;
    --form-gap-width: 0px !important;
    box-shadow: none !important;
    --layout-gap: 0px !important;
}
.postprocess span {margin-top:4px;margin-bottom:4px}
#model_list, #family_list, #model_base_types_list {
background-color:black;
padding:1px}

#model_list,#model_base_types_list { padding-left:0px}

#model_list input, #family_list input, #model_base_types_list input {
font-size:25px}

#family_list div div {
border-radius: 4px 0px 0px 4px;
}

#model_list div div {
border-radius: 0px 4px 4px 0px;
}

#model_base_types_list div div {
border-radius: 0px 0px 0px 0px;
}

.title-with-lines {
    display: flex;
    align-items: center;
    margin: 25px 0;
}
.line {
    flex-grow: 1;
    height: 1px;
    background-color: #333;
}
h2 {
    margin: 0 20px;
    white-space: nowrap;
}
#edit-tab-content {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
#edit_tab_apply_button {
    background-color: #4535ec !important;
    color: white !important;
    transition: background-color 0.2s ease-in-out;
}
#edit_tab_apply_button:hover {
    background-color: #3323d8 !important;
}
#edit_tab_cancel_button {
    background-color: #7e73f2 !important;
    color: white !important;
    transition: background-color 0.2s ease-in-out;
}
#edit_tab_cancel_button:hover {
    background-color: #5c50e2 !important;
}
#queue_html_container .pastel-row {
    background-color: hsl(var(--item-hue, 0), 80%, 92%);
}
#queue_html_container .alternating-grey-row.even-row {
    background-color: #F8FAFC; /* Light mode grey */
}
@media (prefers-color-scheme: dark) {
    #queue_html_container tr:hover td {
         background-color: rgba(255, 255, 255, 0.1) !important;
    }
    #queue_html_container .pastel-row {
        background-color: hsl(var(--item-hue, 0), 35%, 25%);
    }
    #queue_html_container .alternating-grey-row.even-row {
        background-color: #2a3748; /* Dark mode grey */
    }
    #queue_html_container .alternating-grey-row {
        background-color: transparent;
    }
}
#queue_html_container table {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}
#queue_html_container th {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 2px solid #4a5568;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    color: #a0aec0;
    white-space: nowrap;
}
#queue_html_container td {
    padding: 8px;
    border-bottom: 1px solid #2d3748;
    vertical-align: middle;
}
#queue_html_container tr:hover td {
    background-color: rgba(255, 255, 255, 0.6);
}
#queue_html_container .prompt-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#queue_html_container .action-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3em;
    padding: 0;
    color: #718096;
    transition: color 0.2s;
    line-height: 1;
}
#queue_html_container .action-button:hover {
    color: #e2e8f0;
}
#queue_html_container .center-align {
    text-align: center;
}
#queue_html_container .text-left {
    text-align: left;
}
#queue_html_container .hover-image img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    display: block;
    margin: auto;
}
#queue_html_container .draggable-row {
    cursor: grab;
}
#queue_html_container tr.dragging {
    opacity: 0.5;
    background: #2d3748;
}
#queue_html_container tr.drag-over-top {
    border-top: 6px solid #4299e1;
}
#queue_html_container tr.drag-over-bottom {
    border-bottom: 6px solid #4299e1;
}
#queue_html_container .action-button svg {
    width: 20px;
    height: 20px;
}

#queue_html_container .drag-handle svg {
    width: 20px;
    height: 20px;
}
#queue_html_container .action-button:hover svg {
    fill: #e2e8f0;
}
#image-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    cursor: pointer;
}
#image-modal-container .modal-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 2vh;
    box-sizing: border-box;
}
#image-modal-container .modal-content-wrapper {
    position: relative;
    background: #1f2937;
    padding: 0;
    border-radius: 8px;
    cursor: default;
    display: flex;
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
}
#image-modal-container .modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    line-height: 1;
    z-index: 1002;
    transition: background-color 0.2s, transform 0.2s;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
#image-modal-container .modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}
#image-modal-container .modal-label {
    position: absolute;
    top: 10px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
    z-index: 1001;
}
#image-modal-container .modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.progress-container-custom {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 0.375rem;
    overflow: hidden;
    height: 25px;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
}
.progress-bar-custom {
    height: 100%;
    background-color: #0d6efd;
    transition: width 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
}
.progress-bar-custom.idle {
    background-color: #6c757d;
}
.progress-bar-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    mix-blend-mode: difference;
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}

.hover-image {
cursor: pointer;
position: relative;
display: inline-block; /* Important for positioning */
}

.hover-image .tooltip {
visibility: hidden;
opacity: 0;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.8);
color: white;
padding: 4px 6px;
border-radius: 2px;
font-size: 14px;
white-space: nowrap;
pointer-events: none;
z-index: 9999;
transition: visibility 0s linear 1s, opacity 0.3s linear 1s; /* Delay both properties */
}
div.compact_tab , span.compact_tab
{ padding: 0px !important;
}
.hover-image .tooltip2 {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 50%; /* Center vertically with the image */
    left: 0; /* Position to the left of the image */
    transform: translateY(-50%); /* Center vertically */
    margin-left: -10px; /* Small gap to the left of image */
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    transition: visibility 0s linear 1s, opacity 0.3s linear 1s;
}

.hover-image:hover .tooltip, .hover-image:hover .tooltip2 {
visibility: visible;
opacity: 1;
transition: visibility 0s linear 1s, opacity 0.3s linear 1s; /* 1s delay before showing */
}
.btn_centered {margin-top:10px; text-wrap-mode: nowrap;}
.cbx_centered label {margin-top:8px; text-wrap-mode: nowrap;}

.copy-swap { display:block; max-width:100%;
}
.copy-swap__trunc {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.copy-swap__full { display: none; }
.copy-swap:hover .copy-swap__trunc,
.copy-swap:focus-within .copy-swap__trunc { display: none; }
.copy-swap:hover .copy-swap__full,
.copy-swap:focus-within .copy-swap__full {
display: inline;
white-space: normal;
user-select: text;
}
.compact_text {padding: 1px}
#video_input .video-container .container {
    flex-direction: row !important;
    display: flex !important;
}
#video_input .video-container .container .controls {
    overflow: visible !important;
}
.tabitem {padding-top:0px}