UNPKG

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