_download-app.scss
1.3 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
/*
* @description: download css
* @author: chenglong.wang@yoho.cn
* @date: 2015/4/16
*/
.home-download {
margin: 50px 15px 0 15px;
border: 2px dashed #dcdcdc;
padding-bottom: 30px;
@include border-radius(5px);
> div {
margin: 30px 10px 0 30px;
position: relative;
h2, h3, p {
position: absolute;
left: 95px;
@include ellipsis();
}
h2 {
top: 4px;
font-size: 1.7rem;
font-weight: bold;
}
h3 {
top: 23px;
font-size: 1.4rem;
font-weight: normal;
}
p {
top: 39px;
color: #666;
font-size: 0.8rem;
}
@for $i from 1 through 2 {
&:nth-of-type(#{$i}) {
> span.app-icon {
@include retina-sprite($icons, app-#{$i});
}
}
}
}
.down-btn {
width: 88px;
height: 24px;
line-height: 24px;
border: 1px solid #000;
@include border-radius(5px);
position: absolute;
left: 95px;
bottom: 2px;
color: #000;
font-size: 1.4rem;
font-weight: bold;
text-align: center;
@include hover-link();
}
}