social-likes-next
Version:
[](https://travis-ci.org/sapegin/social-likes-next) [](https://www.npmjs.com/package/social-likes-next)
215 lines (214 loc) • 4.54 kB
CSS
.social-likes,
.social-likes__widget,
.social-likes__button {
animation: none 0s ease 0s 1 normal none running;
backface-visibility: visible;
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
border: medium none currentColor;
border-collapse: separate;
border-image: none;
border-radius: 0;
border-spacing: 0;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
color: #000;
columns: auto;
column-count: auto;
column-fill: balance;
column-gap: normal;
column-rule: medium none currentColor;
column-span: 1;
column-width: auto;
content: normal;
counter-increment: none;
counter-reset: none;
cursor: auto;
direction: ltr;
display: inline;
empty-cells: show;
float: none;
font-family: serif;
font-size: medium;
font-style: normal;
font-variant: normal;
font-weight: normal;
font-stretch: normal;
line-height: normal;
height: auto;
hyphens: none;
left: auto;
letter-spacing: normal;
list-style: disc outside none;
margin: 0;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
opacity: 1;
orphans: 2;
outline: medium none invert;
overflow: visible;
overflow-x: visible;
overflow-y: visible;
padding: 0;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
perspective: none;
perspective-origin: 50% 50%;
position: static;
right: auto;
tab-size: 8;
table-layout: auto;
text-align: left;
text-align-last: auto;
text-decoration: none;
text-indent: 0;
text-shadow: none;
text-transform: none;
top: auto;
transform: none;
transform-origin: 50% 50% 0;
transform-style: flat;
transition: none 0s ease 0s;
unicode-bidi: normal;
vertical-align: baseline;
visibility: visible;
white-space: normal;
widows: 2;
width: auto;
word-spacing: normal;
z-index: auto;
all: initial;
box-sizing: border-box;
}
.social-likes::before,
.social-likes::after,
.social-likes__widget::before,
.social-likes__widget::after,
.social-likes__button::before,
.social-likes__button::after {
display: none;
}
.social-likes {
opacity: 0;
}
.social-likes_visible {
opacity: 1;
transition: opacity 0.25s ease-in;
}
.social-likes > * {
display: block;
visibility: hidden;
}
.social-likes_visible > * {
visibility: inherit;
}
.social-likes {
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
font-size: 16px;
}
.social-likes__widget {
display: block;
position: relative;
white-space: nowrap;
cursor: pointer;
font-size: inherit;
line-height: inherit;
}
.social-likes__button {
display: block;
text-rendering: optimizeLegibility;
font-family: 'Helvetica Neue', Arial, sans-serif;
line-height: inherit;
color: inherit;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.social-likes__invisible-button {
display: block;
width: 100%;
height: 100%;
}
.social-likes__icon {
position: absolute;
fill: currentColor;
width: 1em;
height: 1em;
}
.social-likes__widget_notext .social-likes__icon {
position: static;
display: block;
margin: 0.3125em;
}
.social-likes_vertical {
-webkit-flex-direction: column;
flex-direction: column;
}
.social-likes {
min-height: 36px;
margin: -0.45em;
line-height: 1.45;
}
.social-likes__widget {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0.45em;
line-height: inherit;
border: 0;
text-align: left;
color: #fff;
}
.social-likes__widget:hover,
.social-likes__widget:active,
.social-likes__widget:focus {
opacity: 0.9;
-webkit-filter: saturate(0.8) brightness(1.15);
filter: saturate(0.8) brightness(1.15);
}
.social-likes__button {
padding: 0.18em 0.7em 0.15em 1.75em;
vertical-align: middle;
font-size: 0.95em;
}
.social-likes__icon {
top: 0.3em;
left: 0.4em;
}
.social-likes_vertical .social-likes__widget {
width: 11em;
}
.social-likes__widget_facebook {
background: #3b5998;
}
.social-likes__widget_twitter {
background: #55acee;
}
.social-likes__widget_plusone {
background: #dc4e41;
}
.social-likes__widget_vkontakte {
background: #45668e;
}
.social-likes__widget_odnoklassniki {
background: #ed812b;
}
.social-likes__widget_pinterest {
background: #bd081c;
}
.social-likes__widget_telegram {
background: #08c;
}
.social-likes__widget_linkedin {
background: #0077b5;
}