Popup Builder – Responsive WordPress Pop up - Version 2.6.6

Version Description

Current Version of Popup Builder is 2.6.6

Download this release

Release Info

Developer Sygnoos
Plugin Icon 128x128 Popup Builder – Responsive WordPress Pop up
Version 2.6.6
Comparing to
See all releases

Code changes from version 2.6.5 to 2.6.6

config.php CHANGED
@@ -24,7 +24,7 @@ if(!class_exists('SgPopupBuilderConfig')) {
24
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
25
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
26
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
27
- define('SG_POPUP_VERSION', 2.65);
28
  define('SG_POPUP_PRO_VERSION', 3.376);
29
  define('SG_POPUP_PRO_URL', 'https://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'https://popup-builder.com/extensions');
24
  define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
25
  define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
26
  define('SG_APP_POPUP_TABLE_LIMIT', 15);
27
+ define('SG_POPUP_VERSION', 2.66);
28
  define('SG_POPUP_PRO_VERSION', 3.376);
29
  define('SG_POPUP_PRO_URL', 'https://popup-builder.com/');
30
  define('SG_POPUP_EXTENSION_URL', 'https://popup-builder.com/extensions');
files/sg_functions.php CHANGED
@@ -389,42 +389,6 @@ class SGFunctions
389
  return $deleteStatus;
390
  }
391
 
392
- public static function discountDay11()
393
- {
394
- $reviewPanel = '';
395
- wp_register_style('sgpbDiscountDay11', SG_APP_POPUP_URL . '/style/discountDay11.css');
396
- wp_enqueue_style('sgpbDiscountDay11');
397
- wp_register_script('sgpbDiscountDays', SG_APP_POPUP_URL . '/javascript/sgpbDiscountDays.js', array(), SG_POPUP_VERSION);
398
- wp_enqueue_script('sgpbDiscountDays');
399
- $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
400
- $discountDay11 = get_option('discountDay11');
401
-
402
- $timeDate = new DateTime('now', new DateTimeZone('Asia/Yerevan'));
403
- $timeNow = strtotime($timeDate->format('Y-m-d H:i:s'));
404
- $startTime = '1510244520';
405
- $endData = '1510530900';
406
-
407
- if(!($timeNow > $startTime && $timeNow < $endData) || $discountDay11) {
408
- return $reviewPanel;
409
- }
410
-
411
- ob_start();
412
- ?>
413
- <div class="sg-info-panel-wrapper-day11">
414
- <div class="sg-info-panel-row-day11" onclick="window.open('https://popup-builder.com/')">
415
- </div>
416
- <div>
417
- <div class="sgpb-visit-web-site-day11" onclick="window.open('https://popup-builder.com/')"><span>Visit our website</span></div>
418
- <?php echo '<span class="sg-dont-show-again-day11" data-discount="discountDay11" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>'; ?>
419
- </div>
420
- </div>
421
- <?php
422
- $reviewPanel = ob_get_contents();
423
- ob_end_clean();
424
-
425
- return $reviewPanel;
426
- }
427
-
428
  public static function addReview()
429
  {
430
  $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
@@ -466,6 +430,9 @@ class SGFunctions
466
  <li>
467
  <a class="sg-info-links" target="_blank" href="https://sygnoos.ladesk.com/submit_ticket"><span class="dashicons dashicons-megaphone sg-info-text-white"></span></span> Submit Ticket</a>
468
  </li>
 
 
 
469
  <li>
470
  <a class="sg-info-links" target="_blank" href="https://wordpress.org/plugins/popup-builder/faq/"><span class="dashicons dashicons-editor-help sg-info-text-white"></span> FAQ</a>
471
  </li>
@@ -487,6 +454,76 @@ class SGFunctions
487
  return $reviewPanel;
488
  }
489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
490
  public static function noticeForShortcode() {
491
  $notice = '<span class="shortcode-use-info">NOTE: Shortcodes doesn\'t work inside the HTML Popup. Please use <a href="'.SG_APP_POPUP_ADMIN_URL.'admin.php?page=edit-popup&type=shortcode">Shortcode Popup</a> instead.</span>';
492
  return $notice;
@@ -917,4 +954,40 @@ class SGFunctions
917
  <option value="ZW">Zimbabwe</option>
918
  </select>';
919
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
920
  }
389
  return $deleteStatus;
390
  }
