mirror of https://github.com/vladmandic/automatic
60 lines
4.1 KiB
CSS
60 lines
4.1 KiB
CSS
/* generic html tags */
|
|
html { font-size: 16px; }
|
|
body, button, input, select, textarea { font-family: "Segoe UI"; font-variant: small-caps; }
|
|
img { background-color: black; }
|
|
input[type=range] { height: 14px; appearance: none; margin-top: 12px }
|
|
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 18px; cursor: pointer; box-shadow: 2px 2px 3px #111111; background: #50555C; border-radius: 2px; border: 0px solid #222222; }
|
|
input[type=range]::-webkit-slider-thumb { box-shadow: 2px 2px 3px #111111; border: 0px solid #000000; height: 18px; width: 40px; border-radius: 2px; background: var(--highlight-color); cursor: pointer; -webkit-appearance: none; margin-top: 0px; }
|
|
::-webkit-scrollbar { width: 12px; }
|
|
::-webkit-scrollbar-track { background: #333333; }
|
|
::-webkit-scrollbar-thumb { background-color: var(--highlight-color); border-radius: 2px; border-width: 0; box-shadow: 2px 2px 3px #111111; }
|
|
|
|
/* main gradio components by selector */
|
|
div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { background-color: black; }
|
|
|
|
/* gradio shadowroot */
|
|
.gradio-container { font-family: "Segoe UI"; font-variant: small-caps; --left-column: 540px; --highlight-color: #CE6400; --inactive-color: #4E1400; }
|
|
|
|
/* gradio style classes */
|
|
.tabs { background-color: black; }
|
|
.dark { background-color: black; }
|
|
.dark .gr-panel { border-radius: 0; background-color: black; }
|
|
.dark .gr-input-label { color: lightyellow; border-width: 0; background: transparent; padding: 2px !important; }
|
|
.dark .gr-input { background-color: #333333 !important; }
|
|
.dark .gr-form { border-radius: 0; border-width: 0; }
|
|
.dark .gr-check-radio { background-color: var(--inactive-color); border-width: 0; border-radius: 2px; box-shadow: 2px 2px 3px #111111; }
|
|
.dark .gr-check-radio:checked { background-color: var(--highlight-color); }
|
|
.dark .gr-button { border-radius: 0; font-weight: normal; box-shadow: 2px 2px 3px #111111; font-size: 0.9rem; min-width: 32px; }
|
|
.dark .gr-box { border-radius: 0; background-color: #222222; box-shadow: 2px 2px 3px #111111; border-width: 0; padding-bottom: 12px; }
|
|
.dark .dark\:bg-gray-900 { background-color: black; }
|
|
.dark .bg-white { color: lightyellow; border-radius: 0; }
|
|
.dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500, .dark label.block span { background-color: #222222; padding: 0 12px 0 12px; }
|
|
.dark .bg-gray-200, .dark .\!bg-gray-200 { background-color: transparent; }
|
|
.gap-2 { padding-top: 8px; }
|
|
.border-2 { border-width: 0; }
|
|
.border-b-2 { border-bottom-width: 2px; border-color: var(--highlight-color) !important; padding-bottom: 2px; margin-bottom: 8px; }
|
|
.px-4 { padding-lefT: 1rem; padding-right: 1rem; }
|
|
.py-6 { padding-bottom: 0; }
|
|
.overflow-hidden .flex .flex-col .relative col .gap-4 { min-width: var(--left-column); max-width: var(--left-column); } /* this is a problematic one */
|
|
|
|
/* automatic style classes */
|
|
.progressDiv .progress { background: var(--highlight-color); border-radius: 2px; }
|
|
.gallery-item { box-shadow: none !important; }
|
|
|
|
/* gradio elements overrides */
|
|
#txt2img_settings, #img2img_settings { min-width: var(--left-column); max-width: var(--left-column); }
|
|
#txt2img_prompt > label > textarea { font-size: 1.2rem; }
|
|
#txt2img_neg_prompt > label > textarea { font-size: 1.2rem; }
|
|
#img2img_prompt > label > textarea { font-size: 1.2rem; }
|
|
#img2img_neg_prompt > label > textarea { font-size: 1.2rem; }
|
|
#txt2img_generate, #img2img_generate, #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { margin-top: 10px; min-height: 2rem; height: 63px; }
|
|
#txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { background-color: var(--inactive-color); }
|
|
#txt2img_gallery { background: black; }
|
|
#tab_extensions table { background-color: #222222; }
|
|
#style_pos_col, #style_neg_col, #roll_col { display: none; }
|
|
#interrogate_col { margin-top: 10px; }
|
|
#txt2img_progress_row > div { min-width: var(--left-column); max-width: var(--left-column); }
|
|
#save-animation { border-radius: 0 !important; margin-bottom: 16px; background-color: #111111; }
|
|
#open_folder_txt2img, #open_folder_img2img, #open_folder_extras { display: none }
|
|
#footer { display: none; }
|