chat.module.scss 1.4 KB

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