391
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  public static function addReview()
393
  {
394
  $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
430
  <li>
431
  <a class="sg-info-links" target="_blank" href="https://sygnoos.ladesk.com/submit_ticket"><span class="dashicons dashicons-megaphone sg-info-text-white"></span></span> Submit Ticket</a>
432
  </li>
433
+ <li>
434
+ <a class="sg-info-links" target="_blank" href="https://wordpress.org/support/plugin/popup-builder"><span class="dashicons dashicons-admin-plugins sg-info-text-white"></span></span> Support</a>
435
+ </li>
436
  <li>
437
  <a class="sg-info-links" target="_blank" href="https://wordpress.org/plugins/popup-builder/faq/"><span class="dashicons dashicons-editor-help sg-info-text-white"></span> FAQ</a>
438
  </li>
454
  return $reviewPanel;
455
  }
456
 
457
+ public static function blackFridayNotice()
458
+ {
459
+ $reviewPanel = '';
460
+ wp_register_style('blackFriday', SG_APP_POPUP_URL . '/style/blackFriday.css');
461
+ wp_enqueue_style('blackFriday');
462
+ wp_register_script('blackFriday', SG_APP_POPUP_URL . '/javascript/blackFriday.js', array(), SG_POPUP_VERSION);
463
+ wp_enqueue_script('blackFriday');
464
+ $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
465
+ $discountDay11 = get_option('blackfriday');
466
+
467
+ $timeDate = new DateTime('now', new DateTimeZone('Asia/Yerevan'));
468
+ $timeNow = strtotime($timeDate->format('Y-m-d H:i:s'));
469
+ $startTime = '1511308500';
470
+ $endData = '1511826900';
471
+
472
+ if(!($timeNow > $startTime && $timeNow < $endData) || $discountDay11) {
473
+ return $reviewPanel;
474
+ }
475
+ ob_start();
476
+ ?>
477
+ <div class="sg-info-panel-wrapper sg-info-panel-black-friday">
478
+ <div class="sg-info-panel-row">
479
+ <div class="sg-info-panel-col-3" style="margin-left: 0;">
480
+ <div class="sg-black-friday-day">
481
+ <div style="width: 100%;display: inline-block;">
482
+ <h1 style="font-size: 50px;color: #ffffff;font-weight: 200;margin: 0;text-align: center;">24.11</h1>
483
+ <h1 style="font-size: 60px;color: #ffffff;font-weight: bold;margin: 0;text-align: center;">BLACK</h1>
484
+ <h1 style="font-size: 60px;color: #ffffff;font-weight: bold;margin: 0;text-align: center;">FRIDAY</h1>
485
+ </div>
486
+ </div>
487
+ </div>
488
+ <div class="sg-info-panel-col-3 sg-info-text-center" style="margin-right: 2%;">
489
+ <div class="sg-discount-info-wrapper">
490
+ <h1 class="sg-discount-sale" style="color: red;font-size: 100px;font-weight: bold;margin: 0;">SALE</h1>
491
+ <h1 class="sg-discount-percent" style="color: red;font-size: 80px;font-weight: bold;margin: 0;">25 % OFF</h1>
492
+ </div>
493
+ </div>
494
+ <div class="sg-info-panel-col-3">
495
+ <div class="sg-black-friday-day">
496
+ <div style="width: 100%;display: inline-block;">
497
+ <h1 style="font-size: 50px;color: #ffffff;font-weight: 200;margin: 0;text-align: center;">27.11</h1>
498
+ <h1 style="font-size: 60px;color: #ffffff;font-weight: bold;margin: 0;text-align: center;font-family: 'good times';">CYBER</h1>
499
+ <h1 style="font-size: 60px;color: #ffffff;font-weight: bold;margin: 0;text-align: center;font-family: 'good times';">MONDAY</h1>
500
+ </div>
501
+ </div>
502
+ </div>
503
+ </div>
504
+ <div class="sg-info-panel-row">
505
+ <div style="width: 82%;display: inline-block;">
506
+ <div style="float: left;">
507
+ <h1 style="font-size: 25px;color: #ffffff;font-weight: lighter;text-align: center;margin: 0 0px 0 30px;">21-28, November, 2017</h1>
508
+ </div>
509
+ <div style="float: right;">
510
+ <h1 style="font-size: 25px;color: #ffffff;font-weight: lighter;text-align: center;margin: 0 0px 0 -55px;">
511
+ <a href="https://popup-builder.com" target="_blank">visit our website</a>
512
+ </h1>
513
+ </div>
514
+ </div>
515
+ </div>
516
+ <div>
517
+ <?php echo '<span class="sg-dont-show-agin sg-dont-show-again-day11" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>'; ?>
518
+ </div>
519
+ </div>
520
+ <?php
521
+ $reviewPanel = ob_get_contents();
522
+ ob_end_clean();
523
+
524
+ return $reviewPanel;
525
+ }
526
+
527
  public static function noticeForShortcode() {
528
  $notice = '<span class="shortcode-use-info">NOTE: Shortcodes doesn\'t work inside the HTML Popup. Please use <a href="'.SG_APP_POPUP_ADMIN_URL.'admin.php?page=edit-popup&type=shortcode">Shortcode Popup</a> instead.</span>';
529
  return $notice;
954
  <option value="ZW">Zimbabwe</option>
955
  </select>';
956
  }
