Simple UI mode for WI menu

This commit is contained in:
Cohee 2023-08-29 21:26:57 +03:00
parent 78512b33ad
commit 2b768cc151
2 changed files with 42 additions and 40 deletions

View File

@ -863,8 +863,8 @@
</div> </div>
</div> </div>
</div> </div>
<hr>
<div class="range-block" data-source="openai,claude"> <div class="range-block" data-source="openai,claude">
<hr>
<div class="range-block-title justifyLeft" data-i18n="OpenAI Reverse Proxy"> <div class="range-block-title justifyLeft" data-i18n="OpenAI Reverse Proxy">
OpenAI / Claude Reverse Proxy OpenAI / Claude Reverse Proxy
</div> </div>
@ -2467,7 +2467,7 @@
</div> </div>
</div> </div>
<div class="flex2 flex-container flexFlowColumn"> <div class="flex2 flex-container flexFlowColumn">
<div class="flex range-block"> <div data-newbie-hidden class="flex range-block">
<div class="range-block-title justifyLeft"> <div class="range-block-title justifyLeft">
<label for="world_info_character_strategy"> <label for="world_info_character_strategy">
<span data-i18n="Character Lore Insertion Strategy"><small>Character Lore Insertion Strategy</small></span> <span data-i18n="Character Lore Insertion Strategy"><small>Character Lore Insertion Strategy</small></span>
@ -2483,7 +2483,7 @@
</div> </div>
<div name="WIScanAndTokens" class="flex1 flex-container flexFlowColumn"> <div name="WIScanAndTokens" class="flex1 flex-container flexFlowColumn">
<div class="flex1 gap5px range-block"> <div data-newbie-hidden class="flex1 gap5px range-block">
<div class="wide10pMinFit"> <div class="wide10pMinFit">
<small data-i18n="Scan Depth">Scan Depth</small> <small data-i18n="Scan Depth">Scan Depth</small>
</div> </div>
@ -2515,7 +2515,7 @@
</div> </div>
</div> </div>
<div class="flex1 gap5px range-block"> <div data-newbie-hidden class="flex1 gap5px range-block">
<div class="wide10pMinFit"> <div class="wide10pMinFit">
<small data-i18n="Budget Cap">Budget Cap</small> <small data-i18n="Budget Cap">Budget Cap</small>
</div> </div>
@ -2536,7 +2536,7 @@
</div> </div>
</div> </div>
<div class="alignitemsflexstart flex1 range-block flex-container flexFlowColumn"> <div data-newbie-hidden class="alignitemsflexstart flex1 range-block flex-container flexFlowColumn">
<label title="Entries can activate other entries by mentioning their keywords" data-i18n="[title]Entries can activate other entries by mentioning their keywords" class="checkbox_label"> <label title="Entries can activate other entries by mentioning their keywords" data-i18n="[title]Entries can activate other entries by mentioning their keywords" class="checkbox_label">
<input id="world_info_recursive" type="checkbox" /> <input id="world_info_recursive" type="checkbox" />
<small data-i18n="Recursive Scan"> <small data-i18n="Recursive Scan">
@ -3084,12 +3084,14 @@
<div class="extension_token_counter"> <div class="extension_token_counter">
Tokens: <span id="persona_description_token_count">0</span> Tokens: <span id="persona_description_token_count">0</span>
</div> </div>
<label for="persona_description_position" data-i18n="Position:">Position:</label> <div data-newbie-hidden>
<select id="persona_description_position"> <label for="persona_description_position" data-i18n="Position:">Position:</label>
<option value="0" data-i18n="In Story String / Prompt Manager">In Story String / Prompt Manager</option> <select id="persona_description_position">
<option value="2" data-i18n="Top of Author's Note">Top of Author's Note</option> <option value="0" data-i18n="In Story String / Prompt Manager">In Story String / Prompt Manager</option>
<option value="3" data-i18n="Bottom of Author's Note">Bottom of Author's Note</option> <option value="2" data-i18n="Top of Author's Note">Top of Author's Note</option>
</select> <option value="3" data-i18n="Bottom of Author's Note">Bottom of Author's Note</option>
</select>
</div>
</div> </div>
<div class="range-block"> <div class="range-block">
<label for="persona_show_notifications" class="checkbox_label"> <label for="persona_show_notifications" class="checkbox_label">
@ -3103,9 +3105,9 @@
<div class="flex1"> <div class="flex1">
<h4 class="title_restorable"> <h4 class="title_restorable">
<span data-i18n="Your Persona">Your Persona</span> <span data-i18n="Your Persona">Your Persona</span>
<button class="menu_button menu_button_icon user_stats_button" title="Click for stats!"> <div class="menu_button menu_button_icon user_stats_button" title="Click for stats!">
<i class="fa-solid fa-circle-info"></i><span data-i18n="Usage Stats">Usage Stats</span> <i class="fa-solid fa-ranking-star"></i><span data-i18n="Usage Stats">Usage Stats</span>
</button> </div>
<div id="create_dummy_persona" class="menu_button menu_button_icon" title="Create a dummy persona" data-i18n="[title]Create a dummy persona"> <div id="create_dummy_persona" class="menu_button menu_button_icon" title="Create a dummy persona" data-i18n="[title]Create a dummy persona">
<i class="fa-solid fa-person-circle-question fa-fw"></i> <i class="fa-solid fa-person-circle-question fa-fw"></i>
<span data-i18n="Blank">Blank</span> <span data-i18n="Blank">Blank</span>

View File

@ -1,26 +1,26 @@
#roll_dice { #roll_dice {
/* order: 100; */ /* order: 100; */
/* width: 40px; /* width: 40px;
height: 40px; height: 40px;
margin: 0; margin: 0;
padding: 1px; */ padding: 1px; */
outline: none; outline: none;
border: none; border: none;
cursor: pointer; cursor: pointer;
transition: 0.3s; transition: 0.3s;
opacity: 0.7; opacity: 0.7;
display: flex; display: flex;
align-items: center; align-items: center;
/* justify-content: center; */ /* justify-content: center; */
} }
#roll_dice:hover { #roll_dice:hover {
opacity: 1; opacity: 1;
filter: brightness(1.2); filter: brightness(1.2);
} }
#dice_dropdown { #dice_dropdown {
z-index: 100; z-index: 30000;
backdrop-filter: blur(--SmartThemeBlurStrength); backdrop-filter: blur(--SmartThemeBlurStrength);
} }