-
Notifications
You must be signed in to change notification settings - Fork 1
/
share.button.css
83 lines (76 loc) · 1.59 KB
/
share.button.css
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
.share-icon {
padding: 0px 3px 0px 0px;
vertical-align: middle;
width: 20px;
height: 20px;
color: white !important;
}
.sharediv {
position:relative;
top: 30px;
right: 30px;
padding-bottom: 40px;
}
.toastdiv {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
}
.toastbox {
width: 280px;
padding: 10px;
background-color: rgba(0, 0, 0, 0.7);
color: white;
border-radius: 4px;
position: fixed;
top: 105%;
-webkit-transition: transform 0.3s linear;
transition: transform 0.3s linear;
z-index: 2;
text-align: center;
}
.toastbox.toast-tox--active {
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}
.sharebutton,
sharebutton {
display: inline-block;
text-decoration: none;
height: 48px;
text-align: center;
vertical-align: middle;
font-size: 18px;
width: 48px;
font-weight: 700;
line-height: 48px;
letter-spacing: 0.1px;
white-space: wrap;
border: solid var(--accentColor) 2px;
border-radius: 10px;
cursor: pointer;
color: var(--button-text-color);
background-color: var(--button-background-color);
}
sharebutton:hover,
.sharebutton:hover {
color: #000000;
background-color: #FFF;
}
.sharebutton:hover .share-icon {
-webkit-filter: invert(100%);
-moz-filter: invert(100%);
filter: invert(100%);
}
.sharebutton-mb {
display: none;
}
.sharebutton-img {
position: relative;
left: 3px;
margin-left: auto;
margin-right: auto;
}