Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

Commit ba98561

Browse files
committed
fix pop style
1 parent 23dbb3b commit ba98561

File tree

1 file changed

+43
-52
lines changed

1 file changed

+43
-52
lines changed
Lines changed: 43 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,54 @@
1-
@import '../../variables.css';
2-
3-
:root {
4-
--main-color: #3cb371;
5-
}
6-
7-
.progress {
8-
font-size: 62.5%;
9-
width: 60%;
10-
padding: 50px 0 40px;
11-
min-width: 450px;
12-
}
13-
14-
.progress li {
15-
float: left;
16-
width: 25%;
17-
height: 45px;
18-
line-height: 45px;
1+
.root {
2+
width: 500px;
3+
padding: 20px 0;
4+
color: #000;
195
text-align: center;
20-
font-size: 1.6em;
21-
color: #666;
22-
background-color: #ededed;
23-
position: relative;
24-
list-style: none;
25-
display: block;
26-
}
27-
28-
.progress li i {
29-
display: inline-block;
30-
width: 20px;
31-
height: 20px;
32-
border-radius: 50%;
33-
font-style: normal;
34-
background-color: var(--main-color);
35-
color: #fff;
36-
margin-right: 5px;
37-
line-height: 1.3;
6+
position: absolute;
7+
top: 50%;
8+
left: 50%;
9+
margin: -165px 0 0 -238px;
10+
background: #e6e6fa;
3811
}
3912

40-
.progress li em {
13+
.close {
4114
display: inline-block;
42-
width: 28px;
43-
height: 45px;
44-
background: url(./close.png) 0 0 no-repeat;
15+
width: 32px;
16+
height: 37px;
4517
position: absolute;
18+
background: url(./close.png) 0 0 no-repeat;
4619
top: 0;
47-
right: -14px;
48-
z-index: 1;
20+
right: 0;
21+
text-indent: -9999px;
4922
}
5023

51-
.progress li:last-child em {
52-
display: none;
24+
p input {
25+
width: 300px;
26+
height: 30px;
27+
font-size: 1.2em;
28+
border: 0 solid #ccc;
29+
margin-bottom: 3px;
30+
padding-left: 8px;
31+
background-color: #d3d3d3;
5332
}
5433

55-
.progress .current {
56-
background-color: var(--main-color);
57-
color: #fff;
58-
}
59-
60-
.progress .current i {
61-
color: var(--main-color);
62-
background-color: #fff;
34+
.btn {
35+
display: inline-block;
36+
padding: 6px 12px;
37+
margin-bottom: 0;
38+
font-size: 14px;
39+
font-weight: normal;
40+
line-height: 1.42857143;
41+
text-align: center;
42+
white-space: nowrap;
43+
vertical-align: middle;
44+
-ms-touch-action: manipulation;
45+
touch-action: manipulation;
46+
cursor: pointer;
47+
-webkit-user-select: none;
48+
-moz-user-select: none;
49+
-ms-user-select: none;
50+
user-select: none;
51+
background-image: none;
52+
border: 1px solid transparent;
53+
border-radius: 4px;
6354
}

0 commit comments

Comments
 (0)