make AF panel toggles red and opaque when disabled
| @@ -3248,7 +3248,6 @@ | ||
| 3248 | 3248 | </div> |
| 3249 | 3249 | </div> |
| 3250 | 3250 | <div id="InstructSettingsColumn" class="flex-container flexNoGap flexFlowColumn flex1"> |
| 3251 | - <div id="instructSettingsBlock"> | |
| 3252 | 3251 | <h4 class="standoutHeader title_restorable justifySpaceBetween"> |
| 3253 | 3252 | <div class="flex-container"> |
| 3254 | 3253 | <span data-i18n="Instruct Template">Instruct Template</span> |
| @@ -3261,12 +3260,14 @@ | ||
| 3261 | 3260 | <input id="instruct_bind_to_context" type="checkbox" style="display:none;" /> |
| 3262 | 3261 | <small><i class="fa-solid fa-link menu_button margin0"></i></small> |
| 3263 | 3262 | </label> |
| 3264 | 3263 | <label id="instruct_enabled_label"for="instruct_enabled" class="checkbox_label flex1" title="Enable Instruct Mode" data-i18n="[title]instruct_enabled"> |
| 3265 | 3264 | <input id="instruct_enabled" type="checkbox" style="display:none;" /> |
| 3266 | 3265 | <small><i class="fa-solid fa-power-off menu_button margin0"></i></small> |
| 3267 | 3266 | </label> |
| 3268 | 3267 | </div> |
| 3269 | 3268 | </h4> |
| 3269 | + <div id="instructSettingsBlock"> | |
| 3270 | + | |
| 3270 | 3271 | |
| 3271 | 3272 | <div class="flex-container" title="Select your current Instruct Template" data-i18n="[title]Select your current Instruct Template"> |
| 3272 | 3273 | <select id="instruct_presets" data-preset-manager-for="instruct" class="flex1 text_pole"></select> |
| @@ -3431,7 +3432,6 @@ | ||
| 3431 | 3432 | </div> |
| 3432 | 3433 | </div> |
| 3433 | 3434 | <div id="SystemPromptColumn" class="flex-container flexNoGap flexFlowColumn flex1"> |
| 3434 | - <div id="SystemPromptBlock"> | |
| 3435 | 3435 | <h4 class="standoutHeader title_restorable justifySpaceBetween"> |
| 3436 | 3436 | <div class="flex-container"> |
| 3437 | 3437 | <span data-i18n="System Prompt">System Prompt</span> |
| @@ -3440,12 +3440,14 @@ | ||
| 3440 | 3440 | </a> |
| 3441 | 3441 | </div> |
| 3442 | 3442 | <div class="flex-container"> |
| 3443 | 3443 | <label id="sysprompt_enabled_label" for="sysprompt_enabled" class="checkbox_label flex1" title="Enable System Prompt" data-i18n="[title]sysprompt_enabled"> |
| 3444 | 3444 | <input id="sysprompt_enabled" type="checkbox" style="display:none;" /> |
| 3445 | 3445 | <small><i class="fa-solid fa-power-off menu_button margin0"></i></small> |
| 3446 | 3446 | </label> |
| 3447 | 3447 | </div> |
| 3448 | 3448 | </h4> |
| 3449 | + <div id="SystemPromptBlock"> | |
| 3450 | + | |
| 3449 | 3451 | |
| 3450 | 3452 | <div class="flex-container" title="Select your current System Prompt" data-i18n="[title]Select your current System Prompt"> |
| 3451 | 3453 | <select id="sysprompt_select" data-preset-manager-for="sysprompt" class="flex1 text_pole"></select> |
| @@ -5939,7 +5941,8 @@ | ||
| 5939 | 5941 | </div> |
| 5940 | 5942 | <div class="mes_bias"></div> |
| 5941 | 5943 | </div> |
| 5942 | 5944 | <div class="swipe_right faflex-solidcontainer fa-chevron-right"swipeRightBlock style="display:flexFlowColumn none;flexNoGap"> |
| 5945 | + <div class="swipe_right fa-solid fa-chevron-right" style="display: none;"></div> | |
| 5943 | 5946 | <div class="swipes-counter"></div> |
| 5944 | 5947 | </div> |
| 5945 | 5948 | </div> |
| @@ -978,13 +978,21 @@ body .panelControlBar { | ||
| 978 | 978 | justify-content: center; |
| 979 | 979 | z-index: 9999; |
| 980 | 980 | grid-row-start: 2; |
| 981 | - grid-column-start: 4; | |
| 982 | - flex-flow: column; | |
| 983 | 981 | font-size: 30px; |
| 984 | 982 | cursor: pointer; |
| 985 | 983 | align-self: center; |
| 984 | + | |
| 985 | +} | |
| 986 | +.swipe_left{ | |
| 986 | 987 | position: absolute; |
| 987 | 988 | bottom: 15px; |
| 989 | +flex-flow: column; | |
| 990 | +} | |
| 991 | + | |
| 992 | +.swipeRightBlock { | |
| 993 | + position: absolute; | |
| 994 | + right: 0; | |
| 995 | + bottom: 0; | |
| 988 | 996 | } |
| 989 | 997 | |
| 990 | 998 | .swipes-counter { |
| @@ -994,6 +1002,9 @@ body .panelControlBar { | ||
| 994 | 1002 | font-family: var(--mainFontFamily); |
| 995 | 1003 | font-weight: 400; |
| 996 | 1004 | align-self: center; |
| 1005 | + min-width: 40px; | |
| 1006 | + display: flex; | |
| 1007 | + justify-content: center; | |
| 997 | 1008 | } |
| 998 | 1009 | |
| 999 | 1010 | .swipe_left { |
| @@ -1003,6 +1014,7 @@ body .panelControlBar { | ||
| 1003 | 1014 | |
| 1004 | 1015 | .swipe_right { |
| 1005 | 1016 | right: 5px; |
| 1017 | + align-self:end; | |
| 1006 | 1018 | } |
| 1007 | 1019 | |
| 1008 | 1020 | .ui-settings { |
| @@ -2634,6 +2646,11 @@ select option:not(:checked) { | ||
| 2634 | 2646 | color: var(--active) !important; |
| 2635 | 2647 | } |
| 2636 | 2648 | |
| 2649 | +#instruct_enabled_label .menu_button:not(.toggleEnabled), | |
| 2650 | +#sysprompt_enabled_label .menu_button:not(.toggleEnabled) { | |
| 2651 | + color: Red; | |
| 2652 | +} | |
| 2653 | + | |
| 2637 | 2654 | .displayBlock { |
| 2638 | 2655 | display: block !important; |
| 2639 | 2656 | } |