2
0

_workflow-timeline.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. .workflow-timeline {
  2. @apply w-label-3;
  3. padding: 0;
  4. margin-top: theme('spacing.8');
  5. margin-bottom: theme('spacing.3');
  6. @include media-breakpoint-up(sm) {
  7. margin-top: theme('spacing.10');
  8. margin-bottom: theme('spacing.10');
  9. }
  10. &__item {
  11. display: flex;
  12. flex-wrap: wrap;
  13. align-items: center;
  14. position: relative;
  15. padding-bottom: theme('spacing.5');
  16. &--rejected {
  17. color: theme('colors.text-error');
  18. }
  19. &--approved {
  20. color: theme('colors.positive.100');
  21. }
  22. &--in_progress {
  23. @apply w-label-1;
  24. }
  25. &--pending {
  26. color: theme('colors.text-meta');
  27. .icon {
  28. opacity: theme('opacity.80');
  29. }
  30. }
  31. }
  32. &__icon {
  33. position: relative;
  34. flex-shrink: 0;
  35. background: theme('colors.surface-page');
  36. @media (forced-colors: active) {
  37. background: Canvas;
  38. }
  39. margin-inline-end: theme('spacing.[2.5]');
  40. width: theme('spacing.5');
  41. height: theme('spacing.5');
  42. z-index: theme('zIndex.10');
  43. }
  44. &__line {
  45. position: absolute;
  46. margin-inline-start: -1px;
  47. height: 100%;
  48. top: theme('spacing.4');
  49. inset-inline-start: theme('spacing.[2.5]');
  50. border-inline-start: theme('borderWidth.DEFAULT') dashed
  51. theme('colors.text-meta');
  52. }
  53. &__footer {
  54. display: flex;
  55. flex-wrap: wrap;
  56. gap: theme('spacing.4');
  57. }
  58. &__footer-link {
  59. @include transition(color 0.15s ease);
  60. font-size: theme('fontSize.14');
  61. color: theme('colors.text-link-default');
  62. text-decoration: none;
  63. &:hover {
  64. color: theme('colors.text-link-hover');
  65. }
  66. }
  67. }