Spaces:
Sleeping
Sleeping
Update application/static/css/style.css
Browse files- application/static/css/style.css +258 -487
application/static/css/style.css
CHANGED
|
@@ -1,572 +1,343 @@
|
|
| 1 |
-
/* Base Styles & Reset */
|
| 2 |
-
:root {
|
| 3 |
-
--primary-color: #7710ee;
|
| 4 |
-
--primary-light: rgba(119, 16, 238, 0.55);
|
| 5 |
-
--background-dark: rgb(2,2,8);
|
| 6 |
-
--background-light: rgb(5,5,20);
|
| 7 |
-
--text-primary: #e1e1e1;
|
| 8 |
-
--text-secondary: #b4b4b4;
|
| 9 |
-
--surface-1: rgba(40, 40, 60, 0.6);
|
| 10 |
-
--surface-2: rgba(50, 50, 70, 0.4);
|
| 11 |
-
--surface-3: rgba(60, 60, 80, 0.4);
|
| 12 |
-
--border-color: rgba(255, 255, 255, 0.07);
|
| 13 |
-
--shadow-color: rgba(0, 0, 0, 0.2);
|
| 14 |
-
--transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
| 15 |
-
}
|
| 16 |
-
|
| 17 |
-
* {
|
| 18 |
-
margin: 0;
|
| 19 |
-
padding: 0;
|
| 20 |
-
box-sizing: border-box;
|
| 21 |
-
}
|
| 22 |
-
|
| 23 |
-
/* Scrollbar Styling */
|
| 24 |
::-webkit-scrollbar {
|
| 25 |
-
width:
|
| 26 |
}
|
| 27 |
|
| 28 |
::-webkit-scrollbar-track {
|
| 29 |
-
background:
|
| 30 |
-
border-radius: 10px;
|
| 31 |
}
|
| 32 |
|
| 33 |
::-webkit-scrollbar-thumb {
|
| 34 |
-
background:
|
| 35 |
-
border-radius:
|
| 36 |
-
border: 2px solid rgba(255, 255, 255, 0.05);
|
| 37 |
}
|
| 38 |
|
| 39 |
::-webkit-scrollbar-thumb:hover {
|
| 40 |
-
background:
|
| 41 |
}
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
width: 100vw;
|
|
|
|
| 47 |
overflow: hidden;
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
line-height: 1.6;
|
| 52 |
-
}
|
| 53 |
|
| 54 |
-
/* Navigation Styles */
|
| 55 |
-
.nav-container {
|
| 56 |
-
position: fixed;
|
| 57 |
-
top: 0;
|
| 58 |
-
width: 100%;
|
| 59 |
-
height: 60px;
|
| 60 |
-
background: rgba(10, 10, 20, 0.7);
|
| 61 |
-
backdrop-filter: blur(10px);
|
| 62 |
-
border-bottom: 1px solid var(--border-color);
|
| 63 |
-
z-index: 1000;
|
| 64 |
}
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
display: flex;
|
| 71 |
-
justify-content: space-between;
|
| 72 |
-
align-items: center;
|
| 73 |
-
padding: 0 20px;
|
| 74 |
-
}
|
| 75 |
-
|
| 76 |
-
.nav-left, .nav-right {
|
| 77 |
-
display: flex;
|
| 78 |
-
align-items: center;
|
| 79 |
-
gap: 20px;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
.brand {
|
| 83 |
display: flex;
|
| 84 |
-
align-items: baseline;
|
| 85 |
-
gap: 8px;
|
| 86 |
-
}
|
| 87 |
-
|
| 88 |
-
.brand-text {
|
| 89 |
-
font-family: 'Poppins', sans-serif;
|
| 90 |
-
font-weight: 600;
|
| 91 |
-
font-size: 1.25rem;
|
| 92 |
-
background: linear-gradient(45deg, #7710ee, #b44dff);
|
| 93 |
-
-webkit-background-clip: text;
|
| 94 |
-
-webkit-text-fill-color: transparent;
|
| 95 |
}
|
| 96 |
-
|
| 97 |
-
.brand-version {
|
| 98 |
-
font-size: 0.75rem;
|
| 99 |
-
color: var(--text-secondary);
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
/* Hamburger Menu */
|
| 103 |
-
.hamburger {
|
| 104 |
display: flex;
|
| 105 |
flex-direction: column;
|
| 106 |
-
gap:
|
|
|
|
|
|
|
|
|
|
| 107 |
cursor: pointer;
|
| 108 |
-
|
|
|
|
|
|
|
| 109 |
}
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
}
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
width:
|
| 118 |
-
|
| 119 |
}
|
| 120 |
|
| 121 |
-
.
|
| 122 |
-
|
| 123 |
-
|
| 124 |
}
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
}
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
/* Sidebar Menu */
|
| 135 |
-
.menu {
|
| 136 |
position: fixed;
|
| 137 |
top: 0;
|
| 138 |
left: 0;
|
| 139 |
-
height: 100vh;
|
| 140 |
-
width: 0;
|
| 141 |
-
background: rgba(20, 20, 30, 0.95);
|
| 142 |
-
backdrop-filter: blur(15px);
|
| 143 |
-
border-right: 1px solid var(--border-color);
|
| 144 |
-
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
| 145 |
-
z-index: 900;
|
| 146 |
display: flex;
|
| 147 |
flex-direction: column;
|
| 148 |
-
}
|
| 149 |
-
|
| 150 |
-
.menu.open {
|
| 151 |
-
width: 300px;
|
| 152 |
-
}
|
| 153 |
-
|
| 154 |
-
.menu-header {
|
| 155 |
-
padding: 80px 20px 20px;
|
| 156 |
-
border-bottom: 1px solid var(--border-color);
|
| 157 |
-
}
|
| 158 |
-
|
| 159 |
-
.new-chat {
|
| 160 |
-
display: flex;
|
| 161 |
-
align-items: center;
|
| 162 |
-
gap: 12px;
|
| 163 |
-
padding: 12px 16px;
|
| 164 |
-
background: var(--surface-1);
|
| 165 |
-
border: 1px solid var(--border-color);
|
| 166 |
-
border-radius: 8px;
|
| 167 |
-
color: var(--text-primary);
|
| 168 |
-
cursor: pointer;
|
| 169 |
-
transition: var(--transition-standard);
|
| 170 |
-
}
|
| 171 |
-
|
| 172 |
-
.new-chat:hover {
|
| 173 |
-
background: var(--surface-2);
|
| 174 |
-
transform: translateY(-2px);
|
| 175 |
-
}
|
| 176 |
-
|
| 177 |
-
.menu-content {
|
| 178 |
-
flex: 1;
|
| 179 |
overflow-y: auto;
|
| 180 |
-
padding: 20px;
|
| 181 |
}
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
|
|
|
|
|
|
|
|
|
| 188 |
}
|
| 189 |
-
|
| 190 |
-
.
|
| 191 |
-
|
| 192 |
-
text-transform: uppercase;
|
| 193 |
-
letter-spacing: 0.05em;
|
| 194 |
-
color: var(--text-secondary);
|
| 195 |
}
|
| 196 |
-
|
| 197 |
-
|
|
|
|
|
|
|
| 198 |
display: flex;
|
| 199 |
flex-direction: column;
|
| 200 |
-
gap:
|
|
|
|
|
|
|
|
|
|
| 201 |
}
|
| 202 |
-
|
| 203 |
-
|
|
|
|
|
|
|
| 204 |
display: flex;
|
| 205 |
align-items: center;
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
|
|
|
| 211 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
|
| 213 |
-
.chat-item:hover {
|
| 214 |
-
background: var(--surface-1);
|
| 215 |
}
|
| 216 |
|
| 217 |
-
/* Main Container */
|
| 218 |
.container {
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
.messages {
|
| 227 |
-
flex: 1;
|
| 228 |
-
overflow-y: auto;
|
| 229 |
-
padding: 20px;
|
| 230 |
display: flex;
|
| 231 |
-
flex-direction: column;
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
/* Message Styles */
|
| 236 |
-
/* Message Styles */
|
| 237 |
-
.message {
|
| 238 |
-
max-width: 80%;
|
| 239 |
-
margin-bottom: 15px; /* Add margin between messages */
|
| 240 |
-
padding: 16px;
|
| 241 |
-
border-radius: 12px;
|
| 242 |
-
border: 1px solid var(--border-color);
|
| 243 |
-
backdrop-filter: blur(10px);
|
| 244 |
-
color: var(--text-primary); /* Text color */
|
| 245 |
-
line-height: 1.5; /* Line spacing */
|
| 246 |
-
}
|
| 247 |
-
|
| 248 |
-
.user-message {
|
| 249 |
-
margin-left: auto;
|
| 250 |
-
background: var(--surface-2);
|
| 251 |
-
border-top-right-radius: 0;
|
| 252 |
-
}
|
| 253 |
-
|
| 254 |
-
.ai-message {
|
| 255 |
-
margin-right: auto;
|
| 256 |
-
background: var(--surface-1);
|
| 257 |
-
border-top-left-radius: 0;
|
| 258 |
-
}
|
| 259 |
-
|
| 260 |
-
.ai-message p{
|
| 261 |
-
color: var(--text-primary);
|
| 262 |
-
}
|
| 263 |
-
|
| 264 |
-
.user-message p{
|
| 265 |
-
color: var(--text-primary);
|
| 266 |
-
}
|
| 267 |
-
|
| 268 |
-
/* Input Area */
|
| 269 |
-
.input-container {
|
| 270 |
-
margin-top: auto;
|
| 271 |
-
padding: 20px;
|
| 272 |
}
|
| 273 |
|
| 274 |
.inputs {
|
|
|
|
| 275 |
display: flex;
|
|
|
|
|
|
|
| 276 |
align-items: center;
|
| 277 |
-
|
| 278 |
-
padding:
|
| 279 |
-
|
| 280 |
-
border:
|
| 281 |
-
border-radius:
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
border: none;
|
| 288 |
-
outline: none;
|
| 289 |
-
color: var(--text-primary);
|
| 290 |
-
font-family: 'Inter', sans-serif;
|
| 291 |
-
font-size: 1rem;
|
| 292 |
-
line-height: 1.5;
|
| 293 |
-
max-height: 200px;
|
| 294 |
-
resize: none;
|
| 295 |
-
padding: 8px;
|
| 296 |
-
}
|
| 297 |
|
| 298 |
-
.text-box::placeholder {
|
| 299 |
-
color: var(--text-secondary);
|
| 300 |
}
|
| 301 |
|
| 302 |
-
.
|
| 303 |
-
|
| 304 |
background: none;
|
|
|
|
| 305 |
border: none;
|
| 306 |
-
color:
|
| 307 |
-
|
| 308 |
-
cursor: pointer;
|
| 309 |
-
padding: 8px;
|
| 310 |
-
border-radius: 8px;
|
| 311 |
-
transition: var(--transition-standard);
|
| 312 |
-
}
|
| 313 |
-
|
| 314 |
-
.web-search:hover,
|
| 315 |
-
.send-btn:hover {
|
| 316 |
-
color: var(--text-primary);
|
| 317 |
-
background: var(--surface-1);
|
| 318 |
}
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
}
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
position: fixed;
|
| 334 |
-
top: 0;
|
| 335 |
-
left: 0;
|
| 336 |
-
width: 100vw;
|
| 337 |
-
height: 100vh;
|
| 338 |
-
background: rgba(0, 0, 0, 0.5);
|
| 339 |
-
backdrop-filter: blur(5px);
|
| 340 |
display: flex;
|
| 341 |
-
|
| 342 |
-
align-items: center;
|
| 343 |
-
z-index: 1100;
|
| 344 |
-
opacity: 0;
|
| 345 |
-
visibility: hidden;
|
| 346 |
-
transition: var(--transition-standard);
|
| 347 |
-
}
|
| 348 |
-
|
| 349 |
-
.modal.show,
|
| 350 |
-
.settings-modal.show {
|
| 351 |
-
opacity: 1;
|
| 352 |
-
visibility: visible;
|
| 353 |
-
}
|
| 354 |
-
|
| 355 |
-
.modal-content,
|
| 356 |
-
.settings-content {
|
| 357 |
-
background: var(--surface-1);
|
| 358 |
-
border: 1px solid var(--border-color);
|
| 359 |
-
border-radius: 16px;
|
| 360 |
-
width: 90%;
|
| 361 |
-
max-width: 500px;
|
| 362 |
-
padding: 24px;
|
| 363 |
position: relative;
|
| 364 |
-
transform: translateY(20px);
|
| 365 |
-
transition: var(--transition-standard);
|
| 366 |
-
}
|
| 367 |
-
|
| 368 |
-
.modal.show .modal-content,
|
| 369 |
-
.settings-modal.show .settings-content {
|
| 370 |
-
transform: translateY(0);
|
| 371 |
-
}
|
| 372 |
-
|
| 373 |
-
.modal-header,
|
| 374 |
-
.settings-header {
|
| 375 |
-
display: flex;
|
| 376 |
-
justify-content: space-between;
|
| 377 |
-
align-items: center;
|
| 378 |
-
margin-bottom: 20px;
|
| 379 |
}
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 386 |
}
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
border: none;
|
| 392 |
-
color: var(--text-secondary);
|
| 393 |
-
font-size: 1.2rem;
|
| 394 |
-
cursor: pointer;
|
| 395 |
-
padding: 8px;
|
| 396 |
-
border-radius: 8px;
|
| 397 |
-
transition: var(--transition-standard);
|
| 398 |
}
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
|
|
|
| 404 |
}
|
| 405 |
-
|
| 406 |
-
.
|
| 407 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 408 |
}
|
| 409 |
|
| 410 |
-
.
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
margin-
|
|
|
|
| 415 |
}
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
flex-direction: column;
|
| 420 |
-
align-items: center;
|
| 421 |
-
gap: 8px;
|
| 422 |
-
padding: 16px;
|
| 423 |
-
background: var(--surface-2);
|
| 424 |
-
border: 1px solid var(--border-color);
|
| 425 |
-
border-radius: 12px;
|
| 426 |
-
text-align: center;
|
| 427 |
}
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
color: var(--primary-color);
|
| 432 |
}
|
| 433 |
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
margin-bottom: 24px;
|
| 437 |
}
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
|
|
|
|
|
|
|
|
|
| 444 |
}
|
| 445 |
-
|
| 446 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 447 |
display: flex;
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 461 |
cursor: pointer;
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
.theme-select:hover,
|
| 466 |
-
.font-select:hover {
|
| 467 |
-
background: var(--surface-3);
|
| 468 |
}
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
background: linear-gradient(
|
| 476 |
-
border: none;
|
| 477 |
-
border-radius: 8px;
|
| 478 |
-
color: white;
|
| 479 |
-
font-weight: 500;
|
| 480 |
cursor: pointer;
|
| 481 |
-
|
|
|
|
|
|
|
| 482 |
}
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 488 |
}
|
| 489 |
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
width: 100%;
|
| 494 |
}
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
padding: 10px;
|
| 498 |
}
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
padding: 10px;
|
| 502 |
}
|
| 503 |
-
|
| 504 |
-
.message {
|
| 505 |
max-width: 90%;
|
| 506 |
}
|
| 507 |
-
|
| 508 |
-
.input-container {
|
| 509 |
-
padding: 10px;
|
| 510 |
-
}
|
| 511 |
-
|
| 512 |
-
.inputs {
|
| 513 |
-
padding: 8px 16px;
|
| 514 |
-
}
|
| 515 |
-
|
| 516 |
-
.feature-list {
|
| 517 |
-
grid-template-columns: 1fr;
|
| 518 |
-
}
|
| 519 |
-
}
|
| 520 |
-
|
| 521 |
-
/* Dark/Light Theme Transitions */
|
| 522 |
-
.theme-transition {
|
| 523 |
-
transition: background-color 0.3s ease,
|
| 524 |
-
color 0.3s ease,
|
| 525 |
-
border-color 0.3s ease,
|
| 526 |
-
box-shadow 0.3s ease;
|
| 527 |
-
}
|
| 528 |
-
|
| 529 |
-
/* Animation Classes */
|
| 530 |
-
.fade-in {
|
| 531 |
-
animation: fadeIn 0.3s ease forwards;
|
| 532 |
-
}
|
| 533 |
-
|
| 534 |
-
.slide-up {
|
| 535 |
-
animation: slideUp 0.3s ease forwards;
|
| 536 |
-
}
|
| 537 |
-
|
| 538 |
-
@keyframes fadeIn {
|
| 539 |
-
from {
|
| 540 |
-
opacity: 0;
|
| 541 |
-
}
|
| 542 |
-
to {
|
| 543 |
-
opacity: 1;
|
| 544 |
-
}
|
| 545 |
-
}
|
| 546 |
-
|
| 547 |
-
@keyframes slideUp {
|
| 548 |
-
from {
|
| 549 |
-
transform: translateY(20px);
|
| 550 |
-
opacity: 0;
|
| 551 |
-
}
|
| 552 |
-
to {
|
| 553 |
-
transform: translateY(0);
|
| 554 |
-
opacity: 1;
|
| 555 |
-
}
|
| 556 |
-
}
|
| 557 |
-
|
| 558 |
-
/* Utility Classes */
|
| 559 |
-
.hidden {
|
| 560 |
-
display: none !important;
|
| 561 |
-
}
|
| 562 |
-
|
| 563 |
-
.disabled {
|
| 564 |
-
opacity: 0.5;
|
| 565 |
-
pointer-events: none;
|
| 566 |
-
}
|
| 567 |
-
|
| 568 |
-
.truncate {
|
| 569 |
-
white-space: nowrap;
|
| 570 |
-
overflow: hidden;
|
| 571 |
-
text-overflow: ellipsis;
|
| 572 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
::-webkit-scrollbar {
|
| 2 |
+
width: 12px;
|
| 3 |
}
|
| 4 |
|
| 5 |
::-webkit-scrollbar-track {
|
| 6 |
+
background: transparent;
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
::-webkit-scrollbar-thumb {
|
| 10 |
+
background: rgb(43, 43, 43);
|
| 11 |
+
border-radius: 6px;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
::-webkit-scrollbar-thumb:hover {
|
| 15 |
+
background: rgb(119, 119, 119);
|
| 16 |
}
|
| 17 |
+
html,body{
|
| 18 |
+
padding: 0;
|
| 19 |
+
margin: 0;
|
| 20 |
+
background-color: rgb(2,2,8);
|
| 21 |
width: 100vw;
|
| 22 |
+
height: 100vh;
|
| 23 |
overflow: hidden;
|
| 24 |
+
scrollbar-width: thin;
|
| 25 |
+
scrollbar-color: rgb(41, 41, 41) transparent;
|
| 26 |
+
font-family: 'Inter';
|
|
|
|
|
|
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
+
nav{
|
| 30 |
+
position: fixed;
|
| 31 |
+
width: 100vw;
|
| 32 |
+
height: 8vh;
|
| 33 |
+
z-index: 100;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
+
.hamburger{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
display: flex;
|
| 38 |
flex-direction: column;
|
| 39 |
+
gap: 1.5vh;
|
| 40 |
+
width: 20vh;
|
| 41 |
+
color: white;
|
| 42 |
+
margin: 1vw;
|
| 43 |
cursor: pointer;
|
| 44 |
+
position: absolute;
|
| 45 |
+
z-index: 101;
|
| 46 |
+
margin: 10px;
|
| 47 |
}
|
| 48 |
+
.line1{
|
| 49 |
+
background-color: rgb(122, 122, 122);
|
| 50 |
+
width: 6vh;
|
| 51 |
+
height: 0.5vh;
|
| 52 |
}
|
| 53 |
+
.line2{
|
| 54 |
+
background-color: rgb(104, 104, 104);
|
| 55 |
+
width: 3vh;
|
| 56 |
+
height: 0.5vh;
|
| 57 |
}
|
| 58 |
|
| 59 |
+
.hamburger:hover .line1{
|
| 60 |
+
transform: translateX(-30px);
|
| 61 |
+
transition: transform 1s ease;
|
| 62 |
}
|
| 63 |
+
.hamburger:hover .line2{
|
| 64 |
+
transform: translateX(30px);
|
| 65 |
+
transition: transform 1s ease;
|
| 66 |
}
|
| 67 |
+
.menu{
|
| 68 |
+
height: 100vh;
|
| 69 |
+
width: 0px;
|
| 70 |
+
background-color: rgba(20, 20, 20,0.5);
|
| 71 |
+
border-radius: 10px;
|
|
|
|
|
|
|
| 72 |
position: fixed;
|
| 73 |
top: 0;
|
| 74 |
left: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
display: flex;
|
| 76 |
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
overflow-y: auto;
|
|
|
|
| 78 |
}
|
| 79 |
+
.newChat{
|
| 80 |
+
margin-top: 8vh;
|
| 81 |
+
margin-left: 1vw;
|
| 82 |
+
color: gray;
|
| 83 |
+
font-size: large;
|
| 84 |
+
cursor: pointer;
|
| 85 |
+
font-weight: 400;
|
| 86 |
+
position: relative;
|
| 87 |
+
font-size: large;
|
| 88 |
}
|
| 89 |
+
.newChat:hover{
|
| 90 |
+
transform: scale(0.95);
|
| 91 |
+
transition: transform 0.7s ease;
|
|
|
|
|
|
|
|
|
|
| 92 |
}
|
| 93 |
+
.prevChatsCont{
|
| 94 |
+
color: rgb(172, 171, 171);
|
| 95 |
+
margin-left: 1vw;
|
| 96 |
+
font-weight: 300;
|
| 97 |
display: flex;
|
| 98 |
flex-direction: column;
|
| 99 |
+
gap: 1vh;
|
| 100 |
+
position: relative;
|
| 101 |
+
font-size: medium;
|
| 102 |
+
|
| 103 |
}
|
| 104 |
+
.prevChat{
|
| 105 |
+
min-height: 5vh;
|
| 106 |
+
cursor: pointer;
|
| 107 |
+
width: 90%;
|
| 108 |
display: flex;
|
| 109 |
align-items: center;
|
| 110 |
+
padding-left: 5%;
|
| 111 |
+
border-radius: 10px;
|
| 112 |
+
overflow: hidden;
|
| 113 |
+
padding-top: 1%;
|
| 114 |
+
padding-bottom: 1%;
|
| 115 |
+
position: relative;
|
| 116 |
}
|
| 117 |
+
.prevChat:hover{
|
| 118 |
+
background-color: rgba(70,70, 70,1);
|
| 119 |
+
transform: translateY(5px);
|
| 120 |
+
transition: transform 0.8s ease;
|
| 121 |
+
}
|
| 122 |
+
.chatsTxt{
|
| 123 |
+
color: #fdffdf;
|
| 124 |
+
margin-left: 1vw;
|
| 125 |
+
font-size: 14px;
|
| 126 |
+
margin-top: 4vh;
|
| 127 |
+
margin-bottom: 3vh;
|
| 128 |
+
z-index: 100;
|
| 129 |
+
overflow: hidden;
|
| 130 |
+
min-height: 5vh;
|
| 131 |
+
display: flex;
|
| 132 |
+
align-items: center;
|
| 133 |
|
|
|
|
|
|
|
| 134 |
}
|
| 135 |
|
|
|
|
| 136 |
.container {
|
| 137 |
+
width: 99.5%;
|
| 138 |
+
max-width: 99.5%;
|
| 139 |
+
height: 90%;
|
| 140 |
+
position: absolute;
|
| 141 |
+
z-index: 50;
|
| 142 |
+
top: 8vh;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
display: flex;
|
| 144 |
+
flex-direction: column;
|
| 145 |
+
justify-content: flex-end;
|
| 146 |
+
z-index: 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
}
|
| 148 |
|
| 149 |
.inputs {
|
| 150 |
+
width: 70%;
|
| 151 |
display: flex;
|
| 152 |
+
flex-direction: row;
|
| 153 |
+
justify-content: space-between;
|
| 154 |
align-items: center;
|
| 155 |
+
background-color: rgba(51, 51, 51, 0.4);
|
| 156 |
+
padding: 10px;
|
| 157 |
+
border-top-right-radius: 50px;
|
| 158 |
+
border-bottom-left-radius: 20px;
|
| 159 |
+
border-top-left-radius: 20px;
|
| 160 |
+
border-bottom-right-radius: 50px;
|
| 161 |
+
font-size: large;
|
| 162 |
+
position: relative;
|
| 163 |
+
margin-top: auto;
|
| 164 |
+
align-self: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
|
|
|
|
|
|
|
| 166 |
}
|
| 167 |
|
| 168 |
+
.textBox{
|
| 169 |
+
width: 90%;
|
| 170 |
background: none;
|
| 171 |
+
outline: none;
|
| 172 |
border: none;
|
| 173 |
+
color: rgb(161, 161, 161);
|
| 174 |
+
padding: 7px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
}
|
| 176 |
+
.sendBtn{
|
| 177 |
+
background-color: white;
|
| 178 |
+
border: none;
|
| 179 |
+
color: black;
|
| 180 |
+
font-size: x-large;
|
| 181 |
+
cursor: pointer;
|
| 182 |
+
border-radius: 50%;
|
| 183 |
+
width: 6vh;
|
| 184 |
+
height: 6vh;
|
| 185 |
}
|
| 186 |
+
.messages {
|
| 187 |
+
overflow-y: auto;
|
| 188 |
+
color: white;
|
| 189 |
+
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
display: flex;
|
| 191 |
+
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
}
|
| 194 |
+
.user{
|
| 195 |
+
margin-left: auto;
|
| 196 |
+
max-width: 60%;
|
| 197 |
+
background-color: rgba(51, 51, 51, 0.4);
|
| 198 |
+
padding: 0.5vh 1.5vh 0.5vh 1.5vh;
|
| 199 |
+
text-align: left;
|
| 200 |
+
font-weight: 300;
|
| 201 |
+
border-radius: 10px;
|
| 202 |
+
line-height: 130%;
|
| 203 |
+
|
| 204 |
}
|
| 205 |
+
.user p{
|
| 206 |
+
color: #b4b4b4;
|
| 207 |
+
padding: 0;
|
| 208 |
+
opacity: 0.9;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
}
|
| 210 |
+
.ai{
|
| 211 |
+
text-align: left;
|
| 212 |
+
width: 70%;
|
| 213 |
+
margin-left: auto;
|
| 214 |
+
margin-right: auto;
|
| 215 |
+
margin-top: 2vh;
|
| 216 |
}
|
| 217 |
+
.ai p {
|
| 218 |
+
opacity: 0.9;
|
| 219 |
+
font-weight: 300;
|
| 220 |
+
font-size: medium;
|
| 221 |
+
line-height: 1.6;
|
| 222 |
+
color: #c5c5c5;
|
| 223 |
+
background-color: rgba(28, 28, 28, 0.5);
|
| 224 |
+
padding: 20px;
|
| 225 |
+
border-radius: 10px;
|
| 226 |
+
border: 2px solid rgba(255,255,255,0.1);
|
| 227 |
+
font-family: 'Inter';
|
| 228 |
}
|
| 229 |
|
| 230 |
+
.subHeading,.heading{
|
| 231 |
+
padding: 1vh;
|
| 232 |
+
border-radius: 10px;
|
| 233 |
+
display: inline-block;
|
| 234 |
+
margin-bottom: 2vh;
|
| 235 |
+
margin-top: 2vh;
|
| 236 |
}
|
| 237 |
+
.subHeading{
|
| 238 |
+
background-color: rgba(59, 59, 59, 0.5);
|
| 239 |
+
border: 1px solid rgba(255,255,255,0.1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 240 |
}
|
| 241 |
+
.heading{
|
| 242 |
+
background-color: rgba(119, 16, 238, 0.55);
|
| 243 |
+
box-shadow: 6px 6px rgba(0, 0, 0, 0.5) ;
|
|
|
|
| 244 |
}
|
| 245 |
|
| 246 |
+
code{
|
| 247 |
+
border-radius: 15px;
|
|
|
|
| 248 |
}
|
| 249 |
+
.models{
|
| 250 |
+
position: relative;
|
| 251 |
+
margin: auto;
|
| 252 |
+
padding: 10px ;
|
| 253 |
+
outline: none;
|
| 254 |
+
background-color: rgb(43, 43, 43);
|
| 255 |
+
color: rgb(177, 177, 177);
|
| 256 |
+
border: none;
|
| 257 |
+
border-radius: 10px;
|
| 258 |
}
|
| 259 |
+
.models:hover{
|
| 260 |
+
background-color: #383838;
|
| 261 |
+
}
|
| 262 |
+
.models option{
|
| 263 |
+
background-color: rgb(34, 34, 34);
|
| 264 |
+
color: #afafaf;
|
| 265 |
+
padding: 10px;
|
| 266 |
+
}
|
| 267 |
+
.alert{
|
| 268 |
+
position: absolute;
|
| 269 |
+
top: 50%;
|
| 270 |
+
left: 50%;
|
| 271 |
+
transform: translate(-50%,-50%);
|
| 272 |
+
width: 320px;
|
| 273 |
+
height: 320px;
|
| 274 |
display: flex;
|
| 275 |
+
flex-direction: column;
|
| 276 |
+
gap: 0px;
|
| 277 |
+
color: #d8d8d8;
|
| 278 |
+
background-color: #222222;
|
| 279 |
+
box-shadow: 6px 6px rgb(41, 41, 41) ;
|
| 280 |
+
justify-content: center;
|
| 281 |
+
z-index: 100;
|
| 282 |
+
}
|
| 283 |
+
.alert p{
|
| 284 |
+
float: left;
|
| 285 |
+
font-family: 'Inter';
|
| 286 |
+
font-weight: 300;
|
| 287 |
+
font-size: 15px;
|
| 288 |
+
color: #cfcfcf;
|
| 289 |
+
opacity: 0.9;
|
| 290 |
+
padding-left: 10px;
|
| 291 |
+
}
|
| 292 |
+
.closeAlert{
|
| 293 |
+
margin-left: auto;
|
| 294 |
+
margin-right: 10px;
|
| 295 |
+
margin-top: 10px;
|
| 296 |
+
background-color: rgb(247, 102, 102);
|
| 297 |
+
padding: 10px;
|
| 298 |
cursor: pointer;
|
| 299 |
+
border-radius: 10px;
|
| 300 |
+
color: #ffffff;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 301 |
}
|
| 302 |
+
.discord {
|
| 303 |
+
margin: 10px;
|
| 304 |
+
text-decoration: none;
|
| 305 |
+
color: rgb(211, 211, 211);
|
| 306 |
+
padding: 7.5px;
|
| 307 |
+
border-radius: 10px;
|
| 308 |
+
background: linear-gradient(to right, #4A148C, #9c18e3);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 309 |
cursor: pointer;
|
| 310 |
+
display: inline-block;
|
| 311 |
+
font-size: 13px;
|
| 312 |
+
max-width: 77px;
|
| 313 |
}
|
| 314 |
+
.note{
|
| 315 |
+
text-align: center;
|
| 316 |
+
background-color: rgba(119, 16, 238, 0.55);
|
| 317 |
+
box-shadow: 6px 6px rgb(32, 32, 32) ;
|
| 318 |
+
margin: auto;
|
| 319 |
+
width: 70px;
|
| 320 |
+
padding: 10px;
|
| 321 |
+
}
|
| 322 |
+
.webSearch{
|
| 323 |
+
color: rgb(233, 233, 233);
|
| 324 |
+
background: transparent;
|
| 325 |
+
cursor: pointer;
|
| 326 |
+
border: none;
|
| 327 |
+
font-size: x-large;
|
| 328 |
}
|
| 329 |
|
| 330 |
+
@media screen and (max-width: 780px){
|
| 331 |
+
.menu{
|
| 332 |
+
background-color: rgba(20, 20, 20);
|
|
|
|
| 333 |
}
|
| 334 |
+
.inputs{
|
| 335 |
+
width: 85%;
|
|
|
|
| 336 |
}
|
| 337 |
+
.ai{
|
| 338 |
+
width: 90%;
|
|
|
|
| 339 |
}
|
| 340 |
+
.user{
|
|
|
|
| 341 |
max-width: 90%;
|
| 342 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 343 |
}
|