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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* temporary fix to load default gradio font in frontend instead of backend */
|
| 2 |
+
|
| 3 |
+
@import url('/webui-assets/css/sourcesanspro.css');
|
| 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 !important;
|
| 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 |
+
@media (pointer:fine) {
|
| 87 |
+
.gradio-dropdown ul.options li.item {
|
| 88 |
+
padding: 0.05em 0;
|
| 89 |
+
}
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.gradio-dropdown ul.options li.item.selected {
|
| 93 |
+
background-color: var(--neutral-100);
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.dark .gradio-dropdown ul.options li.item.selected {
|
| 97 |
+
background-color: var(--neutral-900);
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.gradio-dropdown div.wrap.wrap.wrap.wrap{
|
| 101 |
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.gradio-dropdown:not(.multiselect) .wrap-inner.wrap-inner.wrap-inner{
|
| 105 |
+
flex-wrap: unset;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.gradio-dropdown .single-select{
|
| 109 |
+
white-space: nowrap;
|
| 110 |
+
overflow: hidden;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.gradio-dropdown .token-remove.remove-all.remove-all{
|
| 114 |
+
display: none;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.gradio-dropdown.multiselect .token-remove.remove-all.remove-all{
|
| 118 |
+
display: flex;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.gradio-slider input[type="number"]{
|
| 122 |
+
width: 6em;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.block.gradio-checkbox {
|
| 126 |
+
margin: 0.75em 1.5em 0 0;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.gradio-html div.wrap{
|
| 130 |
+
height: 100%;
|
| 131 |
+
}
|
| 132 |
+
div.gradio-html.min{
|
| 133 |
+
min-height: 0;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.block.gradio-gallery{
|
| 137 |
+
background: var(--input-background-fill);
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.gradio-container .prose a, .gradio-container .prose a:visited{
|
| 141 |
+
color: unset;
|
| 142 |
+
text-decoration: none;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
a{
|
| 146 |
+
font-weight: bold;
|
| 147 |
+
cursor: pointer;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
/* gradio 3.39 puts a lot of overflow: hidden all over the place for an unknown reason. */
|
| 151 |
+
div.gradio-container, .block.gradio-textbox, div.gradio-group, div.gradio-dropdown{
|
| 152 |
+
overflow: visible !important;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* align-items isn't enough and elements may overflow in Safari. */
|
| 156 |
+
.unequal-height {
|
| 157 |
+
align-content: flex-start;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
/* general styled components */
|
| 162 |
+
|
| 163 |
+
.gradio-button.tool{
|
| 164 |
+
max-width: 2.2em;
|
| 165 |
+
min-width: 2.2em !important;
|
| 166 |
+
height: 2.4em;
|
| 167 |
+
align-self: end;
|
| 168 |
+
line-height: 1em;
|
| 169 |
+
border-radius: 0.5em;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.gradio-button.secondary-down{
|
| 173 |
+
background: var(--button-secondary-background-fill);
|
| 174 |
+
color: var(--button-secondary-text-color);
|
| 175 |
+
}
|
| 176 |
+
.gradio-button.secondary-down, .gradio-button.secondary-down:hover{
|
| 177 |
+
box-shadow: 1px 1px 1px rgba(0,0,0,0.25) inset, 0px 0px 3px rgba(0,0,0,0.15) inset;
|
| 178 |
+
}
|
| 179 |
+
.gradio-button.secondary-down:hover{
|
| 180 |
+
background: var(--button-secondary-background-fill-hover);
|
| 181 |
+
color: var(--button-secondary-text-color-hover);
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
button.custom-button{
|
| 185 |
+
border-radius: var(--button-large-radius);
|
| 186 |
+
padding: var(--button-large-padding);
|
| 187 |
+
font-weight: var(--button-large-text-weight);
|
| 188 |
+
border: var(--button-border-width) solid var(--button-secondary-border-color);
|
| 189 |
+
background: var(--button-secondary-background-fill);
|
| 190 |
+
color: var(--button-secondary-text-color);
|
| 191 |
+
font-size: var(--button-large-text-size);
|
| 192 |
+
display: inline-flex;
|
| 193 |
+
justify-content: center;
|
| 194 |
+
align-items: center;
|
| 195 |
+
transition: var(--button-transition);
|
| 196 |
+
box-shadow: var(--button-shadow);
|
| 197 |
+
text-align: center;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
div.block.gradio-accordion {
|
| 201 |
+
border: 1px solid var(--block-border-color) !important;
|
| 202 |
+
border-radius: 8px !important;
|
| 203 |
+
margin: 2px 0;
|
| 204 |
+
padding: 8px 8px;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
input[type="checkbox"].input-accordion-checkbox{
|
| 208 |
+
vertical-align: sub;
|
| 209 |
+
margin-right: 0.5em;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
|
| 213 |
+
/* txt2img/img2img specific */
|
| 214 |
+
|
| 215 |
+
.block.token-counter{
|
| 216 |
+
position: absolute;
|
| 217 |
+
display: inline-block;
|
| 218 |
+
right: 1em;
|
| 219 |
+
min-width: 0 !important;
|
| 220 |
+
width: auto;
|
| 221 |
+
z-index: 100;
|
| 222 |
+
top: -0.75em;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.block.token-counter-visible{
|
| 226 |
+
display: block !important;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.block.token-counter span{
|
| 230 |
+
background: var(--input-background-fill) !important;
|
| 231 |
+
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);
|
| 232 |
+
border: 2px solid rgba(192,192,192,0.4) !important;
|
| 233 |
+
border-radius: 0.4em;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.block.token-counter.error span{
|
| 237 |
+
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);
|
| 238 |
+
border: 2px solid rgba(255,0,0,0.4) !important;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
.block.token-counter div{
|
| 242 |
+
display: inline;
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
.block.token-counter span{
|
| 246 |
+
padding: 0.1em 0.75em;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
[id$=_subseed_show]{
|
| 250 |
+
min-width: auto !important;
|
| 251 |
+
flex-grow: 0 !important;
|
| 252 |
+
display: flex;
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
[id$=_subseed_show] label{
|
| 256 |
+
margin-bottom: 0.65em;
|
| 257 |
+
align-self: end;
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
[id$=_seed_extras] > div{
|
| 261 |
+
gap: 0.5em;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
.html-log .comments{
|
| 265 |
+
padding-top: 0.5em;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.html-log .comments:empty{
|
| 269 |
+
padding-top: 0;
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
.html-log .performance {
|
| 273 |
+
font-size: 0.85em;
|
| 274 |
+
color: #444;
|
| 275 |
+
display: flex;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.html-log .performance p{
|
| 279 |
+
display: inline-block;
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
.html-log .performance p.time, .performance p.vram, .performance p.time abbr, .performance p.vram abbr {
|
| 283 |
+
margin-bottom: 0;
|
| 284 |
+
color: var(--block-title-text-color);
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.html-log .performance p.time {
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.html-log .performance p.vram {
|
| 291 |
+
margin-left: auto;
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
.html-log .performance .measurement{
|
| 295 |
+
color: var(--body-text-color);
|
| 296 |
+
font-weight: bold;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
#txt2img_generate, #img2img_generate {
|
| 300 |
+
min-height: 4.5em;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
#txt2img_generate, #img2img_generate {
|
| 304 |
+
min-height: 4.5em;
|
| 305 |
+
}
|
| 306 |
+
.generate-box-compact #txt2img_generate, .generate-box-compact #img2img_generate {
|
| 307 |
+
min-height: 3em;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
@media screen and (min-width: 2500px) {
|
| 311 |
+
#txt2img_gallery, #img2img_gallery {
|
| 312 |
+
min-height: 768px;
|
| 313 |
+
}
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.gradio-gallery .thumbnails img {
|
| 317 |
+
object-fit: scale-down !important;
|
| 318 |
+
}
|
| 319 |
+
#txt2img_actions_column, #img2img_actions_column {
|
| 320 |
+
gap: 0.5em;
|
| 321 |
+
}
|
| 322 |
+
#txt2img_tools, #img2img_tools{
|
| 323 |
+
gap: 0.4em;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.interrogate-col{
|
| 327 |
+
min-width: 0 !important;
|
| 328 |
+
max-width: fit-content;
|
| 329 |
+
gap: 0.5em;
|
| 330 |
+
}
|
| 331 |
+
.interrogate-col > button{
|
| 332 |
+
flex: 1;
|
| 333 |
+
}
|
| 334 |
+
|
| 335 |
+
.generate-box{
|
| 336 |
+
position: relative;
|
| 337 |
+
}
|
| 338 |
+
.gradio-button.generate-box-skip, .gradio-button.generate-box-interrupt, .gradio-button.generate-box-interrupting{
|
| 339 |
+
position: absolute;
|
| 340 |
+
width: 50%;
|
| 341 |
+
height: 100%;
|
| 342 |
+
display: none;
|
| 343 |
+
background: #b4c0cc;
|
| 344 |
+
}
|
| 345 |
+
.gradio-button.generate-box-skip:hover, .gradio-button.generate-box-interrupt:hover, .gradio-button.generate-box-interrupting:hover{
|
| 346 |
+
background: #c2cfdb;
|
| 347 |
+
}
|
| 348 |
+
.gradio-button.generate-box-interrupt, .gradio-button.generate-box-interrupting{
|
| 349 |
+
left: 0;
|
| 350 |
+
border-radius: 0.5rem 0 0 0.5rem;
|
| 351 |
+
}
|
| 352 |
+
.gradio-button.generate-box-skip{
|
| 353 |
+
right: 0;
|
| 354 |
+
border-radius: 0 0.5rem 0.5rem 0;
|
| 355 |
+
}
|
| 356 |
+
|
| 357 |
+
#img2img_scale_resolution_preview.block{
|
| 358 |
+
display: flex;
|
| 359 |
+
align-items: end;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
#txtimg_hr_finalres .resolution, #img2img_scale_resolution_preview .resolution{
|
| 363 |
+
font-weight: bold;
|
| 364 |
+
}
|
| 365 |
+
|
| 366 |
+
#txtimg_hr_finalres div.pending, #img2img_scale_resolution_preview div.pending {
|
| 367 |
+
opacity: 1;
|
| 368 |
+
transition: opacity 0s;
|
| 369 |
+
}
|
| 370 |
+
|
| 371 |
+
.inactive{
|
| 372 |
+
opacity: 0.5;
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
[id$=_column_batch]{
|
| 376 |
+
min-width: min(13.5em, 100%) !important;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
div.dimensions-tools{
|
| 380 |
+
min-width: 1.6em !important;
|
| 381 |
+
max-width: fit-content;
|
| 382 |
+
flex-direction: column;
|
| 383 |
+
place-content: center;
|
| 384 |
+
}
|
| 385 |
+
|
| 386 |
+
div#extras_scale_to_tab div.form{
|
| 387 |
+
flex-direction: row;
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
#img2img_sketch, #img2maskimg, #inpaint_sketch {
|
| 391 |
+
overflow: overlay !important;
|
| 392 |
+
resize: auto;
|
| 393 |
+
background: var(--panel-background-fill);
|
| 394 |
+
z-index: 5;
|
| 395 |
+
}
|
| 396 |
+
|
| 397 |
+
.image-buttons > .form{
|
| 398 |
+
justify-content: center;
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
.infotext {
|
| 402 |
+
overflow-wrap: break-word;
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
#img2img_column_batch{
|
| 406 |
+
align-self: end;
|
| 407 |
+
margin-bottom: 0.9em;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
#img2img_unused_scale_by_slider{
|
| 411 |
+
visibility: hidden;
|
| 412 |
+
width: 0.5em;
|
| 413 |
+
max-width: 0.5em;
|
| 414 |
+
min-width: 0.5em;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
div.toprow-compact-stylerow{
|
| 418 |
+
margin: 0.5em 0;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
div.toprow-compact-tools{
|
| 422 |
+
min-width: fit-content !important;
|
| 423 |
+
max-width: fit-content;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
/* settings */
|
| 427 |
+
#quicksettings {
|
| 428 |
+
align-items: end;
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
#quicksettings > div, #quicksettings > fieldset{
|
| 432 |
+
max-width: 36em;
|
| 433 |
+
width: fit-content;
|
| 434 |
+
flex: 0 1 fit-content;
|
| 435 |
+
padding: 0;
|
| 436 |
+
border: none;
|
| 437 |
+
box-shadow: none;
|
| 438 |
+
background: none;
|
| 439 |
+
}
|
| 440 |
+
#quicksettings > div.gradio-dropdown{
|
| 441 |
+
min-width: 24em !important;
|
| 442 |
+
}
|
| 443 |
+
|
| 444 |
+
#settings{
|
| 445 |
+
display: block;
|
| 446 |
+
}
|
| 447 |
+
|
| 448 |
+
#settings > div{
|
| 449 |
+
border: none;
|
| 450 |
+
margin-left: 10em;
|
| 451 |
+
padding: 0 var(--spacing-xl);
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
#settings > div.tab-nav{
|
| 455 |
+
float: left;
|
| 456 |
+
display: block;
|
| 457 |
+
margin-left: 0;
|
| 458 |
+
width: 10em;
|
| 459 |
+
}
|
| 460 |
+
|
| 461 |
+
#settings > div.tab-nav button{
|
| 462 |
+
display: block;
|
| 463 |
+
border: none;
|
| 464 |
+
text-align: left;
|
| 465 |
+
white-space: initial;
|
| 466 |
+
padding: 4px;
|
| 467 |
+
}
|
| 468 |
+
|
| 469 |
+
#settings > div.tab-nav .settings-category{
|
| 470 |
+
display: block;
|
| 471 |
+
margin: 1em 0 0.25em 0;
|
| 472 |
+
font-weight: bold;
|
| 473 |
+
text-decoration: underline;
|
| 474 |
+
cursor: default;
|
| 475 |
+
user-select: none;
|
| 476 |
+
}
|
| 477 |
+
|
| 478 |
+
#settings_result{
|
| 479 |
+
height: 1.4em;
|
| 480 |
+
margin: 0 1.2em;
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
table.popup-table{
|
| 484 |
+
background: var(--body-background-fill);
|
| 485 |
+
color: var(--body-text-color);
|
| 486 |
+
border-collapse: collapse;
|
| 487 |
+
margin: 1em;
|
| 488 |
+
border: 4px solid var(--body-background-fill);
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
table.popup-table td{
|
| 492 |
+
padding: 0.4em;
|
| 493 |
+
border: 1px solid rgba(128, 128, 128, 0.5);
|
| 494 |
+
max-width: 36em;
|
| 495 |
+
}
|
| 496 |
+
|
| 497 |
+
table.popup-table .muted{
|
| 498 |
+
color: #aaa;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
table.popup-table .link{
|
| 502 |
+
text-decoration: underline;
|
| 503 |
+
cursor: pointer;
|
| 504 |
+
font-weight: bold;
|
| 505 |
+
}
|
| 506 |
+
|
| 507 |
+
.ui-defaults-none{
|
| 508 |
+
color: #aaa !important;
|
| 509 |
+
}
|
| 510 |
+
|
| 511 |
+
#settings span{
|
| 512 |
+
color: var(--body-text-color);
|
| 513 |
+
}
|
| 514 |
+
|
| 515 |
+
#settings .gradio-textbox, #settings .gradio-slider, #settings .gradio-number, #settings .gradio-dropdown, #settings .gradio-checkboxgroup, #settings .gradio-radio{
|
| 516 |
+
margin-top: 0.75em;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
#settings span .settings-comment {
|
| 520 |
+
display: inline
|
| 521 |
+
}
|
| 522 |
+
|
| 523 |
+
.settings-comment a{
|
| 524 |
+
text-decoration: underline;
|
| 525 |
+
}
|
| 526 |
+
|
| 527 |
+
.settings-comment .info{
|
| 528 |
+
opacity: 0.75;
|
| 529 |
+
}
|
| 530 |
+
|
| 531 |
+
.settings-comment .info ol{
|
| 532 |
+
margin: 0.4em 0 0.8em 1em;
|
| 533 |
+
}
|
| 534 |
+
|
| 535 |
+
#sysinfo_download a.sysinfo_big_link{
|
| 536 |
+
font-size: 24pt;
|
| 537 |
+
}
|
| 538 |
+
|
| 539 |
+
#sysinfo_download a{
|
| 540 |
+
text-decoration: underline;
|
| 541 |
+
}
|
| 542 |
+
|
| 543 |
+
#sysinfo_validity{
|
| 544 |
+
font-size: 18pt;
|
| 545 |
+
}
|
| 546 |
+
|
| 547 |
+
#settings .settings-info{
|
| 548 |
+
max-width: 48em;
|
| 549 |
+
border: 1px dotted #777;
|
| 550 |
+
margin: 0;
|
| 551 |
+
padding: 1em;
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
|
| 555 |
+
/* live preview */
|
| 556 |
+
.progressDiv{
|
| 557 |
+
position: absolute;
|
| 558 |
+
height: 20px;
|
| 559 |
+
background: #b4c0cc;
|
| 560 |
+
border-radius: 3px !important;
|
| 561 |
+
top: -14px;
|
| 562 |
+
left: 0px;
|
| 563 |
+
width: 100%;
|
| 564 |
+
}
|
| 565 |
+
|
| 566 |
+
.progress-container{
|
| 567 |
+
position: relative;
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
[id$=_results].mobile{
|
| 571 |
+
margin-top: 28px;
|
| 572 |
+
}
|
| 573 |
+
|
| 574 |
+
.dark .progressDiv{
|
| 575 |
+
background: #424c5b;
|
| 576 |
+
}
|
| 577 |
+
|
| 578 |
+
.progressDiv .progress{
|
| 579 |
+
width: 0%;
|
| 580 |
+
height: 20px;
|
| 581 |
+
background: #0060df;
|
| 582 |
+
color: white;
|
| 583 |
+
font-weight: bold;
|
| 584 |
+
line-height: 20px;
|
| 585 |
+
padding: 0 8px 0 0;
|
| 586 |
+
text-align: right;
|
| 587 |
+
border-radius: 3px;
|
| 588 |
+
overflow: visible;
|
| 589 |
+
white-space: nowrap;
|
| 590 |
+
padding: 0 0.5em;
|
| 591 |
+
}
|
| 592 |
+
|
| 593 |
+
.livePreview{
|
| 594 |
+
position: absolute;
|
| 595 |
+
z-index: 300;
|
| 596 |
+
background: var(--background-fill-primary);
|
| 597 |
+
width: 100%;
|
| 598 |
+
height: 100%;
|
| 599 |
+
}
|
| 600 |
+
|
| 601 |
+
.livePreview img{
|
| 602 |
+
position: absolute;
|
| 603 |
+
object-fit: contain;
|
| 604 |
+
width: 100%;
|
| 605 |
+
height: calc(100% - 60px); /* to match gradio's height */
|
| 606 |
+
}
|
| 607 |
+
|
| 608 |
+
/* fullscreen popup (ie in Lora's (i) button) */
|
| 609 |
+
|
| 610 |
+
.popup-metadata{
|
| 611 |
+
color: black;
|
| 612 |
+
background: white;
|
| 613 |
+
display: inline-block;
|
| 614 |
+
padding: 1em;
|
| 615 |
+
white-space: pre-wrap;
|
| 616 |
+
}
|
| 617 |
+
|
| 618 |
+
.global-popup{
|
| 619 |
+
display: flex;
|
| 620 |
+
position: fixed;
|
| 621 |
+
z-index: 1001;
|
| 622 |
+
left: 0;
|
| 623 |
+
top: 0;
|
| 624 |
+
width: 100%;
|
| 625 |
+
height: 100%;
|
| 626 |
+
overflow: auto;
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
.global-popup *{
|
| 630 |
+
box-sizing: border-box;
|
| 631 |
+
}
|
| 632 |
+
|
| 633 |
+
.global-popup-close:before {
|
| 634 |
+
content: "×";
|
| 635 |
+
position: fixed;
|
| 636 |
+
right: 0.25em;
|
| 637 |
+
top: 0;
|
| 638 |
+
cursor: pointer;
|
| 639 |
+
color: white;
|
| 640 |
+
font-size: 32pt;
|
| 641 |
+
}
|
| 642 |
+
|
| 643 |
+
.global-popup-close{
|
| 644 |
+
position: fixed;
|
| 645 |
+
left: 0;
|
| 646 |
+
top: 0;
|
| 647 |
+
width: 100%;
|
| 648 |
+
height: 100%;
|
| 649 |
+
background-color: rgba(20, 20, 20, 0.95);
|
| 650 |
+
}
|
| 651 |
+
|
| 652 |
+
.global-popup-inner{
|
| 653 |
+
display: inline-block;
|
| 654 |
+
margin: auto;
|
| 655 |
+
padding: 2em;
|
| 656 |
+
z-index: 1001;
|
| 657 |
+
max-height: 90%;
|
| 658 |
+
max-width: 90%;
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
/* fullpage image viewer */
|
| 662 |
+
|
| 663 |
+
#lightboxModal{
|
| 664 |
+
display: none;
|
| 665 |
+
position: fixed;
|
| 666 |
+
z-index: 1001;
|
| 667 |
+
left: 0;
|
| 668 |
+
top: 0;
|
| 669 |
+
width: 100%;
|
| 670 |
+
height: 100%;
|
| 671 |
+
overflow: auto;
|
| 672 |
+
background-color: rgba(20, 20, 20, 0.95);
|
| 673 |
+
user-select: none;
|
| 674 |
+
-webkit-user-select: none;
|
| 675 |
+
flex-direction: column;
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
.modalControls {
|
| 679 |
+
display: flex;
|
| 680 |
+
position: absolute;
|
| 681 |
+
right: 0px;
|
| 682 |
+
left: 0px;
|
| 683 |
+
gap: 1em;
|
| 684 |
+
padding: 1em;
|
| 685 |
+
background-color:rgba(0,0,0,0);
|
| 686 |
+
z-index: 1;
|
| 687 |
+
transition: 0.2s ease background-color;
|
| 688 |
+
}
|
| 689 |
+
.modalControls:hover {
|
| 690 |
+
background-color:rgba(0,0,0, var(--sd-webui-modal-lightbox-toolbar-opacity));
|
| 691 |
+
}
|
| 692 |
+
.modalClose {
|
| 693 |
+
margin-left: auto;
|
| 694 |
+
}
|
| 695 |
+
.modalControls span{
|
| 696 |
+
color: white;
|
| 697 |
+
text-shadow: 0px 0px 0.25em black;
|
| 698 |
+
font-size: 35px;
|
| 699 |
+
font-weight: bold;
|
| 700 |
+
cursor: pointer;
|
| 701 |
+
width: 1em;
|
| 702 |
+
}
|
| 703 |
+
|
| 704 |
+
.modalControls span:hover, .modalControls span:focus{
|
| 705 |
+
color: #999;
|
| 706 |
+
text-decoration: none;
|
| 707 |
+
}
|
| 708 |
+
|
| 709 |
+
#lightboxModal > img {
|
| 710 |
+
display: block;
|
| 711 |
+
margin: auto;
|
| 712 |
+
width: auto;
|
| 713 |
+
}
|
| 714 |
+
|
| 715 |
+
#lightboxModal > img.modalImageFullscreen{
|
| 716 |
+
object-fit: contain;
|
| 717 |
+
height: 100%;
|
| 718 |
+
width: 100%;
|
| 719 |
+
min-height: 0;
|
| 720 |
+
}
|
| 721 |
+
|
| 722 |
+
.modalPrev,
|
| 723 |
+
.modalNext {
|
| 724 |
+
cursor: pointer;
|
| 725 |
+
position: absolute;
|
| 726 |
+
top: 50%;
|
| 727 |
+
width: auto;
|
| 728 |
+
padding: 16px;
|
| 729 |
+
margin-top: -50px;
|
| 730 |
+
color: white;
|
| 731 |
+
font-weight: bold;
|
| 732 |
+
font-size: 20px;
|
| 733 |
+
transition: 0.6s ease;
|
| 734 |
+
border-radius: 0 3px 3px 0;
|
| 735 |
+
user-select: none;
|
| 736 |
+
-webkit-user-select: none;
|
| 737 |
+
}
|
| 738 |
+
|
| 739 |
+
.modalNext {
|
| 740 |
+
right: 0;
|
| 741 |
+
border-radius: 3px 0 0 3px;
|
| 742 |
+
}
|
| 743 |
+
|
| 744 |
+
.modalPrev:hover,
|
| 745 |
+
.modalNext:hover {
|
| 746 |
+
background-color: rgba(0, 0, 0, 0.8);
|
| 747 |
+
}
|
| 748 |
+
|
| 749 |
+
#imageARPreview {
|
| 750 |
+
position: absolute;
|
| 751 |
+
top: 0px;
|
| 752 |
+
left: 0px;
|
| 753 |
+
border: 2px solid red;
|
| 754 |
+
background: rgba(255, 0, 0, 0.3);
|
| 755 |
+
z-index: 900;
|
| 756 |
+
pointer-events: none;
|
| 757 |
+
display: none;
|
| 758 |
+
}
|
| 759 |
+
|
| 760 |
+
@media (pointer: fine) {
|
| 761 |
+
.modalPrev:hover,
|
| 762 |
+
.modalNext:hover,
|
| 763 |
+
.modalControls:hover ~ .modalPrev,
|
| 764 |
+
.modalControls:hover ~ .modalNext,
|
| 765 |
+
.modalControls:hover .cursor {
|
| 766 |
+
opacity: 1;
|
| 767 |
+
}
|
| 768 |
+
|
| 769 |
+
.modalPrev,
|
| 770 |
+
.modalNext,
|
| 771 |
+
.modalControls .cursor {
|
| 772 |
+
opacity: var(--sd-webui-modal-lightbox-icon-opacity);
|
| 773 |
+
}
|
| 774 |
+
}
|
| 775 |
+
|
| 776 |
+
/* context menu (ie for the generate button) */
|
| 777 |
+
|
| 778 |
+
#context-menu{
|
| 779 |
+
z-index:9999;
|
| 780 |
+
position:absolute;
|
| 781 |
+
display:block;
|
| 782 |
+
padding:0px 0;
|
| 783 |
+
border:2px solid #a55000;
|
| 784 |
+
border-radius:8px;
|
| 785 |
+
box-shadow:1px 1px 2px #CE6400;
|
| 786 |
+
width: 200px;
|
| 787 |
+
}
|
| 788 |
+
|
| 789 |
+
.context-menu-items{
|
| 790 |
+
list-style: none;
|
| 791 |
+
margin: 0;
|
| 792 |
+
padding: 0;
|
| 793 |
+
}
|
| 794 |
+
|
| 795 |
+
.context-menu-items a{
|
| 796 |
+
display:block;
|
| 797 |
+
padding:5px;
|
| 798 |
+
cursor:pointer;
|
| 799 |
+
}
|
| 800 |
+
|
| 801 |
+
.context-menu-items a:hover{
|
| 802 |
+
background: #a55000;
|
| 803 |
+
}
|
| 804 |
+
|
| 805 |
+
|
| 806 |
+
/* extensions */
|
| 807 |
+
|
| 808 |
+
#tab_extensions table{
|
| 809 |
+
border-collapse: collapse;
|
| 810 |
+
}
|
| 811 |
+
|
| 812 |
+
#tab_extensions table td, #tab_extensions table th{
|
| 813 |
+
border: 1px solid #ccc;
|
| 814 |
+
padding: 0.25em 0.5em;
|
| 815 |
+
}
|
| 816 |
+
|
| 817 |
+
#tab_extensions table input[type="checkbox"]{
|
| 818 |
+
margin-right: 0.5em;
|
| 819 |
+
appearance: checkbox;
|
| 820 |
+
}
|
| 821 |
+
|
| 822 |
+
#tab_extensions button{
|
| 823 |
+
max-width: 16em;
|
| 824 |
+
}
|
| 825 |
+
|
| 826 |
+
#tab_extensions input[disabled="disabled"]{
|
| 827 |
+
opacity: 0.5;
|
| 828 |
+
}
|
| 829 |
+
|
| 830 |
+
.extension-tag{
|
| 831 |
+
font-weight: bold;
|
| 832 |
+
font-size: 95%;
|
| 833 |
+
}
|
| 834 |
+
|
| 835 |
+
#available_extensions .info{
|
| 836 |
+
margin: 0;
|
| 837 |
+
}
|
| 838 |
+
|
| 839 |
+
#available_extensions .info{
|
| 840 |
+
margin: 0.5em 0;
|
| 841 |
+
display: flex;
|
| 842 |
+
margin-top: auto;
|
| 843 |
+
opacity: 0.80;
|
| 844 |
+
font-size: 90%;
|
| 845 |
+
}
|
| 846 |
+
|
| 847 |
+
#available_extensions .date_added{
|
| 848 |
+
margin-right: auto;
|
| 849 |
+
display: inline-block;
|
| 850 |
+
}
|
| 851 |
+
|
| 852 |
+
#available_extensions .star_count{
|
| 853 |
+
margin-left: auto;
|
| 854 |
+
display: inline-block;
|
| 855 |
+
}
|
| 856 |
+
|
| 857 |
+
/* extensions tab table row hover highlight */
|
| 858 |
+
|
| 859 |
+
#extensions tr:hover td,
|
| 860 |
+
#config_state_extensions tr:hover td,
|
| 861 |
+
#available_extensions tr:hover td {
|
| 862 |
+
background: rgba(0, 0, 0, 0.15);
|
| 863 |
+
}
|
| 864 |
+
|
| 865 |
+
.dark #extensions tr:hover td ,
|
| 866 |
+
.dark #config_state_extensions tr:hover td ,
|
| 867 |
+
.dark #available_extensions tr:hover td {
|
| 868 |
+
background: rgba(255, 255, 255, 0.15);
|
| 869 |
+
}
|
| 870 |
+
|
| 871 |
+
/* replace original footer with ours */
|
| 872 |
+
|
| 873 |
+
footer {
|
| 874 |
+
display: none !important;
|
| 875 |
+
}
|
| 876 |
+
|
| 877 |
+
#footer{
|
| 878 |
+
text-align: center;
|
| 879 |
+
}
|
| 880 |
+
|
| 881 |
+
#footer div{
|
| 882 |
+
display: inline-block;
|
| 883 |
+
}
|
| 884 |
+
|
| 885 |
+
#footer .versions{
|
| 886 |
+
font-size: 85%;
|
| 887 |
+
opacity: 0.85;
|
| 888 |
+
}
|
| 889 |
+
|
| 890 |
+
/* extra networks UI */
|
| 891 |
+
|
| 892 |
+
.extra-page > div.gap{
|
| 893 |
+
gap: 0;
|
| 894 |
+
}
|
| 895 |
+
|
| 896 |
+
.extra-page-prompts{
|
| 897 |
+
margin-bottom: 0;
|
| 898 |
+
}
|
| 899 |
+
|
| 900 |
+
.extra-page-prompts.extra-page-prompts-active{
|
| 901 |
+
margin-bottom: 1em;
|
| 902 |
+
}
|
| 903 |
+
|
| 904 |
+
.extra-networks > div.tab-nav{
|
| 905 |
+
min-height: 2.7rem;
|
| 906 |
+
}
|
| 907 |
+
|
| 908 |
+
.extra-networks-controls-div{
|
| 909 |
+
align-self: center;
|
| 910 |
+
margin-left: auto;
|
| 911 |
+
}
|
| 912 |
+
|
| 913 |
+
.extra-networks > div > [id *= '_extra_']{
|
| 914 |
+
margin: 0.3em;
|
| 915 |
+
}
|
| 916 |
+
|
| 917 |
+
.extra-networks .tab-nav .search,
|
| 918 |
+
.extra-networks .tab-nav .sort
|
| 919 |
+
{
|
| 920 |
+
margin: 0.3em;
|
| 921 |
+
align-self: center;
|
| 922 |
+
width: auto;
|
| 923 |
+
}
|
| 924 |
+
|
| 925 |
+
.extra-networks .tab-nav .search {
|
| 926 |
+
width: 16em;
|
| 927 |
+
max-width: 16em;
|
| 928 |
+
}
|
| 929 |
+
|
| 930 |
+
.extra-networks .tab-nav .sort {
|
| 931 |
+
width: 12em;
|
| 932 |
+
max-width: 12em;
|
| 933 |
+
}
|
| 934 |
+
|
| 935 |
+
#txt2img_extra_view, #img2img_extra_view {
|
| 936 |
+
width: auto;
|
| 937 |
+
}
|
| 938 |
+
|
| 939 |
+
.extra-network-pane .nocards{
|
| 940 |
+
margin: 1.25em 0.5em 0.5em 0.5em;
|
| 941 |
+
}
|
| 942 |
+
|
| 943 |
+
.extra-network-pane .nocards h1{
|
| 944 |
+
font-size: 1.5em;
|
| 945 |
+
margin-bottom: 1em;
|
| 946 |
+
}
|
| 947 |
+
|
| 948 |
+
.extra-network-pane .nocards li{
|
| 949 |
+
margin-left: 0.5em;
|
| 950 |
+
}
|
| 951 |
+
|
| 952 |
+
.extra-network-pane .card .button-row{
|
| 953 |
+
display: inline-flex;
|
| 954 |
+
visibility: hidden;
|
| 955 |
+
color: white;
|
| 956 |
+
}
|
| 957 |
+
|
| 958 |
+
.extra-network-pane .card .button-row {
|
| 959 |
+
position: absolute;
|
| 960 |
+
right: 0;
|
| 961 |
+
z-index: 1;
|
| 962 |
+
}
|
| 963 |
+
|
| 964 |
+
.extra-network-pane .card:hover .button-row{
|
| 965 |
+
visibility: visible;
|
| 966 |
+
}
|
| 967 |
+
|
| 968 |
+
.extra-network-pane .card-button{
|
| 969 |
+
color: white;
|
| 970 |
+
}
|
| 971 |
+
|
| 972 |
+
.extra-network-pane .copy-path-button::before {
|
| 973 |
+
content: "⎘";
|
| 974 |
+
}
|
| 975 |
+
|
| 976 |
+
.extra-network-pane .metadata-button::before{
|
| 977 |
+
content: "🛈";
|
| 978 |
+
}
|
| 979 |
+
|
| 980 |
+
.extra-network-pane .edit-button::before{
|
| 981 |
+
content: "🛠";
|
| 982 |
+
}
|
| 983 |
+
|
| 984 |
+
.extra-network-pane .card-button {
|
| 985 |
+
width: 1.5em;
|
| 986 |
+
text-shadow: 2px 2px 3px black;
|
| 987 |
+
color: white;
|
| 988 |
+
padding: 0.25em 0.1em;
|
| 989 |
+
}
|
| 990 |
+
|
| 991 |
+
.extra-network-pane .card-button:hover{
|
| 992 |
+
color: red;
|
| 993 |
+
}
|
| 994 |
+
|
| 995 |
+
.extra-network-pane .card .card-button {
|
| 996 |
+
font-size: 2rem;
|
| 997 |
+
}
|
| 998 |
+
|
| 999 |
+
.extra-network-pane .card-minimal .card-button {
|
| 1000 |
+
font-size: 1rem;
|
| 1001 |
+
}
|
| 1002 |
+
|
| 1003 |
+
.standalone-card-preview.card .preview{
|
| 1004 |
+
position: absolute;
|
| 1005 |
+
object-fit: cover;
|
| 1006 |
+
width: 100%;
|
| 1007 |
+
height:100%;
|
| 1008 |
+
}
|
| 1009 |
+
|
| 1010 |
+
.extra-network-pane .card, .standalone-card-preview.card{
|
| 1011 |
+
display: inline-block;
|
| 1012 |
+
margin: 0.5rem;
|
| 1013 |
+
width: 16rem;
|
| 1014 |
+
height: 24rem;
|
| 1015 |
+
box-shadow: 0 0 5px rgba(128, 128, 128, 0.5);
|
| 1016 |
+
border-radius: 0.2rem;
|
| 1017 |
+
position: relative;
|
| 1018 |
+
|
| 1019 |
+
background-size: auto 100%;
|
| 1020 |
+
background-position: center;
|
| 1021 |
+
overflow: hidden;
|
| 1022 |
+
cursor: pointer;
|
| 1023 |
+
|
| 1024 |
+
background-image: url('./file=html/card-no-preview.png')
|
| 1025 |
+
}
|
| 1026 |
+
|
| 1027 |
+
.extra-network-pane .card:hover{
|
| 1028 |
+
box-shadow: 0 0 2px 0.3em rgba(0, 128, 255, 0.35);
|
| 1029 |
+
}
|
| 1030 |
+
|
| 1031 |
+
.extra-network-pane .card .actions .additional{
|
| 1032 |
+
display: none;
|
| 1033 |
+
}
|
| 1034 |
+
|
| 1035 |
+
.extra-network-pane .card .actions{
|
| 1036 |
+
position: absolute;
|
| 1037 |
+
bottom: 0;
|
| 1038 |
+
left: 0;
|
| 1039 |
+
right: 0;
|
| 1040 |
+
padding: 0.5em;
|
| 1041 |
+
background: rgba(0,0,0,0.5);
|
| 1042 |
+
box-shadow: 0 0 0.25em 0.25em rgba(0,0,0,0.5);
|
| 1043 |
+
text-shadow: 0 0 0.2em black;
|
| 1044 |
+
}
|
| 1045 |
+
|
| 1046 |
+
.extra-network-pane .card .actions *{
|
| 1047 |
+
color: white;
|
| 1048 |
+
}
|
| 1049 |
+
|
| 1050 |
+
.extra-network-pane .card .actions .name{
|
| 1051 |
+
font-size: 1.7em;
|
| 1052 |
+
font-weight: bold;
|
| 1053 |
+
line-break: anywhere;
|
| 1054 |
+
}
|
| 1055 |
+
|
| 1056 |
+
.extra-network-pane .card .actions .description {
|
| 1057 |
+
display: block;
|
| 1058 |
+
max-height: 3em;
|
| 1059 |
+
white-space: pre-wrap;
|
| 1060 |
+
line-height: 1.1;
|
| 1061 |
+
}
|
| 1062 |
+
|
| 1063 |
+
.extra-network-pane .card .actions .description:hover {
|
| 1064 |
+
max-height: none;
|
| 1065 |
+
}
|
| 1066 |
+
|
| 1067 |
+
.extra-network-pane .card .actions:hover .additional{
|
| 1068 |
+
display: block;
|
| 1069 |
+
}
|
| 1070 |
+
|
| 1071 |
+
.extra-network-pane .card ul{
|
| 1072 |
+
margin: 0.25em 0 0.75em 0.25em;
|
| 1073 |
+
cursor: unset;
|
| 1074 |
+
}
|
| 1075 |
+
|
| 1076 |
+
.extra-network-pane .card ul a{
|
| 1077 |
+
cursor: pointer;
|
| 1078 |
+
}
|
| 1079 |
+
|
| 1080 |
+
.extra-network-pane .card ul a:hover{
|
| 1081 |
+
color: red;
|
| 1082 |
+
}
|
| 1083 |
+
|
| 1084 |
+
.extra-network-pane .card .preview{
|
| 1085 |
+
position: absolute;
|
| 1086 |
+
object-fit: cover;
|
| 1087 |
+
width: 100%;
|
| 1088 |
+
height:100%;
|
| 1089 |
+
}
|
| 1090 |
+
|
| 1091 |
+
div.block.gradio-box.edit-user-metadata {
|
| 1092 |
+
width: 56em;
|
| 1093 |
+
background: var(--body-background-fill);
|
| 1094 |
+
padding: 2em !important;
|
| 1095 |
+
}
|
| 1096 |
+
|
| 1097 |
+
.edit-user-metadata .extra-network-name{
|
| 1098 |
+
font-size: 18pt;
|
| 1099 |
+
color: var(--body-text-color);
|
| 1100 |
+
}
|
| 1101 |
+
|
| 1102 |
+
.edit-user-metadata .file-metadata{
|
| 1103 |
+
color: var(--body-text-color);
|
| 1104 |
+
}
|
| 1105 |
+
|
| 1106 |
+
.edit-user-metadata .file-metadata th{
|
| 1107 |
+
text-align: left;
|
| 1108 |
+
}
|
| 1109 |
+
|
| 1110 |
+
.edit-user-metadata .file-metadata th, .edit-user-metadata .file-metadata td{
|
| 1111 |
+
padding: 0.3em 1em;
|
| 1112 |
+
overflow-wrap: anywhere;
|
| 1113 |
+
word-break: break-word;
|
| 1114 |
+
}
|
| 1115 |
+
|
| 1116 |
+
.edit-user-metadata .wrap.translucent{
|
| 1117 |
+
background: var(--body-background-fill);
|
| 1118 |
+
}
|
| 1119 |
+
.edit-user-metadata .gradio-highlightedtext span{
|
| 1120 |
+
word-break: break-word;
|
| 1121 |
+
}
|
| 1122 |
+
|
| 1123 |
+
.edit-user-metadata-buttons{
|
| 1124 |
+
margin-top: 1.5em;
|
| 1125 |
+
}
|
| 1126 |
+
|
| 1127 |
+
div.block.gradio-box.popup-dialog, .popup-dialog {
|
| 1128 |
+
width: 56em;
|
| 1129 |
+
background: var(--body-background-fill);
|
| 1130 |
+
padding: 2em !important;
|
| 1131 |
+
}
|
| 1132 |
+
|
| 1133 |
+
div.block.gradio-box.popup-dialog > div:last-child, .popup-dialog > div:last-child{
|
| 1134 |
+
margin-top: 1em;
|
| 1135 |
+
}
|
| 1136 |
+
|
| 1137 |
+
div.block.input-accordion{
|
| 1138 |
+
|
| 1139 |
+
}
|
| 1140 |
+
|
| 1141 |
+
.input-accordion-extra{
|
| 1142 |
+
flex: 0 0 auto !important;
|
| 1143 |
+
margin: 0 0.5em 0 auto;
|
| 1144 |
+
}
|
| 1145 |
+
|
| 1146 |
+
div.accordions > div.input-accordion{
|
| 1147 |
+
min-width: fit-content !important;
|
| 1148 |
+
}
|
| 1149 |
+
|
| 1150 |
+
div.accordions > div.gradio-accordion .label-wrap span{
|
| 1151 |
+
white-space: nowrap;
|
| 1152 |
+
margin-right: 0.25em;
|
| 1153 |
+
}
|
| 1154 |
+
|
| 1155 |
+
div.accordions{
|
| 1156 |
+
gap: 0.5em;
|
| 1157 |
+
}
|
| 1158 |
+
|
| 1159 |
+
div.accordions > div.input-accordion.input-accordion-open{
|
| 1160 |
+
flex: 1 auto;
|
| 1161 |
+
flex-flow: column;
|
| 1162 |
+
}
|
| 1163 |
+
|
| 1164 |
+
|
| 1165 |
+
/* sticky right hand columns */
|
| 1166 |
+
|
| 1167 |
+
#img2img_results, #txt2img_results, #extras_results {
|
| 1168 |
+
position: sticky;
|
| 1169 |
+
top: 0.5em;
|
| 1170 |
+
}
|
| 1171 |
+
|
| 1172 |
+
body.resizing {
|
| 1173 |
+
cursor: col-resize !important;
|
| 1174 |
+
}
|
| 1175 |
+
|
| 1176 |
+
body.resizing * {
|
| 1177 |
+
pointer-events: none !important;
|
| 1178 |
+
}
|
| 1179 |
+
|
| 1180 |
+
body.resizing .resize-handle {
|
| 1181 |
+
pointer-events: initial !important;
|
| 1182 |
+
}
|
| 1183 |
+
|
| 1184 |
+
.resize-handle {
|
| 1185 |
+
position: relative;
|
| 1186 |
+
cursor: col-resize;
|
| 1187 |
+
grid-column: 2 / 3;
|
| 1188 |
+
min-width: 16px !important;
|
| 1189 |
+
max-width: 16px !important;
|
| 1190 |
+
height: 100%;
|
| 1191 |
+
}
|
| 1192 |
+
|
| 1193 |
+
.resize-handle::after {
|
| 1194 |
+
content: '';
|
| 1195 |
+
position: absolute;
|
| 1196 |
+
top: 0;
|
| 1197 |
+
bottom: 0;
|
| 1198 |
+
left: 7.5px;
|
| 1199 |
+
border-left: 1px dashed var(--border-color-primary);
|
| 1200 |
+
}
|
| 1201 |
+
|
| 1202 |
+
/* ========================= */
|
| 1203 |
+
.extra-network-pane {
|
| 1204 |
+
display: flex;
|
| 1205 |
+
height: calc(100vh - 24rem);
|
| 1206 |
+
resize: vertical;
|
| 1207 |
+
min-height: 52rem;
|
| 1208 |
+
flex-direction: column;
|
| 1209 |
+
overflow: hidden;
|
| 1210 |
+
}
|
| 1211 |
+
|
| 1212 |
+
.extra-network-pane .extra-network-pane-content-dirs {
|
| 1213 |
+
display: flex;
|
| 1214 |
+
flex: 1;
|
| 1215 |
+
flex-direction: column;
|
| 1216 |
+
overflow: hidden;
|
| 1217 |
+
}
|
| 1218 |
+
|
| 1219 |
+
.extra-network-pane .extra-network-pane-content-tree {
|
| 1220 |
+
display: flex;
|
| 1221 |
+
flex: 1;
|
| 1222 |
+
overflow: hidden;
|
| 1223 |
+
}
|
| 1224 |
+
|
| 1225 |
+
.extra-network-dirs-hidden .extra-network-dirs{ display: none; }
|
| 1226 |
+
.extra-network-dirs-hidden .extra-network-tree{ display: none; }
|
| 1227 |
+
.extra-network-dirs-hidden .resize-handle { display: none; }
|
| 1228 |
+
.extra-network-dirs-hidden .resize-handle-row { display: flex !important; }
|
| 1229 |
+
|
| 1230 |
+
.extra-network-pane .extra-network-tree {
|
| 1231 |
+
flex: 1;
|
| 1232 |
+
font-size: 1rem;
|
| 1233 |
+
border: 1px solid var(--block-border-color);
|
| 1234 |
+
overflow: clip auto !important;
|
| 1235 |
+
}
|
| 1236 |
+
|
| 1237 |
+
.extra-network-pane .extra-network-cards {
|
| 1238 |
+
flex: 3;
|
| 1239 |
+
overflow: clip auto !important;
|
| 1240 |
+
border: 1px solid var(--block-border-color);
|
| 1241 |
+
}
|
| 1242 |
+
|
| 1243 |
+
.extra-network-pane .extra-network-tree .tree-list {
|
| 1244 |
+
flex: 1;
|
| 1245 |
+
display: flex;
|
| 1246 |
+
flex-direction: column;
|
| 1247 |
+
padding: 0;
|
| 1248 |
+
width: 100%;
|
| 1249 |
+
overflow: hidden;
|
| 1250 |
+
}
|
| 1251 |
+
|
| 1252 |
+
|
| 1253 |
+
.extra-network-pane .extra-network-cards::-webkit-scrollbar,
|
| 1254 |
+
.extra-network-pane .extra-network-tree::-webkit-scrollbar {
|
| 1255 |
+
background-color: transparent;
|
| 1256 |
+
width: 16px;
|
| 1257 |
+
}
|
| 1258 |
+
|
| 1259 |
+
.extra-network-pane .extra-network-cards::-webkit-scrollbar-track,
|
| 1260 |
+
.extra-network-pane .extra-network-tree::-webkit-scrollbar-track {
|
| 1261 |
+
background-color: transparent;
|
| 1262 |
+
background-clip: content-box;
|
| 1263 |
+
}
|
| 1264 |
+
|
| 1265 |
+
.extra-network-pane .extra-network-cards::-webkit-scrollbar-thumb,
|
| 1266 |
+
.extra-network-pane .extra-network-tree::-webkit-scrollbar-thumb {
|
| 1267 |
+
background-color: var(--border-color-primary);
|
| 1268 |
+
border-radius: 16px;
|
| 1269 |
+
border: 4px solid var(--background-fill-primary);
|
| 1270 |
+
}
|
| 1271 |
+
|
| 1272 |
+
.extra-network-pane .extra-network-cards::-webkit-scrollbar-button,
|
| 1273 |
+
.extra-network-pane .extra-network-tree::-webkit-scrollbar-button {
|
| 1274 |
+
display: none;
|
| 1275 |
+
}
|
| 1276 |
+
|
| 1277 |
+
.extra-network-control {
|
| 1278 |
+
position: relative;
|
| 1279 |
+
display: flex;
|
| 1280 |
+
width: 100%;
|
| 1281 |
+
padding: 0 !important;
|
| 1282 |
+
margin-top: 0 !important;
|
| 1283 |
+
margin-bottom: 0 !important;
|
| 1284 |
+
font-size: 1rem;
|
| 1285 |
+
text-align: left;
|
| 1286 |
+
user-select: none;
|
| 1287 |
+
background-color: transparent;
|
| 1288 |
+
border: none;
|
| 1289 |
+
transition: background 33.333ms linear;
|
| 1290 |
+
grid-template-rows: min-content;
|
| 1291 |
+
grid-template-columns: minmax(0, auto) repeat(4, min-content);
|
| 1292 |
+
grid-gap: 0.1rem;
|
| 1293 |
+
align-items: start;
|
| 1294 |
+
}
|
| 1295 |
+
|
| 1296 |
+
.extra-network-control small{
|
| 1297 |
+
color: var(--input-placeholder-color);
|
| 1298 |
+
line-height: 2.2rem;
|
| 1299 |
+
margin: 0 0.5rem 0 0.75rem;
|
| 1300 |
+
}
|
| 1301 |
+
|
| 1302 |
+
.extra-network-tree .tree-list--tree {}
|
| 1303 |
+
|
| 1304 |
+
/* Remove auto indentation from tree. Will be overridden later. */
|
| 1305 |
+
.extra-network-tree .tree-list--subgroup {
|
| 1306 |
+
margin: 0 !important;
|
| 1307 |
+
padding: 0 !important;
|
| 1308 |
+
box-shadow: 0.5rem 0 0 var(--body-background-fill) inset,
|
| 1309 |
+
0.7rem 0 0 var(--neutral-800) inset;
|
| 1310 |
+
}
|
| 1311 |
+
|
| 1312 |
+
/* Set indentation for each depth of tree. */
|
| 1313 |
+
.extra-network-tree .tree-list--subgroup > .tree-list-item {
|
| 1314 |
+
margin-left: 0.4rem !important;
|
| 1315 |
+
padding-left: 0.4rem !important;
|
| 1316 |
+
}
|
| 1317 |
+
|
| 1318 |
+
/* Styles for tree <li> elements. */
|
| 1319 |
+
.extra-network-tree .tree-list-item {
|
| 1320 |
+
list-style: none;
|
| 1321 |
+
position: relative;
|
| 1322 |
+
background-color: transparent;
|
| 1323 |
+
}
|
| 1324 |
+
|
| 1325 |
+
/* Directory <ul> visibility based on data-expanded attribute. */
|
| 1326 |
+
.extra-network-tree .tree-list-content+.tree-list--subgroup {
|
| 1327 |
+
height: 0;
|
| 1328 |
+
visibility: hidden;
|
| 1329 |
+
opacity: 0;
|
| 1330 |
+
}
|
| 1331 |
+
|
| 1332 |
+
.extra-network-tree .tree-list-content[data-expanded]+.tree-list--subgroup {
|
| 1333 |
+
height: auto;
|
| 1334 |
+
visibility: visible;
|
| 1335 |
+
opacity: 1;
|
| 1336 |
+
}
|
| 1337 |
+
|
| 1338 |
+
/* File <li> */
|
| 1339 |
+
.extra-network-tree .tree-list-item--subitem {
|
| 1340 |
+
padding-top: 0 !important;
|
| 1341 |
+
padding-bottom: 0 !important;
|
| 1342 |
+
margin-top: 0 !important;
|
| 1343 |
+
margin-bottom: 0 !important;
|
| 1344 |
+
}
|
| 1345 |
+
|
| 1346 |
+
/* <li> containing <ul> */
|
| 1347 |
+
.extra-network-tree .tree-list-item--has-subitem {}
|
| 1348 |
+
|
| 1349 |
+
/* BUTTON ELEMENTS */
|
| 1350 |
+
/* <button> */
|
| 1351 |
+
.extra-network-tree .tree-list-content {
|
| 1352 |
+
position: relative;
|
| 1353 |
+
display: grid;
|
| 1354 |
+
width: 100%;
|
| 1355 |
+
padding: 0 !important;
|
| 1356 |
+
margin-top: 0 !important;
|
| 1357 |
+
margin-bottom: 0 !important;
|
| 1358 |
+
font-size: 1rem;
|
| 1359 |
+
text-align: left;
|
| 1360 |
+
user-select: none;
|
| 1361 |
+
background-color: transparent;
|
| 1362 |
+
border: none;
|
| 1363 |
+
transition: background 33.333ms linear;
|
| 1364 |
+
grid-template-rows: min-content;
|
| 1365 |
+
grid-template-areas: "leading-action leading-visual label trailing-visual trailing-action";
|
| 1366 |
+
grid-template-columns: min-content min-content minmax(0, auto) min-content min-content;
|
| 1367 |
+
grid-gap: 0.1rem;
|
| 1368 |
+
align-items: start;
|
| 1369 |
+
flex-grow: 1;
|
| 1370 |
+
flex-basis: 100%;
|
| 1371 |
+
}
|
| 1372 |
+
/* Buttons for directories. */
|
| 1373 |
+
.extra-network-tree .tree-list-content-dir {}
|
| 1374 |
+
|
| 1375 |
+
/* Buttons for files. */
|
| 1376 |
+
.extra-network-tree .tree-list-item--has-subitem .tree-list--subgroup > li:first-child {
|
| 1377 |
+
padding-top: 0.5rem !important;
|
| 1378 |
+
}
|
| 1379 |
+
|
| 1380 |
+
.dark .extra-network-tree div.tree-list-content:hover {
|
| 1381 |
+
-webkit-transition: all 0.05s ease-in-out;
|
| 1382 |
+
transition: all 0.05s ease-in-out;
|
| 1383 |
+
background-color: var(--neutral-800);
|
| 1384 |
+
}
|
| 1385 |
+
|
| 1386 |
+
.dark .extra-network-tree div.tree-list-content[data-selected] {
|
| 1387 |
+
background-color: var(--neutral-700);
|
| 1388 |
+
}
|
| 1389 |
+
|
| 1390 |
+
.extra-network-tree div.tree-list-content[data-selected] {
|
| 1391 |
+
background-color: var(--neutral-300);
|
| 1392 |
+
}
|
| 1393 |
+
|
| 1394 |
+
.extra-network-tree div.tree-list-content:hover {
|
| 1395 |
+
-webkit-transition: all 0.05s ease-in-out;
|
| 1396 |
+
transition: all 0.05s ease-in-out;
|
| 1397 |
+
background-color: var(--neutral-200);
|
| 1398 |
+
}
|
| 1399 |
+
|
| 1400 |
+
/* ==== CHEVRON ICON ACTIONS ==== */
|
| 1401 |
+
/* Define the animation for the arrow when it is clicked. */
|
| 1402 |
+
.extra-network-tree .tree-list-content-dir .tree-list-item-action-chevron {
|
| 1403 |
+
-ms-transform: rotate(135deg);
|
| 1404 |
+
-webkit-transform: rotate(135deg);
|
| 1405 |
+
transform: rotate(135deg);
|
| 1406 |
+
transition: transform 0.2s;
|
| 1407 |
+
}
|
| 1408 |
+
|
| 1409 |
+
.extra-network-tree .tree-list-content-dir[data-expanded] .tree-list-item-action-chevron {
|
| 1410 |
+
-ms-transform: rotate(225deg);
|
| 1411 |
+
-webkit-transform: rotate(225deg);
|
| 1412 |
+
transform: rotate(225deg);
|
| 1413 |
+
transition: transform 0.2s;
|
| 1414 |
+
}
|
| 1415 |
+
|
| 1416 |
+
.tree-list-item-action-chevron {
|
| 1417 |
+
display: inline-flex;
|
| 1418 |
+
/* Uses box shadow to generate a pseudo chevron `>` icon. */
|
| 1419 |
+
padding: 0.3rem;
|
| 1420 |
+
box-shadow: 0.1rem 0.1rem 0 0 var(--neutral-200) inset;
|
| 1421 |
+
transform: rotate(135deg);
|
| 1422 |
+
}
|
| 1423 |
+
|
| 1424 |
+
/* ==== SEARCH INPUT ACTIONS ==== */
|
| 1425 |
+
/* Add icon to left side of <input> */
|
| 1426 |
+
.extra-network-control .extra-network-control--search::before {
|
| 1427 |
+
content: "🔎︎";
|
| 1428 |
+
position: absolute;
|
| 1429 |
+
margin: 0.5rem;
|
| 1430 |
+
font-size: 1rem;
|
| 1431 |
+
color: var(--input-placeholder-color);
|
| 1432 |
+
}
|
| 1433 |
+
|
| 1434 |
+
.extra-network-control .extra-network-control--search {
|
| 1435 |
+
display: inline-flex;
|
| 1436 |
+
position: relative;
|
| 1437 |
+
}
|
| 1438 |
+
|
| 1439 |
+
.extra-network-control .extra-network-control--search .extra-network-control--search-text {
|
| 1440 |
+
border: 1px solid var(--button-secondary-border-color);
|
| 1441 |
+
border-radius: 0.5rem;
|
| 1442 |
+
color: var(--button-secondary-text-color);
|
| 1443 |
+
background-color: transparent;
|
| 1444 |
+
width: 100%;
|
| 1445 |
+
padding-left: 2rem;
|
| 1446 |
+
line-height: 1rem;
|
| 1447 |
+
}
|
| 1448 |
+
|
| 1449 |
+
|
| 1450 |
+
.extra-network-control .extra-network-control--search .extra-network-control--search-text::placeholder {
|
| 1451 |
+
color: var(--input-placeholder-color);
|
| 1452 |
+
}
|
| 1453 |
+
|
| 1454 |
+
|
| 1455 |
+
/* <input> clear button (x on right side) styling */
|
| 1456 |
+
.extra-network-control .extra-network-control--search .extra-network-control--search-text::-webkit-search-cancel-button {
|
| 1457 |
+
-webkit-appearance: none;
|
| 1458 |
+
appearance: none;
|
| 1459 |
+
cursor: pointer;
|
| 1460 |
+
height: 1rem;
|
| 1461 |
+
width: 1rem;
|
| 1462 |
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
|
| 1463 |
+
mask-repeat: no-repeat;
|
| 1464 |
+
mask-position: center center;
|
| 1465 |
+
mask-size: 100%;
|
| 1466 |
+
background-color: var(--input-placeholder-color);
|
| 1467 |
+
}
|
| 1468 |
+
|
| 1469 |
+
/* ==== SORT ICON ACTIONS ==== */
|
| 1470 |
+
.extra-network-control .extra-network-control--sort {
|
| 1471 |
+
padding: 0.25rem;
|
| 1472 |
+
display: inline-flex;
|
| 1473 |
+
cursor: pointer;
|
| 1474 |
+
justify-self: center;
|
| 1475 |
+
align-self: center;
|
| 1476 |
+
}
|
| 1477 |
+
|
| 1478 |
+
.extra-network-control .extra-network-control--sort .extra-network-control--sort-icon {
|
| 1479 |
+
height: 1.5rem;
|
| 1480 |
+
width: 1.5rem;
|
| 1481 |
+
mask-repeat: no-repeat;
|
| 1482 |
+
mask-position: center center;
|
| 1483 |
+
mask-size: 100%;
|
| 1484 |
+
background-color: var(--input-placeholder-color);
|
| 1485 |
+
}
|
| 1486 |
+
|
| 1487 |
+
.extra-network-control .extra-network-control--sort[data-sortkey="default"] .extra-network-control--sort-icon {
|
| 1488 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 5C1 3.34315 2.34315 2 4 2H8.43845C9.81505 2 11.015 2.93689 11.3489 4.27239L11.7808 6H13.5H20C21.6569 6 23 7.34315 23 9V11C23 11.5523 22.5523 12 22 12C21.4477 12 21 11.5523 21 11V9C21 8.44772 20.5523 8 20 8H13.5H11.7808H4C3.44772 8 3 8.44772 3 9V10V19C3 19.5523 3.44772 20 4 20H9C9.55228 20 10 20.4477 10 21C10 21.5523 9.55228 22 9 22H4C2.34315 22 1 20.6569 1 19V10V9V5ZM3 6.17071C3.31278 6.06015 3.64936 6 4 6H9.71922L9.40859 4.75746C9.2973 4.3123 8.89732 4 8.43845 4H4C3.44772 4 3 4.44772 3 5V6.17071ZM20.1716 18.7574C20.6951 17.967 21 17.0191 21 16C21 13.2386 18.7614 11 16 11C13.2386 11 11 13.2386 11 16C11 18.7614 13.2386 21 16 21C17.0191 21 17.967 20.6951 18.7574 20.1716L21.2929 22.7071C21.6834 23.0976 22.3166 23.0976 22.7071 22.7071C23.0976 22.3166 23.0976 21.6834 22.7071 21.2929L20.1716 18.7574ZM13 16C13 14.3431 14.3431 13 16 13C17.6569 13 19 14.3431 19 16C19 17.6569 17.6569 19 16 19C14.3431 19 13 17.6569 13 16Z" fill="%23000000"></path></g></svg>');
|
| 1489 |
+
}
|
| 1490 |
+
|
| 1491 |
+
.extra-network-control .extra-network-control--sort[data-sortkey="name"] .extra-network-control--sort-icon {
|
| 1492 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M17.1841 6.69223C17.063 6.42309 16.7953 6.25 16.5002 6.25C16.2051 6.25 15.9374 6.42309 15.8162 6.69223L11.3162 16.6922C11.1463 17.07 11.3147 17.514 11.6924 17.6839C12.0701 17.8539 12.5141 17.6855 12.6841 17.3078L14.1215 14.1136H18.8789L20.3162 17.3078C20.4862 17.6855 20.9302 17.8539 21.308 17.6839C21.6857 17.514 21.8541 17.07 21.6841 16.6922L17.1841 6.69223ZM16.5002 8.82764L14.7965 12.6136H18.2039L16.5002 8.82764Z" fill="%231C274C"></path><path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7C2.25 6.58579 2.58579 6.25 3 6.25H13C13.4142 6.25 13.75 6.58579 13.75 7C13.75 7.41421 13.4142 7.75 13 7.75H3C2.58579 7.75 2.25 7.41421 2.25 7Z" fill="%231C274C"></path><path opacity="0.5" d="M2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H10C10.4142 11.25 10.75 11.5858 10.75 12C10.75 12.4142 10.4142 12.75 10 12.75H3C2.58579 12.75 2.25 12.4142 2.25 12Z" fill="%231C274C"></path><path opacity="0.5" d="M2.25 17C2.25 16.5858 2.58579 16.25 3 16.25H8C8.41421 16.25 8.75 16.5858 8.75 17C8.75 17.4142 8.41421 17.75 8 17.75H3C2.58579 17.75 2.25 17.4142 2.25 17Z" fill="%231C274C"></path></g></svg>');
|
| 1493 |
+
}
|
| 1494 |
+
|
| 1495 |
+
.extra-network-control .extra-network-control--sort[data-sortkey="date_created"] .extra-network-control--sort-icon {
|
| 1496 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M17 11C14.2386 11 12 13.2386 12 16C12 18.7614 14.2386 21 17 21C19.7614 21 22 18.7614 22 16C22 13.2386 19.7614 11 17 11ZM17 11V9M2 9V15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.0799 19 5.2 19H13M2 9V8.2C2 7.0799 2 6.51984 2.21799 6.09202C2.40973 5.71569 2.71569 5.40973 3.09202 5.21799C3.51984 5 4.0799 5 5.2 5H13.8C14.9201 5 15.4802 5 15.908 5.21799C16.2843 5.40973 16.5903 5.71569 16.782 6.09202C17 6.51984 17 7.0799 17 8.2V9M2 9H17M5 3V5M14 3V5M15 16H17M17 16H19M17 16V14M17 16V18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
| 1497 |
+
}
|
| 1498 |
+
|
| 1499 |
+
.extra-network-control .extra-network-control--sort[data-sortkey="date_modified"] .extra-network-control--sort-icon {
|
| 1500 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M10 21H6.2C5.0799 21 4.51984 21 4.09202 20.782C3.71569 20.5903 3.40973 20.2843 3.21799 19.908C3 19.4802 3 18.9201 3 17.8V8.2C3 7.0799 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H17.8C18.9201 5 19.4802 5 19.908 5.21799C20.2843 5.40973 20.5903 5.71569 20.782 6.09202C21 6.51984 21 7.0799 21 8.2V10M7 3V5M17 3V5M3 9H21M13.5 13.0001L7 13M10 17.0001L7 17M14 21L16.025 20.595C16.2015 20.5597 16.2898 20.542 16.3721 20.5097C16.4452 20.4811 16.5147 20.4439 16.579 20.399C16.6516 20.3484 16.7152 20.2848 16.8426 20.1574L21 16C21.5523 15.4477 21.5523 14.5523 21 14C20.4477 13.4477 19.5523 13.4477 19 14L14.8426 18.1574C14.7152 18.2848 14.6516 18.3484 14.601 18.421C14.5561 18.4853 14.5189 18.5548 14.4903 18.6279C14.458 18.7102 14.4403 18.7985 14.405 18.975L14 21Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
| 1501 |
+
}
|
| 1502 |
+
|
| 1503 |
+
/* ==== SORT DIRECTION ICON ACTIONS ==== */
|
| 1504 |
+
.extra-network-control .extra-network-control--sort-dir {
|
| 1505 |
+
padding: 0.25rem;
|
| 1506 |
+
display: inline-flex;
|
| 1507 |
+
cursor: pointer;
|
| 1508 |
+
justify-self: center;
|
| 1509 |
+
align-self: center;
|
| 1510 |
+
}
|
| 1511 |
+
|
| 1512 |
+
.extra-network-control .extra-network-control--sort-dir .extra-network-control--sort-dir-icon {
|
| 1513 |
+
height: 1.5rem;
|
| 1514 |
+
width: 1.5rem;
|
| 1515 |
+
mask-repeat: no-repeat;
|
| 1516 |
+
mask-position: center center;
|
| 1517 |
+
mask-size: 100%;
|
| 1518 |
+
background-color: var(--input-placeholder-color);
|
| 1519 |
+
}
|
| 1520 |
+
|
| 1521 |
+
.extra-network-control .extra-network-control--sort-dir[data-sortdir="Ascending"] .extra-network-control--sort-dir-icon {
|
| 1522 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M13 12H21M13 8H21M13 16H21M6 7V17M6 7L3 10M6 7L9 10" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
| 1523 |
+
}
|
| 1524 |
+
|
| 1525 |
+
.extra-network-control .extra-network-control--sort-dir[data-sortdir="Descending"] .extra-network-control--sort-dir-icon {
|
| 1526 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M13 12H21M13 8H21M13 16H21M6 7V17M6 17L3 14M6 17L9 14" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>');
|
| 1527 |
+
}
|
| 1528 |
+
|
| 1529 |
+
/* ==== TREE VIEW ICON ACTIONS ==== */
|
| 1530 |
+
.extra-network-control .extra-network-control--tree-view {
|
| 1531 |
+
padding: 0.25rem;
|
| 1532 |
+
display: inline-flex;
|
| 1533 |
+
cursor: pointer;
|
| 1534 |
+
justify-self: center;
|
| 1535 |
+
align-self: center;
|
| 1536 |
+
}
|
| 1537 |
+
|
| 1538 |
+
.extra-network-control .extra-network-control--tree-view .extra-network-control--tree-view-icon {
|
| 1539 |
+
height: 1.5rem;
|
| 1540 |
+
width: 1.5rem;
|
| 1541 |
+
mask-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="black"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill="black" d="M16 10v-4h-11v1h-2v-3h9v-4h-12v4h2v10h3v2h11v-4h-11v1h-2v-5h2v2z"></path></g></svg>');
|
| 1542 |
+
mask-repeat: no-repeat;
|
| 1543 |
+
mask-position: center center;
|
| 1544 |
+
mask-size: 100%;
|
| 1545 |
+
background-color: var(--input-placeholder-color);
|
| 1546 |
+
}
|
| 1547 |
+
|
| 1548 |
+
.extra-network-control .extra-network-control--enabled {
|
| 1549 |
+
background-color: rgba(0, 0, 0, 0.1);
|
| 1550 |
+
border-radius: 0.25rem;
|
| 1551 |
+
}
|
| 1552 |
+
|
| 1553 |
+
.dark .extra-network-control .extra-network-control--enabled {
|
| 1554 |
+
background-color: rgba(255, 255, 255, 0.15);
|
| 1555 |
+
}
|
| 1556 |
+
|
| 1557 |
+
.extra-network-control .extra-network-control--enabled .extra-network-control--icon{
|
| 1558 |
+
background-color: var(--button-secondary-text-color);
|
| 1559 |
+
}
|
| 1560 |
+
|
| 1561 |
+
/* ==== REFRESH ICON ACTIONS ==== */
|
| 1562 |
+
.extra-network-control .extra-network-control--refresh {
|
| 1563 |
+
padding: 0.25rem;
|
| 1564 |
+
display: inline-flex;
|
| 1565 |
+
cursor: pointer;
|
| 1566 |
+
justify-self: center;
|
| 1567 |
+
align-self: center;
|
| 1568 |
+
}
|
| 1569 |
+
|
| 1570 |
+
.extra-network-control .extra-network-control--refresh .extra-network-control--refresh-icon {
|
| 1571 |
+
height: 1.5rem;
|
| 1572 |
+
width: 1.5rem;
|
| 1573 |
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="bevel"><path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38"/></svg>');
|
| 1574 |
+
mask-repeat: no-repeat;
|
| 1575 |
+
mask-position: center center;
|
| 1576 |
+
mask-size: 100%;
|
| 1577 |
+
background-color: var(--input-placeholder-color);
|
| 1578 |
+
}
|
| 1579 |
+
|
| 1580 |
+
.extra-network-control .extra-network-control--refresh-icon:active {
|
| 1581 |
+
-ms-transform: rotate(180deg);
|
| 1582 |
+
-webkit-transform: rotate(180deg);
|
| 1583 |
+
transform: rotate(180deg);
|
| 1584 |
+
transition: transform 0.2s;
|
| 1585 |
+
}
|
| 1586 |
+
|
| 1587 |
+
/* ==== TREE GRID CONFIG ==== */
|
| 1588 |
+
|
| 1589 |
+
/* Text for button. */
|
| 1590 |
+
.extra-network-tree .tree-list-item-label {
|
| 1591 |
+
position: relative;
|
| 1592 |
+
line-height: 1.25rem;
|
| 1593 |
+
color: var(--button-secondary-text-color);
|
| 1594 |
+
grid-area: label;
|
| 1595 |
+
padding-left: 0.5rem;
|
| 1596 |
+
}
|
| 1597 |
+
|
| 1598 |
+
/* Text for button truncated. */
|
| 1599 |
+
.extra-network-tree .tree-list-item-label--truncate {
|
| 1600 |
+
overflow: hidden;
|
| 1601 |
+
text-overflow: ellipsis;
|
| 1602 |
+
white-space: nowrap;
|
| 1603 |
+
}
|
| 1604 |
+
|
| 1605 |
+
/* Icon for button. */
|
| 1606 |
+
.extra-network-tree .tree-list-item-visual {
|
| 1607 |
+
min-height: 1rem;
|
| 1608 |
+
color: var(--button-secondary-text-color);
|
| 1609 |
+
pointer-events: none;
|
| 1610 |
+
align-items: right;
|
| 1611 |
+
}
|
| 1612 |
+
|
| 1613 |
+
|
| 1614 |
+
/* Icon for button when it is before label. */
|
| 1615 |
+
.extra-network-tree .tree-list-item-visual--leading {
|
| 1616 |
+
grid-area: leading-visual;
|
| 1617 |
+
width: 1rem;
|
| 1618 |
+
text-align: right;
|
| 1619 |
+
}
|
| 1620 |
+
|
| 1621 |
+
/* Icon for button when it is after label. */
|
| 1622 |
+
.extra-network-tree .tree-list-item-visual--trailing {
|
| 1623 |
+
grid-area: trailing-visual;
|
| 1624 |
+
width: 1rem;
|
| 1625 |
+
text-align: right;
|
| 1626 |
+
}
|
| 1627 |
+
|
| 1628 |
+
/* Dropdown arrow for button. */
|
| 1629 |
+
.extra-network-tree .tree-list-item-action--leading {
|
| 1630 |
+
margin-right: 0.5rem;
|
| 1631 |
+
margin-left: 0.2rem;
|
| 1632 |
+
}
|
| 1633 |
+
|
| 1634 |
+
.extra-network-tree .tree-list-content-file .tree-list-item-action--leading {
|
| 1635 |
+
visibility: hidden;
|
| 1636 |
+
}
|
| 1637 |
+
|
| 1638 |
+
.extra-network-tree .tree-list-item-action--leading {
|
| 1639 |
+
grid-area: leading-action;
|
| 1640 |
+
}
|
| 1641 |
+
|
| 1642 |
+
.extra-network-tree .tree-list-item-action--trailing {
|
| 1643 |
+
grid-area: trailing-action;
|
| 1644 |
+
display: inline-flex;
|
| 1645 |
+
}
|
| 1646 |
+
|
| 1647 |
+
.extra-network-tree .tree-list-content .button-row {
|
| 1648 |
+
display: inline-flex;
|
| 1649 |
+
visibility: hidden;
|
| 1650 |
+
color: var(--button-secondary-text-color);
|
| 1651 |
+
width: 0;
|
| 1652 |
+
}
|
| 1653 |
+
|
| 1654 |
+
.extra-network-tree .tree-list-content:hover .button-row {
|
| 1655 |
+
visibility: visible;
|
| 1656 |
+
width: auto;
|
| 1657 |
+
}
|