Update static/style.css
Browse files- static/style.css +33 -2
static/style.css
CHANGED
|
@@ -189,13 +189,13 @@ button:hover {
|
|
| 189 |
}
|
| 190 |
|
| 191 |
.options::-webkit-scrollbar-thumb {
|
| 192 |
-
background-color:
|
| 193 |
border-radius: 4px;
|
| 194 |
border: 2px solid var(--bg-statusline1);
|
| 195 |
}
|
| 196 |
|
| 197 |
.options::-webkit-scrollbar-thumb:hover {
|
| 198 |
-
background-color:
|
| 199 |
}
|
| 200 |
|
| 201 |
/* Loader */
|
|
@@ -282,4 +282,35 @@ footer {
|
|
| 282 |
.bot .message-bubble {
|
| 283 |
background-color: var(--green);
|
| 284 |
color: var(--fg0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 285 |
}
|
|
|
|
| 189 |
}
|
| 190 |
|
| 191 |
.options::-webkit-scrollbar-thumb {
|
| 192 |
+
background-color: var(--fg1); /* Using a color from the palette for base */
|
| 193 |
border-radius: 4px;
|
| 194 |
border: 2px solid var(--bg-statusline1);
|
| 195 |
}
|
| 196 |
|
| 197 |
.options::-webkit-scrollbar-thumb:hover {
|
| 198 |
+
background-color: var(--blue); /* Switched to a themed color for hover */
|
| 199 |
}
|
| 200 |
|
| 201 |
/* Loader */
|
|
|
|
| 282 |
.bot .message-bubble {
|
| 283 |
background-color: var(--green);
|
| 284 |
color: var(--fg0);
|
| 285 |
+
}/* Code Block Styling */
|
| 286 |
+
.code-block {
|
| 287 |
+
background-color: var(--bg1);
|
| 288 |
+
color: var(--fg0);
|
| 289 |
+
padding: 1rem;
|
| 290 |
+
border-radius: 0.5rem;
|
| 291 |
+
overflow-x: auto;
|
| 292 |
+
border: 1px solid var(--blue);
|
| 293 |
+
font-family: monospace;
|
| 294 |
+
text-align: left; /* Ensure code is left-aligned */
|
| 295 |
+
white-space: pre; /* Preserve indentation and spacing */
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
/* Scrollbar Styling for All Scrollable Elements */
|
| 299 |
+
::-webkit-scrollbar {
|
| 300 |
+
width: 8px;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
::-webkit-scrollbar-track {
|
| 304 |
+
background-color: var(--bg-statusline1);
|
| 305 |
+
border-radius: 0.25rem;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
::-webkit-scrollbar-thumb {
|
| 309 |
+
background-color: var(--fg1); /* Using a color from the palette for base */
|
| 310 |
+
border-radius: 4px;
|
| 311 |
+
border: 2px solid var(--bg-statusline1);
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
::-webkit-scrollbar-thumb:hover {
|
| 315 |
+
background-color: var(--blue); /* Switched to a themed color for hover */
|
| 316 |
}
|