secret07 commited on
Commit
92b2238
·
1 Parent(s): 6d4c788

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +378 -0
  2. style.css +1104 -0
  3. ui-config.json +0 -0
config.json ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "samples_save": true,
3
+ "samples_format": "png",
4
+ "samples_filename_pattern": "",
5
+ "save_images_add_number": true,
6
+ "grid_save": true,
7
+ "grid_format": "png",
8
+ "grid_extended_filename": false,
9
+ "grid_only_if_multiple": true,
10
+ "grid_prevent_empty_spots": false,
11
+ "grid_zip_filename_pattern": "",
12
+ "n_rows": -1,
13
+ "font": "",
14
+ "grid_text_active_color": "#000000",
15
+ "grid_text_inactive_color": "#999999",
16
+ "grid_background_color": "#ffffff",
17
+ "enable_pnginfo": true,
18
+ "save_txt": false,
19
+ "save_images_before_face_restoration": false,
20
+ "save_images_before_highres_fix": false,
21
+ "save_images_before_color_correction": false,
22
+ "save_mask": false,
23
+ "save_mask_composite": false,
24
+ "jpeg_quality": 80,
25
+ "webp_lossless": false,
26
+ "export_for_4chan": true,
27
+ "img_downscale_threshold": 4.0,
28
+ "target_side_length": 4000,
29
+ "img_max_size_mp": 200,
30
+ "use_original_name_batch": true,
31
+ "use_upscaler_name_as_suffix": false,
32
+ "save_selected_only": true,
33
+ "save_init_img": false,
34
+ "temp_dir": "",
35
+ "clean_temp_dir_at_start": false,
36
+ "save_incomplete_images": false,
37
+ "outdir_samples": "",
38
+ "outdir_txt2img_samples": "outputs/txt2img-images",
39
+ "outdir_img2img_samples": "outputs/img2img-images",
40
+ "outdir_extras_samples": "outputs/extras-images",
41
+ "outdir_grids": "",
42
+ "outdir_txt2img_grids": "outputs/txt2img-grids",
43
+ "outdir_img2img_grids": "outputs/img2img-grids",
44
+ "outdir_save": "log/images",
45
+ "outdir_init_images": "outputs/init-images",
46
+ "save_to_dirs": true,
47
+ "grid_save_to_dirs": true,
48
+ "use_save_to_dirs_for_ui": false,
49
+ "directories_filename_pattern": "[date]",
50
+ "directories_max_prompt_words": 8,
51
+ "ESRGAN_tile": 192,
52
+ "ESRGAN_tile_overlap": 8,
53
+ "realesrgan_enabled_models": [
54
+ "R-ESRGAN 4x+",
55
+ "R-ESRGAN 4x+ Anime6B"
56
+ ],
57
+ "upscaler_for_img2img": "4x-UltraSharp",
58
+ "face_restoration": false,
59
+ "face_restoration_model": "CodeFormer",
60
+ "code_former_weight": 0.5,
61
+ "face_restoration_unload": false,
62
+ "auto_launch_browser": "Local",
63
+ "show_warnings": false,
64
+ "show_gradio_deprecation_warnings": true,
65
+ "memmon_poll_rate": 8,
66
+ "samples_log_stdout": false,
67
+ "multiple_tqdm": true,
68
+ "print_hypernet_extra": false,
69
+ "list_hidden_files": true,
70
+ "disable_mmap_load_safetensors": false,
71
+ "hide_ldm_prints": true,
72
+ "api_enable_requests": true,
73
+ "api_forbid_local_requests": true,
74
+ "api_useragent": "",
75
+ "unload_models_when_training": false,
76
+ "pin_memory": false,
77
+ "save_optimizer_state": false,
78
+ "save_training_settings_to_txt": true,
79
+ "dataset_filename_word_regex": "",
80
+ "dataset_filename_join_string": " ",
81
+ "training_image_repeats_per_epoch": 1,
82
+ "training_write_csv_every": 500,
83
+ "training_xattention_optimizations": false,
84
+ "training_enable_tensorboard": false,
85
+ "training_tensorboard_save_images": false,
86
+ "training_tensorboard_flush_every": 120,
87
+ "sd_model_checkpoint": "majicmixAlpha_v10.safetensors",
88
+ "sd_checkpoints_limit": 1,
89
+ "sd_checkpoints_keep_in_cpu": true,
90
+ "sd_checkpoint_cache": 0,
91
+ "sd_unet": "Automatic",
92
+ "enable_quantization": false,
93
+ "enable_emphasis": true,
94
+ "enable_batch_seeds": true,
95
+ "comma_padding_backtrack": 20,
96
+ "CLIP_stop_at_last_layers": 1,
97
+ "upcast_attn": false,
98
+ "randn_source": "CPU",
99
+ "tiling": false,
100
+ "hires_fix_refiner_pass": "second pass",
101
+ "sdxl_crop_top": 0,
102
+ "sdxl_crop_left": 0,
103
+ "sdxl_refiner_low_aesthetic_score": 2.5,
104
+ "sdxl_refiner_high_aesthetic_score": 6.0,
105
+ "sd_vae_explanation": "<abbr title='Variational autoencoder'>VAE</abbr> is a neural network that transforms a standard <abbr title='red/green/blue'>RGB</abbr>\nimage into latent space representation and back. Latent space representation is what stable diffusion is working on during sampling\n(i.e. when the progress bar is between empty and full). For txt2img, VAE is used to create a resulting image after the sampling is finished.\nFor img2img, VAE is used to process user's input image before the sampling, and to create an image after sampling.",
106
+ "sd_vae_checkpoint_cache": 0,
107
+ "sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors",
108
+ "sd_vae_overrides_per_model_preferences": true,
109
+ "auto_vae_precision": true,
110
+ "sd_vae_encode_method": "Full",
111
+ "sd_vae_decode_method": "Full",
112
+ "inpainting_mask_weight": 1.0,
113
+ "initial_noise_multiplier": 1.0,
114
+ "img2img_extra_noise": 0.0,
115
+ "img2img_color_correction": false,
116
+ "img2img_fix_steps": true,
117
+ "img2img_background_color": "#ffffff",
118
+ "img2img_editor_height": 720,
119
+ "img2img_sketch_default_brush_color": "#ffffff",
120
+ "img2img_inpaint_mask_brush_color": "#ffffff",
121
+ "img2img_inpaint_sketch_default_brush_color": "#ffffff",
122
+ "return_mask": false,
123
+ "return_mask_composite": false,
124
+ "cross_attention_optimization": "Automatic",
125
+ "s_min_uncond": 0.0,
126
+ "token_merging_ratio": 0.0,
127
+ "token_merging_ratio_img2img": 0.0,
128
+ "token_merging_ratio_hr": 0.0,
129
+ "pad_cond_uncond": false,
130
+ "persistent_cond_cache": true,
131
+ "batch_cond_uncond": true,
132
+ "use_old_emphasis_implementation": false,
133
+ "use_old_karras_scheduler_sigmas": false,
134
+ "no_dpmpp_sde_batch_determinism": false,
135
+ "use_old_hires_fix_width_height": false,
136
+ "dont_fix_second_order_samplers_schedule": false,
137
+ "hires_fix_use_firstpass_conds": false,
138
+ "use_old_scheduling": false,
139
+ "interrogate_keep_models_in_memory": false,
140
+ "interrogate_return_ranks": false,
141
+ "interrogate_clip_num_beams": 1,
142
+ "interrogate_clip_min_length": 24,
143
+ "interrogate_clip_max_length": 48,
144
+ "interrogate_clip_dict_limit": 1500,
145
+ "interrogate_clip_skip_categories": [],
146
+ "interrogate_deepbooru_score_threshold": 0.5,
147
+ "deepbooru_sort_alpha": true,
148
+ "deepbooru_use_spaces": true,
149
+ "deepbooru_escape": true,
150
+ "deepbooru_filter_tags": "",
151
+ "extra_networks_show_hidden_directories": true,
152
+ "extra_networks_hidden_models": "When searched",
153
+ "extra_networks_default_multiplier": 1.0,
154
+ "extra_networks_card_width": 0,
155
+ "extra_networks_card_height": 0,
156
+ "extra_networks_card_text_scale": 1.0,
157
+ "extra_networks_card_show_desc": true,
158
+ "extra_networks_add_text_separator": " ",
159
+ "ui_extra_networks_tab_reorder": "",
160
+ "textual_inversion_print_at_load": false,
161
+ "textual_inversion_add_hashes_to_infotext": true,
162
+ "sd_hypernetwork": "None",
163
+ "localization": "zh_CN",
164
+ "gradio_theme": "Default",
165
+ "gradio_themes_cache": true,
166
+ "gallery_height": "",
167
+ "return_grid": true,
168
+ "do_not_show_images": false,
169
+ "send_seed": true,
170
+ "send_size": true,
171
+ "js_modal_lightbox": true,
172
+ "js_modal_lightbox_initially_zoomed": true,
173
+ "js_modal_lightbox_gamepad": false,
174
+ "js_modal_lightbox_gamepad_repeat": 250,
175
+ "show_progress_in_title": true,
176
+ "samplers_in_dropdown": true,
177
+ "dimensions_and_batch_together": true,
178
+ "keyedit_precision_attention": 0.1,
179
+ "keyedit_precision_extra": 0.05,
180
+ "keyedit_delimiters": ".,\\/!?%^*;:{}=`~()",
181
+ "keyedit_move": true,
182
+ "quicksettings_list": [
183
+ "sd_model_checkpoint"
184
+ ],
185
+ "ui_tab_order": [],
186
+ "hidden_tabs": [],
187
+ "ui_reorder_list": [],
188
+ "hires_fix_show_sampler": false,
189
+ "hires_fix_show_prompts": false,
190
+ "disable_token_counters": false,
191
+ "add_model_hash_to_info": true,
192
+ "add_model_name_to_info": true,
193
+ "add_user_name_to_info": false,
194
+ "add_version_to_infotext": true,
195
+ "disable_weights_auto_swap": true,
196
+ "infotext_styles": "Apply if any",
197
+ "show_progressbar": true,
198
+ "live_previews_enable": true,
199
+ "live_previews_image_format": "png",
200
+ "show_progress_grid": true,
201
+ "show_progress_every_n_steps": 10,
202
+ "show_progress_type": "Approx NN",
203
+ "live_preview_allow_lowvram_full": false,
204
+ "live_preview_content": "Prompt",
205
+ "live_preview_refresh_period": 1000,
206
+ "live_preview_fast_interrupt": false,
207
+ "hide_samplers": [],
208
+ "eta_ddim": 0.0,
209
+ "eta_ancestral": 1.0,
210
+ "ddim_discretize": "uniform",
211
+ "s_churn": 0.0,
212
+ "s_tmin": 0.0,
213
+ "s_tmax": 0.0,
214
+ "s_noise": 1.0,
215
+ "k_sched_type": "Automatic",
216
+ "sigma_min": 0.0,
217
+ "sigma_max": 0.0,
218
+ "rho": 0.0,
219
+ "eta_noise_seed_delta": 0,
220
+ "always_discard_next_to_last_sigma": false,
221
+ "sgm_noise_multiplier": false,
222
+ "uni_pc_variant": "bh1",
223
+ "uni_pc_skip_type": "time_uniform",
224
+ "uni_pc_order": 3,
225
+ "uni_pc_lower_order_final": true,
226
+ "postprocessing_enable_in_main_ui": [],
227
+ "postprocessing_operation_order": [],
228
+ "upscaling_max_images_in_cache": 5,
229
+ "disabled_extensions": [],
230
+ "disable_all_extensions": "none",
231
+ "restore_config_state_file": "",
232
+ "sd_checkpoint_hash": null,
233
+ "ldsr_steps": 100,
234
+ "ldsr_cached": false,
235
+ "SCUNET_tile": 256,
236
+ "SCUNET_tile_overlap": 8,
237
+ "SWIN_tile": 192,
238
+ "SWIN_tile_overlap": 8,
239
+ "SWIN_torch_compile": false,
240
+ "lora_functional": false,
241
+ "sd_lora": "None",
242
+ "lora_preferred_name": "Alias from file",
243
+ "lora_add_hashes_to_infotext": true,
244
+ "lora_show_all": false,
245
+ "lora_hide_unknown_for_versions": [],
246
+ "lora_in_memory_limit": 0,
247
+ "extra_options_txt2img": [],
248
+ "extra_options_img2img": [],
249
+ "extra_options_cols": 1,
250
+ "extra_options_accordion": false,
251
+ "canvas_hotkey_zoom": "Alt",
252
+ "canvas_hotkey_adjust": "Ctrl",
253
+ "canvas_hotkey_move": "F",
254
+ "canvas_hotkey_fullscreen": "S",
255
+ "canvas_hotkey_reset": "R",
256
+ "canvas_hotkey_overlap": "O",
257
+ "canvas_show_tooltip": true,
258
+ "canvas_auto_expand": true,
259
+ "canvas_blur_prompt": false,
260
+ "canvas_disabled_functions": [
261
+ "Overlap"
262
+ ],
263
+ "ch_max_size_preview": true,
264
+ "ch_skip_nsfw_preview": false,
265
+ "ch_open_url_with_js": true,
266
+ "ch_proxy": "",
267
+ "tac_tagFile": "danbooru.csv",
268
+ "tac_active": true,
269
+ "tac_activeIn.txt2img": true,
270
+ "tac_activeIn.img2img": true,
271
+ "tac_activeIn.negativePrompts": true,
272
+ "tac_activeIn.thirdParty": true,
273
+ "tac_activeIn.modelList": "",
274
+ "tac_activeIn.modelListMode": "Blacklist",
275
+ "tac_slidingPopup": true,
276
+ "tac_maxResults": 5.0,
277
+ "tac_showAllResults": false,
278
+ "tac_resultStepLength": 100.0,
279
+ "tac_delayTime": 100.0,
280
+ "tac_useWildcards": true,
281
+ "tac_sortWildcardResults": true,
282
+ "tac_useEmbeddings": true,
283
+ "tac_includeEmbeddingsInNormalResults": false,
284
+ "tac_useHypernetworks": true,
285
+ "tac_useLoras": true,
286
+ "tac_useLycos": true,
287
+ "tac_showWikiLinks": false,
288
+ "tac_showExtraNetworkPreviews": true,
289
+ "tac_modelSortOrder": "Name",
290
+ "tac_replaceUnderscores": true,
291
+ "tac_escapeParentheses": true,
292
+ "tac_appendComma": true,
293
+ "tac_appendSpace": true,
294
+ "tac_alwaysSpaceAtEnd": true,
295
+ "tac_modelKeywordCompletion": "Never",
296
+ "tac_modelKeywordLocation": "Start of prompt",
297
+ "tac_wildcardCompletionMode": "To next folder level",
298
+ "tac_alias.searchByAlias": true,
299
+ "tac_alias.onlyShowAlias": false,
300
+ "tac_translation.translationFile": "None",
301
+ "tac_translation.oldFormat": false,
302
+ "tac_translation.searchByTranslation": true,
303
+ "tac_translation.liveTranslation": false,
304
+ "tac_extra.extraFile": "extra-quality-tags.csv",
305
+ "tac_extra.addMode": "Insert before",
306
+ "tac_chantFile": "demo-chants.json",
307
+ "tac_keymap": "{\n \"MoveUp\": \"ArrowUp\",\n \"MoveDown\": \"ArrowDown\",\n \"JumpUp\": \"PageUp\",\n \"JumpDown\": \"PageDown\",\n \"JumpToStart\": \"Home\",\n \"JumpToEnd\": \"End\",\n \"ChooseSelected\": \"Enter\",\n \"ChooseFirstOrSelected\": \"Tab\",\n \"Close\": \"Escape\"\n}",
308
+ "tac_colormap": "{\n \"danbooru\": {\n \"-1\": [\"red\", \"maroon\"],\n \"0\": [\"lightblue\", \"dodgerblue\"],\n \"1\": [\"indianred\", \"firebrick\"],\n \"3\": [\"violet\", \"darkorchid\"],\n \"4\": [\"lightgreen\", \"darkgreen\"],\n \"5\": [\"orange\", \"darkorange\"]\n },\n \"e621\": {\n \"-1\": [\"red\", \"maroon\"],\n \"0\": [\"lightblue\", \"dodgerblue\"],\n \"1\": [\"gold\", \"goldenrod\"],\n \"3\": [\"violet\", \"darkorchid\"],\n \"4\": [\"lightgreen\", \"darkgreen\"],\n \"5\": [\"tomato\", \"darksalmon\"],\n \"6\": [\"red\", \"maroon\"],\n \"7\": [\"whitesmoke\", \"black\"],\n \"8\": [\"seagreen\", \"darkseagreen\"]\n }\n}",
309
+ "tac_refreshTempFiles": "Refresh TAC temp files",
310
+ "ad_max_models": 2,
311
+ "ad_save_previews": false,
312
+ "ad_save_images_before": false,
313
+ "ad_only_seleted_scripts": true,
314
+ "ad_script_names": "dynamic_prompting,dynamic_thresholding,wildcard_recursive,wildcards,lora_block_weight",
315
+ "ad_bbox_sortby": "None",
316
+ "control_net_detectedmap_dir": "detected_maps",
317
+ "control_net_models_path": "",
318
+ "control_net_modules_path": "",
319
+ "control_net_unit_count": 3,
320
+ "control_net_model_cache_size": 1,
321
+ "control_net_inpaint_blur_sigma": 7,
322
+ "control_net_no_high_res_fix": false,
323
+ "control_net_no_detectmap": false,
324
+ "control_net_detectmap_autosaving": false,
325
+ "control_net_allow_script_control": false,
326
+ "control_net_sync_field_args": true,
327
+ "controlnet_show_batch_images_in_ui": false,
328
+ "controlnet_increment_seed_during_batch": false,
329
+ "controlnet_disable_control_type": false,
330
+ "controlnet_disable_openpose_edit": false,
331
+ "controlnet_ignore_noninpaint_mask": false,
332
+ "sam_use_local_groundingdino": false,
333
+ "ctp_flavor": "mocha",
334
+ "accent_color": "maroon",
335
+ "image_browser_active_tabs": "txt2img, img2img, txt2img-grids, img2img-grids, Extras, Favorites, Others, All, Maintenance",
336
+ "image_browser_hidden_components": [],
337
+ "image_browser_with_subdirs": true,
338
+ "image_browser_preload": false,
339
+ "image_browser_copy_image": false,
340
+ "image_browser_delete_message": true,
341
+ "image_browser_txt_files": true,
342
+ "image_browser_debug_level": "0 - none",
343
+ "image_browser_delete_recycle": true,
344
+ "image_browser_scan_exif": true,
345
+ "image_browser_mod_shift": false,
346
+ "image_browser_mod_ctrl_shift": false,
347
+ "image_browser_ranking_pnginfo": false,
348
+ "image_browser_page_columns": 6.0,
349
+ "image_browser_page_rows": 6.0,
350
+ "image_browser_pages_perload": 20.0,
351
+ "image_browser_height_auto": false,
352
+ "image_browser_use_thumbnail": false,
353
+ "image_browser_thumbnail_size": 200.0,
354
+ "image_browser_swipe": false,
355
+ "image_browser_img_tooltips": true,
356
+ "image_browser_show_progress": true,
357
+ "image_browser_info_add": false,
358
+ "state": [],
359
+ "state_txt2img": [
360
+ "prompt",
361
+ "negative_prompt",
362
+ "sampling",
363
+ "sampling_steps",
364
+ "width",
365
+ "height"
366
+ ],
367
+ "state_img2img": [
368
+ "prompt",
369
+ "negative_prompt",
370
+ "sampling",
371
+ "sampling_steps",
372
+ "width",
373
+ "height"
374
+ ],
375
+ "state_extensions": [
376
+ "adetailer"
377
+ ]
378
+ }
style.css ADDED
@@ -0,0 +1,1104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* temporary fix to load default gradio font in frontend instead of backend */
2
+
3
+ @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');
4
+
5
+
6
+ /* temporary fix to hide gradio crop tool until it's fixed https://github.com/gradio-app/gradio/issues/3810 */
7
+
8
+ div.gradio-image button[aria-label="Edit"] {
9
+ display: none;
10
+ }
11
+
12
+
13
+ /* general gradio fixes */
14
+
15
+ :root, .dark{
16
+ --checkbox-label-gap: 0.25em 0.1em;
17
+ --section-header-text-size: 12pt;
18
+ --block-background-fill: transparent;
19
+
20
+ }
21
+
22
+ .block.padded:not(.gradio-accordion) {
23
+ padding: 0 !important;
24
+ }
25
+
26
+ div.gradio-container{
27
+ max-width: unset !important;
28
+ }
29
+
30
+ .hidden{
31
+ display: none;
32
+ }
33
+
34
+ .compact{
35
+ background: transparent !important;
36
+ padding: 0 !important;
37
+ }
38
+
39
+ div.form{
40
+ border-width: 0;
41
+ box-shadow: none;
42
+ background: transparent;
43
+ overflow: visible;
44
+ gap: 0.5em;
45
+ }
46
+
47
+ .block.gradio-dropdown,
48
+ .block.gradio-slider,
49
+ .block.gradio-checkbox,
50
+ .block.gradio-textbox,
51
+ .block.gradio-radio,
52
+ .block.gradio-checkboxgroup,
53
+ .block.gradio-number,
54
+ .block.gradio-colorpicker {
55
+ border-width: 0 !important;
56
+ box-shadow: none !important;
57
+ }
58
+
59
+ div.gradio-group, div.styler{
60
+ border-width: 0 !important;
61
+ background: none;
62
+ }
63
+ .gap.compact{
64
+ padding: 0;
65
+ gap: 0.2em 0;
66
+ }
67
+
68
+ div.compact{
69
+ gap: 1em;
70
+ }
71
+
72
+ .gradio-dropdown label span:not(.has-info),
73
+ .gradio-textbox label span:not(.has-info),
74
+ .gradio-number label span:not(.has-info)
75
+ {
76
+ margin-bottom: 0;
77
+ }
78
+
79
+ .gradio-dropdown ul.options{
80
+ z-index: 3000;
81
+ min-width: fit-content;
82
+ max-width: inherit;
83
+ white-space: nowrap;
84
+ }
85
+
86
+ .gradio-dropdown ul.options li.item {
87
+ padding: 0.05em 0;
88
+ }
89
+
90
+ .gradio-dropdown ul.options li.item.selected {
91
+ background-color: var(--neutral-100);
92
+ }
93
+
94
+ .dark .gradio-dropdown ul.options li.item.selected {
95
+ background-color: var(--neutral-900);
96
+ }
97
+
98
+ .gradio-dropdown div.wrap.wrap.wrap.wrap{
99
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
100
+ }
101
+
102
+ .gradio-dropdown:not(.multiselect) .wrap-inner.wrap-inner.wrap-inner{
103
+ flex-wrap: unset;
104
+ }
105
+
106
+ .gradio-dropdown .single-select{
107
+ white-space: nowrap;
108
+ overflow: hidden;
109
+ }
110
+
111
+ .gradio-dropdown .token-remove.remove-all.remove-all{
112
+ display: none;
113
+ }
114
+
115
+ .gradio-dropdown.multiselect .token-remove.remove-all.remove-all{
116
+ display: flex;
117
+ }
118
+
119
+ .gradio-slider input[type="number"]{
120
+ width: 6em;
121
+ }
122
+
123
+ .block.gradio-checkbox {
124
+ margin: 0.75em 1.5em 0 0;
125
+ }
126
+
127
+ .gradio-html div.wrap{
128
+ height: 100%;
129
+ }
130
+ div.gradio-html.min{
131
+ min-height: 0;
132
+ }
133
+
134
+ .block.gradio-gallery{
135
+ background: var(--input-background-fill);
136
+ }
137
+
138
+ .gradio-container .prose a, .gradio-container .prose a:visited{
139
+ color: unset;
140
+ text-decoration: none;
141
+ }
142
+
143
+ a{
144
+ font-weight: bold;
145
+ cursor: pointer;
146
+ }
147
+
148
+ /* gradio 3.39 puts a lot of overflow: hidden all over the place for an unknown reason. */
149
+ div.gradio-container, .block.gradio-textbox, div.gradio-group, div.gradio-dropdown{
150
+ overflow: visible !important;
151
+ }
152
+
153
+ /* align-items isn't enough and elements may overflow in Safari. */
154
+ .unequal-height {
155
+ align-content: flex-start;
156
+ }
157
+
158
+
159
+ /* general styled components */
160
+
161
+ .gradio-button.tool{
162
+ max-width: 2.2em;
163
+ min-width: 2.2em !important;
164
+ height: 2.4em;
165
+ align-self: end;
166
+ line-height: 1em;
167
+ border-radius: 0.5em;
168
+ }
169
+
170
+ .gradio-button.secondary-down{
171
+ background: var(--button-secondary-background-fill);
172
+ color: var(--button-secondary-text-color);
173
+ }
174
+ .gradio-button.secondary-down, .gradio-button.secondary-down:hover{
175
+ box-shadow: 1px 1px 1px rgba(0,0,0,0.25) inset, 0px 0px 3px rgba(0,0,0,0.15) inset;
176
+ }
177
+ .gradio-button.secondary-down:hover{
178
+ background: var(--button-secondary-background-fill-hover);
179
+ color: var(--button-secondary-text-color-hover);
180
+ }
181
+
182
+ button.custom-button{
183
+ border-radius: var(--button-large-radius);
184
+ padding: var(--button-large-padding);
185
+ font-weight: var(--button-large-text-weight);
186
+ border: var(--button-border-width) solid var(--button-secondary-border-color);
187
+ background: var(--button-secondary-background-fill);
188
+ color: var(--button-secondary-text-color);
189
+ font-size: var(--button-large-text-size);
190
+ display: inline-flex;
191
+ justify-content: center;
192
+ align-items: center;
193
+ transition: var(--button-transition);
194
+ box-shadow: var(--button-shadow);
195
+ text-align: center;
196
+ }
197
+
198
+ div.block.gradio-accordion {
199
+ border: 1px solid var(--block-border-color) !important;
200
+ border-radius: 8px !important;
201
+ margin: 2px 0;
202
+ padding: 8px 8px;
203
+ }
204
+
205
+
206
+ /* txt2img/img2img specific */
207
+
208
+ .block.token-counter{
209
+ position: absolute;
210
+ display: inline-block;
211
+ right: 1em;
212
+ min-width: 0 !important;
213
+ width: auto;
214
+ z-index: 100;
215
+ top: -0.75em;
216
+ }
217
+
218
+ .block.token-counter span{
219
+ background: var(--input-background-fill) !important;
220
+ box-shadow: 0 0 0.0 0.3em rgba(192,192,192,0.15), inset 0 0 0.6em rgba(192,192,192,0.075);
221
+ border: 2px solid rgba(192,192,192,0.4) !important;
222
+ border-radius: 0.4em;
223
+ }
224
+
225
+ .block.token-counter.error span{
226
+ box-shadow: 0 0 0.0 0.3em rgba(255,0,0,0.15), inset 0 0 0.6em rgba(255,0,0,0.075);
227
+ border: 2px solid rgba(255,0,0,0.4) !important;
228
+ }
229
+
230
+ .block.token-counter div{
231
+ display: inline;
232
+ }
233
+
234
+ .block.token-counter span{
235
+ padding: 0.1em 0.75em;
236
+ }
237
+
238
+ [id$=_subseed_show]{
239
+ min-width: auto !important;
240
+ flex-grow: 0 !important;
241
+ display: flex;
242
+ }
243
+
244
+ [id$=_subseed_show] label{
245
+ margin-bottom: 0.65em;
246
+ align-self: end;
247
+ }
248
+
249
+ [id$=_seed_extras] > div{
250
+ gap: 0.5em;
251
+ }
252
+
253
+ .html-log .comments{
254
+ padding-top: 0.5em;
255
+ }
256
+
257
+ .html-log .comments:empty{
258
+ padding-top: 0;
259
+ }
260
+
261
+ .html-log .performance {
262
+ font-size: 0.85em;
263
+ color: #444;
264
+ display: flex;
265
+ }
266
+
267
+ .html-log .performance p{
268
+ display: inline-block;
269
+ }
270
+
271
+ .html-log .performance p.time, .performance p.vram, .performance p.time abbr, .performance p.vram abbr {
272
+ margin-bottom: 0;
273
+ color: var(--block-title-text-color);
274
+ }
275
+
276
+ .html-log .performance p.time {
277
+ }
278
+
279
+ .html-log .performance p.vram {
280
+ margin-left: auto;
281
+ }
282
+
283
+ .html-log .performance .measurement{
284
+ color: var(--body-text-color);
285
+ font-weight: bold;
286
+ }
287
+
288
+ #txt2img_generate, #img2img_generate {
289
+ min-height: 4.5em;
290
+ }
291
+
292
+ @media screen and (min-width: 2500px) {
293
+ #txt2img_gallery, #img2img_gallery {
294
+ min-height: 768px;
295
+ }
296
+ }
297
+
298
+ .gradio-gallery .thumbnails img {
299
+ object-fit: scale-down !important;
300
+ }
301
+ #txt2img_actions_column, #img2img_actions_column {
302
+ gap: 0.5em;
303
+ }
304
+ #txt2img_tools, #img2img_tools{
305
+ gap: 0.4em;
306
+ }
307
+
308
+ .interrogate-col{
309
+ min-width: 0 !important;
310
+ max-width: fit-content;
311
+ gap: 0.5em;
312
+ }
313
+ .interrogate-col > button{
314
+ flex: 1;
315
+ }
316
+
317
+ .generate-box{
318
+ position: relative;
319
+ }
320
+ .gradio-button.generate-box-skip, .gradio-button.generate-box-interrupt{
321
+ position: absolute;
322
+ width: 50%;
323
+ height: 100%;
324
+ display: none;
325
+ background: #b4c0cc;
326
+ }
327
+ .gradio-button.generate-box-skip:hover, .gradio-button.generate-box-interrupt:hover{
328
+ background: #c2cfdb;
329
+ }
330
+ .gradio-button.generate-box-interrupt{
331
+ left: 0;
332
+ border-radius: 0.5rem 0 0 0.5rem;
333
+ }
334
+ .gradio-button.generate-box-skip{
335
+ right: 0;
336
+ border-radius: 0 0.5rem 0.5rem 0;
337
+ }
338
+
339
+ #img2img_scale_resolution_preview.block{
340
+ display: flex;
341
+ align-items: end;
342
+ }
343
+
344
+ #txtimg_hr_finalres .resolution, #img2img_scale_resolution_preview .resolution{
345
+ font-weight: bold;
346
+ }
347
+
348
+ #txtimg_hr_finalres div.pending, #img2img_scale_resolution_preview div.pending {
349
+ opacity: 1;
350
+ transition: opacity 0s;
351
+ }
352
+
353
+ .inactive{
354
+ opacity: 0.5;
355
+ }
356
+
357
+ [id$=_column_batch]{
358
+ min-width: min(13.5em, 100%) !important;
359
+ }
360
+
361
+ div.dimensions-tools{
362
+ min-width: 1.6em !important;
363
+ max-width: fit-content;
364
+ flex-direction: column;
365
+ place-content: center;
366
+ }
367
+
368
+ div#extras_scale_to_tab div.form{
369
+ flex-direction: row;
370
+ }
371
+
372
+ #img2img_sketch, #img2maskimg, #inpaint_sketch {
373
+ overflow: overlay !important;
374
+ resize: auto;
375
+ background: var(--panel-background-fill);
376
+ z-index: 5;
377
+ }
378
+
379
+ .image-buttons > .form{
380
+ justify-content: center;
381
+ }
382
+
383
+ .infotext {
384
+ overflow-wrap: break-word;
385
+ }
386
+
387
+ #img2img_column_batch{
388
+ align-self: end;
389
+ margin-bottom: 0.9em;
390
+ }
391
+
392
+ #img2img_unused_scale_by_slider{
393
+ visibility: hidden;
394
+ width: 0.5em;
395
+ max-width: 0.5em;
396
+ min-width: 0.5em;
397
+ }
398
+
399
+ /* settings */
400
+ #quicksettings {
401
+ align-items: end;
402
+ }
403
+
404
+ #quicksettings > div, #quicksettings > fieldset{
405
+ max-width: 36em;
406
+ width: fit-content;
407
+ flex: 0 1 fit-content;
408
+ padding: 0;
409
+ border: none;
410
+ box-shadow: none;
411
+ background: none;
412
+ }
413
+ #quicksettings > div.gradio-dropdown{
414
+ min-width: 24em !important;
415
+ }
416
+
417
+ #settings{
418
+ display: block;
419
+ }
420
+
421
+ #settings > div{
422
+ border: none;
423
+ margin-left: 10em;
424
+ }
425
+
426
+ #settings > div.tab-nav{
427
+ float: left;
428
+ display: block;
429
+ margin-left: 0;
430
+ width: 10em;
431
+ }
432
+
433
+ #settings > div.tab-nav button{
434
+ display: block;
435
+ border: none;
436
+ text-align: left;
437
+ white-space: initial;
438
+ }
439
+
440
+ #settings_result{
441
+ height: 1.4em;
442
+ margin: 0 1.2em;
443
+ }
444
+
445
+ table.popup-table{
446
+ background: var(--body-background-fill);
447
+ color: var(--body-text-color);
448
+ border-collapse: collapse;
449
+ margin: 1em;
450
+ border: 4px solid var(--body-background-fill);
451
+ }
452
+
453
+ table.popup-table td{
454
+ padding: 0.4em;
455
+ border: 1px solid rgba(128, 128, 128, 0.5);
456
+ max-width: 36em;
457
+ }
458
+
459
+ table.popup-table .muted{
460
+ color: #aaa;
461
+ }
462
+
463
+ table.popup-table .link{
464
+ text-decoration: underline;
465
+ cursor: pointer;
466
+ font-weight: bold;
467
+ }
468
+
469
+ .ui-defaults-none{
470
+ color: #aaa !important;
471
+ }
472
+
473
+ #settings span{
474
+ color: var(--body-text-color);
475
+ }
476
+
477
+ #settings .gradio-textbox, #settings .gradio-slider, #settings .gradio-number, #settings .gradio-dropdown, #settings .gradio-checkboxgroup, #settings .gradio-radio{
478
+ margin-top: 0.75em;
479
+ }
480
+
481
+ #settings span .settings-comment {
482
+ display: inline
483
+ }
484
+
485
+ .settings-comment a{
486
+ text-decoration: underline;
487
+ }
488
+
489
+ .settings-comment .info{
490
+ opacity: 0.75;
491
+ }
492
+
493
+ #sysinfo_download a.sysinfo_big_link{
494
+ font-size: 24pt;
495
+ }
496
+
497
+ #sysinfo_download a{
498
+ text-decoration: underline;
499
+ }
500
+
501
+ #sysinfo_validity{
502
+ font-size: 18pt;
503
+ }
504
+
505
+ #settings .settings-info{
506
+ max-width: 48em;
507
+ border: 1px dotted #777;
508
+ margin: 0;
509
+ padding: 1em;
510
+ }
511
+
512
+
513
+ /* live preview */
514
+ .progressDiv{
515
+ position: absolute;
516
+ height: 20px;
517
+ background: #b4c0cc;
518
+ border-radius: 3px !important;
519
+ top: -20px;
520
+ width: 100%;
521
+ }
522
+
523
+ .progress-container{
524
+ position: relative;
525
+ }
526
+
527
+ [id$=_results].mobile{
528
+ margin-top: 28px;
529
+ }
530
+
531
+ .dark .progressDiv{
532
+ background: #424c5b;
533
+ }
534
+
535
+ .progressDiv .progress{
536
+ width: 0%;
537
+ height: 20px;
538
+ background: #0060df;
539
+ color: white;
540
+ font-weight: bold;
541
+ line-height: 20px;
542
+ padding: 0 8px 0 0;
543
+ text-align: right;
544
+ border-radius: 3px;
545
+ overflow: visible;
546
+ white-space: nowrap;
547
+ padding: 0 0.5em;
548
+ }
549
+
550
+ .livePreview{
551
+ position: absolute;
552
+ z-index: 300;
553
+ background: var(--background-fill-primary);
554
+ width: 100%;
555
+ height: 100%;
556
+ }
557
+
558
+ .livePreview img{
559
+ position: absolute;
560
+ object-fit: contain;
561
+ width: 100%;
562
+ height: calc(100% - 60px); /* to match gradio's height */
563
+ }
564
+
565
+ /* fullscreen popup (ie in Lora's (i) button) */
566
+
567
+ .popup-metadata{
568
+ color: black;
569
+ background: white;
570
+ display: inline-block;
571
+ padding: 1em;
572
+ white-space: pre-wrap;
573
+ }
574
+
575
+ .global-popup{
576
+ display: flex;
577
+ position: fixed;
578
+ z-index: 1001;
579
+ left: 0;
580
+ top: 0;
581
+ width: 100%;
582
+ height: 100%;
583
+ overflow: auto;
584
+ background-color: rgba(20, 20, 20, 0.95);
585
+ }
586
+
587
+ .global-popup *{
588
+ box-sizing: border-box;
589
+ }
590
+
591
+ .global-popup-close:before {
592
+ content: "×";
593
+ }
594
+
595
+ .global-popup-close{
596
+ position: fixed;
597
+ right: 0.25em;
598
+ top: 0;
599
+ cursor: pointer;
600
+ color: white;
601
+ font-size: 32pt;
602
+ }
603
+
604
+ .global-popup-inner{
605
+ display: inline-block;
606
+ margin: auto;
607
+ padding: 2em;
608
+ }
609
+
610
+ /* fullpage image viewer */
611
+
612
+ #lightboxModal{
613
+ display: none;
614
+ position: fixed;
615
+ z-index: 1001;
616
+ left: 0;
617
+ top: 0;
618
+ width: 100%;
619
+ height: 100%;
620
+ overflow: auto;
621
+ background-color: rgba(20, 20, 20, 0.95);
622
+ user-select: none;
623
+ -webkit-user-select: none;
624
+ flex-direction: column;
625
+ }
626
+
627
+ .modalControls {
628
+ display: flex;
629
+ position: absolute;
630
+ right: 0px;
631
+ left: 0px;
632
+ gap: 1em;
633
+ padding: 1em;
634
+ background-color:rgba(0,0,0,0);
635
+ z-index: 1;
636
+ transition: 0.2s ease background-color;
637
+ }
638
+ .modalControls:hover {
639
+ background-color:rgba(0,0,0,0.9);
640
+ }
641
+ .modalClose {
642
+ margin-left: auto;
643
+ }
644
+ .modalControls span{
645
+ color: white;
646
+ text-shadow: 0px 0px 0.25em black;
647
+ font-size: 35px;
648
+ font-weight: bold;
649
+ cursor: pointer;
650
+ width: 1em;
651
+ }
652
+
653
+ .modalControls span:hover, .modalControls span:focus{
654
+ color: #999;
655
+ text-decoration: none;
656
+ }
657
+
658
+ #lightboxModal > img {
659
+ display: block;
660
+ margin: auto;
661
+ width: auto;
662
+ }
663
+
664
+ #lightboxModal > img.modalImageFullscreen{
665
+ object-fit: contain;
666
+ height: 100%;
667
+ width: 100%;
668
+ min-height: 0;
669
+ }
670
+
671
+ .modalPrev,
672
+ .modalNext {
673
+ cursor: pointer;
674
+ position: absolute;
675
+ top: 50%;
676
+ width: auto;
677
+ padding: 16px;
678
+ margin-top: -50px;
679
+ color: white;
680
+ font-weight: bold;
681
+ font-size: 20px;
682
+ transition: 0.6s ease;
683
+ border-radius: 0 3px 3px 0;
684
+ user-select: none;
685
+ -webkit-user-select: none;
686
+ }
687
+
688
+ .modalNext {
689
+ right: 0;
690
+ border-radius: 3px 0 0 3px;
691
+ }
692
+
693
+ .modalPrev:hover,
694
+ .modalNext:hover {
695
+ background-color: rgba(0, 0, 0, 0.8);
696
+ }
697
+
698
+ #imageARPreview {
699
+ position: absolute;
700
+ top: 0px;
701
+ left: 0px;
702
+ border: 2px solid red;
703
+ background: rgba(255, 0, 0, 0.3);
704
+ z-index: 900;
705
+ pointer-events: none;
706
+ display: none;
707
+ }
708
+
709
+ /* context menu (ie for the generate button) */
710
+
711
+ #context-menu{
712
+ z-index:9999;
713
+ position:absolute;
714
+ display:block;
715
+ padding:0px 0;
716
+ border:2px solid #a55000;
717
+ border-radius:8px;
718
+ box-shadow:1px 1px 2px #CE6400;
719
+ width: 200px;
720
+ }
721
+
722
+ .context-menu-items{
723
+ list-style: none;
724
+ margin: 0;
725
+ padding: 0;
726
+ }
727
+
728
+ .context-menu-items a{
729
+ display:block;
730
+ padding:5px;
731
+ cursor:pointer;
732
+ }
733
+
734
+ .context-menu-items a:hover{
735
+ background: #a55000;
736
+ }
737
+
738
+
739
+ /* extensions */
740
+
741
+ #tab_extensions table{
742
+ border-collapse: collapse;
743
+ }
744
+
745
+ #tab_extensions table td, #tab_extensions table th{
746
+ border: 1px solid #ccc;
747
+ padding: 0.25em 0.5em;
748
+ }
749
+
750
+ #tab_extensions table input[type="checkbox"]{
751
+ margin-right: 0.5em;
752
+ appearance: checkbox;
753
+ }
754
+
755
+ #tab_extensions button{
756
+ max-width: 16em;
757
+ }
758
+
759
+ #tab_extensions input[disabled="disabled"]{
760
+ opacity: 0.5;
761
+ }
762
+
763
+ .extension-tag{
764
+ font-weight: bold;
765
+ font-size: 95%;
766
+ }
767
+
768
+ #available_extensions .info{
769
+ margin: 0;
770
+ }
771
+
772
+ #available_extensions .info{
773
+ margin: 0.5em 0;
774
+ display: flex;
775
+ margin-top: auto;
776
+ opacity: 0.80;
777
+ font-size: 90%;
778
+ }
779
+
780
+ #available_extensions .date_added{
781
+ margin-right: auto;
782
+ display: inline-block;
783
+ }
784
+
785
+ #available_extensions .star_count{
786
+ margin-left: auto;
787
+ display: inline-block;
788
+ }
789
+
790
+ /* replace original footer with ours */
791
+
792
+ footer {
793
+ display: none !important;
794
+ }
795
+
796
+ #footer{
797
+ text-align: center;
798
+ }
799
+
800
+ #footer div{
801
+ display: inline-block;
802
+ }
803
+
804
+ #footer .versions{
805
+ font-size: 85%;
806
+ opacity: 0.85;
807
+ }
808
+
809
+ /* extra networks UI */
810
+
811
+ .extra-network-cards{
812
+ height: calc(100vh - 24rem);
813
+ overflow: clip scroll;
814
+ resize: vertical;
815
+ min-height: 52rem;
816
+ }
817
+
818
+ .extra-networks > div.tab-nav{
819
+ min-height: 3.4rem;
820
+ }
821
+
822
+ .extra-networks > div > [id *= '_extra_']{
823
+ margin: 0.3em;
824
+ }
825
+
826
+ .extra-network-subdirs{
827
+ padding: 0.2em 0.35em;
828
+ }
829
+
830
+ .extra-network-subdirs button{
831
+ margin: 0 0.15em;
832
+ }
833
+ .extra-networks .tab-nav .search,
834
+ .extra-networks .tab-nav .sort,
835
+ .extra-networks .tab-nav .show-dirs
836
+ {
837
+ margin: 0.3em;
838
+ align-self: center;
839
+ width: auto;
840
+ }
841
+
842
+ .extra-networks .tab-nav .search {
843
+ width: 16em;
844
+ max-width: 16em;
845
+ }
846
+
847
+ .extra-networks .tab-nav .sort {
848
+ width: 12em;
849
+ max-width: 12em;
850
+ }
851
+
852
+ #txt2img_extra_view, #img2img_extra_view {
853
+ width: auto;
854
+ }
855
+
856
+ .extra-network-cards .nocards{
857
+ margin: 1.25em 0.5em 0.5em 0.5em;
858
+ }
859
+
860
+ .extra-network-cards .nocards h1{
861
+ font-size: 1.5em;
862
+ margin-bottom: 1em;
863
+ }
864
+
865
+ .extra-network-cards .nocards li{
866
+ margin-left: 0.5em;
867
+ }
868
+
869
+
870
+ .extra-network-cards .card .button-row{
871
+ display: none;
872
+ position: absolute;
873
+ color: white;
874
+ right: 0;
875
+ z-index: 1
876
+ }
877
+ .extra-network-cards .card:hover .button-row{
878
+ display: flex;
879
+ }
880
+
881
+ .extra-network-cards .card .card-button{
882
+ color: white;
883
+ }
884
+
885
+ .extra-network-cards .card .metadata-button:before{
886
+ content: "🛈";
887
+ }
888
+
889
+ .extra-network-cards .card .edit-button:before{
890
+ content: "🛠";
891
+ }
892
+
893
+ .extra-network-cards .card .card-button {
894
+ text-shadow: 2px 2px 3px black;
895
+ padding: 0.25em 0.1em;
896
+ font-size: 200%;
897
+ width: 1.5em;
898
+ }
899
+ .extra-network-cards .card .card-button:hover{
900
+ color: red;
901
+ }
902
+
903
+
904
+ .standalone-card-preview.card .preview{
905
+ position: absolute;
906
+ object-fit: cover;
907
+ width: 100%;
908
+ height:100%;
909
+ }
910
+
911
+ .extra-network-cards .card, .standalone-card-preview.card{
912
+ display: inline-block;
913
+ margin: 0.5rem;
914
+ width: 16rem;
915
+ height: 24rem;
916
+ box-shadow: 0 0 5px rgba(128, 128, 128, 0.5);
917
+ border-radius: 0.2rem;
918
+ position: relative;
919
+
920
+ background-size: auto 100%;
921
+ background-position: center;
922
+ overflow: hidden;
923
+ cursor: pointer;
924
+
925
+ background-image: url('./file=html/card-no-preview.png')
926
+ }
927
+
928
+ .extra-network-cards .card:hover{
929
+ box-shadow: 0 0 2px 0.3em rgba(0, 128, 255, 0.35);
930
+ }
931
+
932
+ .extra-network-cards .card .actions .additional{
933
+ display: none;
934
+ }
935
+
936
+ .extra-network-cards .card .actions{
937
+ position: absolute;
938
+ bottom: 0;
939
+ left: 0;
940
+ right: 0;
941
+ padding: 0.5em;
942
+ background: rgba(0,0,0,0.5);
943
+ box-shadow: 0 0 0.25em 0.25em rgba(0,0,0,0.5);
944
+ text-shadow: 0 0 0.2em black;
945
+ }
946
+
947
+ .extra-network-cards .card .actions *{
948
+ color: white;
949
+ }
950
+
951
+ .extra-network-cards .card .actions .name{
952
+ font-size: 1.7em;
953
+ font-weight: bold;
954
+ line-break: anywhere;
955
+ }
956
+
957
+ .extra-network-cards .card .actions .description {
958
+ display: block;
959
+ max-height: 3em;
960
+ white-space: pre-wrap;
961
+ line-height: 1.1;
962
+ }
963
+
964
+ .extra-network-cards .card .actions .description:hover {
965
+ max-height: none;
966
+ }
967
+
968
+ .extra-network-cards .card .actions:hover .additional{
969
+ display: block;
970
+ }
971
+
972
+ .extra-network-cards .card ul{
973
+ margin: 0.25em 0 0.75em 0.25em;
974
+ cursor: unset;
975
+ }
976
+
977
+ .extra-network-cards .card ul a{
978
+ cursor: pointer;
979
+ }
980
+
981
+ .extra-network-cards .card ul a:hover{
982
+ color: red;
983
+ }
984
+
985
+ .extra-network-cards .card .preview{
986
+ position: absolute;
987
+ object-fit: cover;
988
+ width: 100%;
989
+ height:100%;
990
+ }
991
+
992
+ div.block.gradio-box.edit-user-metadata {
993
+ width: 56em;
994
+ background: var(--body-background-fill);
995
+ padding: 2em !important;
996
+ }
997
+
998
+ .edit-user-metadata .extra-network-name{
999
+ font-size: 18pt;
1000
+ color: var(--body-text-color);
1001
+ }
1002
+
1003
+ .edit-user-metadata .file-metadata{
1004
+ color: var(--body-text-color);
1005
+ }
1006
+
1007
+ .edit-user-metadata .file-metadata th{
1008
+ text-align: left;
1009
+ }
1010
+
1011
+ .edit-user-metadata .file-metadata th, .edit-user-metadata .file-metadata td{
1012
+ padding: 0.3em 1em;
1013
+ overflow-wrap: anywhere;
1014
+ word-break: break-word;
1015
+ }
1016
+
1017
+ .edit-user-metadata .wrap.translucent{
1018
+ background: var(--body-background-fill);
1019
+ }
1020
+ .edit-user-metadata .gradio-highlightedtext span{
1021
+ word-break: break-word;
1022
+ }
1023
+
1024
+ .edit-user-metadata-buttons{
1025
+ margin-top: 1.5em;
1026
+ }
1027
+
1028
+
1029
+
1030
+
1031
+ div.block.gradio-box.popup-dialog, .popup-dialog {
1032
+ width: 56em;
1033
+ background: var(--body-background-fill);
1034
+ padding: 2em !important;
1035
+ }
1036
+
1037
+ div.block.gradio-box.popup-dialog > div:last-child, .popup-dialog > div:last-child{
1038
+ margin-top: 1em;
1039
+ }
1040
+
1041
+ div.block.input-accordion{
1042
+
1043
+ }
1044
+
1045
+ .input-accordion-extra{
1046
+ flex: 0 0 auto !important;
1047
+ margin: 0 0.5em 0 auto;
1048
+ }
1049
+
1050
+ div.accordions > div.input-accordion{
1051
+ min-width: fit-content !important;
1052
+ }
1053
+
1054
+ div.accordions > div.gradio-accordion .label-wrap span{
1055
+ white-space: nowrap;
1056
+ margin-right: 0.25em;
1057
+ }
1058
+
1059
+ div.accordions{
1060
+ gap: 0.5em;
1061
+ }
1062
+
1063
+ div.accordions > div.input-accordion.input-accordion-open{
1064
+ flex: 1 auto;
1065
+ flex-flow: column;
1066
+ }
1067
+
1068
+
1069
+ /* sticky right hand columns */
1070
+
1071
+ #img2img_results, #txt2img_results, #extras_results {
1072
+ position: sticky;
1073
+ top: 0.5em;
1074
+ }
1075
+
1076
+ body.resizing {
1077
+ cursor: col-resize !important;
1078
+ }
1079
+
1080
+ body.resizing * {
1081
+ pointer-events: none !important;
1082
+ }
1083
+
1084
+ body.resizing .resize-handle {
1085
+ pointer-events: initial !important;
1086
+ }
1087
+
1088
+ .resize-handle {
1089
+ position: relative;
1090
+ cursor: col-resize;
1091
+ grid-column: 2 / 3;
1092
+ min-width: 16px !important;
1093
+ max-width: 16px !important;
1094
+ height: 100%;
1095
+ }
1096
+
1097
+ .resize-handle::after {
1098
+ content: '';
1099
+ position: absolute;
1100
+ top: 0;
1101
+ bottom: 0;
1102
+ left: 7.5px;
1103
+ border-left: 1px dashed var(--border-color-primary);
1104
+ }
ui-config.json ADDED
The diff for this file is too large to render. See raw diff