Changeset 1761657
- Timestamp:
- 11/09/2017 09:34:43 AM (8 years ago)
- Location:
- quick-call-button
- Files:
-
- 4 added
- 6 edited
-
assets/screenshot-1.png (modified) (previous)
-
trunk/assets/css/quick-call-button.css (modified) (1 diff)
-
trunk/assets/js/drag-quick-call-button.js (modified) (1 diff)
-
trunk/languages (added)
-
trunk/languages/lv-web-vi.mo (added)
-
trunk/languages/lv-web-vi.po (added)
-
trunk/languages/lv-web.pot (added)
-
trunk/quick-call-button.php (modified) (11 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/screenshot-1.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
quick-call-button/trunk/assets/css/quick-call-button.css
r1745564 r1761657 1 @media screen and (max-width:680px){.call-now-button{display:flex!important;background:transparent}.call-now-button .call-text{display:none}}.quick-call-button{display:none}.call-now-button{display:none;z-index:9999;clear:both;margin:0 auto;position:fixed; height:50px;padding:8px 5px;border-radius:50px}.call-now-button div{display:flex}.call-now-button div p{color:#fff;display:table;padding:10px;border-radius:21px;height:34px;line-height:14px;font-size:14px;margin:0 5px 050px;text-transform:uppercase;font-weight:normal;text-align:center;box-sizing:content-box;text-decoration:none!important;box-sizing:border-box}.quick-alo-ph-circle{width:130px;height:130px;top:-40px;left:-40px;position:absolute;background-color:transparent;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:2px solid rgba(30,30,30,.4);opacity:1;-webkit-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-moz-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-ms-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-o-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-webkit-transition:all .5s;-moz-transition:all .5s;-o-transition:all .5s;transition:all .5s;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}.quick-alo-ph-circle-fill{width:80px;height:80px;top:-15px;left:-15px;position:absolute;background-color:#000;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:2px solid transparent;opacity:1;-webkit-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-moz-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-ms-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-o-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-webkit-transition:all .5s;-moz-transition:all .5s;-o-transition:all .5s;transition:all .5s;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}.quick-alo-ph-img-circle{width:50px;height:50px;top:0;left:0;position:absolute;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:2px solid transparent;opacity:1;background:url(../../images/quick-call-button.png) no-repeat center center;-webkit-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-moz-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-ms-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-o-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}@-moz-keyframes quick-alo-circle-anim{0%{-moz-transform:rotate(0) scale(.5) skew(1deg);opacity:.1;-moz-opacity:.1;-webkit-opacity:.1;-o-opacity:.1}30%{-moz-transform:rotate(0) scale(.7) skew(1deg);opacity:.5;-moz-opacity:.5;-webkit-opacity:.5;-o-opacity:.5}100%{-moz-transform:rotate(0) scale(1) skew(1deg);opacity:.6;-moz-opacity:.6;-webkit-opacity:.6;-o-opacity:.1}}@-webkit-keyframes quick-alo-circle-anim{0%{-webkit-transform:rotate(0) scale(.5) skew(1deg);-webkit-opacity:.1}30%{-webkit-transform:rotate(0) scale(.7) skew(1deg);-webkit-opacity:.5}100%{-webkit-transform:rotate(0) scale(1) skew(1deg);-webkit-opacity:.1}}@-o-keyframes quick-alo-circle-anim{0%{-o-transform:rotate(0) kscale(.5) skew(1deg);-o-opacity:.1}30%{-o-transform:rotate(0) scale(.7) skew(1deg);-o-opacity:.5}100%{-o-transform:rotate(0) scale(1) skew(1deg);-o-opacity:.1}}@-moz-keyframes quick-alo-circle-fill-anim{0%{-moz-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{-moz-transform:rotate(0) -moz-scale(1) skew(1deg);opacity:.2}100%{-moz-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-webkit-keyframes quick-alo-circle-fill-anim{0%{-webkit-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{-webkit-transform:rotate(0) scale(1) skew(1deg);opacity:.2}100%{-webkit-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-o-keyframes quick-alo-circle-fill-anim{0%{-o-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{-o-transform:rotate(0) scale(1) skew(1deg);opacity:.2}100%{-o-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-moz-keyframes quick-alo-circle-img-anim{10%{transform:rotate(0) scale(1) skew(1deg)}10%{-moz-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-moz-transform:rotate(25deg) scale(1) skew(1deg)}30%{-moz-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-moz-transform:rotate(25deg) scale(1) skew(1deg)}50%{-moz-transform:rotate(0) scale(1) skew(1deg)}100%{-moz-transform:rotate(0) scale(1) skew(1deg)}}@-webkit-keyframes quick-alo-circle-img-anim{0%{-webkit-transform:rotate(0) scale(1) skew(1deg)}10%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}30%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}50%{-webkit-transform:rotate(0) scale(1) skew(1deg)}100%{-webkit-transform:rotate(0) scale(1) skew(1deg)}}@-o-keyframes quick-alo-circle-img-anim{0%{-o-transform:rotate(0) scale(1) skew(1deg)}10%{-o-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-o-transform:rotate(25deg) scale(1) skew(1deg)}30%{-o-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-o-transform:rotate(25deg) scale(1) skew(1deg)}50%{-o-transform:rotate(0) scale(1) skew(1deg)}100%{-o-transform:rotate(0) scale(1) skew(1deg)}}1 @media screen and (max-width:680px){.call-now-button{display:flex!important;background:transparent}.call-now-button .call-text{display:none}}.quick-call-button{display:none}.call-now-button{display:none;z-index:9999;clear:both;margin:0 auto;position:fixed;border-radius:50px}.call-now-button div{display:flex}.call-now-button div p{color:#fff;display:table;padding:10px;border-radius:21px;height:34px;line-height:14px;font-size:14px;margin:8px 5px 8px 50px;text-transform:uppercase;font-weight:normal;text-align:center;box-sizing:content-box;text-decoration:none!important;box-sizing:border-box}.quick-alo-ph-circle{width:130px;height:130px;top:-40px;left:-40px;position:absolute;background-color:transparent;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:2px solid rgba(30,30,30,.4);opacity:1;-webkit-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-moz-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-ms-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-o-animation:quick-alo-circle-anim 1.2s infinite ease-in-out;animation:quick-alo-circle-anim 1.2s infinite ease-in-out;-webkit-transition:all .5s;-moz-transition:all .5s;-o-transition:all .5s;transition:all .5s;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}.quick-alo-ph-circle-fill{width:80px;height:80px;top:-15px;left:-15px;position:absolute;background-color:#000;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:2px solid transparent;opacity:1;-webkit-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-moz-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-ms-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-o-animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;animation:quick-alo-circle-fill-anim 2.3s infinite ease-in-out;-webkit-transition:all .5s;-moz-transition:all .5s;-o-transition:all .5s;transition:all .5s;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}.quick-alo-ph-img-circle{width:50px;height:50px;top:0;left:0;position:absolute;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:2px solid transparent;opacity:1;background:url(../../images/quick-call-button.png) no-repeat center center;-webkit-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-moz-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-ms-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-o-animation:quick-alo-circle-img-anim 1s infinite ease-in-out;animation:quick-alo-circle-img-anim 1s infinite ease-in-out;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}@-moz-keyframes quick-alo-circle-anim{0%{-moz-transform:rotate(0) scale(.5) skew(1deg);opacity:.1;-moz-opacity:.1;-webkit-opacity:.1;-o-opacity:.1}30%{-moz-transform:rotate(0) scale(.7) skew(1deg);opacity:.5;-moz-opacity:.5;-webkit-opacity:.5;-o-opacity:.5}100%{-moz-transform:rotate(0) scale(1) skew(1deg);opacity:.6;-moz-opacity:.6;-webkit-opacity:.6;-o-opacity:.1}}@-webkit-keyframes quick-alo-circle-anim{0%{-webkit-transform:rotate(0) scale(.5) skew(1deg);-webkit-opacity:.1}30%{-webkit-transform:rotate(0) scale(.7) skew(1deg);-webkit-opacity:.5}100%{-webkit-transform:rotate(0) scale(1) skew(1deg);-webkit-opacity:.1}}@-o-keyframes quick-alo-circle-anim{0%{-o-transform:rotate(0) kscale(.5) skew(1deg);-o-opacity:.1}30%{-o-transform:rotate(0) scale(.7) skew(1deg);-o-opacity:.5}100%{-o-transform:rotate(0) scale(1) skew(1deg);-o-opacity:.1}}@-moz-keyframes quick-alo-circle-fill-anim{0%{-moz-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{-moz-transform:rotate(0) -moz-scale(1) skew(1deg);opacity:.2}100%{-moz-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-webkit-keyframes quick-alo-circle-fill-anim{0%{-webkit-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{-webkit-transform:rotate(0) scale(1) skew(1deg);opacity:.2}100%{-webkit-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-o-keyframes quick-alo-circle-fill-anim{0%{-o-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{-o-transform:rotate(0) scale(1) skew(1deg);opacity:.2}100%{-o-transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-moz-keyframes quick-alo-circle-img-anim{10%{transform:rotate(0) scale(1) skew(1deg)}10%{-moz-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-moz-transform:rotate(25deg) scale(1) skew(1deg)}30%{-moz-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-moz-transform:rotate(25deg) scale(1) skew(1deg)}50%{-moz-transform:rotate(0) scale(1) skew(1deg)}100%{-moz-transform:rotate(0) scale(1) skew(1deg)}}@-webkit-keyframes quick-alo-circle-img-anim{0%{-webkit-transform:rotate(0) scale(1) skew(1deg)}10%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}30%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}50%{-webkit-transform:rotate(0) scale(1) skew(1deg)}100%{-webkit-transform:rotate(0) scale(1) skew(1deg)}}@-o-keyframes quick-alo-circle-img-anim{0%{-o-transform:rotate(0) scale(1) skew(1deg)}10%{-o-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-o-transform:rotate(25deg) scale(1) skew(1deg)}30%{-o-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-o-transform:rotate(25deg) scale(1) skew(1deg)}50%{-o-transform:rotate(0) scale(1) skew(1deg)}100%{-o-transform:rotate(0) scale(1) skew(1deg)}} -
quick-call-button/trunk/assets/js/drag-quick-call-button.js
r1745564 r1761657 1 jQuery(document).ready(function($){var dragging=false;var iX,iY;$(".call-now-button").mousedown(function(e){dragging=true;iX=e.clientX-this.offsetLeft;iY=e.clientY-this.offsetTop;this.setCapture&&this.setCapture();return false});document.onmousemove=function(e){if(dragging){var e=e||window.event;var oX=e.clientX-iX;var oY=e.clientY-iY;$(".call-now-button").css({"left":oX+"px","top":oY+"px"});return false}};$(document).mouseup(function(e){dragging=false;$(".call-now-button")[0].releaseCapture();e.cancelBubble=true})})1 var _0x8077=["\x63\x6C\x69\x65\x6E\x74\x58","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x63\x6C\x69\x65\x6E\x74\x59","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x65\x74\x43\x61\x70\x74\x75\x72\x65","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x2E\x63\x61\x6C\x6C\x2D\x6E\x6F\x77\x2D\x62\x75\x74\x74\x6F\x6E","\x6F\x6E\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x65\x76\x65\x6E\x74","\x70\x78","\x63\x73\x73","\x63\x61\x6E\x63\x65\x6C\x42\x75\x62\x62\x6C\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x72\x65\x61\x64\x79"];jQuery(document)[_0x8077[13]](function(_0x3d17x1){var _0x3d17x2=false;var _0x3d17x3,_0x3d17x4;_0x3d17x1(_0x8077[6])[_0x8077[5]](function(_0x3d17x5){_0x3d17x2= true;_0x3d17x3= _0x3d17x5[_0x8077[0]]- this[_0x8077[1]];_0x3d17x4= _0x3d17x5[_0x8077[2]]- this[_0x8077[3]];this[_0x8077[4]]&& this[_0x8077[4]]();return false});document[_0x8077[7]]= function(_0x3d17x5){if(_0x3d17x2){var _0x3d17x5=_0x3d17x5|| window[_0x8077[8]];var _0x3d17x6=_0x3d17x5[_0x8077[0]]- _0x3d17x3;var _0x3d17x7=_0x3d17x5[_0x8077[2]]- _0x3d17x4;_0x3d17x1(_0x8077[6])[_0x8077[10]]({"\x6C\x65\x66\x74":_0x3d17x6+ _0x8077[9],"\x74\x6F\x70":_0x3d17x7+ _0x8077[9]});return false}};_0x3d17x1(document)[_0x8077[12]](function(_0x3d17x5){_0x3d17x2= false;_0x3d17x5[_0x8077[11]]= true})}) -
quick-call-button/trunk/quick-call-button.php
r1745564 r1761657 7 7 Author URI: https://longvietweb.com/ 8 8 Author: LongViet 9 Version: 1.0. 19 Version: 1.0.2 10 10 License: GPL2 11 11 Text Domain: lv-web 12 12 */ 13 13 14 define('LV_QUICK_CALL_BUTTON_VERSION', '1.0. 1');14 define('LV_QUICK_CALL_BUTTON_VERSION', '1.0.2'); 15 15 define('LV_QUICK_CALL_BUTTON_DIR', plugin_dir_path(__FILE__)); 16 16 define('LV_QUICK_CALL_BUTTON_URI', plugins_url('/', __FILE__)); … … 18 18 class LV_Quick_Call_Button 19 19 { 20 public function load_plugin_textdomain() { 21 22 load_plugin_textdomain( 23 'lv-web', 24 false, 25 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' 26 ); 27 28 } 20 29 public $menu_id; 21 30 … … 27 36 public function __construct() { 28 37 38 // localization 29 39 load_plugin_textdomain( 'lv-web' ); 40 41 // admin 30 42 add_action( 'admin_menu', array( $this, 'lv_add_admin_menu' )); 31 43 add_action( 'admin_enqueue_scripts', array( $this, 'lv_admin_scripts' )); 44 45 // create needed initialization 32 46 add_action('admin_init', array( $this, 'lv_register_options_settings') ); 47 48 // create custom footer 33 49 add_action('wp_footer', array( $this, 'lv_add_buttons'), 10); 50 51 // grab the options, use for entire object 34 52 $this->lv_options = $this->lv_options(); 35 53 } … … 52 70 53 71 if (get_current_screen()->base == 'settings_page_lv_quick_call_button') { 54 wp_register_script( 'lv_js', plugins_url('assets/js/quick-call-button-admin.js', __FILE__), array('jquery'), '1.0. 1', true );72 wp_register_script( 'lv_js', plugins_url('assets/js/quick-call-button-admin.js', __FILE__), array('jquery'), '1.0.2', true ); 55 73 wp_enqueue_script( 'lv_js' ); 56 74 … … 98 116 <th><?php _e('Display On Screen','lv-web') ?></th> 99 117 <td> 100 <input name="lv_options[screen_size]" placeholder="860" value='<?php echo $this->lv_options['screen_size']; ?>' /> 118 <label><span class="dashicons dashicons-smartphone"></span><span class="dashicons dashicons-minus"></span><span class="dashicons dashicons-tablet"></span><span class="dashicons dashicons-minus"></span><span class="dashicons dashicons-laptop"></span><span class="dashicons dashicons-minus"></span><span class="dashicons dashicons-desktop"></span> <span class="dashicons dashicons-arrow-down-alt"></span></label><br /> 119 <input name="lv_options[screen_size]" placeholder="860" value='<?php echo $this->lv_options['screen_size']; ?>' /><label>px</label> 101 120 </td> 102 121 </tr> … … 108 127 <th><?php _e('Top','lv-web') ?></th> 109 128 <td> 110 <input name="lv_options[move_top]" placeholder="50" value='<?php echo $this->lv_options['move_top']; ?>' /> 129 <input name="lv_options[move_top]" placeholder="50" value='<?php echo $this->lv_options['move_top']; ?>' /><label>%</label> 111 130 </td> 112 131 </tr> … … 114 133 <th><?php _e('Left','lv-web') ?></th> 115 134 <td> 116 <input name="lv_options[move_left]" placeholder="3" value='<?php echo $this->lv_options['move_left']; ?>' /> 135 <input name="lv_options[move_left]" placeholder="3" value='<?php echo $this->lv_options['move_left']; ?>' /><label>%</label> 117 136 </td> 118 137 </tr> 119 138 </table> 120 139 121 <p><?php _e('Adding a phone number and textfor a quick call button will appear on your website.','lv-web') ?></p>140 <p><?php _e('Adding a phone number for a quick call button will appear on your website.','lv-web') ?></p> 122 141 <table border=0 cellpadding=2 cellspacing="2"> 123 142 <tr> … … 127 146 </td> 128 147 </tr> 148 </table> 149 150 <p><?php _e('Adding a text for a quick call button will appear on your website.','lv-web') ?></p> 151 <table border=0 cellpadding=2 cellspacing="2"> 129 152 <tr> 130 153 <th><?php _e('Text','lv-web') ?></th> 131 154 <td> 132 <input type="text" id="quick-call-button-text" name="lv_options[call_text]" value="<?php echo $this->lv_options['call_text'] ?>" placeholder="Call Now" /><br /> 155 <input type="checkbox" id="quick-call-button-text-1" name="lv_options[call_text_tablet]" value="680" <?php checked('680', $this->lv_options['call_text_tablet']) ?>" /> 156 <label for="quick-call-button-text-1"><span class="dashicons dashicons-tablet"></span><?php _e(' Disabled Text On Tablet','lv-web') ?></label><br /> 157 <input type="checkbox" id="quick-call-button-text-2" name="lv_options[call_text_desktop]" value="1024" <?php checked('1024', $this->lv_options['call_text_desktop']) ?>" /> 158 <label for="quick-call-button-text-2"><span class="dashicons dashicons-laptop"></span><?php _e(' Disabled Text On Desktop','lv-web') ?></label><br /> 159 <input type="text" id="quick-call-button-text" name="lv_options[call_text]" value="<?php echo $this->lv_options['call_text'] ?>" placeholder="Call Now" /><br /> 133 160 <input type="text" class="colourme" name="lv_options[call_text_color]" value="<?php echo $this->lv_options['call_text_color']; ?>"> 134 161 </td> … … 169 196 170 197 // adding the enque here will setup the style. 171 wp_register_style( 'lv_css', plugins_url(' ./assets/css/quick-call-button.css', __FILE__) , false, '1.0.1' );198 wp_register_style( 'lv_css', plugins_url('/assets/css/quick-call-button.css', __FILE__) , false, '1.0.2' ); 172 199 wp_enqueue_style( 'lv_css'); 173 wp_register_script( 'lv_js', plugins_url(' ./assets/js/drag-quick-call-button.js', __FILE__), array('jquery'), '1.0.1', true );200 wp_register_script( 'lv_js', plugins_url('/assets/js/drag-quick-call-button.js', __FILE__), array('jquery'), '1.0.2', true ); 174 201 wp_enqueue_script( 'lv_js' ); 175 202 // code button … … 194 221 .call-now-button { display: flex !important; background: {$this->lv_options['bg_color']}; } 195 222 .quick-call-button { display: block !important; } 223 } 224 @media screen and (min-width: {$this->lv_options['call_text_desktop']}px) { 225 .call-now-button .call-text { display: none !important; } 226 } 227 @media screen and (min-width: {$this->lv_options['call_text_tablet']}px) { 228 .call-now-button .call-text { display: none !important; } 196 229 } 197 230 .call-now-button { top: {$this->lv_options['move_top']}%; } … … 222 255 'move_top' => '50', 223 256 'bg_color' => '#1a1919', 257 'call_text_tablet' => '', 258 'call_text_desktop' => '', 224 259 'call_text' => __('Call Now','lv-web'), 225 260 'call_color' => '#0c3', -
quick-call-button/trunk/readme.txt
r1759824 r1761657 16 16 Quick Call Button is a powerful development tool that gives you all the options from button placement to custom colors from the administration page. 17 17 18 **Features**19 20 Customize display on-screen varies from cell phone to desktop.21 Customize the location of the quick call button anywhere you want.22 Customize the background color bar.23 Customize button background color.24 Customize your phone number.25 26 18 [Live Demo](http://longvietweb.com/plugins/quick-call-button) 27 19 [Plugin Homepage](http://longvietweb.com/plugins/quick-call-button) … … 40 32 == Changelog == 41 33 34 = 1.0.2 = 35 * November 9, 2017 36 * Added options to enable and disable text on tablet and desktop. 37 * More detailed instructions for the quick launch button option. 38 * More languages ready to translate. 39 42 40 = 1.0.1 = 43 * October 8, 201744 * Start creating a quick call button plugins41 * October 8, 2017 42 * Start creating a quick call button plugins 45 43 46 44 == Upgrade Notice == 47 45 46 = 1.0.2 = 47 48 48 = 1.0.1 =
Note: See TracChangeset
for help on using the changeset viewer.