Plugin Directory

Changeset 3183978


Ignore:
Timestamp:
11/07/2024 04:37:58 PM (17 months ago)
Author:
jnser
Message:

Adds icon on button

Location:
stan-checkout/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stan-checkout/trunk/README.txt

    r3113843 r3183978  
    44Requires at least: 5.0.0
    55Tested up to: 6.5.2
    6 Stable tag: 1.3.5
     6Stable tag: 1.3.6
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • stan-checkout/trunk/includes/classes/class-wc-stan-checkout-button.php

    r3084387 r3183978  
    142142            <div id="stan-checkout">
    143143                <button type="button" class="<?php print esc_html( $btn_class ) ?>" <?php print esc_html( $product_attr ) ?> >
     144                <svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
     145                <path d="M47.8676 24.6602H40.7086C40.3179 24.6602 40.0002 24.2878 40.0002 23.8301C40.0002 23.3723 40.3179 22.9999 40.7086 22.9999H47.8676C48.2583 22.9999 48.576 23.3723 48.576 23.8301C48.576 24.2878 48.2583 24.6602 47.8676 24.6602Z" fill="#FFF" stroke="white"/>
     146                <path d="M39.4263 14.9592C39.1814 14.9592 38.9425 14.8098 38.813 14.5441C38.6167 14.148 38.7341 13.6405 39.0721 13.4104L45.2717 9.21705C45.6097 8.98699 46.0429 9.12455 46.2392 9.52064C46.4356 9.91673 46.3182 10.4243 45.9801 10.6544L39.7805 14.8477C39.6692 14.9236 39.5477 14.9592 39.4263 14.9592Z" fill="#FFF" stroke="white"/>
     147                <path d="M19.289 9.92521C19.0441 9.92521 18.8053 9.77578 18.6758 9.51014L15.0952 2.2453C14.8989 1.84921 15.0163 1.34165 15.3543 1.11158C15.6923 0.881517 16.1255 1.01908 16.3218 1.41517L19.9003 8.68001C20.0966 9.0761 19.9792 9.58367 19.6412 9.81373C19.5299 9.88963 19.4085 9.92521 19.287 9.92521H19.289Z" fill="#FFF" stroke="white"/>
     148                <path d="M11.9082 14.8537C11.7887 14.8537 11.6653 14.8181 11.554 14.7422L5.3543 10.5489C5.01628 10.3188 4.89889 9.81126 5.09522 9.41517C5.29155 9.01908 5.7247 8.88152 6.06272 9.11158L12.2624 13.3049C12.6004 13.535 12.7178 14.0426 12.5214 14.4387C12.3899 14.7043 12.151 14.8537 11.9082 14.8537Z" fill="#FFF" stroke="white"/>
     149                <path d="M8.86746 23.6603H1.70842C1.31778 23.6603 1 23.2879 1 22.8301C1 22.3724 1.31778 22 1.70842 22H8.86746C9.25811 22 9.57588 22.3724 9.57588 22.8301C9.57588 23.2879 9.25811 23.6603 8.86746 23.6603Z" fill="#FFF" stroke="white"/>
     150                <path d="M44.9082 37.8537C44.7887 37.8537 44.6653 37.8181 44.554 37.7422L38.3543 33.5489C38.0163 33.3188 37.8989 32.8113 38.0952 32.4152C38.2916 32.0191 38.7247 31.8815 39.0627 32.1116L45.2624 36.3049C45.6004 36.535 45.7178 37.0426 45.5214 37.4387C45.3899 37.7043 45.151 37.8537 44.9082 37.8537Z" fill="#FFF" stroke="white"/>
     151                <path d="M20.8923 47.3317C20.8073 47.3317 20.7223 47.3151 20.6393 47.2772C20.3357 47.142 20.1495 46.7815 20.1879 46.4044L21.8436 30.065L12.9884 31.1892C12.7131 31.2248 12.4439 31.0659 12.3023 30.7884C12.1606 30.5085 12.1707 30.1575 12.3306 29.8895L28.2902 3.02644C28.4764 2.71336 28.8185 2.59003 29.1221 2.72522C29.4257 2.86041 29.6119 3.21856 29.5755 3.59567L27.9724 19.9374L36.8317 18.8108C37.1069 18.7752 37.3761 18.9341 37.5178 19.214C37.6595 19.4939 37.6474 19.8449 37.4895 20.1129L21.4752 46.976C21.3396 47.2037 21.121 47.3317 20.8943 47.3317H20.8923ZM22.6532 28.2956C22.8415 28.2956 23.0236 28.3834 23.1572 28.5423C23.309 28.7226 23.3819 28.974 23.3576 29.2254L21.9307 43.3139L35.4351 20.6608L27.2458 21.702C27.0312 21.7305 26.8187 21.6404 26.6669 21.4625C26.5151 21.2846 26.4402 21.0332 26.4645 20.7818L27.849 6.67902L14.385 29.3416L22.5783 28.3004C22.6047 28.298 22.6289 28.2956 22.6553 28.2956H22.6532Z" fill="#FFF" stroke="white"/>
     152                </svg>
     153
    144154                    <span class="stan-checkout--button-text">
    145155                        <?php print esc_html( $text ); ?>
  • stan-checkout/trunk/public/css/wc-stan-checkout-public.css

    r3100659 r3183978  
    1818    padding: 10px 15px;
    1919    cursor: pointer;
     20}
     21
     22#stan-checkout svg {
     23    width: 30px;
     24    margin-right: 8px;
    2025}
    2126
  • stan-checkout/trunk/wc-stan-checkout.php

    r3113843 r3183978  
    1919 * Plugin URI:        https://compte.stan-app.fr
    2020 * Description:       Vous perdez des utilisateurs lorsque vous demandez de s'inscrire, remplir les formulaires est la première raison qui mène les utilisateurs à quitter un site. Avec Stan Checkout vos utilisateurs s'inscrivent sans formulaire, sans contrainte.
    21  * Version:           1.3.5
     21 * Version:           1.3.6
    2222 * Author:            Brightweb
    2323 * Author URI:        https://stan-business.fr
Note: See TracChangeset for help on using the changeset viewer.