index.module.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. .stepHeader {
  2. position: sticky;
  3. top: 0;
  4. left: 0;
  5. padding: 42px 64px 12px;
  6. font-weight: 600;
  7. font-size: 18px;
  8. line-height: 28px;
  9. color: #101828;
  10. }
  11. .form {
  12. padding: 12px 64px;
  13. }
  14. .dataSourceTypeList {
  15. @apply flex items-center mb-8;
  16. }
  17. .dataSourceItem {
  18. @apply box-border relative shrink-0 flex items-center mr-3 p-3 h-14 bg-white rounded-xl cursor-pointer;
  19. border: 0.5px solid #EAECF0;
  20. box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  21. font-weight: 500;
  22. font-size: 14px;
  23. line-height: 20px;
  24. color: #101828;
  25. }
  26. .dataSourceItem:hover {
  27. background-color: #f5f8ff;
  28. border: 0.5px solid #B2CCFF;
  29. box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  30. }
  31. .dataSourceItem.active {
  32. background-color: #f5f8ff;
  33. border: 1.5px solid #528BFF;
  34. box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  35. }
  36. .dataSourceItem.disabled {
  37. background-color: #f9fafb;
  38. border: 0.5px solid #EAECF0;
  39. box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  40. cursor: default;
  41. }
  42. .dataSourceItem.disabled:hover {
  43. background-color: #f9fafb;
  44. border: 0.5px solid #EAECF0;
  45. box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  46. }
  47. .comingTag {
  48. @apply flex justify-center items-center bg-white;
  49. position: absolute;
  50. right: 8px;
  51. top: -10px;
  52. padding: 1px 6px;
  53. height: 20px;
  54. border: 1px solid #E0EAFF;
  55. border-radius: 6px;
  56. font-weight: 500;
  57. font-size: 12px;
  58. line-height: 18px;
  59. color: #444CE7;
  60. }
  61. .datasetIcon {
  62. @apply flex mr-2 w-8 h-8 rounded-lg bg-center bg-no-repeat;
  63. background-color: #F5FAFF;
  64. background-image: url(../assets/file.svg);
  65. background-size: 16px;
  66. border: 0.5px solid #D1E9FF;
  67. }
  68. .dataSourceItem:active .datasetIcon,
  69. .dataSourceItem:hover .datasetIcon {
  70. background-color: #F5F8FF;
  71. border: 0.5px solid #E0EAFF;
  72. }
  73. .datasetIcon.notion {
  74. background-image: url(../assets/notion.svg);
  75. background-size: 20px;
  76. }
  77. .datasetIcon.web {
  78. background-image: url(../assets/web.svg);
  79. }
  80. .submitButton {
  81. width: 120px;
  82. }
  83. .dividerLine {
  84. margin: 32px 0;
  85. max-width: 640px;
  86. height: 1px;
  87. background-color: #eaecf0;
  88. }
  89. .OtherCreationOption {
  90. @apply flex items-center cursor-pointer;
  91. font-weight: 500;
  92. font-size: 13px;
  93. line-height: 18px;
  94. color: #155EEF;
  95. }
  96. .OtherCreationOption::before {
  97. content: '';
  98. display: block;
  99. margin-right: 4px;
  100. width: 16px;
  101. height: 16px;
  102. background: center no-repeat url(../assets/folder-plus.svg);
  103. background-size: contain;
  104. }
  105. .notionConnectionTip {
  106. display: flex;
  107. flex-direction: column;
  108. align-items: flex-start;
  109. padding: 24px;
  110. max-width: 640px;
  111. background: #F9FAFB;
  112. border-radius: 16px;
  113. }
  114. .notionIcon {
  115. display: flex;
  116. padding: 12px;
  117. width: 48px;
  118. height: 48px;
  119. background: #fff center no-repeat url(../assets/notion.svg);
  120. background-size: 24px;
  121. border: 0.5px solid #EAECF5;
  122. box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  123. border-radius: 12px;
  124. }
  125. .notionConnectionTip .title {
  126. position: relative;
  127. margin: 24px 0 4px;
  128. font-style: normal;
  129. font-weight: 600;
  130. font-size: 16px;
  131. line-height: 24px;
  132. color: #374151;
  133. }
  134. .notionConnectionTip .title::after {
  135. content: '';
  136. position: absolute;
  137. top: -6px;
  138. right: -12px;
  139. width: 16px;
  140. height: 16px;
  141. background: center no-repeat url(../assets/Icon-3-dots.svg);
  142. background-size: contain;
  143. }
  144. .notionConnectionTip .tip {
  145. margin-bottom: 20px;
  146. font-style: normal;
  147. font-weight: 400;
  148. font-size: 13px;
  149. line-height: 18px;
  150. color: #6B7280;
  151. }