mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed widths for BG and sliders drawers
This commit is contained in:
@ -195,8 +195,7 @@
|
||||
<span class="note-link-span">?</span>
|
||||
</a>
|
||||
</h5>
|
||||
<input id="api_key_openai" name="api_key_openai" class="text_pole" maxlength="500" size="35" value=""
|
||||
autocomplete="off">
|
||||
<input id="api_key_openai" name="api_key_openai" class="text_pole" maxlength="500" size="35" value="" autocomplete="off">
|
||||
<input id="api_button_openai" class="menu_button" type="submit" value="Connect">
|
||||
<img id="api_loading_openai" src="img/load.svg">
|
||||
</form>
|
||||
@ -268,9 +267,9 @@
|
||||
<div class="drawer-toggle drawer-header">
|
||||
<div class="drawer-icon icon-sliders closedIcon"></div>
|
||||
</div>
|
||||
<div class="drawer-content closedDrawer">
|
||||
<div class="drawer-content closedDrawer widthFreeExpand">
|
||||
<div class="flex-container">
|
||||
<div id="ai-settings-flex-col1" class="wide50p">
|
||||
<div id="ai-settings-flex-col1" class="flexWide50p">
|
||||
<div id="common-gen-settings-block">
|
||||
<div id="pro-settings-block">
|
||||
<div id="amount_gen_block" class="range-block">
|
||||
@ -278,16 +277,14 @@
|
||||
Amount generation
|
||||
</div>
|
||||
<span id="amount_gen_counter" class="range-block-counter">select</span>
|
||||
<input type="range" class="range-block-range" id="amount_gen" name="volume" min="16"
|
||||
max="512" step="1">
|
||||
<input type="range" class="range-block-range" id="amount_gen" name="volume" min="16" max="512" step="1">
|
||||
</div>
|
||||
<div id="max_context_block" class="range-block">
|
||||
<div class="range-block-title">
|
||||
Context Size
|
||||
</div>
|
||||
<span id="max_context_counter" class="range-block-counter">select</span>
|
||||
<input type="range" class="range-block-range" id="max_context" name="volume" min="512"
|
||||
max="2048" step="1">
|
||||
<input type="range" class="range-block-range" id="max_context" name="volume" min="512" max="2048" step="1">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -365,8 +362,7 @@
|
||||
<span id="temp_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="temp_textgenerationwebui" name="volume" min="0.1" max="2.0"
|
||||
step="0.01">
|
||||
<input type="range" id="temp_textgenerationwebui" name="volume" min="0.1" max="2.0" step="0.01">
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-block">
|
||||
@ -377,8 +373,7 @@
|
||||
<span id="rep_pen_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="rep_pen_textgenerationwebui" name="volume" min="1" max="1.5"
|
||||
step="0.01">
|
||||
<input type="range" id="rep_pen_textgenerationwebui" name="volume" min="1" max="1.5" step="0.01">
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-block">
|
||||
@ -389,8 +384,7 @@
|
||||
<span id="rep_pen_size_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="rep_pen_size_textgenerationwebui" name="volume" min="0"
|
||||
max="2048" step="1">
|
||||
<input type="range" id="rep_pen_size_textgenerationwebui" name="volume" min="0" max="2048" step="1">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -412,8 +406,7 @@
|
||||
OpenAI max response length (in tokens)
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="number" id="openai_max_tokens" name="openai_max_tokens" class="text_pole"
|
||||
min="50" max="1000">
|
||||
<input type="number" id="openai_max_tokens" name="openai_max_tokens" class="text_pole" min="50" max="1000">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -474,7 +467,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ai-settings-flex-col2" class="wide50p">
|
||||
<div id="ai-settings-flex-col2" class="flexWide50p">
|
||||
<div id="advanced-ai-config-block">
|
||||
<div id="kobold_api-settings">
|
||||
<div id="kobold-advanced-config">
|
||||
@ -566,8 +559,7 @@
|
||||
<span id="top_k_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="top_k_textgenerationwebui" name="volume" min="0" max="200"
|
||||
step="1">
|
||||
<input type="range" id="top_k_textgenerationwebui" name="volume" min="0" max="200" step="1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-block">
|
||||
@ -578,8 +570,7 @@
|
||||
<span id="top_p_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1"
|
||||
step="0.1">
|
||||
<input type="range" id="top_p_textgenerationwebui" name="volume" min="0" max="1" step="0.1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-block">
|
||||
@ -590,8 +581,7 @@
|
||||
<span id="typical_p_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="typical_p_textgenerationwebui" name="volume" min="0" max="1"
|
||||
step="0.1">
|
||||
<input type="range" id="typical_p_textgenerationwebui" name="volume" min="0" max="1" step="0.1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-block">
|
||||
@ -602,8 +592,7 @@
|
||||
<span id="penalty_alpha_counter_textgenerationwebui">select</span>
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<input type="range" id="penalty_alpha_textgenerationwebui" name="volume" min="0" max="5"
|
||||
step="0.05" />
|
||||
<input type="range" id="penalty_alpha_textgenerationwebui" name="volume" min="0" max="5" step="0.05" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -655,8 +644,7 @@
|
||||
The main prompt used to set the model behavior
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<textarea id="main_prompt_textarea" class="text_pole" name="main_prompt" rows="5"
|
||||
placeholder=""></textarea>
|
||||
<textarea id="main_prompt_textarea" class="text_pole" name="main_prompt" rows="5" placeholder=""></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -668,8 +656,7 @@
|
||||
Prompt that is used when the NSFW toggle is on
|
||||
</div>
|
||||
<div class="range-block-range">
|
||||
<textarea id="nsfw_prompt_textarea" class="custom_textarea" name="nsfw_prompt" rows="5"
|
||||
placeholder=""></textarea>
|
||||
<textarea id="nsfw_prompt_textarea" class="custom_textarea" name="nsfw_prompt" rows="5" placeholder=""></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -910,14 +910,14 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
||||
#bg_menu_content {
|
||||
margin-top: 5px;
|
||||
display: flex;
|
||||
flex-wrap:wrap;
|
||||
max-width: 450px;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.bg_example {
|
||||
width: 30%;
|
||||
max-height: 100px;
|
||||
width: 23%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
@ -925,7 +925,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
||||
border: 1px solid var(--black50a);
|
||||
box-shadow: 0 0 7px var(--black50a);
|
||||
margin: 5px;
|
||||
aspect-ratio: 4/3;
|
||||
aspect-ratio: 16/9;
|
||||
}
|
||||
|
||||
.bg_example_cross {
|
||||
@ -946,7 +946,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
||||
}
|
||||
|
||||
#form_bg_download {
|
||||
width:30%;
|
||||
width: 23%;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
@ -2792,7 +2792,6 @@ filter: invert(20%) sepia(100%) saturate(2518%) hue-rotate(353deg) brightness(93
|
||||
border: 1px solid grey;
|
||||
box-shadow: 0 0 20px black;
|
||||
/* min-width:400px; */
|
||||
width: max-content;
|
||||
overflow-y: scroll;
|
||||
max-height: 90vh;
|
||||
display: none;
|
||||
@ -2800,6 +2799,7 @@ filter: invert(20%) sepia(100%) saturate(2518%) hue-rotate(353deg) brightness(93
|
||||
left:0;
|
||||
right:0;
|
||||
width: max-content;
|
||||
max-width:800px;
|
||||
margin: 30px auto;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
@ -2810,7 +2810,9 @@ filter: invert(20%) sepia(100%) saturate(2518%) hue-rotate(353deg) brightness(93
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.wide50p { width:50%;}
|
||||
.flexWide50p { flex:50%;}
|
||||
|
||||
.widthFreeExpand {width: unset;}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user