mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
- adjusted right nav padding
- added border radius to big avatar group collages - fixed avatar collages squashing horizontally on narrow displays - removed gaps from mobile display (imperfect fix)
This commit is contained in:
100
public/style.css
100
public/style.css
@@ -456,14 +456,14 @@ body.big-avatars .avatar {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
border-radius: 5px;
|
border-radius: 10px;
|
||||||
box-shadow: 0 0 5px var(--black50a);
|
box-shadow: 0 0 5px var(--black50a);
|
||||||
}
|
}
|
||||||
|
|
||||||
body.big-avatars #user_avatar_block .avatar {
|
body.big-avatars #user_avatar_block .avatar {
|
||||||
height: 90px;
|
height: 90px;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
border-radius: 5px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.big-avatars #user_avatar_block .avatar img {
|
body.big-avatars #user_avatar_block .avatar img {
|
||||||
@@ -631,6 +631,7 @@ input[type="file"] {
|
|||||||
max-height: 30px;
|
max-height: 30px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#right-nav-panel-tabs .right_menu_button:last-of-type {
|
#right-nav-panel-tabs .right_menu_button:last-of-type {
|
||||||
@@ -725,6 +726,7 @@ input[type="file"] {
|
|||||||
#rm_ch_create_block {
|
#rm_ch_create_block {
|
||||||
display: none;
|
display: none;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rm_extensions_block {
|
#rm_extensions_block {
|
||||||
@@ -853,6 +855,7 @@ img[src="img/load.svg"] {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#character_search_bar {
|
#character_search_bar {
|
||||||
@@ -2220,6 +2223,7 @@ input[type="range"]::-webkit-slider-thumb {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
column-gap: 10px;
|
column-gap: 10px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rm_group_settings {
|
.rm_group_settings {
|
||||||
@@ -2428,9 +2432,21 @@ input[type="range"]::-webkit-slider-thumb {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body:not(.big-avatars) .avatar_collage {
|
||||||
|
min-width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .avatar_collage {
|
||||||
|
min-width: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.avatar_collage img {
|
.avatar_collage img {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
body:not(.big-avatars) .avatar_collage img {
|
||||||
border-radius: 0% !important;
|
border-radius: 0% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2515,6 +2531,44 @@ input[type="range"]::-webkit-slider-thumb {
|
|||||||
height: 50%;
|
height: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* border radius for big avatars collages */
|
||||||
|
|
||||||
|
body.big-avatars .collage_2 .img_1 {
|
||||||
|
border-radius: 10px 0 0 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_2 .img_2 {
|
||||||
|
border-radius: 0 10px 10px 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_3 .img_1 {
|
||||||
|
border-radius: 10px 0 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_3 .img_2 {
|
||||||
|
border-radius: 0 10px 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_3 .img_3 {
|
||||||
|
border-radius: 0 0 10px 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_4 .img_1 {
|
||||||
|
border-radius: 10px 0 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_4 .img_2 {
|
||||||
|
border-radius: 0 10px 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_4 .img_3 {
|
||||||
|
border-radius: 0 0 0 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.big-avatars .collage_4 .img_4 {
|
||||||
|
border-radius: 0 0 10px 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
span.warning {
|
span.warning {
|
||||||
color: rgb(190, 0, 0);
|
color: rgb(190, 0, 0);
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
@@ -2645,7 +2699,8 @@ a {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
padding: 0 10px;
|
padding: 0;
|
||||||
|
padding-bottom: 5px;
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
background-color: var(--black50a);
|
background-color: var(--black50a);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
-webkit-backdrop-filter: blur(10px);
|
||||||
@@ -3095,15 +3150,16 @@ label[for="extensions_autoconnect"] {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer-content {
|
.drawer-content {
|
||||||
min-width: unset;
|
min-width: unset;
|
||||||
width: calc(100vw - 10px);
|
width: 100vw;
|
||||||
max-height: calc(100vh - 70px);
|
max-height: calc(100vh - 45px);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 10px;
|
top: 5px;
|
||||||
border: 1px solid var(--grey30);
|
border: 1px solid var(--grey30);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3128,10 +3184,10 @@ label[for="extensions_autoconnect"] {
|
|||||||
#character_popup,
|
#character_popup,
|
||||||
#world_popup {
|
#world_popup {
|
||||||
/*margin around the sides, and a larger one on bottom to avoid iOS Home bar*/
|
/*margin around the sides, and a larger one on bottom to avoid iOS Home bar*/
|
||||||
height: calc(100svh - 70px);
|
height: calc(100svh - 45px);
|
||||||
width: calc(100vw - 10px);
|
width: 100vw;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-left: 5px;
|
margin-left: 0px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3160,11 +3216,10 @@ label[for="extensions_autoconnect"] {
|
|||||||
|
|
||||||
#right-nav-panel,
|
#right-nav-panel,
|
||||||
#left-nav-panel {
|
#left-nav-panel {
|
||||||
height: calc(100svh - 70px);
|
height: calc(100svh - 45px);
|
||||||
min-width: 0px;
|
min-width: 0px;
|
||||||
width: calc(100vw - 10px);
|
width: 100vw;
|
||||||
max-width: calc(100vw - 10px);
|
max-width: 100vw;
|
||||||
left: 5px !important;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border-left: 1px solid var(--grey30);
|
border-left: 1px solid var(--grey30);
|
||||||
border-right: 1px solid var(--grey30);
|
border-right: 1px solid var(--grey30);
|
||||||
@@ -3246,11 +3301,11 @@ label[for="extensions_autoconnect"] {
|
|||||||
|
|
||||||
.drawer-content {
|
.drawer-content {
|
||||||
min-width: unset;
|
min-width: unset;
|
||||||
width: calc(100vw - 10px);
|
width: 100vw;
|
||||||
max-height: calc(100vh - 70px);
|
max-height: calc(100vh - 45px);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 10px;
|
top: 5px;
|
||||||
border: 1px solid var(--grey30);
|
border: 1px solid var(--grey30);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3275,10 +3330,10 @@ label[for="extensions_autoconnect"] {
|
|||||||
#character_popup,
|
#character_popup,
|
||||||
#world_popup {
|
#world_popup {
|
||||||
/*margin around the sides, and a larger one on bottom to avoid iOS Home bar*/
|
/*margin around the sides, and a larger one on bottom to avoid iOS Home bar*/
|
||||||
height: calc(100svh - 70px);
|
height: calc(100svh - 45px);
|
||||||
width: calc(100vw - 10px);
|
width: 100vw;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-left: 5px;
|
margin-left: 0px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3307,11 +3362,10 @@ label[for="extensions_autoconnect"] {
|
|||||||
|
|
||||||
#right-nav-panel,
|
#right-nav-panel,
|
||||||
#left-nav-panel {
|
#left-nav-panel {
|
||||||
height: calc(100svh - 70px);
|
height: calc(100svh - 45px);
|
||||||
min-width: 0px;
|
min-width: 0px;
|
||||||
width: calc(100vw - 10px);
|
width: 100vw;
|
||||||
max-width: calc(100vw - 10px);
|
max-width: 100vw;
|
||||||
left: 5px !important;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border-left: 1px solid var(--grey30);
|
border-left: 1px solid var(--grey30);
|
||||||
border-right: 1px solid var(--grey30);
|
border-right: 1px solid var(--grey30);
|
||||||
|
Reference in New Issue
Block a user