Plugin Directory

Changeset 766790


Ignore:
Timestamp:
09/04/2013 08:59:55 AM (12 years ago)
Author:
amitsukapure
Message:

Donation button

Location:
shortcode-menu/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shortcode-menu/trunk/help.php

    r751414 r766790  
    112112                </div><!-- .postbox -->
    113113            </div><!-- .postbox-container -->
     114           
    114115        <div class="postbox-container">
     116            <div class="postbox">
     117                <h3>Donation</h3>
     118                <div class="field field-last">
     119                    <form id="paypal_form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
     120                        You can donate to this plugin using PayPal. Click to donate.<br/>
     121                        <input type="hidden" name="cmd" value="_s-xclick">
     122                        <input type="hidden" name="hosted_button_id" value="6KENHJ854VL7J">
     123                        <input type="image" class="donate" src="<?php echo plugins_url('/images/donate.png',__FILE__); ?>" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
     124                        <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
     125                    </form>
     126                </div>
     127            </div>
     128        </div>   
     129           
     130        <div class="postbox-container clear">
    115131            <div class="postbox">
    116132                <h3>Shortcodes</h3>
     
    144160            </div><!-- .postbox -->
    145161       </div><!-- .postbox-container -->
    146            
     162       
     163       
     164       
    147165       
    148166           
  • shortcode-menu/trunk/style.css

    r760497 r766790  
    11@charset "utf-8";
    2 
    32/* CSS Document */
    4 
    5 
    6 
    73.clear
    8 
    94{
    10 
    115    clear:both;
    12 
    136}
    14 
    157.hide
    16 
    178{
    18 
    199    display:none;   
    20 
    2110}
    22 
    2311.padding
    24 
    2512{
    26 
    2713    padding:1em !important;
    28 
    2914}
    30 
    3115#menu-short-page input[type="text"]
    32 
    3316{
    34 
    3517    width:100%;
    36 
    3718}   
    38 
    39 
    40 
    4119#menu-short-page .postbox-container
    42 
    4320{
    44 
    4521    width: 47%;
    46 
    4722    margin: 1em;
    48 
    4923}
    50 
    5124#menu-short-page .postbox h3
    52 
    5325{
    54 
    5526    font-size: 15px;
    56 
    5727    font-weight: normal;
    58 
    5928    padding: 7px 10px;
    60 
    6129    margin: 0;
    62 
    6330    line-height: 1;
    64 
    6531    cursor:default;
    66 
    6732}
    68 
    6933#create_table
    70 
    7134{
    72 
    7335    width:100%;
    74 
    7536}
    76 
    77 
    78 
    7937#create_table td, #create_table th
    80 
    8138{
    82 
    8339    margin-top:0.5em;
    84 
    8540    margin-bottom:1em;
    86 
    8741    padding:1em;
    88 
    8942}
    90 
    9143#create_table th
    92 
    9344{
    94 
    9545    border-bottom:1px dotted #ccc; 
    96 
    9746}
    98 
    9947.field
    100 
    10148{
    102 
    10349    margin-top:0.5em;
    104 
    10550    margin-bottom:1em;
    106 
    10751    border-bottom:1px dotted #ccc;
    108 
    10952    padding: 0 1em 1em;
    110 
    11153}
    112 
    11354.field-last
    114 
    11555{
    116 
    11756    border-bottom:none;
    118 
    11957}
    120 
    12158#wrap-inside
    122 
    12359{
    124 
    12560    margin-top:2em;
    126 
    12761    padding-top:1em;
    128 
    12962    border-top:1px solid #ccc; 
    130 
    13163}
    132 
    13364.example
    134 
    13565{
    136 
    13766    margin-top:0.5em;
    138 
    13967    font-size:80%;
    140 
    14168}
    142 
    143 
    144 
    14569.full_text
    146 
    14770{
    148 
    14971    width:100% !important; 
    150 
    15172}
    152 
    15373#shortcode
    154 
    15574{
    156 
    15775    background:rgba(139, 255, 139,.3);
    158 
    15976    font-size: 15px;
    160 
    16177    text-align: center;
    162 
    16378    display:none;
    164 
    16579}
    166 
    167 
    168 
    16980.help
    170 
    17181{
    172 
    17382    display:none;
    174 
    17583    position:absolute;
    176 
    17784    left: 120%;
    178 
    17985    background: rgba(256,256,256,1);
    180 
    18186    padding: 1em;
    182 
    18387    top: 20%;
    184 
    18588    width:200px;
    186 
    18789    max-width: 200px;
    188 
    18990    z-index: 999999;
    190 
    19191    box-shadow: 0 0 3px #ccc;
    192 
    19392    border-radius:3px;
    194 
    19593}
    196 
    197 
    198 
    19994.help_button
    200 
    20195{
    202 
    20396    cursor:pointer;
    204 
    20597    position:relative;
    206 
    20798    vertical-align:middle;
    208 
    20999    margin-left:0.5em;
    210 
    211100}
    212 
    213101.help_button img
    214 
    215102{
    216 
    217103    vertical-align:middle; 
    218 
    219104}
    220 
    221 
    222 
    223105.help_button:hover
    224 
    225106{
    226 
    227107    opacity:0.9;   
    228 
    229108}
    230 
    231 
    232 
    233109.mshort-h3
    234 
    235110{
    236 
    237111    margin:0.5em 0 !important; 
    238 
    239112}
    240 
    241113.ui-button-icon-only .ui-button-text
    242 
    243114{
    244 
    245115    line-height: 3px !important;
    246 
    247116    padding-left: 2px !important;
    248 
    249117    text-indent:initial !important;
    250 
    251118    text-shadow: 1px 1px 1px white;
    252 
    253119}
    254 
    255120.plugin_text img
    256 
    257121{
    258 
    259122    box-shadow: 0 0 3px #ccc;
    260 
    261123    margin-top: 1em;   
    262 
    263124}
     125.donate
     126{
     127    width: 150px;
     128    margin-top: 1em;   
     129}
     130#paypal_form
     131{
     132    padding-top:0.5em; 
     133}
Note: See TracChangeset for help on using the changeset viewer.