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