chat.module.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. .section-title {
  48. font-size: 12px;
  49. font-weight: bold;
  50. margin-bottom: 10px;
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. .section-title-action {
  55. display: flex;
  56. align-items: center;
  57. }
  58. }
  59. .context-prompt {
  60. .context-prompt-row {
  61. display: flex;
  62. justify-content: center;
  63. width: 100%;
  64. margin-bottom: 10px;
  65. .context-role {
  66. margin-right: 10px;
  67. }
  68. .context-content {
  69. flex: 1;
  70. max-width: 100%;
  71. text-align: left;
  72. }
  73. .context-delete-button {
  74. margin-left: 10px;
  75. }
  76. }
  77. .context-prompt-button {
  78. flex: 1;
  79. }
  80. }
  81. .memory-prompt {
  82. margin: 20px 0;
  83. .memory-prompt-content {
  84. background-color: var(--white);
  85. color: var(--black);
  86. border: var(--border-in-light);
  87. border-radius: 10px;
  88. padding: 10px;
  89. font-size: 12px;
  90. user-select: text;
  91. }
  92. }