1 | /** |
---|
2 | * Sharedaddy Base Styles |
---|
3 | * |
---|
4 | * Contains styles for modules, containers, buttons |
---|
5 | */ |
---|
6 | |
---|
7 | |
---|
8 | /* Master container */ |
---|
9 | #jp-post-flair { |
---|
10 | padding-top: .5em; |
---|
11 | } |
---|
12 | |
---|
13 | |
---|
14 | /* Overall Sharedaddy block title */ |
---|
15 | div.sharedaddy, |
---|
16 | #content div.sharedaddy, |
---|
17 | #main div.sharedaddy { |
---|
18 | clear: both; |
---|
19 | } |
---|
20 | |
---|
21 | div.sharedaddy h3.sd-title { |
---|
22 | margin: 0 0 1em 0; |
---|
23 | display: inline-block; |
---|
24 | line-height: 1.2; |
---|
25 | font-size: 9pt; |
---|
26 | font-weight: bold; |
---|
27 | } |
---|
28 | |
---|
29 | body.highlander-light h3.sd-title:before { |
---|
30 | border-top: 1px solid rgba(0,0,0,.2); |
---|
31 | } |
---|
32 | |
---|
33 | body.highlander-dark h3.sd-title:before { |
---|
34 | border-top: 1px solid rgba(255,255,255,.4); |
---|
35 | } |
---|
36 | |
---|
37 | |
---|
38 | /* Sharing services list */ |
---|
39 | .sd-sharing { |
---|
40 | margin-bottom: 1em; |
---|
41 | } |
---|
42 | .sd-content ul { |
---|
43 | padding: 0 !important; |
---|
44 | margin: 0 !important; |
---|
45 | list-style: none !important; |
---|
46 | } |
---|
47 | |
---|
48 | .sd-content ul li { |
---|
49 | display: inline-block; |
---|
50 | } |
---|
51 | |
---|
52 | .sd-content ul li.share-deprecated { |
---|
53 | opacity: 0.5; |
---|
54 | } |
---|
55 | |
---|
56 | .sd-content ul li.share-deprecated a span { |
---|
57 | text-decoration: line-through; |
---|
58 | } |
---|
59 | |
---|
60 | .sd-block.sd-gplus { |
---|
61 | margin: 0 0 .5em 0; |
---|
62 | } |
---|
63 | |
---|
64 | .sd-gplus .sd-content { |
---|
65 | font-size: 12px; |
---|
66 | } |
---|
67 | |
---|
68 | /* Sharing email errors */ |
---|
69 | .sd-content .share-email-error .share-email-error-title { |
---|
70 | margin: 0.5em 0; |
---|
71 | } |
---|
72 | .sd-content .share-email-error .share-email-error-text { |
---|
73 | font-family: "Open Sans", sans-serif; |
---|
74 | font-size: 12px; |
---|
75 | margin: 0.5em 0; |
---|
76 | } |
---|
77 | |
---|
78 | |
---|
79 | /* Buttons */ |
---|
80 | .sd-social-icon .sd-content ul li a.sd-button, |
---|
81 | .sd-social-text .sd-content ul li a.sd-button, |
---|
82 | .sd-content ul li a.sd-button, |
---|
83 | .sd-content ul li .option a.share-ustom, /* Ugh. */ |
---|
84 | .sd-content ul li.preview-item div.option.option-smart-off a, |
---|
85 | .sd-content ul li.advanced a.share-more, |
---|
86 | .sd-social-icon-text .sd-content ul li a.sd-button, |
---|
87 | .sd-social-official .sd-content>ul>li>a.sd-button, |
---|
88 | #sharing_email .sharing_send, |
---|
89 | .sd-social-official .sd-content>ul>li .digg_button >a { /* official Digg button no longer works, needs cleaning */ |
---|
90 | text-decoration: none !important; |
---|
91 | display: inline-block; |
---|
92 | font-size: 13px; |
---|
93 | font-family: "Open Sans", sans-serif; |
---|
94 | font-weight: 500; |
---|
95 | border-radius: 4px; |
---|
96 | color: #2C3338 !important; |
---|
97 | background: #fff; |
---|
98 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.12); |
---|
99 | text-shadow: none; |
---|
100 | line-height: 23px; |
---|
101 | padding: 4px 11px 3px 9px; |
---|
102 | } |
---|
103 | |
---|
104 | .sd-social-official .sd-content ul li a.sd-button, |
---|
105 | .sd-social-official .sd-content ul li.preview-item div.option.option-smart-off a { |
---|
106 | align-items: center; |
---|
107 | display: flex; |
---|
108 | font-size: 12px; |
---|
109 | line-height: 12px; |
---|
110 | padding: 1px 6px 0px 5px; |
---|
111 | min-height: 20px; |
---|
112 | } |
---|
113 | |
---|
114 | .sd-social-official .sd-content ul.preview li a.sd-button, |
---|
115 | .sd-social-official .sd-content ul.preview li.preview-item div.option.option-smart-off a { |
---|
116 | position: relative; |
---|
117 | top: 2px; |
---|
118 | } |
---|
119 | |
---|
120 | .sd-content ul li a.sd-button>span, |
---|
121 | .sd-content ul li .option a.share-ustom span, /* Ugh. */ |
---|
122 | .sd-content ul li.preview-item div.option.option-smart-off a span, |
---|
123 | .sd-content ul li.advanced a.share-more span, |
---|
124 | .sd-social-icon-text .sd-content ul li a.sd-button>span, |
---|
125 | .sd-social-official .sd-content>ul>li>a.sd-button span, |
---|
126 | .sd-social-official .sd-content>ul>li .digg_button >a span { /* official Digg button no longer works, needs cleaning */ |
---|
127 | line-height: 23px; |
---|
128 | margin-left: 6px; |
---|
129 | } |
---|
130 | |
---|
131 | /* Icon Only */ |
---|
132 | .sd-social-icon .sd-content ul li a.sd-button>span { |
---|
133 | margin-left: 0; |
---|
134 | } |
---|
135 | |
---|
136 | /* Text Only */ |
---|
137 | .sd-social-text .sd-content ul li a.sd-button span { |
---|
138 | margin-left: 3px; |
---|
139 | } |
---|
140 | |
---|
141 | .sd-social-official .sd-content ul li a.sd-button>span, |
---|
142 | .sd-social-official .sd-content ul li.preview-item div.option.option-smart-off a span { |
---|
143 | line-height: 12px; |
---|
144 | margin-left: 3px; |
---|
145 | } |
---|
146 | |
---|
147 | |
---|
148 | .sd-social-official .sd-content>ul>li>a.sd-button:before, |
---|
149 | .sd-social-official .sd-content>ul>li .digg_button>a:before, |
---|
150 | .sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button:before, |
---|
151 | .sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a:before { |
---|
152 | margin-bottom: -1px; |
---|
153 | } |
---|
154 | |
---|
155 | .sd-social-icon .sd-content ul li a.sd-button:hover, |
---|
156 | .sd-social-icon .sd-content ul li a.sd-button:active, |
---|
157 | .sd-social-text .sd-content ul li a.sd-button:hover, |
---|
158 | .sd-social-text .sd-content ul li a.sd-button:active, |
---|
159 | .sd-social-icon-text .sd-content ul li a.sd-button:hover, |
---|
160 | .sd-social-icon-text .sd-content ul li a.sd-button:active, |
---|
161 | .sd-social-official .sd-content>ul>li>a.sd-button:hover, |
---|
162 | .sd-social-official .sd-content>ul>li>a.sd-button:active, |
---|
163 | .sd-social-official .sd-content>ul>li .digg_button>a:hover, |
---|
164 | .sd-social-official .sd-content>ul>li .digg_button>a:active { |
---|
165 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.22); |
---|
166 | } |
---|
167 | |
---|
168 | .sd-social-icon .sd-content ul li a.sd-button:active, |
---|
169 | .sd-social-text .sd-content ul li a.sd-button:active, |
---|
170 | .sd-social-icon-text .sd-content ul li a.sd-button:active, |
---|
171 | .sd-social-official .sd-content>ul>li>a.sd-button:active, |
---|
172 | .sd-social-official .sd-content>ul>li .digg_button>a:active { |
---|
173 | box-shadow: inset 0 1px 0 rgba(0,0,0,.16); |
---|
174 | } |
---|
175 | |
---|
176 | /* All icons */ |
---|
177 | .sd-content ul li a.sd-button:before { |
---|
178 | display: inline-block; |
---|
179 | -webkit-font-smoothing: antialiased; |
---|
180 | -moz-osx-font-smoothing: grayscale; |
---|
181 | font: normal 18px/1 'social-logos'; |
---|
182 | vertical-align: top; |
---|
183 | text-align: center; |
---|
184 | } |
---|
185 | /* text + icon styles should have relative and top position */ |
---|
186 | .sd-social-icon-text ul li a.sd-button:before { |
---|
187 | position: relative; |
---|
188 | top: 2px; |
---|
189 | } |
---|
190 | |
---|
191 | /* Make it look great in Chrome and Safari */ |
---|
192 | @media screen and (-webkit-min-device-pixel-ratio:0) { |
---|
193 | .sd-content ul li a.sd-button:before { |
---|
194 | position: relative; |
---|
195 | top: 2px; |
---|
196 | } |
---|
197 | } |
---|
198 | |
---|
199 | .sd-social-official ul li a.sd-button:before { |
---|
200 | position: relative; |
---|
201 | top: -2px; |
---|
202 | } |
---|
203 | /* Make it look great in Chrome and Safari */ |
---|
204 | @media screen and (-webkit-min-device-pixel-ratio:0) { |
---|
205 | .sd-social-official ul li a.sd-button:before { |
---|
206 | top: 0px; |
---|
207 | } |
---|
208 | } |
---|
209 | |
---|
210 | .sd-content ul li { |
---|
211 | margin: 0 8px 12px 0; |
---|
212 | padding: 0; |
---|
213 | } |
---|
214 | /* Add more pading on touch devices */ |
---|
215 | .jp-sharing-input-touch .sd-content ul li { padding-left: 10px; } |
---|
216 | |
---|
217 | .sd-content ul li.preview-item.no-icon a.sd-button span { |
---|
218 | margin-left: 0; |
---|
219 | } |
---|
220 | |
---|
221 | /* Text only */ |
---|
222 | .sd-social-text .sd-content ul li a:before, |
---|
223 | .sd-content ul li.no-icon a:before { |
---|
224 | display: none; |
---|
225 | } |
---|
226 | body .sd-social-text .sd-content ul li.share-custom a span, |
---|
227 | body .sd-content ul li.share-custom.no-icon a span { |
---|
228 | background-image: none; |
---|
229 | background-position: -500px -500px !important; /* hack to work around !important inline style */ |
---|
230 | background-repeat: no-repeat !important; |
---|
231 | padding-left: 0; |
---|
232 | height: 0; |
---|
233 | line-height: inherit; |
---|
234 | } |
---|
235 | |
---|
236 | .sd-social-icon .sd-content ul li a.share-more { |
---|
237 | position: relative; |
---|
238 | top: -4px; |
---|
239 | } |
---|
240 | @media screen and (-webkit-min-device-pixel-ratio:0) { |
---|
241 | .sd-social-icon .sd-content ul li a.share-more { |
---|
242 | top: 2px; |
---|
243 | } |
---|
244 | } |
---|
245 | /* Firefox specific hack to make the share more button look better on Firefox. */ |
---|
246 | @-moz-document url-prefix() { |
---|
247 | .sd-social-icon .sd-content ul li a.share-more { |
---|
248 | top: 2px; |
---|
249 | } |
---|
250 | } |
---|
251 | |
---|
252 | .sd-social-icon .sd-content ul li a.share-more span { |
---|
253 | margin-left: 3px; |
---|
254 | } |
---|
255 | |
---|
256 | |
---|
257 | /* Individual icons */ |
---|
258 | .sd-social-icon .sd-content ul li.share-print a:before, |
---|
259 | .sd-social-text .sd-content ul li.share-print a:before, |
---|
260 | .sd-content ul li.share-print div.option.option-smart-off a:before, |
---|
261 | .sd-social-icon-text .sd-content li.share-print a:before, |
---|
262 | .sd-social-official .sd-content li.share-print a:before { |
---|
263 | content: '\f469'; |
---|
264 | } |
---|
265 | |
---|
266 | .sd-social-icon .sd-content ul li.share-email a:before, |
---|
267 | .sd-social-text .sd-content ul li.share-email a:before, |
---|
268 | .sd-content ul li.share-email div.option.option-smart-off a:before, |
---|
269 | .sd-social-icon-text .sd-content li.share-email a:before, |
---|
270 | .sd-social-official .sd-content li.share-email a:before { |
---|
271 | content: '\f410'; |
---|
272 | } |
---|
273 | .sd-social-icon .sd-content ul li.share-linkedin a:before, |
---|
274 | .sd-social-text .sd-content ul li.share-linkedin a:before, |
---|
275 | .sd-content ul li.share-linkedin div.option.option-smart-off a:before, |
---|
276 | .sd-social-icon-text .sd-content li.share-linkedin a:before { |
---|
277 | content: '\f207'; |
---|
278 | } |
---|
279 | .sd-social-icon .sd-content ul li.share-twitter a:before, |
---|
280 | .sd-social-text .sd-content ul li.share-twitter a:before, |
---|
281 | .sd-content ul li.share-twitter div.option.option-smart-off a:before, |
---|
282 | .sd-social-icon-text .sd-content li.share-twitter a:before { |
---|
283 | content: '\f202'; |
---|
284 | } |
---|
285 | .sd-social-icon .sd-content ul li.share-x a:before, |
---|
286 | .sd-social-text .sd-content ul li.share-x a:before, |
---|
287 | .sd-content ul li.share-x div.option.option-smart-off a:before, |
---|
288 | .sd-social-icon-text .sd-content li.share-x a:before { |
---|
289 | content: '\f10e'; |
---|
290 | } |
---|
291 | .sd-social-icon .sd-content ul li.share-reddit a:before, |
---|
292 | .sd-social-text .sd-content ul li.share-reddit a:before, |
---|
293 | .sd-content ul li.share-reddit div.option.option-smart-off a:before, |
---|
294 | .sd-social-icon-text .sd-content li.share-reddit a:before, |
---|
295 | .sd-social-official .sd-content li.share-reddit a:before { |
---|
296 | content: '\f222'; |
---|
297 | } |
---|
298 | .sd-social-icon .sd-content ul li.share-tumblr a:before, |
---|
299 | .sd-social-text .sd-content ul li.share-tumblr a:before, |
---|
300 | .sd-content ul li.share-tumblr div.option.option-smart-off a:before, |
---|
301 | .sd-social-icon-text .sd-content li.share-tumblr a:before { |
---|
302 | content: '\f607'; |
---|
303 | } |
---|
304 | |
---|
305 | .sd-social-icon .sd-content ul li.share-pocket a:before, |
---|
306 | .sd-social-text .sd-content ul li.share-pocket a:before, |
---|
307 | .sd-content ul li.share-pocket div.option.option-smart-off a:before, |
---|
308 | .sd-social-icon-text .sd-content li.share-pocket a:before { |
---|
309 | content: '\f224'; |
---|
310 | } |
---|
311 | .sd-social-icon .sd-content ul li.share-pinterest a:before, |
---|
312 | .sd-social-text .sd-content ul li.share-pinterest a:before, |
---|
313 | .sd-content ul li.share-pinterest div.option.option-smart-off a:before, |
---|
314 | .sd-social-icon-text .sd-content li.share-pinterest a:before { |
---|
315 | content: '\f210'; |
---|
316 | } |
---|
317 | .sd-social-icon .sd-content ul li.share-facebook a:before, |
---|
318 | .sd-social-text .sd-content ul li.share-facebook a:before, |
---|
319 | .sd-content ul li.share-facebook div.option.option-smart-off a:before, |
---|
320 | .sd-social-icon-text .sd-content li.share-facebook a:before { |
---|
321 | content: '\f203'; |
---|
322 | } |
---|
323 | .sd-social-icon .sd-content ul li.share-press-this a:before, |
---|
324 | .sd-social-text .sd-content ul li.share-press-this a:before, |
---|
325 | .sd-content ul li.share-press-this div.option.option-smart-off a:before, |
---|
326 | .sd-social-icon-text .sd-content li.share-press-this a:before, |
---|
327 | .sd-social-official .sd-content li.share-press-this a:before { |
---|
328 | content: '\f205'; |
---|
329 | } |
---|
330 | .sd-social-official .sd-content li.share-press-this a:before { |
---|
331 | color: #2ba1cb; |
---|
332 | } |
---|
333 | .sd-social-icon .sd-content ul li.share-telegram a:before, |
---|
334 | .sd-social-text .sd-content ul li.share-telegram a:before, |
---|
335 | .sd-content ul li.share-telegram div.option.option-smart-off a:before, |
---|
336 | .sd-social-icon-text .sd-content li.share-telegram a:before, |
---|
337 | .sd-social-official .sd-content li.share-telegram a:before { |
---|
338 | content: '\f606'; |
---|
339 | } |
---|
340 | .sd-social-official .sd-content li.share-telegram a:before { |
---|
341 | color: #0088cc; |
---|
342 | } |
---|
343 | .sd-social-icon .sd-content ul li.share-mastodon a:before, |
---|
344 | .sd-social-text .sd-content ul li.share-mastodon a:before, |
---|
345 | .sd-content ul li.share-mastodon div.option.option-smart-off a:before, |
---|
346 | .sd-social-icon-text .sd-content li.share-mastodon a:before, |
---|
347 | .sd-social-official .sd-content li.share-mastodon a:before { |
---|
348 | content: '\f10a'; |
---|
349 | } |
---|
350 | .sd-social-official .sd-content li.share-mastodon a:before { |
---|
351 | color: #563ACC; |
---|
352 | } |
---|
353 | .sd-social-icon .sd-content ul a.share-more:before, |
---|
354 | .sd-social-text .sd-content ul a.share-more:before, |
---|
355 | .sd-content ul li.advanced a.share-more:before, |
---|
356 | .sd-social-icon-text .sd-content a.share-more:before, |
---|
357 | .sd-social-official .sd-content a.share-more:before { |
---|
358 | content: '\f415'; |
---|
359 | } |
---|
360 | .sd-social-official .sd-content a.share-more:before { |
---|
361 | color: #2ba1cb; |
---|
362 | } |
---|
363 | |
---|
364 | .sd-social-icon .sd-content ul li.share-jetpack-whatsapp a:before, |
---|
365 | .sd-social-text .sd-content ul li.share-jetpack-whatsapp a:before, |
---|
366 | .sd-content ul li.share-jetpack-whatsapp div.option.option-smart-off a:before, |
---|
367 | .sd-social-icon-text .sd-content li.share-jetpack-whatsapp a:before, |
---|
368 | .sd-social-official .sd-content li.share-jetpack-whatsapp a:before { |
---|
369 | content: '\f608'; |
---|
370 | } |
---|
371 | .sd-social-official .sd-content li.share-jetpack-whatsapp a:before { |
---|
372 | color: #43d854; |
---|
373 | } |
---|
374 | .sd-social-icon .sd-content ul li[class*='share-'].share-jetpack-whatsapp a.sd-button { |
---|
375 | background: #43d854; |
---|
376 | color: #fff !important; |
---|
377 | } |
---|
378 | |
---|
379 | .sd-social-icon .sd-content ul li.share-nextdoor a:before, |
---|
380 | .sd-social-text .sd-content ul li.share-nextdoor a:before, |
---|
381 | .sd-content ul li.share-nextdoor div.option.option-smart-off a:before, |
---|
382 | .sd-social-icon-text .sd-content li.share-nextdoor a:before, |
---|
383 | .sd-social-official .sd-content li.share-nextdoor a:before { |
---|
384 | content: '\f10c'; |
---|
385 | } |
---|
386 | .sd-social-official .sd-content li.share-nextdoor a:before { |
---|
387 | color: #8ED500; |
---|
388 | } |
---|
389 | .sd-social-icon .sd-content ul li[class*='share-'].share-nextdoor a.sd-button { |
---|
390 | background: #8ED500; |
---|
391 | color: #fff !important; |
---|
392 | } |
---|
393 | |
---|
394 | |
---|
395 | .sd-social-icon .sd-content ul li.share-deprecated a:before, |
---|
396 | .sd-social-icon-text .sd-content li.share-deprecated a:before, |
---|
397 | .sd-social-official .sd-content li.share-deprecated a:before, |
---|
398 | .sd-content ul li.share-deprecated div.option.option-smart-off a:before { |
---|
399 | width: 1em; |
---|
400 | height: 1em; |
---|
401 | content: "\1F6AB"; |
---|
402 | } |
---|
403 | |
---|
404 | /* Share count */ |
---|
405 | .sd-social .sd-button .share-count { |
---|
406 | background: #2ea2cc; |
---|
407 | color: #fff; |
---|
408 | -moz-border-radius: 10px; |
---|
409 | border-radius: 10px; |
---|
410 | display: inline-block; |
---|
411 | text-align: center; |
---|
412 | font-size: 10px; |
---|
413 | padding: 1px 3px; |
---|
414 | line-height: 1; |
---|
415 | } |
---|
416 | |
---|
417 | .sd-social-official .sd-content>ul>li>a.sd-button span { |
---|
418 | line-height: 1; |
---|
419 | } |
---|
420 | |
---|
421 | .sd-social-official .sd-content ul { |
---|
422 | display: flex; |
---|
423 | flex-wrap: wrap; |
---|
424 | } |
---|
425 | |
---|
426 | .sd-social-official .sd-content ul:after { |
---|
427 | content: "."; |
---|
428 | display: block; |
---|
429 | height: 0; |
---|
430 | clear: both; |
---|
431 | visibility: hidden; |
---|
432 | } |
---|
433 | |
---|
434 | .sd-social-official .sd-content li.share-press-this a { |
---|
435 | margin: 0 0 5px 0; |
---|
436 | } |
---|
437 | |
---|
438 | .sd-social-official .sd-content ul>li { |
---|
439 | display: flex; |
---|
440 | max-height: 18px; |
---|
441 | } |
---|
442 | |
---|
443 | .sd-social-official .sd-content ul>li .option-smart-off { |
---|
444 | margin-right: 8px; |
---|
445 | } |
---|
446 | |
---|
447 | .sd-social-official .fb-share-button > span { |
---|
448 | vertical-align: top !important; |
---|
449 | } |
---|
450 | |
---|
451 | .sd-social-official .sd-content .pocket_button iframe { |
---|
452 | width: 98px; |
---|
453 | } |
---|
454 | |
---|
455 | |
---|
456 | /* Individual official buttons */ |
---|
457 | .pocket_button iframe, .pinterest_button, .twitter_button, .linkedin_button>span { |
---|
458 | margin: 0 !important; |
---|
459 | } |
---|
460 | |
---|
461 | .linkedin_button>span, .pinterest_button a { |
---|
462 | display: block !important; |
---|
463 | } |
---|
464 | |
---|
465 | .sd-social-official .sd-content .share-tumblr iframe { |
---|
466 | max-width: 53px; |
---|
467 | width: unset; |
---|
468 | } |
---|
469 | |
---|
470 | body .sd-social-official li.share-print , |
---|
471 | body .sd-social-official li.share-email a, |
---|
472 | body .sd-social-official li.share-custom a, |
---|
473 | body .sd-social-official li a.share-more, |
---|
474 | body .sd-social-official li.share-digg a, |
---|
475 | body .sd-social-official li.share-press-this a |
---|
476 | { |
---|
477 | position: relative; |
---|
478 | top: 0; |
---|
479 | } |
---|
480 | |
---|
481 | |
---|
482 | /* Custom icons */ |
---|
483 | body .sd-social-icon .sd-content li.share-custom>a { |
---|
484 | padding: 2px 3px 0 3px; |
---|
485 | position: relative; |
---|
486 | top: 4px; |
---|
487 | } |
---|
488 | |
---|
489 | body .sd-social-icon .sd-content li.share-custom a span, |
---|
490 | body .sd-social-icon-text .sd-content li.share-custom a span, |
---|
491 | body .sd-social-text .sd-content li.share-custom a span, |
---|
492 | body .sd-social-official .sd-content li.share-custom a span, |
---|
493 | body .sd-content ul li.share-custom a.share-icon span |
---|
494 | { |
---|
495 | background-size: 16px 16px; |
---|
496 | background-repeat: no-repeat; |
---|
497 | margin-left: 0; |
---|
498 | padding: 0 0 0 19px; |
---|
499 | display: inline-block; |
---|
500 | height: 21px; |
---|
501 | line-height: 16px; |
---|
502 | } |
---|
503 | |
---|
504 | body .sd-social-icon .sd-content li.share-custom a span { |
---|
505 | width: 0; |
---|
506 | } |
---|
507 | |
---|
508 | body .sd-social-icon .sd-content li.share-custom a span { |
---|
509 | padding-left: 16px !important; |
---|
510 | } |
---|
511 | |
---|
512 | |
---|
513 | /* Overflow Sharing dialog */ |
---|
514 | .sharing-hidden .inner { |
---|
515 | position: absolute; |
---|
516 | z-index: 2; |
---|
517 | border: 1px solid #ccc; |
---|
518 | padding: 10px; |
---|
519 | background: #fff; |
---|
520 | box-shadow: 0px 5px 20px rgba(0,0,0,.2); |
---|
521 | -webkit-border-radius: 2px; |
---|
522 | -moz-border-radius: 2px; |
---|
523 | border-radius: 2px; |
---|
524 | margin-top: 5px; |
---|
525 | max-width: 400px; |
---|
526 | } |
---|
527 | |
---|
528 | .sharing-hidden .inner ul{ |
---|
529 | margin: 0 !important; |
---|
530 | } |
---|
531 | |
---|
532 | .sd-social-official .sd-content .sharing-hidden ul>li.share-end { |
---|
533 | clear: both; |
---|
534 | margin: 0 !important; |
---|
535 | height: 0 !important; |
---|
536 | } |
---|
537 | |
---|
538 | .sharing-hidden .inner:before, .sharing-hidden .inner:after { |
---|
539 | position: absolute; |
---|
540 | z-index: 1; |
---|
541 | top: -8px; |
---|
542 | left: 20px; |
---|
543 | width: 0; |
---|
544 | height: 0; |
---|
545 | border-left: 6px solid transparent; |
---|
546 | border-right: 6px solid transparent; |
---|
547 | border-bottom: 8px solid #ccc; |
---|
548 | content: ""; |
---|
549 | display: block; |
---|
550 | } |
---|
551 | |
---|
552 | .sharing-hidden .inner:after { |
---|
553 | z-index: 2; |
---|
554 | top: -7px; |
---|
555 | border-left: 6px solid transparent; |
---|
556 | border-right: 6px solid transparent; |
---|
557 | border-bottom: 8px solid #fff; |
---|
558 | } |
---|
559 | |
---|
560 | .sharing-hidden ul { |
---|
561 | margin: 0; |
---|
562 | } |
---|
563 | |
---|
564 | |
---|
565 | /** |
---|
566 | * Special colorful look for "Icon Only" option |
---|
567 | */ |
---|
568 | |
---|
569 | .sd-social-icon .sd-content ul li[class*='share-'] a, |
---|
570 | .sd-social-icon .sd-content ul li[class*='share-'] a:hover, |
---|
571 | .sd-social-icon .sd-content ul li[class*='share-'] div.option a { |
---|
572 | border-radius: 50%; |
---|
573 | -webkit-border-radius: 50%; |
---|
574 | border: 0; |
---|
575 | box-shadow: none; |
---|
576 | padding: 7px; |
---|
577 | position: relative; |
---|
578 | top: -2px; |
---|
579 | line-height: 1; |
---|
580 | width: auto; |
---|
581 | height: auto; |
---|
582 | margin-bottom: 0; |
---|
583 | max-width: 32px; |
---|
584 | } |
---|
585 | |
---|
586 | .sd-social-icon .sd-content ul li[class*='share-'] a.sd-button>span, |
---|
587 | .sd-social-icon .sd-content ul li[class*='share-'] div.option a span { |
---|
588 | line-height: 1; |
---|
589 | } |
---|
590 | |
---|
591 | .sd-social-icon .sd-content ul li[class*='share-'] a:hover, |
---|
592 | .sd-social-icon .sd-content ul li[class*='share-'] div.option a:hover { |
---|
593 | border: none; |
---|
594 | opacity: .6; |
---|
595 | } |
---|
596 | |
---|
597 | |
---|
598 | |
---|
599 | .sd-social-icon .sd-content ul li[class*='share-'] a.sd-button:before { |
---|
600 | top: 0; |
---|
601 | } |
---|
602 | |
---|
603 | .sd-social-icon .sd-content ul li[class*='share-'] a.sd-button.share-custom { |
---|
604 | padding: 8px 8px 6px 8px; |
---|
605 | top: 5px; |
---|
606 | } |
---|
607 | |
---|
608 | .sd-social-icon .sd-content ul li a.sd-button.share-more { |
---|
609 | margin-left: 10px; |
---|
610 | } |
---|
611 | |
---|
612 | .sd-social-icon .sd-content ul li:first-child a.sd-button.share-more { |
---|
613 | margin-left: 0; |
---|
614 | } |
---|
615 | |
---|
616 | |
---|
617 | .sd-social-icon .sd-button span.share-count { |
---|
618 | position: absolute; |
---|
619 | bottom: 0; |
---|
620 | right: 0; |
---|
621 | border-radius: 0; |
---|
622 | background: #555; |
---|
623 | font-size: 9px; |
---|
624 | } |
---|
625 | |
---|
626 | /* Special look colors */ |
---|
627 | .sd-social-icon .sd-content ul li[class*='share-'] a.sd-button { |
---|
628 | background: #e9e9e9; |
---|
629 | margin-top: 2px; |
---|
630 | text-indent: 0; |
---|
631 | } |
---|
632 | |
---|
633 | .sd-social-icon .sd-content ul li[class*='share-'].share-tumblr a.sd-button { |
---|
634 | background: #2c4762; |
---|
635 | color: #fff !important; |
---|
636 | } |
---|
637 | |
---|
638 | .sd-social-icon .sd-content ul li[class*='share-'].share-facebook a.sd-button { |
---|
639 | background: #0866ff; |
---|
640 | color: #fff !important; |
---|
641 | } |
---|
642 | |
---|
643 | .sd-social-icon .sd-content ul li[class*='share-'].share-twitter a.sd-button { |
---|
644 | background: #00acee; |
---|
645 | color: #fff !important; |
---|
646 | } |
---|
647 | |
---|
648 | .sd-social-icon .sd-content ul li[class*='share-'].share-x a.sd-button { |
---|
649 | background: #000; |
---|
650 | color: #fff !important; |
---|
651 | } |
---|
652 | |
---|
653 | .sd-social-icon .sd-content ul li[class*='share-'].share-pinterest a.sd-button { |
---|
654 | background: #ca1f27; |
---|
655 | color: #fff !important; |
---|
656 | } |
---|
657 | |
---|
658 | .sd-social-icon .sd-content ul li[class*='share-'].share-digg a.sd-button { |
---|
659 | color: #555555 !important; |
---|
660 | } |
---|
661 | |
---|
662 | .sd-social-icon .sd-content ul li[class*='share-'].share-press-this a.sd-button { |
---|
663 | background: #4f94d4; |
---|
664 | color: #fff !important; |
---|
665 | } |
---|
666 | |
---|
667 | .sd-social-icon .sd-content ul li[class*='share-'].share-telegram a.sd-button { |
---|
668 | background: #0088cc; |
---|
669 | color: #fff !important; |
---|
670 | } |
---|
671 | |
---|
672 | .sd-social-icon .sd-content ul li[class*='share-'].share-linkedin a.sd-button { |
---|
673 | background: #0077b5; |
---|
674 | color: #fff !important; |
---|
675 | } |
---|
676 | |
---|
677 | .sd-social-icon .sd-content ul li[class*='share-'].share-pocket a.sd-button { |
---|
678 | background: #ee4056; |
---|
679 | color: #fff !important; |
---|
680 | } |
---|
681 | |
---|
682 | .sd-social-icon .sd-content ul li[class*='share-'].share-reddit a.sd-button { |
---|
683 | background: #cee3f8; |
---|
684 | color: #555555 !important; |
---|
685 | } |
---|
686 | |
---|
687 | .sd-social-icon .sd-content ul li[class*='share-'].share-mastodon a.sd-button { |
---|
688 | background: linear-gradient(to top, #563ACC 0%, #6364FF 100%); |
---|
689 | color: #fff !important; |
---|
690 | } |
---|
691 | |
---|
692 | /** |
---|
693 | * Screen Reader Text for "Icon Only" option |
---|
694 | */ |
---|
695 | |
---|
696 | .sharing-screen-reader-text { |
---|
697 | clip: rect(1px, 1px, 1px, 1px); |
---|
698 | position: absolute !important; |
---|
699 | height: 1px; |
---|
700 | width: 1px; |
---|
701 | overflow: hidden; |
---|
702 | } |
---|
703 | |
---|
704 | .sharing-screen-reader-text:hover, |
---|
705 | .sharing-screen-reader-text:active, |
---|
706 | .sharing-screen-reader-text:focus { |
---|
707 | background-color: #f0f0f1; |
---|
708 | border-radius: 3px; |
---|
709 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
---|
710 | clip: auto !important; |
---|
711 | color: #21759b; |
---|
712 | display: block; |
---|
713 | font-size: 14px; |
---|
714 | font-weight: bold; |
---|
715 | height: auto; |
---|
716 | left: 5px; |
---|
717 | line-height: normal; |
---|
718 | padding: 15px 23px 14px; |
---|
719 | text-decoration: none; |
---|
720 | top: 5px; |
---|
721 | width: auto; |
---|
722 | z-index: 100000; /* Above WP toolbar */ |
---|
723 | } |
---|
724 | |
---|
725 | |
---|
726 | #jetpack-source_f_name { |
---|
727 | display: none!important; |
---|
728 | position: absolute !important; |
---|
729 | left: -9000px; |
---|
730 | } |
---|
731 | |
---|
732 | .sd-content .share-customize-link { |
---|
733 | margin-top: 8px; |
---|
734 | line-height: 11px; |
---|
735 | } |
---|
736 | |
---|
737 | .sd-content .share-customize-link a { |
---|
738 | font-size: 11px; |
---|
739 | font-family: "Open Sans", sans-serif; |
---|
740 | } |
---|
741 | |
---|
742 | @media print { |
---|
743 | .sharedaddy.sd-sharing-enabled { |
---|
744 | display: none; |
---|
745 | } |
---|
746 | } |
---|