diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-03-27 04:30:38 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-03-27 04:30:38 +0000 |
commit | b40538a7fe2ee6914b3121f252f0d5dc9f7e8fab (patch) | |
tree | 16bd7e75f4068697bee8c2d4fcf203060558ad2c | |
parent | 8a454dab335bbbcbdf44f7ff33e93910dc36f1d7 (diff) | |
download | stable-diffusion-webui-gfx803-b40538a7fe2ee6914b3121f252f0d5dc9f7e8fab.tar.gz stable-diffusion-webui-gfx803-b40538a7fe2ee6914b3121f252f0d5dc9f7e8fab.tar.bz2 stable-diffusion-webui-gfx803-b40538a7fe2ee6914b3121f252f0d5dc9f7e8fab.zip |
reformat css from latest commits, change color for dropdown selection to more neutral one
-rw-r--r-- | style.css | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -54,13 +54,6 @@ div.compact{ gap: 1em;
}
-.gradio-dropdown ul.options{
- z-index: 3000;
- min-width: fit-content;
- max-width: inherit;
- white-space: nowrap;
-}
-
.gradio-dropdown label span:not(.has-info),
.gradio-textbox label span:not(.has-info),
.gradio-number label span:not(.has-info)
@@ -68,17 +61,23 @@ div.compact{ margin-bottom: 0;
}
-.gradio-dropdown ul.options {
- max-height: 35em;
- z-index: 3000;
+.gradio-dropdown ul.options{
+ z-index: 3000;
+ min-width: fit-content;
+ max-width: inherit;
+ white-space: nowrap;
}
.gradio-dropdown ul.options li.item {
- padding: 0.05em 0;
+ padding: 0.05em 0;
}
.gradio-dropdown ul.options li.item.selected {
- background-color: var(--secondary-500);
+ background-color: var(--neutral-100);
+}
+
+.dark .gradio-dropdown ul.options li.item.selected {
+ background-color: var(--neutral-900);
}
.gradio-dropdown div.wrap.wrap.wrap.wrap{
|