1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Minor styling fixes to social-share button.

This commit is contained in:
Cameron
2014-01-25 05:32:40 -08:00
parent f4cb7f94d1
commit 3430be2427
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/*margin-left: .2em; */
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */

View File

@@ -75,7 +75,7 @@ class social_shortcodes extends e_shortcode
$title = varset($parm['title'], deftrue('e_PAGETITLE'). " | ". SITENAME ) ;
$description = varset($parm['title'], e107::getUrl()->response()->getMetaDescription());
$media = "";
$label = varset($parm['label'], $tp->toGlyph('e-social-spread')." ".defset('LAN_SHARE',"Share"));
$label = varset($parm['label'], $tp->toGlyph('e-social-spread'));
$size = varset($parm['size'],'md');
@@ -131,7 +131,7 @@ class social_shortcodes extends e_shortcode
$dir = ($parm['dropdown'] == 'right') ? 'pull-right' : '';
$text = '<div class="btn-group '.$dir.'">
<a class="e-tip btn btn-dropdown btn-default btn-'.$size.' dropdown-toggle" data-toggle="dropdown" href="#" title="Share">'.$label.' <b class="caret"></b></a>
<a class="e-tip btn btn-dropdown btn-default btn-'.$size.' dropdown-toggle" data-toggle="dropdown" href="#" title="Share">'.$label.'</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel" style="min-width:465px">