|
424 | 424 | } |
425 | 425 |
|
426 | 426 | /* Print Styles */ |
| 427 | +/* Enhanced Table Styles for Chat Messages */ |
| 428 | +.chat-bubble table { |
| 429 | + width: 100%; |
| 430 | + border-collapse: collapse; |
| 431 | + margin: 10px 0; |
| 432 | + font-size: 0.9em; |
| 433 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); |
| 434 | + border-radius: 8px; |
| 435 | + overflow: hidden; |
| 436 | + background: rgba(255, 255, 255, 0.05); |
| 437 | + border: 1px solid rgba(255, 255, 255, 0.2); |
| 438 | +} |
| 439 | + |
| 440 | +.chat-bubble th { |
| 441 | + background-color: rgba(0, 0, 0, 0.3); |
| 442 | + color: var(--color-text-bright); |
| 443 | + font-weight: 600; |
| 444 | + text-align: left; |
| 445 | + padding: 8px 12px; |
| 446 | + border: 1px solid rgba(255, 255, 255, 0.2); |
| 447 | +} |
| 448 | + |
| 449 | +.chat-bubble td { |
| 450 | + padding: 8px 12px; |
| 451 | + border: 1px solid rgba(255, 255, 255, 0.2); |
| 452 | +} |
| 453 | + |
| 454 | +/* Removed redundant border-bottom rule */ |
| 455 | + |
| 456 | +.chat-bubble tr:nth-child(even) { |
| 457 | + background-color: rgba(255, 255, 255, 0.03); |
| 458 | +} |
| 459 | + |
| 460 | +.chat-bubble tr:hover { |
| 461 | + background-color: rgba(255, 255, 255, 0.08); |
| 462 | +} |
| 463 | + |
| 464 | +/* Fixed width columns for specific data types */ |
| 465 | +.chat-bubble table th:nth-child(1), |
| 466 | +.chat-bubble table td:nth-child(1) { |
| 467 | + min-width: 100px; |
| 468 | +} |
| 469 | + |
| 470 | +.chat-bubble table th:nth-child(3), |
| 471 | +.chat-bubble table td:nth-child(3), |
| 472 | +.chat-bubble table th:nth-child(4), |
| 473 | +.chat-bubble table td:nth-child(4) { |
| 474 | + text-align: center; |
| 475 | +} |
| 476 | + |
| 477 | +/* Responsive tables */ |
| 478 | +@media (max-width: 768px) { |
| 479 | + .chat-bubble table { |
| 480 | + font-size: 0.8em; |
| 481 | + } |
| 482 | + |
| 483 | + .chat-bubble th, |
| 484 | + .chat-bubble td { |
| 485 | + padding: 6px 8px; |
| 486 | + } |
| 487 | +} |
| 488 | + |
427 | 489 | @media print { |
428 | 490 | .sidebar-modern, |
429 | 491 | .navbar-modern, |
|
0 commit comments