Add common togglable class for coloring buttons
| @@ -1628,7 +1628,7 @@ | ||
| 1628 | 1628 | </div> |
| 1629 | 1629 | <label id="send_banned_tokens_label" for="send_banned_tokens_textgenerationwebui" class="checkbox_label"> |
| 1630 | 1630 | <input id="send_banned_tokens_textgenerationwebui" type="checkbox" style="display:none;" /> |
| 1631 | 1631 | <small><i class="fa-solid fa-power-off menu_button togglable margin0"></i></small> |
| 1632 | 1632 | </label> |
| 1633 | 1633 | </div> |
| 1634 | 1634 | <div id="banned_tokens_controls_ooba"> |
| @@ -3534,7 +3534,7 @@ | ||
| 3534 | 3534 | </label> |
| 3535 | 3535 | <label id="instruct_enabled_label"for="instruct_enabled" class="checkbox_label flex1" title="Enable Instruct Mode" data-i18n="[title]instruct_enabled"> |
| 3536 | 3536 | <input id="instruct_enabled" type="checkbox" style="display:none;" /> |
| 3537 | 3537 | <small><i class="fa-solid fa-power-off menu_button togglable margin0"></i></small> |
| 3538 | 3538 | </label> |
| 3539 | 3539 | </div> |
| 3540 | 3540 | </h4> |
| @@ -3712,7 +3712,7 @@ | ||
| 3712 | 3712 | <div class="flex-container"> |
| 3713 | 3713 | <label id="sysprompt_enabled_label" for="sysprompt_enabled" class="checkbox_label flex1" title="Enable System Prompt" data-i18n="[title]sysprompt_enabled"> |
| 3714 | 3714 | <input id="sysprompt_enabled" type="checkbox" style="display:none;" /> |
| 3715 | 3715 | <small><i class="fa-solid fa-power-off menu_button togglable margin0"></i></small> |
| 3716 | 3716 | </label> |
| 3717 | 3717 | </div> |
| 3718 | 3718 | </h4> |
| @@ -2879,10 +2879,8 @@ select option:not(:checked) { | ||
| 2879 | 2879 | color: var(--active) !important; |
| 2880 | 2880 | } |
| 2881 | 2881 | |
| 2882 | 2882 | #instruct_enabled_label .menu_button.togglable:not(.toggleEnabled), { |
| 2883 | -#sysprompt_enabled_label .menu_button:not(.toggleEnabled), | |
| 2883 | + color: red; | |
| 2884 | -#send_banned_tokens_label .menu_button:not(.toggleEnabled) { | |
| 2885 | - color: Red; | |
| 2886 | 2884 | } |
| 2887 | 2885 | |
| 2888 | 2886 | .displayBlock { |