_suggest.scss
3.05 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
$suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
.yoho-suggest-page {
width: 100%;
height: auto;
// 意见反馈头部
.suggest-header {
text-align: center;
color: #fff;
font-size: pxToRem(26px);
line-height: pxToRem(46px);
overflow: hidden;
padding-bottom: pxToRem(20px);
@include background-image(linear-gradient(#383838, #505050));
&:before {
content: '';
display: block;
@include rem-sprite($suggest, suggest-logo);
width: pxToRem(image_width(sprite-file($suggest, suggest-logo)));
height: pxToRem(image_height(sprite-file($suggest, suggest-logo)));
margin: pxToRem(10px) auto pxToRem(15px) auto;
}
}
//意见反馈主体
.suggest-content {
border-top: pxToRem(30px) solid #fff;
.suggest-item {
width: 100%;
color: #444;
border-top: 1px solid #e0e0e0;
border-bottom: pxToRem(30px) solid #f0f0f0;
> img {
display: block;
overflow: hidden;
width: 100%;
}
> h2 {
font-size: pxToRem(38px);
margin: pxToRem(30px) 0 pxToRem(42px - 11px) 0;
padding: 0 pxToRem(35px);
}
> p {
font-size: pxToRem(26px);
line-height: pxToRem(48px);
padding: 0 pxToRem(35px);
}
.suggest-type {
margin-top: pxToRem(29px - 11px);
height: pxToRem(88px);
line-height: pxToRem(88px);
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
color: #b0b0b0;
font-size: pxToRem(26px);
display: none;
> div {
width: 50%;
float: left;
text-align: left;
padding-left: pxToRem(128px);
@include box-sizing();
&.active {
color: #444;
> span {
display: inline-block;
height: 100%;
overflow: hidden;
&:nth-of-type(1) {
@include rotate(180deg);
@include transition(transform .5);
}
}
}
&:nth-last-of-type(1) {
padding-left: pxToRem(0);
padding-right: pxToRem(128px);
text-align: right;
float: right;
}
}
&.active {
text-align: center;
color: #444;
}
}
}
}
}