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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* temporary fix to load default gradio font in frontend instead of backend */
|
2 |
+
|
3 |
+
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');
|
4 |
+
|
5 |
+
|
6 |
+
/* temporary fix to hide gradio crop tool until it's fixed https://github.com/gradio-app/gradio/issues/3810 */
|
7 |
+
|
8 |
+
div.gradio-image button[aria-label="Edit"] {
|
9 |
+
display: none;
|
10 |
+
}
|
11 |
+
|
12 |
+
|
13 |
+
/* general gradio fixes */
|
14 |
+
|
15 |
+
:root, .dark{
|
16 |
+
--checkbox-label-gap: 0.25em 0.1em;
|
17 |
+
--section-header-text-size: 12pt;
|
18 |
+
--block-background-fill: transparent;
|
19 |
+
|
20 |
+
}
|
21 |
+
|
22 |
+
.block.padded:not(.gradio-accordion) {
|
23 |
+
padding: 0 !important;
|
24 |
+
}
|
25 |
+
|
26 |
+
div.gradio-container{
|
27 |
+
max-width: unset !important;
|
28 |
+
}
|
29 |
+
|
30 |
+
.hidden{
|
31 |
+
display: none;
|
32 |
+
}
|
33 |
+
|
34 |
+
.compact{
|
35 |
+
background: transparent !important;
|
36 |
+
padding: 0 !important;
|
37 |
+
}
|
38 |
+
|
39 |
+
div.form{
|
40 |
+
border-width: 0;
|
41 |
+
box-shadow: none;
|
42 |
+
background: transparent;
|
43 |
+
overflow: visible;
|
44 |
+
gap: 0.5em;
|
45 |
+
}
|
46 |
+
|
47 |
+
.block.gradio-dropdown,
|
48 |
+
.block.gradio-slider,
|
49 |
+
.block.gradio-checkbox,
|
50 |
+
.block.gradio-textbox,
|
51 |
+
.block.gradio-radio,
|
52 |
+
.block.gradio-checkboxgroup,
|
53 |
+
.block.gradio-number,
|
54 |
+
.block.gradio-colorpicker {
|
55 |
+
border-width: 0 !important;
|
56 |
+
box-shadow: none !important;
|
57 |
+
}
|
58 |
+
|
59 |
+
div.gradio-group, div.styler{
|
60 |
+
border-width: 0 !important;
|
61 |
+
background: none;
|
62 |
+
}
|
63 |
+
.gap.compact{
|
64 |
+
padding: 0;
|
65 |
+
gap: 0.2em 0;
|
66 |
+
}
|
67 |
+
|
68 |
+
div.compact{
|
69 |
+
gap: 1em;
|
70 |
+
}
|
71 |
+
|
72 |
+
.gradio-dropdown label span:not(.has-info),
|
73 |
+
.gradio-textbox label span:not(.has-info),
|
74 |
+
.gradio-number label span:not(.has-info)
|
75 |
+
{
|
76 |
+
margin-bottom: 0;
|
77 |
+
}
|
78 |
+
|
79 |
+
.gradio-dropdown ul.options{
|
80 |
+
z-index: 3000;
|
81 |
+
min-width: fit-content;
|
82 |
+
max-width: inherit;
|
83 |
+
white-space: nowrap;
|
84 |
+
}
|
85 |
+
|
86 |
+
.gradio-dropdown ul.options li.item {
|
87 |
+
padding: 0.05em 0;
|
88 |
+
}
|
89 |
+
|
90 |
+
.gradio-dropdown ul.options li.item.selected {
|
91 |
+
background-color: var(--neutral-100);
|
92 |
+
}
|
93 |
+
|
94 |
+
.dark .gradio-dropdown ul.options li.item.selected {
|
95 |
+
background-color: var(--neutral-900);
|
96 |
+
}
|
97 |
+
|
98 |
+
.gradio-dropdown div.wrap.wrap.wrap.wrap{
|
99 |
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
100 |
+
}
|
101 |
+
|
102 |
+
.gradio-dropdown:not(.multiselect) .wrap-inner.wrap-inner.wrap-inner{
|
103 |
+
flex-wrap: unset;
|
104 |
+
}
|
105 |
+
|
106 |
+
.gradio-dropdown .single-select{
|
107 |
+
white-space: nowrap;
|
108 |
+
overflow: hidden;
|
109 |
+
}
|
110 |
+
|
111 |
+
.gradio-dropdown .token-remove.remove-all.remove-all{
|
112 |
+
display: none;
|
113 |
+
}
|
114 |
+
|
115 |
+
.gradio-dropdown.multiselect .token-remove.remove-all.remove-all{
|
116 |
+
display: flex;
|
117 |
+
}
|
118 |
+
|
119 |
+
.gradio-slider input[type="number"]{
|
120 |
+
width: 6em;
|
121 |
+
}
|
122 |
+
|
123 |
+
.block.gradio-checkbox {
|
124 |
+
margin: 0.75em 1.5em 0 0;
|
125 |
+
}
|
126 |
+
|
127 |
+
.gradio-html div.wrap{
|
128 |
+
height: 100%;
|
129 |
+
}
|
130 |
+
div.gradio-html.min{
|
131 |
+
min-height: 0;
|
132 |
+
}
|
133 |
+
|
134 |
+
.block.gradio-gallery{
|
135 |
+
background: var(--input-background-fill);
|
136 |
+
}
|
137 |
+
|
138 |
+
.gradio-container .prose a, .gradio-container .prose a:visited{
|
139 |
+
color: unset;
|
140 |
+
text-decoration: none;
|
141 |
+
}
|
142 |
+
|
143 |
+
a{
|
144 |
+
font-weight: bold;
|
145 |
+
cursor: pointer;
|
146 |
+
}
|
147 |
+
|
148 |
+
/* gradio 3.39 puts a lot of overflow: hidden all over the place for an unknown reason. */
|
149 |
+
div.gradio-container, .block.gradio-textbox, div.gradio-group, div.gradio-dropdown{
|
150 |
+
overflow: visible !important;
|
151 |
+
}
|
152 |
+
|
153 |
+
/* align-items isn't enough and elements may overflow in Safari. */
|
154 |
+
.unequal-height {
|
155 |
+
align-content: flex-start;
|
156 |
+
}
|
157 |
+
|
158 |
+
|
159 |
+
/* general styled components */
|
160 |
+
|
161 |
+
.gradio-button.tool{
|
162 |
+
max-width: 2.2em;
|
163 |
+
min-width: 2.2em !important;
|
164 |
+
height: 2.4em;
|
165 |
+
align-self: end;
|
166 |
+
line-height: 1em;
|
167 |
+
border-radius: 0.5em;
|
168 |
+
}
|
169 |
+
|
170 |
+
.gradio-button.secondary-down{
|
171 |
+
background: var(--button-secondary-background-fill);
|
172 |
+
color: var(--button-secondary-text-color);
|
173 |
+
}
|
174 |
+
.gradio-button.secondary-down, .gradio-button.secondary-down:hover{
|
175 |
+
box-shadow: 1px 1px 1px rgba(0,0,0,0.25) inset, 0px 0px 3px rgba(0,0,0,0.15) inset;
|
176 |
+
}
|
177 |
+
.gradio-button.secondary-down:hover{
|
178 |
+
background: var(--button-secondary-background-fill-hover);
|
179 |
+
color: var(--button-secondary-text-color-hover);
|
180 |
+
}
|
181 |
+
|
182 |
+
button.custom-button{
|
183 |
+
border-radius: var(--button-large-radius);
|
184 |
+
padding: var(--button-large-padding);
|
185 |
+
font-weight: var(--button-large-text-weight);
|
186 |
+
border: var(--button-border-width) solid var(--button-secondary-border-color);
|
187 |
+
background: var(--button-secondary-background-fill);
|
188 |
+
color: var(--button-secondary-text-color);
|
189 |
+
font-size: var(--button-large-text-size);
|
190 |
+
display: inline-flex;
|
191 |
+
justify-content: center;
|
192 |
+
align-items: center;
|
193 |
+
transition: var(--button-transition);
|
194 |
+
box-shadow: var(--button-shadow);
|
195 |
+
text-align: center;
|
196 |
+
}
|
197 |
+
|
198 |
+
div.block.gradio-accordion {
|
199 |
+
border: 1px solid var(--block-border-color) !important;
|
200 |
+
border-radius: 8px !important;
|
201 |
+
margin: 2px 0;
|
202 |
+
padding: 8px 8px;
|
203 |
+
}
|
204 |
+
|
205 |
+
|
206 |
+
/* txt2img/img2img specific */
|
207 |
+
|
208 |
+
.block.token-counter{
|
209 |
+
position: absolute;
|
210 |
+
display: inline-block;
|
211 |
+
right: 1em;
|
212 |
+
min-width: 0 !important;
|
213 |
+
width: auto;
|
214 |
+
z-index: 100;
|
215 |
+
top: -0.75em;
|
216 |
+
}
|
217 |
+
|
218 |
+
.block.token-counter span{
|
219 |
+
background: var(--input-background-fill) !important;
|
220 |
+
box-shadow: 0 0 0.0 0.3em rgba(192,192,192,0.15), inset 0 0 0.6em rgba(192,192,192,0.075);
|
221 |
+
border: 2px solid rgba(192,192,192,0.4) !important;
|
222 |
+
border-radius: 0.4em;
|
223 |
+
}
|
224 |
+
|
225 |
+
.block.token-counter.error span{
|
226 |
+
box-shadow: 0 0 0.0 0.3em rgba(255,0,0,0.15), inset 0 0 0.6em rgba(255,0,0,0.075);
|
227 |
+
border: 2px solid rgba(255,0,0,0.4) !important;
|
228 |
+
}
|
229 |
+
|
230 |
+
.block.token-counter div{
|
231 |
+
display: inline;
|
232 |
+
}
|
233 |
+
|
234 |
+
.block.token-counter span{
|
235 |
+
padding: 0.1em 0.75em;
|
236 |
+
}
|
237 |
+
|
238 |
+
[id$=_subseed_show]{
|
239 |
+
min-width: auto !important;
|
240 |
+
flex-grow: 0 !important;
|
241 |
+
display: flex;
|
242 |
+
}
|
243 |
+
|
244 |
+
[id$=_subseed_show] label{
|
245 |
+
margin-bottom: 0.65em;
|
246 |
+
align-self: end;
|
247 |
+
}
|
248 |
+
|
249 |
+
[id$=_seed_extras] > div{
|
250 |
+
gap: 0.5em;
|
251 |
+
}
|
252 |
+
|
253 |
+
.html-log .comments{
|
254 |
+
padding-top: 0.5em;
|
255 |
+
}
|
256 |
+
|
257 |
+
.html-log .comments:empty{
|
258 |
+
padding-top: 0;
|
259 |
+
}
|
260 |
+
|
261 |
+
.html-log .performance {
|
262 |
+
font-size: 0.85em;
|
263 |
+
color: #444;
|
264 |
+
display: flex;
|
265 |
+
}
|
266 |
+
|
267 |
+
.html-log .performance p{
|
268 |
+
display: inline-block;
|
269 |
+
}
|
270 |
+
|
271 |
+
.html-log .performance p.time, .performance p.vram, .performance p.time abbr, .performance p.vram abbr {
|
272 |
+
margin-bottom: 0;
|
273 |
+
color: var(--block-title-text-color);
|
274 |
+
}
|
275 |
+
|
276 |
+
.html-log .performance p.time {
|
277 |
+
}
|
278 |
+
|
279 |
+
.html-log .performance p.vram {
|
280 |
+
margin-left: auto;
|
281 |
+
}
|
282 |
+
|
283 |
+
.html-log .performance .measurement{
|
284 |
+
color: var(--body-text-color);
|
285 |
+
font-weight: bold;
|
286 |
+
}
|
287 |
+
|
288 |
+
#txt2img_generate, #img2img_generate {
|
289 |
+
min-height: 4.5em;
|
290 |
+
}
|
291 |
+
|
292 |
+
@media screen and (min-width: 2500px) {
|
293 |
+
#txt2img_gallery, #img2img_gallery {
|
294 |
+
min-height: 768px;
|
295 |
+
}
|
296 |
+
}
|
297 |
+
|
298 |
+
.gradio-gallery .thumbnails img {
|
299 |
+
object-fit: scale-down !important;
|
300 |
+
}
|
301 |
+
#txt2img_actions_column, #img2img_actions_column {
|
302 |
+
gap: 0.5em;
|
303 |
+
}
|
304 |
+
#txt2img_tools, #img2img_tools{
|
305 |
+
gap: 0.4em;
|
306 |
+
}
|
307 |
+
|
308 |
+
.interrogate-col{
|
309 |
+
min-width: 0 !important;
|
310 |
+
max-width: fit-content;
|
311 |
+
gap: 0.5em;
|
312 |
+
}
|
313 |
+
.interrogate-col > button{
|
314 |
+
flex: 1;
|
315 |
+
}
|
316 |
+
|
317 |
+
.generate-box{
|
318 |
+
position: relative;
|
319 |
+
}
|
320 |
+
.gradio-button.generate-box-skip, .gradio-button.generate-box-interrupt{
|
321 |
+
position: absolute;
|
322 |
+
width: 50%;
|
323 |
+
height: 100%;
|
324 |
+
display: none;
|
325 |
+
background: #b4c0cc;
|
326 |
+
}
|
327 |
+
.gradio-button.generate-box-skip:hover, .gradio-button.generate-box-interrupt:hover{
|
328 |
+
background: #c2cfdb;
|
329 |
+
}
|
330 |
+
.gradio-button.generate-box-interrupt{
|
331 |
+
left: 0;
|
332 |
+
border-radius: 0.5rem 0 0 0.5rem;
|
333 |
+
}
|
334 |
+
.gradio-button.generate-box-skip{
|
335 |
+
right: 0;
|
336 |
+
border-radius: 0 0.5rem 0.5rem 0;
|
337 |
+
}
|
338 |
+
|
339 |
+
#img2img_scale_resolution_preview.block{
|
340 |
+
display: flex;
|
341 |
+
align-items: end;
|
342 |
+
}
|
343 |
+
|
344 |
+
#txtimg_hr_finalres .resolution, #img2img_scale_resolution_preview .resolution{
|
345 |
+
font-weight: bold;
|
346 |
+
}
|
347 |
+
|
348 |
+
#txtimg_hr_finalres div.pending, #img2img_scale_resolution_preview div.pending {
|
349 |
+
opacity: 1;
|
350 |
+
transition: opacity 0s;
|
351 |
+
}
|
352 |
+
|
353 |
+
.inactive{
|
354 |
+
opacity: 0.5;
|
355 |
+
}
|
356 |
+
|
357 |
+
[id$=_column_batch]{
|
358 |
+
min-width: min(13.5em, 100%) !important;
|
359 |
+
}
|
360 |
+
|
361 |
+
div.dimensions-tools{
|
362 |
+
min-width: 1.6em !important;
|
363 |
+
max-width: fit-content;
|
364 |
+
flex-direction: column;
|
365 |
+
place-content: center;
|
366 |
+
}
|
367 |
+
|
368 |
+
div#extras_scale_to_tab div.form{
|
369 |
+
flex-direction: row;
|
370 |
+
}
|
371 |
+
|
372 |
+
#img2img_sketch, #img2maskimg, #inpaint_sketch {
|
373 |
+
overflow: overlay !important;
|
374 |
+
resize: auto;
|
375 |
+
background: var(--panel-background-fill);
|
376 |
+
z-index: 5;
|
377 |
+
}
|
378 |
+
|
379 |
+
.image-buttons > .form{
|
380 |
+
justify-content: center;
|
381 |
+
}
|
382 |
+
|
383 |
+
.infotext {
|
384 |
+
overflow-wrap: break-word;
|
385 |
+
}
|
386 |
+
|
387 |
+
#img2img_column_batch{
|
388 |
+
align-self: end;
|
389 |
+
margin-bottom: 0.9em;
|
390 |
+
}
|
391 |
+
|
392 |
+
#img2img_unused_scale_by_slider{
|
393 |
+
visibility: hidden;
|
394 |
+
width: 0.5em;
|
395 |
+
max-width: 0.5em;
|
396 |
+
min-width: 0.5em;
|
397 |
+
}
|
398 |
+
|
399 |
+
/* settings */
|
400 |
+
#quicksettings {
|
401 |
+
align-items: end;
|
402 |
+
}
|
403 |
+
|
404 |
+
#quicksettings > div, #quicksettings > fieldset{
|
405 |
+
max-width: 36em;
|
406 |
+
width: fit-content;
|
407 |
+
flex: 0 1 fit-content;
|
408 |
+
padding: 0;
|
409 |
+
border: none;
|
410 |
+
box-shadow: none;
|
411 |
+
background: none;
|
412 |
+
}
|
413 |
+
#quicksettings > div.gradio-dropdown{
|
414 |
+
min-width: 24em !important;
|
415 |
+
}
|
416 |
+
|
417 |
+
#settings{
|
418 |
+
display: block;
|
419 |
+
}
|
420 |
+
|
421 |
+
#settings > div{
|
422 |
+
border: none;
|
423 |
+
margin-left: 10em;
|
424 |
+
}
|
425 |
+
|
426 |
+
#settings > div.tab-nav{
|
427 |
+
float: left;
|
428 |
+
display: block;
|
429 |
+
margin-left: 0;
|
430 |
+
width: 10em;
|
431 |
+
}
|
432 |
+
|
433 |
+
#settings > div.tab-nav button{
|
434 |
+
display: block;
|
435 |
+
border: none;
|
436 |
+
text-align: left;
|
437 |
+
white-space: initial;
|
438 |
+
}
|
439 |
+
|
440 |
+
#settings_result{
|
441 |
+
height: 1.4em;
|
442 |
+
margin: 0 1.2em;
|
443 |
+
}
|
444 |
+
|
445 |
+
table.popup-table{
|
446 |
+
background: var(--body-background-fill);
|
447 |
+
color: var(--body-text-color);
|
448 |
+
border-collapse: collapse;
|
449 |
+
margin: 1em;
|
450 |
+
border: 4px solid var(--body-background-fill);
|
451 |
+
}
|
452 |
+
|
453 |
+
table.popup-table td{
|
454 |
+
padding: 0.4em;
|
455 |
+
border: 1px solid rgba(128, 128, 128, 0.5);
|
456 |
+
max-width: 36em;
|
457 |
+
}
|
458 |
+
|
459 |
+
table.popup-table .muted{
|
460 |
+
color: #aaa;
|
461 |
+
}
|
462 |
+
|
463 |
+
table.popup-table .link{
|
464 |
+
text-decoration: underline;
|
465 |
+
cursor: pointer;
|
466 |
+
font-weight: bold;
|
467 |
+
}
|
468 |
+
|
469 |
+
.ui-defaults-none{
|
470 |
+
color: #aaa !important;
|
471 |
+
}
|
472 |
+
|
473 |
+
#settings span{
|
474 |
+
color: var(--body-text-color);
|
475 |
+
}
|
476 |
+
|
477 |
+
#settings .gradio-textbox, #settings .gradio-slider, #settings .gradio-number, #settings .gradio-dropdown, #settings .gradio-checkboxgroup, #settings .gradio-radio{
|
478 |
+
margin-top: 0.75em;
|
479 |
+
}
|
480 |
+
|
481 |
+
#settings span .settings-comment {
|
482 |
+
display: inline
|
483 |
+
}
|
484 |
+
|
485 |
+
.settings-comment a{
|
486 |
+
text-decoration: underline;
|
487 |
+
}
|
488 |
+
|
489 |
+
.settings-comment .info{
|
490 |
+
opacity: 0.75;
|
491 |
+
}
|
492 |
+
|
493 |
+
#sysinfo_download a.sysinfo_big_link{
|
494 |
+
font-size: 24pt;
|
495 |
+
}
|
496 |
+
|
497 |
+
#sysinfo_download a{
|
498 |
+
text-decoration: underline;
|
499 |
+
}
|
500 |
+
|
501 |
+
#sysinfo_validity{
|
502 |
+
font-size: 18pt;
|
503 |
+
}
|
504 |
+
|
505 |
+
#settings .settings-info{
|
506 |
+
max-width: 48em;
|
507 |
+
border: 1px dotted #777;
|
508 |
+
margin: 0;
|
509 |
+
padding: 1em;
|
510 |
+
}
|
511 |
+
|
512 |
+
|
513 |
+
/* live preview */
|
514 |
+
.progressDiv{
|
515 |
+
position: absolute;
|
516 |
+
height: 20px;
|
517 |
+
background: #b4c0cc;
|
518 |
+
border-radius: 3px !important;
|
519 |
+
top: -20px;
|
520 |
+
width: 100%;
|
521 |
+
}
|
522 |
+
|
523 |
+
.progress-container{
|
524 |
+
position: relative;
|
525 |
+
}
|
526 |
+
|
527 |
+
[id$=_results].mobile{
|
528 |
+
margin-top: 28px;
|
529 |
+
}
|
530 |
+
|
531 |
+
.dark .progressDiv{
|
532 |
+
background: #424c5b;
|
533 |
+
}
|
534 |
+
|
535 |
+
.progressDiv .progress{
|
536 |
+
width: 0%;
|
537 |
+
height: 20px;
|
538 |
+
background: #0060df;
|
539 |
+
color: white;
|
540 |
+
font-weight: bold;
|
541 |
+
line-height: 20px;
|
542 |
+
padding: 0 8px 0 0;
|
543 |
+
text-align: right;
|
544 |
+
border-radius: 3px;
|
545 |
+
overflow: visible;
|
546 |
+
white-space: nowrap;
|
547 |
+
padding: 0 0.5em;
|
548 |
+
}
|
549 |
+
|
550 |
+
.livePreview{
|
551 |
+
position: absolute;
|
552 |
+
z-index: 300;
|
553 |
+
background: var(--background-fill-primary);
|
554 |
+
width: 100%;
|
555 |
+
height: 100%;
|
556 |
+
}
|
557 |
+
|
558 |
+
.livePreview img{
|
559 |
+
position: absolute;
|
560 |
+
object-fit: contain;
|
561 |
+
width: 100%;
|
562 |
+
height: calc(100% - 60px); /* to match gradio's height */
|
563 |
+
}
|
564 |
+
|
565 |
+
/* fullscreen popup (ie in Lora's (i) button) */
|
566 |
+
|
567 |
+
.popup-metadata{
|
568 |
+
color: black;
|
569 |
+
background: white;
|
570 |
+
display: inline-block;
|
571 |
+
padding: 1em;
|
572 |
+
white-space: pre-wrap;
|
573 |
+
}
|
574 |
+
|
575 |
+
.global-popup{
|
576 |
+
display: flex;
|
577 |
+
position: fixed;
|
578 |
+
z-index: 1001;
|
579 |
+
left: 0;
|
580 |
+
top: 0;
|
581 |
+
width: 100%;
|
582 |
+
height: 100%;
|
583 |
+
overflow: auto;
|
584 |
+
background-color: rgba(20, 20, 20, 0.95);
|
585 |
+
}
|
586 |
+
|
587 |
+
.global-popup *{
|
588 |
+
box-sizing: border-box;
|
589 |
+
}
|
590 |
+
|
591 |
+
.global-popup-close:before {
|
592 |
+
content: "×";
|
593 |
+
}
|
594 |
+
|
595 |
+
.global-popup-close{
|
596 |
+
position: fixed;
|
597 |
+
right: 0.25em;
|
598 |
+
top: 0;
|
599 |
+
cursor: pointer;
|
600 |
+
color: white;
|
601 |
+
font-size: 32pt;
|
602 |
+
}
|
603 |
+
|
604 |
+
.global-popup-inner{
|
605 |
+
display: inline-block;
|
606 |
+
margin: auto;
|
607 |
+
padding: 2em;
|
608 |
+
}
|
609 |
+
|
610 |
+
/* fullpage image viewer */
|
611 |
+
|
612 |
+
#lightboxModal{
|
613 |
+
display: none;
|
614 |
+
position: fixed;
|
615 |
+
z-index: 1001;
|
616 |
+
left: 0;
|
617 |
+
top: 0;
|
618 |
+
width: 100%;
|
619 |
+
height: 100%;
|
620 |
+
overflow: auto;
|
621 |
+
background-color: rgba(20, 20, 20, 0.95);
|
622 |
+
user-select: none;
|
623 |
+
-webkit-user-select: none;
|
624 |
+
flex-direction: column;
|
625 |
+
}
|
626 |
+
|
627 |
+
.modalControls {
|
628 |
+
display: flex;
|
629 |
+
position: absolute;
|
630 |
+
right: 0px;
|
631 |
+
left: 0px;
|
632 |
+
gap: 1em;
|
633 |
+
padding: 1em;
|
634 |
+
background-color:rgba(0,0,0,0);
|
635 |
+
z-index: 1;
|
636 |
+
transition: 0.2s ease background-color;
|
637 |
+
}
|
638 |
+
.modalControls:hover {
|
639 |
+
background-color:rgba(0,0,0,0.9);
|
640 |
+
}
|
641 |
+
.modalClose {
|
642 |
+
margin-left: auto;
|
643 |
+
}
|
644 |
+
.modalControls span{
|
645 |
+
color: white;
|
646 |
+
text-shadow: 0px 0px 0.25em black;
|
647 |
+
font-size: 35px;
|
648 |
+
font-weight: bold;
|
649 |
+
cursor: pointer;
|
650 |
+
width: 1em;
|
651 |
+
}
|
652 |
+
|
653 |
+
.modalControls span:hover, .modalControls span:focus{
|
654 |
+
color: #999;
|
655 |
+
text-decoration: none;
|
656 |
+
}
|
657 |
+
|
658 |
+
#lightboxModal > img {
|
659 |
+
display: block;
|
660 |
+
margin: auto;
|
661 |
+
width: auto;
|
662 |
+
}
|
663 |
+
|
664 |
+
#lightboxModal > img.modalImageFullscreen{
|
665 |
+
object-fit: contain;
|
666 |
+
height: 100%;
|
667 |
+
width: 100%;
|
668 |
+
min-height: 0;
|
669 |
+
}
|
670 |
+
|
671 |
+
.modalPrev,
|
672 |
+
.modalNext {
|
673 |
+
cursor: pointer;
|
674 |
+
position: absolute;
|
675 |
+
top: 50%;
|
676 |
+
width: auto;
|
677 |
+
padding: 16px;
|
678 |
+
margin-top: -50px;
|
679 |
+
color: white;
|
680 |
+
font-weight: bold;
|
681 |
+
font-size: 20px;
|
682 |
+
transition: 0.6s ease;
|
683 |
+
border-radius: 0 3px 3px 0;
|
684 |
+
user-select: none;
|
685 |
+
-webkit-user-select: none;
|
686 |
+
}
|
687 |
+
|
688 |
+
.modalNext {
|
689 |
+
right: 0;
|
690 |
+
border-radius: 3px 0 0 3px;
|
691 |
+
}
|
692 |
+
|
693 |
+
.modalPrev:hover,
|
694 |
+
.modalNext:hover {
|
695 |
+
background-color: rgba(0, 0, 0, 0.8);
|
696 |
+
}
|
697 |
+
|
698 |
+
#imageARPreview {
|
699 |
+
position: absolute;
|
700 |
+
top: 0px;
|
701 |
+
left: 0px;
|
702 |
+
border: 2px solid red;
|
703 |
+
background: rgba(255, 0, 0, 0.3);
|
704 |
+
z-index: 900;
|
705 |
+
pointer-events: none;
|
706 |
+
display: none;
|
707 |
+
}
|
708 |
+
|
709 |
+
/* context menu (ie for the generate button) */
|
710 |
+
|
711 |
+
#context-menu{
|
712 |
+
z-index:9999;
|
713 |
+
position:absolute;
|
714 |
+
display:block;
|
715 |
+
padding:0px 0;
|
716 |
+
border:2px solid #a55000;
|
717 |
+
border-radius:8px;
|
718 |
+
box-shadow:1px 1px 2px #CE6400;
|
719 |
+
width: 200px;
|
720 |
+
}
|
721 |
+
|
722 |
+
.context-menu-items{
|
723 |
+
list-style: none;
|
724 |
+
margin: 0;
|
725 |
+
padding: 0;
|
726 |
+
}
|
727 |
+
|
728 |
+
.context-menu-items a{
|
729 |
+
display:block;
|
730 |
+
padding:5px;
|
731 |
+
cursor:pointer;
|
732 |
+
}
|
733 |
+
|
734 |
+
.context-menu-items a:hover{
|
735 |
+
background: #a55000;
|
736 |
+
}
|
737 |
+
|
738 |
+
|
739 |
+
/* extensions */
|
740 |
+
|
741 |
+
#tab_extensions table{
|
742 |
+
border-collapse: collapse;
|
743 |
+
}
|
744 |
+
|
745 |
+
#tab_extensions table td, #tab_extensions table th{
|
746 |
+
border: 1px solid #ccc;
|
747 |
+
padding: 0.25em 0.5em;
|
748 |
+
}
|
749 |
+
|
750 |
+
#tab_extensions table input[type="checkbox"]{
|
751 |
+
margin-right: 0.5em;
|
752 |
+
appearance: checkbox;
|
753 |
+
}
|
754 |
+
|
755 |
+
#tab_extensions button{
|
756 |
+
max-width: 16em;
|
757 |
+
}
|
758 |
+
|
759 |
+
#tab_extensions input[disabled="disabled"]{
|
760 |
+
opacity: 0.5;
|
761 |
+
}
|
762 |
+
|
763 |
+
.extension-tag{
|
764 |
+
font-weight: bold;
|
765 |
+
font-size: 95%;
|
766 |
+
}
|
767 |
+
|
768 |
+
#available_extensions .info{
|
769 |
+
margin: 0;
|
770 |
+
}
|
771 |
+
|
772 |
+
#available_extensions .info{
|
773 |
+
margin: 0.5em 0;
|
774 |
+
display: flex;
|
775 |
+
margin-top: auto;
|
776 |
+
opacity: 0.80;
|
777 |
+
font-size: 90%;
|
778 |
+
}
|
779 |
+
|
780 |
+
#available_extensions .date_added{
|
781 |
+
margin-right: auto;
|
782 |
+
display: inline-block;
|
783 |
+
}
|
784 |
+
|
785 |
+
#available_extensions .star_count{
|
786 |
+
margin-left: auto;
|
787 |
+
display: inline-block;
|
788 |
+
}
|
789 |
+
|
790 |
+
/* replace original footer with ours */
|
791 |
+
|
792 |
+
footer {
|
793 |
+
display: none !important;
|
794 |
+
}
|
795 |
+
|
796 |
+
#footer{
|
797 |
+
text-align: center;
|
798 |
+
}
|
799 |
+
|
800 |
+
#footer div{
|
801 |
+
display: inline-block;
|
802 |
+
}
|
803 |
+
|
804 |
+
#footer .versions{
|
805 |
+
font-size: 85%;
|
806 |
+
opacity: 0.85;
|
807 |
+
}
|
808 |
+
|
809 |
+
/* extra networks UI */
|
810 |
+
|
811 |
+
.extra-network-cards{
|
812 |
+
height: calc(100vh - 24rem);
|
813 |
+
overflow: clip scroll;
|
814 |
+
resize: vertical;
|
815 |
+
min-height: 52rem;
|
816 |
+
}
|
817 |
+
|
818 |
+
.extra-networks > div.tab-nav{
|
819 |
+
min-height: 3.4rem;
|
820 |
+
}
|
821 |
+
|
822 |
+
.extra-networks > div > [id *= '_extra_']{
|
823 |
+
margin: 0.3em;
|
824 |
+
}
|
825 |
+
|
826 |
+
.extra-network-subdirs{
|
827 |
+
padding: 0.2em 0.35em;
|
828 |
+
}
|
829 |
+
|
830 |
+
.extra-network-subdirs button{
|
831 |
+
margin: 0 0.15em;
|
832 |
+
}
|
833 |
+
.extra-networks .tab-nav .search,
|
834 |
+
.extra-networks .tab-nav .sort,
|
835 |
+
.extra-networks .tab-nav .show-dirs
|
836 |
+
{
|
837 |
+
margin: 0.3em;
|
838 |
+
align-self: center;
|
839 |
+
width: auto;
|
840 |
+
}
|
841 |
+
|
842 |
+
.extra-networks .tab-nav .search {
|
843 |
+
width: 16em;
|
844 |
+
max-width: 16em;
|
845 |
+
}
|
846 |
+
|
847 |
+
.extra-networks .tab-nav .sort {
|
848 |
+
width: 12em;
|
849 |
+
max-width: 12em;
|
850 |
+
}
|
851 |
+
|
852 |
+
#txt2img_extra_view, #img2img_extra_view {
|
853 |
+
width: auto;
|
854 |
+
}
|
855 |
+
|
856 |
+
.extra-network-cards .nocards{
|
857 |
+
margin: 1.25em 0.5em 0.5em 0.5em;
|
858 |
+
}
|
859 |
+
|
860 |
+
.extra-network-cards .nocards h1{
|
861 |
+
font-size: 1.5em;
|
862 |
+
margin-bottom: 1em;
|
863 |
+
}
|
864 |
+
|
865 |
+
.extra-network-cards .nocards li{
|
866 |
+
margin-left: 0.5em;
|
867 |
+
}
|
868 |
+
|
869 |
+
|
870 |
+
.extra-network-cards .card .button-row{
|
871 |
+
display: none;
|
872 |
+
position: absolute;
|
873 |
+
color: white;
|
874 |
+
right: 0;
|
875 |
+
z-index: 1
|
876 |
+
}
|
877 |
+
.extra-network-cards .card:hover .button-row{
|
878 |
+
display: flex;
|
879 |
+
}
|
880 |
+
|
881 |
+
.extra-network-cards .card .card-button{
|
882 |
+
color: white;
|
883 |
+
}
|
884 |
+
|
885 |
+
.extra-network-cards .card .metadata-button:before{
|
886 |
+
content: "🛈";
|
887 |
+
}
|
888 |
+
|
889 |
+
.extra-network-cards .card .edit-button:before{
|
890 |
+
content: "🛠";
|
891 |
+
}
|
892 |
+
|
893 |
+
.extra-network-cards .card .card-button {
|
894 |
+
text-shadow: 2px 2px 3px black;
|
895 |
+
padding: 0.25em 0.1em;
|
896 |
+
font-size: 200%;
|
897 |
+
width: 1.5em;
|
898 |
+
}
|
899 |
+
.extra-network-cards .card .card-button:hover{
|
900 |
+
color: red;
|
901 |
+
}
|
902 |
+
|
903 |
+
|
904 |
+
.standalone-card-preview.card .preview{
|
905 |
+
position: absolute;
|
906 |
+
object-fit: cover;
|
907 |
+
width: 100%;
|
908 |
+
height:100%;
|
909 |
+
}
|
910 |
+
|
911 |
+
.extra-network-cards .card, .standalone-card-preview.card{
|
912 |
+
display: inline-block;
|
913 |
+
margin: 0.5rem;
|
914 |
+
width: 16rem;
|
915 |
+
height: 24rem;
|
916 |
+
box-shadow: 0 0 5px rgba(128, 128, 128, 0.5);
|
917 |
+
border-radius: 0.2rem;
|
918 |
+
position: relative;
|
919 |
+
|
920 |
+
background-size: auto 100%;
|
921 |
+
background-position: center;
|
922 |
+
overflow: hidden;
|
923 |
+
cursor: pointer;
|
924 |
+
|
925 |
+
background-image: url('./file=html/card-no-preview.png')
|
926 |
+
}
|
927 |
+
|
928 |
+
.extra-network-cards .card:hover{
|
929 |
+
box-shadow: 0 0 2px 0.3em rgba(0, 128, 255, 0.35);
|
930 |
+
}
|
931 |
+
|
932 |
+
.extra-network-cards .card .actions .additional{
|
933 |
+
display: none;
|
934 |
+
}
|
935 |
+
|
936 |
+
.extra-network-cards .card .actions{
|
937 |
+
position: absolute;
|
938 |
+
bottom: 0;
|
939 |
+
left: 0;
|
940 |
+
right: 0;
|
941 |
+
padding: 0.5em;
|
942 |
+
background: rgba(0,0,0,0.5);
|
943 |
+
box-shadow: 0 0 0.25em 0.25em rgba(0,0,0,0.5);
|
944 |
+
text-shadow: 0 0 0.2em black;
|
945 |
+
}
|
946 |
+
|
947 |
+
.extra-network-cards .card .actions *{
|
948 |
+
color: white;
|
949 |
+
}
|
950 |
+
|
951 |
+
.extra-network-cards .card .actions .name{
|
952 |
+
font-size: 1.7em;
|
953 |
+
font-weight: bold;
|
954 |
+
line-break: anywhere;
|
955 |
+
}
|
956 |
+
|
957 |
+
.extra-network-cards .card .actions .description {
|
958 |
+
display: block;
|
959 |
+
max-height: 3em;
|
960 |
+
white-space: pre-wrap;
|
961 |
+
line-height: 1.1;
|
962 |
+
}
|
963 |
+
|
964 |
+
.extra-network-cards .card .actions .description:hover {
|
965 |
+
max-height: none;
|
966 |
+
}
|
967 |
+
|
968 |
+
.extra-network-cards .card .actions:hover .additional{
|
969 |
+
display: block;
|
970 |
+
}
|
971 |
+
|
972 |
+
.extra-network-cards .card ul{
|
973 |
+
margin: 0.25em 0 0.75em 0.25em;
|
974 |
+
cursor: unset;
|
975 |
+
}
|
976 |
+
|
977 |
+
.extra-network-cards .card ul a{
|
978 |
+
cursor: pointer;
|
979 |
+
}
|
980 |
+
|
981 |
+
.extra-network-cards .card ul a:hover{
|
982 |
+
color: red;
|
983 |
+
}
|
984 |
+
|
985 |
+
.extra-network-cards .card .preview{
|
986 |
+
position: absolute;
|
987 |
+
object-fit: cover;
|
988 |
+
width: 100%;
|
989 |
+
height:100%;
|
990 |
+
}
|
991 |
+
|
992 |
+
div.block.gradio-box.edit-user-metadata {
|
993 |
+
width: 56em;
|
994 |
+
background: var(--body-background-fill);
|
995 |
+
padding: 2em !important;
|
996 |
+
}
|
997 |
+
|
998 |
+
.edit-user-metadata .extra-network-name{
|
999 |
+
font-size: 18pt;
|
1000 |
+
color: var(--body-text-color);
|
1001 |
+
}
|
1002 |
+
|
1003 |
+
.edit-user-metadata .file-metadata{
|
1004 |
+
color: var(--body-text-color);
|
1005 |
+
}
|
1006 |
+
|
1007 |
+
.edit-user-metadata .file-metadata th{
|
1008 |
+
text-align: left;
|
1009 |
+
}
|
1010 |
+
|
1011 |
+
.edit-user-metadata .file-metadata th, .edit-user-metadata .file-metadata td{
|
1012 |
+
padding: 0.3em 1em;
|
1013 |
+
overflow-wrap: anywhere;
|
1014 |
+
word-break: break-word;
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
.edit-user-metadata .wrap.translucent{
|
1018 |
+
background: var(--body-background-fill);
|
1019 |
+
}
|
1020 |
+
.edit-user-metadata .gradio-highlightedtext span{
|
1021 |
+
word-break: break-word;
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
.edit-user-metadata-buttons{
|
1025 |
+
margin-top: 1.5em;
|
1026 |
+
}
|
1027 |
+
|
1028 |
+
|
1029 |
+
|
1030 |
+
|
1031 |
+
div.block.gradio-box.popup-dialog, .popup-dialog {
|
1032 |
+
width: 56em;
|
1033 |
+
background: var(--body-background-fill);
|
1034 |
+
padding: 2em !important;
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
div.block.gradio-box.popup-dialog > div:last-child, .popup-dialog > div:last-child{
|
1038 |
+
margin-top: 1em;
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
div.block.input-accordion{
|
1042 |
+
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
.input-accordion-extra{
|
1046 |
+
flex: 0 0 auto !important;
|
1047 |
+
margin: 0 0.5em 0 auto;
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
div.accordions > div.input-accordion{
|
1051 |
+
min-width: fit-content !important;
|
1052 |
+
}
|
1053 |
+
|
1054 |
+
div.accordions > div.gradio-accordion .label-wrap span{
|
1055 |
+
white-space: nowrap;
|
1056 |
+
margin-right: 0.25em;
|
1057 |
+
}
|
1058 |
+
|
1059 |
+
div.accordions{
|
1060 |
+
gap: 0.5em;
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
div.accordions > div.input-accordion.input-accordion-open{
|
1064 |
+
flex: 1 auto;
|
1065 |
+
flex-flow: column;
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
|
1069 |
+
/* sticky right hand columns */
|
1070 |
+
|
1071 |
+
#img2img_results, #txt2img_results, #extras_results {
|
1072 |
+
position: sticky;
|
1073 |
+
top: 0.5em;
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
body.resizing {
|
1077 |
+
cursor: col-resize !important;
|
1078 |
+
}
|
1079 |
+
|
1080 |
+
body.resizing * {
|
1081 |
+
pointer-events: none !important;
|
1082 |
+
}
|
1083 |
+
|
1084 |
+
body.resizing .resize-handle {
|
1085 |
+
pointer-events: initial !important;
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
.resize-handle {
|
1089 |
+
position: relative;
|
1090 |
+
cursor: col-resize;
|
1091 |
+
grid-column: 2 / 3;
|
1092 |
+
min-width: 16px !important;
|
1093 |
+
max-width: 16px !important;
|
1094 |
+
height: 100%;
|
1095 |
+
}
|
1096 |
+
|
1097 |
+
.resize-handle::after {
|
1098 |
+
content: '';
|
1099 |
+
position: absolute;
|
1100 |
+
top: 0;
|
1101 |
+
bottom: 0;
|
1102 |
+
left: 7.5px;
|
1103 |
+
border-left: 1px dashed var(--border-color-primary);
|
1104 |
+
}
|