_scene.scss
2.58 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
.scene-bd {
padding: 0;
}
.scene-tab {
margin: (10rem / $remNum) 0 0 (14rem / $remNum);
li {
float: left;
width: 96rem / $remNum;
height: 34rem / $remNum;
line-height: 34rem / $remNum;
text-align: center;
background: #fff;
border: 1px solid #000;
border-left: none;
a {
font-size: 12rem / $remNum;
color: #000;
}
}
li:first-child {
border-left: 1px solid #000;
}
li.current {
background: #000;
a {
color: #fff;
}
}
li.disable.current {
background: #ccc;
color: #fff;
border-color: #ccc;
cursor: default;
a {
color: #fff;
}
}
li:first-child.disable {
border-left: 1px solid #ccc;
}
li.disable + li {
border-left: 1px solid #000;
}
li.disable {
background: #fff;
border: 1px solid #ccc;
cursor: default;
a {
color: #ccc;
}
}
}
.scene-content {
position: relative;
margin: 0 0 0 (14rem / $remNum);
border-left: 2px solid #e0e0e0;
.scene-intro {
position:relative;
display: inline-block;
padding: 0 (16rem / $remNum);
line-height: 28rem / $remNum;
max-width: 240rem / $remNum;
background: #000;
color: #fff;
font-size: 12rem / $remNum;
}
.scene-intro:before {
position: absolute;
content: "";
width: 6rem / $remNum;
height: 17rem / $remNum;
top: 0;
left: -6rem / $remNum;
background: url("../images/yohood/site-activity-intro-icon.png") no-repeat;
background-size: 100% 100%;
}
.scene-time {
margin: 10rem / $remNum 0 20rem / $remNum;
color: #aeaeae;
}
.scene-icon {
position: absolute;
top: 29rem / $remNum;
left: -4rem / $remNum;
width: 6rem / $remNum;
height: 6rem / $remNum;
background: url("../images/yohood/site-activity-icon.png") no-repeat;
background-size: 100% 100%;
}
}
.scene-content {
.main-layout {
display: none;
}
.main-layout.current {
display: block;
}
.layout-section {
position: relative;
padding: (16rem / $remNum) 0 0 (16rem / $remNum);
}
.layout-item {
width: 272rem / $remNum;
}
.image-box {
img {
width: 100%;
}
}
}