957
+
958
+ public static function blackFriday()
959
+ {
960
+ $reviewPanel = '';
961
+ wp_register_style('blackFriday', SG_APP_POPUP_URL . '/style/blackFriday.css');
962
+ wp_enqueue_style('blackFriday');
963
+ wp_register_script('blackFriday', SG_APP_POPUP_URL . '/javascript/blackFriday.js', array(), SG_POPUP_VERSION);
964
+ wp_enqueue_script('blackFriday');
965
+ $ajaxNonce = wp_create_nonce("sgPopupBuilderReview");
966
+ $discountDay11 = get_option('discountDay11');
967
+
968
+ $timeDate = new DateTime('now', new DateTimeZone('Asia/Yerevan'));
969
+ $timeNow = strtotime($timeDate->format('Y m d H:i:s'));
970
+ $startTime = '1510244520';
971
+ $endData = '1511826900';
972
+
973
+ if(!($timeNow > $startTime && $timeNow < $endData) || $discountDay11) {
974
+ return $reviewPanel;
975
+ }
976
+
977
+ ob_start();
978
+ ?>
979
+ <div class="sg-info-panel-wrapper">
980
+ <div class="sg-info-panel-row" onclick="window.open('https://popup-builder.com/')">
981
+ </div>
982
+ <div>
983
+ <div class="sgpb-visit-web-site" onclick="window.open('https://popup-builder.com/')"><span>Visit our website</span></div>
984
+ <?php echo '<span class="sg-dont-show-agin" data-discount="discountDay11" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>'; ?>
985
+ </div>
986
+ </div>
987
+ <?php
988
+ $reviewPanel = ob_get_contents();
989
+ ob_end_clean();
990
+
991
+ return $reviewPanel;
992
+ }
993
  }
files/sg_popup_actions.php CHANGED
@@ -40,16 +40,16 @@ class sgPopupActions {
40
  }
41
  }
42
 
43
- public function discountDay11()
44
  {
45
- $messageContent = SGFunctions::discountDay11();
46
 
47
  echo $messageContent;
48
  }
49
 
50
  public function popupBuilderShowReviewNotice()
51
  {
52
- $this->discountDay11();
53
  $messageContent = '';
54
  $maxOpenPopupStatus = SGFunctions::shouldOpenForMaxOpenPopupMessage();
55
  $shouldOpenForDays = SGFunctions::shouldOpenReviewPopupForDays();
40
  }
41
  }
42
 
43
+ public function blackFriday()
44
  {
45
+ $messageContent = SGFunctions::blackFridayNotice();
46
 
47
  echo $messageContent;
48
  }
49
 
50
  public function popupBuilderShowReviewNotice()
