added a box around the button for a nicer look

This commit is contained in:
hauke 2015-05-18 22:21:38 +02:00
parent 0d03981d9c
commit bb3df7d98e
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -70,7 +70,7 @@ function pledgie_addon_settings_post(&$a,&$b) {
function pledgie_active(&$a,&$b) {
$campaign = get_config('pledgie-campaign','text');
$describe = get_config('pledgie-describe','text');
$b .= '<div style="position: fixed; bottom: 5px; left: 20px; z-index: 1000; width: 150px; font-size: 12px; font-weight: bold;">';
$b .= '<div style="position: fixed; padding:5px; border-style:dotted; border-width:1px; background-color: white; line-height: 1; bottom: 5px; left: 20px; z-index: 1000; width: 150px; font-size: 12px;">';
$b .= $describe . '<br/><a href=\'http://www.pledgie.com/campaigns/';
$b .= $campaign;
$b .= '\'><img alt=\'Click here to lend your support to: ' . $describe . '!\' src=\'http://www.pledgie.com/campaigns/';