funda-ui 4.6.399 → 4.7.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/Stepper/index.css +243 -0
- package/Stepper/index.d.ts +26 -0
- package/Stepper/index.js +556 -0
- package/Table/index.css +4 -4
- package/all.d.ts +1 -0
- package/all.js +1 -0
- package/lib/cjs/Stepper/index.d.ts +26 -0
- package/lib/cjs/Stepper/index.js +556 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/css/Stepper/index.css +243 -0
- package/lib/css/Table/index.css +4 -4
- package/lib/esm/Stepper/index.scss +306 -0
- package/lib/esm/Stepper/index.tsx +312 -0
- package/lib/esm/Table/index.scss +2 -2
- package/lib/esm/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/* ======================================================
|
|
2
|
+
<!-- Stepper -->
|
|
3
|
+
/* ====================================================== */
|
|
4
|
+
.stepper-container {
|
|
5
|
+
--stepper-color-default: #333;
|
|
6
|
+
--stepper-color-active: white;
|
|
7
|
+
--stepper-color-complete: #2563eb;
|
|
8
|
+
--stepper-indicator-default: white;
|
|
9
|
+
--stepper-indicator-active: #2563eb;
|
|
10
|
+
--stepper-indicator-complete: #22c55e;
|
|
11
|
+
--stepper-border-default: #ccc;
|
|
12
|
+
--stepper-border-active: #2563eb;
|
|
13
|
+
--stepper-border-complete: #22c55e;
|
|
14
|
+
--stepper-line-default: #dfdfdf;
|
|
15
|
+
--stepper-line-active: #2563eb;
|
|
16
|
+
--stepper-line-complete: #22c55e;
|
|
17
|
+
--stepper-indicator-size: 0.875rem;
|
|
18
|
+
--stepper-indicator-offset: 100px;
|
|
19
|
+
--stepper-title-size: 0.875rem;
|
|
20
|
+
position: relative;
|
|
21
|
+
/* Navigation Header (only horizontal) */
|
|
22
|
+
/* Main Navigation - Each step item (with circle + title) */
|
|
23
|
+
/* Line */
|
|
24
|
+
/* Indicator */
|
|
25
|
+
/* Title */
|
|
26
|
+
/* Panels Area */
|
|
27
|
+
/* Buttons */
|
|
28
|
+
/* Panel */
|
|
29
|
+
}
|
|
30
|
+
.stepper-container .stepper-header {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
margin-bottom: 1.5rem;
|
|
34
|
+
flex-wrap: nowrap;
|
|
35
|
+
position: relative;
|
|
36
|
+
/* background line */
|
|
37
|
+
}
|
|
38
|
+
.stepper-container .stepper-header::before {
|
|
39
|
+
content: "";
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: calc(50% - 0.875rem); /* Subtract the height of the title */
|
|
42
|
+
left: 14px;
|
|
43
|
+
right: 0;
|
|
44
|
+
height: 2px;
|
|
45
|
+
background-color: var(--stepper-line-default);
|
|
46
|
+
z-index: 1;
|
|
47
|
+
width: calc(100% - var(--stepper-indicator-offset) / 2);
|
|
48
|
+
}
|
|
49
|
+
.stepper-container .stepper-header::after {
|
|
50
|
+
content: "";
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: calc(50% - 0.875rem); /* Subtract the height of the title */
|
|
53
|
+
left: 14px;
|
|
54
|
+
height: 2px;
|
|
55
|
+
background-color: var(--stepper-line-complete);
|
|
56
|
+
z-index: 2;
|
|
57
|
+
transition: width 0.3s ease-in-out;
|
|
58
|
+
width: 0;
|
|
59
|
+
}
|
|
60
|
+
.stepper-container .stepper-header::after {
|
|
61
|
+
width: var(--stepper-progress-width, 0%);
|
|
62
|
+
max-width: calc(100% - var(--stepper-indicator-offset) / 2);
|
|
63
|
+
}
|
|
64
|
+
.stepper-container .step-item {
|
|
65
|
+
flex: none;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
align-items: center;
|
|
69
|
+
max-width: var(--stepper-indicator-offset);
|
|
70
|
+
position: relative;
|
|
71
|
+
z-index: 3;
|
|
72
|
+
}
|
|
73
|
+
.stepper-container .step-item.step-item--clickable {
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
76
|
+
.stepper-container .step-line {
|
|
77
|
+
flex: 1;
|
|
78
|
+
height: 2px;
|
|
79
|
+
background-color: var(--stepper-line-default);
|
|
80
|
+
margin: 0 4px;
|
|
81
|
+
position: relative;
|
|
82
|
+
top: -10px;
|
|
83
|
+
z-index: 0;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
}
|
|
87
|
+
.stepper-container .step-line--active {
|
|
88
|
+
background-color: var(--stepper-line-default);
|
|
89
|
+
}
|
|
90
|
+
.stepper-container .step-line--complete {
|
|
91
|
+
background-color: var(--stepper-line-default);
|
|
92
|
+
}
|
|
93
|
+
.stepper-container .step-line::after {
|
|
94
|
+
content: "";
|
|
95
|
+
position: absolute;
|
|
96
|
+
top: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: 100%;
|
|
100
|
+
background-color: var(--stepper-line-complete);
|
|
101
|
+
transform: scaleX(0);
|
|
102
|
+
transform-origin: left;
|
|
103
|
+
transition: transform 0.3s ease-in-out;
|
|
104
|
+
}
|
|
105
|
+
.stepper-container .step-line--active::after, .stepper-container .step-line--complete::after {
|
|
106
|
+
transform: scaleX(1);
|
|
107
|
+
}
|
|
108
|
+
.stepper-container .step-indicator {
|
|
109
|
+
width: 32px;
|
|
110
|
+
height: 32px;
|
|
111
|
+
margin: 0 auto 0.25rem;
|
|
112
|
+
border-radius: 9999px;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
border: 2px solid #ccc;
|
|
117
|
+
font-size: var(--stepper-indicator-size);
|
|
118
|
+
/* default */
|
|
119
|
+
background-color: var(--stepper-indicator-default);
|
|
120
|
+
color: var(--stepper-color-default);
|
|
121
|
+
border-color: var(--stepper-border-default);
|
|
122
|
+
}
|
|
123
|
+
.stepper-container .step-indicator--active {
|
|
124
|
+
background-color: var(--stepper-indicator-active);
|
|
125
|
+
color: var(--stepper-color-active);
|
|
126
|
+
border-color: var(--stepper-border-active);
|
|
127
|
+
}
|
|
128
|
+
.stepper-container .step-indicator--complete {
|
|
129
|
+
background-color: var(--stepper-indicator-complete);
|
|
130
|
+
color: var(--stepper-color-active);
|
|
131
|
+
border-color: var(--stepper-border-complete);
|
|
132
|
+
}
|
|
133
|
+
.stepper-container .step-title {
|
|
134
|
+
font-size: var(--stepper-title-size);
|
|
135
|
+
/* default */
|
|
136
|
+
color: var(--stepper-color-default);
|
|
137
|
+
}
|
|
138
|
+
.stepper-container .step-title--active {
|
|
139
|
+
font-weight: bold;
|
|
140
|
+
}
|
|
141
|
+
.stepper-container .stepper-buttons {
|
|
142
|
+
display: flex;
|
|
143
|
+
justify-content: space-between;
|
|
144
|
+
margin-top: 1rem;
|
|
145
|
+
}
|
|
146
|
+
.stepper-container .stepper-panel {
|
|
147
|
+
width: 100%;
|
|
148
|
+
}
|
|
149
|
+
.stepper-container .stepper-panel-header {
|
|
150
|
+
font-size: 1.25rem;
|
|
151
|
+
font-weight: bold;
|
|
152
|
+
margin-bottom: 1rem;
|
|
153
|
+
display: none;
|
|
154
|
+
}
|
|
155
|
+
.stepper-container .stepper-panel-content {
|
|
156
|
+
width: 100%;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/*------ Verticle ------*/
|
|
160
|
+
.stepper-container.stepper-container--vertical {
|
|
161
|
+
--stepper-indicator-offset: 50px;
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
gap: 1rem; /* line length */
|
|
165
|
+
/* background line */
|
|
166
|
+
/* Layout */
|
|
167
|
+
/* Title */
|
|
168
|
+
/* Panel */
|
|
169
|
+
/* Line */
|
|
170
|
+
}
|
|
171
|
+
.stepper-container.stepper-container--vertical::before {
|
|
172
|
+
content: "";
|
|
173
|
+
position: absolute;
|
|
174
|
+
top: 20px;
|
|
175
|
+
left: 24px;
|
|
176
|
+
width: 2px;
|
|
177
|
+
height: calc(100% - var(--stepper-indicator-offset));
|
|
178
|
+
background-color: var(--stepper-line-default);
|
|
179
|
+
z-index: 1;
|
|
180
|
+
}
|
|
181
|
+
.stepper-container.stepper-container--vertical::after {
|
|
182
|
+
content: "";
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 20px;
|
|
185
|
+
left: 24px;
|
|
186
|
+
width: 2px;
|
|
187
|
+
background-color: var(--stepper-line-complete);
|
|
188
|
+
z-index: 2;
|
|
189
|
+
transition: height 0.3s ease-in-out;
|
|
190
|
+
height: 0;
|
|
191
|
+
}
|
|
192
|
+
.stepper-container.stepper-container--vertical::after {
|
|
193
|
+
height: var(--stepper-progress-height, 0%);
|
|
194
|
+
max-height: calc(100% - var(--stepper-indicator-offset));
|
|
195
|
+
}
|
|
196
|
+
.stepper-container.stepper-container--vertical .vertical-step-row {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: flex-start;
|
|
199
|
+
}
|
|
200
|
+
.stepper-container.stepper-container--vertical .vertical-step-left {
|
|
201
|
+
flex-shrink: 0;
|
|
202
|
+
width: var(--stepper-indicator-offset);
|
|
203
|
+
position: relative;
|
|
204
|
+
/* Main Navigation - Each step item (with circle + title) */
|
|
205
|
+
/* Line */
|
|
206
|
+
}
|
|
207
|
+
.stepper-container.stepper-container--vertical .vertical-step-left .step-item {
|
|
208
|
+
margin-top: 20px;
|
|
209
|
+
}
|
|
210
|
+
.stepper-container.stepper-container--vertical .vertical-step-left .step-line {
|
|
211
|
+
position: absolute;
|
|
212
|
+
left: 20px;
|
|
213
|
+
opacity: 0;
|
|
214
|
+
}
|
|
215
|
+
.stepper-container.stepper-container--vertical .vertical-step-right {
|
|
216
|
+
flex: 1;
|
|
217
|
+
left: 70px;
|
|
218
|
+
width: calc(100% - 70px);
|
|
219
|
+
position: absolute;
|
|
220
|
+
top: 1.5rem;
|
|
221
|
+
}
|
|
222
|
+
.stepper-container.stepper-container--vertical .step-title {
|
|
223
|
+
display: none;
|
|
224
|
+
margin-left: 0.3rem;
|
|
225
|
+
}
|
|
226
|
+
.stepper-container.stepper-container--vertical .stepper-panel-header {
|
|
227
|
+
display: block;
|
|
228
|
+
}
|
|
229
|
+
.stepper-container.stepper-container--vertical .step-line {
|
|
230
|
+
flex: auto;
|
|
231
|
+
width: 2px;
|
|
232
|
+
height: 40px;
|
|
233
|
+
margin-top: 4px;
|
|
234
|
+
top: auto;
|
|
235
|
+
left: -24px;
|
|
236
|
+
}
|
|
237
|
+
.stepper-container.stepper-container--vertical .step-line::after {
|
|
238
|
+
transform-origin: top;
|
|
239
|
+
transform: scaleY(0);
|
|
240
|
+
}
|
|
241
|
+
.stepper-container.stepper-container--vertical .step-line--active::after, .stepper-container.stepper-container--vertical .step-line--complete::after {
|
|
242
|
+
transform: scaleY(1);
|
|
243
|
+
}
|
package/lib/css/Table/index.css
CHANGED
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
min-width: auto !important;
|
|
517
517
|
width: auto !important;
|
|
518
518
|
}
|
|
519
|
-
.syntable__wrapper.table-enhanced-responsive-scrolled table thead th:not(last-child) {
|
|
519
|
+
.syntable__wrapper.table-enhanced-responsive-scrolled table thead th:not(:last-child) {
|
|
520
520
|
border-bottom: 0;
|
|
521
521
|
}
|
|
522
522
|
.syntable__wrapper.table-enhanced-responsive-scrolled table tbody {
|
|
@@ -568,9 +568,9 @@
|
|
|
568
568
|
.syntable__wrapper.table-enhanced-responsive-scrolled table tbody th:first-child {
|
|
569
569
|
border-top: 0;
|
|
570
570
|
}
|
|
571
|
-
.syntable__wrapper.table-enhanced-responsive-scrolled table th:not(last-child),
|
|
572
|
-
.syntable__wrapper.table-enhanced-responsive-scrolled table tbody td:not(last-child),
|
|
573
|
-
.syntable__wrapper.table-enhanced-responsive-scrolled table tbody th:not(last-child) {
|
|
571
|
+
.syntable__wrapper.table-enhanced-responsive-scrolled table th:not(:last-child),
|
|
572
|
+
.syntable__wrapper.table-enhanced-responsive-scrolled table tbody td:not(:last-child),
|
|
573
|
+
.syntable__wrapper.table-enhanced-responsive-scrolled table tbody th:not(:last-child) {
|
|
574
574
|
border-bottom: 0;
|
|
575
575
|
border-right: 0;
|
|
576
576
|
}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
/* ======================================================
|
|
4
|
+
<!-- Stepper -->
|
|
5
|
+
/* ====================================================== */
|
|
6
|
+
|
|
7
|
+
.stepper-container {
|
|
8
|
+
|
|
9
|
+
--stepper-color-default: #333;
|
|
10
|
+
--stepper-color-active: white;
|
|
11
|
+
--stepper-color-complete: #2563eb;
|
|
12
|
+
--stepper-indicator-default: white;
|
|
13
|
+
--stepper-indicator-active: #2563eb;
|
|
14
|
+
--stepper-indicator-complete: #22c55e;
|
|
15
|
+
--stepper-border-default: #ccc;
|
|
16
|
+
--stepper-border-active: #2563eb;
|
|
17
|
+
--stepper-border-complete: #22c55e;
|
|
18
|
+
--stepper-line-default: #dfdfdf;
|
|
19
|
+
--stepper-line-active: #2563eb;
|
|
20
|
+
--stepper-line-complete: #22c55e;
|
|
21
|
+
--stepper-indicator-size: 0.875rem;
|
|
22
|
+
--stepper-indicator-offset: 100px;
|
|
23
|
+
--stepper-title-size: 0.875rem;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
position: relative;
|
|
27
|
+
|
|
28
|
+
/* Navigation Header (only horizontal) */
|
|
29
|
+
.stepper-header {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
margin-bottom: 1.5rem;
|
|
33
|
+
flex-wrap: nowrap;
|
|
34
|
+
position: relative;
|
|
35
|
+
|
|
36
|
+
/* background line */
|
|
37
|
+
&::before {
|
|
38
|
+
content: '';
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: calc(50% - 0.875rem); /* Subtract the height of the title */
|
|
41
|
+
left: 14px;
|
|
42
|
+
right: 0;
|
|
43
|
+
height: 2px;
|
|
44
|
+
background-color: var(--stepper-line-default);
|
|
45
|
+
z-index: 1;
|
|
46
|
+
width: calc(100% - calc(var(--stepper-indicator-offset)/2));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&::after {
|
|
50
|
+
content: '';
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: calc(50% - 0.875rem); /* Subtract the height of the title */
|
|
53
|
+
left: 14px;
|
|
54
|
+
height: 2px;
|
|
55
|
+
background-color: var(--stepper-line-complete);
|
|
56
|
+
z-index: 2;
|
|
57
|
+
transition: width 0.3s ease-in-out;
|
|
58
|
+
width: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&::after {
|
|
62
|
+
width: var(--stepper-progress-width, 0%);
|
|
63
|
+
max-width: calc(100% - calc(var(--stepper-indicator-offset)/2));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Main Navigation - Each step item (with circle + title) */
|
|
68
|
+
.step-item {
|
|
69
|
+
flex: none;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
align-items: center;
|
|
73
|
+
max-width: var(--stepper-indicator-offset);
|
|
74
|
+
position: relative;
|
|
75
|
+
z-index: 3;
|
|
76
|
+
|
|
77
|
+
&.step-item--clickable {
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
/* Line */
|
|
85
|
+
.step-line {
|
|
86
|
+
flex: 1;
|
|
87
|
+
height: 2px;
|
|
88
|
+
background-color: var(--stepper-line-default);
|
|
89
|
+
margin: 0 4px;
|
|
90
|
+
position: relative;
|
|
91
|
+
top: -10px;
|
|
92
|
+
z-index: 0;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
opacity: 0;
|
|
95
|
+
|
|
96
|
+
&--active {
|
|
97
|
+
background-color: var(--stepper-line-default);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&--complete {
|
|
101
|
+
background-color: var(--stepper-line-default);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&::after {
|
|
105
|
+
content: '';
|
|
106
|
+
position: absolute;
|
|
107
|
+
top: 0;
|
|
108
|
+
left: 0;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
111
|
+
background-color: var(--stepper-line-complete);
|
|
112
|
+
transform: scaleX(0);
|
|
113
|
+
transform-origin: left;
|
|
114
|
+
transition: transform 0.3s ease-in-out;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&--active::after,
|
|
118
|
+
&--complete::after {
|
|
119
|
+
transform: scaleX(1);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
/* Indicator */
|
|
126
|
+
.step-indicator {
|
|
127
|
+
width: 32px;
|
|
128
|
+
height: 32px;
|
|
129
|
+
margin: 0 auto 0.25rem;
|
|
130
|
+
border-radius: 9999px;
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
border: 2px solid #ccc;
|
|
135
|
+
font-size: var(--stepper-indicator-size);
|
|
136
|
+
|
|
137
|
+
/* default */
|
|
138
|
+
background-color: var(--stepper-indicator-default);
|
|
139
|
+
color: var(--stepper-color-default);
|
|
140
|
+
border-color: var(--stepper-border-default);
|
|
141
|
+
|
|
142
|
+
&--active {
|
|
143
|
+
background-color: var(--stepper-indicator-active);
|
|
144
|
+
color: var(--stepper-color-active);
|
|
145
|
+
border-color: var(--stepper-border-active);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&--complete {
|
|
149
|
+
background-color: var(--stepper-indicator-complete);
|
|
150
|
+
color: var(--stepper-color-active);
|
|
151
|
+
border-color: var(--stepper-border-complete);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
/* Title */
|
|
158
|
+
.step-title {
|
|
159
|
+
font-size: var(--stepper-title-size);
|
|
160
|
+
|
|
161
|
+
/* default */
|
|
162
|
+
color: var(--stepper-color-default);
|
|
163
|
+
|
|
164
|
+
&--active {
|
|
165
|
+
font-weight: bold;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
/* Panels Area */
|
|
172
|
+
.stepper-panels {
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Buttons */
|
|
177
|
+
.stepper-buttons {
|
|
178
|
+
display: flex;
|
|
179
|
+
justify-content: space-between;
|
|
180
|
+
margin-top: 1rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Panel */
|
|
184
|
+
.stepper-panel {
|
|
185
|
+
width: 100%;
|
|
186
|
+
}
|
|
187
|
+
.stepper-panel-header {
|
|
188
|
+
font-size: 1.25rem;
|
|
189
|
+
font-weight: bold;
|
|
190
|
+
margin-bottom: 1rem;
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
.stepper-panel-content {
|
|
194
|
+
width: 100%;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
/*------ Verticle ------*/
|
|
203
|
+
.stepper-container.stepper-container--vertical {
|
|
204
|
+
|
|
205
|
+
--stepper-indicator-offset: 50px;
|
|
206
|
+
|
|
207
|
+
display: flex;
|
|
208
|
+
flex-direction: column;
|
|
209
|
+
gap: 1rem; /* line length */
|
|
210
|
+
|
|
211
|
+
/* background line */
|
|
212
|
+
&::before {
|
|
213
|
+
content: '';
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: 20px;
|
|
216
|
+
left: 24px;
|
|
217
|
+
width: 2px;
|
|
218
|
+
height: calc(100% - calc(var(--stepper-indicator-offset)));
|
|
219
|
+
background-color: var(--stepper-line-default);
|
|
220
|
+
z-index: 1;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&::after {
|
|
224
|
+
content: '';
|
|
225
|
+
position: absolute;
|
|
226
|
+
top: 20px;
|
|
227
|
+
left: 24px;
|
|
228
|
+
width: 2px;
|
|
229
|
+
background-color: var(--stepper-line-complete);
|
|
230
|
+
z-index: 2;
|
|
231
|
+
transition: height 0.3s ease-in-out;
|
|
232
|
+
height: 0;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&::after {
|
|
236
|
+
height: var(--stepper-progress-height, 0%);
|
|
237
|
+
max-height: calc(100% - calc(var(--stepper-indicator-offset)));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/* Layout */
|
|
242
|
+
.vertical-step-row {
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: flex-start;
|
|
245
|
+
}
|
|
246
|
+
.vertical-step-left {
|
|
247
|
+
flex-shrink: 0;
|
|
248
|
+
width: var(--stepper-indicator-offset);
|
|
249
|
+
position: relative;
|
|
250
|
+
|
|
251
|
+
/* Main Navigation - Each step item (with circle + title) */
|
|
252
|
+
.step-item {
|
|
253
|
+
margin-top: 20px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* Line */
|
|
257
|
+
.step-line {
|
|
258
|
+
position: absolute;
|
|
259
|
+
left: 20px;
|
|
260
|
+
opacity: 0;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.vertical-step-right {
|
|
266
|
+
flex: 1;
|
|
267
|
+
left: 70px;
|
|
268
|
+
width: calc(100% - 70px);
|
|
269
|
+
position: absolute;
|
|
270
|
+
top: 1.5rem;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* Title */
|
|
274
|
+
.step-title {
|
|
275
|
+
display: none;
|
|
276
|
+
margin-left: .3rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Panel */
|
|
280
|
+
.stepper-panel-header {
|
|
281
|
+
display: block;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
/* Line */
|
|
287
|
+
.step-line {
|
|
288
|
+
flex: auto;
|
|
289
|
+
width: 2px;
|
|
290
|
+
height: 40px;
|
|
291
|
+
margin-top: 4px;
|
|
292
|
+
top: auto;
|
|
293
|
+
left: -24px;
|
|
294
|
+
|
|
295
|
+
&::after {
|
|
296
|
+
transform-origin: top;
|
|
297
|
+
transform: scaleY(0);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&--active::after,
|
|
301
|
+
&--complete::after {
|
|
302
|
+
transform: scaleY(1);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
}
|
|
306
|
+
}
|