Files
SillyTavern/public/style.css
2023-03-03 11:44:11 +09:00

1889 lines
37 KiB
CSS

@charset "UTF-8";
* {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
padding:0;
width: 100%;
height: 100%;
background-color: rgb(36, 37, 37);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-size:15px; /*1rem*/
color: rgb(229, 224, 216);
}
@media screen and (max-width: 450px) {
body {
margin-left: auto;
margin-right: auto;
overflow-x: hidden;
}
}
::-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;
}
::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.7);
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 5px rgb(0 0 0);
border-radius: 5px;
}
@supports (height: 100dvh) {
body {
height: 100dvh;
}
}
.mes_text i {
color: #999;
}
.mes_text em {
color: #999;
}
.mes_text p {
margin-top:0;
margin-bottom: 10px;
}
.mes_text strong {
font-weight: bold;
}
.mes_text h2 {
font-weight: bold;
}
.mes_text h1 {
font-weight: bold;
}
/*.mes_text br {display:none;}*/
code {
padding: 5px;
font-family: Consolas, monospace;
color: #ccc;
white-space: pre-wrap;
word-wrap: break-word;
border: 1px solid #666;
border-radius: 5px;
background-color: rgba(0,0,0,0.5);
display: inline-block;
}
#bg1{
background: url(backgrounds/tavern.png);
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-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{
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: auto min-content;
height: calc(100svh);
/*overflow: auto;*/
overflow-x: hidden;
/*overflow-y: hidden;*/
max-width:800px;
margin-left: auto;
margin-right: auto;
}
#chat {
overflow-x: hidden;
overflow-y: scroll;
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;
}
#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 0 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;
background-size: 26px auto;
background-position: center center;
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;
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: 0;
}
#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:00 5px #000;
text-shadow: #000 0 0 3px;
min-width: 200px;
z-index: 2000;
}
/* Ссылки внутри выпадающего блока */
.options-content hr {
margin:0;
padding:0;
border-top: 1px solid #ffffff11;
}
#right-nav-panel 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: 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: min-content min-content auto;
padding: 10px 10px 0 10px;
vertical-align: top;
width: 100%;
color: rgb(229, 224, 216);
}
.avatar {
width: 50px;
height: 50px;
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:0;
padding-left: 10px;
}
.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%;
resize: vertical;
display: block;
background-color: rgba(0,0,0,0.3);
outline: none;
border: 1px solid rgba(255,255,255,0.5);
border-radius: 10px;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
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: break-word;
height: 40px;
resize: vertical;
display: block;
background-color: rgba(255,0,0,0);
border:0;
box-shadow: none;
padding:6px 0 6px 0;
font-family: "Noto Sans", "Noto Color Emoji", 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:0;
}
#character_name_pole{
width: 92%;
}
#firstmessage_textarea{
width: 92%;
height: 140px;
margin-top:0;
}
.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;
color: #ffffffaa;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-size: 11pt;
padding: 7px;
width:90%;
margin-bottom:5px;
}
.right_menu{
max-height: 90vh;
padding: 0 20px;
}
.right_menu h3 {
margin:0;
padding:0;
margin-left: 10px;
}
.right_menu h4 {
margin:0;
padding:0;
margin-left: 10px;
margin-bottom: 1px;
}
.right_menu h5 {
color: #757575;
margin:0;
padding:0;
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 #666;
border-radius: 3px;
background-color: 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-nav-panel-tabs{
margin-top:10px;
margin-bottom:10px;
width: calc(100% - 70px);
margin-left:20px;
margin-right:30px;
}
.right_menu_button{
display:inline-block;
cursor:pointer;
vertical-align:middle;
text-align: center;
padding-right: 20px;
font-size:1.5rem;
margin-top: 0;
filter: grayscale(1) brightness(75%);
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.right_menu_button:hover {
filter: brightness(150%) grayscale(1);
}
#rm_button_panel_pin_div {
height: 20px;
width: 20px;
margin-top: 0;
margin-right: 0;
float: right;
}
#rm_button_panel_pin {
/*position: absolute;
right: 13px;
top: 12px;*/
padding:0;
margin:0;
cursor: pointer;
height: 0;
width: 0;
z-index: 3001;
}
#rm_button_panel_pin:hover::after {
filter: grayscale(1) brightness(150%);
}
#rm_button_panel_pin::after {
content: '\01F513';
position: absolute;
filter: grayscale(1);
line-height: 20px;
font-size: 15px;
padding: 0;
text-align: center;
vertical-align: middle;
display: inline-block;
width: 20px;
height: 20px;
margin-top: -25px;
margin-left: 0;
background: rgba(0, 0, 0, 0.3);
color: #666;
-webkit-transition: all 0.275s;
transition: all 0.275s;
}
#rm_button_panel_pin:checked::after {
content: '\01F512'; /*closed lock emoji*/
line-height: 20px;
font-size: 15px;
}
#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: 15px;
color: rgba(188, 193, 200, 1);
border: 1px solid #333;
background-color: rgba(0,0,0,0.3);
padding:5px;
border-radius: 10px;
}
#rm_button_create h2{
margin-top: auto;
margin-bottom: auto;
font-size: 15px;
color: rgba(188, 193, 200, 1);
border: 1px solid #333;
background-color: rgba(0,0,0,0.3);
padding:5px;
border-radius: 10px;
}
#characloud_url{
margin-right: 0px;
margin-top: 0;
float: right;
cursor: pointer;
border: 1px solid rgba(255,255,255,0.3);
background-color: rgba(0,0,0,0.3);
border-radius: 10px;
padding: 5px;
opacity: 0.5;
}
#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;
padding-bottom: 10vh;
overflow-y: auto;
}
#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;
height: 2.5rem;
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;
}
#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 .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;
}
/*LEFT SIDE BG MENU*/
#logo_block{
margin-top: 10px;
height:26px;
z-index:2000;
}
#bg_menu{
margin-top:0;
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;
}
#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:0;
opacity: 0.0;
cursor:auto;
display: block;
width: 122px;
height:0;
backdrop-filter: brightness(30%) blur(10px);
-webkit-backdrop-filter: blur(10px) brightness(30%);
overflow: hidden;
}
.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;
display: grid;
grid-template-columns: min-content min-content;
align-items:center;
}
.avatar_div .avatar{
margin-left: 4px;
display: inline-block;
}
.add_avatar_button_label{
display: inline-block;
margin-left: 15px;
color: #666;
background-color: rgba(0,0,0,0.3);
border: 1px solid rgba(255,255,255,0.5);
padding: 5px;
border-radius: 5px;
cursor: pointer;
height: min-content;
}
#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;
margin-bottom: 30px;
color: red;
font-size: 1rem;
}
#export_button{
opacity: 0.7;
cursor: pointer;
margin-top: 25px;
margin-left: 10px;
margin-bottom:30px;
color: #fff;
font-size: 1rem;
}
#result_info{
margin-left: 10px;
color: #ffffff33;
}
.input-file {
display: block;
}
/* SUSPECTED DISUSED STYLE*/
/*
.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] {
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:0;
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_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;
}
/* STLYES FOR THE CHAT MESSAGE DELETION CHECKBOXES */
/* --------------------------------------------------------------------------------------*/
/* checkboxes default to being hidden unless called by the delete mesasges option menu button, which uses JS to force them to be display:block*/
.del_checkbox{
display: none;
opacity: 0.7;
margin-top:12px;
margin-right:12px;
}
/*this hides the replacement for input form until Delete Messages mode is called*/
#dialogue_del_mes{
display: none;
}
/*this is the default-shown div that is shown when message-deletion mode is NOT on, and hidden when JS calls message deletion mode*/
.for_checkbox{
display: block;
}
input[type='checkbox']:not(#nav-toggle):not(#rm_button_panel_pin) {
-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*/
}
/* the checkbox starts with a size 0 background of a checkmark */
input[type='checkbox']:not(#nav-toggle):not(#rm_button_panel_pin)::after {
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: 0.25s ease-in-out;
transition: 0.25s ease-in-out;
background-image: url("data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQ0OCIgaGVpZ2h0PSI0NDgiIHZpZXdCb3g9IjAgMCA0NDggNDQ4Ij4KPHRpdGxlPjwvdGl0bGU+CjxnIGlkPSJpY29tb29uLWlnbm9yZSI+CjwvZz4KPHBhdGggZD0iTTQxNy43NSAxNDEuNWMwIDYuMjUtMi41IDEyLjUtNyAxN2wtMjE1IDIxNWMtNC41IDQuNS0xMC43NSA3LTE3IDdzLTEyLjUtMi41LTE3LTdsLTEyNC41LTEyNC41Yy00LjUtNC41LTctMTAuNzUtNy0xN3MyLjUtMTIuNSA3LTE3bDM0LTM0YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsNzMuNSA3My43NSAxNjQtMTY0LjI1YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsMzQgMzRjNC41IDQuNSA3IDEwLjc1IDcgMTd6Ij48L3BhdGg+Cjwvc3ZnPgo=");
}
/* when the checkbox is checked, the background image is grown to normal size to fill the background of the 'checkbox'*/
input[type='checkbox']:not(#nav-toggle):not(#rm_button_panel_pin):checked::after {
-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: rgba(0,0,0,0.3);
}
#user_avatar_block{
margin-left: 6px;
display: grid;
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:0;
}
#amount_gen{
margin-left: 10px;
margin-bottom: 20px;
}
#amount_gen_counter{
margin-bottom:0;
}
#max_context{
margin-left: 10px;
margin-bottom: 20px;
}
#max_context_counter{
margin-bottom:0;
}
#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-size: 70% 100%;
background-repeat: no-repeat;
}
#rm_api_block h4{
opacity: 0.85;
}
#right-nav-panel h5 a{
color: #936f4a;
}
#right-nav-panel h5 a:hover{
color: #998e6b;
}
#right-nav-panel h4 a{
color: #936f4a;
}
#right-nav-panel 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 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{
float:right;
color: rgba(255,255,255,0.3);
cursor:pointer;
margin-right: 4px;
transition: 0.3s ease-in-out;
height:20px;
width:20px;
}
.mes_edit:after {content: "\270e";} /*unicode pencil*/
.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;
margin-right: 4px;
cursor:pointer;
opacity:0.5;
}
.mes_edit_cancel img{
width: 23px;
height: 23px;
}
.edit_textarea{
padding:0;
margin:0;
border: none;
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: 15px;
line-height:1.25rem;
}
#your_name_button {
cursor: pointer;
color: #fff;
opacity: 0.7;
padding: 10px;
margin: 10px;
font-size: 1rem;
height: 2.5rem;
transition: 0.3s;
}
#your_name_button:hover{background-color:green;}
#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;
height:20px;
vertical-align:middle;
margin: 0;
position: relative;
transition:width 0.1s, height 0.1s, margin 0.1s;
}
label.checkbox :checked + span {
width:20px;
height:20px;
margin:0;
}
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;
align-items: center;
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 rgba(0, 0, 0, 0.5);
padding: 4px;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 0 0 20px 20px;
}
#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:0; */
margin-bottom:0;
margin-left:0;
}
#character_popup h4{
margin-top:0;
margin-bottom:0;
margin-left:0;
}
#character_popup h5{
margin-top:0;
margin-bottom: 3px;
margin-left:0;
color: #757575;
}
#character_popup_text{
margin-left: 36px;
}
#personality_div{
margin-left: 36px;
margin-top: 20px;
}
#personality_textarea{
width: 92%;
/* height: 65px; */
margin-top:0;
margin-left:0;
}
#scenario_div{
padding-top: 10px;
margin-left: 36px;
}
#mes_example_div{
margin-left: 36px;
max-height: 100%;
}
#scenario_pole{
width: 92%;
margin-left:0;
}
#mes_example_textarea{
margin-left: 36px;
width: 88%;
height: 100%;
margin-top:0;
}
#character_popup_ok{
cursor: pointer;
display: none;
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: 800px;
max-height: 70vh;
min-height: 100px;
position: absolute;
z-index: 2066;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
margin-top: 6vh;
box-shadow: 0 0 10px rgb(0 0 0 / 50%);
padding: 10px;
/* padding-top: 50px; */
background-color: rgba(0,0,0,0.7);
border-radius: 20px;
overflow-y: scroll;
}
#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;
overflow-x: hidden;
overflow-y: scroll;
height: min-content;
max-height:100%;
}
#select_chat_div hr{
margin:0;
}
#chat_import_button{
margin-top: 15px;
margin-left: 13px;
cursor:pointer;
}
.select_chat_block{
border-radius: 5px;
margin-right: 10px;
margin-bottom: 10px;
border: 1px solid rgba(255,255,255,0.2);
padding: 5px;
display: grid;
grid-template-columns: min-content auto;
grid-template-rows: auto auto;
grid-gap: 10px;
}
.select_chat_block:hover {
background-color: rgba(255,255,255,0.2);
}
.select_chat_block[highlight]{
background-color: rgba(100,100,255,0.3);
}
.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;
}
#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 */
p {
margin-bottom: 16px;
margin-top:0;
}
hr {
margin: 22px 0;
height: 1px;
border: 0;
background-image: -webkit-linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
background-image: -moz-linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
background-image: -ms-linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
h1 {
font-size: 2rem;
line-height: 32px;
margin-bottom: 22px;
font-weight: 300;
}
h2 {
font-size: 1.5rem;
line-height: 1.5rem;
margin-top: 5px;
margin-bottom: 22px;
font-weight: 300;
}
.right_menu_button h2 {
margin-top: 0;
margin-bottom: 0;
font-size: 1.25rem;
}
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;
margin: 6px;
white-space: normal;
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;
background-color: transparent;
}
.btn-secondary {
border: 2px solid #00C851;
color: #007E33;
background-color: transparent;
}
/* ############################################################# */
/* Right nav panel and nav-toggle */
/* ############################################################# */
#right-nav-panel{
width: 450px;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
margin: 0;
right: -450px;
padding:0;
-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;
white-space:nowrap;
border-left: 1px solid rgba(0,0,0,0.3);
}
@media screen and (max-width: 450px) {
#right-nav-panel{
width: 100%;
box-shadow: none;
}
}
#nav-toggle {
position: absolute;
right: 13px;
top: 12px;
padding:0;
margin:0;
cursor: pointer;
height: 0;
width: 0;
z-index: 3001;
}
#nav-toggle:hover::after {
color: #f4f4f4;
}
#nav-toggle::after {
content: '\2630';
line-height: 30px;
font-size: 2em;
padding: 0;
text-align: center;
vertical-align: middle;
display: inline-block;
width: 30px;
height: 30px;
margin-top: -8px;
margin-left: -24px;
border: 1px solid #666;
border-radius: 5px;
background: rgba(0, 0, 0, 0.3);
color: #666;
-webkit-transition: all 0.275s;
transition: all 0.275s;
}
#nav-toggle:checked::after {
content: '\2715';
line-height: 30px;
font-size: 2em;
}
/* this affects the #right-nav-panel div ONLY WHEN the nav-toggle checkbox is checked*/
/* the #right-nav-panel is moved to the right edge of the screen*/
/* this is what causes the panel movement */
#nav-toggle:checked ~ #right-nav-panel{
right:0;
box-shadow: -5px 0 10px 0 rgba(0, 0, 0, 0.50);
overflow-y: auto;
}