index.module.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .progressContainer {
  2. @apply relative pb-4 w-full;
  3. border-bottom: 0.5px solid #EAECF0;
  4. }
  5. .sourceItem {
  6. position: relative;
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. margin-bottom: 4px;
  11. padding: 0 4px;
  12. height: 24px;
  13. background: #EFF4FF;
  14. border-radius: 6px;
  15. overflow: hidden;
  16. }
  17. .sourceItem.error {
  18. background: #FEE4E2;
  19. }
  20. .sourceItem.success {
  21. background: #D1FADF;
  22. }
  23. .progressbar {
  24. position: absolute;
  25. top: 0;
  26. left: 0;
  27. height: 100%;
  28. background-color: #B2CCFF;
  29. }
  30. .sourceItem .info {
  31. display: flex;
  32. align-items: center;
  33. z-index: 1;
  34. }
  35. .sourceItem .info .name {
  36. font-weight: 500;
  37. font-size: 12px;
  38. line-height: 18px;
  39. color: #101828;
  40. }
  41. .sourceItem.success .info .name {
  42. color: #05603A;
  43. }
  44. .sourceItem .percent {
  45. font-weight: 500;
  46. font-size: 12px;
  47. line-height: 18px;
  48. color: #344054;
  49. z-index: 1;
  50. }
  51. .sourceItem .error {
  52. color: #D92D20;
  53. }
  54. .sourceItem .success {
  55. color: #05603A;
  56. }
  57. .cost {
  58. @apply flex justify-between items-center text-xs text-gray-700;
  59. }
  60. .embeddingStatus {
  61. @apply flex items-center justify-between text-gray-900 font-medium text-sm mr-2;
  62. }
  63. .commonIcon {
  64. @apply w-3 h-3 mr-1 inline-block align-middle;
  65. }
  66. .highIcon {
  67. mask-image: url(../assets/star.svg);
  68. @apply bg-orange-500;
  69. }
  70. .economyIcon {
  71. background-color: #444ce7;
  72. mask-image: url(../assets/normal.svg);
  73. }
  74. .tokens {
  75. @apply text-xs font-medium px-1;
  76. }
  77. .price {
  78. color: #f79009;
  79. @apply text-xs font-medium;
  80. }
  81. .fileIcon {
  82. @apply w-4 h-4 mr-1 bg-center bg-no-repeat;
  83. background-image: url(../assets/unknown.svg);
  84. background-size: 16px;
  85. }
  86. .fileIcon.csv {
  87. background-image: url(../assets/csv.svg);
  88. }
  89. .fileIcon.docx {
  90. background-image: url(../assets/docx.svg);
  91. }
  92. .fileIcon.xlsx,
  93. .fileIcon.xls {
  94. background-image: url(../assets/xlsx.svg);
  95. }
  96. .fileIcon.pdf {
  97. background-image: url(../assets/pdf.svg);
  98. }
  99. .fileIcon.html,
  100. .fileIcon.htm {
  101. background-image: url(../assets/html.svg);
  102. }
  103. .fileIcon.md,
  104. .fileIcon.markdown {
  105. background-image: url(../assets/md.svg);
  106. }
  107. .fileIcon.txt {
  108. background-image: url(../assets/txt.svg);
  109. }
  110. .fileIcon.json {
  111. background-image: url(../assets/json.svg);
  112. }