|
:root { |
|
--dark-surface: #190e10; |
|
--primary-color: #2b2b2b; |
|
--secondary-color: #03dac6; |
|
--accent-color: #aaabb9; |
|
--text-color: #e0e0e0; |
|
--hover-bg: #3a3a3a; |
|
--transition-speed: 0.3s; |
|
} |
|
|
|
|
|
.error-block { |
|
background-color: #f25e5ecb; |
|
color: var(--text-color); |
|
padding: 0.1rem 1rem; |
|
border-radius: 0.3rem; |
|
margin: 2rem 0; |
|
text-align: left; |
|
} |
|
|
|
|
|
.answer-container { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 2rem; |
|
padding: 1rem; |
|
min-width: 800px; |
|
} |
|
|
|
.answer-block { |
|
position: relative; |
|
padding-left: 45px; |
|
} |
|
|
|
|
|
.message-row { |
|
display: flex; |
|
align-items: flex-start; |
|
} |
|
|
|
|
|
|
|
.user-message { |
|
justify-content: flex-end; |
|
} |
|
|
|
.user-message .message-bubble { |
|
background-color: #FF8C00; |
|
color: #ffffff; |
|
border-radius: 0.35rem; |
|
padding: 0.5rem 1rem; |
|
max-width: 70%; |
|
text-align: left; |
|
} |
|
|
|
.user-message .user-icon { |
|
margin-left: 0.5rem; |
|
} |
|
|
|
.sources-read { |
|
font-weight: bold; |
|
} |
|
|
|
|
|
|
|
.bot-icon { |
|
position: absolute; |
|
left: 0; |
|
top: 0.25rem; |
|
} |
|
|
|
.bot-message { |
|
justify-content: flex-start; |
|
} |
|
|
|
.bot-message .bot-icon { |
|
margin: 0; |
|
} |
|
|
|
|
|
|
|
.bot-container { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 0rem; |
|
} |
|
|
|
.bot-answer-container { |
|
display: flex; |
|
align-items: center; |
|
gap: 0.5rem; |
|
} |
|
|
|
|
|
.bot-container .message-bubble { |
|
background-color: none; |
|
color: var(--text-color); |
|
padding: 0.25rem 1.15rem 1rem 0.1rem; |
|
max-width: 97%; |
|
text-align: left; |
|
} |
|
|
|
|
|
|
|
|
|
.thinking-info { |
|
font-size: large; |
|
font-style: italic; |
|
color: var(--accent-color); |
|
margin-bottom: 1.3rem; |
|
margin-left: 3rem; |
|
} |
|
|
|
.sources-read { |
|
font-weight: bold; |
|
color: var(--text-color); |
|
margin-bottom: 1rem; |
|
margin-left: 3rem; |
|
} |
|
|
|
|
|
.answer { |
|
margin: 0; |
|
line-height: 1.85; |
|
white-space: pre-wrap; |
|
} |
|
|
|
|
|
.post-icons { |
|
display: flex; |
|
padding-left: 0.12rem; |
|
gap: 1rem; |
|
} |
|
|
|
|
|
.post-icons .copy-icon, |
|
.post-icons .evaluate-icon, |
|
.post-icons .sources-icon, |
|
.post-icons .graph-icon, |
|
.post-icons .excerpts-icon { |
|
cursor: pointer; |
|
position: relative; |
|
} |
|
|
|
|
|
.post-icons .copy-icon img, |
|
.post-icons .evaluate-icon img, |
|
.post-icons .sources-icon img, |
|
.post-icons .graph-icon img, |
|
.post-icons .excerpts-icon img { |
|
transition: filter var(--transition-speed); |
|
} |
|
|
|
.post-icons .copy-icon:hover img, |
|
.post-icons .evaluate-icon:hover img, |
|
.post-icons .sources-icon:hover img, |
|
.post-icons .graph-icon:hover img, |
|
.post-icons .excerpts-icon:hover img { |
|
filter: brightness(0.65); |
|
} |
|
|
|
|
|
.tooltip { |
|
position: absolute; |
|
bottom: 100%; |
|
left: 50%; |
|
transform: translateX(-50%) translateY(10px) scale(0.9); |
|
transform-origin: bottom center; |
|
margin-bottom: 0.65rem; |
|
padding: 0.3rem 0.6rem; |
|
background-color: var(--primary-color); |
|
color: var(--text-color); |
|
border-radius: 0.25rem; |
|
white-space: nowrap; |
|
font-size: 0.85rem; |
|
opacity: 0; |
|
visibility: hidden; |
|
transition: transform 0.3s ease, opacity 0.3s ease; |
|
} |
|
|
|
|
|
.post-icons .copy-icon:hover .tooltip, |
|
.post-icons .evaluate-icon:hover .tooltip, |
|
.post-icons .sources-icon:hover .tooltip, |
|
.post-icons .graph-icon:hover .tooltip, |
|
.post-icons .excerpts-icon:hover .tooltip { |
|
opacity: 1; |
|
visibility: visible; |
|
transform: translateX(-50%) translateY(0) scale(1); |
|
} |
|
|
|
|
|
.question { |
|
margin: 0; |
|
white-space: pre-wrap; |
|
line-height: 1.4; |
|
} |
|
|
|
|
|
.user-icon img, |
|
.bot-icon img { |
|
width: 35px; |
|
height: 35px; |
|
object-fit: contain; |
|
} |
|
|
|
|
|
.post-icons img { |
|
width: 20px; |
|
height: 20px; |
|
object-fit: contain; |
|
} |
|
|
|
|
|
.post-icons .excerpts-icon img { |
|
width: 20px; |
|
height: 26px; |
|
margin-top: -3.5px; |
|
object-fit: fill; |
|
} |
|
|
|
|
|
.bot-loading { |
|
display: flex; |
|
flex-direction: row; |
|
align-items: center; |
|
justify-content: center; |
|
gap: 10px; |
|
padding: 30px; |
|
background-color: var(--dark-surface); |
|
} |
|
|
|
.loading-text { |
|
margin: 0; |
|
font-size: 1rem; |
|
color: #ccc; |
|
} |
|
|
|
|
|
.thinking-info { |
|
margin-bottom: 4px; |
|
} |
|
|
|
.thinking-time { |
|
font-size: 1rem; |
|
color: #888; |
|
cursor: pointer; |
|
} |
|
|
|
|
|
.custom-snackbar { |
|
background-color: #1488e7 !important; |
|
color: var(--text-color) !important; |
|
padding: 0.35rem 1rem !important; |
|
border-radius: 4px !important; |
|
} |
|
|
|
|
|
.custom-spinner { |
|
width: 1.35rem !important; |
|
height: 1.35rem !important; |
|
border: 3px solid #3b7bdc !important; |
|
border-top: 3px solid #434343 !important; |
|
border-radius: 50% !important; |
|
margin-top: 0.1rem !important; |
|
animation: spin 0.9s linear infinite !important; |
|
} |
|
|
|
|
|
@keyframes spin { |
|
0% { |
|
transform: rotate(0deg); |
|
} |
|
100% { |
|
transform: rotate(360deg); |
|
} |
|
} |