-
Notifications
You must be signed in to change notification settings - Fork 9
/
share.scss
119 lines (118 loc) · 2.43 KB
/
share.scss
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
@import "base/variable.scss";
@import "base/function.scss";
.overflow{
overflow:hidden;
}
[data-app]{
cursor: pointer;/*$(document).on("click","[data-app]",function(){})避免IOS点击不了*/
}
.hideIcon{
display:none !important;
}
.wechatShareTips{
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background-color:rgba(0,0,0,.6);
text-align:center;
display:none;
z-index: 9999;
cursor:pointer;
img{
width:px2rem(640);
max-width:px2rem(640);
height:px2rem(556);
position: absolute;
top:0;
left:50%;
margin-left:px2rem(-320);
}
}
.app_share{
.table{
display: table;
width: 100%;
height: 100%;
}
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background-color:rgba(0,0,0,.6);
z-index: 999;
ul{
text-align:left;
}
.icon_wrap{
padding:px2rem(60) 0 px2rem(40) px2rem(30);
background:#ebe6e6;
}
.share_content{
transition:transform 0.5s ease;
transform: translateY(100%);
&.show{
transform: translateY(0) !important;
}
}
.cancel{
@include px2px(font-size,30);
background:#fff;
line-height:px2rem(92);
text-align:center;
}
.table_cell{
vertical-align:bottom;
display: table-cell;
}
li{
display:inline-block;
margin-right:px2rem(23);
text-align:center;
a{
display:block;
&:hover{
text-decoration: none;
}
}
}
p{
color:#2c3e50;
@include px2px(font-size,24);
padding:px2rem(20) 0;
}
}
.appicon{
@include px2px(width,120);
@include px2px(height,120);
vertical-align:top;
display:inline-block;
background:url(images/share/appicon.png) scroll no-repeat 0 0;
background-position-x:0;
@include px2px(background-position-y,-362);
@include px2px(background-size,120);
&.wechat{
@include px2px(background-position-y,-482);
}
&.qq{
@include px2px(background-position-y,-120);
}
&.friend{
@include px2px(background-position-y,0);
}
&.qzone{
@include px2px(background-position-y,-241);
}
}
.clearfix:after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix{
zoom: 1;
}