Skip to content

Commit bf77938

Browse files
committed
[TASK] Improve wizard links
Always display them next to each other. Show only the badge number on mobile, and text on larger devices.
1 parent 20d55d7 commit bf77938

File tree

2 files changed

+31
-15
lines changed

2 files changed

+31
-15
lines changed

Resources/Private/Sass/_Wizard.scss

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,28 @@
77
}
88

99
.wizard {
10-
padding: 0.2em 0em 0.2em 0.2em;
10+
display: flex;
1111
}
1212

1313
.wizard a {
14-
padding: 22px 12px 19px;
15-
position: relative;
16-
display: inline-block;
17-
text-decoration: none;
18-
min-width: 33.00%;
19-
margin-left: 3px;
20-
text-align: center;
21-
font-size: 18px;
22-
color: $white;
23-
font-weight: bold;
14+
align-items: center;
2415
background: light-dark($colorGreyBright, $colorGreyDark);
25-
text-transform: uppercase;
16+
color: $white;
2617
cursor: pointer;
18+
display: flex;
19+
flex: 1;
20+
font-size: 18px;
21+
font-weight: bold;
22+
gap: 8px;
23+
justify-content: center;
2724
margin-bottom: 20px;
25+
margin-left: 3px;
26+
min-height: 68px;
27+
padding: 19px 12px 19px;
28+
position: relative;
29+
text-align: center;
30+
text-decoration: none;
31+
text-transform: uppercase;
2832
}
2933

3034
.wizard a:hover {
@@ -113,9 +117,7 @@
113117
}
114118

115119
.lux .wizard .badge {
116-
margin: 0 5px 0 18px;
117120
position: relative;
118-
top: -1px;
119121
border-radius: 20px;
120122
font-size: 18px;
121123
background: $white;
@@ -127,6 +129,20 @@
127129
}
128130
}
129131

132+
.wizard a:not(:first-child) .badge {
133+
@media (max-width: 1000px) {
134+
transform: translateX(17px);
135+
}
136+
}
137+
138+
.lux .wizard .badge-text {
139+
display: none;
140+
141+
@media (min-width: 1000px) {
142+
display: inline-block;
143+
}
144+
}
145+
130146
.wizard a:first-child .badge {
131147
margin-left: 0;
132148
}

0 commit comments

Comments
 (0)