Plugin Directory

Changeset 2841590


Ignore:
Timestamp:
12/30/2022 04:11:09 PM (3 years ago)
Author:
best2pay
Message:

halva widget

Location:
best2pay-payment-method-visamastercard
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • best2pay-payment-method-visamastercard/best2pay-payment_method.php

    r2841579 r2841590  
    1818 * Plugin URI: http://best2pay.net/
    1919 * Description: Receive payments via Visa/Mastercard easily with Best2Pay bank cards processing
    20  * Version: 1.2.5
     20 * Version: 1.2.6
    2121 * Author: Best2Pay
    2222 * Tested up to: 5.7.1
     
    7373                    $this->title = 'Оплатить заказ Частями';
    7474                    $this->icon = plugins_url('halva.svg', __FILE__);
    75                     $this->description = '<iframe src="'.plugins_url('halva_widget.php', __FILE__).'"></iframe>';
     75                    $this->description = '<iframe style="border:none; width:100%; height:220px;" src="'.plugins_url('halva_widget.php', __FILE__).'"></iframe>';
    7676                    break;
    7777                case 2:
  • best2pay-payment-method-visamastercard/halva_widget.php

    r2841566 r2841590  
    1 <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
    2 <link rel="preload" href="/wp-content/plugins/best2pay-payment-method-visamastercard/fonts/montserrat.css" as="style"
    3   onload="this.onload=null;this.rel='stylesheet'"/>
    4 <style type="text/css">
    5     .halva_widget {
    6         box-sizing: border-box;
    7         position: relative;
    8         width: 321px;
    9         height: 152px;
    10         left: 23px;
    11         top: 39px;
    12         background: #FFFFFF;
    13         border: 1px solid #F1F1F1;
    14         box-shadow: 0px 14px 14px rgba(116, 116, 116, 0.09);
    15         border-radius: 12px;
    16         font-family: 'Roboto', sans-serif;
    17         padding-top: 12px;
    18         padding-bottom: 12px;
    19         padding-left: 16px;
    20         padding-right: 16px;
    21         font-size: 14px;
    22         color: #333;
    23         cursor: default;
    24     }
    25     .halva_widget .header .logo {
    26         background: url('/wp-content/plugins/best2pay-payment-method-visamastercard/halva_logo.svg');
    27         /* position: absolute; */
    28         width: 84.83px;
    29         height: 24px;
    30     }
    31     .halva_widget p.desc {
    32         width: 125px;
    33         height: 18px;
    34         font-family: 'Montserrat';
    35 /*          font-family: 'Roboto', sans-serif;*/
    36         font-style: normal;
    37         font-weight: 400;
    38         font-size: 14px;
    39         line-height: 125%;
    40         /* identical to box height, or 18px */
    41         color: #333333;
    42         /* Inside auto layout */
    43         flex: none;
    44         order: 0;
    45         flex-grow: 0;
    46         width: 100%;
    47     }
    48     .halva_widget .graph .items {
    49         display: grid;
    50         grid-template-columns: 63.25px 63.25px 63.25px 63.25px;
    51         grid-column-gap: 12px;
    52         width: 100%;
    53         padding: 0;
    54         margin: 0 auto;
    55     }
    56     .halva_widget .graph .items .item:first-child::before {
    57         background: #25BF61;
    58     }
    59     .halva_widget .graph .items .item::before {
    60         content: "";
    61         position: absolute;
    62         width: 100%;
    63         height: 6px;
    64         border-radius: 20px;
    65         background: #F1F1F1;
    66     }
    67     .halva_widget .graph .items .item {
    68         /* width: 25%;*/
    69         list-style: none;
    70         position: relative;
    71     }
    72     .halva_widget .graph .items .item .day {
    73         margin-top: 12px;
    74         font-family: 'Roboto';
    75         font-style: normal;
    76         font-weight: 400;
    77         font-size: 12px;
    78         line-height: 16px;
    79         color: #808080;
    80     }
    81     .halva_widget .graph .items .item .sum {
    82         margin-top: 4px;
    83         font-family: 'Montserrat';
    84         font-style: normal;
    85         font-weight: bold;
    86         font-size: 14px;
    87         line-height: 16px;
    88         /* identical to box height, or 114% */
     1<!DOCTYPE html>
     2<html>
     3<head>
     4    <meta charset="utf-8">
     5    <meta name="viewport" content="width=device-width, initial-scale=1">
     6    <title></title>
     7</head>
     8<body>
     9    <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
     10    <link rel="preload" href="/fonts/montserrat.css" as="style"
     11      onload="this.onload=null;this.rel='stylesheet'"/>
     12    <style type="text/css">
     13        html, body { margin: 0 auto; padding: 0; }
     14        .halva_widget {
     15            box-sizing: border-box;
     16            position: relative;
     17            width: 321px;
     18            height: 152px;
     19/*          left: 23px;*/
     20/*          top: 39px;*/
     21            background: #FFFFFF;
     22            border: 1px solid #F1F1F1;
     23            box-shadow: 0px 14px 14px rgba(116, 116, 116, 0.09);
     24            border-radius: 12px;
     25            font-family: 'Roboto', sans-serif;
     26            padding-top: 12px;
     27            padding-bottom: 12px;
     28            padding-left: 16px;
     29            padding-right: 16px;
     30            font-size: 14px;
     31            color: #333;
     32            cursor: default;
     33        }
     34        .halva_widget .header .logo {
     35            background: url('/halva_logo.svg');
     36            /* position: absolute; */
     37            width: 84.83px;
     38            height: 24px;
     39        }
     40        .halva_widget p.desc {
     41            width: 125px;
     42            height: 18px;
     43            font-family: 'Montserrat';
     44    /*          font-family: 'Roboto', sans-serif;*/
     45            font-style: normal;
     46            font-weight: 400;
     47            font-size: 14px;
     48            line-height: 125%;
     49            /* identical to box height, or 18px */
     50            color: #333333;
     51            /* Inside auto layout */
     52            flex: none;
     53            order: 0;
     54            flex-grow: 0;
     55            width: 100%;
     56        }
     57        .halva_widget .graph .items {
     58            display: grid;
     59            grid-template-columns: 63.25px 63.25px 63.25px 63.25px;
     60            grid-column-gap: 12px;
     61            width: 100%;
     62            padding: 0;
     63            margin: 0 auto;
     64        }
     65        .halva_widget .graph .items .item:first-child::before {
     66            background: #25BF61;
     67        }
     68        .halva_widget .graph .items .item::before {
     69            content: "";
     70            position: absolute;
     71            width: 100%;
     72            height: 6px;
     73            border-radius: 20px;
     74            background: #F1F1F1;
     75        }
     76        .halva_widget .graph .items .item {
     77            /* width: 25%;*/
     78            list-style: none;
     79            position: relative;
     80        }
     81        .halva_widget .graph .items .item .day {
     82            margin-top: 12px;
     83            font-family: 'Roboto';
     84            font-style: normal;
     85            font-weight: 400;
     86            font-size: 12px;
     87            line-height: 16px;
     88            color: #808080;
     89        }
     90        .halva_widget .graph .items .item .sum {
     91            margin-top: 4px;
     92            font-family: 'Montserrat';
     93            font-style: normal;
     94            font-weight: bold;
     95            font-size: 14px;
     96            line-height: 16px;
     97            /* identical to box height, or 114% */
    8998
    9099
    91         color: #333333;
    92     }
    93 </style>
    94 <div class="halva_widget">
    95     <div class="header">
    96         <div class="logo"></div>
    97         <!-- ? -->
     100            color: #333333;
     101        }
     102    </style>
     103    <div class="halva_widget">
     104        <div class="header">
     105            <div class="logo"></div>
     106            <!-- ? -->
     107        </div>
     108        <p class="desc">Разбить на части <b>без переплат</b></p>
     109        <div class="graph">
     110            <ul class="items">
     111                <li class="item">
     112                    <div class="day">Сегодня</div>
     113                    <div class="sum">1025 ₽</div>
     114                </li>
     115                <li class="item">
     116                    <div class="day">10 марта</div>
     117                    <div class="sum">1025 ₽</div>
     118                </li>
     119                <li class="item">
     120                    <div class="day">24 марта</div>
     121                    <div class="sum">1025 ₽</div>
     122                </li>
     123                <li class="item">
     124                    <div class="day">7 апреля</div>
     125                    <div class="sum">1025 ₽</div>
     126                </li>
     127            </ul>
     128        </div>
    98129    </div>
    99     <p class="desc">Разбить на части <b>без переплат</b></p>
    100     <div class="graph">
    101         <ul class="items">
    102             <li class="item">
    103                 <div class="day">Сегодня</div>
    104                 <div class="sum">1025 ₽</div>
    105             </li>
    106             <li class="item">
    107                 <div class="day">10 марта</div>
    108                 <div class="sum">1025 ₽</div>
    109             </li>
    110             <li class="item">
    111                 <div class="day">24 марта</div>
    112                 <div class="sum">1025 ₽</div>
    113             </li>
    114             <li class="item">
    115                 <div class="day">7 апреля</div>
    116                 <div class="sum">1025 ₽</div>
    117             </li>
    118         </ul>
    119     </div>
    120 </div>
     130</body>
     131</html>
  • best2pay-payment-method-visamastercard/readme.txt

    r2841580 r2841590  
    55Requires at least: 4.7
    66Requires PHP: 7.4
    7 Stable tag: 1.2.5
     7Stable tag: 1.2.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • best2pay-payment-method-visamastercard/trunk/best2pay-payment_method.php

    r2841579 r2841590  
    1818 * Plugin URI: http://best2pay.net/
    1919 * Description: Receive payments via Visa/Mastercard easily with Best2Pay bank cards processing
    20  * Version: 1.2.5
     20 * Version: 1.2.6
    2121 * Author: Best2Pay
    2222 * Tested up to: 5.7.1
     
    7373                    $this->title = 'Оплатить заказ Частями';
    7474                    $this->icon = plugins_url('halva.svg', __FILE__);
    75                     $this->description = '<iframe src="'.plugins_url('halva_widget.php', __FILE__).'"></iframe>';
     75                    $this->description = '<iframe style="border:none; width:100%; height:220px;" src="'.plugins_url('halva_widget.php', __FILE__).'"></iframe>';
    7676                    break;
    7777                case 2:
  • best2pay-payment-method-visamastercard/trunk/halva_widget.php

    r2841570 r2841590  
    1 <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
    2 <link rel="preload" href="/wp-content/plugins/best2pay-payment-method-visamastercard/fonts/montserrat.css" as="style"
    3   onload="this.onload=null;this.rel='stylesheet'"/>
    4 <style type="text/css">
    5     .halva_widget {
    6         box-sizing: border-box;
    7         position: relative;
    8         width: 321px;
    9         height: 152px;
    10         left: 23px;
    11         top: 39px;
    12         background: #FFFFFF;
    13         border: 1px solid #F1F1F1;
    14         box-shadow: 0px 14px 14px rgba(116, 116, 116, 0.09);
    15         border-radius: 12px;
    16         font-family: 'Roboto', sans-serif;
    17         padding-top: 12px;
    18         padding-bottom: 12px;
    19         padding-left: 16px;
    20         padding-right: 16px;
    21         font-size: 14px;
    22         color: #333;
    23         cursor: default;
    24     }
    25     .halva_widget .header .logo {
    26         background: url('/wp-content/plugins/best2pay-payment-method-visamastercard/halva_logo.svg');
    27         /* position: absolute; */
    28         width: 84.83px;
    29         height: 24px;
    30     }
    31     .halva_widget p.desc {
    32         width: 125px;
    33         height: 18px;
    34         font-family: 'Montserrat';
    35 /*          font-family: 'Roboto', sans-serif;*/
    36         font-style: normal;
    37         font-weight: 400;
    38         font-size: 14px;
    39         line-height: 125%;
    40         /* identical to box height, or 18px */
    41         color: #333333;
    42         /* Inside auto layout */
    43         flex: none;
    44         order: 0;
    45         flex-grow: 0;
    46         width: 100%;
    47     }
    48     .halva_widget .graph .items {
    49         display: grid;
    50         grid-template-columns: 63.25px 63.25px 63.25px 63.25px;
    51         grid-column-gap: 12px;
    52         width: 100%;
    53         padding: 0;
    54         margin: 0 auto;
    55     }
    56     .halva_widget .graph .items .item:first-child::before {
    57         background: #25BF61;
    58     }
    59     .halva_widget .graph .items .item::before {
    60         content: "";
    61         position: absolute;
    62         width: 100%;
    63         height: 6px;
    64         border-radius: 20px;
    65         background: #F1F1F1;
    66     }
    67     .halva_widget .graph .items .item {
    68         /* width: 25%;*/
    69         list-style: none;
    70         position: relative;
    71     }
    72     .halva_widget .graph .items .item .day {
    73         margin-top: 12px;
    74         font-family: 'Roboto';
    75         font-style: normal;
    76         font-weight: 400;
    77         font-size: 12px;
    78         line-height: 16px;
    79         color: #808080;
    80     }
    81     .halva_widget .graph .items .item .sum {
    82         margin-top: 4px;
    83         font-family: 'Montserrat';
    84         font-style: normal;
    85         font-weight: bold;
    86         font-size: 14px;
    87         line-height: 16px;
    88         /* identical to box height, or 114% */
     1<!DOCTYPE html>
     2<html>
     3<head>
     4    <meta charset="utf-8">
     5    <meta name="viewport" content="width=device-width, initial-scale=1">
     6    <title></title>
     7</head>
     8<body>
     9    <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
     10    <link rel="preload" href="/fonts/montserrat.css" as="style"
     11      onload="this.onload=null;this.rel='stylesheet'"/>
     12    <style type="text/css">
     13        html, body { margin: 0 auto; padding: 0; }
     14        .halva_widget {
     15            box-sizing: border-box;
     16            position: relative;
     17            width: 321px;
     18            height: 152px;
     19/*          left: 23px;*/
     20/*          top: 39px;*/
     21            background: #FFFFFF;
     22            border: 1px solid #F1F1F1;
     23            box-shadow: 0px 14px 14px rgba(116, 116, 116, 0.09);
     24            border-radius: 12px;
     25            font-family: 'Roboto', sans-serif;
     26            padding-top: 12px;
     27            padding-bottom: 12px;
     28            padding-left: 16px;
     29            padding-right: 16px;
     30            font-size: 14px;
     31            color: #333;
     32            cursor: default;
     33        }
     34        .halva_widget .header .logo {
     35            background: url('/halva_logo.svg');
     36            /* position: absolute; */
     37            width: 84.83px;
     38            height: 24px;
     39        }
     40        .halva_widget p.desc {
     41            width: 125px;
     42            height: 18px;
     43            font-family: 'Montserrat';
     44    /*          font-family: 'Roboto', sans-serif;*/
     45            font-style: normal;
     46            font-weight: 400;
     47            font-size: 14px;
     48            line-height: 125%;
     49            /* identical to box height, or 18px */
     50            color: #333333;
     51            /* Inside auto layout */
     52            flex: none;
     53            order: 0;
     54            flex-grow: 0;
     55            width: 100%;
     56        }
     57        .halva_widget .graph .items {
     58            display: grid;
     59            grid-template-columns: 63.25px 63.25px 63.25px 63.25px;
     60            grid-column-gap: 12px;
     61            width: 100%;
     62            padding: 0;
     63            margin: 0 auto;
     64        }
     65        .halva_widget .graph .items .item:first-child::before {
     66            background: #25BF61;
     67        }
     68        .halva_widget .graph .items .item::before {
     69            content: "";
     70            position: absolute;
     71            width: 100%;
     72            height: 6px;
     73            border-radius: 20px;
     74            background: #F1F1F1;
     75        }
     76        .halva_widget .graph .items .item {
     77            /* width: 25%;*/
     78            list-style: none;
     79            position: relative;
     80        }
     81        .halva_widget .graph .items .item .day {
     82            margin-top: 12px;
     83            font-family: 'Roboto';
     84            font-style: normal;
     85            font-weight: 400;
     86            font-size: 12px;
     87            line-height: 16px;
     88            color: #808080;
     89        }
     90        .halva_widget .graph .items .item .sum {
     91            margin-top: 4px;
     92            font-family: 'Montserrat';
     93            font-style: normal;
     94            font-weight: bold;
     95            font-size: 14px;
     96            line-height: 16px;
     97            /* identical to box height, or 114% */
    8998
    9099
    91         color: #333333;
    92     }
    93 </style>
    94 <div class="halva_widget">
    95     <div class="header">
    96         <div class="logo"></div>
    97         <!-- ? -->
     100            color: #333333;
     101        }
     102    </style>
     103    <div class="halva_widget">
     104        <div class="header">
     105            <div class="logo"></div>
     106            <!-- ? -->
     107        </div>
     108        <p class="desc">Разбить на части <b>без переплат</b></p>
     109        <div class="graph">
     110            <ul class="items">
     111                <li class="item">
     112                    <div class="day">Сегодня</div>
     113                    <div class="sum">1025 ₽</div>
     114                </li>
     115                <li class="item">
     116                    <div class="day">10 марта</div>
     117                    <div class="sum">1025 ₽</div>
     118                </li>
     119                <li class="item">
     120                    <div class="day">24 марта</div>
     121                    <div class="sum">1025 ₽</div>
     122                </li>
     123                <li class="item">
     124                    <div class="day">7 апреля</div>
     125                    <div class="sum">1025 ₽</div>
     126                </li>
     127            </ul>
     128        </div>
    98129    </div>
    99     <p class="desc">Разбить на части <b>без переплат</b></p>
    100     <div class="graph">
    101         <ul class="items">
    102             <li class="item">
    103                 <div class="day">Сегодня</div>
    104                 <div class="sum">1025 ₽</div>
    105             </li>
    106             <li class="item">
    107                 <div class="day">10 марта</div>
    108                 <div class="sum">1025 ₽</div>
    109             </li>
    110             <li class="item">
    111                 <div class="day">24 марта</div>
    112                 <div class="sum">1025 ₽</div>
    113             </li>
    114             <li class="item">
    115                 <div class="day">7 апреля</div>
    116                 <div class="sum">1025 ₽</div>
    117             </li>
    118         </ul>
    119     </div>
    120 </div>
     130</body>
     131</html>
  • best2pay-payment-method-visamastercard/trunk/readme.txt

    r2841580 r2841590  
    55Requires at least: 4.7
    66Requires PHP: 7.4
    7 Stable tag: 1.2.5
     7Stable tag: 1.2.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.