mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add common togglable class for coloring buttons
This commit is contained in:
@@ -1628,7 +1628,7 @@
|
||||
</div>
|
||||
<label id="send_banned_tokens_label" for="send_banned_tokens_textgenerationwebui" class="checkbox_label">
|
||||
<input id="send_banned_tokens_textgenerationwebui" type="checkbox" style="display:none;" />
|
||||
<small><i class="fa-solid fa-power-off menu_button margin0"></i></small>
|
||||
<small><i class="fa-solid fa-power-off menu_button togglable margin0"></i></small>
|
||||
</label>
|
||||
</div>
|
||||
<div id="banned_tokens_controls_ooba">
|
||||
@@ -3534,7 +3534,7 @@
|
||||
</label>
|
||||
<label id="instruct_enabled_label"for="instruct_enabled" class="checkbox_label flex1" title="Enable Instruct Mode" data-i18n="[title]instruct_enabled">
|
||||
<input id="instruct_enabled" type="checkbox" style="display:none;" />
|
||||
<small><i class="fa-solid fa-power-off menu_button margin0"></i></small>
|
||||
<small><i class="fa-solid fa-power-off menu_button togglable margin0"></i></small>
|
||||
</label>
|
||||
</div>
|
||||
</h4>
|
||||
@@ -3712,7 +3712,7 @@
|
||||
<div class="flex-container">
|
||||
<label id="sysprompt_enabled_label" for="sysprompt_enabled" class="checkbox_label flex1" title="Enable System Prompt" data-i18n="[title]sysprompt_enabled">
|
||||
<input id="sysprompt_enabled" type="checkbox" style="display:none;" />
|
||||
<small><i class="fa-solid fa-power-off menu_button margin0"></i></small>
|
||||
<small><i class="fa-solid fa-power-off menu_button togglable margin0"></i></small>
|
||||
</label>
|
||||
</div>
|
||||
</h4>
|
||||
|
@@ -2879,10 +2879,8 @@ select option:not(:checked) {
|
||||
color: var(--active) !important;
|
||||
}
|
||||
|
||||
#instruct_enabled_label .menu_button:not(.toggleEnabled),
|
||||
#sysprompt_enabled_label .menu_button:not(.toggleEnabled),
|
||||
#send_banned_tokens_label .menu_button:not(.toggleEnabled) {
|
||||
color: Red;
|
||||
.menu_button.togglable:not(.toggleEnabled) {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.displayBlock {
|
||||
|
Reference in New Issue
Block a user