chat.module.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .prompt-toast {
  2. position: absolute;
  3. bottom: -50px;
  4. z-index: 999;
  5. display: flex;
  6. justify-content: center;
  7. width: calc(100% - 40px);
  8. .prompt-toast-inner {
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. font-size: 12px;
  13. background-color: var(--white);
  14. color: var(--black);
  15. border: var(--border-in-light);
  16. box-shadow: var(--card-shadow);
  17. padding: 10px 20px;
  18. border-radius: 100px;
  19. .prompt-toast-content {
  20. margin-left: 10px;
  21. }
  22. }
  23. }
  24. .context-prompt {
  25. .context-prompt-row {
  26. display: flex;
  27. justify-content: center;
  28. width: 100%;
  29. margin-bottom: 10px;
  30. .context-role {
  31. margin-right: 10px;
  32. }
  33. .context-content {
  34. flex: 1;
  35. max-width: 100%;
  36. text-align: left;
  37. }
  38. .context-delete-button {
  39. margin-left: 10px;
  40. }
  41. }
  42. .context-prompt-button {
  43. flex: 1;
  44. }
  45. }
  46. .memory-prompt {
  47. margin-top: 20px;
  48. .memory-prompt-title {
  49. font-size: 12px;
  50. font-weight: bold;
  51. margin-bottom: 10px;
  52. }
  53. .memory-prompt-content {
  54. background-color: var(--gray);
  55. border-radius: 6px;
  56. padding: 10px;
  57. font-size: 12px;
  58. user-select: text;
  59. }
  60. }