Skip to content

Commit 4e7060d

Browse files
committed
Merge pull request #46 from zhufengpeixun/master
全日制第九周第二天项目实战-腾讯看比赛
2 parents fa4b09d + 34978f6 commit 4e7060d

4 files changed

Lines changed: 433 additions & 188 deletions

File tree

讲义/20151224_全日制第九周第二天/css/index.css

Lines changed: 48 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ img {
2323

2424
html, body {
2525
background: #F4F4F4;
26+
overflow: hidden;
27+
}
28+
29+
.bg-white {
30+
background: #fff;
31+
}
32+
33+
.cursor {
34+
cursor: pointer;
35+
}
36+
37+
.left {
38+
float: left;
39+
}
40+
41+
.right {
42+
float: right;
2643
}
2744

2845
.box {
@@ -32,113 +49,108 @@ html, body {
3249

3350
/*时间区域的样式*/
3451

35-
.box .box-time {
52+
.box-time {
3653
position: relative;
3754
padding: 0 32px;
3855
height: 80px;
3956
border: 1px solid #dcdcdc;
40-
background: #fff;
4157
}
4258

43-
.box .box-time .time-left, .box .box-time .time-right {
59+
.time-left, .time-right {
4460
position: absolute;
4561
top: 0;
4662
width: 32px;
4763
height: 80px;
48-
cursor: pointer;
4964
}
5065

51-
.box .box-time .time-left {
66+
.time-left {
5267
left: 0;
5368
background: url("../img/left.png") no-repeat center center;
5469
}
5570

56-
.box .box-time .time-right {
71+
.time-right {
5772
right: 0;
5873
background: url("../img/right.png") no-repeat center center;
5974
}
6075

61-
.box .box-time .time-list {
76+
.time-list {
77+
position: relative;
6278
padding: 5px 0;
6379
height: 70px;
6480
overflow: hidden;
6581
}
6682

67-
.box .box-time .time-list ul {
83+
.time-list ul {
84+
position: absolute;
85+
top: 5px;
86+
left: 0;
6887
width: 1050px;
6988
}
7089

71-
.box .box-time .time-list ul li {
72-
float: left;
90+
.time-list ul li {
7391
margin: 0 12px;
7492
width: 81px;
7593
height: 70px;
76-
cursor: pointer;
7794
}
7895

79-
.box .box-time .time-list ul li span {
96+
.time-list ul li span {
8097
display: block;
8198
text-align: center;
8299
}
83100

84-
.box .box-time .time-list ul li span.list-top {
101+
.time-list ul li span.list-top {
85102
margin-top: 10px;
86103
height: 19px;
87104
line-height: 19px;
88105
font-size: 14px;
89106
}
90107

91-
.box .box-time .time-list ul li span.list-bot {
108+
.time-list ul li span.list-bot {
92109
margin-top: 5px;
93110
height: 24px;
94111
line-height: 24px;
95112
font-size: 18px;
96113
}
97114

98-
.box .box-time .time-list ul li.select {
115+
.time-list ul li.select {
99116
background: #1c90f2;
100117
color: #fff;
101118
}
102119

103-
.box .box-time .time-list ul li.hover {
120+
.time-list ul li.hover {
104121
background: #e4f0fa;
105122
color: #1c90f2;
106123
}
107124

108125
/*内容区域样式*/
109126

110-
.box .box-content {
111-
127+
.box-content {
128+
opacity: 0;
129+
filter: alpha(opacity=0);
112130
}
113131

114-
.box .box-content .content-title {
132+
.content-title {
115133
height: 45px;
116134
line-height: 45px;
117135
font-size: 14px;
118136
}
119137

120-
.box .box-content .content-list {
138+
.content-list {
121139
border: 1px solid #eee;
122-
background: #fff;
123140
}
124141

125-
.box .box-content .content-list li {
142+
.content-list li {
126143
height: 80px;
127144
border-bottom: 1px solid #eee;
128145
}
129146

130-
.box .box-content .content-list li div {
131-
float: left;
132-
}
133-
134-
.box .box-content .content-list li .conList-left {
147+
.content-list li .conList-left {
135148
padding-left: 18px;
136149
width: 220px;
137150
}
138151

139-
.box .box-content .content-list li .conList-left span {
152+
.content-list li .conList-left span {
140153
display: block;
141-
float: left;
142154
line-height: 80px;
143155
color: #a0a0a0;
144156
}
@@ -151,52 +163,46 @@ html, body {
151163
width: 140px;
152164
}
153165

154-
.box .box-content .content-list li .conList-center {
166+
.content-list li .conList-center {
155167
width: 382px;
156168
height: 80px;
157169
line-height: 80px;
158170
}
159171

160-
.box .box-content .content-list li .conList-center .home {
161-
float: left;
162-
}
163-
164-
.box .box-content .content-list li .conList-center .away {
165-
float: right;
172+
.content-list li .conList-center .away {
166173
text-align: right;
167174
}
168175

169-
.box .box-content .content-list li .conList-center img {
176+
.content-list li .conList-center img {
170177
margin-top: 17px;
171178
width: 48px;
172179
height: 45px;
173180
}
174181

175-
.box .box-content .content-list li .conList-center span {
182+
.content-list li .conList-center span {
176183
display: block;
177184
margin: 0 5px;
178185
width: 87px;
179186
font-size: 16px;
180187
}
181188

182-
.box .box-content .content-list li .conList-center span.w92 {
183-
float: left;
189+
.content-list li .conList-center span.w92 {
184190
margin: 0;
185191
width: 92px;
186192
text-align: center;
187193
color: #1b87e2;
188194
font-size: 20px;
189195
}
190196

191-
.box .box-content .content-list li .conList-right {
197+
.content-list li .conList-right {
192198
padding-right: 20px;
193199
width: 158px;
194200
text-align: right;
195201
line-height: 80px;
196202
color: #1b87e2;
197203
}
198204

199-
.box .box-content .content-list li .conList-right span {
205+
.content-list li .conList-right span {
200206
display: inline-block;
201207
padding-left: 20px;
202208
background: url("../img/video.png") no-repeat left center;

0 commit comments

Comments
 (0)