File: /home/vitanhod/barnabites.es/wp-content/plugins/rishi-companion/src/public/sass/_socialshare.scss
.rishi-share-box {
.rishi-social-icons {
display: flex;
list-style: none;
margin: 0;
padding: 0;
flex-wrap: wrap;
a {
background: var(--bgcolor);
display: inline-flex;
padding: 15px;
justify-content: center;
align-items: center;
border-radius: 3px;
transition: 0.234s ease-in-out;
margin: var(--iconspacing);
svg {
width: var(--icon-size);
height: var(--icon-size);
fill: var(--color);
transition: 0.234s ease-in-out;
}
&:hover {
background: var(--bghovercolor);
svg {
fill: var(--hover-color);
}
}
}
}
.rishi-social-wrapper {
display: flex;
flex-direction: column;
}
&.data-shape-center {
.rishi-social-wrapper {
align-items: center;
.rishi-social-icons {
justify-content: center;
}
}
}
&.data-shape-right {
.rishi-social-wrapper {
align-items: end;
.rishi-social-icons {
justify-content: end;
}
}
}
&.rishi-color-type-official {
a {
background: var(--official-color, #216bdb);
&:hover {
opacity: 0.6;
background: var(--official-color, #216bdb);
svg {
fill: #ffffff;
}
}
svg {
fill: #ffffff;
}
}
}
&.data-shape-circle {
a {
border-radius: 100%;
aspect-ratio: 1/1;
}
}
&.data-location-sticky {
position: absolute;
top: 0;
left: 0;
width: 70px;
height: 100%;
z-index: 2;
@media (min-width:687px) {
.rishi-social-wrapper {
text-align: center;
position: sticky;
top: var(--topoffset, 180px);
display: block;
margin: 0 auto;
width: fit-content;
.rishi-social-icons {
flex-direction: column;
}
}
}
@media (max-width: 689.98px) {
position: fixed;
margin: auto;
bottom: 0;
top: unset !important;
left: 0 !important;
z-index: 8888;
width: 100%;
padding: 0;
background: #fff;
height: unset;
box-shadow: -4px -4px 10px rgba(0, 0, 0, 0.17);
.rishi-social-wrapper {
gap: 10px;
align-items: center;
align-self: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
margin: 0 auto;
max-width: 500px;
padding: 10px 15px;
position: unset;
}
}
&.data-float-left {
left: var(--sideOffset, 15px);
@media only screen and (min-width: 1440px) {
top: 0;
left: -150px;
}
}
&.data-float-right {
top: 0;
right: 0;
.rishi-social-wrapper {
top: var(--topOffset, 180px);
left: unset;
right: var(--sideOffset, 15px);
}
@media only screen and (min-width: 1440px) {
left: unset;
right: -100%;
top: 0;
}
}
.rishi-share-title {
max-width: 75px;
text-align: center;
word-break: break-word;
font-size: 16px;
line-height: 1.5;
display: inline-block;
margin-bottom: 10px;
@media (max-width: 689.98px) {
max-width: unset;
margin-bottom: 0;
}
}
}
}
.post-inner-wrap {
position: relative;
&.float-left {
@media only screen and (max-width: 1440px) and (min-width: 689.98px) {
padding-left: 100px;
}
.rishi-share-box {
@media (max-width: 1440px) {
left: var(--sideOffset, 0px);
}
}
}
&.float-right {
@media only screen and (max-width: 1440px) and (min-width: 689.98px) {
padding-right: 100px;
}
.rishi-share-box {
@media (max-width: 1440px) {
left: unset;
right: var(--sideOffset, 0px);
}
}
}
}
.full-width,
.leftsidebar {
.rishi-share-box.data-location-sticky.data-float-right {
@media only screen and (min-width: 1440px) {
right: -150px;
}
}
}
.leftsidebar .rishi-share-box.data-location-sticky.data-float-left {
@media only screen and (min-width: 1440px) {
left: -100%;
}
}
.full-width.centered {
.post-inner-wrap {
padding: 0;
}
.rishi-share-box.data-location-sticky.data-float-right {
@media only screen and (min-width: 689.98px) {
right: -100px;
top: var(--topOffset, 170px);
}
}
.rishi-share-box.data-location-sticky.data-float-left {
@media only screen and (min-width: 689.98px) {
left: -100px;
}
}
}
/******** User Socials Front End ***********/
.autor-section .rishi-social-box {
display: flex;
flex-wrap: wrap;
gap: 10px;
a {
svg {
width: 15px;
height: 15px;
transition: 0.234s ease-in-out;
fill: var(--official-color);
}
&:hover {
svg {
opacity: 0.6;
}
}
}
}
.rishi-author-box .rishi-social-box:not(:empty) {
margin-top: 24px;
}