_map.scss
2.04 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
102
103
104
105
106
107
108
109
110
/**
* Created by chenglong.wang@yoho.cn on 2014/12/31.
*/
.map{
margin: 25px 15px -32px 15px;
ul{
height: auto;
overflow: hidden;
}
li{
width: 145px;
height: 110px;
position: relative;
margin-bottom: 57px;
float: left;
.map-pic{
display: block;
width: 100%;
height: 100%;
overflow: hidden;
img{
width: 80%;
display: block;
overflow: hidden;
margin: 0 auto;
}
}
/*@each $map in new-york, london, seoul, bangkok, hongkong {
&.#{$map} {
@include retain-background("h5-map_#{$map}.jpg");
}
}*/
a.map-url{
//font-family: $font-hta;
font-size: 2rem;
font-weight: bold;
display: block;
width: 145px;
text-align: center;
position: absolute;
bottom: -24px;
color: #000;
@include unstyled-link();
}
}
}
.map-list{
margin: 12px 15px 0 15px;
//font-family: $font-hta;
>h2{
font-size: 3rem;
font-weight: bold;
text-align: center;
}
>ul{
margin-top: 25px;
li{
height: auto;
margin-bottom: 30px;
>a{
color: #000;
@include unstyled-link();
display: block;
overflow: hidden;
height: auto;
border: 1px solid transparent;
font-size: 1.2rem;
>div{
height: 20px;
line-height: 20px;
position: relative;
text-indent: 15px;
font-size: 1.2rem;
}
.food,.clothes{
color: #999;
font-weight: bold;
}
}
}
h3{
font-size: 1.8rem;
font-weight: bold;
margin-bottom: 8px;
a{
color: #000;
@include unstyled-link();
}
}
@each $list in food, clothes, location {
.#{$list} {
&:after {
content: '';
@include retina-sprite($icons,#{$list},0,true);
}
}
}
.lifestyle{
&:after {
content: '';
@include retina-sprite($icons,lifestyle-icon,0,true);
}
}
}
}