|
56 | 56 | left: calc(50% - (#{variables('process', 'item', 'stickbar', 'width')} - 1px)); |
57 | 57 | } |
58 | 58 | } |
| 59 | + &.#{class('process', 'failed')}, |
59 | 60 | &.#{class('process', 'active')} { |
60 | 61 | a { |
61 | 62 | color : theme('color', 'primary'); |
62 | 63 | font-weight: components('process', 'item', 'active', 'font-weight'); |
63 | 64 | &::after { |
64 | 65 | position : absolute; |
65 | | - content : components('process', 'item', 'indicator', 'content'); |
| 66 | + content : components('process', 'item', 'indicator', 'active'); |
66 | 67 | top : calc(-15px - #{components('process', 'item', 'indicator', 'font-size')}); |
67 | 68 | left : calc(50% - ((#{components('process', 'item', 'stickbar', 'width')} * 10) / 2)); |
68 | 69 | color : theme('color', 'primary'); |
|
84 | 85 | } |
85 | 86 | } |
86 | 87 | } |
| 88 | + &.#{class('process', 'failed')} { |
| 89 | + &:not(:first-child)::before { |
| 90 | + background: theme('color', 'error'); |
| 91 | + } |
| 92 | + a { |
| 93 | + color: theme('color', 'error'); |
| 94 | + &::before { |
| 95 | + background: theme('color', 'error'); |
| 96 | + } |
| 97 | + &::after { |
| 98 | + content: components('process', 'item', 'indicator', 'failed'); |
| 99 | + color : theme('color', 'error'); |
| 100 | + } |
| 101 | + } |
| 102 | + } |
87 | 103 | } |
88 | 104 | /// |
89 | 105 | /// STYLES |
|
0 commit comments