Plugin Directory

Changeset 3445644


Ignore:
Timestamp:
01/23/2026 02:47:21 PM (2 months ago)
Author:
wpoperations
Message:

Minor design improvements

Location:
salert
Files:
40 added
6 edited

Legend:

Unmodified
Added
Removed
  • salert/trunk/assets/backend/css/salert-admin.css

    r2253036 r3445644  
    646646    border-radius: 50%;
    647647}
     648
     649
     650.sale_alert_wrapper .close-btn {
     651  position: absolute;
     652  top: -14px;
     653  right: -4px;
     654  width: 28px;
     655  height: 28px;
     656  padding: 0;
     657  border-radius: 50%;
     658  background: #0c0e1f;
     659  border: none;
     660  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     661  color: #94a3b8;
     662  cursor: pointer;
     663  display: flex;
     664  align-items: center;
     665  justify-content: center;
     666  transition: all 0.2s ease;
     667  opacity: 0;
     668  transform: scale(0);
     669}
     670
     671.sale_alert_wrapper .popup_box:hover .close-btn {
     672  background: #f8fafc;
     673  color: #64748b;
     674  opacity: 1;
     675  transform: scale(1);
     676}
     677
     678.sale_alert_wrapper .close-btn svg {
     679  width: 14px;
     680  height: 14px;
     681}
  • salert/trunk/assets/frontend/css/style.css

    r2227817 r3445644  
    33 * included in this file.
    44 */
    5  
     5 .sale_alert_wrapper{
     6    font-family: 'Inter', system-ui, -apple-system, sans-serif;
     7 }
    68#salertWrapper .popup_template {
    79    background-color: #e0e0e0;
    810    bottom: 20px;
    911    border-radius: 0;
    10     overflow: hidden;
    1112}
    1213
     
    4647    padding-right: 50px !important;
    4748    width: 100%;
    48     float: left;
     49    display: flex;
     50    align-items: center;
     51    justify-content: space-between;
     52    gap: 20px;
    4953}
    5054
     
    5256    margin: 0;
    5357    width: 75px;
    54     max-height: 65px;
     58    height: 75px;
    5559    overflow: hidden;
    56     float: left;
     60   
    5761}
    5862
    59 #salertWrapper .imageOnRight figure{
    60     float: right;
     63#salertWrapper .imageOnRight {
     64    flex-direction: row-reverse;
    6165}
    6266
     
    7478#salertWrapper .salert-content-wrap{
    7579    width: calc(100% - 85px);   
    76     float: right;
     80   
    7781    font-size: 14px;
    7882    color: #1e1e1e;
     
    8084
    8185#salertWrapper .imageOnRight .salert-content-wrap{
    82     float: left;
     86   
    8387}
    8488
     
    106110
    107111/* Close Button */
    108 .popup_template .popup-item .btn-close{
    109     cursor: pointer;
    110     position: absolute;
    111     top: 10px;
    112     right: 15px;
    113     color: #000;
    114     font-size: 22px;
    115     height: 15px;
    116     width: 15px;
    117     text-align: center;
    118     line-height: 12px;
    119     z-index: 999999;
     112.sale_alert_wrapper .close-btn {
     113  position: absolute;
     114  top: -14px;
     115  right: -4px;
     116  width: 28px;
     117  height: 28px;
     118  padding: 0;
     119  border-radius: 50%;
     120  background: #0c0e1f;
     121  border: none;
     122  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     123  color: #94a3b8;
     124  cursor: pointer;
     125  display: flex;
     126  align-items: center;
     127  justify-content: center;
     128  transition: all 0.2s ease;
     129  opacity: 0;
     130  transform: scale(0);
    120131}
    121 .popup_template .popup-item .close img{
    122     max-width: 100%;
     132
     133.sale_alert_wrapper .popup_box:hover .close-btn {
     134  background: #f8fafc;
     135  color: #64748b;
     136  opacity: 1;
     137  transform: scale(1);
     138}
     139
     140.sale_alert_wrapper .close-btn svg {
     141  width: 14px;
     142  height: 14px;
    123143}
    124144
  • salert/trunk/inc/display.php

    r2329694 r3445644  
    5959    <?php
    6060    if($salert_settings['close-btn']==1){
    61         echo '<span class="btn-close"><img src="'.SALERT_DIR.'/assets/close-icon.png" alt="close"/></span>';
     61        echo '<span class="close btn-close"><button class="close-btn active"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></span>';
    6262    }
    6363    if($product_url!=''){?>
  • salert/trunk/inc/settings.php

    r2918167 r3445644  
    450450                    * =========================*/
    451451                    ?>
    452                     <div class="salert-backend-preview">
     452                    <div class="salert-backend-preview sale_alert_wrapper">
    453453                        <img src="<?php echo plugin_dir_url( __FILE__ ).'images/desktop.png';?>" style="width: 100%">
    454454                        <div class="popup_position bottomRight" >
    455455                            <div class="popup_template clearfix animated border radius" id="popup_template">
    456456                               <div class="popup-item clearfix">
    457                                     <span class="close"><img src="<?php echo SALERT_DIR;?>/assets/close-icon.png" alt="close"/></span>
     457                                    <span class="close btn-close"><button class="close-btn active"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button></span>
    458458                                    <img class="pimg" src="<?php echo plugin_dir_url( __FILE__ ).'images/100.png';?>">
    459459                                    <p>
  • salert/trunk/readme.txt

    r3309408 r3445644  
    3939
    4040== Changelog ==
     41
     42= 1.3.0 =
     43- Minor design improvements
    4144
    4245= 1.2.9 =
  • salert/trunk/salert.php

    r3309408 r3445644  
    55  Plugin URI:  https://wpoperation.com/plugins/salert/
    66  Description: The plugin will generate fake sales notifications, which will help to boost your sales.Also works without WooCommerce Plugin.
    7   Version:     1.2.9
    8   Tested up to: 6.8.1
     7  Version:     1.3.0
     8  Tested up to: 6.9
    99  Author:      WPoperation
    1010  Author URI:  https://wpoperation.com/
     
    2222defined('SALERT_PATH') or define('SALERT_PATH',plugin_dir_path(__FILE__));
    2323defined('SALERT_DIR') or define('SALERT_DIR',plugin_dir_url(__FILE__));
    24 defined('SALERT_VERSION') or define('SALERT_VERSION','1.2.9');
     24defined('SALERT_VERSION') or define('SALERT_VERSION','1.3.0');
    2525/*
    2626**Require File Directories
     
    9191            $salert_settings = get_option('salert_save_settings');
    9292            ?>
    93             <div id="salertWrapper">
     93            <div id="salertWrapper" class="sale_alert_wrapper">
    9494                <div class="popup_position <?php echo $salert_settings['popup-position'];?>">
    9595                    <div class="popup_box">
Note: See TracChangeset for help on using the changeset viewer.