mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Social icons now using Font-awesome resize method.
This commit is contained in:
@@ -26,10 +26,9 @@ class social_shortcodes extends e_shortcode
|
|||||||
'vimeo' => array('href'=> deftrue('XURL_VIMEO'), 'title'=>'Vimeo')
|
'vimeo' => array('href'=> deftrue('XURL_VIMEO'), 'title'=>'Vimeo')
|
||||||
);
|
);
|
||||||
|
|
||||||
parse_str($parms,$parm);
|
|
||||||
|
|
||||||
$class = (vartrue($parms['size'])) ? 'fa-'.$parm['size'] : '';
|
|
||||||
|
|
||||||
|
$class = (vartrue($parm['size'])) ? 'fa-'.$parm['size'] : '';
|
||||||
|
|
||||||
$text = '';
|
$text = '';
|
||||||
|
|
||||||
@@ -39,8 +38,8 @@ class social_shortcodes extends e_shortcode
|
|||||||
if($data['href'] != '')
|
if($data['href'] != '')
|
||||||
{
|
{
|
||||||
|
|
||||||
$text .= '<a rel="external" href="'.$data['href'].'" class="social-icon social-'.$id.' '.$class.'">
|
$text .= '<a rel="external" href="'.$data['href'].'" class="social-icon social-'.$id.'">
|
||||||
<span class="fa fa-'.$id.'"></span>
|
<span class="fa fa-'.$id.' '.$class.'"></span>
|
||||||
</a>';
|
</a>';
|
||||||
|
|
||||||
$text .= "\n";
|
$text .= "\n";
|
||||||
|
@@ -100,7 +100,6 @@ body {
|
|||||||
|
|
||||||
|
|
||||||
.xurl-social-icons a {
|
.xurl-social-icons a {
|
||||||
font-size: 28px;
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
opacity: .7;
|
opacity: .7;
|
||||||
|
@@ -123,7 +123,7 @@ $LAYOUT['_footer_'] = ' <hr>
|
|||||||
{SITEDISCLAIMER}
|
{SITEDISCLAIMER}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 text-right">
|
<div class="col-lg-6 text-right">
|
||||||
{XURL_ICONS}
|
{XURL_ICONS: size=2x}
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user