51
  {
52
+ $this->blackFriday();
53
  $messageContent = '';
54
  $maxOpenPopupStatus = SGFunctions::shouldOpenForMaxOpenPopupMessage();
55
  $shouldOpenForDays = SGFunctions::shouldOpenReviewPopupForDays();
files/sg_popup_ajax.php CHANGED
@@ -26,16 +26,16 @@ function sgPopupDelete()
26
 
27
  add_action('wp_ajax_delete_popup', 'sgPopupDelete');
28
 
29
- function sgpbDiscountDays()
30
  {
31
- check_ajax_referer('sgPopupBuilderReview', 'nonce');
32
  $discountDay = sanitize_text_field($_POST['discountDay']);
33
 
34
- echo update_option($discountDay, 1);
35
  wp_die();
36
  }
37
 
38
- add_action('wp_ajax_discountDays', 'sgpbDiscountDays');
39
 
40
  function sgFrontend()
41
  {
26
 
27
  add_action('wp_ajax_delete_popup', 'sgPopupDelete');
28
 
29
+ function sgpbBlackFriday()
30
  {
31
+ //check_ajax_referer('sgPopupBuilderReview', 'nonce');
32
  $discountDay = sanitize_text_field($_POST['discountDay']);
33
 
34
+ echo update_option('blackfriday', 1);
35
  wp_die();
36
  }
37
 
38
+ add_action('wp_ajax_sgpbBlackFriday', 'sgpbBlackFriday');
39
 
40
  function sgFrontend()
41
  {
files/sg_popup_main.php CHANGED
@@ -5,7 +5,6 @@ $allData = SGPopup::findAll();
5
  if(!SG_SHOW_POPUP_REVIEW) {
6
  echo SGFunctions::addReview();
7
  }
8
-
9
  echo SGFunctions::showReviewPopup();
10
  $ajaxNonce = wp_create_nonce("sgPopupBuilderImportNonce");
11
  ?>
5
  if(!SG_SHOW_POPUP_REVIEW) {
6
  echo SGFunctions::addReview();
7
  }
 
8
  echo SGFunctions::showReviewPopup();
9
  $ajaxNonce = wp_create_nonce("sgPopupBuilderImportNonce");
10
  ?>
img/pattern.jpg ADDED
Binary file
javascript/blackFriday.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function sgpbBlackFriday() {
2
+
3
+ }
4
+ sgpbBlackFriday.prototype.init = function()
5
+ {
6
+ if (!jQuery('.sg-dont-show-agin').length) {
7
+ return false;
8
+ }
9
+ var that = this;
10
+
11
+ jQuery('.sg-dont-show-agin').bind('click', function() {
12
+ var nonce = jQuery(this).attr('data-ajaxnonce');
13
+ var discountDay = 1;/*jQuery(this).attr('data-discount');*/
14
+
15
+ var data = {
16
+ action: 'sgpbBlackFriday',
17
+ nonce: nonce
18
+ };
19
+
20
+ jQuery('.sg-info-panel-wrapper').remove();
21
+ jQuery.post(ajaxurl, data, function(responce) {
22
+ });
23
+ });
24
+ };
25
+
26
+ jQuery(document).ready(function() {
27
+ var obj = new sgpbBlackFriday();
28
+ obj.init();
29
+ });
popup-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: http://sygnoos.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
- * Version: 2.6.5
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
3
  * Plugin Name: Popup Builder
4
  * Plugin URI: http://sygnoos.com
5
  * Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
6
+ * Version: 2.6.6
7
  * Author: Sygnoos
8
  * Author URI: http://www.sygnoos.com
9
  * License: GPLv2
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author: Popup Builder
5
  Donate link: https://popup-builder.com
6
  Tags: popup, pop up, wordpress popup, popup maker, exit popup
7
  Requires at least: 3.8
8
- Tested up to: 4.8.2
9
  Requires PHP: 5.3.3
10
  Stable tag: trunk
11
  License: GPLv2 or later
@@ -129,7 +129,10 @@ Thank you for using our pop-up modal plugin.
129
  <div>
130
  <br />
131
  </div>
132
-
 
 
 
133
  <div>
134
  If you think that you found a bug in our Popup Builder plugin or have any questions, please feel free to contact us at <a href="mailto:support@popup-builder.com" title="support@popup-builder.com"><strong>support@popup-builder.com</strong></a>.
135
  #### Popup Builder
@@ -170,6 +173,8 @@ Go to the Popup Builder settings and set your desired options.
170
  * Bug fixed connected to Iframe video autoplay.
171
 
172
  = Version 2.6.4.6 =
 
 
173
 
174
  = Version 2.6.4.6 =
175
  * Added a new option, to show the popup close button with configurable delay option.
@@ -741,7 +746,7 @@ Leave us a good review :)
741
 
742
  == Upgrade Notice ==
743
 
744
- Current Version of Popup Builder is 2.6.4.6
745
 
746
  == Other Notes ==
747
 
5
  Donate link: https://popup-builder.com
6
  Tags: popup, pop up, wordpress popup, popup maker, exit popup
7
  Requires at least: 3.8
8
+ Tested up to: 4.9
9
  Requires PHP: 5.3.3
10
  Stable tag: trunk
11
  License: GPLv2 or later
129
  <div>
130
  <br />
131
  </div>
132
+ <div>
133
+ Also follow us on:
134
+ <a href="https://www.facebook.com/popupbuildercom" title="Popup Builder Facebook"><strong>Facebook</strong></a>&nbsp;<a href="https://twitter.com/popupmakercom" title="Popup Builder Twitter"><strong>Twitter</strong></a> and <a href="https://www.linkedin.com/company/popup-builder" title="Popup Builder LinkedIn"><strong>LinkedIn</strong></a>
135
+ </div>
136
  <div>
137
  If you think that you found a bug in our Popup Builder plugin or have any questions, please feel free to contact us at <a href="mailto:support@popup-builder.com" title="support@popup-builder.com"><strong>support@popup-builder.com</strong></a>.
138
  #### Popup Builder
173
  * Bug fixed connected to Iframe video autoplay.
174
 
175
  = Version 2.6.4.6 =
176
+ * Bug fixed connected to Popup size.
177
+ * Code optimization and typo fixes.
178
 
179
  = Version 2.6.4.6 =
180
  * Added a new option, to show the popup close button with configurable delay option.
746
 
747
  == Upgrade Notice ==
748
 
749
+ Current Version of Popup Builder is 2.6.6
750
 
751
  == Other Notes ==
752
 
style/blackFriday.css ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: "good times";
3
+ src: url("fonts/good-times.ttf") format("truetype");
4
+ }
5
+ /* */
6
+ .sg-info-panel-black-friday {
7
+ margin: 5px auto !important;
8
+ background-image: url('../img/pattern.jpg');
9
+ background-repeat: repeat-x;
10
+ background-size: 25% 100%;
11
+ }
12
+
13
+ .sg-discount-info-wrapper {
14
+ color: red;
15
+ font-size: 80px;
16
+ font-weight: bold;
17
+ transform: scale(1.3, 1.3);
18
+ }
19
+
20
+ .sg-discount-info-wrapper:hover {
21
+ transform: rotate(20deg);
22
+ transition-duration: 1s;
23
+ }
24
+ /* */
25
+ .sg-info-text,
26
+ .sg-info-text-center {
27
+ text-align: center
28
+ }
29
+ .sg-info-panel-wrapper {
30
+ position: relative;
31
+ width: 100%;
32
+ background-color: #181a1e;
33
+ color: #fff;
34
+ padding-bottom: 10px;
35
+ padding-top: 5px;
36
+ line-height: 1.231;
37
+ }
38
+ .sg-info-panel-wrapper .dashicons {
39
+ line-height: 1.231;
40
+ margin-left: 10px;
41
+ margin-right: 10px
42
+ }
43
+ .sg-info-panel-wrapper:after {
44
+ content: "";
45
+ display: table;
46
+ clear: both
47
+ }
48
+ .sg-info-panel-row {
49
+ width: 100%
50
+ }
51
+ .sg-info-panel-row [class*=sg-info-panel-col]:first-child {
52
+ margin-left: 3%
53
+ }
54
+ .sg-info-panel-col-3 {
55
+ display: block;
56
+ float: left;
57
+ width: 30%;
58
+ min-height: 30px;
59
+ margin-left: 2%;
60
+ -webkit-box-sizing: border-box;
61
+ -moz-box-sizing: border-box;
62
+ box-sizing: border-box
63
+ }
64
+ .sg-info-text {
65
+ margin-top: 10px;
66
+ margin-bottom: 10px;
67
+ font-size: 20px
68
+ }
69
+ .sg-info-text-white {
70
+ color: #fff
71
+ }
72
+ .sg-info-link,
73
+ .sg-info-text-highlight {
74
+ color: #30c2f3
75
+ }
76
+ .sg-info-link {
77
+ font-style: italic
78
+ }
79
+ .sg-info-links {
80
+ color: #30c2f3;
81
+ text-decoration: none
82
+ }
83
+ .sg-info-logo {
84
+ font-size: 35px;
85
+ margin-bottom: 15px
86
+ }
87
+ .sg-info-upgrade-pro {
88
+ position: relative;
89
+ border: 1px solid #30c2f3;
90
+ font-size: 30px;
91
+ color: #fff;
92
+ text-decoration: none;
93
+ border-radius: 2px;
94
+ display: inline-block;
95
+ margin-top: 10px;
96
+ text-align: center;
97
+ padding: 10px 15px 10px 60px
98
+ }
99
+ .sg-info-upgrade-pro:before {
100
+ content: '';
101
+ display: block;
102
+ position: absolute;
103
+ width: 32px;
104
+ height: 32px;
105
+ content: url(../img/sg-shopping-cart-white.png);
106
+ left: 10px;
107
+ top: 50%;
108
+ margin-top: -16px
109
+ }
110
+ .sg-info-upgrade-pro:hover {
111
+ border-color: #fff;
112
+ color: #30c2f3
113
+ }
114
+ .sg-info-upgrade-pro:hover:before {
115
+ content: url(../img/sg-shopping-cart-blue.png);
116
+ }
117
+ .sg-info-menu {
118
+ text-align: left;
119
+ list-style-type: none
120
+ }
121
+ .sg-info-menu li {
122
+ padding-bottom: 5px
123
+ }
124
+ .sg-info-blink {
125
+ animation: sg-info-blinker 11s infinite;
126
+ -webkit-animation: sg-info-blinker 11s infinite
127
+ }
128
+ .sg-info-close {
129
+ float: right;
130
+ color: #fff;
131
+ position: absolute;
132
+ right: 11px;
133
+ font-size: 30px;
134
+ top: 3px;
135
+ cursor: pointer;
136
+ transform: rotate(45deg);
137
+ margin: -3px -3px 0
138
+ }
139
+ .sg-dont-show-agin {
140
+ position: absolute;
141
+ bottom: 10px;
142
+ right: 12px;
143
+ cursor: pointer
144
+ }
145
+ .sg-social-headline {
146
+ font-size: 30px;
147
+ color: #fff;
148
+ margin-top: 13px;
149
+ margin-bottom: 25px;
150
+ }
151
+ .sg-social-icons-wrapper {
152
+ width: 100%;
153
+ text-align: center;
154
+ }
155
+ .sg-social-icon {
156
+ width: 50px;
157
+ height: 48px;
158
+ box-sizing: border-box;
159
+ display: inline-block;
160
+ background-size: 150px 44px;
161
+ background-repeat: no-repeat;
162
+ background-image: url(../img/social-icons.png);
163
+ }
164
+ .sg-social-icons-wrapper .sg-social-icon:not(:first-child) {
165
+ margin-left: 10px;
166
+ }
167
+
168
+ .social-icon-tw {
169
+ background-position: -50px 0px;
170
+ }
171
+
172
+ .social-icon-gp {
173
+ background-position: -100px 0px;
174
+ }
175
+ @keyframes sg-info-blinker {
176
+ 0% {
177
+ opacity: 0
178
+ }
179
+ 10%,
180
+ 100% {
181
+ opacity: 1
182
+ }
183
+ }
184
+ @media (min-width: 992px) and (max-width: 1199px) {
185
+ .sg-info-panel-wrapper .dashicons,
186
+ .sg-info-text {
187
+ font-size: 15px
188
+ }
189
+ .sg-info-logo,
190
+ .sg-info-upgrade-pro {
191
+ font-size: 25px
192
+ }
193
+ .sg-social-icon {
194
+ margin: 0px;
195
+ }
196
+ }
197
+ @media (min-width: 768px) and (max-width: 991px) {
198
+ .sg-info-panel-wrapper .dashicons,
199
+ .sg-info-text {
200
+ font-size: 13px
201
+ }
202
+ }
203
+ @media (max-width: 767px) {
204
+ .sg-info-panel-wrapper .dashicons,
205
+ .sg-info-text {
206
+ font-size: 12px
207
+ }
208
+ .sg-info-logo,
209
+ .sg-info-upgrade-pro {
210
+ font-size: 18px
211
+ }
212
+ }
213
+ @media (max-width: 480px) {
214
+ .sg-info-panel-col-3 {
215
+ width: 45%
216
+ }
217
+ .sg-info-panel-wrapper .dashicons,
218
+ .sg-info-text {
219
+ font-size: 10px
220
+ }
221
+ .sg-info-logo,
222
+ .sg-info-upgrade-pro {
223
+ font-size: 15px
224
+ }
225
+ }