Files
SillyTavern/public/style.css
RossAsscends 29623350bd submenu stylings
- made send3.png opaque and adjusted opacity with CSS
- removed redundant backdrop blur on from <body>
- removed redundant backdrop blur from bg1 and bg2 (they now only self-blur)
- made "Connect" button on both API panels larger for mobile screens, and added :hover coloring
- made character 'export' and 'delete' buttons larger and further apart to decrease likeliness of mis-clicks, especially on phone screens.
- adjusted send_form opacity/background stylings to allow #options to perform blur effect
- added <br> after novel API URL input to match KoboldAI form style
- cleaned up #options_content and added styling
2023-02-27 00:19:51 +09:00

2167 lines
42 KiB
CSS

@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300&subset=latin,cyrillic);
@font-face {
font-family: "My Custom Font";
src: url(fonts/Comic_CAT.otf) format("truetype");
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
}
.customfont {
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
}
body {
margin: 0;
background-color: rgb(36, 37, 37);
background-size: auto 100%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
/*backdrop-filter: blur(2px);*/
/*-webkit-backdrop-filter: blur(2px);*/
scrollbar-width: thin;
scrollbar-color: gray #191b31;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif; /*add in custom font universally */
font-size:1rem;
color: rgb(229, 224, 216);
-webkit-font-smoothing: antialiased;
}
.mes_text i {
color: #999 !important;
}
.mes_text em {
color: #999 !important;
}
.mes_text p {
margin-top: 0px;
margin-bottom: 8px;
}
.mes_text strong {
font-weight: bold;
}
.mes_text h2 {
font-weight: bold;
}
.mes_text h1 {
font-weight: bold;
}
code {
background-color: #a8a8a8;
padding: 5px;
font-family: Consolas, monospace;
color: #333;
white-space: pre-wrap;
word-wrap: break-word;
}
#bg1{
background: url(backgrounds/tavern.png);
background-size: auto 100%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
filter: blur(2px);
position: absolute;
width: 100%;
height: 100%;
z-index: -2;
}
#bg2{
background: url(backgrounds/tavern.png);
background-size: auto 100%;
background-repeat: no-repeat;
background-attachment: fixed;
filter: blur(2px);
background-size: cover;
opacity: 0.0;
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
/*TOPPER margin*/
#top-bar{
content: "BLANK SPACE";
width:100vw;
display: inline-block;
height:40px;
position:fixed;
color:rgba(0,0,0,.3);
border-bottom:1px solid rgba(0,0,0,.6);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
z-index:2001;
}
#sheld {
display: grid;
grid-template-rows: [chat] auto [inputform] min-content;
height: calc(100svh);
/*overflow: auto;*/
overflow-x: hidden;
/*overflow-y: hidden;*/
max-width:800px;
margin-left: auto;
margin-right: auto;
}
#chat {
scrollbar-width: thin;
overflow: hidden;
overflow-y: scroll;
border-bottom: 1px solid #333;
margin-top:40px;
border-bottom:1px solid rgba(0,0,0,.3);
border-left:1px solid rgba(0,0,0,.3);
border-right:1px solid rgba(0,0,0,.3);
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
/*border-radius: 0 0 40px 40px;*/
text-shadow: #000 0 0 3px;
}
::-webkit-scrollbar {
width: 0.6em;
}
::-webkit-scrollbar-track {
/*background-color: rgba(0,0,0,0.5);
-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);*/
-webkit-border-radius: 10px;
border-radius: 10px;
}
#chat::-webkit-scrollbar-track {
/*margin-bottom: 30px;*/
}
::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.7);
border-radius: 1px;
box-shadow: inset 2px 2px 2px rgb(0 0 0 / 10%);
-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 50%);
border-radius: 5px;
}
#form_sheld {
white-space:nowrap;
width:100%;
margin: 1px auto 10px auto;
}
#send_form {
display: grid;
align-items: center;
grid-template-columns: 40px auto 40px;
width: 100%;
margin: 0 auto 0 auto;
border: 1px solid rgba(0,0,0,.5);
/*backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);*/
border-radius: 0 0px 20px 20px;
background-color:rgba(100,0,0,0.7);
}
#send_but_sheld {
padding: 0;
border: 0;
height: 40px;
/* width: 40px; */
position: relative;
/* border-radius: 0 40px 40px 0; */
/* background-color: rgba(0,0,0,.3); */
background-position: center;
/* display: grid; */
/* vertical-align: middle; */
/* padding-top: 377%; */
}
#send_but{
width: 40px;
height: 40px;
margin: 0;
display: none;
padding:1px;
background: url('img/send3.png') no-repeat top left;
background-size: 26px auto;
background-position: center center;
outline: none;
outline: none;
border: none;
cursor: pointer;
transition: 0.3s;
filter:brightness(0.5);
}
#send_but:hover {
filter:brightness(150%);
}
#loading_mes{
display: none;
width: 40px;
height: 40px;
margin: 0 auto;
/*margin-left: 2px;*/
background: url('img/load.svg') no-repeat top left;
background-size: 26px 26px;
background-position: center center;
}
#options_button {
position: relative;
display: inline;
color: rgba(255,255,255,0.5);
cursor: pointer;
font-size: 1rem;
line-height: 1rem;
height: 40px;
width: 40px;
z-index: 2001;
-webkit-transition: color .25s ease-in-out;
-moz-transition: color .25s ease-in-out;
transition: color .25s ease-in-out;
padding-left: 10px;
padding-top: 10px;
}
#options_button:after {
content: '\2630'; /*uses a unicode symbol for hamburger menu icon */
text-decoration: none;
font-size: 1.5rem;
}
#options_button:hover {
color: #fff;
}
#options{
opacity: 0.0;
display: none;
bottom: 200px; /*sets vertical position of the options menu to the left of input bar */
position: relative;
z-index:1990;
}
.options-content {
overflow: hidden;
display: block;
position: absolute;
backdrop-filter: brightness(0.3) blur(10px);
-webkit-backdrop-filter: brightness(0.3) blur(10px);
border: 1px solid #666;
border-radius: 15px;
box-shadow: 0px 0px 5px #000;
text-shadow: #000 0 0 3px;
min-width: 200px;
z-index: 2000;
}
/* Ссылки внутри выпадающего блока */
.options-content hr {
margin: 0px;
padding: 0px;
border-top: 1px solid #ffffff11;
}
.nav hr{
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}
.options-content a {
color: color: rgb(229, 224, 216);
padding: 12px 16px;
text-decoration: none;
display: block;
}
.options-content img {
/* opacity: 0.5; */
margin-right: 10px;
height: 1.25rem;
vertical-align: middle;
}
.options-content span {vertical-align:middle;}
/* Изменяем цвет ссылки при наведении */
.options-content a:hover {
background-color: #333;
}
.mes {
display: grid;
grid-template-columns: fit-content(60px) 60px auto;
/* border-radius: 5px; */
padding: 10px;
padding-left: 15px;
vertical-align: top;
width: 100%;
color: rgb(229, 224, 216);
/* margin-bottom: 26px;*/
}
.avatar {
width: 60px;
height: 60px;
border-style:none;
}
.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
border-radius: 50%;
border: 1px solid rgba(0,0,0,0.3);
box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.mes_block{
padding-top: 0px;
padding-left: 20px;
}
.ch_name{
font-weight:bolder;
}
.mes_text{
font-weight:400;
line-height:1.25rem;
padding-right: 40px;
padding-left: 5px;
padding-top:5px;
padding-bottom:5px;
max-width: 720px;
word-wrap: break-word;
animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}
.mes_text::after {
content: "▋";
animation: blink 1s steps(1) infinite;
opacity: 0.7;
display: none;
}
@keyframes blink {
60% {
visibility: hidden;
}
}
br {
display: block;
margin: 3px 0;
}
textarea{
width: 100%;
font-size: 11pt;
resize: vertical;
display: block;
background-color: rgba(0,0,0,0.3);
outline: none !important;
border: 1px solid rgba(255,255,255,0.5);
border-radius: 10px;
box-shadow: 0 0 2px rgb(0 0 0 / 50%);
padding: 10px;
color: #cacaca;
font-size: 15px;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
margin-left: 10px;
margin-top: 10px;
}
#send_textarea{
font-size: 1rem;
line-height: 1.5rem;
min-height: calc(1.5em + 0.75rem + 2px);
max-height: 50vh;
word-wrap: breakword;
height: 40px;
resize: vertical;
display: block;
background-color: rgba(255,0,0,0);
border:0;
box-shadow: none !important; /*0 0 0px rgb(200 200 200 / 50%);*/
padding:6px 0 6px 0;
font-family: "Noto Sans", sans-serif;
margin: 0;
text-shadow: #000 0 0 3px;
}
#send_textarea::placeholder{color:#ccc}
#rm_ch_create_block textarea {
font-size: 15px;
}
#description_textarea{
width: 92%;
height: 200px;
margin-top: 0px;
}
#character_name_pole{
width: 92%;
}
#firstmessage_textarea{
width: 92%;
height: 140px;
margin-top: 0px;
}
.text_pole{
border:1px solid rgba(255,255,255,0.3);
border-radius:15px;
background-color: rgba(0,0,0,0.3);
margin-left: 10px;
padding: 10px;
color: #ffffffaa;
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-size: 18px;
size: 10;
font-size: 11pt;
padding: 7px;
}
.right_menu{
/*
max-height: 86%;
overflow: hidden;
overflow-y: auto;
scrollbar-width: thin;
*/
max-height: 90vh;
overflow: hidden;
overflow-y: hidden;
scrollbar-width: thin;
}
.right_menu h3 {
margin: 0px;
padding: 0px;
margin-left: 10px;
}
.right_menu h4 {
margin: 0px;
padding: 0px;
margin-left: 10px;
margin-bottom: 1px;
}
.right_menu h5 {
color: #757575;
margin: 0px;
padding: 0px;
margin-left: 10px;
margin-bottom: 5px;
font-size:0.75rem;
}
input:focus, textarea:focus, select:focus{
outline: none;
}
input::file-selector-button {
font-weight: bold;
color: #fff;
padding: 0.5em;
border: 1px solid yellow; /*#666;*/
border-radius: 3px;
background-color: red; /*rgba(0,0,0,0.3);*/
cursor: pointer;
}
input[type="file"] {
display: none;
}
input[type=submit] {
font-weight: bold;
color: #fff;
padding: 0.5em;
border: 1px solid #666;
border-radius: 3px;
background-color: rgba(0,0,0,0.3);
}
input[type=button] {
font-weight: bold;
color: #fff;
padding: 0.5em;
border: 1px solid #666;
border-radius: 3px;
background-color: rgba(0,0,0,0.3);
}
.right_menu_button{
display:inline-block;
cursor:pointer;
vertical-align:middle;
text-align: center;
padding-left: 4px;
padding-right: 4px;
margin-top:0px;
}
#character_import_button{
cursor: pointer;
display: inline-block;
/*margin-left: 15px;/* 274px; */
/*margin-top: 6px;/* 10px; */
}
#character_import_button h2{
margin-top: auto;
margin-bottom: auto;
font-size: 17px;
color: rgb(188, 193, 200, 1);
border: 1px solid #333;
background-color: rgba(0,0,0,0.3);
padding:6px;
border-radius: 10px;
}
#rm_button_create h2{
margin-top: auto;
margin-bottom: auto;
font-size: 17px;
color: rgb(188, 193, 200, 1);
border: 1px solid #333;
background-color: rgba(0,0,0,0.3);
padding:6px;
border-radius: 10px;
}
#characloud_url{
margin-right: 10px;
margin-top: 0px;
float: right;
cursor: pointer;
display: inline-block;
border: 1px solid rgba(255,255,255,0.3);
background-color: rgba(0,0,0,0.3);
border-radius: 10px;
padding: 6px;
opacity: 50%;
}
#characloud_url img {
width: 25px;
height: auto;
display:inline-block;
opacity:0.7;
}
#characloud_url div {
vertical-align: top;
display:inline-block;
}
#rm_print_characters_block {
margin-top: 15px;
height: 90vh;
padding-bottom: 10vh !important;
overflow-y: auto;
}
}
.right_menu_button:active {
color:red;
box-shadow: 0 0 5px -1px rgba(0,0,0,0.05);
background-color: rgba(0,0,0,0.05);
}
#rm_ch_create_block{
display: none;
overflow-y: auto;
}
/* ################################################################*/
/* CUSTOMIZE THE DROPDOWN SELECT COLORS FOR RIGHT MENU
/*#################################################################*/
select option { /* works to highlight selected/active option */
background-color: rgba(255,255,255,0.5);
color: rgba(0,0,0,0.8);
}
select option:not(:checked) { /* works to color unselected items */
background-color: rgba(0,0,0,0.8);
color: rgba(255,255,255,0.7);
}
/*#######################################################################*/
#rm_api_block{
display: none;
padding-bottom: 5px;
overflow-y: auto;
}
#api_url_text{
/*margin-right: 4px;*/
display:block;
}
#api_button, #api_button_novel {
cursor: pointer;
color: #fff;
opacity:0.7;
padding: 10px;
margin-left: 10px;
margin-top: 10px;
margin: 10px;
font-size: 1rem;
transition: 0.3s;
}
/*#api_button_novel{
cursor: pointer;
color:#ffffffaa;
}*/
#api_button:hover, #api_button_novel:hover{background-color:green;}
#api_loading{
width: 25px;
height: 25px;
display: none;
}
#api_loading_novel{
width: 25px;
height: 25px;
display: none;
}
/* RossAscends: doubling the API status/form CSS to place it on bottom below SHELD form*/
#api_loading-bottom{
width: 25px;
height: 25px;
display: none;
}
#api_loading_novel-bottom{
width: 25px;
height: 25px;
display: none;
}
#online_status-bottom{
opacity: 0.3;
/*width:100%;*/
bottom: 0px;
left:45px;
display:block;
}
#bottom-status-and-indicator-group{
display:inline-block;
margin-left:45px;
}
#online_status_indicator-bottom{
border-radius: 7px;
width: 14px;
height: 14px;
background-color: red;
display: inline-block;
}
#online_status_text-bottom{
margin-left: 4px;
font-size: 0.75rem;
display: inline-block;
}
#connection-form-bottom{ /*the form*/
float:right;
margin-right:45px;
display:inline-block;
}
#api_url_text-bottom{
font-size: 0.75rem;
padding:1px;
}
#api_button-bottom{
cursor: pointer;
color:#ffffffaa;
font-size:0.75rem;
padding:1px;
}
#api_button_novel-bottom{
cursor: pointer;
color:#ffffffaa;
}
/*RossAscends: done doubling API css*/
#rm_characters_block{
display: block;
/* visibility: hidden; */
}
.character_select{
padding: 5px;
border-radius: 10px;
cursor:pointer;
display: grid;
grid-template-columns: 67px auto;
}
.character_select .avatar{
/*height: 100px;*/
}
.character_select .ch_name{
margin-left: 10px;
margin-top: 5px;
transform: translateY(25%);
}
.character_select:hover{
background-color: #ffffff11;
}
#avatar_url_div{
display: none;
}
#selected_chat_div{
display: none;
}
#create_date_div{
display: none;
}
#last_mes_div{
display: none;
}
#rm_button_selected_ch{
}
/*LEFT SIDE BG MENU*/
#logo_block{
margin-top: 10px;
height:26px;
z-index:2000;
}
#bg_menu{
margin-top: 0px;
margin-left: 2px;
cursor:pointer;
position: absolute;
z-index: 2050;
-webkit-user-select: none;
-webkit-touch-callout: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
/*backdrop-filter: brightness(0.3) blur(20px);
-webkit-backdrop-filter: brightness(0.3) blur(20px);*/
}
#site_logo{
opacity: 0.4;
display: inline-block;
width: 130px;
height: 20px;
vertical-align: top;
margin-left: 1px;
}
#update-notification {
height: min-content;
font-size: 0.75rem;
line-height: 0.75rem;
color: orange;
margin-bottom: 5px;
display: inline-block;
top: -50%;
position: relative;
}
#update-notification a {
color:orange;
text-decoration:none;
}
#bg_menu_button{
display: inline-block;
opacity: 0.4;
transition: 0.5s
cursor: pointer;
width: 20px;
/* background: #191b3188; */
text-align: center;
height: 20px;
color: #ffffff88;
}
#bg_menu_button img{
width: 20px;
height: 20px;
margin-bottom: 6px;
}
#bg_menu_content{
margin-top: 5px;
margin-left: 0px;
opacity: 0.0;
cursor:auto;
display: block;
width: 122px;
height: 0px;
backdrop-filter: brightness(30%) blur(10px);
-webkit-backdrop-filter: blur(10px) brightness(30%);
overflow: hidden;
overflow-y: hidden;
scrollbar-width: thin;
scrollbar-color: #ffffff11 #191b3111;
}
/*#bg_menu_content::-webkit-scrollbar-thumb {
background: #ffffff11;
border-radius: 1px;
box-shadow: inset 0.05em 0.05em 0 rgba(0, 0, 0, 0.1), inset 0 -0.05em 0 rgba(0, 0, 0, 0.07);
}*/
.bg_example {
width: 103px;
height: 83px;
border-style: none;
padding: 6px;
/* padding-bottom: 20px; */
position: relative;
margin-left: 3px;
backdrop-filter: blur(1px) brightness(50%);
-webkit-backdrop-filter: blur(1px) brightness(50%);
}
.bg_example_img {
cursor: pointer;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
border-radius: 10px;
}
.bg_example_cross {
width: 12px;
height: 12px;
position: absolute;
float: right;
right: 10px;
top: 10px;
cursor: pointer;
opacity: 0.5;
background-color: black;
border-radius: 2px;
padding: 1px;
}
.bg_example_but_load {
margin-left: 3px;
width: 103px;
height: 83px;
border-style: none;
padding:6px;
padding-bottom:20px;
}
.bg_example_but_load img {
cursor: pointer;
width: 91px;
height: 57px;
object-fit: cover;
object-position: center center;
border-radius: 10px;
opacity: 0.1;
}
#add_bg_button{
margin-bottom: 2px;
}
.avatar_div{
margin-top: 16px;
vertical-align: middle;
}
.avatar_div .avatar{
margin-left: 4px;
display: inline-block;
}
#add_avatar_button{
display: inline-block;
margin-left: 15px;
font-size: 0.75rem;
color: #666;
background-color: rgba(0,0,0,0.3);
border: 1px solid rgba(0,0,0,0.7);
border-radius: 5px;
cursor:pointer;
}
#description_div{
margin-top: 6px;
}
#first_message_div{
margin-top: 20px;
}
#advanced_div{
margin-top: 20px;
cursor: pointer;
}
#create_button{
opacity: 0.8;
margin-left: 9px;
margin-top: 8px;
margin-bottom: 10px;
font-size: 14px;
cursor: pointer;
}
#rm_info_block{
display: none;
width: 100%;
height: 80%;
justify-content: center;
flex-direction: column;
}
#rm_info_panel{
font-size: 20px;
display: block;
text-align: center;
}
#rm_info_button{
width: 100px;
margin-top: 10px;
font-size: 20px;
display: block;
cursor: pointer;
text-align: center;
margin-left: auto;
margin-right: auto;
}
#rm_info_avatar{
width: 69px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
#delete_button{
opacity: 0.7;
cursor: pointer;
display: block;
float: right;
margin-top: 25px;
margin-right: 25px;
color: red;
font-size: 1rem;
}
#export_button{
opacity: 0.7;
cursor: pointer;
display: inline;
margin-top: 25px;
margin-left: 10px;
color: #fff;
font-size: 1rem;
}
#result_info{
margin-left: 10px;
size: 10px;
color: #ffffff33;
}
.input-file {
display: block;
}
.input-file-btn {
position: relative;
display: inline-block;
cursor: pointer;
outline: none;
text-decoration: none;
font-size: 14px;
vertical-align: middle;
color: rgb(255 255 255);
text-align: center;
border-radius: 4px;
background-color: rgba(0,0,0,0.3);
line-height: 22px;
height: 40px;
width:89px;
padding: 10px 20px;
box-sizing: border-box;
border: none;
margin: 0;
transition: background-color 0.2s;
}
.input-file input[type=file] {
/* position: absolute; */
z-index: -1;
opacity: 0;
display: block;
width: 0;
height: 0;
}
#form_bg_download{
margin-bottom: 2px;
backdrop-filter: brightness(30%) blur(20px);
-webkit-backdrop-filter: brightness(30%) blur(20px);
}
/* Focus */
#colab_popup{
width:300px;
height: 150px;
position: absolute;
z-index: 2060;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
text-align: center;
margin-top: 36vh;
box-shadow: 0 0 2px rgba(255,0,0,0.5);
padding: 4px;
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
border-radius: 10px;
}
#dialogue_popup{
width:300px;
height: 150px;
position: absolute;
z-index: 2060;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
text-align: center;
margin-top: 36vh;
box-shadow: 0 0 5px 5px rgba(255,0,0,1);
padding: 4px;
background-color: rgba(0,0,0,0.5);
border-radius: 10px;
}
#dialogue_popup_ok{
display: inline-block;
margin-right: 20px;
background-color: #c00;
cursor: pointer;
}
#dialogue_popup_cancel{
display: inline-block;
margin-left: 20px;
cursor: pointer;
}
#dialogue_del_mes{
width: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 4px;
text-align: center;
padding: 0px;
height: min-content;
}
#dialogue_del_mes_ok{ /*changes background of OK button in the deletion menu*/
display: inline-block;
background-color: #c00;
cursor: pointer;
}
#dialogue_del_mes_cancel{
display: inline-block;
cursor: pointer;
}
.menu_button{
font-weight: bold;
color: #fff;
padding: 5px;
border: 1px solid rgba(0,0,0,0.5);
border-radius: 3px;
background-color: rgba(0,0,0,0.5);
}
#dialogue_del_mes .menu_button{
font-weight: bold;
font-size: 1.25rem;
}
#shadow_popup{
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
display: none;
opacity: 0.0;
position: absolute;
width: 100%;
height: 100vh;
z-index: 2095;
}
#colab_shadow_popup{
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
display: none;
opacity: 1.0;
position: absolute;
width: 100%;
height: 100vh;
z-index: 2298;
}
#bgtest{
display: none;
width:100vw;
height: 100vh;
position: absolute;
z-index: -100;
background-color: red;
}
#online_status {
bottom: 48px;
margin-bottom: 0px;
float: right;
right: 3px;
}
#online_status_indicator {
opacity: 0.3;
bottom: 0px;
height: 40px;
width: 40px;
background: red;
border-radius: 50%;
float: right;
display: inline;
}
#send_form:hover #online_status_text {
color:red;
transition:0.3s
}
#send_form:hover #online_status_indicator {
border: 1px solid yellow;
opacity:0.5;
transition:0.3s
}
#online_status_text {
display: inline;
font-size: 0.75rem;
margin-right: 60px;
position: relative;
top: 10px;
text-shadow: 1px 1px 5px black;
color: rgba(255,255,255,0.5);
}
#online_status2{
opacity: 0.5;
margin-top: 2px;
margin-left: 10px;
margin-bottom: 30px;
}
#online_status_indicator2{
border-radius: 7px;
width: 14px;
height: 14px;
background-color: red;
display: inline-block;
}
#online_status_text2{
margin-left: 4px;
display: inline-block;
}
#online_status3{
opacity: 0.5;
margin-top: 2px;
margin-left: 10px;
margin-bottom: 30px;
}
#online_status_indicator3{
border-radius: 7px;
width: 14px;
height: 14px;
background-color: red;
display: inline-block;
}
#online_status_text3{
margin-left: 4px;
display: inline-block;
}
.del_checkbox{
display: none;
opacity: 0.7;
}
#dialogue_del_mes{
display: none;
}
.for_checkbox{
display: block;
}
input[type='checkbox'] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: none;
position: relative;
width: 1.5rem;
height: 1.5rem;
overflow: hidden;
border-radius: 3px;
background-color: white;
box-shadow: inset 0 0 3px 0 rgb(0 0 0 / 80%);
cursor: pointer;
margin-top: 18px; /*odd but this is what aligns it with the character avatar*/
right: 5px; /*and centers it in the checkbox column*/
}
input[type='checkbox']::before {
content: '';
color: #fff;
position: absolute;
top: 4px;
right: 4px;
bottom: 4px;
left: 4px;
background-color: transparent;
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
border-radius: 2px;
-webkit-transform: scale(0);
transform: scale(0);
-webkit-transition: -webkit-transform 0.25s ease-in-out;
transition: -webkit-transform 0.25s ease-in-out;
transition: transform 0.25s ease-in-out;
transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
background-image: url("data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQ0OCIgaGVpZ2h0PSI0NDgiIHZpZXdCb3g9IjAgMCA0NDggNDQ4Ij4KPHRpdGxlPjwvdGl0bGU+CjxnIGlkPSJpY29tb29uLWlnbm9yZSI+CjwvZz4KPHBhdGggZD0iTTQxNy43NSAxNDEuNWMwIDYuMjUtMi41IDEyLjUtNyAxN2wtMjE1IDIxNWMtNC41IDQuNS0xMC43NSA3LTE3IDdzLTEyLjUtMi41LTE3LTdsLTEyNC41LTEyNC41Yy00LjUtNC41LTctMTAuNzUtNy0xN3MyLjUtMTIuNSA3LTE3bDM0LTM0YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsNzMuNSA3My43NSAxNjQtMTY0LjI1YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsMzQgMzRjNC41IDQuNSA3IDEwLjc1IDcgMTd6Ij48L3BhdGg+Cjwvc3ZnPgo=");
}
input[type='checkbox']:checked::before {
-webkit-transform: scale(1);
transform: scale(1);
}
select {
color: rgba(255,255,255,0.7);
padding: 5px 10px;
width:95%;
height: 34px;
margin-left: 3px;
background-color: rgba(0,0,0,0.3);
font-size: 15px;
border: 1px solid rgba(255,255,255,0.5);
border-radius:10px;
margin-top: 5px;
margin-bottom: 45px;
}
#title_api{
margin-left: 3px;
}
#settings_perset{
width:284px;
margin-left: 10px;
margin-bottom: 35px;
color: rgba(255,255,255,0.7);
border-radius:10px;
background-color: rgba(0,0,0,0.3);
box-shadow:none;
}
.option_select_right_menu{
width:284px;
margin-left: 10px;
margin-bottom: 35px;
color: rgba(255,255,255,0.7);
box-shadow: 0 0 2px rgba(0,0,0,0.5);
background-color: rgb(0,0,0,0.3);
}
#user_avatar_block{
margin-left: 6px;
display: grid;
grid-template-columns: repeat(auto-fill);
grid-gap: 10px;
margin-top: 10px;
grid-template-columns: repeat( auto-fit, minmax(60px, 1fr) );
grid-template-rows: min-content;
}
#user_avatar_block .avatar{
cursor: pointer;
width: 60px;
height: 60px;
}
#user_avatar_block .avatar img{
width: 60px;
height: 60px;
}
#temp{
margin-left: 10px;
margin-bottom: 20px;
}
#temp_counter{
margin-bottom: 0px;
}
#amount_gen{
margin-left: 10px;
margin-bottom: 20px;
}
#amount_gen_counter{
margin-bottom: 0px;
}
#max_context{
margin-left: 10px;
margin-bottom: 20px;
}
#max_context_counter{
margin-bottom: 0px;
}
#range_block input{
margin-left: 10px;
margin-bottom: 20px;
}
#range_block_novel input{
margin-left: 10px;
margin-bottom: 20px;
}
input[type="range"] {
-webkit-appearance: none;
margin-right: 15px;
width: 200px;
height: 7px;
background: rgba(255, 255, 255, 0.6);
border-radius: 15px;
/* background-image: linear-gradient(#ff4500, #ff4500); */
background-size: 70% 100%;
background-repeat: no-repeat;
}
#rm_api_block h4{
opacity: 0.85;
}
.nav h5 a{
color: #936f4a;
}
.nav h5 a:hover{
color: #998e6b;
}
.nav h4 a{
color: #936f4a;
}
.nav h4 a:hover{
color: #998e6b;
}
#tips_popup{
width:500px;
height: 600px;
position: absolute;
z-index: 2060;
background-color: blue;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
text-align: center;
margin-top: 15vh;
box-shadow: 5px 5px -5px -5px rgba(200,200,200,0.1);
padding: 4px;
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
border-radius: 10px;
}
#shadow_tips_popup{
display: none;
opacity: 0.0;
position: absolute;
width: 100%;
height: 100vh;
z-index: 2055;
background-color: #00000066;
}
.mes_edit{
display: inline-block;
float:right;
color: rgba(255,255,255,0.3);
cursor:pointer;
margin-right: 4px;
/*opacity:0.07;*/
transition: 0.3s ease-in-out;
height:20px;
width:20px;
}
.mes_edit:after {content: "\270e";}
.mes_edit:hover{color:white;}
.mes_edit_done{
display: none;
float:right;
right:8px;
cursor:pointer;
margin-right: 15px;
opacity:0.5;
}
.mes_edit_done img{
width: 23px;
height: 23px;
}
.mes_edit_cancel{
display: none;
float:right;
/* right:8px; */
margin-right: 4px;
cursor:pointer;
opacity:0.5;
}
.mes_edit_cancel img{
width: 23px;
height: 23px;
}
.edit_textarea{
padding: 0px;
margin: 0px;
border: none;
/* border-radius: 15px;*/
border-color: transparent;
outline: none;
box-shadow: 0 0 3px rgba(255,255,255,0.5);
background-color: rgba(0,0,0,0.3);
font-size: 1rem;
line-height:1.25rem;
}
#your_name_button {
opacity: 0.5;
margin-left: 10px;
cursor: pointer;
}
#form_change_name{
margin-bottom: 15px;
}
.checkbox{
display: block;
}
label.checkbox input[type="checkbox"] {display:none;}
label.checkbox span {
display:inline-block;
border:1px solid #BBBBBB33;
border-radius:3px;
width:20px;
width:20px;
height:20px;
vertical-align:middle;
margin:0px;
position: relative;
transition:width 0.1s, height 0.1s, margin 0.1s;
}
label.checkbox :checked + span {
width:20px;
height:20px;
margin: 0px;
}
label.checkbox :checked + span:after {
content: '\2714';
font-size: 18px;
position: absolute;
top: -3px;
left: 2px;
color: #99a1a7;
}
#anchor_order{
width:284px;
margin-left: 10px;
margin-bottom: 15px;
color: #ffffff9d;
background-color: rgba(0,0,0,0.5);
}
#anchor_checkbox{
margin-left: 10px;
float: left;
display: grid;
grid-template-rows: 30px auto;
grid-template-columns: auto auto;
}
#shadow_character_popup{
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
display: none;
opacity: 1.0;
position: absolute;
width: 100%;
height: 100vh;
z-index: 2058;
}
#character_popup{
display: none;
background-color: rgba(0,0,0,0.3);
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
grid-template-rows: 50px 100px 100px 40px auto 45px 45px;
max-width: 800px;
height: calc(100vh - 50px);
position: absolute;
z-index: 2065;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
margin-top: 40px;
box-shadow: 0 0 2px rgb(0 0 0 / 50%);
padding: 4px;
border: 1px solid rgba(0,0,0,0.3);
border-radius: 0 0 40px 40px;
}
#character_popup h5 a{
color: #936f4a;
}
#character_popup h5 a:hover{
color: #998e6b;
}
#character_popup h4 a{
color: #936f4a;
}
#character_popup h4 a:hover{
color: #998e6b;
}
#character_popup h3{
/* margin-top: 0px; */
margin-bottom: 0px;
margin-left: 0px;
}
#character_popup h4{
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
#character_popup h5{
margin-top: 0px;
margin-bottom: 3px;
margin-left: 0px;
color: #757575;
}
#character_popup_text{
margin-left: 36px;
}
#personality_div{
margin-left: 36px;
margin-top: 20px;
}
#personality_textarea{
width: 92%;
/* height: 65px; */
margin-top: 0px;
margin-left: 0px;
}
#scenario_div{
padding-top: 10px;
margin-left: 36px;
}
#mes_example_div{
margin-left: 36px;
max-height: 100%;
}
#scenario_pole{
width: 92%;
margin-left: 0px;
}
#mes_example_textarea{
margin-left: 36px;
width: 88%;
height: 100%;
margin-top: 0px;
}
#character_popup_ok{
cursor: pointer;
display: none;
place-items: center;
height: 40px;
margin-top: 15px;
margin-left: 36px;
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
width: 110px;
text-align: center;
}
#shadow_select_chat_popup{
display: none;
opacity: 1.0;
position: absolute;
width: 100%;
height: 100vh;
z-index: 2059;
backdrop-filter: blur(10px) brightness(1);
-webkit-backdrop-filter: blur(10px) brightness(1);
}
#select_chat_popup{
display: block;
grid-template-rows: 50px 100px 100px auto 45px;
max-width:450px;
height: 440px;
position: absolute;
z-index: 2066;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
margin-top: 21vh;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
padding: 4px;
background-color: rgba(0,0,0,0.7);
border-radius: 20px;
}
#select_chat_popup a{
color: #936f4a;
}
#select_chat_popup a:hover{
color: #998e6b;
}
#chat_import_button a{
color: #d5c9be;
}
#chat_import_button a:hover{
color: #998e6b;
}
#export_div{
cursor:pointer;
}
#load_select_chat_div{
position: absolute;
bottom: 154px;
left: 174px;
}
#load_select_chat_div img{
width: 80px;
height: 80px;
}
#select_chat_div{
margin-left: 5px;
margin-top: 30px;
scrollbar-width: thin;
/* width: 900px; */
/* height: 80%; */
overflow: hidden;
overflow-y: scroll;
max-width:430px;
height: 350px;
}
#select_chat_div hr{
margin: 0px;
}
#chat_import_button{
margin-top: 15px;
margin-left: 13px;
cursor:pointer;
}
.select_chat_block{
border-radius: 5px;
margin-right: 10px;
cursor:pointer;
display: grid;
grid-template-columns: 60px auto;
grid-template-rows: 26px auto;
}
.select_chat_block:hover {
background-color: #ffffff07;
}
.select_chat_block[highlight]{
background-color: #ffffff09;/* #c2b07a12; */
}
.select_chat_block .avatar{
grid-row: span 2;
}
.select_chat_block_filename{
opacity:0.5;
}
.select_chat_block_mes{
margin-right: 6px;
font-size:0.75rem;
}
.select_chat_block .avatar {
height:30px;
width:30px;
}
#advanced_div{
font-size: 1rem;
background-repeat: no-repeat;
background-size: 28px;
background-position: 92px 5px;
width: 92%;
height: 40px;
margin-left: 10px;
font-weight: bold;
color: #fff;
padding: 0.5em;
border: thin solid rgba(200,200,200,0.2);
border-radius: 3px;
background-color: rgba(0,0,0,0.3);
opacity: 0.7;
/*font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;*/
}
#advanced_book_logo{
width: 35px;
height: 35px;
display: inline-block;
position: absolute;
top:19px;
}
#character_popup_text_h3{
display: inline-block;
margin-left: 38px;
}
#export_character_div{
display: grid;
grid-template-columns: 340px auto;
}
/* css/style.css */
* {
box-sizing: border-box;
}
html {
font-size: 100%;
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
/*body {
color: rgb(229, 224, 216);
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
background-color: #f1f1f1;
}*/
main {
max-width: 1024px;
margin: 0 auto
}
article {
margin: 0 1em;
padding: 0 22px;
-webkit-transition: -webkit-transform .3s;
-moz-transition: : -moz-transform .3s;
transition: transform .3s;
}
header {
margin: 0;
padding: 0;
text-align: center;
}
footer {
font-size: 14px;
text-align: center
}
p {
margin-bottom: 16px;
margin-top:0;
}
hr {
margin: 22px 0;
height: 1px;
border: 0;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
background-image: linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
h1,
h2 {
margin-bottom: 22px;
font-weight: 300;
}
h1 {
font-size: 2rem;
line-height: 32px;
}
h2 {
font-size: 1.5rem;
line-height: 1.75rem;
margin-top: 5px;
}
.right_menu_button h2 {color: rgb(86, 93, 102);}
a {
color: #orange;
text-decoration: none;
}
.btn {
-webkit-border-radius: 10em;
-moz-border-radius: 10em;
-ms-border-radius: 10em;
-o-border-radius: 10em;
border-radius: 10em;
border: 0;
color: #fff!important;
margin: 6px;
white-space: normal!important;
word-wrap: break-word;
display: inline-block;
line-height: 1.25;
text-align: center;
vertical-align: middle;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: .5rem 1rem;
font-size: 1rem;
font-weight: 400;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
}
.btn {
transition: box-shadow .2s ease-out;
}
.btn:hover {
box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
}
.btn-primary {
border: 2px solid #2BBBAD;
color: #00695c!important;
background-color: transparent;
}
.btn-secondary {
border: 2px solid #00C851;
color: #007E33!important;
background-color: transparent;
}
/* Right nav */
.nav {
width: 450px;
/*min-width: 450px;*/
height: 100%;
position: fixed;
top: 0;
bottom: 0;
margin: 0;
right: -450px;
padding: 0px 20px;
-webkit-transition: right 0.14s ease-in-out 0.02s;
-moz-transition: right 0.14s ease-in-out 0.02s;
transition: right 0.14s ease-in-out 0.02s;
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
z-index: 2050;
box-shadow: 0 0 5px rgba(0,0,0,0.5);
white-space:nowrap;
border-left: 1px solid rgba(0,0,0,0.3);
}
.nav-toggle {
border-radius: 5px;
position: absolute;
right: 455px;
top: 5px;
padding: 5px;
backdrop-filter: blur(10px) brightness(0.3);
-webkit-backdrop-filter: blur(10px) brightness(0.3);
border: 1px solid rgba(255,255,255,0.5);
color: rgba(255,255,255,0.5);
cursor: pointer;
font-size: 1.25rem;
line-height: 1rem;
height:30px;
z-index: 2001;
-webkit-transition: color .25s ease-in-out;
-moz-transition: color .25s ease-in-out;
transition: color .25s ease-in-out;
}
.nav-toggle:after {
content: '\2630';
text-decoration: none;
}
.nav-toggle:hover {
color: #f4f4f4;
}
[id='nav-toggle'] {
position: absolute;
display: none;
}
[id='nav-toggle']:checked ~ .nav > .nav-toggle {
left: auto;
right: 5px;
top: 5px;
}
[id='nav-toggle']:checked ~ .nav {
right: 0;
box-shadow: -5px 0px 10px 0px rgba(0, 0, 0, 0.50);
overflow-y: auto;
}
[id='nav-toggle']:checked ~ main > article {
-webkit-transform: translateX(-450px);
-moz-transform: translateX(-450px);
transform: translateX(-450px);
}
[id='nav-toggle']:checked ~ .nav > .nav-toggle:after {
content: '\2715';
}
body {
-webkit-animation: bugfix infinite 1s;
}
@-webkit-keyframes bugfix {
to {
padding: 0;
}
}
@supports (height: 100dvh) {
body {height:100dvh;}
@media screen and (min-width: 450px) {
html,
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
}
@media screen and (max-width: 450px) {
html,
body {
margin-left: auto;
margin-right: auto;
overflow-x: hidden;
}
#sheld {}
.nav {
width: 100%;
box-shadow: none
}
}
.nav > ul {
display: block;
margin: 0;
padding: 0;
list-style: none;
}
.nav > ul > li {
line-height: 2.5;
opacity: 0;
-webkit-transform: translateX(50%);
-moz-transform: translateX(50%);
-ms-transform: translateX(50%);
transform: translateX(50%);
-webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s;
-moz-transition: opacity .5s .1s, -moz-transform .5s .1s;
-ms-transition: opacity .5s .1s, -ms-transform .5s .1s;
transition: opacity .5s .1s, transform .5s .1s;
}
[id='nav-toggle']:checked ~ .nav > ul > li {
opacity: 1;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
.nav > ul > li:nth-child(2) {
-webkit-transition: opacity .5s .2s, -webkit-transform .5s .2s;
transition: opacity .5s .2s, transform .5s .2s;
}
.nav > ul > li:nth-child(3) {
-webkit-transition: opacity .5s .3s, -webkit-transform .5s .3s;
transition: opacity .5s .3s, transform .5s .3s;
}
.nav > ul > li:nth-child(4) {
-webkit-transition: opacity .5s .4s, -webkit-transform .5s .4s;
transition: opacity .5s .4s, transform .5s .4s;
}
.nav > ul > li:nth-child(5) {
-webkit-transition: opacity .5s .5s, -webkit-transform .5s .5s;
transition: opacity .5s .5s, transform .5s .5s;
}
.nav > ul > li:nth-child(6) {
-webkit-transition: opacity .5s .6s, -webkit-transform .5s .6s;
transition: opacity .5s .6s, transform .5s .6s;
}
.nav > ul > li:nth-child(7) {
-webkit-transition: opacity .5s .7s, -webkit-transform .5s .7s;
transition: opacity .5s .7s, transform .5s .7s;
}
.nav > ul > li > a {
display: inline-block;
position: relative;
padding: 0;
font-family: 'Open Sans', sans-serif;
font-weight: 300;
font-size: 1.2em;
color: #dadada;
width: 100%;
text-decoration: none;
-webkit-transition: color .5s ease, padding .5s ease;
-moz-transition: color .5s ease, padding .5s ease;
transition: color .5s ease, padding .5s ease;
}
.nav > ul > li > a:hover,
.nav > ul > li > a:focus {
color: white;
padding-left: 15px;
}
.nav > ul > li > a:before {
content: '';
display: block;
position: absolute;
right: 0;
bottom: 0;
height: 1px;
width: 100%;
-webkit-transition: width 0s ease;
transition: width 0s ease;
}
.nav > ul > li > a:after {
content: '';
display: block;
position: absolute;
left: 0;
bottom: 0;
height: 1px;
width: 100%;
background: #3bc1a0;
-webkit-transition: width .5s ease;
transition: width .5s ease;
}
.nav > ul > li > a:hover:before {
width: 0%;
background: #3bc1a0;
-webkit-transition: width .5s ease;
transition: width .5s ease;
}
.nav > ul > li > a:hover:after {
width: 0%;
background: transparent;
-webkit-transition: width 0s ease;
transition: width 0s ease;
}