Changeset 3445644
- Timestamp:
- 01/23/2026 02:47:21 PM (2 months ago)
- Location:
- salert
- Files:
-
- 40 added
- 6 edited
-
tags/1.3.0 (added)
-
tags/1.3.0/assets (added)
-
tags/1.3.0/assets/backend (added)
-
tags/1.3.0/assets/backend/css (added)
-
tags/1.3.0/assets/backend/css/animate.css (added)
-
tags/1.3.0/assets/backend/css/images (added)
-
tags/1.3.0/assets/backend/css/images/placeholder.png (added)
-
tags/1.3.0/assets/backend/css/images/ui-icons_444444_256x240.png (added)
-
tags/1.3.0/assets/backend/css/images/ui-icons_555555_256x240.png (added)
-
tags/1.3.0/assets/backend/css/images/ui-icons_777620_256x240.png (added)
-
tags/1.3.0/assets/backend/css/images/ui-icons_777777_256x240.png (added)
-
tags/1.3.0/assets/backend/css/images/ui-icons_cc0000_256x240.png (added)
-
tags/1.3.0/assets/backend/css/images/ui-icons_ffffff_256x240.png (added)
-
tags/1.3.0/assets/backend/css/salert-admin.css (added)
-
tags/1.3.0/assets/backend/css/sweetalert2.min.css (added)
-
tags/1.3.0/assets/backend/js (added)
-
tags/1.3.0/assets/backend/js/core.js (added)
-
tags/1.3.0/assets/backend/js/custom.js (added)
-
tags/1.3.0/assets/backend/js/salert-admin.js (added)
-
tags/1.3.0/assets/backend/js/sweetalert2.min.js (added)
-
tags/1.3.0/assets/close-icon.png (added)
-
tags/1.3.0/assets/frontend (added)
-
tags/1.3.0/assets/frontend/css (added)
-
tags/1.3.0/assets/frontend/css/style.css (added)
-
tags/1.3.0/assets/frontend/js (added)
-
tags/1.3.0/assets/frontend/js/main.js (added)
-
tags/1.3.0/inc (added)
-
tags/1.3.0/inc/display.php (added)
-
tags/1.3.0/inc/dynamic-styles.php (added)
-
tags/1.3.0/inc/how-to-use.php (added)
-
tags/1.3.0/inc/images (added)
-
tags/1.3.0/inc/images/100.png (added)
-
tags/1.3.0/inc/images/alert-old.png (added)
-
tags/1.3.0/inc/images/alert.png (added)
-
tags/1.3.0/inc/images/desktop.png (added)
-
tags/1.3.0/inc/settings.php (added)
-
tags/1.3.0/languages (added)
-
tags/1.3.0/languages/salert.pot (added)
-
tags/1.3.0/readme.txt (added)
-
tags/1.3.0/salert.php (added)
-
trunk/assets/backend/css/salert-admin.css (modified) (1 diff)
-
trunk/assets/frontend/css/style.css (modified) (6 diffs)
-
trunk/inc/display.php (modified) (1 diff)
-
trunk/inc/settings.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/salert.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
salert/trunk/assets/backend/css/salert-admin.css
r2253036 r3445644 646 646 border-radius: 50%; 647 647 } 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 3 3 * included in this file. 4 4 */ 5 5 .sale_alert_wrapper{ 6 font-family: 'Inter', system-ui, -apple-system, sans-serif; 7 } 6 8 #salertWrapper .popup_template { 7 9 background-color: #e0e0e0; 8 10 bottom: 20px; 9 11 border-radius: 0; 10 overflow: hidden;11 12 } 12 13 … … 46 47 padding-right: 50px !important; 47 48 width: 100%; 48 float: left; 49 display: flex; 50 align-items: center; 51 justify-content: space-between; 52 gap: 20px; 49 53 } 50 54 … … 52 56 margin: 0; 53 57 width: 75px; 54 max-height: 65px;58 height: 75px; 55 59 overflow: hidden; 56 float: left;60 57 61 } 58 62 59 #salertWrapper .imageOnRight figure{60 fl oat: right;63 #salertWrapper .imageOnRight { 64 flex-direction: row-reverse; 61 65 } 62 66 … … 74 78 #salertWrapper .salert-content-wrap{ 75 79 width: calc(100% - 85px); 76 float: right;80 77 81 font-size: 14px; 78 82 color: #1e1e1e; … … 80 84 81 85 #salertWrapper .imageOnRight .salert-content-wrap{ 82 float: left;86 83 87 } 84 88 … … 106 110 107 111 /* 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); 120 131 } 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; 123 143 } 124 144 -
salert/trunk/inc/display.php
r2329694 r3445644 59 59 <?php 60 60 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>'; 62 62 } 63 63 if($product_url!=''){?> -
salert/trunk/inc/settings.php
r2918167 r3445644 450 450 * =========================*/ 451 451 ?> 452 <div class="salert-backend-preview ">452 <div class="salert-backend-preview sale_alert_wrapper"> 453 453 <img src="<?php echo plugin_dir_url( __FILE__ ).'images/desktop.png';?>" style="width: 100%"> 454 454 <div class="popup_position bottomRight" > 455 455 <div class="popup_template clearfix animated border radius" id="popup_template"> 456 456 <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> 458 458 <img class="pimg" src="<?php echo plugin_dir_url( __FILE__ ).'images/100.png';?>"> 459 459 <p> -
salert/trunk/readme.txt
r3309408 r3445644 39 39 40 40 == Changelog == 41 42 = 1.3.0 = 43 - Minor design improvements 41 44 42 45 = 1.2.9 = -
salert/trunk/salert.php
r3309408 r3445644 5 5 Plugin URI: https://wpoperation.com/plugins/salert/ 6 6 Description: The plugin will generate fake sales notifications, which will help to boost your sales.Also works without WooCommerce Plugin. 7 Version: 1. 2.98 Tested up to: 6. 8.17 Version: 1.3.0 8 Tested up to: 6.9 9 9 Author: WPoperation 10 10 Author URI: https://wpoperation.com/ … … 22 22 defined('SALERT_PATH') or define('SALERT_PATH',plugin_dir_path(__FILE__)); 23 23 defined('SALERT_DIR') or define('SALERT_DIR',plugin_dir_url(__FILE__)); 24 defined('SALERT_VERSION') or define('SALERT_VERSION','1. 2.9');24 defined('SALERT_VERSION') or define('SALERT_VERSION','1.3.0'); 25 25 /* 26 26 **Require File Directories … … 91 91 $salert_settings = get_option('salert_save_settings'); 92 92 ?> 93 <div id="salertWrapper" >93 <div id="salertWrapper" class="sale_alert_wrapper"> 94 94 <div class="popup_position <?php echo $salert_settings['popup-position'];?>"> 95 95 <div class="popup_box">
Note: See TracChangeset
for help on using the changeset viewer.