index.module.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. .pageHeader {
  2. @apply px-16;
  3. position: sticky;
  4. top: 0;
  5. left: 0;
  6. padding-top: 42px;
  7. padding-bottom: 12px;
  8. background-color: #fff;
  9. font-weight: 600;
  10. font-size: 18px;
  11. line-height: 28px;
  12. color: #101828;
  13. z-index: 10;
  14. }
  15. .fixed {
  16. padding-top: 12px;
  17. font-size: 12px;
  18. line-height: 18px;
  19. background: rgba(255, 255, 255, 0.9);
  20. border-bottom: 0.5px solid #EAECF0;
  21. backdrop-filter: blur(4px);
  22. animation: fix 0.5s;
  23. }
  24. @keyframes fix {
  25. from {
  26. padding-top: 42px;
  27. font-size: 18px;
  28. line-height: 28px;
  29. }
  30. to {
  31. padding-top: 12px;
  32. font-size: 12px;
  33. line-height: 18px;
  34. }
  35. }
  36. .form {
  37. @apply px-16 pb-8;
  38. }
  39. .form .label {
  40. @apply pt-6 pb-2;
  41. font-weight: 500;
  42. font-size: 16px;
  43. line-height: 24px;
  44. color: #344054;
  45. }
  46. .segmentationItem {
  47. min-height: 68px;
  48. }
  49. .indexItem {
  50. min-height: 146px;
  51. }
  52. .indexItem .disableMask {
  53. position: absolute;
  54. top: 0;
  55. left: 0;
  56. width: 100%;
  57. height: 100%;
  58. background-color: rgba(255, 255, 255, 0.5);
  59. border-radius: 12px;
  60. z-index: 2;
  61. }
  62. .indexItem .warningTip {
  63. position: absolute;
  64. bottom: 0;
  65. left: 0;
  66. width: 100%;
  67. padding: 8px 20px 8px 40px;
  68. background: #FFFAEB;
  69. border-top: 0.5px solid #FEF0C7;
  70. border-radius: 12px;
  71. font-size: 12px;
  72. line-height: 18px;
  73. color: #344054;
  74. z-index: 3;
  75. }
  76. .indexItem .warningTip::before {
  77. content: '';
  78. position: absolute;
  79. top: 11px;
  80. left: 20px;
  81. width: 12px;
  82. height: 12px;
  83. background: center no-repeat url(../assets/alert-triangle.svg);
  84. background-size: 12px;
  85. }
  86. .indexItem .warningTip .click {
  87. color: #155EEF;
  88. cursor: pointer;
  89. }
  90. .indexItem.disabled:hover {
  91. background-color: #fcfcfd;
  92. border-color: #f2f4f7;
  93. box-shadow: none;
  94. cursor: default;
  95. }
  96. .indexItem.disabled:hover .radio {
  97. @apply w-4 h-4 border-[2px] border-gray-200 rounded-full;
  98. }
  99. .radioItem {
  100. @apply relative mb-2 rounded-xl border border-gray-100 cursor-pointer;
  101. background-color: #fcfcfd;
  102. }
  103. .radioItem.segmentationItem.custom {
  104. height: auto;
  105. }
  106. .radioItem.segmentationItem.custom .typeHeader {
  107. /* height: 65px; */
  108. }
  109. .radioItem.indexItem .typeHeader {
  110. @apply py-4 pr-5;
  111. }
  112. .radioItem.indexItem.active .typeHeader {
  113. padding: 15.5px 19.5px 15.5px 63.5px;
  114. }
  115. .radioItem.indexItem .radio {
  116. top: 16px;
  117. right: 20px;
  118. }
  119. .radioItem.indexItem.active .radio {
  120. top: 16px;
  121. right: 19.5px;
  122. }
  123. .radioItem.indexItem .typeHeader .title {
  124. @apply pb-1;
  125. }
  126. .radioItem.indexItem .typeHeader .tip {
  127. @apply pb-3;
  128. }
  129. .radioItem .typeIcon {
  130. position: absolute;
  131. top: 18px;
  132. left: 20px;
  133. width: 32px;
  134. height: 32px;
  135. background: #EEF4FF center no-repeat;
  136. border-radius: 8px;
  137. }
  138. .typeIcon.auto {
  139. background-color: #F5F3FF;
  140. background-image: url(../assets/zap-fast.svg);
  141. }
  142. .typeIcon.customize {
  143. background-image: url(../assets/sliders-02.svg);
  144. }
  145. .typeIcon.qualified {
  146. background-color: #FFF6ED;
  147. background-image: url(../assets/star-07.svg);
  148. }
  149. .typeIcon.economical {
  150. background-image: url(../assets/piggy-bank-01.svg);
  151. }
  152. .radioItem .radio {
  153. @apply w-4 h-4 border-[2px] border-gray-200 rounded-full;
  154. position: absolute;
  155. top: 26px;
  156. right: 20px;
  157. }
  158. .radioItem:hover {
  159. background-color: #ffffff;
  160. border-color: #B2CCFF;
  161. box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  162. }
  163. .radioItem:hover .radio {
  164. border-color: #155eef;
  165. }
  166. .radioItem.active {
  167. border-width: 1.5px;
  168. border-color: #528BFF;
  169. box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  170. }
  171. .radioItem.active .radio {
  172. top: 25.5px;
  173. right: 19.5px;
  174. border-width: 5px;
  175. border-color: #155EEF;
  176. }
  177. .radioItem.active:hover {
  178. border-width: 1.5px;
  179. border-color: #528BFF;
  180. box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  181. }
  182. .radioItem.active .typeIcon {
  183. top: 17.5px;
  184. left: 19.5px;
  185. }
  186. .radioItem.active .typeHeader {
  187. padding: 11.5px 63.5px;
  188. }
  189. .typeHeader {
  190. @apply flex flex-col px-16 py-3 justify-center;
  191. }
  192. .typeHeader .title {
  193. display: flex;
  194. align-items: center;
  195. padding-bottom: 2px;
  196. font-weight: 500;
  197. font-size: 16px;
  198. line-height: 24px;
  199. color: #101828;
  200. }
  201. .typeHeader .tip {
  202. font-weight: 400;
  203. font-size: 13px;
  204. line-height: 18px;
  205. color: #667085;
  206. }
  207. .recommendTag {
  208. display: inline-flex;
  209. justify-content: center;
  210. align-items: center;
  211. padding: 0 6px;
  212. margin-left: 4px;
  213. border: 1px solid #E0EAFF;
  214. border-radius: 6px;
  215. font-weight: 500;
  216. font-size: 12px;
  217. line-height: 20px;
  218. color: #444CE7;
  219. }
  220. .typeFormBody {
  221. @apply px-16;
  222. border-top: 1px solid #F2F4F7;
  223. }
  224. .formRow {
  225. @apply flex justify-between mt-6;
  226. }
  227. .formRow .label {
  228. @apply mb-2 p-0;
  229. font-weight: 500;
  230. font-size: 14px;
  231. line-height: 20px;
  232. color: #101828;
  233. }
  234. .ruleItem {
  235. @apply flex items-center h-7;
  236. }
  237. .formFooter {
  238. padding: 16px 0 28px;
  239. }
  240. .formFooter .button {
  241. font-size: 13px;
  242. line-height: 18px;
  243. }
  244. .input {
  245. @apply inline-flex h-9 w-full py-1 px-2 rounded-lg text-xs leading-normal;
  246. @apply bg-gray-100 caret-primary-600 hover:bg-gray-100 focus:ring-1 focus:ring-inset focus:ring-gray-200 focus-visible:outline-none focus:bg-white placeholder:text-gray-400;
  247. }
  248. .source {
  249. @apply flex justify-between items-center mt-8 px-6 py-4 rounded-xl bg-gray-50;
  250. }
  251. .source .divider {
  252. @apply shrink-0 mx-4 w-px bg-gray-200;
  253. height: 42px;
  254. }
  255. .fileIcon {
  256. @apply inline-flex mr-1 w-6 h-6 bg-center bg-no-repeat;
  257. background-image: url(../assets/pdf.svg);
  258. background-size: 24px;
  259. }
  260. .fileIcon.pdf {
  261. background-image: url(../assets/pdf.svg);
  262. }
  263. .fileIcon.csv {
  264. background-image: url(../assets/csv.svg);
  265. }
  266. .fileIcon.xlsx,
  267. .fileIcon.xls {
  268. background-image: url(../assets/xlsx.svg);
  269. }
  270. .fileIcon.html,
  271. .fileIcon.htm {
  272. background-image: url(../assets/html.svg);
  273. }
  274. .fileIcon.md,
  275. .fileIcon.markdown {
  276. background-image: url(../assets/md.svg);
  277. }
  278. .fileIcon.txt {
  279. background-image: url(../assets/txt.svg);
  280. }
  281. .fileIcon.json {
  282. background-image: url(../assets/json.svg);
  283. }
  284. .sourceContent {
  285. flex: 1 1 auto;
  286. }
  287. .sourceCount {
  288. @apply shrink-0 ml-1;
  289. font-weight: 500;
  290. font-size: 13px;
  291. line-height: 18px;
  292. color: #667085;
  293. }
  294. .segmentCount {
  295. flex: 1 1 30%;
  296. max-width: 120px;
  297. }
  298. .divider {
  299. @apply mx-3 w-px h-4 bg-gray-200;
  300. }
  301. .calculating {
  302. color: #98A2B3;
  303. font-size: 12px;
  304. line-height: 18px;
  305. }
  306. .sideTip {
  307. @apply flex flex-col items-center shrink-0;
  308. padding-top: 108px;
  309. width: 524px;
  310. border-left: 0.5px solid #F2F4F7;
  311. }
  312. .tipCard {
  313. @apply flex flex-col items-start p-6;
  314. width: 320px;
  315. background-color: #F9FAFB;
  316. box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  317. border-radius: 12px;
  318. }
  319. .tipCard .icon {
  320. width: 32px;
  321. height: 32px;
  322. border: 1px solid #EAECF0;
  323. border-radius: 6px;
  324. background: center no-repeat url(../assets/book-open-01.svg);
  325. background-size: 16px;
  326. }
  327. .tipCard .title {
  328. margin: 12px 0;
  329. font-weight: 500;
  330. font-size: 16px;
  331. line-height: 24px;
  332. color: #344054;
  333. }
  334. .tipCard .content {
  335. font-weight: 400;
  336. font-size: 14px;
  337. line-height: 20px;
  338. color: #344054;
  339. }
  340. .previewWrap {
  341. flex-shrink: 0;
  342. width: 524px;
  343. }
  344. .previewHeader {
  345. position: sticky;
  346. top: 0;
  347. left: 0;
  348. padding-top: 42px;
  349. background-color: #fff;
  350. font-weight: 600;
  351. font-size: 18px;
  352. line-height: 28px;
  353. color: #101828;
  354. z-index: 10;
  355. }