_footer.css
2.68 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
135
136
137
.yoho-footer {
position: relative;
width: 100%;
background-color: #fff;
font-size: 24px;
.op-row {
padding: 0 30px;
height: 120px;
line-height: 120px;
span {
display: inline-block;
overflow: hidden;
}
a {
display: inline-block;
overflow: hidden;
}
.user-name {
margin-right: 1em;
margin-left: 0.3em;
max-width: 200px;
text-decoration: underline;
text-overflow: ellipsis;
white-space: nowrap;
}
.back-to-top {
position: absolute;
right: 40px;
}
.sep-line {
margin: 0 0.3em;
}
}
.copyright {
height: 120px;
border-top: 1px solid #ccc;
background-color: #eee;
color: #666;
text-align: center;
line-height: 120px;
}
&.bottom {
position: fixed;
bottom: 0;
width: 100%;
}
}
.float-layer {
height: 44PX;
background: rgba(68, 68, 68, 0.95);
position: fixed;
width: 100%;
bottom: 0;
left: 0;
z-index: 9999;
padding: 10PX 0;
box-sizing: content-box;
.float-layer-left {
padding-left: 22PX;
overflow: hidden;
float: left;
img {
height: 44PX;
float: left;
margin-right: 10PX;
}
p {
float: left;
font-size: 16PX;
height: 44PX;
line-height: 44PX;
color: white;
}
.yoho-icon {
float: left;
margin-right: 10PX;
font-size: 22PX;
line-height: 44PX;
width: 44PX;
height: 44PX;
text-align: center;
color: #fff;
border-radius: 10PX;
background-image: linear-gradient(#323232, #0f0f0f);
}
}
}
#float-layer-close {
position: absolute;
left: 0;
top: 0;
width: 50PX;
height: 50PX;
.close-icon {
position: absolute;
left: 0;
top: 0;
color: #C0C0C0;
z-index: 2;
}
}
#float-layer-btn {
position: absolute;
top: 50%;
right: 15PX;
font-size: 16PX;
padding: 0 10PX;
height: 27PX;
line-height: 27PX;
background: white;
border-radius: 5PX;
margin-top: -13PX;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0.5);
&:link,
&:visited,
&:hover,
&:actived {
color: #000;
}
}