city.css
1.5 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
.city {
display: block;
}
.city .city-wrapper {
position: fixed;
top: 0;
bottom: 0;
width: 100%;
}
.city .city-wrapper .cities .title {
height: 28px;
padding-left: 16px;
line-height: 28px;
background-color: #f5f5f5;
font-family: Helvetica;
font-size: 1.2rem;
color: #878787;
}
.city .city-wrapper .cities .item {
height: 44px;
padding: 0 16px;
line-height: 44px;
font-size: 1.6rem;
}
.city .city-wrapper .cities .item .name {
display: block;
position: relative;
}
.city .city-wrapper .cities .item .name:before,
.city .city-wrapper .cities .item .name:after {
display: block;
position: absolute;
border-top: 1px solid #e5e5e5;
left: 0;
width: 100%;
content: ' ';
}
.city .city-wrapper .cities .item .name:before {
display: none;
top: 0;
}
.city .city-wrapper .cities .item .name:after {
display: block;
bottom: 0;
}
.city .city-wrapper .cities .item:active {
background-color: #f0f0f0;
}
.city .city-wrapper .cities .item:last-child .name:after {
display: none;
}
.city .city-wrapper .shortcut {
position: absolute;
z-index: 30;
width: 40px;
right: 0;
font-family: Helvetica;
}
.city .city-wrapper .shortcut .item {
height: 12px;
padding-top: 4px;
padding-left: 24px;
text-align: center;
font-size: 1.2rem;
color: #fa8919;
}
@media only screen and (max-height: 600px) {
.city .city-wrapper .shortcut .item {
padding-top: 3px;
}
}