3 $height-wizard: rem(6) !default;
4 $size-current-pin: rem(16) !default;
7 block-size: $height-wizard;
11 padding-inline-start: rem(2); // "optical" alignment, difficult to align text and circle ^^
16 inline-size: $size-current-pin;
17 block-size: $size-current-pin;
18 margin-inline-start: -1px; // trick for high zoom level ^^
21 inset-block-start: -#{$height-wizard - rem(1)};
22 background-image: radial-gradient(
25 var(--primary) #{math.div($height-wizard, 2)},
26 transparent #{math.div($height-wizard, 2)}
32 fill: var(--primary-contrast);
37 background: var(--background-strong);
44 // positionned first element always with a aria-current/is-complete
47 background-image: linear-gradient(
49 var(--background-strong) 0,
50 var(--background-strong) calc(100% - #{math.div($height-wizard, 2)}),
51 transparent calc(100% - #{math.div($height-wizard, 2)})
57 background-image: linear-gradient(
59 var(--background-strong) 0,
60 var(--background-strong) 50%,
64 &.is-complete::after {
71 background-color: var(--primary);
73 inset-block-start: -#{$height-wizard - rem(1)};
77 &[aria-current='step'] {
79 background-image: radial-gradient(
81 var(--primary-contrast) 0,
82 var(--primary-contrast) #{math.div($height-wizard, 2)},
83 var(--primary) #{math.div($height-wizard, 2)}
88 &.is-complete::before {
90 background: var(--primary);
93 &.is-complete::after {
98 block-size: $height-wizard;
99 inset-block-start: -$size-current-pin;
100 background-color: var(--primary);
104 &-container--no-text-displayed &-item[aria-current='step'] &-item-inner {
124 &[aria-current='step'] {
126 font-weight: var(--font-weight-semibold);