Skip to content

Commit 30b0f60

Browse files
fix(scss notation): fix & notation for process wizard (#4993)
Co-authored-by: DouG Molidor <[email protected]>
1 parent 1268c9a commit 30b0f60

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed

ui/components/process/wizard/_deprecate.scss

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -6,92 +6,92 @@
66
.slds-wizard {
77
position: relative;
88

9-
&__list {
10-
display: flex;
11-
justify-content: space-between;
12-
position: relative;
13-
margin: auto;
14-
}
15-
16-
&__item {
17-
flex: 2 0 auto;
18-
text-align: center;
19-
width: 0%; // Needed for truncation due to different flex grow on items
20-
user-select: none;
21-
22-
&:first-child {
23-
text-align: left;
24-
flex-grow: 1;
25-
}
9+
.slds-is-active {
2610

27-
&:last-child {
28-
text-align: right;
29-
flex-grow: 1;
11+
.slds-wizard__marker {
12+
background: #0076de; // @TODO: Need a token for this
3013
}
3114

3215
a:hover,
3316
a:focus {
34-
outline: 0;
35-
text-decoration: none;
3617

3718
.slds-wizard__marker {
38-
background: rgb(216, 221, 230); // @TODO - no matching token
19+
background: rgb(0, 95, 178); // @TODO: Need a token for this
3920
}
4021
}
4122
}
23+
}
4224

43-
&__link {
44-
display: block;
45-
}
46-
47-
&__marker {
48-
@include square($square-icon-small-boundary);
49-
border-radius: $border-radius-circle;
50-
background: $color-background-dark;
51-
display: inline-block;
52-
vertical-align: middle;
53-
z-index: 1;
54-
position: relative;
55-
}
25+
.slds-wizard__list {
26+
display: flex;
27+
justify-content: space-between;
28+
position: relative;
29+
margin: auto;
30+
}
5631

57-
&__label {
58-
display: block;
59-
margin-top: $spacing-small;
60-
}
32+
.slds-wizard__item {
33+
flex: 2 0 auto;
34+
text-align: center;
35+
width: 0%; // Needed for truncation due to different flex grow on items
36+
user-select: none;
6137

62-
&__progress {
63-
position: absolute;
64-
left: 0;
65-
top: (($square-icon-small-boundary * 0.5) - ($square-icon-x-small-content * 0.25));
66-
height: ($square-icon-x-small-content * 0.5);
67-
display: block;
68-
width: 100%;
69-
z-index: -1;
70-
background: $color-background-dark;
38+
&:first-child {
39+
text-align: left;
40+
flex-grow: 1;
7141
}
7242

73-
&__progress-bar {
74-
position: absolute;
75-
left: 0;
76-
top: 0;
77-
height: 100%;
78-
background: #0076de; // @TODO: Need a token for this
79-
transition: width $duration-promptly ease;
43+
&:last-child {
44+
text-align: right;
45+
flex-grow: 1;
8046
}
8147

82-
.slds-is-active {
48+
a:hover,
49+
a:focus {
50+
outline: 0;
51+
text-decoration: none;
8352

8453
.slds-wizard__marker {
85-
background: #0076de; // @TODO: Need a token for this
54+
background: rgb(216, 221, 230); // @TODO - no matching token
8655
}
56+
}
57+
}
8758

88-
a:hover,
89-
a:focus {
59+
.slds-wizard__link {
60+
display: block;
61+
}
9062

91-
.slds-wizard__marker {
92-
background: rgb(0, 95, 178); // @TODO: Need a token for this
93-
}
94-
}
95-
}
63+
.slds-wizard__marker {
64+
@include square($square-icon-small-boundary);
65+
border-radius: $border-radius-circle;
66+
background: $color-background-dark;
67+
display: inline-block;
68+
vertical-align: middle;
69+
z-index: 1;
70+
position: relative;
71+
}
72+
73+
.slds-wizard__label {
74+
display: block;
75+
margin-top: $spacing-small;
76+
}
77+
78+
.slds-wizard__progress {
79+
position: absolute;
80+
left: 0;
81+
top: (($square-icon-small-boundary * 0.5) - ($square-icon-x-small-content * 0.25));
82+
height: ($square-icon-x-small-content * 0.5);
83+
display: block;
84+
width: 100%;
85+
z-index: -1;
86+
background: $color-background-dark;
87+
}
88+
89+
.slds-wizard__progress-bar {
90+
position: absolute;
91+
left: 0;
92+
top: 0;
93+
height: 100%;
94+
background: #0076de; // @TODO: Need a token for this
95+
transition: width $duration-promptly ease;
9696
}
9797
}

0 commit comments

Comments
 (0)