_site-activity.scss
2.83 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
.site-activity-date {
margin: 38px 0 0 0;
width: 120px;
line-height: 38px;
font-size: 22px;
color: #000;
border-bottom: 4px solid #000;
text-align: center;
}
.site-activity-content {
float: left;
width: 738px;
}
.site-activity-content .main-layout {
width: auto;
border-left: 2px solid #e0e0e0;
margin-left: 96px;
padding-bottom: 50px;
.layout-section {
width: auto;
position: relative;
padding-top: 84px;
.site-activity-intro {
position: absolute;
top: 28px;
left: 18px;
background: #000;
border-radius: 2px;
padding: 0 15px;
color: #fff;
line-height: 28px;
span {
position: absolute;
left: -6px;
top: 0;
width: 6px;
height: 17px;
background: url("../images/yohood/site-activity-intro-icon.png") no-repeat;
}
}
.site-activity-time {
position: absolute;
color: #000;
left: -98px;
top: 35px;
}
.site-activity-icon {
position: absolute;
width: 10px;
height: 10px;
top: 40px;
left: -6px;
background: url("../images/yohood/site-activity-icon.png") no-repeat;
}
}
}
.site-activity-content .layout-item {
float: none;
width: 630px;
margin: 0 0 0 18px;
.image-box {
float: left;
width: 310px;
height: 174px;
overflow: hidden;
a {
display: table-cell;
width: 310px;
height: 174px;
text-align: center;
vertical-align: middle;
}
}
.content {
float: left;
margin-left: 28px;
width: 290px;
a {
cursor: default;
}
}
}
.site-activity-tab.fix {
position: fixed;
top: 0;
left: 50%;
width: 134px;
margin: 10px 0 0 356px;
}
.site-activity-tab {
float: right;
margin-top: 79px;
h4 {
line-height: 42px;
padding-top: 14px;
border-top: 1px dashed #979797;
font-size: 14px;
text-align: center;
}
li {
width: 130px;
margin-bottom: 18px;
line-height: 42px;
background: #fff;
text-align: center;
font-size: 14px;
border: 2px solid #7e7e7e;
border-radius: 2px;
a {
display: block;
color: #000;
}
}
.current {
border-radius: 0;
background: #000;
border-color: #000;
a {
color: #fff;
}
}
.disable {
border-color: #ccc;
a {
color: #ccc;
cursor: default;
}
}
}