index.module.css 6.7 KB

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