chat.module.scss 1.9 KB

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