common.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. @font-face {
  2. font-display: swap;
  3. font-family: 'AlimamaShuHeiTi';
  4. src: url('@/assets/fonts/AlimamaShuHeiTi-Bold.woff2') format('woff2'),
  5. url('@/assets/fonts/AlimamaShuHeiTi-Bold.woff') format('woff'),
  6. url('@/assets/fonts/AlimamaShuHeiTi-Bold.ttf') format('ttf');
  7. font-weight: normal;
  8. font-style: normal;
  9. }
  10. @font-face {
  11. font-display: swap;
  12. font-family: 'D-DIN-PRO-700-Bold';
  13. src: url('@/assets/fonts/D-DIN-PRO-700-Bold.otf') format('opentype');
  14. font-weight: normal;
  15. font-style: normal;
  16. }
  17. @font-face {
  18. // font-display: swap;
  19. font-family: 'YouSheBiaoTiHei';
  20. src: url('@/assets/fonts/YouSheBiaoTiHei.ttf');
  21. // font-weight: normal;
  22. // font-style: normal;
  23. }
  24. @font-face {
  25. // font-display: swap;
  26. font-family: 'DingTalk';
  27. src: url('@/assets/fonts/DingTalk.ttf');
  28. // font-weight: normal;
  29. // font-style: normal;
  30. }
  31. // chat 布局相关
  32. .chat-ask_icon,
  33. .chat-answer_icon {
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. width: 32px;
  38. height: 32px;
  39. border: 1px solid #A8D3F1;
  40. border-radius: 50%;
  41. background-color: #ECF2FF;
  42. }
  43. .chat-answer_icon {
  44. border: 1px solid #E5ECF0;
  45. background: #fff;
  46. }
  47. .code-block-wrapper {
  48. padding: 10px 0;
  49. }
  50. #warning {
  51. .base-card-container {
  52. margin-bottom: 20px;
  53. }
  54. .warning-item-inner {
  55. position: relative;
  56. padding: 20px 8px 8px 8px;
  57. border-radius: 4px;
  58. background: #DDE5EF;
  59. .tips {
  60. position: absolute;
  61. width: 36px;
  62. height: 14px;
  63. top: 0;
  64. right: 0px;
  65. border-radius: 0px 4px 0px 4px;
  66. font-size: 8px;
  67. text-align: center;
  68. line-height: 14px;
  69. &_warning,
  70. &_being {
  71. color: #F44C49;
  72. background: #FFF0ED;
  73. }
  74. &_success {
  75. color: #51BF8E;
  76. background: #E9FAF2;
  77. }
  78. &_close {
  79. color: #999999;
  80. background: #D5D5D5;
  81. }
  82. }
  83. }
  84. .warning-info {
  85. line-height: 16px;
  86. font-size: 11px;
  87. color: #5E5E5E;
  88. dd {
  89. margin-top: 4px;
  90. }
  91. &_medium {
  92. line-height: 26px;
  93. font-size: 14px;
  94. color: #1A2029;
  95. }
  96. }
  97. // 回答区域卡片
  98. .waring-answer-wrapper {
  99. display: flex;
  100. justify-content: space-between;
  101. .message-inner {
  102. width: 194px;
  103. flex-shrink: 0;
  104. span {
  105. white-space: nowrap;
  106. }
  107. }
  108. .table-inner {
  109. @include flex(y, start, between);
  110. padding-left: 20px;
  111. border-left: 1px solid #F1F1F1;
  112. .warning-table {
  113. .title {
  114. margin-bottom: 8px;
  115. line-height: 16px;
  116. font-size: 12px;
  117. font-weight: bold;
  118. color: #1A2029;
  119. }
  120. }
  121. }
  122. }
  123. .radio-wrapper {
  124. .radio-btn-group {
  125. @include flex(x, center, center);
  126. font-size: 14px;
  127. text-align: center;
  128. color: #5E5E5E;
  129. .radio-btn {
  130. width: 62px;
  131. height: 28px;
  132. border-radius: 4px;
  133. background: #F4F6F8;
  134. font-size: 14px;
  135. line-height: 26px;
  136. cursor: pointer;
  137. &.active,
  138. &:hover {
  139. color: #2454FF;
  140. background: #E2F1FF;
  141. }
  142. &.active {
  143. background: #E2F1FF url('@/assets/images/chat/bg-raido-check.png') right bottom no-repeat;
  144. }
  145. }
  146. }
  147. }
  148. }
  149. .recode-card-item {
  150. &:hover, &_active {
  151. border-radius: 2px;
  152. background-color: #fff;
  153. box-shadow: 0.5px 0.5px 4px 0px #93A1B233;
  154. overflow: hidden;
  155. .content {
  156. color: #325DF3;
  157. }
  158. .del-icon {
  159. display: block;
  160. &:hover {
  161. color: red;
  162. }
  163. }
  164. &::before {
  165. position: absolute;
  166. top: 0;
  167. left: 0px;
  168. display: block;
  169. content: " ";
  170. width: 2px;
  171. height: 100%;
  172. background: #325DF3;
  173. }
  174. }
  175. }
  176. // pre code,
  177. // pre tt {
  178. // line-height: 1.65;
  179. // }
  180. // .highlight pre,
  181. // pre {
  182. // background-color: #fff;
  183. // }
  184. // code.hljs {
  185. // padding: 0;
  186. // }
  187. // .code-block {
  188. // &-wrapper {
  189. // position: relative;
  190. // padding-top: 24px;
  191. // }
  192. // &-header {
  193. // position: absolute;
  194. // top: 5px;
  195. // right: 0;
  196. // width: 100%;
  197. // padding: 0 1rem;
  198. // display: flex;
  199. // justify-content: flex-end;
  200. // align-items: center;
  201. // color: #b3b3b3;
  202. // &__copy {
  203. // cursor: pointer;
  204. // margin-left: 0.5rem;
  205. // user-select: none;
  206. // &:hover {
  207. // color: #65a665;
  208. // }
  209. // }
  210. // }
  211. // }