UNPKG

7.69 kBSCSSView Raw
1@import "../node_modules/tinper-bee-core/scss/minxin-variables";
2@import "../node_modules/tinper-bee-core/scss/minxin-mixins";
3.u-steps {
4 font-size: 0;
5 width: 100%;
6 line-height: 1.5;
7}
8.u-steps .u-steps-item {
9 position: relative;
10 display: inline-block;
11 vertical-align: top;
12}
13.u-steps .u-steps-item.u-steps-status-wait .u-steps-head-inner {
14 border-color: rgba(0, 0, 0, 0.25);
15 background-color: #fff;
16}
17.u-steps .u-steps-item.u-steps-status-wait .u-steps-head-inner > .u-steps-icon {
18 color: rgba(0, 0, 0, 0.25);
19}
20.u-steps .u-steps-item.u-steps-status-wait .u-steps-title {
21 color: rgba(0, 0, 0, 0.43);
22}
23.u-steps .u-steps-item.u-steps-status-wait .u-steps-description {
24 color: rgba(0, 0, 0, 0.43);
25}
26.u-steps .u-steps-item.u-steps-status-wait .u-steps-tail > i {
27 background-color: #e9e9e9;
28}
29.u-steps .u-steps-item.u-steps-status-process .u-steps-head-inner {
30 border-color: #108ee9;
31 background-color: #108ee9;
32}
33.u-steps .u-steps-item.u-steps-status-process .u-steps-head-inner > .u-steps-icon {
34 color: #fff;
35}
36.u-steps .u-steps-item.u-steps-status-process .u-steps-title {
37 color: rgba(0, 0, 0, 0.65);
38}
39.u-steps .u-steps-item.u-steps-status-process .u-steps-description {
40 color: rgba(0, 0, 0, 0.65);
41}
42.u-steps .u-steps-item.u-steps-status-process .u-steps-tail > i {
43 background-color: #e9e9e9;
44}
45.u-steps .u-steps-item.u-steps-status-finish .u-steps-head-inner {
46 border-color: #108ee9;
47 background-color: #fff;
48}
49.u-steps .u-steps-item.u-steps-status-finish .u-steps-head-inner > .u-steps-icon {
50 color: #108ee9;
51}
52.u-steps .u-steps-item.u-steps-status-finish .u-steps-tail > i:after {
53 width: 100%;
54 background: #108ee9;
55 -webkit-transition: all 0.6s;
56 transition: all 0.6s;
57 opacity: 1;
58}
59.u-steps .u-steps-item.u-steps-status-finish .u-steps-title {
60 color: rgba(0, 0, 0, 0.43);
61}
62.u-steps .u-steps-item.u-steps-status-finish .u-steps-description {
63 color: rgba(0, 0, 0, 0.43);
64}
65.u-steps .u-steps-item.u-steps-status-error .u-steps-head-inner {
66 border-color: #F04134;
67 background-color: #fff;
68}
69.u-steps .u-steps-item.u-steps-status-error .u-steps-head-inner > .u-steps-icon {
70 color: #F04134;
71}
72.u-steps .u-steps-item.u-steps-status-error .u-steps-title {
73 color: #F04134;
74}
75.u-steps .u-steps-item.u-steps-status-error .u-steps-description {
76 color: #F04134;
77}
78.u-steps .u-steps-item.u-steps-status-error .u-steps-tail > i {
79 background-color: #e9e9e9;
80}
81.u-steps .u-steps-item.u-steps-next-error .u-steps-tail > i,
82.u-steps .u-steps-item.u-steps-next-error .u-steps-tail > i:after {
83 background-color: #F04134;
84}
85.u-steps .u-steps-item.u-steps-custom .u-steps-head-inner {
86 background: none;
87 border: 0;
88 width: auto;
89 height: auto;
90}
91.u-steps .u-steps-item.u-steps-custom .u-steps-head-inner > .u-steps-icon {
92 font-size: 26px;
93 width: 26px;
94 height: 26px;
95}
96.u-steps .u-steps-item.u-steps-custom.u-steps-status-process .u-steps-head-inner > .u-steps-icon {
97 color: #108ee9;
98}
99.u-steps .u-steps-head,
100.u-steps .u-steps-main {
101 position: relative;
102 display: inline-block;
103 vertical-align: top;
104}
105.u-steps .u-steps-head {
106 background: #fff;
107}
108.u-steps .u-steps-head-inner {
109 display: block;
110 border: 1px solid rgba(0, 0, 0, 0.25);
111 width: 26px;
112 height: 26px;
113 line-height: 23px;
114 text-align: center;
115 border-radius: 26px;
116 font-size: 14px;
117 margin-right: 8px;
118 -webkit-transition: background-color 0.3s ease, border-color 0.3s ease;
119 transition: background-color 0.3s ease, border-color 0.3s ease;
120}
121.u-steps .u-steps-head-inner > .u-steps-icon {
122 line-height: 1;
123 color: #108ee9;
124 position: relative;
125}
126.uicon-check:before {
127 content: "\e677";
128}
129.uf {
130 font-size: 22px;
131}
132.uicon-cross:before {
133 content: "\e76b";
134}
135.uicon:before {
136 display: block;
137 font-family: uf!important;
138}
139.u-steps .u-steps-head-inner > .u-steps-icon.uicon {
140 font-size: 12px;
141 line-height: 1.9;
142}
143.u-steps .u-steps-head-inner > .u-steps-icon.uicon-cross,
144.u-steps .u-steps-head-inner > .u-steps-icon.uicon-check {
145 font-weight: bold;
146}
147.u-steps .u-steps-main {
148 margin-top: 2.5px;
149}
150.u-steps .u-steps-title {
151 font-size: 14px;
152 margin-bottom: 4px;
153 color: rgba(0, 0, 0, 0.65);
154 font-weight: bold;
155 background: #fff;
156 display: inline-block;
157 padding-right: 10px;
158}
159.u-steps .u-steps-title > a:first-child:last-child {
160 color: rgba(0, 0, 0, 0.65);
161}
162.u-steps .u-steps-item-last .u-steps-title {
163 padding-right: 0;
164 width: 100%;
165}
166.u-steps .u-steps-description {
167 font-size: 12px;
168 color: rgba(0, 0, 0, 0.43);
169}
170.u-steps .u-steps-tail {
171 position: absolute;
172 left: 0;
173 width: 100%;
174 top: 13px;
175 padding: 0 10px;
176}
177.u-steps .u-steps-tail > i {
178 display: inline-block;
179 vertical-align: top;
180 background: #e9e9e9;
181 height: 1px;
182 border-radius: 1px;
183 width: 100%;
184 position: relative;
185}
186.u-steps .u-steps-tail > i:after {
187 position: absolute;
188 content: '';
189 top: 0;
190 width: 0;
191 background: #e9e9e9;
192 height: 100%;
193 opacity: 0;
194}
195.u-steps.u-steps-small .u-steps-head-inner {
196 border: 1px solid rgba(0, 0, 0, 0.25);
197 width: 18px;
198 height: 18px;
199 line-height: 15px;
200 text-align: center;
201 border-radius: 18px;
202 font-size: 12px;
203 margin-right: 10px;
204}
205.u-steps.u-steps-small .u-steps-head-inner > .u-steps-icon.uicon {
206 display: inline-block;
207 font-size: 12px;
208 font-size: 9px \9;
209 -webkit-transform: scale(0.75) rotate(0deg);
210 -ms-transform: scale(0.75) rotate(0deg);
211 transform: scale(0.75) rotate(0deg);
212 /* IE6-IE8 */
213 -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=1, M12=0, M21=0, M22=1)";
214 zoom: 1;
215 top: 0;
216}
217:root .u-steps.u-steps-small .u-steps-head-inner > .u-steps-icon.uicon {
218 -webkit-filter: none;
219 filter: none;
220}
221:root .u-steps.u-steps-small .u-steps-head-inner > .u-steps-icon.uicon {
222 font-size: 12px;
223 line-height: 1.4;
224}
225.u-steps.u-steps-small .u-steps-main {
226 margin-top: 0;
227}
228.u-steps.u-steps-small .u-steps-title {
229 font-size: 12px;
230 margin-bottom: 4px;
231 color: rgba(0, 0, 0, 0.65);
232 font-weight: bold;
233}
234.u-steps.u-steps-small .u-steps-description {
235 font-size: 12px;
236 color: rgba(0, 0, 0, 0.43);
237}
238.u-steps.u-steps-small .u-steps-tail {
239 top: 8px;
240 padding: 0 8px;
241}
242.u-steps.u-steps-small .u-steps-tail > i {
243 height: 1px;
244 border-radius: 1px;
245 width: 100%;
246}
247.u-steps.u-steps-small .u-steps-custom .u-steps-head-inner > .u-steps-icon {
248 font-size: 18px;
249 width: 18px;
250 height: 18px;
251}
252.u-steps-vertical .u-steps-item {
253 display: block;
254}
255.u-steps-vertical .u-steps-tail {
256 position: absolute;
257 left: 13px;
258 top: 0;
259 height: 100%;
260 width: 1px;
261 padding: 30px 0 4px 0;
262}
263.u-steps-vertical .u-steps-tail > i {
264 height: 100%;
265 width: 1px;
266}
267.u-steps-vertical .u-steps-tail > i:after {
268 height: 0;
269 width: 100%;
270}
271.u-steps-vertical .u-steps-status-finish .u-steps-tail > i:after {
272 height: 100%;
273}
274.u-steps-vertical .u-steps-head {
275 float: left;
276}
277.u-steps-vertical .u-steps-head-inner {
278 margin-right: 16px;
279}
280.u-steps-vertical .u-steps-main {
281 min-height: 47px;
282 overflow: hidden;
283 display: block;
284}
285.u-steps-vertical .u-steps-main .u-steps-title {
286 line-height: 26px;
287}
288.u-steps-vertical .u-steps-main .u-steps-description {
289 padding-bottom: 12px;
290}
291.u-steps-vertical.u-steps-small .u-steps-tail {
292 position: absolute;
293 left: 9px;
294 top: 0;
295 padding: 22px 0 4px 0;
296}
297.u-steps-vertical.u-steps-small .u-steps-tail > i {
298 height: 100%;
299}
300.u-steps-vertical.u-steps-small .u-steps-title {
301 line-height: 18px;
302}
303.u-steps-horizontal.u-steps-hidden {
304 visibility: hidden;
305}
306.u-steps-horizontal .u-steps-description {
307 max-width: 120px;
308}
309.u-steps-horizontal .u-steps-item:not(:first-child) .u-steps-head {
310 padding-left: 10px;
311 margin-left: -10px;
312}