rum-goggles/v1/frontend/src/components/ChatBot.css

360 lines
6.4 KiB
CSS
Raw Normal View History

2024-05-02 19:30:25 +00:00
.chatbot {
background-color: #344453;
display: flex;
flex-direction: column;
height: 100%;
min-width: 500px;
width: 100%;
}
.chatbot-header {
align-items: center;
border-bottom: 1px solid #061726;
box-sizing: border-box;
display: flex;
flex-direction: row;
min-height: 55px;
justify-content: space-between;
padding: 10px 20px;
width: 100%;
}
.chatbot-header-button {
align-items: center;
background-color: #344453;
border: none;
display: flex;
justify-content: center;
padding-left: 10px;
padding-right: 0px;
}
.chatbot-header-button:hover {
cursor: pointer;
}
.chatbot-header-button-icon {
height: 24px;
width: 24px;
}
.chatbot-header-left {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.chatbot-header-icon {
height: 28px;
width: 28px;
padding-right: 10px;
}
.chatbot-header-icon-back {
height: 28px;
width: 28px;
}
.chatbot-header-icon-back:hover {
/* background-color: #415568; */
cursor: pointer;
}
.chatbot-header-right {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.chatbot-header-title {
color: #eee;
font-family: sans-serif;
font-size: 20px;
font-weight: bold;
max-width: 250px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chatbot-list {
display: flex;
flex-direction: column;
height: 100%;
overflow-y: auto;
padding: 0px 10px;
}
.chatbot-list-button {
align-items: center;
background-color: #344453;
border: none;
border-radius: 3px;
display: flex;
justify-content: start;
padding: 15px 10px;
width: 100%;
}
.chatbot-list-button:hover {
background-color: #415568;
cursor: pointer;
}
.chatbot-list-item {
}
.chatbot-list-item-name {
color: #eee;
display: inline-block;
font-family: sans-serif;
font-size: 18px;
font-weight: bold;
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
/* width: 100%; */
}
.chatbot-modal-form {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
}
.chatbot-modal-input {
background-color: #061726;
border: none;
border-radius: 5px;
box-sizing: border-box;
color: white;
font-family: monospace;
font-size: 16px;
outline: none;
padding: 10px;
resize: none;
width: 100%;
}
.chatbot-modal-label {
color: white;
font-family: sans-serif;
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
margin-top: 10px;
width: 100%;
}
.chatbot-modal-label-warning {
color: #f23160;
font-family: sans-serif;
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
margin-top: 10px;
width: 100%;
}
.chatbot-modal-description {
color: #eee;
font-family: sans-serif;
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
margin-top: 10px;
text-align: center;
width: 100%;
}
.chatbot-modal-description-warning {
color: #f23160;
font-family: sans-serif;
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
margin-top: 10px;
text-align: center;
width: 100%;
}
.chatbot-modal-pages {
background-color: white;
/* border: 1px solid #D6E0EA; */
border-radius: 5px;
height: 100%;
overflow: auto;
width: 80%;
}
.chatbot-modal-page {
align-items: center;
display: flex;
}
.chatbot-modal-page-selected {
background-color: #85c742;
}
.chatbot-modal-page-button {
background-color: white;
border: none;
border-radius: 5px;
color: #061726;
font-family: sans-serif;
font-size: 18px;
font-weight: bold;
overflow: hidden;
padding: 10px 10px;
text-align: left;
white-space: nowrap;
width: 100%;
}
.chatbot-modal-page-button:hover {
background-color: #85c742;
cursor: pointer;
}
.chatbot-modal-setting {
align-items: center;
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
padding-top: 10px;
width: 100%;
}
.chatbot-modal-setting-description {
color: #eee;
font-family: sans-serif;
font-size: 16px;
}
.chatbot-modal-textarea {
border: none;
border-radius: 5px;
box-sizing: border-box;
font-family: monospace;
font-size: 16px;
outline: none;
padding: 10px;
resize: none;
width: 100%;
}
.chatbot-modal-toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.chatbot-modal-toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.chatbot-modal-toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #495a6a;
-webkit-transition: .4s;
transition: .4s;
}
.chatbot-modal-toggle-slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
.choose-file {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
}
.choose-file-button-box {
min-width: 100px;
width: 100px;
}
.choose-file-button {
background-color: #85c742;
border: none;
border-radius: 5px;
color: #061726;
cursor: pointer;
font-size: 16px;
text-decoration: none;
/* width: 200px; */
width: 100%;
}
.choose-file-path {
color: #eee;
font-family: monospace;
font-size: 16px;
overflow: scroll;
margin-left: 5px;
white-space: nowrap;
}
input:checked + .chatbot-modal-toggle-slider {
background-color: #85c742;
}
input:checked + .chatbot-modal-toggle-slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.chatbot-modal-toggle-slider.round {
border-radius: 34px;
}
.chatbot-modal-toggle-slider.round:before {
border-radius: 50%;
}
.timer-input {
border: none;
border-radius: 34px;
box-sizing: border-box;
font-family: monospace;
font-size: 24px;
outline: none;
padding: 5px 10px 5px 10px;
text-align: right;
}
.timer-input-zero::placeholder {
text-align: center;
}
.timer-input-value::placeholder {
color: black;
opacity: 1;
text-align: center;
}