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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
/* general gradio fixes */
|
| 3 |
+
|
| 4 |
+
:root, .dark{
|
| 5 |
+
--checkbox-label-gap: 0.25em 0.1em;
|
| 6 |
+
--section-header-text-size: 12pt;
|
| 7 |
+
--block-background-fill: transparent;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.block.padded:not(.gradio-accordion) {
|
| 11 |
+
padding: 0 !important;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
div.gradio-container{
|
| 15 |
+
max-width: unset !important;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.hidden{
|
| 19 |
+
display: none;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.compact{
|
| 23 |
+
background: transparent !important;
|
| 24 |
+
padding: 0 !important;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
div.form{
|
| 28 |
+
border-width: 0;
|
| 29 |
+
box-shadow: none;
|
| 30 |
+
background: transparent;
|
| 31 |
+
overflow: visible;
|
| 32 |
+
gap: 0.5em;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.block.gradio-dropdown,
|
| 36 |
+
.block.gradio-slider,
|
| 37 |
+
.block.gradio-checkbox,
|
| 38 |
+
.block.gradio-textbox,
|
| 39 |
+
.block.gradio-radio,
|
| 40 |
+
.block.gradio-checkboxgroup,
|
| 41 |
+
.block.gradio-number,
|
| 42 |
+
.block.gradio-colorpicker
|
| 43 |
+
{
|
| 44 |
+
border-width: 0 !important;
|
| 45 |
+
box-shadow: none !important;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.gap.compact{
|
| 49 |
+
padding: 0;
|
| 50 |
+
gap: 0.2em 0;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
div.compact{
|
| 54 |
+
gap: 1em;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.gradio-dropdown label span:not(.has-info),
|
| 58 |
+
.gradio-textbox label span:not(.has-info),
|
| 59 |
+
.gradio-number label span:not(.has-info)
|
| 60 |
+
{
|
| 61 |
+
margin-bottom: 0;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.gradio-dropdown ul.options{
|
| 65 |
+
z-index: 3000;
|
| 66 |
+
min-width: fit-content;
|
| 67 |
+
max-width: inherit;
|
| 68 |
+
white-space: nowrap;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.gradio-dropdown ul.options li.item {
|
| 72 |
+
padding: 0.05em 0;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.gradio-dropdown ul.options li.item.selected {
|
| 76 |
+
background-color: var(--neutral-100);
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.dark .gradio-dropdown ul.options li.item.selected {
|
| 80 |
+
background-color: var(--neutral-900);
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.gradio-dropdown div.wrap.wrap.wrap.wrap{
|
| 84 |
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.gradio-dropdown:not(.multiselect) .wrap-inner.wrap-inner.wrap-inner{
|
| 88 |
+
flex-wrap: unset;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.gradio-dropdown .single-select{
|
| 92 |
+
white-space: nowrap;
|
| 93 |
+
overflow: hidden;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.gradio-dropdown .token-remove.remove-all.remove-all{
|
| 97 |
+
display: none;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.gradio-dropdown.multiselect .token-remove.remove-all.remove-all{
|
| 101 |
+
display: flex;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.gradio-slider input[type="number"]{
|
| 105 |
+
width: 6em;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.block.gradio-checkbox {
|
| 109 |
+
margin: 0.75em 1.5em 0 0;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.gradio-html div.wrap{
|
| 113 |
+
height: 100%;
|
| 114 |
+
}
|
| 115 |
+
div.gradio-html.min{
|
| 116 |
+
min-height: 0;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.block.gradio-gallery{
|
| 120 |
+
background: var(--input-background-fill);
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.gradio-container .prose a, .gradio-container .prose a:visited{
|
| 124 |
+
color: unset;
|
| 125 |
+
text-decoration: none;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
/* general styled components */
|
| 131 |
+
|
| 132 |
+
.gradio-button.tool{
|
| 133 |
+
max-width: 2.2em;
|
| 134 |
+
min-width: 2.2em !important;
|
| 135 |
+
height: 2.4em;
|
| 136 |
+
align-self: end;
|
| 137 |
+
line-height: 1em;
|
| 138 |
+
border-radius: 0.5em;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.gradio-button.secondary-down{
|
| 142 |
+
background: var(--button-secondary-background-fill);
|
| 143 |
+
color: var(--button-secondary-text-color);
|
| 144 |
+
}
|
| 145 |
+
.gradio-button.secondary-down, .gradio-button.secondary-down:hover{
|
| 146 |
+
box-shadow: 1px 1px 1px rgba(0,0,0,0.25) inset, 0px 0px 3px rgba(0,0,0,0.15) inset;
|
| 147 |
+
}
|
| 148 |
+
.gradio-button.secondary-down:hover{
|
| 149 |
+
background: var(--button-secondary-background-fill-hover);
|
| 150 |
+
color: var(--button-secondary-text-color-hover);
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.checkboxes-row{
|
| 154 |
+
margin-bottom: 0.5em;
|
| 155 |
+
margin-left: 0em;
|
| 156 |
+
}
|
| 157 |
+
.checkboxes-row > div{
|
| 158 |
+
flex: 0;
|
| 159 |
+
white-space: nowrap;
|
| 160 |
+
min-width: auto;
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
button.custom-button{
|
| 164 |
+
border-radius: var(--button-large-radius);
|
| 165 |
+
padding: var(--button-large-padding);
|
| 166 |
+
font-weight: var(--button-large-text-weight);
|
| 167 |
+
border: var(--button-border-width) solid var(--button-secondary-border-color);
|
| 168 |
+
background: var(--button-secondary-background-fill);
|
| 169 |
+
color: var(--button-secondary-text-color);
|
| 170 |
+
font-size: var(--button-large-text-size);
|
| 171 |
+
display: inline-flex;
|
| 172 |
+
justify-content: center;
|
| 173 |
+
align-items: center;
|
| 174 |
+
transition: var(--button-transition);
|
| 175 |
+
box-shadow: var(--button-shadow);
|
| 176 |
+
text-align: center;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
/* txt2img/img2img specific */
|
| 181 |
+
|
| 182 |
+
.block.token-counter{
|
| 183 |
+
position: absolute;
|
| 184 |
+
display: inline-block;
|
| 185 |
+
right: 1em;
|
| 186 |
+
min-width: 0 !important;
|
| 187 |
+
width: auto;
|
| 188 |
+
z-index: 100;
|
| 189 |
+
top: -0.75em;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
.block.token-counter span{
|
| 193 |
+
background: var(--input-background-fill) !important;
|
| 194 |
+
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);
|
| 195 |
+
border: 2px solid rgba(192,192,192,0.4) !important;
|
| 196 |
+
border-radius: 0.4em;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.block.token-counter.error span{
|
| 200 |
+
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);
|
| 201 |
+
border: 2px solid rgba(255,0,0,0.4) !important;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.block.token-counter div{
|
| 205 |
+
display: inline;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.block.token-counter span{
|
| 209 |
+
padding: 0.1em 0.75em;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
[id$=_subseed_show]{
|
| 213 |
+
min-width: auto !important;
|
| 214 |
+
flex-grow: 0 !important;
|
| 215 |
+
display: flex;
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
[id$=_subseed_show] label{
|
| 219 |
+
margin-bottom: 0.5em;
|
| 220 |
+
align-self: end;
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
.performance {
|
| 224 |
+
font-size: 0.85em;
|
| 225 |
+
color: #444;
|
| 226 |
+
}
|
| 227 |
+
|
| 228 |
+
.performance p{
|
| 229 |
+
display: inline-block;
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.performance .time {
|
| 233 |
+
margin-right: 0;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.performance .vram {
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
#txt2img_generate, #img2img_generate {
|
| 240 |
+
min-height: 4.5em;
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
@media screen and (min-width: 2500px) {
|
| 244 |
+
#txt2img_gallery, #img2img_gallery {
|
| 245 |
+
min-height: 768px;
|
| 246 |
+
}
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
#txt2img_gallery img, #img2img_gallery img{
|
| 250 |
+
object-fit: scale-down;
|
| 251 |
+
}
|
| 252 |
+
#txt2img_actions_column, #img2img_actions_column {
|
| 253 |
+
gap: 0.5em;
|
| 254 |
+
}
|
| 255 |
+
#txt2img_tools, #img2img_tools{
|
| 256 |
+
gap: 0.4em;
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.interrogate-col{
|
| 260 |
+
min-width: 0 !important;
|
| 261 |
+
max-width: fit-content;
|
| 262 |
+
gap: 0.5em;
|
| 263 |
+
}
|
| 264 |
+
.interrogate-col > button{
|
| 265 |
+
flex: 1;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.generate-box{
|
| 269 |
+
position: relative;
|
| 270 |
+
}
|
| 271 |
+
.gradio-button.generate-box-skip, .gradio-button.generate-box-interrupt{
|
| 272 |
+
position: absolute;
|
| 273 |
+
width: 50%;
|
| 274 |
+
height: 100%;
|
| 275 |
+
display: none;
|
| 276 |
+
background: #b4c0cc;
|
| 277 |
+
}
|
| 278 |
+
.gradio-button.generate-box-skip:hover, .gradio-button.generate-box-interrupt:hover{
|
| 279 |
+
background: #c2cfdb;
|
| 280 |
+
}
|
| 281 |
+
.gradio-button.generate-box-interrupt{
|
| 282 |
+
left: 0;
|
| 283 |
+
border-radius: 0.5rem 0 0 0.5rem;
|
| 284 |
+
}
|
| 285 |
+
.gradio-button.generate-box-skip{
|
| 286 |
+
right: 0;
|
| 287 |
+
border-radius: 0 0.5rem 0.5rem 0;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
#txtimg_hr_finalres{
|
| 291 |
+
min-height: 0 !important;
|
| 292 |
+
padding: .625rem .75rem;
|
| 293 |
+
margin-left: -0.75em
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
#txtimg_hr_finalres .resolution{
|
| 297 |
+
font-weight: bold;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
.inactive{
|
| 301 |
+
opacity: 0.5;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
[id$=_column_batch]{
|
| 305 |
+
min-width: min(13.5em, 100%) !important;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
div.dimensions-tools{
|
| 309 |
+
min-width: 0 !important;
|
| 310 |
+
max-width: fit-content;
|
| 311 |
+
flex-direction: row;
|
| 312 |
+
align-content: center;
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
#mode_img2img .gradio-image > div.fixed-height, #mode_img2img .gradio-image > div.fixed-height img{
|
| 316 |
+
height: 480px !important;
|
| 317 |
+
max-height: 480px !important;
|
| 318 |
+
min-height: 480px !important;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
#img2img_sketch, #img2maskimg, #inpaint_sketch {
|
| 322 |
+
overflow: overlay !important;
|
| 323 |
+
resize: auto;
|
| 324 |
+
background: var(--panel-background-fill);
|
| 325 |
+
z-index: 5;
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
.image-buttons button{
|
| 329 |
+
min-width: auto;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.infotext {
|
| 333 |
+
overflow-wrap: break-word;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
/* settings */
|
| 337 |
+
#quicksettings {
|
| 338 |
+
width: fit-content;
|
| 339 |
+
align-items: end;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
#quicksettings > div, #quicksettings > fieldset{
|
| 343 |
+
max-width: 24em;
|
| 344 |
+
min-width: 24em;
|
| 345 |
+
padding: 0;
|
| 346 |
+
border: none;
|
| 347 |
+
box-shadow: none;
|
| 348 |
+
background: none;
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
#settings{
|
| 352 |
+
display: block;
|
| 353 |
+
}
|
| 354 |
+
|
| 355 |
+
#settings > div{
|
| 356 |
+
border: none;
|
| 357 |
+
margin-left: 10em;
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
#settings > div.tab-nav{
|
| 361 |
+
float: left;
|
| 362 |
+
display: block;
|
| 363 |
+
margin-left: 0;
|
| 364 |
+
width: 10em;
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
#settings > div.tab-nav button{
|
| 368 |
+
display: block;
|
| 369 |
+
border: none;
|
| 370 |
+
text-align: left;
|
| 371 |
+
white-space: initial;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
#settings_result{
|
| 375 |
+
height: 1.4em;
|
| 376 |
+
margin: 0 1.2em;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
|
| 380 |
+
/* live preview */
|
| 381 |
+
.progressDiv{
|
| 382 |
+
position: relative;
|
| 383 |
+
height: 20px;
|
| 384 |
+
background: #b4c0cc;
|
| 385 |
+
border-radius: 3px !important;
|
| 386 |
+
margin-bottom: -3px;
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
.dark .progressDiv{
|
| 390 |
+
background: #424c5b;
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
.progressDiv .progress{
|
| 394 |
+
width: 0%;
|
| 395 |
+
height: 20px;
|
| 396 |
+
background: #0060df;
|
| 397 |
+
color: white;
|
| 398 |
+
font-weight: bold;
|
| 399 |
+
line-height: 20px;
|
| 400 |
+
padding: 0 8px 0 0;
|
| 401 |
+
text-align: right;
|
| 402 |
+
border-radius: 3px;
|
| 403 |
+
overflow: visible;
|
| 404 |
+
white-space: nowrap;
|
| 405 |
+
padding: 0 0.5em;
|
| 406 |
+
}
|
| 407 |
+
|
| 408 |
+
.livePreview{
|
| 409 |
+
position: absolute;
|
| 410 |
+
z-index: 300;
|
| 411 |
+
background-color: white;
|
| 412 |
+
margin: -4px;
|
| 413 |
+
}
|
| 414 |
+
|
| 415 |
+
.dark .livePreview{
|
| 416 |
+
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
+
.livePreview img{
|
| 420 |
+
position: absolute;
|
| 421 |
+
object-fit: contain;
|
| 422 |
+
width: 100%;
|
| 423 |
+
height: 100%;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
/* fullscreen popup (ie in Lora's (i) button) */
|
| 427 |
+
|
| 428 |
+
.popup-metadata{
|
| 429 |
+
color: black;
|
| 430 |
+
background: white;
|
| 431 |
+
display: inline-block;
|
| 432 |
+
padding: 1em;
|
| 433 |
+
white-space: pre-wrap;
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
.global-popup{
|
| 437 |
+
display: flex;
|
| 438 |
+
position: fixed;
|
| 439 |
+
z-index: 1001;
|
| 440 |
+
left: 0;
|
| 441 |
+
top: 0;
|
| 442 |
+
width: 100%;
|
| 443 |
+
height: 100%;
|
| 444 |
+
overflow: auto;
|
| 445 |
+
background-color: rgba(20, 20, 20, 0.95);
|
| 446 |
+
}
|
| 447 |
+
|
| 448 |
+
|
| 449 |
+
.global-popup-close:before {
|
| 450 |
+
content: "Ă—";
|
| 451 |
+
}
|
| 452 |
+
|
| 453 |
+
.global-popup-close{
|
| 454 |
+
position: fixed;
|
| 455 |
+
right: 0.25em;
|
| 456 |
+
top: 0;
|
| 457 |
+
cursor: pointer;
|
| 458 |
+
color: white;
|
| 459 |
+
font-size: 32pt;
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
.global-popup-inner{
|
| 463 |
+
display: inline-block;
|
| 464 |
+
margin: auto;
|
| 465 |
+
padding: 2em;
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
/* fullpage image viewer */
|
| 469 |
+
|
| 470 |
+
#lightboxModal{
|
| 471 |
+
display: none;
|
| 472 |
+
position: fixed;
|
| 473 |
+
z-index: 1001;
|
| 474 |
+
left: 0;
|
| 475 |
+
top: 0;
|
| 476 |
+
width: 100%;
|
| 477 |
+
height: 100%;
|
| 478 |
+
overflow: auto;
|
| 479 |
+
background-color: rgba(20, 20, 20, 0.95);
|
| 480 |
+
user-select: none;
|
| 481 |
+
-webkit-user-select: none;
|
| 482 |
+
flex-direction: column;
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
.modalControls {
|
| 486 |
+
display: flex;
|
| 487 |
+
gap: 1em;
|
| 488 |
+
padding: 1em;
|
| 489 |
+
background-color: rgba(0,0,0,0.2);
|
| 490 |
+
}
|
| 491 |
+
.modalClose {
|
| 492 |
+
margin-left: auto;
|
| 493 |
+
}
|
| 494 |
+
.modalControls span{
|
| 495 |
+
color: white;
|
| 496 |
+
font-size: 35px;
|
| 497 |
+
font-weight: bold;
|
| 498 |
+
cursor: pointer;
|
| 499 |
+
width: 1em;
|
| 500 |
+
}
|
| 501 |
+
|
| 502 |
+
.modalControls span:hover, .modalControls span:focus{
|
| 503 |
+
color: #999;
|
| 504 |
+
text-decoration: none;
|
| 505 |
+
}
|
| 506 |
+
|
| 507 |
+
#lightboxModal > img {
|
| 508 |
+
display: block;
|
| 509 |
+
margin: auto;
|
| 510 |
+
width: auto;
|
| 511 |
+
}
|
| 512 |
+
|
| 513 |
+
#lightboxModal > img.modalImageFullscreen{
|
| 514 |
+
object-fit: contain;
|
| 515 |
+
height: 100%;
|
| 516 |
+
}
|
| 517 |
+
|
| 518 |
+
.modalPrev,
|
| 519 |
+
.modalNext {
|
| 520 |
+
cursor: pointer;
|
| 521 |
+
position: absolute;
|
| 522 |
+
top: 50%;
|
| 523 |
+
width: auto;
|
| 524 |
+
padding: 16px;
|
| 525 |
+
margin-top: -50px;
|
| 526 |
+
color: white;
|
| 527 |
+
font-weight: bold;
|
| 528 |
+
font-size: 20px;
|
| 529 |
+
transition: 0.6s ease;
|
| 530 |
+
border-radius: 0 3px 3px 0;
|
| 531 |
+
user-select: none;
|
| 532 |
+
-webkit-user-select: none;
|
| 533 |
+
}
|
| 534 |
+
|
| 535 |
+
.modalNext {
|
| 536 |
+
right: 0;
|
| 537 |
+
border-radius: 3px 0 0 3px;
|
| 538 |
+
}
|
| 539 |
+
|
| 540 |
+
.modalPrev:hover,
|
| 541 |
+
.modalNext:hover {
|
| 542 |
+
background-color: rgba(0, 0, 0, 0.8);
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
#imageARPreview {
|
| 546 |
+
position: absolute;
|
| 547 |
+
top: 0px;
|
| 548 |
+
left: 0px;
|
| 549 |
+
border: 2px solid red;
|
| 550 |
+
background: rgba(255, 0, 0, 0.3);
|
| 551 |
+
z-index: 900;
|
| 552 |
+
pointer-events: none;
|
| 553 |
+
display: none;
|
| 554 |
+
}
|
| 555 |
+
|
| 556 |
+
/* context menu (ie for the generate button) */
|
| 557 |
+
|
| 558 |
+
#context-menu{
|
| 559 |
+
z-index:9999;
|
| 560 |
+
position:absolute;
|
| 561 |
+
display:block;
|
| 562 |
+
padding:0px 0;
|
| 563 |
+
border:2px solid #a55000;
|
| 564 |
+
border-radius:8px;
|
| 565 |
+
box-shadow:1px 1px 2px #CE6400;
|
| 566 |
+
width: 200px;
|
| 567 |
+
}
|
| 568 |
+
|
| 569 |
+
.context-menu-items{
|
| 570 |
+
list-style: none;
|
| 571 |
+
margin: 0;
|
| 572 |
+
padding: 0;
|
| 573 |
+
}
|
| 574 |
+
|
| 575 |
+
.context-menu-items a{
|
| 576 |
+
display:block;
|
| 577 |
+
padding:5px;
|
| 578 |
+
cursor:pointer;
|
| 579 |
+
}
|
| 580 |
+
|
| 581 |
+
.context-menu-items a:hover{
|
| 582 |
+
background: #a55000;
|
| 583 |
+
}
|
| 584 |
+
|
| 585 |
+
|
| 586 |
+
/* extensions */
|
| 587 |
+
|
| 588 |
+
#tab_extensions table{
|
| 589 |
+
border-collapse: collapse;
|
| 590 |
+
}
|
| 591 |
+
|
| 592 |
+
#tab_extensions table td, #tab_extensions table th{
|
| 593 |
+
border: 1px solid #ccc;
|
| 594 |
+
padding: 0.25em 0.5em;
|
| 595 |
+
}
|
| 596 |
+
|
| 597 |
+
#tab_extensions table input[type="checkbox"]{
|
| 598 |
+
margin-right: 0.5em;
|
| 599 |
+
appearance: checkbox;
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
#tab_extensions button{
|
| 603 |
+
max-width: 16em;
|
| 604 |
+
}
|
| 605 |
+
|
| 606 |
+
#tab_extensions input[disabled="disabled"]{
|
| 607 |
+
opacity: 0.5;
|
| 608 |
+
}
|
| 609 |
+
|
| 610 |
+
.extension-tag{
|
| 611 |
+
font-weight: bold;
|
| 612 |
+
font-size: 95%;
|
| 613 |
+
}
|
| 614 |
+
|
| 615 |
+
#available_extensions .info{
|
| 616 |
+
margin: 0;
|
| 617 |
+
}
|
| 618 |
+
|
| 619 |
+
#available_extensions .date_added{
|
| 620 |
+
opacity: 0.85;
|
| 621 |
+
font-size: 90%;
|
| 622 |
+
}
|
| 623 |
+
|
| 624 |
+
/* replace original footer with ours */
|
| 625 |
+
|
| 626 |
+
footer {
|
| 627 |
+
display: none !important;
|
| 628 |
+
}
|
| 629 |
+
|
| 630 |
+
#footer{
|
| 631 |
+
text-align: center;
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
#footer div{
|
| 635 |
+
display: inline-block;
|
| 636 |
+
}
|
| 637 |
+
|
| 638 |
+
#footer .versions{
|
| 639 |
+
font-size: 85%;
|
| 640 |
+
opacity: 0.85;
|
| 641 |
+
}
|
| 642 |
+
|
| 643 |
+
/* extra networks UI */
|
| 644 |
+
|
| 645 |
+
.extra-networks > div > [id *= '_extra_']{
|
| 646 |
+
margin: 0.3em;
|
| 647 |
+
}
|
| 648 |
+
|
| 649 |
+
.extra-network-subdirs{
|
| 650 |
+
padding: 0.2em 0.35em;
|
| 651 |
+
}
|
| 652 |
+
|
| 653 |
+
.extra-network-subdirs button{
|
| 654 |
+
margin: 0 0.15em;
|
| 655 |
+
}
|
| 656 |
+
.extra-networks .tab-nav .search{
|
| 657 |
+
display: inline-block;
|
| 658 |
+
max-width: 16em;
|
| 659 |
+
margin: 0.3em;
|
| 660 |
+
align-self: center;
|
| 661 |
+
width: 16em;
|
| 662 |
+
}
|
| 663 |
+
|
| 664 |
+
#txt2img_extra_view, #img2img_extra_view {
|
| 665 |
+
width: auto;
|
| 666 |
+
}
|
| 667 |
+
|
| 668 |
+
.extra-network-cards .nocards, .extra-network-thumbs .nocards{
|
| 669 |
+
margin: 1.25em 0.5em 0.5em 0.5em;
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
.extra-network-cards .nocards h1, .extra-network-thumbs .nocards h1{
|
| 673 |
+
font-size: 1.5em;
|
| 674 |
+
margin-bottom: 1em;
|
| 675 |
+
}
|
| 676 |
+
|
| 677 |
+
.extra-network-cards .nocards li, .extra-network-thumbs .nocards li{
|
| 678 |
+
margin-left: 0.5em;
|
| 679 |
+
}
|
| 680 |
+
|
| 681 |
+
|
| 682 |
+
.extra-network-cards .card .metadata-button:before, .extra-network-thumbs .card .metadata-button:before{
|
| 683 |
+
content: "đŸ›ˆ";
|
| 684 |
+
}
|
| 685 |
+
.extra-network-cards .card .metadata-button, .extra-network-thumbs .card .metadata-button{
|
| 686 |
+
display: none;
|
| 687 |
+
position: absolute;
|
| 688 |
+
right: 0;
|
| 689 |
+
color: white;
|
| 690 |
+
text-shadow: 2px 2px 3px black;
|
| 691 |
+
padding: 0.25em;
|
| 692 |
+
font-size: 22pt;
|
| 693 |
+
width: 1.5em;
|
| 694 |
+
}
|
| 695 |
+
.extra-network-cards .card:hover .metadata-button, .extra-network-thumbs .card:hover .metadata-button{
|
| 696 |
+
display: inline-block;
|
| 697 |
+
}
|
| 698 |
+
.extra-network-cards .card .metadata-button:hover, .extra-network-thumbs .card .metadata-button:hover{
|
| 699 |
+
color: red;
|
| 700 |
+
}
|
| 701 |
+
|
| 702 |
+
|
| 703 |
+
.extra-network-thumbs {
|
| 704 |
+
display: flex;
|
| 705 |
+
flex-flow: row wrap;
|
| 706 |
+
gap: 10px;
|
| 707 |
+
}
|
| 708 |
+
|
| 709 |
+
.extra-network-thumbs .card {
|
| 710 |
+
height: 6em;
|
| 711 |
+
width: 6em;
|
| 712 |
+
cursor: pointer;
|
| 713 |
+
background-image: url('./file=html/card-no-preview.png');
|
| 714 |
+
background-size: cover;
|
| 715 |
+
background-position: center center;
|
| 716 |
+
position: relative;
|
| 717 |
+
}
|
| 718 |
+
|
| 719 |
+
.extra-network-thumbs .card:hover .additional a {
|
| 720 |
+
display: inline-block;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
.extra-network-thumbs .actions .additional a {
|
| 724 |
+
background-image: url('./file=html/image-update.svg');
|
| 725 |
+
background-repeat: no-repeat;
|
| 726 |
+
background-size: cover;
|
| 727 |
+
background-position: center center;
|
| 728 |
+
position: absolute;
|
| 729 |
+
top: 0;
|
| 730 |
+
left: 0;
|
| 731 |
+
width: 24px;
|
| 732 |
+
height: 24px;
|
| 733 |
+
display: none;
|
| 734 |
+
font-size: 0;
|
| 735 |
+
text-align: -9999;
|
| 736 |
+
}
|
| 737 |
+
|
| 738 |
+
.extra-network-thumbs .actions .name {
|
| 739 |
+
position: absolute;
|
| 740 |
+
bottom: 0;
|
| 741 |
+
font-size: 10px;
|
| 742 |
+
padding: 3px;
|
| 743 |
+
width: 100%;
|
| 744 |
+
overflow: hidden;
|
| 745 |
+
white-space: nowrap;
|
| 746 |
+
text-overflow: ellipsis;
|
| 747 |
+
background: rgba(0,0,0,.5);
|
| 748 |
+
color: white;
|
| 749 |
+
}
|
| 750 |
+
|
| 751 |
+
.extra-network-thumbs .card:hover .actions .name {
|
| 752 |
+
white-space: normal;
|
| 753 |
+
word-break: break-all;
|
| 754 |
+
}
|
| 755 |
+
|
| 756 |
+
.extra-network-cards .card{
|
| 757 |
+
display: inline-block;
|
| 758 |
+
margin: 0.5em;
|
| 759 |
+
width: 16em;
|
| 760 |
+
height: 24em;
|
| 761 |
+
box-shadow: 0 0 5px rgba(128, 128, 128, 0.5);
|
| 762 |
+
border-radius: 0.2em;
|
| 763 |
+
position: relative;
|
| 764 |
+
|
| 765 |
+
background-size: auto 100%;
|
| 766 |
+
background-position: center;
|
| 767 |
+
overflow: hidden;
|
| 768 |
+
cursor: pointer;
|
| 769 |
+
|
| 770 |
+
background-image: url('./file=html/card-no-preview.png')
|
| 771 |
+
}
|
| 772 |
+
|
| 773 |
+
.extra-network-cards .card:hover{
|
| 774 |
+
box-shadow: 0 0 2px 0.3em rgba(0, 128, 255, 0.35);
|
| 775 |
+
}
|
| 776 |
+
|
| 777 |
+
.extra-network-cards .card .actions .additional{
|
| 778 |
+
display: none;
|
| 779 |
+
}
|
| 780 |
+
|
| 781 |
+
.extra-network-cards .card .actions{
|
| 782 |
+
position: absolute;
|
| 783 |
+
bottom: 0;
|
| 784 |
+
left: 0;
|
| 785 |
+
right: 0;
|
| 786 |
+
padding: 0.5em;
|
| 787 |
+
background: rgba(0,0,0,0.5);
|
| 788 |
+
box-shadow: 0 0 0.25em 0.25em rgba(0,0,0,0.5);
|
| 789 |
+
text-shadow: 0 0 0.2em black;
|
| 790 |
+
}
|
| 791 |
+
|
| 792 |
+
.extra-network-cards .card .actions *{
|
| 793 |
+
color: white;
|
| 794 |
+
}
|
| 795 |
+
|
| 796 |
+
.extra-network-cards .card .actions:hover{
|
| 797 |
+
box-shadow: 0 0 0.75em 0.75em rgba(0,0,0,0.5) !important;
|
| 798 |
+
}
|
| 799 |
+
|
| 800 |
+
.extra-network-cards .card .actions .name{
|
| 801 |
+
font-size: 1.7em;
|
| 802 |
+
font-weight: bold;
|
| 803 |
+
line-break: anywhere;
|
| 804 |
+
}
|
| 805 |
+
|
| 806 |
+
.extra-network-cards .card .actions .description {
|
| 807 |
+
display: block;
|
| 808 |
+
max-height: 3em;
|
| 809 |
+
white-space: pre-wrap;
|
| 810 |
+
line-height: 1.1;
|
| 811 |
+
}
|
| 812 |
+
|
| 813 |
+
.extra-network-cards .card .actions .description:hover {
|
| 814 |
+
max-height: none;
|
| 815 |
+
}
|
| 816 |
+
|
| 817 |
+
.extra-network-cards .card .actions:hover .additional{
|
| 818 |
+
display: block;
|
| 819 |
+
}
|
| 820 |
+
|
| 821 |
+
.extra-network-cards .card ul{
|
| 822 |
+
margin: 0.25em 0 0.75em 0.25em;
|
| 823 |
+
cursor: unset;
|
| 824 |
+
}
|
| 825 |
+
|
| 826 |
+
.extra-network-cards .card ul a{
|
| 827 |
+
cursor: pointer;
|
| 828 |
+
}
|
| 829 |
+
|
| 830 |
+
.extra-network-cards .card ul a:hover{
|
| 831 |
+
color: red;
|
| 832 |
+
}
|
| 833 |
+
|
| 834 |
+
/* Root css */
|
| 835 |
+
|
| 836 |
+
:root {
|
| 837 |
+
--ctp-rosewater: #f4dbd6;
|
| 838 |
+
--ctp-flamingo: #f0c6c6;
|
| 839 |
+
--ctp-pink: #f5bde6;
|
| 840 |
+
--ctp-mauve: rgb(54, 122, 225);
|
| 841 |
+
--ctp-red: rgb(54, 122, 225);
|
| 842 |
+
--ctp-maroon: rgb(54, 122, 225);
|
| 843 |
+
--ctp-peach: #f5a97f;
|
| 844 |
+
--ctp-yellow: #eed49f;
|
| 845 |
+
--ctp-green: #a6da95;
|
| 846 |
+
--ctp-teal: #8bd5ca;
|
| 847 |
+
--ctp-sky: #91d7e3;
|
| 848 |
+
--ctp-sapphire: #7dc4e4;
|
| 849 |
+
--ctp-blue: rgb(6 98 236);
|
| 850 |
+
--ctp-lavender: #b7bdf8;
|
| 851 |
+
--ctp-text: #cad3f5;
|
| 852 |
+
--ctp-subtext1: #bac2de;
|
| 853 |
+
--ctp-subtext0: #a6adc8;
|
| 854 |
+
--ctp-overlay2: #939ab7;
|
| 855 |
+
--ctp-overlay1: #8087a2;
|
| 856 |
+
--ctp-overlay0: #1f212e;
|
| 857 |
+
--ctp-surface2: #5b6078;
|
| 858 |
+
--ctp-surface1: #45475a;
|
| 859 |
+
--ctp-surface0: #313244;
|
| 860 |
+
--ctp-base: #0b0b0b;
|
| 861 |
+
--ctp-mantle: #131313;
|
| 862 |
+
--ctp-crust: #131313;
|
| 863 |
+
--shadow: #1f2021;
|
| 864 |
+
--ctp-accent: var(--ctp-blue);
|
| 865 |
+
color-scheme: dark;
|
| 866 |
+
}
|
| 867 |
+
|
| 868 |
+
:root,
|
| 869 |
+
.dark {
|
| 870 |
+
--body-background-fill: var(--background-fill-primary);
|
| 871 |
+
--body-text-color: var(--ctp-subtext0);
|
| 872 |
+
--color-accent-soft: var(--ctp-surface0);
|
| 873 |
+
--background-fill-primary: var(--ctp-mantle);
|
| 874 |
+
--background-fill-secondary: var(--ctp-base);
|
| 875 |
+
--border-color-accent: var(--ctp-surface0);
|
| 876 |
+
--border-color-primary: var(--ctp-surface1);
|
| 877 |
+
--link-text-color-active: var(--ctp-subtext0);
|
| 878 |
+
--link-text-color: var(--ctp-subtext0);
|
| 879 |
+
--link-text-color-hover: var(--ctp-accent);
|
| 880 |
+
--link-text-color-visited: var(--ctp-subtext0);
|
| 881 |
+
--body-text-color-subdued: var(--ctp-subtext0);
|
| 882 |
+
--shadow-spread: 1px;
|
| 883 |
+
--block-background-fill: var(--ctp-mantle);
|
| 884 |
+
--block-border-color: var(--border-color-primary);
|
| 885 |
+
--block_border_width: None;
|
| 886 |
+
--block-info-text-color: var(--body-text-color-subdued);
|
| 887 |
+
--block-label-background-fill: var(--background-fill-secondary);
|
| 888 |
+
--block-label-border-color: var(--border-color-primary);
|
| 889 |
+
--block_label_border_width: None;
|
| 890 |
+
--block-label-text-color: var(--ctp-text);
|
| 891 |
+
--block_shadow: None;
|
| 892 |
+
--block_title_background_fill: None;
|
| 893 |
+
--block_title_border_color: None;
|
| 894 |
+
--block_title_border_width: None;
|
| 895 |
+
--block-title-text-color: var(--ctp-text);
|
| 896 |
+
--panel-background-fill: var(--background-fill-secondary);
|
| 897 |
+
--panel-border-color: var(--border-color-primary);
|
| 898 |
+
--panel_border_width: None;
|
| 899 |
+
--checkbox-background-color: var(--ctp-surface1);
|
| 900 |
+
--checkbox-background-color-focus: var(--checkbox-background-color);
|
| 901 |
+
--checkbox-background-color-hover: var(--checkbox-background-color);
|
| 902 |
+
--checkbox-background-color-selected: var(--ctp-accent);
|
| 903 |
+
--checkbox-border-color: var(--ctp-surface0);
|
| 904 |
+
--checkbox-border-color-focus: var(--ctp-overlay0);
|
| 905 |
+
--checkbox-border-color-hover: var(--ctp-surface0);
|
| 906 |
+
--checkbox-border-color-selected: var(--ctp-overlay0);
|
| 907 |
+
--checkbox-border-width: var(--input-border-width);
|
| 908 |
+
--checkbox-label-background-fill: var(--ctp-surface0);
|
| 909 |
+
--checkbox-label-background-fill-hover: var(--ctp-surface0);
|
| 910 |
+
--checkbox-label-background-fill-selected: var(
|
| 911 |
+
--checkbox-label-background-fill
|
| 912 |
+
);
|
| 913 |
+
--checkbox-label-border-color: var(--border-color-primary);
|
| 914 |
+
--checkbox-label-border-color-hover: var(--checkbox-label-border-color);
|
| 915 |
+
--checkbox-label-border-width: var(--input-border-width);
|
| 916 |
+
--checkbox-label-text-color: var(--body-text-color);
|
| 917 |
+
--checkbox-label-text-color-selected: var(--checkbox-label-text-color);
|
| 918 |
+
--error-background-fill: var(--background-fill-primary);
|
| 919 |
+
--error-border-color: var(--border-color-primary);
|
| 920 |
+
--error_border_width: None;
|
| 921 |
+
--error-text-color: var(--ctp-red);
|
| 922 |
+
--input-background-fill: var(--ctp-base);
|
| 923 |
+
--input-background-fill-focus: var(--input-background-fill);
|
| 924 |
+
--input-background-fill-hover: var(--input-background-fill);
|
| 925 |
+
--input-border-color: var(--border-color-primary);
|
| 926 |
+
--input-border-color-focus: var(--neutral-700);
|
| 927 |
+
--input-border-color-hover: var(--input-border-color);
|
| 928 |
+
--input_border_width: None;
|
| 929 |
+
--input-placeholder-color: var(--neutral-500);
|
| 930 |
+
--input_shadow: None;
|
| 931 |
+
--input-shadow-focus: 0 0 0 var(--shadow-spread) var(--neutral-700),
|
| 932 |
+
var(--shadow-inset);
|
| 933 |
+
--loader_color: None;
|
| 934 |
+
--slider_color: None;
|
| 935 |
+
--stat-background-fill: linear-gradient(
|
| 936 |
+
to right,
|
| 937 |
+
var(--primary-400),
|
| 938 |
+
var(--primary-600)
|
| 939 |
+
);
|
| 940 |
+
--table-border-color: var(--neutral-700);
|
| 941 |
+
--table-even-background-fill: var(--neutral-950);
|
| 942 |
+
--table-odd-background-fill: var(--neutral-900);
|
| 943 |
+
--table-row-focus: var(--color-accent-soft);
|
| 944 |
+
--button-border-width: var(--input-border-width);
|
| 945 |
+
--button-cancel-background-fill: var(--ctp-red);
|
| 946 |
+
--button-cancel-background-fill-hover: var(--ctp-red);
|
| 947 |
+
--button-cancel-border-color: var(--ctp-red);
|
| 948 |
+
--button-cancel-border-color-hover: var(--button-cancel-border-color);
|
| 949 |
+
--button-cancel-text-color: var(--ctp-base);
|
| 950 |
+
--button-cancel-text-color-hover: var(--button-cancel-text-color);
|
| 951 |
+
--button-primary-background-fill: var(--ctp-accent);
|
| 952 |
+
--button-primary-background-fill-hover: var(--ctp-accent);
|
| 953 |
+
--button-primary-border-color: var(--ctp-accent);
|
| 954 |
+
--button-primary-border-color-hover: var(--button-primary-border-color);
|
| 955 |
+
--button-primary-text-color: var(--ctp-base);
|
| 956 |
+
--button-primary-text-color-hover: var(--button-primary-text-color);
|
| 957 |
+
--button-secondary-background-fill: var(--ctp-surface0);
|
| 958 |
+
--button-secondary-background-fill-hover: var(--ctp-surface0);
|
| 959 |
+
--button-secondary-border-color: var(--ctp-surface0);
|
| 960 |
+
--button-secondary-border-color-hover: var(--button-secondary-border-color);
|
| 961 |
+
--button-secondary-text-color: var(--ctp-text);
|
| 962 |
+
--button-secondary-text-color-hover: var(--button-secondary-text-color);
|
| 963 |
+
}
|
| 964 |
+
|
| 965 |
+
.gradio-button:hover {
|
| 966 |
+
filter: brightness(130%);
|
| 967 |
+
}
|
| 968 |
+
|
| 969 |
+
input[type="range"]::-ms-track {
|
| 970 |
+
background: transparent;
|
| 971 |
+
}
|
| 972 |
+
|
| 973 |
+
input[type="range"]::-ms-fill-lower {
|
| 974 |
+
background: var(--ctp-accent);
|
| 975 |
+
border-radius: 10px;
|
| 976 |
+
}
|
| 977 |
+
input[type="range"]::-ms-fill-upper {
|
| 978 |
+
background: var(--ctp-overlay0);
|
| 979 |
+
border-radius: 10px;
|
| 980 |
+
}
|
| 981 |
+
|
| 982 |
+
input[type="range"]:focus::-ms-fill-lower {
|
| 983 |
+
background: var(--ctp-accent);
|
| 984 |
+
}
|
| 985 |
+
input[type="range"]:focus::-ms-fill-upper {
|
| 986 |
+
background: var(--ctp-overlay0);
|
| 987 |
+
}
|
| 988 |
+
|
| 989 |
+
/* Chrome, Safari, Edge, Opera */
|
| 990 |
+
input::-webkit-outer-spin-button,
|
| 991 |
+
input::-webkit-inner-spin-button {
|
| 992 |
+
-webkit-appearance: none;
|
| 993 |
+
margin: 0;
|
| 994 |
+
}
|
| 995 |
+
|
| 996 |
+
/* Firefox */
|
| 997 |
+
input[type="number"] {
|
| 998 |
+
-moz-appearance: textfield;
|
| 999 |
+
}
|
| 1000 |
+
.gr-box > div > div > input.gr-text-input {
|
| 1001 |
+
width: 4em;
|
| 1002 |
+
}
|
| 1003 |
+
|
| 1004 |
+
.progressDiv .progress {
|
| 1005 |
+
background: var(--ctp-accent);
|
| 1006 |
+
color: var(--shadow);
|
| 1007 |
+
}
|
| 1008 |
+
|
| 1009 |
+
.dark .progressDiv,
|
| 1010 |
+
.progressDiv {
|
| 1011 |
+
background-color: var(--ctp-surface0);
|
| 1012 |
+
}
|
| 1013 |
+
|
| 1014 |
+
input[type="range"] {
|
| 1015 |
+
font-size: 1.5rem;
|
| 1016 |
+
}
|
| 1017 |
+
|
| 1018 |
+
input[type="range"] {
|
| 1019 |
+
color: var(--accent);
|
| 1020 |
+
--thumb-height: 0.5em;
|
| 1021 |
+
--track-height: 0.125em;
|
| 1022 |
+
--track-color: var(--ctp-surface0);
|
| 1023 |
+
--brightness-hover: 130%;
|
| 1024 |
+
--brightness-down: 80%;
|
| 1025 |
+
--clip-edges: 0.125em;
|
| 1026 |
+
}
|
| 1027 |
+
|
| 1028 |
+
input[type="range"].win10-thumb {
|
| 1029 |
+
color: var(--ctp-accent);
|
| 1030 |
+
|
| 1031 |
+
--thumb-height: 0.5em;
|
| 1032 |
+
--thumb-width: 0.5em;
|
| 1033 |
+
--clip-edges: 0.0125em;
|
| 1034 |
+
}
|
| 1035 |
+
|
| 1036 |
+
@media (prefers-color-scheme: dark) {
|
| 1037 |
+
input[type="range"] {
|
| 1038 |
+
color: var(--ctp-accent);
|
| 1039 |
+
--track-color: var(--ctp-surface0);
|
| 1040 |
+
}
|
| 1041 |
+
|
| 1042 |
+
input[type="range"].win10-thumb {
|
| 1043 |
+
color: var(--ctp-accent);
|
| 1044 |
+
}
|
| 1045 |
+
}
|
| 1046 |
+
|
| 1047 |
+
/* === range commons === */
|
| 1048 |
+
input[type="range"] {
|
| 1049 |
+
position: relative;
|
| 1050 |
+
background: #fff0;
|
| 1051 |
+
overflow: hidden;
|
| 1052 |
+
}
|
| 1053 |
+
|
| 1054 |
+
input[type="range"]:active {
|
| 1055 |
+
cursor: grabbing;
|
| 1056 |
+
}
|
| 1057 |
+
|
| 1058 |
+
input[type="range"]:disabled {
|
| 1059 |
+
filter: grayscale(1);
|
| 1060 |
+
opacity: 0.3;
|
| 1061 |
+
cursor: not-allowed;
|
| 1062 |
+
}
|
| 1063 |
+
|
| 1064 |
+
/* === WebKit specific styles === */
|
| 1065 |
+
input[type="range"],
|
| 1066 |
+
input[type="range"]::-webkit-slider-runnable-track,
|
| 1067 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 1068 |
+
-webkit-appearance: none;
|
| 1069 |
+
transition: all ease 100ms;
|
| 1070 |
+
height: var(--thumb-height);
|
| 1071 |
+
}
|
| 1072 |
+
|
| 1073 |
+
input[type="range"]::-webkit-slider-runnable-track,
|
| 1074 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 1075 |
+
position: relative;
|
| 1076 |
+
}
|
| 1077 |
+
|
| 1078 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 1079 |
+
--thumb-radius: calc((var(--thumb-height) * 0.5) - 1px);
|
| 1080 |
+
--clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
|
| 1081 |
+
--clip-bottom: calc(var(--thumb-height) - var(--clip-top));
|
| 1082 |
+
--clip-further: calc(100% + 1px);
|
| 1083 |
+
--box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0
|
| 1084 |
+
100vmax currentColor;
|
| 1085 |
+
|
| 1086 |
+
width: var(--thumb-width, var(--thumb-height));
|
| 1087 |
+
background: linear-gradient(currentColor 0 0) scroll no-repeat left center /
|
| 1088 |
+
50% calc(var(--track-height) + 1px);
|
| 1089 |
+
background-color: currentColor;
|
| 1090 |
+
box-shadow: var(--box-fill);
|
| 1091 |
+
border-radius: var(--thumb-width, var(--thumb-height));
|
| 1092 |
+
|
| 1093 |
+
filter: brightness(100%);
|
| 1094 |
+
clip-path: polygon(
|
| 1095 |
+
100% -1px,
|
| 1096 |
+
var(--clip-edges) -1px,
|
| 1097 |
+
0 var(--clip-top),
|
| 1098 |
+
-100vmax var(--clip-top),
|
| 1099 |
+
-100vmax var(--clip-bottom),
|
| 1100 |
+
0 var(--clip-bottom),
|
| 1101 |
+
var(--clip-edges) 100%,
|
| 1102 |
+
var(--clip-further) var(--clip-further)
|
| 1103 |
+
);
|
| 1104 |
+
}
|
| 1105 |
+
|
| 1106 |
+
input[type="range"]:hover::-webkit-slider-thumb {
|
| 1107 |
+
filter: brightness(var(--brightness-hover));
|
| 1108 |
+
cursor: grab;
|
| 1109 |
+
}
|
| 1110 |
+
|
| 1111 |
+
input[type="range"]:active::-webkit-slider-thumb {
|
| 1112 |
+
filter: brightness(var(--brightness-down));
|
| 1113 |
+
cursor: grabbing;
|
| 1114 |
+
}
|
| 1115 |
+
|
| 1116 |
+
input[type="range"]::-webkit-slider-runnable-track {
|
| 1117 |
+
background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center /
|
| 1118 |
+
100% calc(var(--track-height) + 1px);
|
| 1119 |
+
}
|
| 1120 |
+
|
| 1121 |
+
input[type="range"]:disabled::-webkit-slider-thumb {
|
| 1122 |
+
cursor: not-allowed;
|
| 1123 |
+
}
|
| 1124 |
+
|
| 1125 |
+
/* === Firefox specific styles === */
|
| 1126 |
+
input[type="range"],
|
| 1127 |
+
input[type="range"]::-moz-range-track,
|
| 1128 |
+
input[type="range"]::-moz-range-thumb {
|
| 1129 |
+
appearance: none;
|
| 1130 |
+
transition: all ease 100ms;
|
| 1131 |
+
height: var(--thumb-height);
|
| 1132 |
+
}
|
| 1133 |
+
|
| 1134 |
+
input[type="range"]::-moz-range-track,
|
| 1135 |
+
input[type="range"]::-moz-range-thumb,
|
| 1136 |
+
input[type="range"]::-moz-range-progress {
|
| 1137 |
+
background: #fff0;
|
| 1138 |
+
}
|
| 1139 |
+
|
| 1140 |
+
input[type="range"]::-moz-range-thumb {
|
| 1141 |
+
background: currentColor;
|
| 1142 |
+
border: 0;
|
| 1143 |
+
width: var(--thumb-width, var(--thumb-height));
|
| 1144 |
+
border-radius: var(--thumb-width, var(--thumb-height));
|
| 1145 |
+
cursor: grab;
|
| 1146 |
+
}
|
| 1147 |
+
|
| 1148 |
+
input[type="range"]:active::-moz-range-thumb {
|
| 1149 |
+
cursor: grabbing;
|
| 1150 |
+
}
|
| 1151 |
+
|
| 1152 |
+
input[type="range"]::-moz-range-track {
|
| 1153 |
+
width: 100%;
|
| 1154 |
+
background: var(--track-color);
|
| 1155 |
+
}
|
| 1156 |
+
|
| 1157 |
+
input[type="range"]::-moz-range-progress {
|
| 1158 |
+
appearance: none;
|
| 1159 |
+
background: currentColor;
|
| 1160 |
+
transition-delay: 30ms;
|
| 1161 |
+
}
|
| 1162 |
+
|
| 1163 |
+
input[type="range"]::-moz-range-track,
|
| 1164 |
+
input[type="range"]::-moz-range-progress {
|
| 1165 |
+
height: calc(var(--track-height) + 1px);
|
| 1166 |
+
border-radius: var(--track-height);
|
| 1167 |
+
}
|
| 1168 |
+
|
| 1169 |
+
input[type="range"]::-moz-range-thumb,
|
| 1170 |
+
input[type="range"]::-moz-range-progress {
|
| 1171 |
+
filter: brightness(100%);
|
| 1172 |
+
}
|
| 1173 |
+
|
| 1174 |
+
input[type="range"]:hover::-moz-range-thumb,
|
| 1175 |
+
input[type="range"]:hover::-moz-range-progress {
|
| 1176 |
+
filter: brightness(var(--brightness-hover));
|
| 1177 |
+
}
|
| 1178 |
+
|
| 1179 |
+
input[type="range"]:active::-moz-range-thumb,
|
| 1180 |
+
input[type="range"]:active::-moz-range-progress {
|
| 1181 |
+
filter: brightness(var(--brightness-down));
|
| 1182 |
+
}
|
| 1183 |
+
|
| 1184 |
+
input[type="range"]:disabled::-moz-range-thumb {
|
| 1185 |
+
cursor: not-allowed;
|
| 1186 |
+
}
|
| 1187 |
+
|
| 1188 |
+
/* Custom css*/
|
| 1189 |
+
|
| 1190 |
+
.extra-network-cards .card .actions .name {
|
| 1191 |
+
font-size: 1em;
|
| 1192 |
+
}
|
| 1193 |
+
.extra-network-cards .card {
|
| 1194 |
+
width: 25.9vmin;
|
| 1195 |
+
height: 38.8vmin;
|
| 1196 |
+
max-width: 160px;
|
| 1197 |
+
max-height: 240px;
|
| 1198 |
+
min-width: 135px;
|
| 1199 |
+
min-height: 203px;
|
| 1200 |
+
}
|
| 1201 |
+
img,
|
| 1202 |
+
video {
|
| 1203 |
+
border-radius: 5px;
|
| 1204 |
+
}
|
| 1205 |
+
|
| 1206 |
+
.lg.svelte-1ipelgc {
|
| 1207 |
+
color: white;
|
| 1208 |
+
}
|
| 1209 |
+
.gradio-button.generate-box-interrupt {
|
| 1210 |
+
background: rgb(54, 122, 225);
|
| 1211 |
+
}
|
| 1212 |
+
.gradio-button.generate-box-interrupt:hover {
|
| 1213 |
+
background: rgb(61, 120, 208);
|
| 1214 |
+
}
|
| 1215 |
+
|
| 1216 |
+
.gradio-button.generate-box-skip {
|
| 1217 |
+
background: rgb(54, 122, 225);
|
| 1218 |
+
}
|
| 1219 |
+
.gradio-button.generate-box-skip:hover {
|
| 1220 |
+
background: rgb(61, 120, 208);
|
| 1221 |
+
}
|
| 1222 |
+
@media (min-width: 1280px) and (max-width: 1920px) {
|
| 1223 |
+
.fixed-height {
|
| 1224 |
+
min-height: 600px !important;
|
| 1225 |
+
}
|
| 1226 |
+
}
|
| 1227 |
+
@media (min-width: 1920px) {
|
| 1228 |
+
.fixed-height {
|
| 1229 |
+
min-height: 850px !important;
|
| 1230 |
+
}
|
| 1231 |
+
}
|
| 1232 |
+
div.svelte-1oo81b7 > *:last-child {
|
| 1233 |
+
border-radius: var(--radius-lg) !important;
|
| 1234 |
+
margin-bottom: 10px;
|
| 1235 |
+
}
|
| 1236 |
+
label.svelte-1p9xokt.svelte-1p9xokt.svelte-1p9xokt {
|
| 1237 |
+
margin-right: 10px;
|
| 1238 |
+
}
|
| 1239 |
+
#lightboxModal > img.modalImageFullscreen {
|
| 1240 |
+
height: calc(100vh - 120px);
|
| 1241 |
+
max-width: 90vw;
|
| 1242 |
+
}
|
| 1243 |
+
.gradio-container-3-28-1 .prose :last-child,.gradio-container-3-31-0 .prose :last-child, .gradio-container-3-29-0 .prose :last-child, .gradio-container-3-32-0 .prose :last-child {
|
| 1244 |
+
margin-bottom: 6px !important;
|
| 1245 |
+
}
|
| 1246 |
+
.thumbnails.svelte-1tkea93.svelte-1tkea93 {
|
| 1247 |
+
display: flex;
|
| 1248 |
+
position: absolute;
|
| 1249 |
+
bottom: 0;
|
| 1250 |
+
justify-content: center !important;
|
| 1251 |
+
}
|
| 1252 |
+
button#arc_show_calculator_button {
|
| 1253 |
+
background-color: #313244 !important; }
|
| 1254 |
+
|
| 1255 |
+
#img2img_script_container .gradio-group .block.gradio-accordion {
|
| 1256 |
+
border:1px solid rgb(119, 120, 146, 0.5) !important;
|
| 1257 |
+
border-radius: 5px !important;
|
| 1258 |
+
}
|
| 1259 |
+
#mov2mov_script_container .gradio-group .block.gradio-accordion {
|
| 1260 |
+
border:1px solid rgb(119, 120, 146, 0.5) !important;
|
| 1261 |
+
border-radius: 5px !important;
|
| 1262 |
+
}
|
| 1263 |
+
.sd-footer {
|
| 1264 |
+
display: block !important;;
|
| 1265 |
+
}
|
| 1266 |
+
.sd-footer button {
|
| 1267 |
+
background-color: rgb(54, 122, 225);
|
| 1268 |
+
padding: 5px 30px;
|
| 1269 |
+
margin:10px 2px;
|
| 1270 |
+
color:white !important;
|
| 1271 |
+
border-radius: 10px;
|
| 1272 |
+
}
|
| 1273 |
+
.versions {
|
| 1274 |
+
background-color: rgb(54, 122, 225);
|
| 1275 |
+
padding: 5px 30px;
|
| 1276 |
+
margin:10px 2px;
|
| 1277 |
+
color:white !important;;
|
| 1278 |
+
border-radius: 10px;
|
| 1279 |
+
}
|