|
|
body { |
|
|
font-family: var(--font-body, 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif); |
|
|
} |
|
|
.chat-container { height: 90vh; display: flex; flex-direction: column; } |
|
|
.chat-messages { overflow-y: auto; flex-grow: 1; } |
|
|
.htmx-indicator{ |
|
|
opacity:0; |
|
|
transition: opacity 10ms ease-in; |
|
|
} |
|
|
.htmx-request .htmx-indicator{ |
|
|
opacity:1 |
|
|
} |
|
|
|
|
|
@keyframes animloader { |
|
|
0% { box-shadow: 14px 0 0 -2px, 38px 0 0 -2px, -14px 0 0 -2px, -38px 0 0 -2px; } |
|
|
25% { box-shadow: 14px 0 0 -2px, 38px 0 0 -2px, -14px 0 0 -2px, -38px 0 0 2px; } |
|
|
50% { box-shadow: 14px 0 0 -2px, 38px 0 0 -2px, -14px 0 0 2px, -38px 0 0 -2px; } |
|
|
75% { box-shadow: 14px 0 0 2px, 38px 0 0 -2px, -14px 0 0 -2px, -38px 0 0 -2px; } |
|
|
100% { box-shadow: 14px 0 0 -2px, 38px 0 0 2px, -14px 0 0 -2px, -38px 0 0 -2px; } |
|
|
} |
|
|
.progress { |
|
|
height: 20px; |
|
|
margin-bottom: 20px; |
|
|
overflow: hidden; |
|
|
background-color: #f5f5f5; |
|
|
border-radius: 4px; |
|
|
box-shadow: inset 0 1px 2px rgba(0,0,0,.1); |
|
|
} |
|
|
.progress-bar { |
|
|
float: left; |
|
|
width: 0%; |
|
|
height: 100%; |
|
|
font-size: 12px; |
|
|
line-height: 20px; |
|
|
color: #fff; |
|
|
text-align: center; |
|
|
background-color: #337ab7; |
|
|
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); |
|
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); |
|
|
-webkit-transition: width .6s ease; |
|
|
-o-transition: width .6s ease; |
|
|
transition: width .6s ease; |
|
|
} |
|
|
|
|
|
.user { |
|
|
background-color: #007bff; |
|
|
} |
|
|
|
|
|
.assistant { |
|
|
background-color: #28a745; |
|
|
} |
|
|
|
|
|
.message { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
} |
|
|
|
|
|
.user, .assistant { |
|
|
flex-grow: 1; |
|
|
margin: 0.5rem; |
|
|
} |
|
|
|
|
|
ul { |
|
|
list-style-type: disc; |
|
|
padding-left: 1.25rem; |
|
|
margin-top: 1rem; |
|
|
} |
|
|
|
|
|
li { |
|
|
font-size: 0.875rem; |
|
|
color: #aab2c7; |
|
|
|
|
|
border-radius: 0.375rem; |
|
|
padding: 0.5rem; |
|
|
|
|
|
margin-bottom: 0.5rem; |
|
|
} |
|
|
|
|
|
li:last-child { |
|
|
margin-bottom: 0; |
|
|
} |
|
|
|
|
|
|
|
|
::-webkit-scrollbar { |
|
|
width: 6px; |
|
|
height: 6px; |
|
|
} |
|
|
|
|
|
::-webkit-scrollbar-track { |
|
|
background: var(--color-bg-primary); |
|
|
} |
|
|
|
|
|
::-webkit-scrollbar-thumb { |
|
|
background: var(--color-bg-secondary); |
|
|
border-radius: 3px; |
|
|
} |
|
|
|
|
|
::-webkit-scrollbar-thumb:hover { |
|
|
background: var(--color-primary); |
|
|
} |
|
|
|
|
|
|
|
|
* { |
|
|
scrollbar-width: thin; |
|
|
scrollbar-color: var(--color-bg-secondary) var(--color-bg-primary); |
|
|
} |
|
|
|