mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-13 18:50:39 +01:00
Smaller swipe arrows
This commit is contained in:
parent
7747050233
commit
cd297f926e
@ -969,24 +969,29 @@ body .panelControlBar {
|
|||||||
|
|
||||||
/* SWIPE RELATED STYLES*/
|
/* SWIPE RELATED STYLES*/
|
||||||
|
|
||||||
|
.mes {
|
||||||
|
--swipeCounterHeight: 15px;
|
||||||
|
--swipeCounterMargin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.swipe_right,
|
.swipe_right,
|
||||||
.swipe_left {
|
.swipe_left {
|
||||||
height: 40px;
|
width: 25px;
|
||||||
width: 40px;
|
height: 25px;
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
grid-row-start: 2;
|
grid-row-start: 2;
|
||||||
font-size: 30px;
|
font-size: 20px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
.swipe_left{
|
|
||||||
position: absolute;
|
.swipe_left {
|
||||||
bottom: 15px;
|
position: absolute;
|
||||||
flex-flow: column;
|
bottom: calc(var(--swipeCounterHeight) + var(--swipeCounterMargin));
|
||||||
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swipeRightBlock {
|
.swipeRightBlock {
|
||||||
@ -995,17 +1000,19 @@ flex-flow: column;
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.swipes-counter {
|
.swipes-counter {
|
||||||
color: var(--SmartThemeBodyColor);
|
color: var(--SmartThemeBodyColor);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 0;
|
padding: 0 5px;
|
||||||
font-family: var(--mainFontFamily);
|
font-family: var(--mainFontFamily);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
opacity: 0.7;
|
||||||
|
margin-bottom: var(--swipeCounterMargin);
|
||||||
|
height: var(--swipeCounterHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
.swipe_left {
|
.swipe_left {
|
||||||
@ -1015,7 +1022,7 @@ flex-flow: column;
|
|||||||
|
|
||||||
.swipe_right {
|
.swipe_right {
|
||||||
right: 5px;
|
right: 5px;
|
||||||
align-self:end;
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-settings {
|
.ui-settings {
|
||||||
@ -2649,7 +2656,7 @@ select option:not(:checked) {
|
|||||||
|
|
||||||
#instruct_enabled_label .menu_button:not(.toggleEnabled),
|
#instruct_enabled_label .menu_button:not(.toggleEnabled),
|
||||||
#sysprompt_enabled_label .menu_button:not(.toggleEnabled) {
|
#sysprompt_enabled_label .menu_button:not(.toggleEnabled) {
|
||||||
color: Red;
|
color: Red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.displayBlock {
|
.displayBlock {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user