_notice.css
1.27 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
.notice-wrap {
.trend {
position: relative;
box-sizing: border-box;
float: left;
width: 170px;
height: 72px;
background: url("/me/index/trend.png") no-repeat center center;
background-size: 90%;
background-color: #fff;
&:after {
content: '';
position: absolute;
right: 0;
top: 16px;
width: 1px;
height: 40px;
background: #eee;
}
}
.notice {
box-sizing: border-box;
float: left;
padding: 0 30px;
background: #fff;
width: 470px;
height: 72px;
overflow: hidden;
.notice-item {
display: block;
width: 100%;
font-size: 24px;
line-height: 72px;
color: #444;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.notice-icon {
display: inline-block;
margin-right: 10px;
width: 28px;
height: 28px;
background: url("/me/index/volume.png");
vertical-align: middle;
}
span.notice-icon {
background-repeat: no-repeat !important;
}
}
}