index.module.css 3.1 KB

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