You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
1.7 KiB
CSS

/* 基础样式 */
body {
background-color: #282c34;
color: white;
margin: 0;
padding: 0;
}
.chat-container {
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
}
#chat-box {
flex: 1;
overflow-y: auto;
padding: 10px;
border-bottom: 1px solid #444;
}
.user,
.ai {
align-self: flex-end;
color:#000000;
margin: 7px 3px;
padding: 7px;
border-radius: 10px;
font-size: 14px;
}
.user {
background-color: #717a76;
}
.ai {
background-color: #7a7575;
}
.context-area {
background-color: #3e4451;
padding: 10px;
border: 1px solid #61afef;
border-radius: 4px;
margin: 10px;
display: flex;
align-items: center;
justify-content: space-between;
}
#add-context-btn {
background-color: transparent;
border: none;
color: #61afef;
cursor: pointer;
font-size: 16px;
}
.context-options {
display: flex;
align-items: center;
}
.context-options span,
.context-options select,
.context-options label {
margin-right: 10px;
}
.keybinds {
font-size: 12px;
color: #abb2bf;
}
#chat-form {
display: flex;
padding: 10px;
background-color: #282c34;
border-top: 1px solid #444;
}
#user-input {
flex: 1;
padding: 10px;
border: none;
background-color: #3e4451;
color: white;
font-size: 14px;
outline: none;
}
#chat-form button {
padding: 10px;
background-color: #61afef;
color: white;
border: none;
cursor: pointer;
margin-left: 10px;
}
#loading {
text-align: center;
padding: 10px;
background-color: #3e4451;
color: white;
border: 1px solid #61afef;
border-radius: 4px;
margin: 10px;
}
.hidden {
display: none;
}