Steps.less
2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.wev-comp-Steps{
background-color: #fff;
}
.wev-steps{
padding: 10px;
display: flex;
}
.wev-steps .wev-steps-item{
position: relative;
flex: 1;
word-break: break-all;
}
.wev-steps.wev-steps-vertical .wev-steps-item:not(:last-child){
padding-bottom: 30px;
}
.wev-steps.wev-steps-horizontal{
flex-direction: row;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.wev-steps.wev-steps-vertical{
flex-direction: column;
padding-left: 40px;
}
.wev-steps.wev-steps-horizontal .wev-steps-item{
text-align: center;
min-width: 80px;
}
.wev-steps .wev-steps-wait.wev-steps-item .wev-steps-item-title{
color:#aaa;
font-size: 16px;
margin-bottom: 5px;
}
.wev-steps .wev-steps-wait.wev-steps-item .wev-steps-item-desc{
color:#aaa;
}
.wev-steps .wev-steps-finish.wev-steps-item .wev-steps-item-title,
.wev-steps .wev-steps-current.wev-steps-item .wev-steps-item-title{
transition: color 3s;
color:#333;
font-size: 16px;
margin-bottom: 5px;
}
.wev-steps .wev-steps-item .wev-steps-item-icon{
border-radius: 26px;
width: 26px;
height: 26px;
line-height: 26px;
box-sizing: border-box;
}
.wev-steps .wev-steps-wait.wev-steps-item .wev-steps-item-icon{
color: #c8c7cc;
border: 1px solid #c8c7cc;
}
.wev-steps .wev-steps-finish.wev-steps-item .wev-steps-item-icon,
.wev-steps .wev-steps-current.wev-steps-item .wev-steps-item-icon{
transition: background-color 1s;
color: #fff;
background-color: var(--themeColor);
border:0;
}
.wev-steps .wev-steps-item .wev-steps-item-desc{
color:#999;
font-size: 14px;
}
.wev-steps.wev-steps-horizontal .wev-steps-item:not(:last-child) .wev-steps-item-tail{
position: absolute;
top:13px;
left: 50%;
right: 0px;
height: 1px;
transform: scaleY(0.5) translateX(50%);
}
.wev-steps.wev-steps-vertical .wev-steps-item:not(:last-child) .wev-steps-item-tail{
position: absolute;
top: 32px;
bottom: 6px;
width: 1px;
left: 13px;
transform: scaleX(0.5);
}
.wev-steps .wev-steps-wait.wev-steps-item .wev-steps-item-tail,
.wev-steps .wev-steps-current.wev-steps-item .wev-steps-item-tail{
background-color:#c8c7cc;
}
.wev-steps .wev-steps-finish.wev-steps-item .wev-steps-item-tail{
background-color:var(--themeColor);
}
.wev-steps.wev-steps-vertical .wev-steps-item .wev-steps-item-icon{
float: left;
text-align: center;
margin-right: 20px;
}
.wev-steps.wev-steps-horizontal .wev-steps-item .wev-steps-item-icon{
display: inline-block;
margin-bottom:15px;
}
.wev-steps.wev-steps-vertical .wev-steps-item .wev-steps-item-content{
display: block;
overflow: hidden;
}