mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev
This commit is contained in:
@@ -67,7 +67,9 @@
|
||||
<div class="drawer-toggle drawer-header">
|
||||
<div id="leftNavDrawerIcon" class="drawer-icon fa-solid fa-sliders closedIcon" title="AI Response Configuration"></div>
|
||||
</div>
|
||||
<div id="left-nav-panel" class="drawer-content fillLeft closedDrawer widthFreeExpand">
|
||||
|
||||
<div id="left-nav-panel" class="drawer-content fillLeft closedDrawer">
|
||||
<div id="left-nav-panelheader" class="fa-solid fa-grip drag-grabber"></div>
|
||||
<div class="right_menu_button" id="lm_button_panel_pin_div" title="Locked = AI Configuration panel will stay open">
|
||||
<input type="checkbox" id="lm_button_panel_pin">
|
||||
<label for="lm_button_panel_pin">
|
||||
@@ -75,6 +77,7 @@
|
||||
<div class="checked fa-solid fa-lock "></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="scrollableInner">
|
||||
<div class="flex-container">
|
||||
<div id="respective-presets-block" class="width100p">
|
||||
<div id="kobold_api-presets">
|
||||
@@ -795,6 +798,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sys-settings-button" class="drawer" style="z-index:3001;">
|
||||
<div class="drawer-toggle drawer-header">
|
||||
@@ -1357,6 +1361,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<nav id="right-nav-panel" class="drawer-content closedDrawer fillRight">
|
||||
<!-- <div id="right-nav-panelheader" class="fa-solid fa-grip drag-grabber"></div> -->
|
||||
<div id="right-nav-panel-tabs">
|
||||
<div class="right_menu_button fa-solid fa-list-ul" id="rm_button_characters" title="Select/Create Characters"></div>
|
||||
<div class="right_menu_button" id="rm_button_selected_ch">
|
||||
@@ -1813,7 +1818,7 @@
|
||||
<div class="typing_indicator"><span class="typing_indicator_name">CHAR</span> is typing</div>
|
||||
</div>
|
||||
<div id="sheld">
|
||||
<div id="sheldheader" class="fa-solid fa-grip"></div>
|
||||
<div id="sheldheader" class="fa-solid fa-grip drag-grabber"></div>
|
||||
<div class="pull-tab"></div>
|
||||
<div id="chat">
|
||||
</div>
|
||||
|
@@ -309,6 +309,8 @@ function OpenNavPanels() {
|
||||
|
||||
// Make the DIV element draggable:
|
||||
dragElement(document.getElementById("sheld"));
|
||||
dragElement(document.getElementById("left-nav-panel"));
|
||||
|
||||
|
||||
function dragElement(elmnt) {
|
||||
var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
|
||||
|
@@ -213,10 +213,10 @@ code {
|
||||
width: var(--sheldWidth);
|
||||
}
|
||||
|
||||
#sheldheader {
|
||||
.drag-grabber {
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
width: 20px !important;
|
||||
height: 20px !important;
|
||||
color: var(--SmartThemeBodyColor);
|
||||
z-index: 2000;
|
||||
text-align: center;
|
||||
@@ -3001,6 +3001,8 @@ label[for="extensions_autoconnect"] {
|
||||
margin: 35px auto 0 auto;
|
||||
backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)));
|
||||
-webkit-backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)));
|
||||
resize: both;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.fillRight,
|
||||
@@ -3009,9 +3011,9 @@ label[for="extensions_autoconnect"] {
|
||||
}
|
||||
|
||||
.fillLeft {
|
||||
max-width: calc((100svw - var(--sheldWidth) - 2px) /2);
|
||||
height: 99.9svh;
|
||||
max-height: 99.9svh;
|
||||
width: calc((100svw - var(--sheldWidth) - 2px) /2);
|
||||
/* height: 99.9svh; */
|
||||
max-height: calc(100svh - 42px);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
@@ -3020,6 +3022,12 @@ label[for="extensions_autoconnect"] {
|
||||
padding: 5px;
|
||||
border-radius: 0 0 20px 0;
|
||||
box-shadow: none;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.scrollableInner {
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.width100p {
|
||||
@@ -3292,7 +3300,7 @@ toolcool-color-picker {
|
||||
|
||||
}
|
||||
|
||||
#sheldheader,
|
||||
.drag-grabber,
|
||||
.pull-tab {
|
||||
display: none;
|
||||
|
||||
@@ -3318,7 +3326,8 @@ toolcool-color-picker {
|
||||
border-right: 1px solid var(--grey30);
|
||||
border-bottom: 1px solid var(--grey30);
|
||||
border-radius: 0 0 20px 20px;
|
||||
top: 40px;
|
||||
top: 40px !important;
|
||||
left: 0 !important;
|
||||
backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user