exporter.module.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. .message-exporter {
  2. &-body {
  3. margin-top: 20px;
  4. }
  5. }
  6. .export-content {
  7. white-space: break-spaces;
  8. padding: 10px !important;
  9. }
  10. .steps {
  11. background-color: var(--gray);
  12. border-radius: 10px;
  13. overflow: hidden;
  14. padding: 5px;
  15. position: relative;
  16. box-shadow: var(--card-shadow) inset;
  17. .steps-progress {
  18. $padding: 5px;
  19. height: calc(100% - 2 * $padding);
  20. width: calc(100% - 2 * $padding);
  21. position: absolute;
  22. top: $padding;
  23. left: $padding;
  24. &-inner {
  25. box-sizing: border-box;
  26. box-shadow: var(--card-shadow);
  27. border: var(--border-in-light);
  28. content: "";
  29. display: inline-block;
  30. width: 0%;
  31. height: 100%;
  32. background-color: var(--white);
  33. transition: all ease 0.3s;
  34. border-radius: 8px;
  35. }
  36. }
  37. .steps-inner {
  38. display: flex;
  39. transform: scale(1);
  40. .step {
  41. flex-grow: 1;
  42. padding: 5px 10px;
  43. font-size: 14px;
  44. color: var(--black);
  45. opacity: 0.5;
  46. transition: all ease 0.3s;
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. $radius: 8px;
  51. &-finished {
  52. opacity: 0.9;
  53. }
  54. &:hover {
  55. opacity: 0.8;
  56. }
  57. &-current {
  58. color: var(--primary);
  59. }
  60. .step-index {
  61. background-color: var(--gray);
  62. border: var(--border-in-light);
  63. border-radius: 6px;
  64. display: inline-block;
  65. padding: 0px 5px;
  66. font-size: 12px;
  67. margin-right: 8px;
  68. opacity: 0.8;
  69. }
  70. .step-name {
  71. font-size: 12px;
  72. }
  73. }
  74. }
  75. }
  76. .preview-actions {
  77. margin-bottom: 20px;
  78. display: flex;
  79. justify-content: space-between;
  80. button {
  81. flex-grow: 1;
  82. &:not(:last-child) {
  83. margin-right: 10px;
  84. }
  85. }
  86. }
  87. .image-previewer {
  88. .preview-body {
  89. border-radius: 10px;
  90. padding: 20px;
  91. box-shadow: var(--card-shadow) inset;
  92. background-color: var(--gray);
  93. .chat-info {
  94. background-color: var(--second);
  95. padding: 20px;
  96. border-radius: 10px;
  97. margin-bottom: 20px;
  98. display: flex;
  99. justify-content: space-between;
  100. align-items: flex-end;
  101. position: relative;
  102. overflow: hidden;
  103. @media screen and (max-width: 600px) {
  104. flex-direction: column;
  105. align-items: flex-start;
  106. .icons {
  107. margin-bottom: 20px;
  108. }
  109. }
  110. .logo {
  111. position: absolute;
  112. top: 0px;
  113. left: 0px;
  114. height: 50%;
  115. transform: scale(1.5);
  116. }
  117. .main-title {
  118. font-size: 20px;
  119. font-weight: bolder;
  120. }
  121. .sub-title {
  122. font-size: 12px;
  123. }
  124. .icons {
  125. margin-top: 10px;
  126. display: flex;
  127. align-items: center;
  128. .icon-space {
  129. font-size: 12px;
  130. margin: 0 10px;
  131. font-weight: bolder;
  132. color: var(--primary);
  133. }
  134. }
  135. .chat-info-item {
  136. font-size: 12px;
  137. color: var(--primary);
  138. padding: 2px 15px;
  139. border-radius: 10px;
  140. background-color: var(--white);
  141. box-shadow: var(--card-shadow);
  142. &:not(:last-child) {
  143. margin-bottom: 5px;
  144. }
  145. }
  146. }
  147. .message {
  148. margin-bottom: 20px;
  149. display: flex;
  150. .avatar {
  151. margin-right: 10px;
  152. }
  153. .body {
  154. border-radius: 10px;
  155. padding: 8px 10px;
  156. max-width: calc(100% - 104px);
  157. box-shadow: var(--card-shadow);
  158. border: var(--border-in-light);
  159. code,
  160. pre {
  161. overflow: hidden;
  162. }
  163. }
  164. &-assistant {
  165. .body {
  166. background-color: var(--white);
  167. }
  168. }
  169. &-user {
  170. flex-direction: row-reverse;
  171. .avatar {
  172. margin-right: 0;
  173. }
  174. .body {
  175. background-color: var(--second);
  176. margin-right: 10px;
  177. }
  178. }
  179. }
  180. }
  181. .default-theme {
  182. }
  183. }