-
Notifications
You must be signed in to change notification settings - Fork 2
/
social-share.css
154 lines (123 loc) · 2.07 KB
/
social-share.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.ss-btn{
padding: 8px 12px;
background: #888;
color: #fff !important;
border-radius: 3px;
margin: 4px;
display: inline-block;
cursor: pointer;
text-align: center;
transition: 0.2s ease all;
}
.ss-btn:hover{
text-decoration: none;
color: #fff;
filter: brightness(110%);
}
/*UNICOLOR*/
.ss-black .ss-btn{
background: #000 !important;
}
.ss-dark .ss-btn{
background: #444 !important;
}
.ss-gray .ss-btn{
background: #888 !important;
color: #000 !important;
}
.ss-light .ss-btn{
background: #ddd !important;
color: #444 !important;
}
.ss-outline .ss-btn{
background: #fff !important;
color: #444 !important;
border: 1px solid #bbb !important;
}
/*CIRCLE BUTTON*/
.ss-circle .ss-btn{
border-radius: 50%;
min-width: 40px;
}
/*FLAT BUTTON*/
.ss-flat .ss-btn{
border-radius: 0;
}
/*PILL BUTTON*/
.ss-pill .ss-btn{
border-radius: 24px;
}
/*SHADOW*/
.ss-shadow .ss-btn{
box-shadow: 0 0.5rem 1rem rgba(54, 54, 54, 0.28);
}
/*HOVER EFFECTS*/
.ss-grow .ss-btn:hover{
transform: scale(1.1);
}
.ss-shrink .ss-btn:hover{
transform: scale(0.9);
}
.ss-rotate .ss-btn:hover{
transform: rotate(-10deg);
}
.ss-float .ss-btn:hover{
transform: translate(0px, -10px);
}
/*STRAIT*/
.ss-strait .ss-btn{
margin:0;
border-radius: 0;
}
.ss-strait{
border-radius: 3px;
overflow: hidden;
display: table;
margin: 0 auto;
}
/*POSITIONS*/
.ss-fixed{
position: fixed;
z-index: 999;
left: 0;
right: 0;
}
.ss-bottom{
display: inline-block;
text-align: center;
bottom: 10px;
}
.ss-top{
display: inline-block;
text-align: center;
top: 10px;
}
.ss-left, .ss-right{
top: 50%;
transform: translateY(-50%);
}
.ss-left{
left: 10px;
}
.ss-right{
left: unset;
right: 10px;
}
.ss-left .ss-btn, .ss-right .ss-btn{
display: table;
width: 140px;
}
.ss-left[data-ss-content='false'] .ss-btn, .ss-right[data-ss-content='false'] .ss-btn{
width: 40px;
}
/*RESPONSIVE*/
@media (min-width: 768px) {
.ss-responsive .ss-btn-share,
.ss-responsive .ss-btn-messenger,
.ss-responsive .ss-btn-viber,
.ss-responsive .ss-btn-telegram,
.ss-responsive .ss-btn-sms
{
display: none;
}
}