@@ -84,8 +84,18 @@
/* --------------- social buttons */
-.bx-social-sharing .bx-social-sharing-btn {
- width:150px;
+.bx-social-sharing-btn {
float:left;
}
+.bx-social-sharing-btn a,
+.bx-social-sharing-btn .sys-icon {
+ font-size:2rem;
+ text-decoration:none;
+ vertical-align:middle;
+}
+.bx-social-sharing-btn span {
+ font-size:1.5rem;
+ margin:0 0.2rem;
@@ -80,7 +80,7 @@ class BxBaseSocialSharing extends BxDolSocialSharing
if (!isset($sButton) || preg_match('/{[A-Za-z0-9_]+}/', $sButton)) // if not all markers are replaced skip it
continue;
- $aButtons[] = array ('button' => $sButton);
+ $aButtons[] = array ('button' => $sButton, 'object' => $aButton['object']);
// output
@@ -2,7 +2,7 @@
<div class="bx-social-sharing bx-clearfix">
<bx_repeat:buttons>
- <div class="bx-social-sharing-btn bx-def-margin-sec-bottom">
+ <div class="bx-social-sharing-btn bx-social-sharing-__object__ bx-def-margin-sec-left-auto">
__button__
</div>
</bx_repeat:buttons>