ProDem commited on
Commit
4dab117
·
1 Parent(s): f90dcaf

Delete style.css

Browse files
Files changed (1) hide show
  1. style.css +0 -517
style.css DELETED
@@ -1,517 +0,0 @@
1
- .container {
2
- max-width: 100%;
3
- }
4
-
5
- #txt2img_token_counter {
6
- height: 0px;
7
- }
8
-
9
- #img2img_token_counter {
10
- height: 0px;
11
- }
12
-
13
- #sh{
14
- min-width: 2em;
15
- min-height: 2em;
16
- max-width: 2em;
17
- max-height: 2em;
18
- flex-grow: 0;
19
- padding-left: 0.25em;
20
- padding-right: 0.25em;
21
- margin: 0.1em 0;
22
- opacity: 0%;
23
- cursor: default;
24
- }
25
-
26
- .output-html p {margin: 0 0.5em;}
27
-
28
- .row > *,
29
- .row > .gr-form > * {
30
- min-width: min(120px, 100%);
31
- flex: 1 1 0%;
32
- }
33
-
34
- .performance {
35
- font-size: 0.85em;
36
- color: #444;
37
- }
38
-
39
- .performance p{
40
- display: inline-block;
41
- }
42
-
43
- .performance .time {
44
- margin-right: 0;
45
- }
46
-
47
- .performance .vram {
48
- }
49
-
50
- #txt2img_generate, #img2img_generate {
51
- min-height: 4.5em;
52
- }
53
-
54
- @media screen and (min-width: 2500px) {
55
- #txt2img_gallery, #img2img_gallery {
56
- min-height: 768px;
57
- }
58
- }
59
-
60
- #txt2img_gallery img, #img2img_gallery img{
61
- object-fit: scale-down;
62
- }
63
-
64
- .justify-center.overflow-x-scroll {
65
- justify-content: left;
66
- }
67
-
68
- .justify-center.overflow-x-scroll button:first-of-type {
69
- margin-left: auto;
70
- }
71
-
72
- .justify-center.overflow-x-scroll button:last-of-type {
73
- margin-right: auto;
74
- }
75
-
76
- #random_seed, #random_subseed, #reuse_seed, #reuse_subseed, #open_folder{
77
- min-width: auto;
78
- flex-grow: 0;
79
- padding-left: 0.25em;
80
- padding-right: 0.25em;
81
- }
82
-
83
- #hidden_element{
84
- display: none;
85
- }
86
-
87
- #seed_row, #subseed_row{
88
- gap: 0.5rem;
89
- }
90
-
91
- #subseed_show_box{
92
- min-width: auto;
93
- flex-grow: 0;
94
- }
95
-
96
- #subseed_show_box > div{
97
- border: 0;
98
- height: 100%;
99
- }
100
-
101
- #subseed_show{
102
- min-width: auto;
103
- flex-grow: 0;
104
- padding: 0;
105
- }
106
-
107
- #subseed_show label{
108
- height: 100%;
109
- }
110
-
111
- #roll_col{
112
- min-width: unset !important;
113
- flex-grow: 0 !important;
114
- padding: 0.4em 0;
115
- }
116
-
117
- #roll, #paste, #style_create, #style_apply{
118
- min-width: 2em;
119
- min-height: 2em;
120
- max-width: 2em;
121
- max-height: 2em;
122
- flex-grow: 0;
123
- padding-left: 0.25em;
124
- padding-right: 0.25em;
125
- margin: 0.1em 0;
126
- }
127
-
128
- #interrogate_col{
129
- min-width: 0 !important;
130
- max-width: 8em !important;
131
- }
132
- #interrogate, #deepbooru{
133
- margin: 0em 0.25em 0.9em 0.25em;
134
- min-width: 8em;
135
- max-width: 8em;
136
- }
137
-
138
- #style_pos_col, #style_neg_col{
139
- min-width: 8em !important;
140
- }
141
-
142
- #txt2img_style_index, #txt2img_style2_index, #img2img_style_index, #img2img_style2_index{
143
- margin-top: 1em;
144
- }
145
-
146
- .gr-form{
147
- background: transparent;
148
- }
149
-
150
- .my-4{
151
- margin-top: 0;
152
- margin-bottom: 0;
153
- }
154
-
155
- #toprow div{
156
- border: none;
157
- gap: 0;
158
- background: transparent;
159
- }
160
-
161
- #resize_mode{
162
- flex: 1.5;
163
- }
164
-
165
- button{
166
- align-self: stretch !important;
167
- }
168
-
169
- .overflow-hidden, .gr-panel{
170
- overflow: visible !important;
171
- }
172
-
173
- #x_type, #y_type{
174
- max-width: 10em;
175
- }
176
-
177
- #txt2img_preview, #img2img_preview, #ti_preview{
178
- position: absolute;
179
- width: 320px;
180
- left: 0;
181
- right: 0;
182
- margin-left: auto;
183
- margin-right: auto;
184
- margin-top: 34px;
185
- z-index: 100;
186
- border: none;
187
- border-top-left-radius: 0;
188
- border-top-right-radius: 0;
189
- }
190
-
191
- @media screen and (min-width: 768px) {
192
- #txt2img_preview, #img2img_preview, #ti_preview {
193
- position: absolute;
194
- }
195
- }
196
-
197
- @media screen and (max-width: 767px) {
198
- #txt2img_preview, #img2img_preview, #ti_preview {
199
- position: relative;
200
- }
201
- }
202
-
203
- #txt2img_preview div.left-0.top-0, #img2img_preview div.left-0.top-0, #ti_preview div.left-0.top-0{
204
- display: none;
205
- }
206
-
207
- fieldset span.text-gray-500, .gr-block.gr-box span.text-gray-500, label.block span{
208
- position: absolute;
209
- top: -0.6em;
210
- line-height: 1.2em;
211
- padding: 0 0.5em;
212
- margin: 0;
213
-
214
- background-color: white;
215
- border-top: 1px solid #eee;
216
- border-left: 1px solid #eee;
217
- border-right: 1px solid #eee;
218
-
219
- z-index: 300;
220
- }
221
-
222
- .dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500, .dark label.block span{
223
- background-color: rgb(31, 41, 55);
224
- border-top: 1px solid rgb(55 65 81);
225
- border-left: 1px solid rgb(55 65 81);
226
- border-right: 1px solid rgb(55 65 81);
227
- }
228
-
229
- #settings fieldset span.text-gray-500, #settings .gr-block.gr-box span.text-gray-500, #settings label.block span{
230
- position: relative;
231
- border: none;
232
- margin-right: 8em;
233
- }
234
-
235
- .gr-panel div.flex-col div.justify-between label span{
236
- margin: 0;
237
- }
238
-
239
- #settings .gr-panel div.flex-col div.justify-between div{
240
- position: relative;
241
- z-index: 200;
242
- }
243
-
244
- input[type="range"]{
245
- margin: 0.5em 0 -0.3em 0;
246
- }
247
-
248
- #txt2img_sampling label{
249
- padding-left: 0.6em;
250
- padding-right: 0.6em;
251
- }
252
-
253
- #mask_bug_info {
254
- text-align: center;
255
- display: block;
256
- margin-top: -0.75em;
257
- margin-bottom: -0.75em;
258
- }
259
-
260
- #txt2img_negative_prompt, #img2img_negative_prompt{
261
- }
262
-
263
- #txt2img_progressbar, #img2img_progressbar, #ti_progressbar{
264
- position: absolute;
265
- z-index: 1000;
266
- right: 0;
267
- padding-left: 5px;
268
- padding-right: 5px;
269
- display: block;
270
- }
271
-
272
- #txt2img_progress_row, #img2img_progress_row{
273
- margin-bottom: 10px;
274
- margin-top: -18px;
275
- }
276
-
277
- .progressDiv{
278
- width: 100%;
279
- height: 20px;
280
- background: #b4c0cc;
281
- border-radius: 8px;
282
- }
283
-
284
- .dark .progressDiv{
285
- background: #424c5b;
286
- }
287
-
288
- .progressDiv .progress{
289
- width: 0%;
290
- height: 20px;
291
- background: #0060df;
292
- color: white;
293
- font-weight: bold;
294
- line-height: 20px;
295
- padding: 0 8px 0 0;
296
- text-align: right;
297
- border-radius: 8px;
298
- }
299
-
300
- #lightboxModal{
301
- display: none;
302
- position: fixed;
303
- z-index: 1001;
304
- padding-top: 100px;
305
- left: 0;
306
- top: 0;
307
- width: 100%;
308
- height: 100%;
309
- overflow: auto;
310
- background-color: rgba(20, 20, 20, 0.95);
311
- user-select: none;
312
- -webkit-user-select: none;
313
- }
314
-
315
- .modalControls {
316
- display: grid;
317
- grid-template-columns: 32px auto 1fr 32px;
318
- grid-template-areas: "zoom tile space close";
319
- position: absolute;
320
- top: 0;
321
- left: 0;
322
- right: 0;
323
- padding: 16px;
324
- gap: 16px;
325
- background-color: rgba(0,0,0,0.2);
326
- }
327
-
328
- .modalClose {
329
- grid-area: close;
330
- }
331
-
332
- .modalZoom {
333
- grid-area: zoom;
334
- }
335
-
336
- .modalTileImage {
337
- grid-area: tile;
338
- }
339
-
340
- .modalClose,
341
- .modalZoom,
342
- .modalTileImage {
343
- color: white;
344
- font-size: 35px;
345
- font-weight: bold;
346
- cursor: pointer;
347
- }
348
-
349
- .modalClose:hover,
350
- .modalClose:focus,
351
- .modalZoom:hover,
352
- .modalZoom:focus {
353
- color: #999;
354
- text-decoration: none;
355
- cursor: pointer;
356
- }
357
-
358
- #modalImage {
359
- display: block;
360
- margin-left: auto;
361
- margin-right: auto;
362
- margin-top: auto;
363
- width: auto;
364
- }
365
-
366
- .modalImageFullscreen {
367
- object-fit: contain;
368
- height: 90%;
369
- }
370
-
371
- .modalPrev,
372
- .modalNext {
373
- cursor: pointer;
374
- position: absolute;
375
- top: 50%;
376
- width: auto;
377
- padding: 16px;
378
- margin-top: -50px;
379
- color: white;
380
- font-weight: bold;
381
- font-size: 20px;
382
- transition: 0.6s ease;
383
- border-radius: 0 3px 3px 0;
384
- user-select: none;
385
- -webkit-user-select: none;
386
- }
387
-
388
- .modalNext {
389
- right: 0;
390
- border-radius: 3px 0 0 3px;
391
- }
392
-
393
- .modalPrev:hover,
394
- .modalNext:hover {
395
- background-color: rgba(0, 0, 0, 0.8);
396
- }
397
-
398
- #imageARPreview{
399
- position:absolute;
400
- top:0px;
401
- left:0px;
402
- border:2px solid red;
403
- background:rgba(255, 0, 0, 0.3);
404
- z-index: 900;
405
- pointer-events:none;
406
- display:none
407
- }
408
-
409
- #txt2img_interrupt, #img2img_interrupt{
410
- position: absolute;
411
- width: 50%;
412
- height: 72px;
413
- background: #b4c0cc;
414
- border-radius: 0px;
415
- display: none;
416
- }
417
-
418
- #txt2img_skip, #img2img_skip{
419
- position: absolute;
420
- width: 50%;
421
- right: 0px;
422
- height: 72px;
423
- background: #b4c0cc;
424
- border-radius: 0px;
425
- display: none;
426
- }
427
-
428
- .red {
429
- color: red;
430
- }
431
-
432
- .gallery-item {
433
- --tw-bg-opacity: 0 !important;
434
- }
435
-
436
- #context-menu{
437
- z-index:9999;
438
- position:absolute;
439
- display:block;
440
- padding:0px 0;
441
- border:2px solid #a55000;
442
- border-radius:8px;
443
- box-shadow:1px 1px 2px #CE6400;
444
- width: 200px;
445
- }
446
-
447
- .context-menu-items{
448
- list-style: none;
449
- margin: 0;
450
- padding: 0;
451
- }
452
-
453
- .context-menu-items a{
454
- display:block;
455
- padding:5px;
456
- cursor:pointer;
457
- }
458
-
459
- .context-menu-items a:hover{
460
- background: #a55000;
461
- }
462
-
463
- #quicksettings {
464
- gap: 0.4em;
465
- }
466
-
467
- #quicksettings > div{
468
- border: none;
469
- background: none;
470
- flex: unset;
471
- gap: 0.5em;
472
- }
473
-
474
- #quicksettings > div > div{
475
- max-width: 32em;
476
- min-width: 24em;
477
- padding: 0;
478
- }
479
-
480
- #refresh_sd_model_checkpoint, #refresh_sd_hypernetwork, #refresh_train_hypernetwork_name, #refresh_train_embedding_name, #refresh_localization, #refresh_aesthetic_embeddings{
481
- max-width: 2.5em;
482
- min-width: 2.5em;
483
- height: 2.4em;
484
- }
485
-
486
-
487
- canvas[key="mask"] {
488
- z-index: 12 !important;
489
- filter: invert();
490
- mix-blend-mode: multiply;
491
- pointer-events: none;
492
- }
493
-
494
-
495
- /* gradio 3.4.1 stuff for editable scrollbar values */
496
- .gr-box > div > div > input.gr-text-input{
497
- position: absolute;
498
- right: 0.5em;
499
- top: -0.6em;
500
- z-index: 200;
501
- width: 8em;
502
- }
503
- #quicksettings .gr-box > div > div > input.gr-text-input {
504
- top: -1.12em;
505
- }
506
-
507
- .row.gr-compact{
508
- overflow: visible;
509
- }
510
-
511
- #img2img_image, #img2img_image > .h-60, #img2img_image > .h-60 > div, #img2img_image > .h-60 > div > img,
512
- img2maskimg, #img2maskimg > .h-60, #img2maskimg > .h-60 > div, #img2maskimg > .h-60 > div > img
513
- {
514
- height: 480px !important;
515
- max-height: 480px !important;
516
- min-height: 480px !important;
517
- }