]> git.mxchange.org Git - friendica-addons.git/commitdiff
layout adjustements for pledgie box
authorhauke <hauke@grlg.org>
Mon, 18 May 2015 19:51:34 +0000 (21:51 +0200)
committerhauke <hauke@grlg.org>
Mon, 18 May 2015 19:51:34 +0000 (21:51 +0200)
pledgie/pledgie.css
pledgie/pledgie.php

index 9cb9896d34344c31ffdc9b0b0307781793b21db6..4cbabe6edab4f9d35c0202b50035c604169df02b 100755 (executable)
        margin-top: 25px;
        font-size: 20px;
 }
+
+#pledgie-box {
+       position: fixed; 
+       bottom: 5px; 
+       left: 20px; 
+       z-index: 1000;
+       width: 150px;
+       font-size: 12px;
+       font-weight: bold;
+}
index af72a45fb68f8c34bebccdaa91627787e595c736..f682853ba67ec3ad92c484e336a9e4e1e0fa2d78 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * Name: Pledgie
- * Description: Show link to Friendica pledgie account for donating
+ * Description: Show link to a pledgie account for donating
  * Version: 1.1
  * Author: tony baldwin <tony@free-haven.org>
  *         Hauke Altmann <https://snarl.de/profile/tugelblend>
@@ -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: 60px;">';
+       $b .= '<div id="pledgie-box">';
        $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/';