invite-share.scss
1.86 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
.invite-share {
height: 110px;
background: rgba(68, 68, 68, 0.95);
width: 100%;
box-sizing: content-box;
color: #fff;
line-height: 110px;
position: relative;
.close-invite {
width: 38px;
height: 34px;
position: absolute;
top: 50%;
left: 8px;
display: block;
text-align: center;
line-height: 34px;
transform: translateY(-50%);
font-size: 28px;
}
.head-ico {
width: 75px;
height: 75px;
left: 52px;
display: inline-block;
position: absolute;
top: 50%;
transform: translateY(-50%);
border-radius: 38px;
background-image: url("img/home/index/user-avatar.png");
background-size: 100%;
overflow: hidden;
}
.invite-name {
position: absolute;
top: 50%;
transform: translateY(-60%);
font-size: 24px;
left: 143px;
max-width: 370px;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.invite-trend {
position: absolute;
top: 50%;
transform: translateY(-30%);
font-size: 22px;
left: 143px;
}
.invite-go {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
line-height: 43px;
border-radius: 5px;
text-decoration: none;
right: 15px;
background: #d0021b;
width: 100px;
height: 43px;
text-align: center;
color: #fff;
}
}
.share-packet {
display: block;
width: 181px;
height: 246px;
background-image: url("img/activity/expand-new/share-packet.gif");
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
z-index: 100;
right: 0;
top: 50%;
margin-top: -120px;
}