_home.scss
2.4 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
$pageMainWidth: 1180px;
.bd {
margin: 0 auto;
min-width: $pageMainWidth;
}
.wrapper {
width: 980px;
margin: 0 auto;
}
.content-wrap {
width: 1180px;
margin: 50px auto 30px;
}
.cooperation {
$cooperationHeight: 240px;
margin: 50px 0 0;
height: $cooperationHeight;
background: #f5f5f5;
.cooperation-slide-warp {
position: relative;
width: $pageMainWidth;
margin: 0 auto;
.cooperation-slide-box {
position: relative;
width: $pageMainWidth;
overflow: hidden;
height: $cooperationHeight;
}
.cooperation-slide-control {
a {
position: absolute;
top: 50%;
margin-top: -16px;
color: #000;
font-size: 26px;
}
.cooperation-slide-prev {
left: -40px;
}
.cooperation-slide-next {
right: -40px;
}
.disable {
color: #d9d9d9;
cursor: default;
}
}
}
}
.cooperation-slide-box {
$cooperationHeight: 240px;
$boxInterval: 40px;
.slide-wrap {
position: relative;
overflow: hidden;
.box {
background-color: #f5f5f5;
position: relative;
float: left;
padding: 50px $boxInterval 0 0;
width: $pageMainWidth / 2 - $boxInterval;
height: $cooperationHeight;
h2 {
font-size: 14px;
line-height: 20px;
}
hr {
border: 0;
border-top: 1px solid #e0e0e0;
}
ul {
li {
float: left;
width: 120px;
height: 55px;
margin: 10px 14px 0 0;
a {
width: 120px;
height: 55px;
display: table-cell;
vertical-align: middle;
text-align: center;
}
}
}
}
.big-size {
width: $pageMainWidth - $boxInterval;
}
}
}
.right-banner-warp {
display: none;
}
.right-banner.layout-item {
.image-box {
height: 420px;
margin-bottom: 26px;
}
}