index.module.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .stepsHeader {
  2. @apply flex items-center px-6 py-6;
  3. color: #344054;
  4. font-weight: 600;
  5. font-size: 14px;
  6. line-height: 20px;
  7. }
  8. .navBack {
  9. @apply box-border flex justify-center items-center mr-3 w-8 h-8 bg-white bg-center bg-no-repeat cursor-pointer hover:border-gray-300;
  10. border: 0.5px solid #F2F4F7;
  11. box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  12. border-radius: 32px;
  13. background-image: url(../assets/arrow-narrow-left.svg);
  14. background-size: 16px;
  15. }
  16. .stepList {
  17. @apply p-4;
  18. line-height: 18px;
  19. }
  20. .stepItem {
  21. @apply relative flex justify-items-start pt-3 pr-0 pb-3;
  22. padding-left: 52px;
  23. font-size: 13px;
  24. }
  25. .stepItem.step1::before {
  26. content: '';
  27. position: absolute;
  28. bottom: 0;
  29. left: 23px;
  30. width: 2px;
  31. height: 7px;
  32. background-color: #f2f4f7;
  33. }
  34. .stepItem.step2::before {
  35. content: '';
  36. position: absolute;
  37. top: 0;
  38. left: 23px;
  39. width: 2px;
  40. height: 100%;
  41. background-color: #f2f4f7;
  42. }
  43. .stepItem.step2::after {
  44. content: '';
  45. position: absolute;
  46. top: 6px;
  47. left: 23px;
  48. width: 2px;
  49. height: 28px;
  50. background-color: #fff;
  51. }
  52. .stepItem.step3::before {
  53. content: '';
  54. position: absolute;
  55. top: 0;
  56. left: 23px;
  57. width: 2px;
  58. height: 7px;
  59. background-color: #f2f4f7;
  60. }
  61. .stepNum {
  62. @apply box-border absolute top-2 left-3 flex justify-center items-center w-6 h-6;
  63. color: #98a2b3;
  64. font-size: 12px;
  65. border: 1px solid #F2F4F7;
  66. border-radius: 24px;
  67. z-index: 1;
  68. }
  69. .stepName {
  70. color: #98a2b3;
  71. }
  72. .stepItem.active .stepNum {
  73. color: #1c64f2;
  74. background-color: #EFF4FF;
  75. border: none;
  76. }
  77. .stepItem.active .stepName {
  78. color: #1c64f2;
  79. }
  80. .stepItem.done .stepNum {
  81. color: #667085;
  82. background-color: #f2f4f7;
  83. border: none;
  84. }
  85. .stepItem.done .stepNum::after {
  86. content: '';
  87. display: flex;
  88. width: 12px;
  89. height: 12px;
  90. background: center no-repeat url(../assets/check.svg);
  91. background-size: 12px;
  92. }
  93. .stepItem.done .stepName {
  94. color: #667085;
  95. }