RAG / static /style.css
Deepakraj2006's picture
Rename style.css to static/style.css
1f3e142 verified
/* Light mode */
body {
background-color: #d6ddec;
color: #121717;
}
/* Dark mode */
.dark-mode {
background-color: #121717;
color: #c9c9c9;
}
#chat-window {
position: relative;
height: 70vh;
overflow: auto;
}
.message-line {
padding-bottom: 8px;
width: 70%;
word-break: break-word;
display: flex;
}
.message-box {
padding: 12px;
border-radius: 15px;
display: inline-block;
position: relative;
background-color: #efefef;
min-width: 26px;
border-top-left-radius: 0;
word-wrap: break-word;
flex-grow: 0;
}
.message-line.my-text {
flex-direction: row-reverse;
width: 100%;
}
.message-box.my-text {
transform: rotateY(180deg);
background-color: #e7f9d8;
margin-left:150px;
}
.me {
transform: scale(-1, 1);
}
.message-box.my-text.dark {
background-color: #0f4c9e;
}
.message-box.dark {
background-color: #263443;
}
/* Input container */
#message-input {
bottom: 0;
width: 100%;
flex-grow: 1;
font-size: 16px;
box-sizing: border-box;
border: none;
padding: 10px 0 10px 12px;
border-radius: 40px 0 0 40px;
background-color: transparent;
height: auto;
}
#send-button {
border: none;
font: inherit;
background-color: transparent;
margin: 0;
appearance: none;
padding: 10px 12px;
cursor: pointer;
font-size: 24px;
display: flex;
}
#reset-button {
border: none;
font: inherit;
background-color: transparent;
margin: 0;
appearance: none;
padding: 10px 12px;
cursor: pointer;
font-size: 24px;
display: flex;
}
#repeat-button {
border: none;
background-color: transparent;
margin: 0 0 2px 0;
padding: 0 10px;
font-size: 24px;
}
.input-group {
position: relative;
display: flex;
flex-wrap: nowrap;
align-items: stretch;
width: 100%;
border-radius: 40px;
border: 1px solid #2d2d2d;
}
#upload-button {
color: white;
background-color: #007bff;
border: none;
padding: 5px 10px;
border-radius: 5px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-top: 12px;
}
#upload-button:hover {
background-color: #0056b3;
}
.send i {
display: block;
width: 25px;
color: #125ee5;
}
.reset i {
display: block;
width: 25px;
color: #125ee5;
}
.loading-animation {
padding-bottom: 8px;
word-break: break-word;
display: none;
width: 70%;
}
.loading-animation.my-loading {
flex-direction: row-reverse;
width: 100%;
}
.loading-dots {
padding: 12px;
border-radius: 15px;
position: relative;
background-color: #efefef;
min-width: 26px;
border-top-left-radius: 0;
display: flex;
justify-content: center;
align-items: baseline;
width: fit-content;
}
.loading-dots.my-loading {
transform: rotateY(180deg);
background-color: #e7f9d8;
float: right;
}
.dot {
width: 7px;
height: 7px;
margin: 0 2px;
border-radius: 50%;
animation: bounce 1.5s ease-in-out infinite;
background: #5a5a5a;
}
.loading-dots.my-loading.dark {
background-color: #0e4d9e;
}
.dark {
background-color: #263443;
}
.dark-dot {
background: #c9c9c9;
}
.dot:nth-of-type(1) {
margin-left: 5px;
animation-delay: 0s;
}
.dot:nth-of-type(2) {
animation-delay: 0.2s;
}
.dot:nth-of-type(3) {
animation-delay: 0.4s;
}
@keyframes bounce {
0%,
40% {
transform: translateY(0);
}
20% {
transform: translateY(-10px);
}
}