set up a system to provide extra info for settings elements in python rather than js

add a bit of spacing/styling to settings elements
add link info for token merging
This commit is contained in:
AUTOMATIC
2023-05-14 10:02:51 +03:00
parent 2cfaffb239
commit ce515b81c5
3 changed files with 97 additions and 36 deletions

View File

@@ -421,6 +421,26 @@ table.settings-value-table td{
color: #aaa !important;
}
#settings span{
color: var(--body-text-color);
}
#settings .gradio-textbox, #settings .gradio-slider, #settings .gradio-number, #settings .gradio-dropdown, #settings .gradio-checkboxgroup{
margin-top: 0.75em;
}
.gradio-textbox .settings-comment, .gradio-slider .settings-comment, .gradio-number .settings-comment, .gradio-dropdown .settings-comment, .gradio-checkboxgroup .settings-comment {
display: inline
}
.settings-comment a{
text-decoration: underline;
}
.settings-comment .info{
opacity: 0.75;
}
/* live preview */
.progressDiv{
position: relative;