myStickymenu - Version 2.4.8

Version Description

JQuery bug fixed

Download this release

Release Info

Developer galdub
Plugin Icon 128x128 myStickymenu
Version 2.4.8
Comparing to
See all releases

Code changes from version 2.4.7 to 2.4.8

class-review-box.php CHANGED
@@ -1,279 +1,279 @@
1
- <?php
2
- class myStickymenu_review_box {
3
-
4
- public $plugin_name = "myStickymenu";
5
-
6
- public $plugin_slug = "my-sticky-menu";
7
-
8
- public function __construct() {
9
-
10
- add_action("wp_ajax_".$this->plugin_slug."_review_box", array($this, "affiliate_program"));
11
-
12
- add_action('admin_notices', array($this, 'admin_notices'));
13
- }
14
-
15
- public function affiliate_program() {
16
- $nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
17
- $days = filter_input(INPUT_POST, 'days', FILTER_SANITIZE_STRING);
18
- if(!empty($nonce) && wp_verify_nonce($nonce, $this->plugin_slug."_review_box")) {
19
- if($days == -1) {
20
- add_option($this->plugin_slug."_hide_review_box", "1");
21
- } else {
22
- $date = date("Y-m-d", strtotime("+".$days." days"));
23
- update_option($this->plugin_slug."_show_review_box_after", $date);
24
- }
25
- }
26
- die;
27
- }
28
-
29
- public function admin_notices() {
30
- $is_hidden = get_option($this->plugin_slug."_hide_review_box");
31
- if($is_hidden !== false) {
32
- return;
33
- }
34
- $current_count = get_option($this->plugin_slug."_show_review_box_after");
35
- if($current_count === false) {
36
- $date = date("Y-m-d", strtotime("+7 days"));
37
- add_option($this->plugin_slug."_show_review_box_after", $date);
38
- return;
39
- } else if($current_count < 35) {
40
- return;
41
- }
42
- $date_to_show = get_option($this->plugin_slug."_show_review_box_after");
43
- if($date_to_show !== false) {
44
- $current_date = date("Y-m-d");
45
- if($current_date < $date_to_show) {
46
- return;
47
- }
48
- }
49
- ?>
50
- <style>
51
- .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p a {
52
- display: inline-block;
53
- float: right;
54
- text-decoration: none;
55
- color: #999999;
56
- position: absolute;
57
- right: 12px;
58
- top: 12px;
59
- }
60
- .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p a:hover, .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p a:focus {
61
- color: #333333;
62
- }
63
- .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box .button span {
64
- display: inline-block;
65
- line-height: 27px;
66
- font-size: 16px;
67
- }
68
- .<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup {
69
- position: fixed;
70
- width: 100%;
71
- height: 100%;
72
- z-index: 10001;
73
- background: rgba(0,0,0,0.65);
74
- top: 0;
75
- left: 0;
76
- display: none;
77
- }
78
- .<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup-content {
79
- background: #ffffff;
80
- padding: 20px;
81
- position: absolute;
82
- max-width: 450px;
83
- width: 100%;
84
- margin: 0 auto;
85
- top: 45%;
86
- left: 0;
87
- right: 0;
88
- -webkit-border-radius: 5px;
89
- -moz-border-radius: 5px;
90
- border-radius: 5px;: ;
91
- }
92
- .<?php echo esc_attr($this->plugin_slug) ?>-review-box-title {
93
- padding: 0 0 10px 0;
94
- font-weight: bold;
95
- }
96
- .<?php echo esc_attr($this->plugin_slug) ?>-review-box-options a {
97
- display: block;
98
- margin: 5px 0 5px 0;
99
- color: #333;
100
- text-decoration: none;
101
- }
102
- .<?php echo esc_attr($this->plugin_slug) ?>-review-box-options a.dismiss {
103
- color: #999;
104
- }
105
- .<?php echo esc_attr($this->plugin_slug) ?>-review-box-options a:hover, .affiliate-options a:focus {
106
- color: #0073aa;
107
- }
108
- button.<?php echo esc_attr($this->plugin_slug) ?>-close-review-box-popup {
109
- position: absolute;
110
- top: 5px;
111
- right: 0;
112
- border: none;
113
- background: transparent;
114
- cursor: pointer;
115
- }
116
- a.button.button-primary.<?php echo esc_attr($this->plugin_slug) ?>-review-box-btn {
117
- font-size: 14px;
118
- background: #F51366;
119
- color: #fff;
120
- border: solid 1px #F51366;
121
- border-radius: 3px;
122
- line-height: 24px;
123
- -webkit-box-shadow: 0 3px 5px -3px #333333;
124
- -moz-box-shadow: 0 3px 5px -3px #333333;
125
- box-shadow: 0 3px 5px -3px #333333;
126
- text-shadow: none;
127
- }
128
- .notice.notice-info.premio-notice {
129
- position: relative;
130
- padding: 1px 30px 1px 12px;
131
- }
132
- .notice.notice-info.premio-notice ul li {
133
- margin: 0;
134
- }
135
- .notice.notice-info.premio-notice ul li a {
136
- color: #0073aa;
137
- font-size: 14px;
138
- text-decoration: underline;
139
- }
140
- .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p {
141
- display: inline-block;
142
- line-height: 30px;
143
- vertical-align: middle;
144
- padding: 0 10px 0 0;
145
- }
146
- .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p img {
147
- width: 30px;
148
- height: 30px;
149
- display: inline-block;
150
- margin: 0 10px;
151
- vertical-align: middle;
152
- border-radius: 15px;
153
- }
154
- .review-thanks-img img {
155
- width: 100%;
156
- height: auto;
157
- max-width: 200px;
158
- }
159
- .review-thanks-msg {
160
- padding: 5px 0 0 10px;
161
- display: inline-block;
162
- text-align: left;
163
- }
164
- .review-thanks-box {
165
- padding: 10px 0 10px 0;
166
- position: relative;
167
- text-align: center;
168
- display: none;
169
- }
170
- .review-box-default {
171
- }
172
- .review-thanks-btn {
173
- border: 0;
174
- background: transparent;
175
- position: absolute;
176
- right: -30px;
177
- top: 5px;
178
- }
179
- .review-thanks-img {
180
- display: inline-block;
181
- vertical-align: top;
182
- width: 200px;
183
- }
184
- .thanks-msg-title {
185
- font-weight: bold;
186
- font-size: 18px;
187
- }
188
- .thanks-msg-desc {
189
- padding: 24px 0;
190
- }
191
- .thanks-msg-footer {
192
- font-weight: bold;
193
- }
194
- </style>
195
- <div class="notice notice-info premio-notice <?php echo esc_attr($this->plugin_slug) ?>-premio-review-box <?php echo esc_attr($this->plugin_slug) ?>-premio-review-box">
196
- <div class="review-box-default" id="default-review-box-<?php echo $this->plugin_slug ?>">
197
- <p>
198
- Hi there, it seems like <b><?php echo esc_attr($this->plugin_name) ?></b> is bringing you some value, and that's pretty awesome! Can you please show us some love and rate <?php echo esc_attr($this->plugin_name) ?> on WordPress? It'll only take 2 minutes of your time, and will really help us spread the word
199
- - <b>Gal Dubinski</b>, Co-founder <img width="30px" src="<?php echo esc_url(plugin_dir_url(__FILE__)."images/premio-owner.png") ?>" />
200
- <a href="javascript:;" class="dismiss-btn <?php echo esc_attr($this->plugin_slug) ?>-premio-review-dismiss-btn"><span class="dashicons dashicons-no-alt"></span></a>
201
- </p>
202
- <div class="clear clearfix"></div>
203
- <ul>
204
- <li><a class="<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box-hide-btn" href="https://wordpress.org/support/plugin/mystickymenu/reviews/?filter=5" target="_blank">I'd love to help :)</a></li>
205
- <li><a class="<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box-future-btn" href="javascript:;">Not this time</a></li>
206
- <li><a class="<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box-hide-btn" href="javascript:;">I've already rated you</a></li>
207
- </ul>
208
- </div>
209
- <div class="review-thanks-box" id="review-thanks-<?php echo $this->plugin_slug ?>">
210
- <button class="<?php echo $this->plugin_slug ?>-close-thanks-btn review-thanks-btn"><span class="dashicons dashicons-no-alt"></span></button>
211
-
212
- <div class="review-thanks-img">
213
- <img width="30px" src="<?php echo esc_url(plugin_dir_url(__FILE__)."/images/thanks.gif") ?>" />
214
- </div>
215
- <div class="review-thanks-msg">
216
- <div class="thanks-msg-title">You are awesome &#128591;</div>
217
- <div class="thanks-msg-desc">Thanks for your support, We really appreciate it!</div>
218
- <div class="thanks-msg-footer">Premio team</div>
219
- </div>
220
- <div class="clear clearfix"></div>
221
- </div>
222
- </div>
223
- <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup">
224
- <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup-content">
225
- <button class="<?php echo esc_attr($this->plugin_slug) ?>-close-review-box-popup"><span class="dashicons dashicons-no-alt"></span></button>
226
- <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-title">Would you like us to remind you about this later?</div>
227
- <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-options">
228
- <a href="javascript:;" data-days="3">Remind me in 3 days</a>
229
- <a href="javascript:;" data-days="10">Remind me in 10 days</a>
230
- <a href="javascript:;" data-days="-1" class="dismiss">Don't remind me about this</a>
231
- </div>
232
- </div>
233
- </div>
234
- <script>
235
- jQuery(document).ready(function(){
236
- jQuery("body").addClass("has-premio-box");
237
- jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-premio-review-dismiss-btn, .<?php echo $this->plugin_slug ?>-premio-review-box-future-btn", function(){
238
- jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").show();
239
- });
240
- jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-close-review-box-popup", function(){
241
- jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").hide();
242
- });
243
- jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-close-thanks-btn", function(){
244
- jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").remove();
245
- jQuery(".<?php echo $this->plugin_slug ?>-premio-review-box").remove();
246
- });
247
- jQuery(document).on("click",".<?php echo $this->plugin_slug ?>-premio-review-box-hide-btn",function(){
248
- jQuery("#default-review-box-<?php echo $this->plugin_slug ?>").hide();
249
- jQuery("#review-thanks-<?php echo $this->plugin_slug ?>").show();
250
- jQuery.ajax({
251
- url: "<?php echo admin_url("admin-ajax.php") ?>",
252
- data: "action=<?php echo esc_attr($this->plugin_slug) ?>_review_box&days=-1&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin_slug."_review_box")) ?>",
253
- type: "post",
254
- success: function() {
255
-
256
- }
257
- });
258
- });
259
- jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-review-box-options a", function(){
260
- var dataDays = jQuery(this).attr("data-days");
261
- jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").remove();
262
- jQuery(".<?php echo $this->plugin_slug ?>-premio-review-box").remove();
263
- jQuery("body").removeClass("has-premio-box");
264
- jQuery.ajax({
265
- url: "<?php echo admin_url("admin-ajax.php") ?>",
266
- data: "action=<?php echo esc_attr($this->plugin_slug) ?>_review_box&days="+dataDays+"&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin_slug."_review_box")) ?>",
267
- type: "post",
268
- success: function() {
269
- jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").remove();
270
- jQuery(".<?php echo $this->plugin_slug ?>-premio-review-box").remove();
271
- }
272
- });
273
- });
274
- });
275
- </script>
276
- <?php
277
- }
278
- }
279
  $myStickymenu_review_box = new myStickymenu_review_box();
1
+ <?php
2
+ class myStickymenu_review_box {
3
+
4
+ public $plugin_name = "myStickymenu";
5
+
6
+ public $plugin_slug = "my-sticky-menu";
7
+
8
+ public function __construct() {
9
+
10
+ add_action("wp_ajax_".$this->plugin_slug."_review_box", array($this, "affiliate_program"));
11
+
12
+ add_action('admin_notices', array($this, 'admin_notices'));
13
+ }
14
+
15
+ public function affiliate_program() {
16
+ $nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
17
+ $days = filter_input(INPUT_POST, 'days', FILTER_SANITIZE_STRING);
18
+ if(!empty($nonce) && wp_verify_nonce($nonce, $this->plugin_slug."_review_box")) {
19
+ if($days == -1) {
20
+ add_option($this->plugin_slug."_hide_review_box", "1");
21
+ } else {
22
+ $date = date("Y-m-d", strtotime("+".$days." days"));
23
+ update_option($this->plugin_slug."_show_review_box_after", $date);
24
+ }
25
+ }
26
+ die;
27
+ }
28
+
29
+ public function admin_notices() {
30
+ $is_hidden = get_option($this->plugin_slug."_hide_review_box");
31
+ if($is_hidden !== false) {
32
+ return;
33
+ }
34
+ $current_count = get_option($this->plugin_slug."_show_review_box_after");
35
+ if($current_count === false) {
36
+ $date = date("Y-m-d", strtotime("+7 days"));
37
+ add_option($this->plugin_slug."_show_review_box_after", $date);
38
+ return;
39
+ } else if($current_count < 35) {
40
+ return;
41
+ }
42
+ $date_to_show = get_option($this->plugin_slug."_show_review_box_after");
43
+ if($date_to_show !== false) {
44
+ $current_date = date("Y-m-d");
45
+ if($current_date < $date_to_show) {
46
+ return;
47
+ }
48
+ }
49
+ ?>
50
+ <style>
51
+ .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p a {
52
+ display: inline-block;
53
+ float: right;
54
+ text-decoration: none;
55
+ color: #999999;
56
+ position: absolute;
57
+ right: 12px;
58
+ top: 12px;
59
+ }
60
+ .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p a:hover, .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p a:focus {
61
+ color: #333333;
62
+ }
63
+ .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box .button span {
64
+ display: inline-block;
65
+ line-height: 27px;
66
+ font-size: 16px;
67
+ }
68
+ .<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup {
69
+ position: fixed;
70
+ width: 100%;
71
+ height: 100%;
72
+ z-index: 10001;
73
+ background: rgba(0,0,0,0.65);
74
+ top: 0;
75
+ left: 0;
76
+ display: none;
77
+ }
78
+ .<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup-content {
79
+ background: #ffffff;
80
+ padding: 20px;
81
+ position: absolute;
82
+ max-width: 450px;
83
+ width: 100%;
84
+ margin: 0 auto;
85
+ top: 45%;
86
+ left: 0;
87
+ right: 0;
88
+ -webkit-border-radius: 5px;
89
+ -moz-border-radius: 5px;
90
+ border-radius: 5px;: ;
91
+ }
92
+ .<?php echo esc_attr($this->plugin_slug) ?>-review-box-title {
93
+ padding: 0 0 10px 0;
94
+ font-weight: bold;
95
+ }
96
+ .<?php echo esc_attr($this->plugin_slug) ?>-review-box-options a {
97
+ display: block;
98
+ margin: 5px 0 5px 0;
99
+ color: #333;
100
+ text-decoration: none;
101
+ }
102
+ .<?php echo esc_attr($this->plugin_slug) ?>-review-box-options a.dismiss {
103
+ color: #999;
104
+ }
105
+ .<?php echo esc_attr($this->plugin_slug) ?>-review-box-options a:hover, .affiliate-options a:focus {
106
+ color: #0073aa;
107
+ }
108
+ button.<?php echo esc_attr($this->plugin_slug) ?>-close-review-box-popup {
109
+ position: absolute;
110
+ top: 5px;
111
+ right: 0;
112
+ border: none;
113
+ background: transparent;
114
+ cursor: pointer;
115
+ }
116
+ a.button.button-primary.<?php echo esc_attr($this->plugin_slug) ?>-review-box-btn {
117
+ font-size: 14px;
118
+ background: #F51366;
119
+ color: #fff;
120
+ border: solid 1px #F51366;
121
+ border-radius: 3px;
122
+ line-height: 24px;
123
+ -webkit-box-shadow: 0 3px 5px -3px #333333;
124
+ -moz-box-shadow: 0 3px 5px -3px #333333;
125
+ box-shadow: 0 3px 5px -3px #333333;
126
+ text-shadow: none;
127
+ }
128
+ .notice.notice-info.premio-notice {
129
+ position: relative;
130
+ padding: 1px 30px 1px 12px;
131
+ }
132
+ .notice.notice-info.premio-notice ul li {
133
+ margin: 0;
134
+ }
135
+ .notice.notice-info.premio-notice ul li a {
136
+ color: #0073aa;
137
+ font-size: 14px;
138
+ text-decoration: underline;
139
+ }
140
+ .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p {
141
+ display: inline-block;
142
+ line-height: 30px;
143
+ vertical-align: middle;
144
+ padding: 0 10px 0 0;
145
+ }
146
+ .<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box p img {
147
+ width: 30px;
148
+ height: 30px;
149
+ display: inline-block;
150
+ margin: 0 10px;
151
+ vertical-align: middle;
152
+ border-radius: 15px;
153
+ }
154
+ .review-thanks-img img {
155
+ width: 100%;
156
+ height: auto;
157
+ max-width: 200px;
158
+ }
159
+ .review-thanks-msg {
160
+ padding: 5px 0 0 10px;
161
+ display: inline-block;
162
+ text-align: left;
163
+ }
164
+ .review-thanks-box {
165
+ padding: 10px 0 10px 0;
166
+ position: relative;
167
+ text-align: center;
168
+ display: none;
169
+ }
170
+ .review-box-default {
171
+ }
172
+ .review-thanks-btn {
173
+ border: 0;
174
+ background: transparent;
175
+ position: absolute;
176
+ right: -30px;
177
+ top: 5px;
178
+ }
179
+ .review-thanks-img {
180
+ display: inline-block;
181
+ vertical-align: top;
182
+ width: 200px;
183
+ }
184
+ .thanks-msg-title {
185
+ font-weight: bold;
186
+ font-size: 18px;
187
+ }
188
+ .thanks-msg-desc {
189
+ padding: 24px 0;
190
+ }
191
+ .thanks-msg-footer {
192
+ font-weight: bold;
193
+ }
194
+ </style>
195
+ <div class="notice notice-info premio-notice <?php echo esc_attr($this->plugin_slug) ?>-premio-review-box <?php echo esc_attr($this->plugin_slug) ?>-premio-review-box">
196
+ <div class="review-box-default" id="default-review-box-<?php echo $this->plugin_slug ?>">
197
+ <p>
198
+ Hi there, it seems like <b><?php echo esc_attr($this->plugin_name) ?></b> is bringing you some value, and that's pretty awesome! Can you please show us some love and rate <?php echo esc_attr($this->plugin_name) ?> on WordPress? It'll only take 2 minutes of your time, and will really help us spread the word
199
+ - <b>Gal Dubinski</b>, Co-founder <img width="30px" src="<?php echo esc_url(plugin_dir_url(__FILE__)."images/premio-owner.png") ?>" />
200
+ <a href="javascript:;" class="dismiss-btn <?php echo esc_attr($this->plugin_slug) ?>-premio-review-dismiss-btn"><span class="dashicons dashicons-no-alt"></span></a>
201
+ </p>
202
+ <div class="clear clearfix"></div>
203
+ <ul>
204
+ <li><a class="<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box-hide-btn" href="https://wordpress.org/support/plugin/mystickymenu/reviews/?filter=5" target="_blank">I'd love to help :)</a></li>
205
+ <li><a class="<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box-future-btn" href="javascript:;">Not this time</a></li>
206
+ <li><a class="<?php echo esc_attr($this->plugin_slug) ?>-premio-review-box-hide-btn" href="javascript:;">I've already rated you</a></li>
207
+ </ul>
208
+ </div>
209
+ <div class="review-thanks-box" id="review-thanks-<?php echo $this->plugin_slug ?>">
210
+ <button class="<?php echo $this->plugin_slug ?>-close-thanks-btn review-thanks-btn"><span class="dashicons dashicons-no-alt"></span></button>
211
+
212
+ <div class="review-thanks-img">
213
+ <img width="30px" src="<?php echo esc_url(plugin_dir_url(__FILE__)."/images/thanks.gif") ?>" />
214
+ </div>
215
+ <div class="review-thanks-msg">
216
+ <div class="thanks-msg-title">You are awesome &#128591;</div>
217
+ <div class="thanks-msg-desc">Thanks for your support, We really appreciate it!</div>
218
+ <div class="thanks-msg-footer">Premio team</div>
219
+ </div>
220
+ <div class="clear clearfix"></div>
221
+ </div>
222
+ </div>
223
+ <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup">
224
+ <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-popup-content">
225
+ <button class="<?php echo esc_attr($this->plugin_slug) ?>-close-review-box-popup"><span class="dashicons dashicons-no-alt"></span></button>
226
+ <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-title">Would you like us to remind you about this later?</div>
227
+ <div class="<?php echo esc_attr($this->plugin_slug) ?>-review-box-options">
228
+ <a href="javascript:;" data-days="3">Remind me in 3 days</a>
229
+ <a href="javascript:;" data-days="10">Remind me in 10 days</a>
230
+ <a href="javascript:;" data-days="-1" class="dismiss">Don't remind me about this</a>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ <script>
235
+ jQuery(document).ready(function(){
236
+ jQuery("body").addClass("has-premio-box");
237
+ jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-premio-review-dismiss-btn, .<?php echo $this->plugin_slug ?>-premio-review-box-future-btn", function(){
238
+ jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").show();
239
+ });
240
+ jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-close-review-box-popup", function(){
241
+ jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").hide();
242
+ });
243
+ jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-close-thanks-btn", function(){
244
+ jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").remove();
245
+ jQuery(".<?php echo $this->plugin_slug ?>-premio-review-box").remove();
246
+ });
247
+ jQuery(document).on("click",".<?php echo $this->plugin_slug ?>-premio-review-box-hide-btn",function(){
248
+ jQuery("#default-review-box-<?php echo $this->plugin_slug ?>").hide();
249
+ jQuery("#review-thanks-<?php echo $this->plugin_slug ?>").show();
250
+ jQuery.ajax({
251
+ url: "<?php echo admin_url("admin-ajax.php") ?>",
252
+ data: "action=<?php echo esc_attr($this->plugin_slug) ?>_review_box&days=-1&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin_slug."_review_box")) ?>",
253
+ type: "post",
254
+ success: function() {
255
+
256
+ }
257
+ });
258
+ });
259
+ jQuery(document).on("click", ".<?php echo $this->plugin_slug ?>-review-box-options a", function(){
260
+ var dataDays = jQuery(this).attr("data-days");
261
+ jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").remove();
262
+ jQuery(".<?php echo $this->plugin_slug ?>-premio-review-box").remove();
263
+ jQuery("body").removeClass("has-premio-box");
264
+ jQuery.ajax({
265
+ url: "<?php echo admin_url("admin-ajax.php") ?>",
266
+ data: "action=<?php echo esc_attr($this->plugin_slug) ?>_review_box&days="+dataDays+"&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin_slug."_review_box")) ?>",
267
+ type: "post",
268
+ success: function() {
269
+ jQuery(".<?php echo $this->plugin_slug ?>-review-box-popup").remove();
270
+ jQuery(".<?php echo $this->plugin_slug ?>-premio-review-box").remove();
271
+ }
272
+ });
273
+ });
274
+ });
275
+ </script>
276
+ <?php
277
+ }
278
+ }
279
  $myStickymenu_review_box = new myStickymenu_review_box();
css/jquery.ui.datepicker.css CHANGED
@@ -1,7 +1,7 @@
1
- /*! jQuery UI - v1.12.1 - 2019-08-06
2
- * http://jqueryui.com
3
- * Includes: core.css, datepicker.css, theme.css
4
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
5
- * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
-
7
  .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-datepicker .ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("../images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("../images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
1
+ /*! jQuery UI - v1.12.1 - 2019-08-06
2
+ * http://jqueryui.com
3
+ * Includes: core.css, datepicker.css, theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
5
+ * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
+
7
  .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-datepicker .ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("../images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("../images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
css/mystickymenu-admin.css CHANGED
@@ -1,2278 +1,2278 @@
1
- @font-face {
2
- font-family: 'poppinsregular';
3
- src: url('../fonts/poppins-regular-webfont.woff2') format('woff2'),
4
- url('../fonts/poppins-regular-webfont.woff') format('woff');
5
- font-weight: normal;
6
- font-style: normal;
7
-
8
- }
9
-
10
- @font-face {
11
- font-family: 'poppinsbold';
12
- src: url('../fonts/poppins-bold-webfont.woff2') format('woff2'),
13
- url('../fonts/poppins-bold-webfont.woff') format('woff');
14
- font-weight: normal;
15
- font-style: normal;
16
-
17
- }
18
-
19
- @font-face {
20
- font-family: 'poppins_lightregular';
21
- src: url('../fonts/poppins-light-webfont.woff2') format('woff2'),
22
- url('../fonts/poppins-light-webfont.woff') format('woff');
23
- font-weight: normal;
24
- font-style: normal;
25
-
26
- }
27
-
28
- #custom-handle {
29
- width: 3em;
30
- height: 1.6em;
31
- top: 50%;
32
- margin-top: -.8em;
33
- text-align: center;
34
- line-height: 1.6em;
35
- }
36
-
37
- #mystickymenu {
38
- font-family: 'poppinsregular', sans-serif;
39
- }
40
-
41
- .main-content {
42
- float: left;
43
- width: 65%;
44
- }
45
-
46
- .main-sidebar {
47
- float: right;
48
- width: 30%;
49
- background: #ffffff;
50
- border: 1px solid #e5e5e5;
51
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
52
- }
53
-
54
- .main-sidebar h3 {
55
- margin: 0;
56
- padding: 8px 12px;
57
- border-bottom: 1px solid #ececec;
58
- }
59
-
60
- .main-sidebar .inner {
61
- padding: 10px;
62
- }
63
-
64
- .main-sidebar p {
65
- padding: 8px;
66
- margin: 0;
67
- border-top: solid 1px #e5e5e5;
68
- }
69
-
70
- /*.mystickyinput {padding-top: 6px;}*/
71
- @media screen and (max-width: 782px) {
72
- .main-content, .main-sidebar {
73
- width: 100%;
74
- float: none;
75
- clear: both;
76
- }
77
- }
78
-
79
- .myssticky-remove-hand {
80
- cursor: default;
81
- }
82
-
83
- /* */
84
- .mystickymenu-content-section input[type="number"]#myfixed_zindex {
85
- -moz-appearance: textfield-multiline;
86
- }
87
-
88
- .mystickymenu-content-section input[type="number"] {
89
- -moz-appearance: textfield;
90
- }
91
-
92
- .mystickymenu-content-section input[type="number"]::-webkit-inner-spin-button, .mystickymenu-content-section input[type="number"]::-webkit-outer-spin-button {
93
- -webkit-appearance: none;
94
- margin: 0;
95
- }
96
-
97
- .mystickymenu-content-section .mysticky-number {
98
- display: inline-block;
99
- margin: 0 0 10px;
100
- position: relative;
101
- }
102
-
103
- #mystickymenu .mystickymenu-content-section .mysticky-number {
104
- /*width: 90px;*/
105
- }
106
-
107
- #mystickymenu input[type=number] {
108
- color: #A7A7A7;
109
- border-radius: 21px;
110
- background-color: #ffffff;
111
- border: 1px solid #DCE2E2;
112
- font-size: 14px;
113
- font-weight: 400;
114
- height: 42px;
115
- padding: 0 10px 0 12px;
116
- margin: 0;
117
- width: 310px;
118
- box-shadow: none;
119
- }
120
-
121
- .pt_number {
122
- display: inline-block;
123
- vertical-align: top;
124
- margin-top: 7px;
125
- }
126
-
127
- .mysticky-welcomebar-setting-content-right input[type="text"]:disabled {
128
- color: #a0a5aa;
129
- border-color: #ddd;
130
- background-color: #f7f7f7;
131
- }
132
-
133
- .mystickymenu-content-section .mysticky-number:focus {
134
- outline: 0;
135
- }
136
-
137
- .mystickymenu-content-section .mysticky-number .pt_number {
138
- float: left;
139
- position: relative;
140
- height: 30px;
141
- }
142
-
143
- .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton {
144
- position: relative;
145
- cursor: pointer;
146
- border-left: 1px solid #b7b7b7;
147
- width: 15px;
148
- text-align: center;
149
- color: #333;
150
- font-size: 14px;
151
- line-height: 1.1;
152
- -webkit-transform: translateX(-100%);
153
- transform: translateX(-100%);
154
- -webkit-user-select: none;
155
- -moz-user-select: none;
156
- -ms-user-select: none;
157
- user-select: none;
158
- }
159
-
160
- .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton:active {
161
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
162
- -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
163
- }
164
-
165
- .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton.pt_numberup {
166
- position: absolute;
167
- height: 50%;
168
- top: 0;
169
- border-bottom: 1px solid #b7b7b7;
170
- }
171
-
172
- .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton.pt_numberdown {
173
- position: absolute;
174
- bottom: 0px;
175
- height: 50%;
176
- }
177
-
178
- /* */
179
-
180
- input#mysticky_class_selector {
181
- border-radius: 24px;
182
- border: 1px solid #E6E5EC;
183
- height: 46px;
184
- padding: 0 26px;
185
- width: 49%
186
- }
187
-
188
- .mystickymenu-content-section {
189
- background-color: #F9FCFC;
190
- border-radius: 7px;
191
- margin-bottom: 20px;
192
- border: 1px solid #E1E6E6;
193
- }
194
-
195
- input#myfixed_disable_small_screen {
196
- border-radius: 21px;
197
- }
198
-
199
- input#mysticky_active_on_height_home {
200
- border-radius: 21px;
201
- }
202
-
203
- textarea#myfixed_cssstyle {
204
- width: 100%;
205
- margin-top: 12px;
206
- border-radius: 10px;
207
- background-color: #fff;
208
- height: 120px;
209
- resize: none;
210
- border: 1px solid #DCE2E2;
211
- padding: 10px 10px;
212
- }
213
-
214
- label {
215
- font-size: 15px;
216
- }
217
-
218
- .sticky-class-sec tr td {
219
- width: 50%;
220
- }
221
-
222
- .px-wrap {
223
- position: relative;
224
- display: inline-block;
225
- vertical-align: top;
226
- }
227
-
228
- .mystickymenu-content-option {
229
- padding: 20px 20px 0;
230
- }
231
-
232
- .mystickymenu-heading {
233
- padding-bottom: 20px;
234
- }
235
-
236
- .myStickymenu-header-title {
237
- background-color: #B2D2FC;
238
- padding: 13px 20px;
239
- border-radius: 10px 10px 0 0;
240
- }
241
-
242
- .myStickymenu-header-title h3 {
243
- margin: 0;
244
- color: #1F4B84;
245
- font-size: 18px;
246
- font-weight: 600;
247
- line-height: 1.2;
248
- }
249
-
250
- .mystickymenu-heading p {
251
- background-color: #D6EFFF;
252
- color: #1F4B84;
253
- border-radius: 0 0 10px 10px;
254
- padding: 13px 20px;
255
- margin: 0;
256
- font-size: 14px;
257
- line-height: 28px;
258
- }
259
-
260
- .mystickynumber {
261
- position: relative;
262
- padding-left: 30px;
263
- }
264
-
265
- .pt_numberbutton.pt_numberup {
266
- height: 25px;
267
- width: 25px;
268
- line-height: 25px;
269
- background-color: #808080;
270
- border-radius: 50%;
271
- position: relative;
272
- margin-left: 5px;
273
- display: inline-block;
274
- color: white;
275
- font-size: 21px;
276
- cursor: pointer;
277
- text-align: center;
278
- margin-top: 2px;
279
- }
280
-
281
- .pt_numberbutton.pt_numberdown {
282
- height: 25px;
283
- width: 25px;
284
- line-height: 25px;
285
- background-color: #808080;
286
- border-radius: 50%;
287
- position: absolute;
288
- top: 8px;
289
- left: 0;
290
- display: inline-block;
291
- color: white;
292
- font-size: 21px;
293
- cursor: pointer;
294
- text-align: center;
295
- }
296
-
297
- span.input-px {
298
- height: 42px;
299
- width: 57px;
300
- background-color: #808080;
301
- position: absolute;
302
- right: 0;
303
- top: 0px;
304
- display: inline-block;
305
- vertical-align: top;
306
- font-size: 14px;
307
- border-radius: 0 21px 21px 0;
308
- color: #fff;
309
- line-height: 42px;
310
- text-align: center;
311
- }
312
-
313
- .mysticky_device_upgrade {
314
- background-color: #f0ecfb;
315
- border-radius: 20px;
316
- padding: 15px 40px 20px 20px;
317
- }
318
-
319
- .mystickymenu-content-section.mystickymenu-content-upgrade {
320
- background-color: #f4f4fd;
321
- }
322
-
323
- .myStickymenu-upgrade a {
324
- background: #E1DAF6;
325
- border-radius: 20px;
326
- color: #7559C0;
327
- padding-top: 2px;
328
- padding-bottom: 6px;
329
- padding-left: 10px;
330
- padding-right: 10px;
331
- font-weight: bold;
332
- text-transform: uppercase;
333
- font-size: 12px;
334
- display: inline-block;
335
- vertical-align: top;
336
- line-height: 1;
337
- }
338
- .myStickymenu-upgrade {
339
- float: right;
340
- }
341
-
342
- .myStickymenu-upgrade a:before {
343
- content: "\f160";
344
- font-family: dashicons;
345
- position: relative;
346
- top: 3px;
347
- font-size: 16px;
348
- }
349
-
350
- .mystickymenu-input-section ul.mystickymenu-input-multicheckbox li {
351
- display: inline-block;
352
- width: 21%;
353
- }
354
-
355
- input#submit.button.button-primary {
356
- background: #00c67c;
357
- border-color: #00c67c;
358
- text-transform: uppercase;
359
- border-radius: 31px;
360
- font-size: 26px;
361
- padding-left: 23px;
362
- padding-right: 23px;
363
- height: 60px;
364
- width: 200px;
365
- border: 0;
366
- box-shadow: none;
367
- font-weight: 600;
368
- text-shadow: none;
369
- }
370
-
371
- input.button.button-secondary.confirm {
372
- background: #969696;
373
- border-color: #969696;
374
- text-transform: uppercase;
375
- font-size: 26px;
376
- padding-left: 23px;
377
- padding-right: 23px;
378
- float: right;
379
- color: white;
380
- margin-right: 10px;
381
- height: 60px;
382
- width: 200px;
383
- border-radius: 31px;
384
- font-weight: 600;
385
- }
386
-
387
- table ul.mystickymenu-input-multicheckbox {
388
- width: 100%;
389
- display: inline-flex;
390
- }
391
-
392
- p.myStickymenu-review a {
393
- font-size: 20px;
394
- }
395
-
396
- table ul.mystickymenu-input-multicheckbox li {
397
- padding-right: 21px;
398
- }
399
-
400
- table {
401
- width: 100%;
402
- }
403
-
404
- #mystickymenu table tr td {
405
- padding: 20px;
406
- }
407
-
408
- div#mystickymenu {
409
- overflow-x: hidden;
410
- overflow-y: hidden;
411
- }
412
-
413
- label.mysticky_title {
414
- font-weight: 500;
415
- font-size: 18px;
416
- line-height: 1.2;
417
- color: #4F4F4F;
418
- }
419
-
420
- .mystickymenu-content-option p label.mysticky_text {
421
- margin-left: 0px;
422
- }
423
-
424
- span.mysticky_text {
425
- font-size: 14px;
426
- color: #9E9E9E;
427
- margin-left: 20px;
428
- font-style: italic;
429
- }
430
-
431
- label.mysticky_text {
432
- font-size: 14px;
433
- /*color: #9E9E9E;*/
434
- margin-left: 20px;
435
- font-style: italic;
436
- }
437
-
438
- select#mystickymenu-select {
439
- border-radius: 24px;
440
- border: 1px solid #E6E5EC;
441
- height: 46px;
442
- box-shadow: none;
443
- padding: 0 26px;
444
- width: 49%;
445
- display: inline-block;
446
- vertical-align: top;
447
- }
448
-
449
- .mystickymenu-input-section {
450
- margin-top: 9px;
451
- }
452
-
453
- label.mysticky_title.css-style-title {
454
- font-size: 20px;
455
- }
456
-
457
- span.wp-color-result-text {
458
- display: none;
459
- }
460
-
461
- button.button.wp-color-result {
462
- border-radius: 50%;
463
- height: 30px !important;
464
- }
465
- button.button.wp-color-result .color-alpha {
466
- border-radius: 50% !important;
467
- height: 28px !important;
468
- }
469
-
470
- .mystickymenu-content-section h3 {
471
- margin-left: 20px;
472
- font-weight: 600;
473
- font-size: 26px;
474
- line-height: 1.2;
475
- color: #4F4F4F;
476
- margin: 0;
477
- padding: 24px 20px;
478
- }
479
-
480
- .form-table {
481
- margin-top: 0;
482
- }
483
-
484
- ul.mystickymenu-input-multicheckbox li span {
485
- font-size: 16px;
486
- color: #4F4F4F;
487
- }
488
-
489
- .mystickymenu-input-section label {
490
- /*color: #9E9E9E;*/
491
- font-size: 16px;
492
- }
493
- #mystickymenu .mystickymenu-input-section input.mystickymenu_normal_text{
494
- border-radius: 0px;
495
- height: 35px;
496
- margin: 10px;
497
- }
498
- #mystickymenu .mystickymenu-input-section span.description{
499
- font-style: normal;
500
- font-size: 16px;
501
- }
502
- .myStickymenu-upgrade a {
503
- text-decoration: none;
504
- color: #7559C0;
505
- }
506
-
507
- #mystickymenu p.submit {
508
- margin-top: 0;
509
- padding-top: 0;
510
- float: right;
511
- }
512
-
513
- td {
514
- vertical-align: top !important;
515
- }
516
-
517
- p.description {
518
- color: rgba(79, 79, 79, 0.5);
519
- font-size: 12px;
520
- line-height: 1.2;
521
- margin: 5px 0 0;
522
- }
523
-
524
- div#slider.ui-slider {
525
- width: 229px;
526
- background-color: #DCE2E2;
527
- height: 2px;
528
- border: 0;
529
- border-radius: 2px;
530
- position: relative;
531
- }
532
-
533
- .mystickymenu-content-section .ui-state-active, .ui-widget-content .ui-state-active {
534
- color: #454545;
535
- }
536
-
537
- #mystickymenu #custom-handle {
538
- width: 1.6em;
539
- border-radius: 50%;
540
- background-color: #fff;
541
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
542
- border: 0;
543
- position: absolute;
544
- }
545
- .sticky-header-menu {
546
- text-align: center;
547
- padding: 0 0 20px 0;
548
- }
549
- .sticky-header-menu ul {
550
- display: inline-block;
551
- padding: 1px;
552
- background-color: #D6EFFF;
553
- -webkit-border-radius: 23px;
554
- -moz-border-radius: 23px;
555
- border-radius: 23px;
556
- }
557
- .sticky-header-menu ul li {
558
- display: inline-block;
559
- margin: 0;
560
- }
561
- .sticky-header-menu ul li a {
562
- display: inline-block;
563
- padding: 0 20px;
564
- line-height: 40px;
565
- height: 40px;
566
- font-size: 16px;
567
- text-decoration: none;
568
- -webkit-border-radius: 20px;
569
- -moz-border-radius: 20px;
570
- border-radius: 20px;
571
- }
572
- .sticky-header-menu ul li a:hover {
573
- background: #f0ecfb;
574
- color: #7559C0;
575
- }
576
- .sticky-header-menu ul li a.active {
577
- background: #E1DAF6;
578
- color: #7559C0;
579
- }
580
- /*.sticky-header-content {
581
- display: none;
582
- }*/
583
- .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {
584
- width: 55px;
585
- }
586
-
587
- /*New Welcomebar Page css*/
588
- .mystickymenu-new-widget-wrap, .mystickymenu-new-widget-wrap * {
589
- box-sizing: border-box;
590
- }
591
- .mystickymenu-new-widget-wrap {
592
- border-radius: 10px;
593
- box-shadow: 0 0 6px #ccc;
594
- padding: 10px;
595
- margin: 20px auto 0 auto;
596
- width: 100%;
597
- max-width: 776px;
598
- background: #fff url(../images/new_widget_bg.png) no-repeat right bottom;
599
- background-size: auto 100%;
600
- font-family: Poppins;
601
- line-height: 20px;
602
- }
603
- .mystickymenu-new-widget-wrap h2 {
604
- font-style: normal;
605
- font-weight: 600;
606
- font-size: 20px;
607
- line-height: 30px;
608
- color: #1e1e1e;
609
- margin: 0;
610
- text-align: center;
611
- }
612
- a.new-upgrade-button {
613
- height: 40px;
614
- background: #7761DF;
615
- border-radius: 100px;
616
- border: solid 1px #7761DF;
617
- display: inline-block;
618
- text-align: center;
619
- color: #fff;
620
- line-height: 40px;
621
- margin: 10px 0 10px 10px;
622
- padding: 0 25px;
623
- text-decoration: none;
624
- text-transform: uppercase;
625
- }
626
- .mystickymenu-new-widget-row ul {
627
- display: flex;
628
- align-items: center;
629
- flex-wrap: wrap;
630
- margin-top: 0;
631
- margin-bottom: 0;
632
- }
633
- .mystickymenu-new-widget-row ul li {
634
- width: 33.33%;
635
- padding: 10px 10px 0px;
636
- margin-bottom: 0;
637
- }
638
- .mystickymenu-feature {
639
- margin: 30px 0 0 0;
640
- background: #fff;
641
- border: 1px solid #605dec;
642
- box-sizing: border-box;
643
- border-radius: 4px;
644
- padding: 30px 15px 10px 15px;
645
- min-height: 186px;
646
- position: relative;
647
- }
648
- .mystickymenu-feature-top {
649
- width: 50px;
650
- height: 50px;
651
- border: solid 1px #605dec;
652
- border-radius: 50%;
653
- position: absolute;
654
- left: 0;
655
- right: 0;
656
- margin: 0 auto;
657
- top: -25px;
658
- background: #fff;
659
- z-index: 11;
660
- padding: 10px;
661
- }
662
- .feature-title {
663
- font-family: Poppins;
664
- font-style: normal;
665
- font-weight: 700;
666
- font-size: 13px;
667
- line-height: 18px;
668
- color: #1e1e1e;
669
- }
670
- .feature-description {
671
- font-family: Poppins;
672
- font-style: normal;
673
- font-weight: 400;
674
- font-size: 13px;
675
- line-height: 18px;
676
- color: #1e1e1e;
677
- }
678
- .mystickymenu-feature-top img {
679
- width: auto;
680
- height: auto;
681
- max-width: 100%;
682
- max-height: 100%;
683
- }
684
- /* Finish new Welcome bar screen css */
685
- @media only screen and (min-width: 1024px) and (max-width: 1200px) {
686
- .pt_numberbutton.pt_numberdown {
687
- position: relative;
688
- margin-left: -75px;
689
- top: -29px;
690
- }
691
-
692
- .pt_numberbutton.pt_numberup {
693
- position: relative;
694
- top: -29px;
695
- left: 70px;
696
- }
697
-
698
- /* span.input-px { */
699
- /* position: relative; */
700
- /* left: 112px; */
701
- /* top: -24px !important; */
702
- /* margin-left: -20px; */
703
- /* } */
704
- }
705
-
706
-
707
-
708
- #rpt_pricr {
709
- width: 100%;
710
- max-width: 1024px;
711
- margin: 0 auto;
712
- padding: 25px 25px 25px 25px;
713
- background: #fff;
714
-
715
- -webkit-border-radius: 5px;
716
- -moz-border-radius: 5px;
717
- border-radius: 5px;
718
- }
719
- #rpt_pricr h2 {
720
- padding: 50px 0 30px;
721
- text-align: center;
722
- font-size: 24px;
723
- }
724
- .rpt_plans .rpt_plan {
725
- -moz-box-sizing: border-box;
726
- -webkit-box-sizing: border-box
727
- }
728
-
729
- .rpt_2_plans .rpt_plan {
730
- margin-right: 2%;
731
- width: 49%;
732
- float: left
733
- }
734
-
735
- .rpt_2_plans .rpt_plan:last-child {
736
- margin-right: 0
737
- }
738
-
739
- .rpt_3_plans .rpt_plan {
740
- margin-right: 2%;
741
- width: 32%;
742
- float: left
743
- }
744
-
745
- .rpt_3_plans .rpt_plan:last-child {
746
- margin-right: 0
747
- }
748
-
749
- .rpt_4_plans .rpt_plan {
750
- margin-right: 1%;
751
- width: 24.25%;
752
- float: left
753
- }
754
-
755
- .rpt_4_plans .rpt_plan:last-child {
756
- margin-right: 0
757
- }
758
-
759
- .rpt_5_plans .rpt_plan {
760
- margin-right: .5%;
761
- width: 19.6%;
762
- float: left
763
- }
764
-
765
- .rpt_5_plans .rpt_plan:last-child {
766
- margin-right: 0
767
- }
768
-
769
- .rpt_style_bic .rpt_plan, .rpt_style_loc .rpt_plan {
770
- -webkit-box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19);
771
- -moz-box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19);
772
- box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19)
773
- }
774
-
775
- .rpt_plans .rpt_plan .rpt_title img {
776
- margin-right: 10px;
777
- position: relative;
778
- vertical-align: middle
779
- }
780
-
781
- .rpt_plans .rpt_plan .rpt_title {
782
- background: #6371db;
783
- font-weight: 300;
784
- padding: 24px 18px;
785
- font-size: 26px;
786
- color: #fff;
787
- line-height: 35px;
788
- height: auto;
789
- }
790
-
791
- .rpt_plans .rpt_plan .rpt_title span {
792
- display: inline-block;
793
- position: relative;
794
- top: -10px
795
- }
796
-
797
- .rpt_style_basic .rpt_plan .rpt_title {
798
- border-bottom: #6371db solid 1px;
799
- border-top-left-radius: 8px;
800
- border-top-right-radius: 8px;
801
- }
802
-
803
- .rpt_style_spec .rpt_plan .rpt_title {
804
- color: #fff
805
- }
806
-
807
- .rpt_style_bic .rpt_plan .rpt_title, .rpt_style_loc .rpt_plan .rpt_title, .rpt_style_swl .rpt_plan .rpt_title {
808
- background: #333
809
- }
810
-
811
- .rpt_plans .rpt_sm_title .rpt_plan .rpt_title {
812
- font-size: 20px;
813
- line-height: 18px
814
- }
815
-
816
- .rpt_plans .rpt_xsm_title .rpt_plan .rpt_title {
817
- font-size: 15px;
818
- line-height: 15px
819
- }
820
-
821
- .rpt_4_plans .rpt_plan .rpt_title {
822
- font-size: 17px;
823
- line-height: 15px
824
- }
825
-
826
- .rpt_4_plans .rpt_sm_title .rpt_plan .rpt_title {
827
- font-size: 15px;
828
- line-height: 13px
829
- }
830
-
831
- .rpt_4_plans .rpt_xsm_title .rpt_plan .rpt_title {
832
- font-size: 13px;
833
- line-height: 11px
834
- }
835
-
836
- .rpt_5_plans .rpt_plan .rpt_title {
837
- font-size: 15px;
838
- line-height: 13px
839
- }
840
-
841
- .rpt_5_plans .rpt_sm_title .rpt_plan .rpt_title {
842
- font-size: 13px;
843
- line-height: 11px
844
- }
845
-
846
- .rpt_5_plans .rpt_xsm_title .rpt_plan .rpt_title {
847
- font-size: 12px;
848
- line-height: 10px
849
- }
850
-
851
- .rpt_plans .rpt_recommended_plan .rpt_title {
852
- background: #6371db
853
- }
854
-
855
- .rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
856
- position: relative;
857
- top: -44px;
858
- left: -10px;
859
- font-size: 35px;
860
- line-height: 0
861
- }
862
-
863
- .rpt_4_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
864
- top: -36px
865
- }
866
-
867
- .rpt_5_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
868
- top: -26px
869
- }
870
-
871
- .rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
872
- font-size: 30px;
873
- top: -44px;
874
- left: -4px
875
- }
876
-
877
- .rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
878
- font-size: 25px;
879
- top: -30px;
880
- left: -4px
881
- }
882
-
883
- .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
884
- font-size: 21px;
885
- top: -14px;
886
- left: -4px
887
- }
888
-
889
- .rpt_style_basic .rpt_plan .rpt_head {
890
- background: #ec86c6
891
- }
892
-
893
- .rpt_style_spec .rpt_plan .rpt_head {
894
- background: #fff
895
- }
896
-
897
- .rpt_style_swl .rpt_plan .rpt_head {
898
- background: #fff
899
- }
900
-
901
- .rpt_plans .rpt_plan .rpt_head .rpt_price {
902
- padding: 6px 10px;
903
- font-size: 74px;
904
- line-height: 80px;
905
- font-weight: 300;
906
- text-align: center;
907
- color: #ffffff
908
- }
909
-
910
- .rpt_style_basic .rpt_plan .rpt_head .rpt_price, .rpt_style_spec .rpt_plan .rpt_head .rpt_price {
911
- text-shadow: 1px 2px 7px rgba(0, 0, 0, .6)
912
- }
913
-
914
- .rpt_style_swl .rpt_plan .rpt_head .rpt_price {
915
- color: #000
916
- }
917
-
918
- .rpt_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
919
- font-size: 62px
920
- }
921
-
922
- .rpt_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
923
- font-size: 56px
924
- }
925
-
926
- .rpt_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
927
- font-size: 38px
928
- }
929
-
930
- .rpt_4_plans .rpt_plan .rpt_head .rpt_price {
931
- font-size: 69px;
932
- line-height: 80px
933
- }
934
-
935
- .rpt_4_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
936
- font-size: 53px;
937
- line-height: 65px
938
- }
939
-
940
- .rpt_4_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
941
- font-size: 47px;
942
- line-height: 64px
943
- }
944
-
945
- .rpt_4_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
946
- font-size: 31px;
947
- line-height: 60px
948
- }
949
-
950
- .rpt_5_plans .rpt_plan .rpt_head .rpt_price {
951
- font-size: 59px;
952
- line-height: 80px
953
- }
954
-
955
- .rpt_5_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
956
- font-size: 44px;
957
- line-height: 60px
958
- }
959
-
960
- .rpt_5_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
961
- font-size: 37px;
962
- line-height: 53px
963
- }
964
-
965
- .rpt_5_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
966
- font-size: 24px;
967
- line-height: 50px
968
- }
969
-
970
- .rpt_plans .rpt_recommended_plan .rpt_head .rpt_price {
971
- font-size: 98px
972
- }
973
-
974
- .rpt_4_plans .rpt_recommended_plan .rpt_head .rpt_price {
975
- font-size: 74px
976
- }
977
-
978
- .rpt_5_plans .rpt_recommended_plan .rpt_head .rpt_price {
979
- font-size: 67px
980
- }
981
-
982
- .rpt_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
983
- font-size: 83px
984
- }
985
-
986
- .rpt_4_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
987
- font-size: 60px
988
- }
989
-
990
- .rpt_5_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
991
- font-size: 54px
992
- }
993
-
994
- .rpt_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
995
- font-size: 55px
996
- }
997
-
998
- .rpt_4_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
999
- font-size: 49px
1000
- }
1001
-
1002
- .rpt_5_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1003
- font-size: 41px
1004
- }
1005
-
1006
- .rpt_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1007
- font-size: 42px
1008
- }
1009
-
1010
- .rpt_4_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1011
- font-size: 34px
1012
- }
1013
-
1014
- .rpt_5_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1015
- font-size: 26px
1016
- }
1017
-
1018
- .rpt_plans .rpt_plan .rpt_head .rpt_recurrence {
1019
- font-size: 13px;
1020
- font-weight: 300;
1021
- line-height: 18px;
1022
- padding: 20px 10px 10px;
1023
- color: #ffffff;
1024
- text-align: center
1025
- }
1026
-
1027
- .rpt_style_spec .rpt_plan .rpt_head .rpt_recurrence {
1028
- color: #d3d3d3
1029
- }
1030
-
1031
- .rpt_style_bic .rpt_plan .rpt_head .rpt_recurrence, .rpt_style_loc .rpt_plan .rpt_head .rpt_recurrence {
1032
- color: #f5f5f5
1033
- }
1034
-
1035
- .rpt_style_swl .rpt_plan .rpt_head .rpt_recurrence {
1036
- color: grey
1037
- }
1038
-
1039
- .rpt_plans .rpt_sm_recurrence .rpt_plan .rpt_head .rpt_recurrence {
1040
- font-size: 11px;
1041
- padding: 20px 40px 4px
1042
- }
1043
-
1044
- .rpt_plans .rpt_plan .rpt_head .rpt_subtitle {
1045
- font-size: 16px;
1046
- line-height: 20px;
1047
- font-weight: 300;
1048
- text-align: center;
1049
- padding: 10px 30px 20px
1050
- }
1051
-
1052
- .rpt_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1053
- font-size: 14px
1054
- }
1055
-
1056
- .rpt_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1057
- font-size: 12px
1058
- }
1059
-
1060
- .rpt_4_plans .rpt_plan .rpt_head .rpt_subtitle {
1061
- font-size: 16px;
1062
- line-height: 18px;
1063
- padding: 10px 10px 20px
1064
- }
1065
-
1066
- .rpt_4_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1067
- font-size: 14px;
1068
- line-height: 17px
1069
- }
1070
-
1071
- .rpt_4_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1072
- font-size: 13px;
1073
- line-height: 16px
1074
- }
1075
-
1076
- .rpt_5_plans .rpt_plan .rpt_head .rpt_subtitle {
1077
- font-size: 15px;
1078
- line-height: 18px;
1079
- padding: 10px 10px 20px
1080
- }
1081
-
1082
- .rpt_5_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1083
- font-size: 13px;
1084
- line-height: 17px
1085
- }
1086
-
1087
- .rpt_5_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1088
- font-size: 12px;
1089
- line-height: 16px
1090
- }
1091
-
1092
- .rpt_plans .rpt_plan .rpt_head .rpt_description {
1093
- font-size: 14px;
1094
- line-height: 20px;
1095
- padding: 10px 20px;
1096
- font-weight: 300;
1097
- text-align: center;
1098
- color: #ffffff
1099
- }
1100
-
1101
- .rpt_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
1102
- font-size: 12px
1103
- }
1104
-
1105
- .rpt_style_bic .rpt_plan .rpt_head .rpt_description, .rpt_style_loc .rpt_plan .rpt_head .rpt_description {
1106
- color: #f5f5f5
1107
- }
1108
-
1109
- .rpt_4_plans .rpt_plan .rpt_head .rpt_description {
1110
- font-size: 13px;
1111
- line-height: 18px
1112
- }
1113
-
1114
- .rpt_4_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
1115
- font-size: 12px;
1116
- line-height: 17px
1117
- }
1118
-
1119
- .rpt_5_plans .rpt_plan .rpt_head .rpt_description {
1120
- font-size: 12px;
1121
- line-height: 18px
1122
- }
1123
-
1124
- .rpt_5_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
1125
- font-size: 11px;
1126
- line-height: 17px
1127
- }
1128
-
1129
- .rpt_plans .rpt_plan .rpt_features {
1130
- padding: 20px;
1131
- background: #f0ecfb;
1132
- text-align: center
1133
- }
1134
-
1135
- .rpt_plans .rpt_plan .rpt_features .rpt_feature {
1136
- font-size: 16px;
1137
- padding: 6px 16px;
1138
- border-bottom: 1px dotted #d3d3d3
1139
- }
1140
- .rpt_plans .rpt_plan .rpt_features .rpt_feature a {
1141
- color: #333333;
1142
- }
1143
-
1144
- .rpt_plans .rpt_plan .rpt_features .rpt_feature:last-child {
1145
- border-bottom: none
1146
- }
1147
-
1148
- .rpt_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
1149
- font-size: 14px
1150
- }
1151
-
1152
- .rpt_style_bic .rpt_plan .rpt_features, .rpt_style_loc .rpt_plan .rpt_features, .rpt_style_swl .rpt_plan .rpt_features {
1153
- background: #fff
1154
- }
1155
-
1156
- .rpt_style_swl .rpt_plan .rpt_features .rpt_feature {
1157
- padding: 5px 16px
1158
- }
1159
-
1160
- .rpt_4_plans .rpt_plan .rpt_features .rpt_feature {
1161
- padding: 6px 10px;
1162
- font-size: 14px
1163
- }
1164
-
1165
- .rpt_4_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
1166
- font-size: 12px
1167
- }
1168
-
1169
- .rpt_5_plans .rpt_plan .rpt_features .rpt_feature {
1170
- padding: 6px 10px;
1171
- font-size: 13px
1172
- }
1173
-
1174
- .rpt_5_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
1175
- font-size: 11px
1176
- }
1177
-
1178
- .rpt_plans .rpt_plan .rpt_foot {
1179
- display: block;
1180
- padding: 10px 30px;
1181
- border-top: #7559C0 solid 2px;
1182
- background: #7559C0;
1183
- text-align: center;
1184
- color: #fff;
1185
- font-size: 24px;
1186
- text-decoration: none;
1187
- font-weight: 300;
1188
- transition: All .5s ease;
1189
- -webkit-transition: All .5s ease;
1190
- -moz-transition: All .5s ease;
1191
- -o-transition: All .5s ease
1192
- }
1193
-
1194
- .rpt_plans .rpt_sm_button .rpt_plan .rpt_foot {
1195
- font-size: 19px
1196
- }
1197
-
1198
- .rpt_style_basic .rpt_plan .rpt_foot {
1199
- border-bottom-left-radius: 8px;
1200
- border-bottom-right-radius: 8px
1201
- }
1202
-
1203
- .rpt_style_swl .rpt_plan .rpt_foot {
1204
- border-top: none;
1205
- padding: 10px 30px 20px;
1206
- color: #000;
1207
- background: #333
1208
- }
1209
-
1210
- .rpt_4_plans .rpt_plan .rpt_foot {
1211
- padding: 4px 20px;
1212
- font-size: 19px
1213
- }
1214
-
1215
- .rpt_4_plans .rpt_sm_button .rpt_plan .rpt_foot, .rpt_5_plans .rpt_plan .rpt_foot {
1216
- padding: 4px 20px;
1217
- font-size: 17px
1218
- }
1219
-
1220
- .rpt_5_plans .rpt_sm_button .rpt_plan .rpt_foot {
1221
- font-size: 16px
1222
- }
1223
-
1224
- .rpt_plans .rpt_plan .rpt_foot:hover {
1225
- opacity: .8
1226
- }
1227
-
1228
- .rpt_style_swl .rpt_plan .rpt_foot:hover {
1229
- opacity: 1
1230
- }
1231
-
1232
- .rpt_plans .rpt_recommended_plan .rpt_foot {
1233
- font-size: 30px;
1234
- padding: 16px 0
1235
- }
1236
-
1237
- .rpt_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
1238
- font-size: 26px
1239
- }
1240
-
1241
- .rpt_4_plans .rpt_recommended_plan .rpt_foot {
1242
- font-size: 22px;
1243
- font-weight: 300;
1244
- padding: 10px 0
1245
- }
1246
-
1247
- .rpt_4_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
1248
- font-size: 19px;
1249
- padding: 10px 0
1250
- }
1251
-
1252
- .rpt_5_plans .rpt_recommended_plan .rpt_foot {
1253
- font-size: 20px;
1254
- font-weight: 300;
1255
- padding: 10px 0
1256
- }
1257
-
1258
- .rpt_5_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
1259
- font-size: 18px;
1260
- padding: 10px 0
1261
- }
1262
-
1263
- .rpt_custom_btn {
1264
- border-bottom-left-radius: 5px;
1265
- border-bottom-right-radius: 5px;
1266
- text-align: center;
1267
- padding: 16px 20px
1268
- }
1269
-
1270
- .rpt_plans .rpt_recommended_plan {
1271
- position: relative;
1272
- top: -10px
1273
- }
1274
-
1275
- .rpt_recommended_plan img.rpt_recommended {
1276
- position: absolute !important;
1277
- right: 10px !important
1278
- }
1279
-
1280
- .rpt_style_bic .rpt_recommended_plan, .rpt_style_loc .rpt_recommended_plan {
1281
- -webkit-box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39);
1282
- -moz-box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39);
1283
- box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39)
1284
- }
1285
-
1286
- a.rpt_tooltip {
1287
- display: block;
1288
- outline: 0;
1289
- position: relative
1290
- }
1291
-
1292
- a.rpt_tooltip strong {
1293
- line-height: 30px
1294
- }
1295
-
1296
- a.rpt_tooltip > span.intool {
1297
- width: 90%;
1298
- padding: 10px;
1299
- margin-top: 56px;
1300
- opacity: 0;
1301
- visibility: hidden;
1302
- z-index: 10;
1303
- position: absolute;
1304
- top: -15px;
1305
- display: block;
1306
- color: #f5f5f5;
1307
- font-size: 13px;
1308
- line-height: 20px;
1309
- background: #333;
1310
- font-weight: 300;
1311
- text-align: center
1312
- }
1313
-
1314
- a.rpt_tooltip:hover {
1315
- cursor: zoom-in
1316
- }
1317
-
1318
- a.rpt_tooltip .rpt_tooltip_plus {
1319
- text-decoration: none !important;
1320
- display: inline;
1321
- font-size: 12px;
1322
- font-weight: 700;
1323
- position: relative;
1324
- top: -6px
1325
- }
1326
-
1327
- .rpt_feature:hover a.rpt_tooltip > span.intool {
1328
- opacity: .98;
1329
- text-decoration: none;
1330
- visibility: visible;
1331
- overflow: visible
1332
- }
1333
-
1334
- a.rpt_tooltip span.intool b {
1335
- width: 10px;
1336
- height: 10px;
1337
- margin-left: 35%;
1338
- margin-top: -15px;
1339
- position: absolute;
1340
- -webkit-transform: rotate(-45deg);
1341
- -moz-transform: rotate(-45deg);
1342
- -o-transform: rotate(-45deg);
1343
- transform: rotate(-45deg);
1344
- display: none \0/;
1345
- background: #333
1346
- }
1347
-
1348
- .rpt_3_plans a.rpt_tooltip > span.intool {
1349
- margin-left: -1%
1350
- }
1351
-
1352
- .rpt_4_plans a.rpt_tooltip > span.intool {
1353
- margin-left: 0
1354
- }
1355
-
1356
- .rpt_5_plans a.rpt_tooltip > span.intool {
1357
- margin-left: -2%
1358
- }
1359
-
1360
- .entry-content .rpt_plan a, .rpt_plan a {
1361
- border-bottom: none !important;
1362
- text-decoration: none;
1363
- }
1364
-
1365
- .rpt_plans .rpt_plan .rpt_icon {
1366
- max-width: 30px;
1367
- max-height: 30px
1368
- }
1369
-
1370
- .rpt_plans .rpt_plan img {
1371
- display: inline;
1372
- margin: 0 10px 0 0;
1373
- padding: 0;
1374
- -webkit-box-shadow: 0 0 0 0 transparent;
1375
- -moz-box-shadow: 0 0 0 0 transparent;
1376
- box-shadow: 0 0 0 0 transparent;
1377
- border: none
1378
- }
1379
-
1380
- .mystickymenu-testimonial {
1381
- position: relative;
1382
- }
1383
- .mystickymenu-testimonial .testimonial-data {
1384
- position: relative;
1385
- }
1386
- .mystickymenu-testimonial .testimonial-data {
1387
- position: relative;
1388
- margin-left: 30px;
1389
- padding: 10px 10px 10px 40px;
1390
- background: #f5f5f5;
1391
- font-size: 16px;
1392
- line-height: 22px;
1393
- }
1394
- .mystickymenu-testimonial .testimonial-image {
1395
- position: absolute;
1396
- height: 60px;
1397
- width: 60px;
1398
- overflow: hidden;
1399
- border-radius: 30px;
1400
- top: 50%;
1401
- margin-top: -30px;
1402
- z-index: 1;
1403
- }
1404
- .mystickymenu-testimonial .testimonial-image img {
1405
- width: 100%;
1406
- height: auto;
1407
- }
1408
- .mystickymenu-testimonial-list {
1409
- width: 100%;
1410
- max-width: 1080px;
1411
- margin: 30px auto;
1412
- }
1413
- .testimonial-title {
1414
- font-weight: bold;
1415
- font-size: 18px;
1416
- padding: 0 0 5px 0;
1417
- }
1418
- .testimonial-author {
1419
- font-size: 16px;
1420
- font-style: italic;
1421
- font-weight: 500;
1422
- padding: 5px 0 0 0;
1423
- }
1424
- p.udner-title strong {
1425
- font-size: 30px;
1426
- padding-bottom: 40px;
1427
- display: block;
1428
- color: #b97fcf;
1429
- text-align: center;
1430
- }
1431
- p.udner-title {
1432
- margin: 0;
1433
- padding: 0;
1434
- }
1435
- @media only screen and (max-width: 640px) {
1436
- .rpt_plans .rpt_plan {
1437
- width: 96%;
1438
- margin: 10px 2% 20px !important
1439
- }
1440
-
1441
- .rpt_plans .rpt_plan .rpt_title {
1442
- position: relative;
1443
- font-size: 26px !important;
1444
- line-height: 35px !important
1445
- }
1446
-
1447
- .rpt_plans .rpt_plan .rpt_head .rpt_price {
1448
- font-size: 74px !important;
1449
- line-height: 100px !important
1450
- }
1451
-
1452
- .rpt_plans .rpt_plan .rpt_head .rpt_subtitle {
1453
- font-size: 17px !important;
1454
- line-height: 28px !important;
1455
- padding: 10px 40px 20px
1456
- }
1457
-
1458
- .rpt_plans .rpt_plan .rpt_head .rpt_description {
1459
- font-size: 15px !important;
1460
- line-height: 26px !important;
1461
- padding: 0 40px 30px
1462
- }
1463
-
1464
- .rpt_plans .rpt_plan .rpt_features .rpt_feature {
1465
- padding: 6px 16px;
1466
- font-size: 14px !important
1467
- }
1468
-
1469
- .rpt_plans .rpt_plan .rpt_foot {
1470
- padding: 10px 40px;
1471
- text-align: center;
1472
- color: #fff;
1473
- font-size: 20px
1474
- }
1475
-
1476
- .rpt_plans .rpt_recommended_plan .rpt_foot {
1477
- font-size: 30px;
1478
- font-weight: 300;
1479
- padding: 20px 0
1480
- }
1481
-
1482
- .rpt_plan .rpt_head .rpt_price .rpt_currency {
1483
- top: -36px !important;
1484
- left: -10px !important;
1485
- font-size: 35px !important
1486
- }
1487
- }
1488
-
1489
- #rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature, #rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature a, #rpt_pricr .rpt_plan_ori .rpt_foot, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_description, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_price, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_price .rpt_currency, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_recurrence, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_subtitle, #rpt_pricr .rpt_plan_ori .rpt_title {
1490
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
1491
- font-weight: 300 !important
1492
- }
1493
-
1494
- .client-testimonial {
1495
- margin: 20px auto 0px;
1496
- -webkit-border-radius: 5px;
1497
- -moz-border-radius: 5px;
1498
- border-radius: 5px;
1499
- }
1500
- .client-testimonial span.dashicons.dashicons-yes {
1501
- background: #00bd00;
1502
- color: #fff;
1503
- border-radius: 50%;
1504
- -webkit-border-radius: 50%;
1505
- -moz-border-radius: 50%;
1506
- }
1507
- .client-testimonial p.text-center {
1508
- text-align: center;
1509
- margin: 6px 0;
1510
- font-size: 14px;
1511
- }
1512
- .client-testimonial .payment {
1513
- margin: 20px 0;
1514
- text-align: center;
1515
- }
1516
- .testimonial-image {
1517
- width: 10%;
1518
- display: inline-block;
1519
- vertical-align: middle;
1520
- }
1521
- .testimonial-content {
1522
- width: 85%;
1523
- display: inline-block;
1524
- vertical-align: middle;
1525
- padding-left: 15px;
1526
- }
1527
- .testimonial-image img {
1528
- border-radius: 50%;
1529
- -webkit-border-radius: 50%;
1530
- -moz-border-radius: 50%;
1531
- width: 100%;
1532
- height: auto;
1533
- }
1534
- .client-testimonial .author {
1535
- font-weight: bold;
1536
- padding: 5px 0 0 0;
1537
- font-size: 14px;
1538
- }
1539
- .testimonial-box {
1540
- padding: 15px;
1541
- background: #d6efff;
1542
- -webkit-border-radius: 5px;
1543
- -moz-border-radius: 5px;
1544
- border-radius: 5px;
1545
- }
1546
-
1547
- /*01-08-2019 welcome bar css*/
1548
- #sticky-header-welcome-bar *, #sticky-header-welcome-bar ::before, #sticky-header-welcome-bar ::after {
1549
- -webkit-box-sizing: border-box;
1550
- -moz-box-sizing: border-box;
1551
- box-sizing: border-box;
1552
- }
1553
- #sticky-header-welcome-bar .iris-picker, #sticky-header-welcome-bar .iris-picker * {
1554
- -moz-box-sizing: content-box;
1555
- -webkit-box-sizing: content-box;
1556
- box-sizing: content-box;
1557
- }
1558
- .mysticky-welcomebar-switch {
1559
- display: inline-block;
1560
- width:55px;
1561
- height:30px;
1562
- position: relative;
1563
- }
1564
- .mysticky-welcomebar-switch input {
1565
- opacity: 0;
1566
- width: 0;
1567
- height: 0;
1568
- }
1569
- .mysticky-welcomebar-switch .slider {
1570
- border-radius: 15px;
1571
- position: absolute;
1572
- cursor: pointer;
1573
- top: 0;
1574
- left: 0;
1575
- right: 0;
1576
- bottom: 0;
1577
- background-color: #ccc;
1578
- border: 2px solid #ccc;
1579
- -webkit-transition: .4s;
1580
- transition: .4s;
1581
- }
1582
- .mysticky-welcomebar-switch .slider:before {
1583
- border-radius: 50%;
1584
- position: absolute;
1585
- content: "";
1586
- height: 24px;
1587
- width: 24px;
1588
- left: 2px;
1589
- top: 1px;
1590
- background-color: #ffffff;
1591
- -webkit-transition: .4s;
1592
- transition: .4s;
1593
- }
1594
- .mysticky-welcomebar-switch input:checked + .slider {
1595
- background-color: #7761DF;
1596
- border: 2px solid #7761DF;
1597
- }
1598
- .mysticky-welcomebar-switch input:focus + .slider {
1599
- box-shadow: 0 0 1px #2196F3;
1600
- }
1601
- .mysticky-welcomebar-switch input:checked + .slider:before {
1602
- -webkit-transform: translateX(24px);
1603
- -ms-transform: translateX(24px);
1604
- transform: translateX(24px);
1605
- }
1606
- .mysticky-welcomebar-form {
1607
- background-color: #f8fcfd;
1608
- border: 1px solid #E1E6E6;
1609
- padding: 20px;
1610
- border-radius: 7px;
1611
- position: relative;
1612
- }
1613
- .mysticky-welcomebar-header-title h3 {
1614
- margin: 0;
1615
- font-size: 26px;
1616
- color: #4F4F4F;
1617
- line-height: 1.2;
1618
- display: inline-block;
1619
- vertical-align: top;
1620
- }
1621
- .mysticky-welcomebar-header-title h3 + .mysticky-welcomebar-switch {
1622
- margin-left: 20px;
1623
- }
1624
- .mysticky-welcomebar-subheader-title {
1625
- padding: 40px 0 30px;
1626
- }
1627
- .mysticky-welcomebar-subheader-title h4 {
1628
- margin: 0;
1629
- font-weight: 400;
1630
- font-size: 22px;
1631
- line-height: 1.2;
1632
- color: #4F4F4F;
1633
- }
1634
- .mysticky-welcomebar-setting-content {
1635
- display: flex;
1636
- /*align-items: center;*/
1637
- padding-bottom: 20px;
1638
- }
1639
- .mysticky-welcomebar-setting-content.show-on-apper {
1640
- align-items: flex-start;
1641
- }
1642
- .mysticky-welcomebar-setting-content > label {
1643
- font-size: 18px;
1644
- line-height: 1.2;
1645
- color: #4F4F4F;
1646
- font-weight: 500;
1647
- margin-top: 10px;
1648
- width: 210px;
1649
- padding-right: 10px;
1650
- }
1651
- .mysticky-welcomebar-setting-content.show-on-apper > label {
1652
- margin-top: 10px;
1653
- }
1654
- .mysticky-welcomebar-setting-content-right {
1655
- width: 100%;
1656
- align-items: center;
1657
- display: flex;
1658
- }
1659
- .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade {
1660
- display: inline-block;
1661
- vertical-align: top;
1662
- float: none;
1663
- margin-left: 20px;
1664
- }
1665
- .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {
1666
- margin-left: 50px;
1667
- }
1668
- .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-remove-getbar .myStickymenu-upgrade {
1669
- margin-left: 130px;
1670
- }
1671
- .mysticky-welcomebar-setting-content-right.mysticky-welcomebar-colorpicker .wp-picker-container{
1672
- display: inline-block;
1673
- }
1674
- .mysticky-welcomebar-setting-content-right label {
1675
- display: inline-block;
1676
- vertical-align: top;
1677
- width: 100px;
1678
- padding-right: 10px;
1679
- }
1680
- .mysticky-welcomebar-setting-content-right .wp-picker-input-wrap label {
1681
- width: auto;
1682
- }
1683
- .mysticky-welcomebar-setting-content-right .mysticky-welcomebar-trigger-wrap label {
1684
- width: auto;
1685
- }
1686
- #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input {
1687
- padding-right: 60px;
1688
- }
1689
- .mysticky-welcomebar-setting-content-right select ,
1690
- .mysticky-welcomebar-setting-content-right input[type="text"] ,
1691
- .mysticky-welcomebar-setting-content-right textarea {
1692
- width: 310px;
1693
- height: 42px;
1694
- border-radius: 20px;
1695
- color: #32373c;
1696
- display: block;
1697
- padding: 0 10px;
1698
- box-shadow: none;
1699
- border: 1px solid #DCE2E2;
1700
- margin: 0;
1701
- font-size: 14px;
1702
- font-weight: 400;
1703
- }
1704
- .mysticky-welcomebar-setting-content-right select {
1705
- padding-right: 22px;
1706
- }
1707
- .mysticky-welcomebar-setting-content-right textarea {
1708
- height: 100px;
1709
- border-radius: 10px;
1710
- padding-top: 9px;
1711
- }
1712
- #mystickymenu .wp-picker-container input[type="text"].wp-color-picker {
1713
- border-radius: 0;
1714
- height: 32px;
1715
- border: 1px solid #DCE2E2;
1716
- }
1717
- #mystickymenu .wp-picker-input-wrap .button {
1718
- height: 32px;
1719
- }
1720
- #mystickymenu .form-table .wp-picker-input-wrap label {
1721
- padding-right: 10px;
1722
- }
1723
- .mysticky-welcomebar-setting-action {
1724
- display: inline-block;
1725
- vertical-align: top;
1726
- }
1727
- .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
1728
- padding-left: 10px;
1729
- }
1730
- .mysticky-welcomebar-redirect label {
1731
- width: auto;
1732
- padding-right: 0;
1733
- padding-top: 10px;
1734
- }
1735
- .mysticky-welcomebar-expirydate {
1736
- position: relative;
1737
- display: inline-block;
1738
- vertical-align: top;
1739
- }
1740
- .mysticky-welcomebar-setting-content-right .mysticky-welcomebar-expirydate input {
1741
- padding-left: 55px;
1742
- }
1743
- .mysticky-welcomebar-expirydate .dashicons {
1744
- position: absolute;
1745
- top: 0;
1746
- left: 0;
1747
- bottom: 0;
1748
- color: #a7a7a7;
1749
- border-right: 1px solid #a7a7a7;
1750
- width: 46px;
1751
- height: 100%;
1752
- line-height: 40px;
1753
- }
1754
- a.create-rule {
1755
- background-color: #7761DF;
1756
- color: #fff;
1757
- display: inline-block;
1758
- margin: 10px 0 0;
1759
- vertical-align: top;
1760
- text-decoration: none;
1761
- padding: 5px 12px;
1762
- border-radius: 20px;
1763
- box-shadow: none;
1764
- outline: none;
1765
- }
1766
- .mysticky-welcomebar-upgrade-main {
1767
- position: relative;
1768
- vertical-align: top;
1769
- width: 100%;
1770
- padding-right: 10px;
1771
- padding-bottom: 0;
1772
- }
1773
- .mysticky-welcomebar-upgrade-main .myStickymenu-upgrade {
1774
- float: right;
1775
- }
1776
- .mysticky-welcomebar-page-option {
1777
- margin-bottom: 20px;
1778
- position: relative;
1779
- }
1780
- .mysticky-welcomebar-page-option select {
1781
- width: 230px;
1782
- }
1783
- .mysticky-welcomebar-page-option .myStickymenu-upgrade {
1784
- display: none;
1785
- position: absolute;
1786
- top: 9px;
1787
- left: 50%;
1788
- -webkit-transform: translateX(-50%);
1789
- -moz-transform: translateX(-50%);
1790
- transform: translateX(-50%);
1791
- text-align: center;
1792
- margin-left: 0;
1793
- }
1794
- .mysticky-welcomebar-page-option .myStickymenu-upgrade a {
1795
- padding-top: 5px;
1796
- padding-bottom: 7px;
1797
- padding-left: 20px;
1798
- padding-right: 20px;
1799
- font-size: 14px;
1800
- box-shadow: 0 0 3px #999;
1801
- }
1802
- .mysticky-welcomebar-page-option:hover .myStickymenu-upgrade {
1803
- display: block;
1804
- }
1805
- .mysticky-welcomebar-page-option .url-content {
1806
- /*display: flex;*/
1807
- overflow:hidden;
1808
- align-items: center;
1809
- }
1810
- .mysticky-welcomebar-page-option .url-content > div {
1811
- padding: 0 5px;
1812
- float: left;
1813
-
1814
- }
1815
-
1816
- .mysticky-welcomebar-page-option .url-content .mysticky-welcomebar-url-values,
1817
- .mysticky-welcomebar-page-option .url-content .mysticky-welcomebar-url-option{
1818
- width: 20%;
1819
- }
1820
- .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {
1821
- width: 28%;
1822
- text-align: right;
1823
- margin-top: 10px;
1824
- }
1825
-
1826
- /*.mysticky-welcomebar-page-option .url-content select {
1827
- width: 120px;
1828
- }
1829
- */
1830
- .mysticky-welcomebar-page-option .url-content input[type="text"] {
1831
- height: 38px;
1832
- padding: 0 15px;
1833
- border-radius: 0;
1834
- }
1835
-
1836
- .mysticky-page-option .myStickymenu-upgrade {
1837
- float: none;
1838
- position: absolute;
1839
- top: 0;
1840
- left: 50%;
1841
- /* right: 0; */
1842
- text-align: center;
1843
- /* background-color: rgba(0,0,0,0.6); */
1844
- bottom: 0;
1845
- border-radius: 10px;
1846
- display: none;
1847
- align-items: center;
1848
- justify-content: center;
1849
- -webkit-transform: translateX(-50%);
1850
- -moz-transform: translateX(-50%);
1851
- transform: translateX(-50%);
1852
- }
1853
- .mysticky-page-option:hover .myStickymenu-upgrade {
1854
- display: flex;
1855
- }
1856
- .mysticky-page-option .myStickymenu-upgrade a {
1857
- padding-top: 5px;
1858
- padding-bottom: 7px;
1859
- padding-left: 20px;
1860
- padding-right: 20px;
1861
- font-size: 14px;
1862
- box-shadow: 0 0 3px #999;
1863
- }
1864
- .mysticky-page-option {
1865
- background-color: #fff;
1866
- padding: 10px;
1867
- margin-bottom: 10px;
1868
- border: 1px solid #DCE2E2;
1869
- border-radius: 10px;
1870
- position: relative;
1871
- }
1872
- .mysticky-page-option .url-content {
1873
- display: flex;
1874
- align-items: center;
1875
- }
1876
- .mysticky-page-option .url-content > div {
1877
- padding: 0 5px;
1878
- }
1879
- .mysticky-page-option .url-content > div.mysticky-welcomebar-url-box {
1880
- width: 260px;
1881
- text-align: right;
1882
- }
1883
- .mysticky-page-option .url-content > div.mysticky-welcomebar-url-box {
1884
- width: 300px;
1885
- }
1886
- .mysticky-page-option .url-content select {
1887
- width: 250px;
1888
- }
1889
- .mysticky-page-option .url-content input[type="text"] {
1890
- height: 38px;
1891
- padding: 0 15px;
1892
- border-radius: 0;
1893
- }
1894
- .mystickymenu-page-target-wrap {
1895
- padding-bottom: 20px;
1896
- }
1897
-
1898
- .mysticky-welcomebar-remove-rule ,
1899
- .mysticky-remove-rule {
1900
- color: #fff;
1901
- background-color: #666;
1902
- text-decoration: none;
1903
- display: inline-block;
1904
- vertical-align: top;
1905
- width: 38px;
1906
- height: 38px;
1907
- text-align: center;
1908
- border-radius: 4px;
1909
- font-size: 22px;
1910
- line-height: 35px;
1911
- }
1912
- .mysticky-welcomebar-page-options {
1913
- display: inline-block;
1914
- vertical-align: top;
1915
- }
1916
- .mysticky-welcomebar-setting-right {
1917
- position: absolute;
1918
- top: 32px;
1919
- right: 50px;
1920
- width: 500px;
1921
- }
1922
- .mysticky-welcomebar-header-title::after {
1923
- content: "";
1924
- display: block;
1925
- clear: both;
1926
- }
1927
- .mysticky-welcomebar-preview-window {
1928
- float: right;
1929
- }
1930
- .mysticky-welcomebar-header-title {
1931
- padding-bottom: 20px;
1932
- }
1933
- .mysticky-welcomebar-preview-window ul {
1934
- margin: 0;
1935
- padding: 0;
1936
- }
1937
- .mysticky-welcomebar-preview-window ul li {
1938
- color: #7761DF;
1939
- display: inline-block;
1940
- vertical-align: top;
1941
- width: 36px;
1942
- height: 36px;
1943
- background-color: #DFDDF7;
1944
- border-radius: 50%;
1945
- text-align: center;
1946
- line-height: 36px;
1947
- margin-bottom: 0;
1948
- margin-left: 10px;
1949
- }
1950
- .mysticky-welcomebar-preview-window ul li.preview-active {
1951
- color: #fff;
1952
- background-color: #7761DF;
1953
- }
1954
- .mysticky-welcomebar-preview-window ul li .dashicons {
1955
- line-height: 36px;
1956
- }
1957
- .mysticky-welcomebar-preview-screen {
1958
- background-color: #ffffff;
1959
- border: 1px solid #DCE2E2;
1960
- border-radius: 10px;
1961
- margin: 0 auto;
1962
- padding: 0;
1963
- height: 400px;
1964
- position: relative;
1965
- overflow: hidden;
1966
- max-width: 100%;
1967
- -webkit-transition: all 0.5s ease 0s;
1968
- -moz-transition: all 0.5s ease 0s;
1969
- transition: all 0.5s ease 0s;
1970
- }
1971
- .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
1972
- max-width: 320px;
1973
- }
1974
- .mysticky-welcomebar-submit {
1975
- float: right;
1976
- padding-top: 50px;
1977
- margin-right: -20px;
1978
- }
1979
- .mysticky-welcomebar-form-reset .mysticky-welcomebar-submit {
1980
- margin-right: 0;
1981
- padding-top: 30px;
1982
- }
1983
- .mysticky-welcomebar-submit input.button-secondary {
1984
- background: #969696;
1985
- border-color: #969696;
1986
- color: #ffffff;
1987
- text-transform: uppercase;
1988
- border-radius: 31px;
1989
- font-size: 26px;
1990
- margin-right: 10px;
1991
- padding-left: 23px;
1992
- padding-right: 23px;
1993
- height: 60px;
1994
- width: 200px;
1995
- border: 0;
1996
- box-shadow: none;
1997
- font-weight: 600;
1998
- text-shadow: none;
1999
- }
2000
- .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-buttons {
2001
- padding-right: 0;
2002
- }
2003
- .ui-dialog-buttonset .green-btn.ui-button {
2004
- background-color: #00c67c;
2005
- border-color: #00c67c;
2006
- color: #fff;
2007
- }
2008
- .mysticky-welcomebar-setting-content-right.mysticky-welcomebar-setting-redirect-wrap {
2009
- display: block;
2010
- }
2011
- .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-redirect-wrap .myStickymenu-upgrade {
2012
- margin-top: 7px;
2013
- }
2014
- .updates-form-form {
2015
- min-height: calc(100vh - 280px);
2016
- }
2017
- .popup-form-content {
2018
- background: #ffffff;
2019
- min-height: 100px;
2020
- width: 450px;
2021
- text-align: center;
2022
- margin-top: 50px;
2023
- border: solid 1px #c1c1c1;
2024
- }
2025
- .updates-content-buttons button {
2026
- margin: 10px 3px !important;
2027
- float: left;
2028
- }
2029
- .updates-content-buttons a span {
2030
- -webkit-animation: fa-spin 0.75s infinite linear;
2031
- animation: fa-spin 0.75s infinite linear;
2032
- }
2033
- .updates-content-buttons a:hover, .updates-content-buttons a:focus {
2034
- color: #ffffff;
2035
- background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
2036
- }
2037
- .updates-content-buttons a:focus {
2038
- outline: 0;
2039
- box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50,100,150,.4);
2040
- }
2041
- .updates-content-buttons button.form-cancel-btn {
2042
- float: right !important;
2043
- }
2044
- .form-submit-btn {
2045
- background-color: #3085d6;
2046
- }
2047
- .updates-content-buttons a span {
2048
- -webkit-animation: fa-spin 0.75s infinite linear;
2049
- animation: fa-spin 0.75s infinite linear;
2050
- }
2051
- .add-update-mystickymenu-title {
2052
- font-size: 20px;
2053
- line-height: 30px;
2054
- padding: 20px 20px 0;
2055
- }
2056
- .mystickymenu-form-input {
2057
- padding: 10px 20px;
2058
- }
2059
- .mystickymenu-form-input input {
2060
- width: 100%;
2061
- transition: border-color .3s,box-shadow .3s;
2062
- border: 1px solid #d9d9d9;
2063
- border-radius: .1875em;
2064
- font-size: 1.125em;
2065
- box-shadow: inset 0 1px 1px rgba(0,0,0,.06);
2066
- box-sizing: border-box;
2067
- height: 2.625em;
2068
- margin: 1em auto;
2069
- }
2070
- .updates-content-buttons {
2071
- background: #c1c1c1;
2072
- padding: 0 20px;
2073
- }
2074
- div#wp-mysticky_bar_text-wrap {
2075
- width: 40%;
2076
- }
2077
-
2078
- .mystickymenu-popup {
2079
- position: fixed;
2080
- width: 100%;
2081
- height: 100%;
2082
- top: 0;
2083
- left: 0;
2084
- z-index: 100001;
2085
- background: rgba(0, 0, 0, .75)
2086
- }
2087
-
2088
- .mystickymenu-popup-box {
2089
- padding: 0;
2090
- width: 600px;
2091
- max-width: 100%;
2092
- margin: auto;
2093
- top: 50%;
2094
- position: absolute;
2095
- left: 0;
2096
- right: 0;
2097
- border-radius: 5px;
2098
- transform: translate(0, -50%);
2099
- -webkit-transform: translate(0, -50%);
2100
- -moz-transform: translate(0, -50%);
2101
- text-align: center;
2102
- background: #fcfcfc
2103
- }
2104
-
2105
- .mystickymenu-popup-header {
2106
- padding: 15px;
2107
- font-size: 20px;
2108
- border-bottom: solid 1px #e6e6e6
2109
- }
2110
-
2111
- .mystickymenu-popup-content {
2112
- background: #fff;
2113
- padding: 15px;
2114
- font-size: 14px;
2115
- line-height: 20px
2116
- }
2117
-
2118
- .mystickymenu-popup-content iframe {
2119
- margin: 30px 0
2120
- }
2121
-
2122
- .mystickymenu-popup-footer {
2123
- padding: 15px;
2124
- border-top: solid 1px #e6e6e6
2125
- }
2126
-
2127
- .mystickymenu-popup-footer button {
2128
- border: none;
2129
- padding: 10px 20px;
2130
- border-radius: 4px;
2131
- background: #00c478;
2132
- color: #fff;
2133
- cursor: pointer;
2134
- }
2135
-
2136
- .close-mystickymenu-popup {
2137
- margin: 0;
2138
- padding: 0;
2139
- background: 0 0;
2140
- border: none;
2141
- float: right;
2142
- background: #000;
2143
- border-radius: 50%;
2144
- color: #fff;
2145
- text-align: center;
2146
- width: 24px;
2147
- height: 24px;
2148
- cursor: pointer;
2149
- }
2150
-
2151
- .close-mystickymenu-popup span {
2152
- line-height: 24px
2153
- }
2154
- @-webkit-keyframes fa-spin {
2155
- 0% {
2156
- -webkit-transform: rotate(0deg);
2157
- transform: rotate(0deg);
2158
- }
2159
- 100% {
2160
- -webkit-transform: rotate(359deg);
2161
- transform: rotate(359deg);
2162
- }
2163
- }
2164
- @media only screen and (max-width: 1490px) {
2165
- .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2166
- padding-left: 10px;
2167
- }
2168
- .mysticky-welcomebar-setting-right {
2169
- width: 400px;
2170
- }
2171
- }
2172
- @media only screen and (max-width: 1355px) {
2173
- .mysticky-welcomebar-page-option .url-content select {
2174
- width: 130px;
2175
- }
2176
- .mysticky-welcomebar-page-option .url-content input[type="text"] {
2177
- width: 180px;
2178
- }
2179
- .mysticky-welcomebar-setting-action {
2180
- display: block;
2181
- }
2182
- .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2183
- padding-left: 0;
2184
- padding-top: 10px;
2185
- }
2186
- }
2187
- @media only screen and (max-width: 1200px) {
2188
- .mysticky-welcomebar-page-option .url-content select {
2189
- width: 110px;
2190
- }
2191
- .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {
2192
- width: 230px;
2193
- }
2194
- .mysticky-welcomebar-page-option {
2195
- padding: 10px 3px;
2196
- }
2197
- .mysticky-welcomebar-page-option .url-content input[type="text"] {
2198
- width: 150px;
2199
- }
2200
- }
2201
- @media only screen and (max-width: 1100px) {
2202
- .mysticky-welcomebar-setting-right {
2203
- width: 340px;
2204
- right: 40px;
2205
- }
2206
- }
2207
- @media only screen and (max-width: 1024px) {
2208
- .mysticky-welcomebar-setting-right {
2209
- right: 40px;
2210
- width: 310px;
2211
- }
2212
- .mysticky-welcomebar-setting-content > label {
2213
- font-size: 16px;
2214
- width: 200px;
2215
- padding-right: 10px;
2216
- }
2217
- .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
2218
- max-width: 250px;
2219
- }
2220
- }
2221
-
2222
-
2223
-
2224
- .mysticky-custom-fields-tooltip{
2225
- position: relative;
2226
- margin-left: 20px;
2227
- }
2228
- .mysticky-custom-fields-tooltip:hover p {
2229
- bottom: 100%;
2230
- opacity: 1;
2231
- visibility: visible;
2232
- }
2233
-
2234
- .mysticky-custom-fields-tooltip a.mysticky-tooltip {
2235
- width: 20px;
2236
- height: 20px;
2237
- line-height: 20px;
2238
- border-radius: 35px;
2239
- padding: 0;
2240
- text-align: center;
2241
- font-size: 12px;
2242
- display: inline-block;
2243
- color: #ffffff;
2244
- text-decoration: none;
2245
- }
2246
- .mysticky-custom-fields-tooltip a.mysticky-tooltip .dashicons{
2247
- text-transform: uppercase;
2248
- color: #1E1E1E;
2249
- }
2250
- .mysticky-custom-fields-tooltip p {
2251
- margin: 0;
2252
- margin-bottom: 0px;
2253
- background-color: #000;
2254
- width: 380px;
2255
- padding: 10px 10px;
2256
- border-radius: 8px;
2257
- color: #fff;
2258
- position: absolute;
2259
- bottom: 200%;
2260
- left: -20px;
2261
- margin-bottom: 10px;
2262
- -webkit-transition: all 0.5s ease 0s;
2263
- -moz-transition: all 0.5s ease 0s;
2264
- transition: all 0.5s ease 0s;
2265
- opacity: 0;
2266
- visibility: hidden;
2267
- }
2268
- .mysticky-custom-fields-tooltip p::before {
2269
- content: "";
2270
- border-top: 10px solid #000;
2271
- border-left: 10px solid transparent;
2272
- border-right: 10px solid transparent;
2273
- width: 0;
2274
- height: 0;
2275
- position: absolute;
2276
- bottom: -8px;
2277
- left: 25px;
2278
  }
1
+ @font-face {
2
+ font-family: 'poppinsregular';
3
+ src: url('../fonts/poppins-regular-webfont.woff2') format('woff2'),
4
+ url('../fonts/poppins-regular-webfont.woff') format('woff');
5
+ font-weight: normal;
6
+ font-style: normal;
7
+
8
+ }
9
+
10
+ @font-face {
11
+ font-family: 'poppinsbold';
12
+ src: url('../fonts/poppins-bold-webfont.woff2') format('woff2'),
13
+ url('../fonts/poppins-bold-webfont.woff') format('woff');
14
+ font-weight: normal;
15
+ font-style: normal;
16
+
17
+ }
18
+
19
+ @font-face {
20
+ font-family: 'poppins_lightregular';
21
+ src: url('../fonts/poppins-light-webfont.woff2') format('woff2'),
22
+ url('../fonts/poppins-light-webfont.woff') format('woff');
23
+ font-weight: normal;
24
+ font-style: normal;
25
+
26
+ }
27
+
28
+ #custom-handle {
29
+ width: 3em;
30
+ height: 1.6em;
31
+ top: 50%;
32
+ margin-top: -.8em;
33
+ text-align: center;
34
+ line-height: 1.6em;
35
+ }
36
+
37
+ #mystickymenu {
38
+ font-family: 'poppinsregular', sans-serif;
39
+ }
40
+
41
+ .main-content {
42
+ float: left;
43
+ width: 65%;
44
+ }
45
+
46
+ .main-sidebar {
47
+ float: right;
48
+ width: 30%;
49
+ background: #ffffff;
50
+ border: 1px solid #e5e5e5;
51
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
52
+ }
53
+
54
+ .main-sidebar h3 {
55
+ margin: 0;
56
+ padding: 8px 12px;
57
+ border-bottom: 1px solid #ececec;
58
+ }
59
+
60
+ .main-sidebar .inner {
61
+ padding: 10px;
62
+ }
63
+
64
+ .main-sidebar p {
65
+ padding: 8px;
66
+ margin: 0;
67
+ border-top: solid 1px #e5e5e5;
68
+ }
69
+
70
+ /*.mystickyinput {padding-top: 6px;}*/
71
+ @media screen and (max-width: 782px) {
72
+ .main-content, .main-sidebar {
73
+ width: 100%;
74
+ float: none;
75
+ clear: both;
76
+ }
77
+ }
78
+
79
+ .myssticky-remove-hand {
80
+ cursor: default;
81
+ }
82
+
83
+ /* */
84
+ .mystickymenu-content-section input[type="number"]#myfixed_zindex {
85
+ -moz-appearance: textfield-multiline;
86
+ }
87
+
88
+ .mystickymenu-content-section input[type="number"] {
89
+ -moz-appearance: textfield;
90
+ }
91
+
92
+ .mystickymenu-content-section input[type="number"]::-webkit-inner-spin-button, .mystickymenu-content-section input[type="number"]::-webkit-outer-spin-button {
93
+ -webkit-appearance: none;
94
+ margin: 0;
95
+ }
96
+
97
+ .mystickymenu-content-section .mysticky-number {
98
+ display: inline-block;
99
+ margin: 0 0 10px;
100
+ position: relative;
101
+ }
102
+
103
+ #mystickymenu .mystickymenu-content-section .mysticky-number {
104
+ /*width: 90px;*/
105
+ }
106
+
107
+ #mystickymenu input[type=number] {
108
+ color: #A7A7A7;
109
+ border-radius: 21px;
110
+ background-color: #ffffff;
111
+ border: 1px solid #DCE2E2;
112
+ font-size: 14px;
113
+ font-weight: 400;
114
+ height: 42px;
115
+ padding: 0 10px 0 12px;
116
+ margin: 0;
117
+ width: 310px;
118
+ box-shadow: none;
119
+ }
120
+
121
+ .pt_number {
122
+ display: inline-block;
123
+ vertical-align: top;
124
+ margin-top: 7px;
125
+ }
126
+
127
+ .mysticky-welcomebar-setting-content-right input[type="text"]:disabled {
128
+ color: #a0a5aa;
129
+ border-color: #ddd;
130
+ background-color: #f7f7f7;
131
+ }
132
+
133
+ .mystickymenu-content-section .mysticky-number:focus {
134
+ outline: 0;
135
+ }
136
+
137
+ .mystickymenu-content-section .mysticky-number .pt_number {
138
+ float: left;
139
+ position: relative;
140
+ height: 30px;
141
+ }
142
+
143
+ .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton {
144
+ position: relative;
145
+ cursor: pointer;
146
+ border-left: 1px solid #b7b7b7;
147
+ width: 15px;
148
+ text-align: center;
149
+ color: #333;
150
+ font-size: 14px;
151
+ line-height: 1.1;
152
+ -webkit-transform: translateX(-100%);
153
+ transform: translateX(-100%);
154
+ -webkit-user-select: none;
155
+ -moz-user-select: none;
156
+ -ms-user-select: none;
157
+ user-select: none;
158
+ }
159
+
160
+ .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton:active {
161
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
162
+ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
163
+ }
164
+
165
+ .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton.pt_numberup {
166
+ position: absolute;
167
+ height: 50%;
168
+ top: 0;
169
+ border-bottom: 1px solid #b7b7b7;
170
+ }
171
+
172
+ .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton.pt_numberdown {
173
+ position: absolute;
174
+ bottom: 0px;
175
+ height: 50%;
176
+ }
177
+
178
+ /* */
179
+
180
+ input#mysticky_class_selector {
181
+ border-radius: 24px;
182
+ border: 1px solid #E6E5EC;
183
+ height: 46px;
184
+ padding: 0 26px;
185
+ width: 49%
186
+ }
187
+
188
+ .mystickymenu-content-section {
189
+ background-color: #F9FCFC;
190
+ border-radius: 7px;
191
+ margin-bottom: 20px;
192
+ border: 1px solid #E1E6E6;
193
+ }
194
+
195
+ input#myfixed_disable_small_screen {
196
+ border-radius: 21px;
197
+ }
198
+
199
+ input#mysticky_active_on_height_home {
200
+ border-radius: 21px;
201
+ }
202
+
203
+ textarea#myfixed_cssstyle {
204
+ width: 100%;
205
+ margin-top: 12px;
206
+ border-radius: 10px;
207
+ background-color: #fff;
208
+ height: 120px;
209
+ resize: none;
210
+ border: 1px solid #DCE2E2;
211
+ padding: 10px 10px;
212
+ }
213
+
214
+ label {
215
+ font-size: 15px;
216
+ }
217
+
218
+ .sticky-class-sec tr td {
219
+ width: 50%;
220
+ }
221
+
222
+ .px-wrap {
223
+ position: relative;
224
+ display: inline-block;
225
+ vertical-align: top;
226
+ }
227
+
228
+ .mystickymenu-content-option {
229
+ padding: 20px 20px 0;
230
+ }
231
+
232
+ .mystickymenu-heading {
233
+ padding-bottom: 20px;
234
+ }
235
+
236
+ .myStickymenu-header-title {
237
+ background-color: #B2D2FC;
238
+ padding: 13px 20px;
239
+ border-radius: 10px 10px 0 0;
240
+ }
241
+
242
+ .myStickymenu-header-title h3 {
243
+ margin: 0;
244
+ color: #1F4B84;
245
+ font-size: 18px;
246
+ font-weight: 600;
247
+ line-height: 1.2;
248
+ }
249
+
250
+ .mystickymenu-heading p {
251
+ background-color: #D6EFFF;
252
+ color: #1F4B84;
253
+ border-radius: 0 0 10px 10px;
254
+ padding: 13px 20px;
255
+ margin: 0;
256
+ font-size: 14px;
257
+ line-height: 28px;
258
+ }
259
+
260
+ .mystickynumber {
261
+ position: relative;
262
+ padding-left: 30px;
263
+ }
264
+
265
+ .pt_numberbutton.pt_numberup {
266
+ height: 25px;
267
+ width: 25px;
268
+ line-height: 25px;
269
+ background-color: #808080;
270
+ border-radius: 50%;
271
+ position: relative;
272
+ margin-left: 5px;
273
+ display: inline-block;
274
+ color: white;
275
+ font-size: 21px;
276
+ cursor: pointer;
277
+ text-align: center;
278
+ margin-top: 2px;
279
+ }
280
+
281
+ .pt_numberbutton.pt_numberdown {
282
+ height: 25px;
283
+ width: 25px;
284
+ line-height: 25px;
285
+ background-color: #808080;
286
+ border-radius: 50%;
287
+ position: absolute;
288
+ top: 8px;
289
+ left: 0;
290
+ display: inline-block;
291
+ color: white;
292
+ font-size: 21px;
293
+ cursor: pointer;
294
+ text-align: center;
295
+ }
296
+
297
+ span.input-px {
298
+ height: 42px;
299
+ width: 57px;
300
+ background-color: #808080;
301
+ position: absolute;
302
+ right: 0;
303
+ top: 0px;
304
+ display: inline-block;
305
+ vertical-align: top;
306
+ font-size: 14px;
307
+ border-radius: 0 21px 21px 0;
308
+ color: #fff;
309
+ line-height: 42px;
310
+ text-align: center;
311
+ }
312
+
313
+ .mysticky_device_upgrade {
314
+ background-color: #f0ecfb;
315
+ border-radius: 20px;
316
+ padding: 15px 40px 20px 20px;
317
+ }
318
+
319
+ .mystickymenu-content-section.mystickymenu-content-upgrade {
320
+ background-color: #f4f4fd;
321
+ }
322
+
323
+ .myStickymenu-upgrade a {
324
+ background: #E1DAF6;
325
+ border-radius: 20px;
326
+ color: #7559C0;
327
+ padding-top: 2px;
328
+ padding-bottom: 6px;
329
+ padding-left: 10px;
330
+ padding-right: 10px;
331
+ font-weight: bold;
332
+ text-transform: uppercase;
333
+ font-size: 12px;
334
+ display: inline-block;
335
+ vertical-align: top;
336
+ line-height: 1;
337
+ }
338
+ .myStickymenu-upgrade {
339
+ float: right;
340
+ }
341
+
342
+ .myStickymenu-upgrade a:before {
343
+ content: "\f160";
344
+ font-family: dashicons;
345
+ position: relative;
346
+ top: 3px;
347
+ font-size: 16px;
348
+ }
349
+
350
+ .mystickymenu-input-section ul.mystickymenu-input-multicheckbox li {
351
+ display: inline-block;
352
+ width: 21%;
353
+ }
354
+
355
+ input#submit.button.button-primary {
356
+ background: #00c67c;
357
+ border-color: #00c67c;
358
+ text-transform: uppercase;
359
+ border-radius: 31px;
360
+ font-size: 26px;
361
+ padding-left: 23px;
362
+ padding-right: 23px;
363
+ height: 60px;
364
+ width: 200px;
365
+ border: 0;
366
+ box-shadow: none;
367
+ font-weight: 600;
368
+ text-shadow: none;
369
+ }
370
+
371
+ input.button.button-secondary.confirm {
372
+ background: #969696;
373
+ border-color: #969696;
374
+ text-transform: uppercase;
375
+ font-size: 26px;
376
+ padding-left: 23px;
377
+ padding-right: 23px;
378
+ float: right;
379
+ color: white;
380
+ margin-right: 10px;
381
+ height: 60px;
382
+ width: 200px;
383
+ border-radius: 31px;
384
+ font-weight: 600;
385
+ }
386
+
387
+ table ul.mystickymenu-input-multicheckbox {
388
+ width: 100%;
389
+ display: inline-flex;
390
+ }
391
+
392
+ p.myStickymenu-review a {
393
+ font-size: 20px;
394
+ }
395
+
396
+ table ul.mystickymenu-input-multicheckbox li {
397
+ padding-right: 21px;
398
+ }
399
+
400
+ table {
401
+ width: 100%;
402
+ }
403
+
404
+ #mystickymenu table tr td {
405
+ padding: 20px;
406
+ }
407
+
408
+ div#mystickymenu {
409
+ overflow-x: hidden;
410
+ overflow-y: hidden;
411
+ }
412
+
413
+ label.mysticky_title {
414
+ font-weight: 500;
415
+ font-size: 18px;
416
+ line-height: 1.2;
417
+ color: #4F4F4F;
418
+ }
419
+
420
+ .mystickymenu-content-option p label.mysticky_text {
421
+ margin-left: 0px;
422
+ }
423
+
424
+ span.mysticky_text {
425
+ font-size: 14px;
426
+ color: #9E9E9E;
427
+ margin-left: 20px;
428
+ font-style: italic;
429
+ }
430
+
431
+ label.mysticky_text {
432
+ font-size: 14px;
433
+ /*color: #9E9E9E;*/
434
+ margin-left: 20px;
435
+ font-style: italic;
436
+ }
437
+
438
+ select#mystickymenu-select {
439
+ border-radius: 24px;
440
+ border: 1px solid #E6E5EC;
441
+ height: 46px;
442
+ box-shadow: none;
443
+ padding: 0 26px;
444
+ width: 49%;
445
+ display: inline-block;
446
+ vertical-align: top;
447
+ }
448
+
449
+ .mystickymenu-input-section {
450
+ margin-top: 9px;
451
+ }
452
+
453
+ label.mysticky_title.css-style-title {
454
+ font-size: 20px;
455
+ }
456
+
457
+ span.wp-color-result-text {
458
+ display: none;
459
+ }
460
+
461
+ button.button.wp-color-result {
462
+ border-radius: 50%;
463
+ height: 30px !important;
464
+ }
465
+ button.button.wp-color-result .color-alpha {
466
+ border-radius: 50% !important;
467
+ height: 28px !important;
468
+ }
469
+
470
+ .mystickymenu-content-section h3 {
471
+ margin-left: 20px;
472
+ font-weight: 600;
473
+ font-size: 26px;
474
+ line-height: 1.2;
475
+ color: #4F4F4F;
476
+ margin: 0;
477
+ padding: 24px 20px;
478
+ }
479
+
480
+ .form-table {
481
+ margin-top: 0;
482
+ }
483
+
484
+ ul.mystickymenu-input-multicheckbox li span {
485
+ font-size: 16px;
486
+ color: #4F4F4F;
487
+ }
488
+
489
+ .mystickymenu-input-section label {
490
+ /*color: #9E9E9E;*/
491
+ font-size: 16px;
492
+ }
493
+ #mystickymenu .mystickymenu-input-section input.mystickymenu_normal_text{
494
+ border-radius: 0px;
495
+ height: 35px;
496
+ margin: 10px;
497
+ }
498
+ #mystickymenu .mystickymenu-input-section span.description{
499
+ font-style: normal;
500
+ font-size: 16px;
501
+ }
502
+ .myStickymenu-upgrade a {
503
+ text-decoration: none;
504
+ color: #7559C0;
505
+ }
506
+
507
+ #mystickymenu p.submit {
508
+ margin-top: 0;
509
+ padding-top: 0;
510
+ float: right;
511
+ }
512
+
513
+ td {
514
+ vertical-align: top !important;
515
+ }
516
+
517
+ p.description {
518
+ color: rgba(79, 79, 79, 0.5);
519
+ font-size: 12px;
520
+ line-height: 1.2;
521
+ margin: 5px 0 0;
522
+ }
523
+
524
+ div#slider.ui-slider {
525
+ width: 229px;
526
+ background-color: #DCE2E2;
527
+ height: 2px;
528
+ border: 0;
529
+ border-radius: 2px;
530
+ position: relative;
531
+ }
532
+
533
+ .mystickymenu-content-section .ui-state-active, .ui-widget-content .ui-state-active {
534
+ color: #454545;
535
+ }
536
+
537
+ #mystickymenu #custom-handle {
538
+ width: 1.6em;
539
+ border-radius: 50%;
540
+ background-color: #fff;
541
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
542
+ border: 0;
543
+ position: absolute;
544
+ }
545
+ .sticky-header-menu {
546
+ text-align: center;
547
+ padding: 0 0 20px 0;
548
+ }
549
+ .sticky-header-menu ul {
550
+ display: inline-block;
551
+ padding: 1px;
552
+ background-color: #D6EFFF;
553
+ -webkit-border-radius: 23px;
554
+ -moz-border-radius: 23px;
555
+ border-radius: 23px;
556
+ }
557
+ .sticky-header-menu ul li {
558
+ display: inline-block;
559
+ margin: 0;
560
+ }
561
+ .sticky-header-menu ul li a {
562
+ display: inline-block;
563
+ padding: 0 20px;
564
+ line-height: 40px;
565
+ height: 40px;
566
+ font-size: 16px;
567
+ text-decoration: none;
568
+ -webkit-border-radius: 20px;
569
+ -moz-border-radius: 20px;
570
+ border-radius: 20px;
571
+ }
572
+ .sticky-header-menu ul li a:hover {
573
+ background: #f0ecfb;
574
+ color: #7559C0;
575
+ }
576
+ .sticky-header-menu ul li a.active {
577
+ background: #E1DAF6;
578
+ color: #7559C0;
579
+ }
580
+ /*.sticky-header-content {
581
+ display: none;
582
+ }*/
583
+ .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {
584
+ width: 55px;
585
+ }
586
+
587
+ /*New Welcomebar Page css*/
588
+ .mystickymenu-new-widget-wrap, .mystickymenu-new-widget-wrap * {
589
+ box-sizing: border-box;
590
+ }
591
+ .mystickymenu-new-widget-wrap {
592
+ border-radius: 10px;
593
+ box-shadow: 0 0 6px #ccc;
594
+ padding: 10px;
595
+ margin: 20px auto 0 auto;
596
+ width: 100%;
597
+ max-width: 776px;
598
+ background: #fff url(../images/new_widget_bg.png) no-repeat right bottom;
599
+ background-size: auto 100%;
600
+ font-family: Poppins;
601
+ line-height: 20px;
602
+ }
603
+ .mystickymenu-new-widget-wrap h2 {
604
+ font-style: normal;
605
+ font-weight: 600;
606
+ font-size: 20px;
607
+ line-height: 30px;
608
+ color: #1e1e1e;
609
+ margin: 0;
610
+ text-align: center;
611
+ }
612
+ a.new-upgrade-button {
613
+ height: 40px;
614
+ background: #7761DF;
615
+ border-radius: 100px;
616
+ border: solid 1px #7761DF;
617
+ display: inline-block;
618
+ text-align: center;
619
+ color: #fff;
620
+ line-height: 40px;
621
+ margin: 10px 0 10px 10px;
622
+ padding: 0 25px;
623
+ text-decoration: none;
624
+ text-transform: uppercase;
625
+ }
626
+ .mystickymenu-new-widget-row ul {
627
+ display: flex;
628
+ align-items: center;
629
+ flex-wrap: wrap;
630
+ margin-top: 0;
631
+ margin-bottom: 0;
632
+ }
633
+ .mystickymenu-new-widget-row ul li {
634
+ width: 33.33%;
635
+ padding: 10px 10px 0px;
636
+ margin-bottom: 0;
637
+ }
638
+ .mystickymenu-feature {
639
+ margin: 30px 0 0 0;
640
+ background: #fff;
641
+ border: 1px solid #605dec;
642
+ box-sizing: border-box;
643
+ border-radius: 4px;
644
+ padding: 30px 15px 10px 15px;
645
+ min-height: 186px;
646
+ position: relative;
647
+ }
648
+ .mystickymenu-feature-top {
649
+ width: 50px;
650
+ height: 50px;
651
+ border: solid 1px #605dec;
652
+ border-radius: 50%;
653
+ position: absolute;
654
+ left: 0;
655
+ right: 0;
656
+ margin: 0 auto;
657
+ top: -25px;
658
+ background: #fff;
659
+ z-index: 11;
660
+ padding: 10px;
661
+ }
662
+ .feature-title {
663
+ font-family: Poppins;
664
+ font-style: normal;
665
+ font-weight: 700;
666
+ font-size: 13px;
667
+ line-height: 18px;
668
+ color: #1e1e1e;
669
+ }
670
+ .feature-description {
671
+ font-family: Poppins;
672
+ font-style: normal;
673
+ font-weight: 400;
674
+ font-size: 13px;
675
+ line-height: 18px;
676
+ color: #1e1e1e;
677
+ }
678
+ .mystickymenu-feature-top img {
679
+ width: auto;
680
+ height: auto;
681
+ max-width: 100%;
682
+ max-height: 100%;
683
+ }
684
+ /* Finish new Welcome bar screen css */
685
+ @media only screen and (min-width: 1024px) and (max-width: 1200px) {
686
+ .pt_numberbutton.pt_numberdown {
687
+ position: relative;
688
+ margin-left: -75px;
689
+ top: -29px;
690
+ }
691
+
692
+ .pt_numberbutton.pt_numberup {
693
+ position: relative;
694
+ top: -29px;
695
+ left: 70px;
696
+ }
697
+
698
+ /* span.input-px { */
699
+ /* position: relative; */
700
+ /* left: 112px; */
701
+ /* top: -24px !important; */
702
+ /* margin-left: -20px; */
703
+ /* } */
704
+ }
705
+
706
+
707
+
708
+ #rpt_pricr {
709
+ width: 100%;
710
+ max-width: 1024px;
711
+ margin: 0 auto;
712
+ padding: 25px 25px 25px 25px;
713
+ background: #fff;
714
+
715
+ -webkit-border-radius: 5px;
716
+ -moz-border-radius: 5px;
717
+ border-radius: 5px;
718
+ }
719
+ #rpt_pricr h2 {
720
+ padding: 50px 0 30px;
721
+ text-align: center;
722
+ font-size: 24px;
723
+ }
724
+ .rpt_plans .rpt_plan {
725
+ -moz-box-sizing: border-box;
726
+ -webkit-box-sizing: border-box
727
+ }
728
+
729
+ .rpt_2_plans .rpt_plan {
730
+ margin-right: 2%;
731
+ width: 49%;
732
+ float: left
733
+ }
734
+
735
+ .rpt_2_plans .rpt_plan:last-child {
736
+ margin-right: 0
737
+ }
738
+
739
+ .rpt_3_plans .rpt_plan {
740
+ margin-right: 2%;
741
+ width: 32%;
742
+ float: left
743
+ }
744
+
745
+ .rpt_3_plans .rpt_plan:last-child {
746
+ margin-right: 0
747
+ }
748
+
749
+ .rpt_4_plans .rpt_plan {
750
+ margin-right: 1%;
751
+ width: 24.25%;
752
+ float: left
753
+ }
754
+
755
+ .rpt_4_plans .rpt_plan:last-child {
756
+ margin-right: 0
757
+ }
758
+
759
+ .rpt_5_plans .rpt_plan {
760
+ margin-right: .5%;
761
+ width: 19.6%;
762
+ float: left
763
+ }
764
+
765
+ .rpt_5_plans .rpt_plan:last-child {
766
+ margin-right: 0
767
+ }
768
+
769
+ .rpt_style_bic .rpt_plan, .rpt_style_loc .rpt_plan {
770
+ -webkit-box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19);
771
+ -moz-box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19);
772
+ box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, .19)
773
+ }
774
+
775
+ .rpt_plans .rpt_plan .rpt_title img {
776
+ margin-right: 10px;
777
+ position: relative;
778
+ vertical-align: middle
779
+ }
780
+
781
+ .rpt_plans .rpt_plan .rpt_title {
782
+ background: #6371db;
783
+ font-weight: 300;
784
+ padding: 24px 18px;
785
+ font-size: 26px;
786
+ color: #fff;
787
+ line-height: 35px;
788
+ height: auto;
789
+ }
790
+
791
+ .rpt_plans .rpt_plan .rpt_title span {
792
+ display: inline-block;
793
+ position: relative;
794
+ top: -10px
795
+ }
796
+
797
+ .rpt_style_basic .rpt_plan .rpt_title {
798
+ border-bottom: #6371db solid 1px;
799
+ border-top-left-radius: 8px;
800
+ border-top-right-radius: 8px;
801
+ }
802
+
803
+ .rpt_style_spec .rpt_plan .rpt_title {
804
+ color: #fff
805
+ }
806
+
807
+ .rpt_style_bic .rpt_plan .rpt_title, .rpt_style_loc .rpt_plan .rpt_title, .rpt_style_swl .rpt_plan .rpt_title {
808
+ background: #333
809
+ }
810
+
811
+ .rpt_plans .rpt_sm_title .rpt_plan .rpt_title {
812
+ font-size: 20px;
813
+ line-height: 18px
814
+ }
815
+
816
+ .rpt_plans .rpt_xsm_title .rpt_plan .rpt_title {
817
+ font-size: 15px;
818
+ line-height: 15px
819
+ }
820
+
821
+ .rpt_4_plans .rpt_plan .rpt_title {
822
+ font-size: 17px;
823
+ line-height: 15px
824
+ }
825
+
826
+ .rpt_4_plans .rpt_sm_title .rpt_plan .rpt_title {
827
+ font-size: 15px;
828
+ line-height: 13px
829
+ }
830
+
831
+ .rpt_4_plans .rpt_xsm_title .rpt_plan .rpt_title {
832
+ font-size: 13px;
833
+ line-height: 11px
834
+ }
835
+
836
+ .rpt_5_plans .rpt_plan .rpt_title {
837
+ font-size: 15px;
838
+ line-height: 13px
839
+ }
840
+
841
+ .rpt_5_plans .rpt_sm_title .rpt_plan .rpt_title {
842
+ font-size: 13px;
843
+ line-height: 11px
844
+ }
845
+
846
+ .rpt_5_plans .rpt_xsm_title .rpt_plan .rpt_title {
847
+ font-size: 12px;
848
+ line-height: 10px
849
+ }
850
+
851
+ .rpt_plans .rpt_recommended_plan .rpt_title {
852
+ background: #6371db
853
+ }
854
+
855
+ .rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
856
+ position: relative;
857
+ top: -44px;
858
+ left: -10px;
859
+ font-size: 35px;
860
+ line-height: 0
861
+ }
862
+
863
+ .rpt_4_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
864
+ top: -36px
865
+ }
866
+
867
+ .rpt_5_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
868
+ top: -26px
869
+ }
870
+
871
+ .rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
872
+ font-size: 30px;
873
+ top: -44px;
874
+ left: -4px
875
+ }
876
+
877
+ .rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
878
+ font-size: 25px;
879
+ top: -30px;
880
+ left: -4px
881
+ }
882
+
883
+ .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
884
+ font-size: 21px;
885
+ top: -14px;
886
+ left: -4px
887
+ }
888
+
889
+ .rpt_style_basic .rpt_plan .rpt_head {
890
+ background: #ec86c6
891
+ }
892
+
893
+ .rpt_style_spec .rpt_plan .rpt_head {
894
+ background: #fff
895
+ }
896
+
897
+ .rpt_style_swl .rpt_plan .rpt_head {
898
+ background: #fff
899
+ }
900
+
901
+ .rpt_plans .rpt_plan .rpt_head .rpt_price {
902
+ padding: 6px 10px;
903
+ font-size: 74px;
904
+ line-height: 80px;
905
+ font-weight: 300;
906
+ text-align: center;
907
+ color: #ffffff
908
+ }
909
+
910
+ .rpt_style_basic .rpt_plan .rpt_head .rpt_price, .rpt_style_spec .rpt_plan .rpt_head .rpt_price {
911
+ text-shadow: 1px 2px 7px rgba(0, 0, 0, .6)
912
+ }
913
+
914
+ .rpt_style_swl .rpt_plan .rpt_head .rpt_price {
915
+ color: #000
916
+ }
917
+
918
+ .rpt_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
919
+ font-size: 62px
920
+ }
921
+
922
+ .rpt_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
923
+ font-size: 56px
924
+ }
925
+
926
+ .rpt_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
927
+ font-size: 38px
928
+ }
929
+
930
+ .rpt_4_plans .rpt_plan .rpt_head .rpt_price {
931
+ font-size: 69px;
932
+ line-height: 80px
933
+ }
934
+
935
+ .rpt_4_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
936
+ font-size: 53px;
937
+ line-height: 65px
938
+ }
939
+
940
+ .rpt_4_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
941
+ font-size: 47px;
942
+ line-height: 64px
943
+ }
944
+
945
+ .rpt_4_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
946
+ font-size: 31px;
947
+ line-height: 60px
948
+ }
949
+
950
+ .rpt_5_plans .rpt_plan .rpt_head .rpt_price {
951
+ font-size: 59px;
952
+ line-height: 80px
953
+ }
954
+
955
+ .rpt_5_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price {
956
+ font-size: 44px;
957
+ line-height: 60px
958
+ }
959
+
960
+ .rpt_5_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price {
961
+ font-size: 37px;
962
+ line-height: 53px
963
+ }
964
+
965
+ .rpt_5_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price {
966
+ font-size: 24px;
967
+ line-height: 50px
968
+ }
969
+
970
+ .rpt_plans .rpt_recommended_plan .rpt_head .rpt_price {
971
+ font-size: 98px
972
+ }
973
+
974
+ .rpt_4_plans .rpt_recommended_plan .rpt_head .rpt_price {
975
+ font-size: 74px
976
+ }
977
+
978
+ .rpt_5_plans .rpt_recommended_plan .rpt_head .rpt_price {
979
+ font-size: 67px
980
+ }
981
+
982
+ .rpt_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
983
+ font-size: 83px
984
+ }
985
+
986
+ .rpt_4_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
987
+ font-size: 60px
988
+ }
989
+
990
+ .rpt_5_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price {
991
+ font-size: 54px
992
+ }
993
+
994
+ .rpt_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
995
+ font-size: 55px
996
+ }
997
+
998
+ .rpt_4_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
999
+ font-size: 49px
1000
+ }
1001
+
1002
+ .rpt_5_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1003
+ font-size: 41px
1004
+ }
1005
+
1006
+ .rpt_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1007
+ font-size: 42px
1008
+ }
1009
+
1010
+ .rpt_4_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1011
+ font-size: 34px
1012
+ }
1013
+
1014
+ .rpt_5_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price {
1015
+ font-size: 26px
1016
+ }
1017
+
1018
+ .rpt_plans .rpt_plan .rpt_head .rpt_recurrence {
1019
+ font-size: 13px;
1020
+ font-weight: 300;
1021
+ line-height: 18px;
1022
+ padding: 20px 10px 10px;
1023
+ color: #ffffff;
1024
+ text-align: center
1025
+ }
1026
+
1027
+ .rpt_style_spec .rpt_plan .rpt_head .rpt_recurrence {
1028
+ color: #d3d3d3
1029
+ }
1030
+
1031
+ .rpt_style_bic .rpt_plan .rpt_head .rpt_recurrence, .rpt_style_loc .rpt_plan .rpt_head .rpt_recurrence {
1032
+ color: #f5f5f5
1033
+ }
1034
+
1035
+ .rpt_style_swl .rpt_plan .rpt_head .rpt_recurrence {
1036
+ color: grey
1037
+ }
1038
+
1039
+ .rpt_plans .rpt_sm_recurrence .rpt_plan .rpt_head .rpt_recurrence {
1040
+ font-size: 11px;
1041
+ padding: 20px 40px 4px
1042
+ }
1043
+
1044
+ .rpt_plans .rpt_plan .rpt_head .rpt_subtitle {
1045
+ font-size: 16px;
1046
+ line-height: 20px;
1047
+ font-weight: 300;
1048
+ text-align: center;
1049
+ padding: 10px 30px 20px
1050
+ }
1051
+
1052
+ .rpt_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1053
+ font-size: 14px
1054
+ }
1055
+
1056
+ .rpt_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1057
+ font-size: 12px
1058
+ }
1059
+
1060
+ .rpt_4_plans .rpt_plan .rpt_head .rpt_subtitle {
1061
+ font-size: 16px;
1062
+ line-height: 18px;
1063
+ padding: 10px 10px 20px
1064
+ }
1065
+
1066
+ .rpt_4_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1067
+ font-size: 14px;
1068
+ line-height: 17px
1069
+ }
1070
+
1071
+ .rpt_4_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1072
+ font-size: 13px;
1073
+ line-height: 16px
1074
+ }
1075
+
1076
+ .rpt_5_plans .rpt_plan .rpt_head .rpt_subtitle {
1077
+ font-size: 15px;
1078
+ line-height: 18px;
1079
+ padding: 10px 10px 20px
1080
+ }
1081
+
1082
+ .rpt_5_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1083
+ font-size: 13px;
1084
+ line-height: 17px
1085
+ }
1086
+
1087
+ .rpt_5_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle {
1088
+ font-size: 12px;
1089
+ line-height: 16px
1090
+ }
1091
+
1092
+ .rpt_plans .rpt_plan .rpt_head .rpt_description {
1093
+ font-size: 14px;
1094
+ line-height: 20px;
1095
+ padding: 10px 20px;
1096
+ font-weight: 300;
1097
+ text-align: center;
1098
+ color: #ffffff
1099
+ }
1100
+
1101
+ .rpt_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
1102
+ font-size: 12px
1103
+ }
1104
+
1105
+ .rpt_style_bic .rpt_plan .rpt_head .rpt_description, .rpt_style_loc .rpt_plan .rpt_head .rpt_description {
1106
+ color: #f5f5f5
1107
+ }
1108
+
1109
+ .rpt_4_plans .rpt_plan .rpt_head .rpt_description {
1110
+ font-size: 13px;
1111
+ line-height: 18px
1112
+ }
1113
+
1114
+ .rpt_4_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
1115
+ font-size: 12px;
1116
+ line-height: 17px
1117
+ }
1118
+
1119
+ .rpt_5_plans .rpt_plan .rpt_head .rpt_description {
1120
+ font-size: 12px;
1121
+ line-height: 18px
1122
+ }
1123
+
1124
+ .rpt_5_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description {
1125
+ font-size: 11px;
1126
+ line-height: 17px
1127
+ }
1128
+
1129
+ .rpt_plans .rpt_plan .rpt_features {
1130
+ padding: 20px;
1131
+ background: #f0ecfb;
1132
+ text-align: center
1133
+ }
1134
+
1135
+ .rpt_plans .rpt_plan .rpt_features .rpt_feature {
1136
+ font-size: 16px;
1137
+ padding: 6px 16px;
1138
+ border-bottom: 1px dotted #d3d3d3
1139
+ }
1140
+ .rpt_plans .rpt_plan .rpt_features .rpt_feature a {
1141
+ color: #333333;
1142
+ }
1143
+
1144
+ .rpt_plans .rpt_plan .rpt_features .rpt_feature:last-child {
1145
+ border-bottom: none
1146
+ }
1147
+
1148
+ .rpt_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
1149
+ font-size: 14px
1150
+ }
1151
+
1152
+ .rpt_style_bic .rpt_plan .rpt_features, .rpt_style_loc .rpt_plan .rpt_features, .rpt_style_swl .rpt_plan .rpt_features {
1153
+ background: #fff
1154
+ }
1155
+
1156
+ .rpt_style_swl .rpt_plan .rpt_features .rpt_feature {
1157
+ padding: 5px 16px
1158
+ }
1159
+
1160
+ .rpt_4_plans .rpt_plan .rpt_features .rpt_feature {
1161
+ padding: 6px 10px;
1162
+ font-size: 14px
1163
+ }
1164
+
1165
+ .rpt_4_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
1166
+ font-size: 12px
1167
+ }
1168
+
1169
+ .rpt_5_plans .rpt_plan .rpt_features .rpt_feature {
1170
+ padding: 6px 10px;
1171
+ font-size: 13px
1172
+ }
1173
+
1174
+ .rpt_5_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature {
1175
+ font-size: 11px
1176
+ }
1177
+
1178
+ .rpt_plans .rpt_plan .rpt_foot {
1179
+ display: block;
1180
+ padding: 10px 30px;
1181
+ border-top: #7559C0 solid 2px;
1182
+ background: #7559C0;
1183
+ text-align: center;
1184
+ color: #fff;
1185
+ font-size: 24px;
1186
+ text-decoration: none;
1187
+ font-weight: 300;
1188
+ transition: All .5s ease;
1189
+ -webkit-transition: All .5s ease;
1190
+ -moz-transition: All .5s ease;
1191
+ -o-transition: All .5s ease
1192
+ }
1193
+
1194
+ .rpt_plans .rpt_sm_button .rpt_plan .rpt_foot {
1195
+ font-size: 19px
1196
+ }
1197
+
1198
+ .rpt_style_basic .rpt_plan .rpt_foot {
1199
+ border-bottom-left-radius: 8px;
1200
+ border-bottom-right-radius: 8px
1201
+ }
1202
+
1203
+ .rpt_style_swl .rpt_plan .rpt_foot {
1204
+ border-top: none;
1205
+ padding: 10px 30px 20px;
1206
+ color: #000;
1207
+ background: #333
1208
+ }
1209
+
1210
+ .rpt_4_plans .rpt_plan .rpt_foot {
1211
+ padding: 4px 20px;
1212
+ font-size: 19px
1213
+ }
1214
+
1215
+ .rpt_4_plans .rpt_sm_button .rpt_plan .rpt_foot, .rpt_5_plans .rpt_plan .rpt_foot {
1216
+ padding: 4px 20px;
1217
+ font-size: 17px
1218
+ }
1219
+
1220
+ .rpt_5_plans .rpt_sm_button .rpt_plan .rpt_foot {
1221
+ font-size: 16px
1222
+ }
1223
+
1224
+ .rpt_plans .rpt_plan .rpt_foot:hover {
1225
+ opacity: .8
1226
+ }
1227
+
1228
+ .rpt_style_swl .rpt_plan .rpt_foot:hover {
1229
+ opacity: 1
1230
+ }
1231
+
1232
+ .rpt_plans .rpt_recommended_plan .rpt_foot {
1233
+ font-size: 30px;
1234
+ padding: 16px 0
1235
+ }
1236
+
1237
+ .rpt_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
1238
+ font-size: 26px
1239
+ }
1240
+
1241
+ .rpt_4_plans .rpt_recommended_plan .rpt_foot {
1242
+ font-size: 22px;
1243
+ font-weight: 300;
1244
+ padding: 10px 0
1245
+ }
1246
+
1247
+ .rpt_4_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
1248
+ font-size: 19px;
1249
+ padding: 10px 0
1250
+ }
1251
+
1252
+ .rpt_5_plans .rpt_recommended_plan .rpt_foot {
1253
+ font-size: 20px;
1254
+ font-weight: 300;
1255
+ padding: 10px 0
1256
+ }
1257
+
1258
+ .rpt_5_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot {
1259
+ font-size: 18px;
1260
+ padding: 10px 0
1261
+ }
1262
+
1263
+ .rpt_custom_btn {
1264
+ border-bottom-left-radius: 5px;
1265
+ border-bottom-right-radius: 5px;
1266
+ text-align: center;
1267
+ padding: 16px 20px
1268
+ }
1269
+
1270
+ .rpt_plans .rpt_recommended_plan {
1271
+ position: relative;
1272
+ top: -10px
1273
+ }
1274
+
1275
+ .rpt_recommended_plan img.rpt_recommended {
1276
+ position: absolute !important;
1277
+ right: 10px !important
1278
+ }
1279
+
1280
+ .rpt_style_bic .rpt_recommended_plan, .rpt_style_loc .rpt_recommended_plan {
1281
+ -webkit-box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39);
1282
+ -moz-box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39);
1283
+ box-shadow: 1px 1px 6px 0 rgba(50, 50, 50, .39)
1284
+ }
1285
+
1286
+ a.rpt_tooltip {
1287
+ display: block;
1288
+ outline: 0;
1289
+ position: relative
1290
+ }
1291
+
1292
+ a.rpt_tooltip strong {
1293
+ line-height: 30px
1294
+ }
1295
+
1296
+ a.rpt_tooltip > span.intool {
1297
+ width: 90%;
1298
+ padding: 10px;
1299
+ margin-top: 56px;
1300
+ opacity: 0;
1301
+ visibility: hidden;
1302
+ z-index: 10;
1303
+ position: absolute;
1304
+ top: -15px;
1305
+ display: block;
1306
+ color: #f5f5f5;
1307
+ font-size: 13px;
1308
+ line-height: 20px;
1309
+ background: #333;
1310
+ font-weight: 300;
1311
+ text-align: center
1312
+ }
1313
+
1314
+ a.rpt_tooltip:hover {
1315
+ cursor: zoom-in
1316
+ }
1317
+
1318
+ a.rpt_tooltip .rpt_tooltip_plus {
1319
+ text-decoration: none !important;
1320
+ display: inline;
1321
+ font-size: 12px;
1322
+ font-weight: 700;
1323
+ position: relative;
1324
+ top: -6px
1325
+ }
1326
+
1327
+ .rpt_feature:hover a.rpt_tooltip > span.intool {
1328
+ opacity: .98;
1329
+ text-decoration: none;
1330
+ visibility: visible;
1331
+ overflow: visible
1332
+ }
1333
+
1334
+ a.rpt_tooltip span.intool b {
1335
+ width: 10px;
1336
+ height: 10px;
1337
+ margin-left: 35%;
1338
+ margin-top: -15px;
1339
+ position: absolute;
1340
+ -webkit-transform: rotate(-45deg);
1341
+ -moz-transform: rotate(-45deg);
1342
+ -o-transform: rotate(-45deg);
1343
+ transform: rotate(-45deg);
1344
+ display: none \0/;
1345
+ background: #333
1346
+ }
1347
+
1348
+ .rpt_3_plans a.rpt_tooltip > span.intool {
1349
+ margin-left: -1%
1350
+ }
1351
+
1352
+ .rpt_4_plans a.rpt_tooltip > span.intool {
1353
+ margin-left: 0
1354
+ }
1355
+
1356
+ .rpt_5_plans a.rpt_tooltip > span.intool {
1357
+ margin-left: -2%
1358
+ }
1359
+
1360
+ .entry-content .rpt_plan a, .rpt_plan a {
1361
+ border-bottom: none !important;
1362
+ text-decoration: none;
1363
+ }
1364
+
1365
+ .rpt_plans .rpt_plan .rpt_icon {
1366
+ max-width: 30px;
1367
+ max-height: 30px
1368
+ }
1369
+
1370
+ .rpt_plans .rpt_plan img {
1371
+ display: inline;
1372
+ margin: 0 10px 0 0;
1373
+ padding: 0;
1374
+ -webkit-box-shadow: 0 0 0 0 transparent;
1375
+ -moz-box-shadow: 0 0 0 0 transparent;
1376
+ box-shadow: 0 0 0 0 transparent;
1377
+ border: none
1378
+ }
1379
+
1380
+ .mystickymenu-testimonial {
1381
+ position: relative;
1382
+ }
1383
+ .mystickymenu-testimonial .testimonial-data {
1384
+ position: relative;
1385
+ }
1386
+ .mystickymenu-testimonial .testimonial-data {
1387
+ position: relative;
1388
+ margin-left: 30px;
1389
+ padding: 10px 10px 10px 40px;
1390
+ background: #f5f5f5;
1391
+ font-size: 16px;
1392
+ line-height: 22px;
1393
+ }
1394
+ .mystickymenu-testimonial .testimonial-image {
1395
+ position: absolute;
1396
+ height: 60px;
1397
+ width: 60px;
1398
+ overflow: hidden;
1399
+ border-radius: 30px;
1400
+ top: 50%;
1401
+ margin-top: -30px;
1402
+ z-index: 1;
1403
+ }
1404
+ .mystickymenu-testimonial .testimonial-image img {
1405
+ width: 100%;
1406
+ height: auto;
1407
+ }
1408
+ .mystickymenu-testimonial-list {
1409
+ width: 100%;
1410
+ max-width: 1080px;
1411
+ margin: 30px auto;
1412
+ }
1413
+ .testimonial-title {
1414
+ font-weight: bold;
1415
+ font-size: 18px;
1416
+ padding: 0 0 5px 0;
1417
+ }
1418
+ .testimonial-author {
1419
+ font-size: 16px;
1420
+ font-style: italic;
1421
+ font-weight: 500;
1422
+ padding: 5px 0 0 0;
1423
+ }
1424
+ p.udner-title strong {
1425
+ font-size: 30px;
1426
+ padding-bottom: 40px;
1427
+ display: block;
1428
+ color: #b97fcf;
1429
+ text-align: center;
1430
+ }
1431
+ p.udner-title {
1432
+ margin: 0;
1433
+ padding: 0;
1434
+ }
1435
+ @media only screen and (max-width: 640px) {
1436
+ .rpt_plans .rpt_plan {
1437
+ width: 96%;
1438
+ margin: 10px 2% 20px !important
1439
+ }
1440
+
1441
+ .rpt_plans .rpt_plan .rpt_title {
1442
+ position: relative;
1443
+ font-size: 26px !important;
1444
+ line-height: 35px !important
1445
+ }
1446
+
1447
+ .rpt_plans .rpt_plan .rpt_head .rpt_price {
1448
+ font-size: 74px !important;
1449
+ line-height: 100px !important
1450
+ }
1451
+
1452
+ .rpt_plans .rpt_plan .rpt_head .rpt_subtitle {
1453
+ font-size: 17px !important;
1454
+ line-height: 28px !important;
1455
+ padding: 10px 40px 20px
1456
+ }
1457
+
1458
+ .rpt_plans .rpt_plan .rpt_head .rpt_description {
1459
+ font-size: 15px !important;
1460
+ line-height: 26px !important;
1461
+ padding: 0 40px 30px
1462
+ }
1463
+
1464
+ .rpt_plans .rpt_plan .rpt_features .rpt_feature {
1465
+ padding: 6px 16px;
1466
+ font-size: 14px !important
1467
+ }
1468
+
1469
+ .rpt_plans .rpt_plan .rpt_foot {
1470
+ padding: 10px 40px;
1471
+ text-align: center;
1472
+ color: #fff;
1473
+ font-size: 20px
1474
+ }
1475
+
1476
+ .rpt_plans .rpt_recommended_plan .rpt_foot {
1477
+ font-size: 30px;
1478
+ font-weight: 300;
1479
+ padding: 20px 0
1480
+ }
1481
+
1482
+ .rpt_plan .rpt_head .rpt_price .rpt_currency {
1483
+ top: -36px !important;
1484
+ left: -10px !important;
1485
+ font-size: 35px !important
1486
+ }
1487
+ }
1488
+
1489
+ #rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature, #rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature a, #rpt_pricr .rpt_plan_ori .rpt_foot, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_description, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_price, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_price .rpt_currency, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_recurrence, #rpt_pricr .rpt_plan_ori .rpt_head .rpt_subtitle, #rpt_pricr .rpt_plan_ori .rpt_title {
1490
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
1491
+ font-weight: 300 !important
1492
+ }
1493
+
1494
+ .client-testimonial {
1495
+ margin: 20px auto 0px;
1496
+ -webkit-border-radius: 5px;
1497
+ -moz-border-radius: 5px;
1498
+ border-radius: 5px;
1499
+ }
1500
+ .client-testimonial span.dashicons.dashicons-yes {
1501
+ background: #00bd00;
1502
+ color: #fff;
1503
+ border-radius: 50%;
1504
+ -webkit-border-radius: 50%;
1505
+ -moz-border-radius: 50%;
1506
+ }
1507
+ .client-testimonial p.text-center {
1508
+ text-align: center;
1509
+ margin: 6px 0;
1510
+ font-size: 14px;
1511
+ }
1512
+ .client-testimonial .payment {
1513
+ margin: 20px 0;
1514
+ text-align: center;
1515
+ }
1516
+ .testimonial-image {
1517
+ width: 10%;
1518
+ display: inline-block;
1519
+ vertical-align: middle;
1520
+ }
1521
+ .testimonial-content {
1522
+ width: 85%;
1523
+ display: inline-block;
1524
+ vertical-align: middle;
1525
+ padding-left: 15px;
1526
+ }
1527
+ .testimonial-image img {
1528
+ border-radius: 50%;
1529
+ -webkit-border-radius: 50%;
1530
+ -moz-border-radius: 50%;
1531
+ width: 100%;
1532
+ height: auto;
1533
+ }
1534
+ .client-testimonial .author {
1535
+ font-weight: bold;
1536
+ padding: 5px 0 0 0;
1537
+ font-size: 14px;
1538
+ }
1539
+ .testimonial-box {
1540
+ padding: 15px;
1541
+ background: #d6efff;
1542
+ -webkit-border-radius: 5px;
1543
+ -moz-border-radius: 5px;
1544
+ border-radius: 5px;
1545
+ }
1546
+
1547
+ /*01-08-2019 welcome bar css*/
1548
+ #sticky-header-welcome-bar *, #sticky-header-welcome-bar ::before, #sticky-header-welcome-bar ::after {
1549
+ -webkit-box-sizing: border-box;
1550
+ -moz-box-sizing: border-box;
1551
+ box-sizing: border-box;
1552
+ }
1553
+ #sticky-header-welcome-bar .iris-picker, #sticky-header-welcome-bar .iris-picker * {
1554
+ -moz-box-sizing: content-box;
1555
+ -webkit-box-sizing: content-box;
1556
+ box-sizing: content-box;
1557
+ }
1558
+ .mysticky-welcomebar-switch {
1559
+ display: inline-block;
1560
+ width:55px;
1561
+ height:30px;
1562
+ position: relative;
1563
+ }
1564
+ .mysticky-welcomebar-switch input {
1565
+ opacity: 0;
1566
+ width: 0;
1567
+ height: 0;
1568
+ }
1569
+ .mysticky-welcomebar-switch .slider {
1570
+ border-radius: 15px;
1571
+ position: absolute;
1572
+ cursor: pointer;
1573
+ top: 0;
1574
+ left: 0;
1575
+ right: 0;
1576
+ bottom: 0;
1577
+ background-color: #ccc;
1578
+ border: 2px solid #ccc;
1579
+ -webkit-transition: .4s;
1580
+ transition: .4s;
1581
+ }
1582
+ .mysticky-welcomebar-switch .slider:before {
1583
+ border-radius: 50%;
1584
+ position: absolute;
1585
+ content: "";
1586
+ height: 24px;
1587
+ width: 24px;
1588
+ left: 2px;
1589
+ top: 1px;
1590
+ background-color: #ffffff;
1591
+ -webkit-transition: .4s;
1592
+ transition: .4s;
1593
+ }
1594
+ .mysticky-welcomebar-switch input:checked + .slider {
1595
+ background-color: #7761DF;
1596
+ border: 2px solid #7761DF;
1597
+ }
1598
+ .mysticky-welcomebar-switch input:focus + .slider {
1599
+ box-shadow: 0 0 1px #2196F3;
1600
+ }
1601
+ .mysticky-welcomebar-switch input:checked + .slider:before {
1602
+ -webkit-transform: translateX(24px);
1603
+ -ms-transform: translateX(24px);
1604
+ transform: translateX(24px);
1605
+ }
1606
+ .mysticky-welcomebar-form {
1607
+ background-color: #f8fcfd;
1608
+ border: 1px solid #E1E6E6;
1609
+ padding: 20px;
1610
+ border-radius: 7px;
1611
+ position: relative;
1612
+ }
1613
+ .mysticky-welcomebar-header-title h3 {
1614
+ margin: 0;
1615
+ font-size: 26px;
1616
+ color: #4F4F4F;
1617
+ line-height: 1.2;
1618
+ display: inline-block;
1619
+ vertical-align: top;
1620
+ }
1621
+ .mysticky-welcomebar-header-title h3 + .mysticky-welcomebar-switch {
1622
+ margin-left: 20px;
1623
+ }
1624
+ .mysticky-welcomebar-subheader-title {
1625
+ padding: 40px 0 30px;
1626
+ }
1627
+ .mysticky-welcomebar-subheader-title h4 {
1628
+ margin: 0;
1629
+ font-weight: 400;
1630
+ font-size: 22px;
1631
+ line-height: 1.2;
1632
+ color: #4F4F4F;
1633
+ }
1634
+ .mysticky-welcomebar-setting-content {
1635
+ display: flex;
1636
+ /*align-items: center;*/
1637
+ padding-bottom: 20px;
1638
+ }
1639
+ .mysticky-welcomebar-setting-content.show-on-apper {
1640
+ align-items: flex-start;
1641
+ }
1642
+ .mysticky-welcomebar-setting-content > label {
1643
+ font-size: 18px;
1644
+ line-height: 1.2;
1645
+ color: #4F4F4F;
1646
+ font-weight: 500;
1647
+ margin-top: 10px;
1648
+ width: 210px;
1649
+ padding-right: 10px;
1650
+ }
1651
+ .mysticky-welcomebar-setting-content.show-on-apper > label {
1652
+ margin-top: 10px;
1653
+ }
1654
+ .mysticky-welcomebar-setting-content-right {
1655
+ width: 100%;
1656
+ align-items: center;
1657
+ display: flex;
1658
+ }
1659
+ .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade {
1660
+ display: inline-block;
1661
+ vertical-align: top;
1662
+ float: none;
1663
+ margin-left: 20px;
1664
+ }
1665
+ .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {
1666
+ margin-left: 50px;
1667
+ }
1668
+ .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-remove-getbar .myStickymenu-upgrade {
1669
+ margin-left: 130px;
1670
+ }
1671
+ .mysticky-welcomebar-setting-content-right.mysticky-welcomebar-colorpicker .wp-picker-container{
1672
+ display: inline-block;
1673
+ }
1674
+ .mysticky-welcomebar-setting-content-right label {
1675
+ display: inline-block;
1676
+ vertical-align: top;
1677
+ width: 100px;
1678
+ padding-right: 10px;
1679
+ }
1680
+ .mysticky-welcomebar-setting-content-right .wp-picker-input-wrap label {
1681
+ width: auto;
1682
+ }
1683
+ .mysticky-welcomebar-setting-content-right .mysticky-welcomebar-trigger-wrap label {
1684
+ width: auto;
1685
+ }
1686
+ #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input {
1687
+ padding-right: 60px;
1688
+ }
1689
+ .mysticky-welcomebar-setting-content-right select ,
1690
+ .mysticky-welcomebar-setting-content-right input[type="text"] ,
1691
+ .mysticky-welcomebar-setting-content-right textarea {
1692
+ width: 310px;
1693
+ height: 42px;
1694
+ border-radius: 20px;
1695
+ color: #32373c;
1696
+ display: block;
1697
+ padding: 0 10px;
1698
+ box-shadow: none;
1699
+ border: 1px solid #DCE2E2;
1700
+ margin: 0;
1701
+ font-size: 14px;
1702
+ font-weight: 400;
1703
+ }
1704
+ .mysticky-welcomebar-setting-content-right select {
1705
+ padding-right: 22px;
1706
+ }
1707
+ .mysticky-welcomebar-setting-content-right textarea {
1708
+ height: 100px;
1709
+ border-radius: 10px;
1710
+ padding-top: 9px;
1711
+ }
1712
+ #mystickymenu .wp-picker-container input[type="text"].wp-color-picker {
1713
+ border-radius: 0;
1714
+ height: 32px;
1715
+ border: 1px solid #DCE2E2;
1716
+ }
1717
+ #mystickymenu .wp-picker-input-wrap .button {
1718
+ height: 32px;
1719
+ }
1720
+ #mystickymenu .form-table .wp-picker-input-wrap label {
1721
+ padding-right: 10px;
1722
+ }
1723
+ .mysticky-welcomebar-setting-action {
1724
+ display: inline-block;
1725
+ vertical-align: top;
1726
+ }
1727
+ .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
1728
+ padding-left: 10px;
1729
+ }
1730
+ .mysticky-welcomebar-redirect label {
1731
+ width: auto;
1732
+ padding-right: 0;
1733
+ padding-top: 10px;
1734
+ }
1735
+ .mysticky-welcomebar-expirydate {
1736
+ position: relative;
1737
+ display: inline-block;
1738
+ vertical-align: top;
1739
+ }
1740
+ .mysticky-welcomebar-setting-content-right .mysticky-welcomebar-expirydate input {
1741
+ padding-left: 55px;
1742
+ }
1743
+ .mysticky-welcomebar-expirydate .dashicons {
1744
+ position: absolute;
1745
+ top: 0;
1746
+ left: 0;
1747
+ bottom: 0;
1748
+ color: #a7a7a7;
1749
+ border-right: 1px solid #a7a7a7;
1750
+ width: 46px;
1751
+ height: 100%;
1752
+ line-height: 40px;
1753
+ }
1754
+ a.create-rule {
1755
+ background-color: #7761DF;
1756
+ color: #fff;
1757
+ display: inline-block;
1758
+ margin: 10px 0 0;
1759
+ vertical-align: top;
1760
+ text-decoration: none;
1761
+ padding: 5px 12px;
1762
+ border-radius: 20px;
1763
+ box-shadow: none;
1764
+ outline: none;
1765
+ }
1766
+ .mysticky-welcomebar-upgrade-main {
1767
+ position: relative;
1768
+ vertical-align: top;
1769
+ width: 100%;
1770
+ padding-right: 10px;
1771
+ padding-bottom: 0;
1772
+ }
1773
+ .mysticky-welcomebar-upgrade-main .myStickymenu-upgrade {
1774
+ float: right;
1775
+ }
1776
+ .mysticky-welcomebar-page-option {
1777
+ margin-bottom: 20px;
1778
+ position: relative;
1779
+ }
1780
+ .mysticky-welcomebar-page-option select {
1781
+ width: 230px;
1782
+ }
1783
+ .mysticky-welcomebar-page-option .myStickymenu-upgrade {
1784
+ display: none;
1785
+ position: absolute;
1786
+ top: 9px;
1787
+ left: 50%;
1788
+ -webkit-transform: translateX(-50%);
1789
+ -moz-transform: translateX(-50%);
1790
+ transform: translateX(-50%);
1791
+ text-align: center;
1792
+ margin-left: 0;
1793
+ }
1794
+ .mysticky-welcomebar-page-option .myStickymenu-upgrade a {
1795
+ padding-top: 5px;
1796
+ padding-bottom: 7px;
1797
+ padding-left: 20px;
1798
+ padding-right: 20px;
1799
+ font-size: 14px;
1800
+ box-shadow: 0 0 3px #999;
1801
+ }
1802
+ .mysticky-welcomebar-page-option:hover .myStickymenu-upgrade {
1803
+ display: block;
1804
+ }
1805
+ .mysticky-welcomebar-page-option .url-content {
1806
+ /*display: flex;*/
1807
+ overflow:hidden;
1808
+ align-items: center;
1809
+ }
1810
+ .mysticky-welcomebar-page-option .url-content > div {
1811
+ padding: 0 5px;
1812
+ float: left;
1813
+
1814
+ }
1815
+
1816
+ .mysticky-welcomebar-page-option .url-content .mysticky-welcomebar-url-values,
1817
+ .mysticky-welcomebar-page-option .url-content .mysticky-welcomebar-url-option{
1818
+ width: 20%;
1819
+ }
1820
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {
1821
+ width: 28%;
1822
+ text-align: right;
1823
+ margin-top: 10px;
1824
+ }
1825
+
1826
+ /*.mysticky-welcomebar-page-option .url-content select {
1827
+ width: 120px;
1828
+ }
1829
+ */
1830
+ .mysticky-welcomebar-page-option .url-content input[type="text"] {
1831
+ height: 38px;
1832
+ padding: 0 15px;
1833
+ border-radius: 0;
1834
+ }
1835
+
1836
+ .mysticky-page-option .myStickymenu-upgrade {
1837
+ float: none;
1838
+ position: absolute;
1839
+ top: 0;
1840
+ left: 50%;
1841
+ /* right: 0; */
1842
+ text-align: center;
1843
+ /* background-color: rgba(0,0,0,0.6); */
1844
+ bottom: 0;
1845
+ border-radius: 10px;
1846
+ display: none;
1847
+ align-items: center;
1848
+ justify-content: center;
1849
+ -webkit-transform: translateX(-50%);
1850
+ -moz-transform: translateX(-50%);
1851
+ transform: translateX(-50%);
1852
+ }
1853
+ .mysticky-page-option:hover .myStickymenu-upgrade {
1854
+ display: flex;
1855
+ }
1856
+ .mysticky-page-option .myStickymenu-upgrade a {
1857
+ padding-top: 5px;
1858
+ padding-bottom: 7px;
1859
+ padding-left: 20px;
1860
+ padding-right: 20px;
1861
+ font-size: 14px;
1862
+ box-shadow: 0 0 3px #999;
1863
+ }
1864
+ .mysticky-page-option {
1865
+ background-color: #fff;
1866
+ padding: 10px;
1867
+ margin-bottom: 10px;
1868
+ border: 1px solid #DCE2E2;
1869
+ border-radius: 10px;
1870
+ position: relative;
1871
+ }
1872
+ .mysticky-page-option .url-content {
1873
+ display: flex;
1874
+ align-items: center;
1875
+ }
1876
+ .mysticky-page-option .url-content > div {
1877
+ padding: 0 5px;
1878
+ }
1879
+ .mysticky-page-option .url-content > div.mysticky-welcomebar-url-box {
1880
+ width: 260px;
1881
+ text-align: right;
1882
+ }
1883
+ .mysticky-page-option .url-content > div.mysticky-welcomebar-url-box {
1884
+ width: 300px;
1885
+ }
1886
+ .mysticky-page-option .url-content select {
1887
+ width: 250px;
1888
+ }
1889
+ .mysticky-page-option .url-content input[type="text"] {
1890
+ height: 38px;
1891
+ padding: 0 15px;
1892
+ border-radius: 0;
1893
+ }
1894
+ .mystickymenu-page-target-wrap {
1895
+ padding-bottom: 20px;
1896
+ }
1897
+
1898
+ .mysticky-welcomebar-remove-rule ,
1899
+ .mysticky-remove-rule {
1900
+ color: #fff;
1901
+ background-color: #666;
1902
+ text-decoration: none;
1903
+ display: inline-block;
1904
+ vertical-align: top;
1905
+ width: 38px;
1906
+ height: 38px;
1907
+ text-align: center;
1908
+ border-radius: 4px;
1909
+ font-size: 22px;
1910
+ line-height: 35px;
1911
+ }
1912
+ .mysticky-welcomebar-page-options {
1913
+ display: inline-block;
1914
+ vertical-align: top;
1915
+ }
1916
+ .mysticky-welcomebar-setting-right {
1917
+ position: absolute;
1918
+ top: 32px;
1919
+ right: 50px;
1920
+ width: 500px;
1921
+ }
1922
+ .mysticky-welcomebar-header-title::after {
1923
+ content: "";
1924
+ display: block;
1925
+ clear: both;
1926
+ }
1927
+ .mysticky-welcomebar-preview-window {
1928
+ float: right;
1929
+ }
1930
+ .mysticky-welcomebar-header-title {
1931
+ padding-bottom: 20px;
1932
+ }
1933
+ .mysticky-welcomebar-preview-window ul {
1934
+ margin: 0;
1935
+ padding: 0;
1936
+ }
1937
+ .mysticky-welcomebar-preview-window ul li {
1938
+ color: #7761DF;
1939
+ display: inline-block;
1940
+ vertical-align: top;
1941
+ width: 36px;
1942
+ height: 36px;
1943
+ background-color: #DFDDF7;
1944
+ border-radius: 50%;
1945
+ text-align: center;
1946
+ line-height: 36px;
1947
+ margin-bottom: 0;
1948
+ margin-left: 10px;
1949
+ }
1950
+ .mysticky-welcomebar-preview-window ul li.preview-active {
1951
+ color: #fff;
1952
+ background-color: #7761DF;
1953
+ }
1954
+ .mysticky-welcomebar-preview-window ul li .dashicons {
1955
+ line-height: 36px;
1956
+ }
1957
+ .mysticky-welcomebar-preview-screen {
1958
+ background-color: #ffffff;
1959
+ border: 1px solid #DCE2E2;
1960
+ border-radius: 10px;
1961
+ margin: 0 auto;
1962
+ padding: 0;
1963
+ height: 400px;
1964
+ position: relative;
1965
+ overflow: hidden;
1966
+ max-width: 100%;
1967
+ -webkit-transition: all 0.5s ease 0s;
1968
+ -moz-transition: all 0.5s ease 0s;
1969
+ transition: all 0.5s ease 0s;
1970
+ }
1971
+ .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
1972
+ max-width: 320px;
1973
+ }
1974
+ .mysticky-welcomebar-submit {
1975
+ float: right;
1976
+ padding-top: 50px;
1977
+ margin-right: -20px;
1978
+ }
1979
+ .mysticky-welcomebar-form-reset .mysticky-welcomebar-submit {
1980
+ margin-right: 0;
1981
+ padding-top: 30px;
1982
+ }
1983
+ .mysticky-welcomebar-submit input.button-secondary {
1984
+ background: #969696;
1985
+ border-color: #969696;
1986
+ color: #ffffff;
1987
+ text-transform: uppercase;
1988
+ border-radius: 31px;
1989
+ font-size: 26px;
1990
+ margin-right: 10px;
1991
+ padding-left: 23px;
1992
+ padding-right: 23px;
1993
+ height: 60px;
1994
+ width: 200px;
1995
+ border: 0;
1996
+ box-shadow: none;
1997
+ font-weight: 600;
1998
+ text-shadow: none;
1999
+ }
2000
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-buttons {
2001
+ padding-right: 0;
2002
+ }
2003
+ .ui-dialog-buttonset .green-btn.ui-button {
2004
+ background-color: #00c67c;
2005
+ border-color: #00c67c;
2006
+ color: #fff;
2007
+ }
2008
+ .mysticky-welcomebar-setting-content-right.mysticky-welcomebar-setting-redirect-wrap {
2009
+ display: block;
2010
+ }
2011
+ .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-redirect-wrap .myStickymenu-upgrade {
2012
+ margin-top: 7px;
2013
+ }
2014
+ .updates-form-form {
2015
+ min-height: calc(100vh - 280px);
2016
+ }
2017
+ .popup-form-content {
2018
+ background: #ffffff;
2019
+ min-height: 100px;
2020
+ width: 450px;
2021
+ text-align: center;
2022
+ margin-top: 50px;
2023
+ border: solid 1px #c1c1c1;
2024
+ }
2025
+ .updates-content-buttons button {
2026
+ margin: 10px 3px !important;
2027
+ float: left;
2028
+ }
2029
+ .updates-content-buttons a span {
2030
+ -webkit-animation: fa-spin 0.75s infinite linear;
2031
+ animation: fa-spin 0.75s infinite linear;
2032
+ }
2033
+ .updates-content-buttons a:hover, .updates-content-buttons a:focus {
2034
+ color: #ffffff;
2035
+ background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
2036
+ }
2037
+ .updates-content-buttons a:focus {
2038
+ outline: 0;
2039
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50,100,150,.4);
2040
+ }
2041
+ .updates-content-buttons button.form-cancel-btn {
2042
+ float: right !important;
2043
+ }
2044
+ .form-submit-btn {
2045
+ background-color: #3085d6;
2046
+ }
2047
+ .updates-content-buttons a span {
2048
+ -webkit-animation: fa-spin 0.75s infinite linear;
2049
+ animation: fa-spin 0.75s infinite linear;
2050
+ }
2051
+ .add-update-mystickymenu-title {
2052
+ font-size: 20px;
2053
+ line-height: 30px;
2054
+ padding: 20px 20px 0;
2055
+ }
2056
+ .mystickymenu-form-input {
2057
+ padding: 10px 20px;
2058
+ }
2059
+ .mystickymenu-form-input input {
2060
+ width: 100%;
2061
+ transition: border-color .3s,box-shadow .3s;
2062
+ border: 1px solid #d9d9d9;
2063
+ border-radius: .1875em;
2064
+ font-size: 1.125em;
2065
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.06);
2066
+ box-sizing: border-box;
2067
+ height: 2.625em;
2068
+ margin: 1em auto;
2069
+ }
2070
+ .updates-content-buttons {
2071
+ background: #c1c1c1;
2072
+ padding: 0 20px;
2073
+ }
2074
+ div#wp-mysticky_bar_text-wrap {
2075
+ width: 40%;
2076
+ }
2077
+
2078
+ .mystickymenu-popup {
2079
+ position: fixed;
2080
+ width: 100%;
2081
+ height: 100%;
2082
+ top: 0;
2083
+ left: 0;
2084
+ z-index: 100001;
2085
+ background: rgba(0, 0, 0, .75)
2086
+ }
2087
+
2088
+ .mystickymenu-popup-box {
2089
+ padding: 0;
2090
+ width: 600px;
2091
+ max-width: 100%;
2092
+ margin: auto;
2093
+ top: 50%;
2094
+ position: absolute;
2095
+ left: 0;
2096
+ right: 0;
2097
+ border-radius: 5px;
2098
+ transform: translate(0, -50%);
2099
+ -webkit-transform: translate(0, -50%);
2100
+ -moz-transform: translate(0, -50%);
2101
+ text-align: center;
2102
+ background: #fcfcfc
2103
+ }
2104
+
2105
+ .mystickymenu-popup-header {
2106
+ padding: 15px;
2107
+ font-size: 20px;
2108
+ border-bottom: solid 1px #e6e6e6
2109
+ }
2110
+
2111
+ .mystickymenu-popup-content {
2112
+ background: #fff;
2113
+ padding: 15px;
2114
+ font-size: 14px;
2115
+ line-height: 20px
2116
+ }
2117
+
2118
+ .mystickymenu-popup-content iframe {
2119
+ margin: 30px 0
2120
+ }
2121
+
2122
+ .mystickymenu-popup-footer {
2123
+ padding: 15px;
2124
+ border-top: solid 1px #e6e6e6
2125
+ }
2126
+
2127
+ .mystickymenu-popup-footer button {
2128
+ border: none;
2129
+ padding: 10px 20px;
2130
+ border-radius: 4px;
2131
+ background: #00c478;
2132
+ color: #fff;
2133
+ cursor: pointer;
2134
+ }
2135
+
2136
+ .close-mystickymenu-popup {
2137
+ margin: 0;
2138
+ padding: 0;
2139
+ background: 0 0;
2140
+ border: none;
2141
+ float: right;
2142
+ background: #000;
2143
+ border-radius: 50%;
2144
+ color: #fff;
2145
+ text-align: center;
2146
+ width: 24px;
2147
+ height: 24px;
2148
+ cursor: pointer;
2149
+ }
2150
+
2151
+ .close-mystickymenu-popup span {
2152
+ line-height: 24px
2153
+ }
2154
+ @-webkit-keyframes fa-spin {
2155
+ 0% {
2156
+ -webkit-transform: rotate(0deg);
2157
+ transform: rotate(0deg);
2158
+ }
2159
+ 100% {
2160
+ -webkit-transform: rotate(359deg);
2161
+ transform: rotate(359deg);
2162
+ }
2163
+ }
2164
+ @media only screen and (max-width: 1490px) {
2165
+ .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2166
+ padding-left: 10px;
2167
+ }
2168
+ .mysticky-welcomebar-setting-right {
2169
+ width: 400px;
2170
+ }
2171
+ }
2172
+ @media only screen and (max-width: 1355px) {
2173
+ .mysticky-welcomebar-page-option .url-content select {
2174
+ width: 130px;
2175
+ }
2176
+ .mysticky-welcomebar-page-option .url-content input[type="text"] {
2177
+ width: 180px;
2178
+ }
2179
+ .mysticky-welcomebar-setting-action {
2180
+ display: block;
2181
+ }
2182
+ .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2183
+ padding-left: 0;
2184
+ padding-top: 10px;
2185
+ }
2186
+ }
2187
+ @media only screen and (max-width: 1200px) {
2188
+ .mysticky-welcomebar-page-option .url-content select {
2189
+ width: 110px;
2190
+ }
2191
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {
2192
+ width: 230px;
2193
+ }
2194
+ .mysticky-welcomebar-page-option {
2195
+ padding: 10px 3px;
2196
+ }
2197
+ .mysticky-welcomebar-page-option .url-content input[type="text"] {
2198
+ width: 150px;
2199
+ }
2200
+ }
2201
+ @media only screen and (max-width: 1100px) {
2202
+ .mysticky-welcomebar-setting-right {
2203
+ width: 340px;
2204
+ right: 40px;
2205
+ }
2206
+ }
2207
+ @media only screen and (max-width: 1024px) {
2208
+ .mysticky-welcomebar-setting-right {
2209
+ right: 40px;
2210
+ width: 310px;
2211
+ }
2212
+ .mysticky-welcomebar-setting-content > label {
2213
+ font-size: 16px;
2214
+ width: 200px;
2215
+ padding-right: 10px;
2216
+ }
2217
+ .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
2218
+ max-width: 250px;
2219
+ }
2220
+ }
2221
+
2222
+
2223
+
2224
+ .mysticky-custom-fields-tooltip{
2225
+ position: relative;
2226
+ margin-left: 20px;
2227
+ }
2228
+ .mysticky-custom-fields-tooltip:hover p {
2229
+ bottom: 100%;
2230
+ opacity: 1;
2231
+ visibility: visible;
2232
+ }
2233
+
2234
+ .mysticky-custom-fields-tooltip a.mysticky-tooltip {
2235
+ width: 20px;
2236
+ height: 20px;
2237
+ line-height: 20px;
2238
+ border-radius: 35px;
2239
+ padding: 0;
2240
+ text-align: center;
2241
+ font-size: 12px;
2242
+ display: inline-block;
2243
+ color: #ffffff;
2244
+ text-decoration: none;
2245
+ }
2246
+ .mysticky-custom-fields-tooltip a.mysticky-tooltip .dashicons{
2247
+ text-transform: uppercase;
2248
+ color: #1E1E1E;
2249
+ }
2250
+ .mysticky-custom-fields-tooltip p {
2251
+ margin: 0;
2252
+ margin-bottom: 0px;
2253
+ background-color: #000;
2254
+ width: 380px;
2255
+ padding: 10px 10px;
2256
+ border-radius: 8px;
2257
+ color: #fff;
2258
+ position: absolute;
2259
+ bottom: 200%;
2260
+ left: -20px;
2261
+ margin-bottom: 10px;
2262
+ -webkit-transition: all 0.5s ease 0s;
2263
+ -moz-transition: all 0.5s ease 0s;
2264
+ transition: all 0.5s ease 0s;
2265
+ opacity: 0;
2266
+ visibility: hidden;
2267
+ }
2268
+ .mysticky-custom-fields-tooltip p::before {
2269
+ content: "";
2270
+ border-top: 10px solid #000;
2271
+ border-left: 10px solid transparent;
2272
+ border-right: 10px solid transparent;
2273
+ width: 0;
2274
+ height: 0;
2275
+ position: absolute;
2276
+ bottom: -8px;
2277
+ left: 25px;
2278
  }
css/select2.min.css CHANGED
@@ -1,9 +1,9 @@
1
- .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
2
-
3
- .select2-container {
4
- width: 100%!important
5
- }
6
-
7
- .select2-results__options li {
8
- text-align: center
9
- }
1
+ .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
2
+
3
+ .select2-container {
4
+ width: 100%!important
5
+ }
6
+
7
+ .select2-results__options li {
8
+ text-align: center
9
+ }
js/detectmobilebrowser.js CHANGED
@@ -1,7 +1,7 @@
1
- /**
2
- * jQuery.browser.mobile (http://detectmobilebrowser.com/)
3
- *
4
- * jQuery.browser.mobile will be true if the browser is a mobile device
5
- *
6
- **/
7
  (function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera);
1
+ /**
2
+ * jQuery.browser.mobile (http://detectmobilebrowser.com/)
3
+ *
4
+ * jQuery.browser.mobile will be true if the browser is a mobile device
5
+ *
6
+ **/
7
  (function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera);
js/iris-script.js CHANGED
@@ -1,59 +1,59 @@
1
- var priceOptions = {"50_websites":{"1_year":{"price":79,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=3"},"2_year":{"price":125,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=15"},"lifetime":{"price":199,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=9"}},"500_websites":{"1_year":{"price":139,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=16"},"2_year":{"price":225,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=17"},"lifetime":{"price":359,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=18"}},"1000_websites":{"1_year":{"price":199,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=19"},"2_year":{"price":315,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=20"},"lifetime":{"price":499,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=21"}}};
2
- jQuery(document).ready(function($){
3
- jQuery('.my-color-field').wpColorPicker();
4
- jQuery(document).on('click', '.sticky-header-upgrade-now', function(e){
5
- e.preventDefault();
6
- jQuery(".sticky-header-menu ul li a:last").trigger("click");
7
- });
8
-
9
- if(jQuery(".multiple-options").length) {
10
- jQuery(".multiple-options").select2({
11
- minimumResultsForSearch: -1
12
- });
13
- }
14
- if(jQuery(".multiple-web-options").length) {
15
- jQuery(".multiple-web-options").select2({
16
- minimumResultsForSearch: -1
17
- });
18
- }
19
- jQuery(document).on("change", ".multiple-options", function(){
20
- priceText = jQuery(this).find("option:selected").attr("data-header");
21
- thisValue = jQuery(this).val();
22
- thisPrice = jQuery(this).find("option:selected").attr("data-price");
23
- if(!jQuery(this).hasClass("has-multiple-websites")) {
24
- jQuery(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
25
- jQuery(this).closest(".price-table").find(".plan-price").text("$" + thisPrice);
26
- } else {
27
- var webOption = jQuery(".multiple-web-options").val();
28
- var priceSettings = priceOptions[webOption];
29
- var yearPlan = jQuery(".multiple-options.has-multiple-websites option:selected").attr("data-option");
30
- if(priceSettings[yearPlan] != undefined) {
31
- priceSettings = priceSettings[yearPlan];
32
- thisValue = priceSettings.link;
33
- thisPrice = priceSettings.price;
34
- }
35
- }
36
- thisOption = jQuery(this).find("option:selected").attr("data-option");
37
- if(thisOption == "1_year") {
38
- thisPrice = thisPrice+"<span>/year</span>";
39
- priceText = "Renewals for <b>25% off</b>";
40
- } else if(thisOption == "2_year") {
41
- thisPrice = thisPrice+"<span>/2 years</span>";
42
- priceText = "Renewals for <b>25% off</b>";
43
- } else {
44
- thisPrice = thisPrice+"<span>/lifetime</span>";
45
- priceText = "For lifetime";
46
- }
47
- jQuery(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
48
- jQuery(this).closest(".price-table").find(".plan-price").html("$" + thisPrice);
49
- jQuery(this).closest(".price-table").find(".price-offer").html(priceText);
50
- });
51
-
52
- jQuery(document).on("change", ".multiple-web-options", function(){
53
- jQuery(".multiple-options.has-multiple-websites").trigger("change");
54
- });
55
-
56
- if(jQuery(".multiple-options.has-multiple-websites").length) {
57
- jQuery(".multiple-options.has-multiple-websites").trigger("change");
58
- }
59
  });
1
+ var priceOptions = {"50_websites":{"1_year":{"price":79,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=3"},"2_year":{"price":125,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=15"},"lifetime":{"price":199,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=9"}},"500_websites":{"1_year":{"price":139,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=16"},"2_year":{"price":225,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=17"},"lifetime":{"price":359,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=18"}},"1000_websites":{"1_year":{"price":199,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=19"},"2_year":{"price":315,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=20"},"lifetime":{"price":499,"link":"https:\/\/go.premio.io\/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=21"}}};
2
+ jQuery(document).ready(function($){
3
+ jQuery('.my-color-field').wpColorPicker();
4
+ jQuery(document).on('click', '.sticky-header-upgrade-now', function(e){
5
+ e.preventDefault();
6
+ jQuery(".sticky-header-menu ul li a:last").trigger("click");
7
+ });
8
+
9
+ if(jQuery(".multiple-options").length) {
10
+ jQuery(".multiple-options").select2({
11
+ minimumResultsForSearch: -1
12
+ });
13
+ }
14
+ if(jQuery(".multiple-web-options").length) {
15
+ jQuery(".multiple-web-options").select2({
16
+ minimumResultsForSearch: -1
17
+ });
18
+ }
19
+ jQuery(document).on("change", ".multiple-options", function(){
20
+ priceText = jQuery(this).find("option:selected").attr("data-header");
21
+ thisValue = jQuery(this).val();
22
+ thisPrice = jQuery(this).find("option:selected").attr("data-price");
23
+ if(!jQuery(this).hasClass("has-multiple-websites")) {
24
+ jQuery(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
25
+ jQuery(this).closest(".price-table").find(".plan-price").text("$" + thisPrice);
26
+ } else {
27
+ var webOption = jQuery(".multiple-web-options").val();
28
+ var priceSettings = priceOptions[webOption];
29
+ var yearPlan = jQuery(".multiple-options.has-multiple-websites option:selected").attr("data-option");
30
+ if(priceSettings[yearPlan] != undefined) {
31
+ priceSettings = priceSettings[yearPlan];
32
+ thisValue = priceSettings.link;
33
+ thisPrice = priceSettings.price;
34
+ }
35
+ }
36
+ thisOption = jQuery(this).find("option:selected").attr("data-option");
37
+ if(thisOption == "1_year") {
38
+ thisPrice = thisPrice+"<span>/year</span>";
39
+ priceText = "Renewals for <b>25% off</b>";
40
+ } else if(thisOption == "2_year") {
41
+ thisPrice = thisPrice+"<span>/2 years</span>";
42
+ priceText = "Renewals for <b>25% off</b>";
43
+ } else {
44
+ thisPrice = thisPrice+"<span>/lifetime</span>";
45
+ priceText = "For lifetime";
46
+ }
47
+ jQuery(this).closest(".price-table").find("a.cart-link").attr("href", thisValue);
48
+ jQuery(this).closest(".price-table").find(".plan-price").html("$" + thisPrice);
49
+ jQuery(this).closest(".price-table").find(".price-offer").html(priceText);
50
+ });
51
+
52
+ jQuery(document).on("change", ".multiple-web-options", function(){
53
+ jQuery(".multiple-options.has-multiple-websites").trigger("change");
54
+ });
55
+
56
+ if(jQuery(".multiple-options.has-multiple-websites").length) {
57
+ jQuery(".multiple-options.has-multiple-websites").trigger("change");
58
+ }
59
  });
js/mystickymenu-admin.js CHANGED
@@ -1,381 +1,381 @@
1
- (function( $ ) {
2
- "use strict";
3
-
4
- jQuery(document).ready(function($){
5
-
6
- $(document).on("click", ".updates-content-buttons button", function(){
7
- var updateStatus = 0;
8
- if($(this).hasClass("yes")) {
9
- updateStatus = 1;
10
- }
11
- $(".updates-content-buttons button").attr("disabled", true);
12
- $.ajax({
13
- url: ajaxurl,
14
- data: "action=sticky_menu_update_status&status="+updateStatus+"&nonce="+$("#myStickymenu_update_nonce").val()+"&email="+$("#myStickymenu_update_email").val(),
15
- type: 'post',
16
- cache: false,
17
- success: function(){
18
- window.location.reload();
19
- }
20
- })
21
- });
22
-
23
- var handle = $( "#custom-handle" );
24
- $( "#slider" ).slider({
25
- create: function() {
26
- handle.text( $( this ).slider( "value" ) );
27
- handle.text( $('#myfixed_opacity').val() );
28
- handle.css('left', $('#myfixed_opacity').val() + '%')
29
- },
30
- slide: function( event, ui ) {
31
- $('#myfixed_opacity').val(ui.value);
32
- handle.text( ui.value );
33
- }
34
- });
35
- jQuery(
36
- '<div class="pt_number"><div class="pt_numberbutton pt_numberup">+</div><div class="pt_numberbutton pt_numberdown">-</div></div>'
37
- ).insertAfter("input.mysticky-number1");
38
-
39
- jQuery(".mystickynumber1").each(function() {
40
-
41
- var spinner = jQuery(this),
42
- input = spinner.find('input[type="number"]'),
43
- btnUp = spinner.find(".pt_numberup"),
44
- btnDown = spinner.find(".pt_numberdown"),
45
- min = input.attr("min"),
46
- max = input.attr("max"),
47
- valOfAmout = input.val(),
48
- newVal = 0;
49
-
50
- btnUp.on("click", function() {
51
-
52
- var oldValue = parseFloat(input.val());
53
-
54
- if (oldValue >= max) {
55
- var newVal = oldValue;
56
- } else {
57
- var newVal = oldValue + 1;
58
- }
59
- spinner.find("input").val(newVal);
60
- spinner.find("input").trigger("change");
61
- console.log(newVal);
62
- });
63
- btnDown.on("click", function() {
64
- var oldValue = parseFloat(input.val());
65
- if (oldValue <= min) {
66
- var newVal = oldValue;
67
- } else {
68
- var newVal = oldValue - 1;
69
- }
70
- spinner.find("input").val(newVal);
71
- spinner.find("input").trigger("change");
72
- });
73
- });
74
-
75
-
76
- $(".confirm").on( 'click', function() {
77
- return window.confirm("Reset to default settings?");
78
- });
79
-
80
- var flag = 0;
81
- $( "#mystickymenu-select option" ).each(function( i ) {
82
-
83
- if ($('select#mystickymenu-select option:selected').val() !== '' ) {
84
- flag = 1;
85
- }
86
- if( $('select#mystickymenu-select option:selected').val() == $(this).val() ){
87
- $('#mysticky_class_selector').show();
88
- }else {
89
- $('#mysticky_class_selector').hide();
90
- }
91
- });
92
- if ( flag === 0 ) {
93
- $('#mysticky_class_selector').show();
94
- $("select#mystickymenu-select option[value=custom]").attr('selected', 'selected');
95
- }
96
-
97
- $("#mystickymenu-select").on( 'change', function() {
98
- if ($(this).val() == 'custom' ) {
99
- $('#mysticky_class_selector').show();
100
- }else {
101
- $('#mysticky_class_selector').hide();
102
- }
103
-
104
- });
105
- /*02-08-2019 welcom bar js*/
106
- $( '.mysticky-welcomebar-action' ).on( 'change', function(){
107
- var mysticky_welcomebar_action = $( this ).val();
108
- if ( mysticky_welcomebar_action == 'redirect_to_url' ) {
109
- $( '.mysticky-welcomebar-redirect' ).show();
110
- $( '.mysticky-welcomebar-redirect-container' ).show();
111
- } else {
112
- $( '.mysticky-welcomebar-redirect' ).hide();
113
- $( '.mysticky-welcomebar-redirect-container' ).hide();
114
- }
115
- if ( $('.mysticky-welcomebar-action option:selected').attr('data-href') !== '' && mysticky_welcomebar_action == 'thankyou_screen' ) {
116
- window.open( $( '.mysticky-welcomebar-action option:selected' ).attr('data-href') , '_blank');
117
- }
118
- } );
119
- //$( '#mysticky_welcomebar_expirydate' ).datepicker( );
120
- //$( "#mysticky_welcomebar_expirydate" ).datepicker( "option", "dateFormat", 'mm/dd/yy' );
121
-
122
- var page_option_content = "";
123
- page_option_content = $( '.mysticky-welcomebar-page-options-html' ).html();
124
- $( '.mysticky-welcomebar-page-options-html' ).remove();
125
-
126
- $( '#create-rule' ).on( 'click', function(){
127
- var append_html = page_option_content.replace(/__count__/g, '1', page_option_content);
128
- $( '.mysticky-welcomebar-page-options' ).append( append_html );
129
- $( '.mysticky-welcomebar-page-options' ).show();
130
- $( this ).parent().remove();
131
- });
132
- $( '.sticky-header-menu ul li a' ).on( 'click', function(){
133
- if ( $( "#sticky-header-welcome-bar" ).is( ":visible" ) ) {
134
- check_for_preview_pos();
135
- }
136
- } );
137
- jQuery(window).scroll(function(){
138
- if ( $( "#sticky-header-welcome-bar" ).is( ":visible" ) ) {
139
- check_for_preview_pos();
140
- }
141
- });
142
- /*Mysticky page target*/
143
- var mysticky_total_page_option = 0;
144
- var mysticky_page_option_content = "";
145
- mysticky_total_page_option = $( '.mysticky-page-option' ).length;
146
- mysticky_page_option_content = $( '.mysticky-page-options-html' ).html();
147
- $( '.mysticky-page-options-html' ).remove();
148
-
149
- $( '#mysticky_create-rule' ).on( 'click', function(){
150
-
151
- var append_html = mysticky_page_option_content.replace(/__count__/g, mysticky_total_page_option, mysticky_page_option_content);
152
- mysticky_total_page_option++;
153
- $( '.mysticky-page-options' ).append( append_html );
154
- $( '.mysticky-page-options .mysticky-page-option' ).removeClass( 'last' );
155
- $( '.mysticky-page-options .mysticky-page-option:last' ).addClass( 'last' );
156
-
157
- if( $( '.mysticky-page-option .myStickymenu-upgrade' ).length > 0 ) {
158
- $( this ).remove();
159
- }
160
- });
161
- $( document ).on( 'click', '.mysticky-remove-rule', function() {
162
- $( this ).closest( '.mysticky-page-option' ).remove();
163
- $( '.mysticky-page-options .mysticky-page-option' ).removeClass( 'last' );
164
- $( '.mysticky-page-options .mysticky-page-option:last' ).addClass( 'last' );
165
- });
166
- $( document ).on( 'change', '.mysticky-url-options', function() {
167
- var current_val = jQuery( this ).val();
168
- var mysticky_welcomebar_siteURL = jQuery( '#mysticky_welcomebar_site_url' ).val();
169
- var mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL;
170
- if( current_val == 'page_has_url' ) {
171
- mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL;
172
- } else if( current_val == 'page_contains' ) {
173
- mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL + '%s%';
174
- } else if( current_val == 'page_start_with' ) {
175
- mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL + 's%';
176
- } else if( current_val == 'page_end_with' ) {
177
- mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL + '%s';
178
- }
179
- $( this ).closest( '.url-content' ).find( '.mysticky-welcomebar-url' ).text( mysticky_welcomebar_newURL );
180
- });
181
- /* welcome bar live preview */
182
- /* Apply Wp Color Picker */
183
- var myOptions = {
184
- change: function(event, ui){
185
- var color_id = $(this).attr('id');
186
- var slug = $(this).data('slug');
187
-
188
- var color_code = ui.color.toString();
189
- if ( color_id === 'mysticky_welcomebar_bgcolor'){
190
- $('.mysticky-welcomebar-fixed').css('background-color', color_code );
191
- }
192
- if ( color_id === 'mysticky_welcomebar_bgtxtcolor'){
193
- $('.mysticky-welcomebar-fixed .mysticky-welcomebar-content p').css('color', color_code );
194
- }
195
- if ( color_id === 'mysticky_welcomebar_btncolor'){
196
- $('.mysticky-welcomebar-btn a').css('background-color', color_code );
197
- }
198
- if ( color_id === 'mysticky_welcomebar_btntxtcolor'){
199
- $('.mysticky-welcomebar-btn a').css('color', color_code );
200
- }
201
- }
202
- };
203
- $('.mysticky-welcomebar-setting-wrap .my-color-field').wpColorPicker(myOptions);
204
-
205
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_x_desktop]"]' ).on( 'change', function(){
206
- if( $( this ).prop( "checked" ) == true ) {
207
- $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-showx-desktop' );
208
- } else {
209
- $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-showx-desktop' );
210
- }
211
- } );
212
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_x_mobile]"]' ).on( 'change', function(){
213
- if( $( this ).prop( "checked" ) == true ) {
214
- $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-showx-mobile' );
215
- } else {
216
- $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-showx-mobile' );
217
- }
218
- } );
219
-
220
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]"]' ).on( 'change', function(){
221
- if( $( this ).prop( "checked" ) == true ) {
222
- $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-btn-desktop' );
223
- } else {
224
- $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-btn-desktop' );
225
- }
226
-
227
- if( $( this ).prop( "checked" ) == false && $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]"]' ).prop( "checked" ) == false ) {
228
- $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
229
- 'pointer-events': 'none',
230
- 'opacity': '0.5'
231
- });
232
- } else {
233
- $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
234
- 'pointer-events': '',
235
- 'opacity': ''
236
- });
237
- }
238
- } );
239
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]"]' ).on( 'change', function(){
240
- if( $( this ).prop( "checked" ) == true ) {
241
- $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-btn-mobile' );
242
- } else {
243
- $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-btn-mobile' );
244
- }
245
-
246
- if( $( this ).prop( "checked" ) == false && $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]"]' ).prop( "checked" ) == false ) {
247
- $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
248
- 'pointer-events': 'none',
249
- 'opacity': '0.5'
250
- });
251
- } else {
252
- $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
253
- 'pointer-events': '',
254
- 'opacity': ''
255
- });
256
- }
257
- } );
258
- if( $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]"]' ).prop( "checked" ) == false && $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]"]' ).prop( "checked" ) == false ) {
259
- $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
260
- 'pointer-events': 'none',
261
- 'opacity': '0.5'
262
- });
263
- } else {
264
- $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
265
- 'pointer-events': '',
266
- 'opacity': ''
267
- });
268
- }
269
-
270
- $( 'select[name="mysticky_option_welcomebar[mysticky_welcomebar_font]"]' ).on( 'change', function(){
271
- var myfixed_font_val = $( this ).val();
272
- $( 'head' ).append( '<link href="https://fonts.googleapis.com/css?family='+ myfixed_font_val +':400,600,700" rel="stylesheet" type="text/css" class="sfba-google-font">' );
273
- $( '.mysticky-welcomebar-fixed' ).css( 'font-family', myfixed_font_val );
274
- } );
275
-
276
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_fontsize]"]' ).on( 'keyup click', function(){
277
- var mysticky_welcomebar_fontsize_val = $( this ).val();
278
- $( '.mysticky-welcomebar-fixed p' ).css( 'font-size', mysticky_welcomebar_fontsize_val + 'px' );
279
- $( '.mysticky-welcomebar-btn a' ).css( 'font-size', mysticky_welcomebar_fontsize_val + 'px' );
280
- } );
281
-
282
- $( '#wp-mysticky_bar_text-wrap .wp-editor-tabs button' ).on( 'click', function(){
283
- if ( $("#wp-mysticky_bar_text-wrap").hasClass("tmce-active") ){
284
-
285
- }
286
- } );
287
-
288
- $( document ).on( 'click', '#qt_mysticky_bar_text_toolbar .ed_button', function(){
289
- $( 'textarea[name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]"]' ).trigger( 'change keyup click' );
290
- } );
291
-
292
- $( 'textarea[name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]"]' ).on( 'change keyup click', function(e){
293
- var mysticky_bar_text_val = $( this ).val().replace(/(?:\r\n|\r|\n)/g, '<br />');
294
- $( '.mysticky-welcomebar-content' ).html( "<p>" + mysticky_bar_text_val + "</p>");
295
- } );
296
-
297
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]"]' ).on( 'keyup', function(){
298
- var mysticky_btn_text_val = $( this ).val();
299
-
300
- $( '.mysticky-welcomebar-btn a' ).text( mysticky_btn_text_val );
301
- } );
302
-
303
- /* DATE: 11-12-2019 start */
304
- $( 'select[name="mysticky_option_welcomebar[mysticky_welcomebar_attentionselect]"]' ).on( 'change', function(){
305
- $(".mysticky-welcomebar-fixed").removeClass (function (index, className) {
306
- return (className.match (/(^|\s)mysticky-welcomebar-attention-\S+/g) || []).join(' ');
307
- });
308
- $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-attention-' + $(this).val() );
309
-
310
- } );
311
- /* DATE: 11-12-2019 End */
312
- $("#myStickymenu-entry-effect").on( 'change', function() {
313
- $(".mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed").removeClass('entry-effect');
314
- $(".mysticky-welcomebar-fixed").removeClass (function (index, className) {
315
- return (className.match (/(^|\s)mysticky-welcomebar-entry-effect-\S+/g) || []).join(' ');
316
- });
317
- $( '.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-entry-effect-' + $(this).val() );
318
- setTimeout( function(){
319
- $(".mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed").addClass('entry-effect');
320
- }, 1000 );
321
-
322
- });
323
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
324
-
325
- $( '.mysticky-welcomebar-submit input#submit' ).on( 'click', function(e){
326
- if ( $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_enable]"]' ).prop( 'checked' ) == false && $( 'input#save_welcome_bar' ).val() == '' ) {
327
- e.preventDefault();
328
- $( "#mysticky-welcomebar-save-confirm" ).dialog({
329
- resizable: false,
330
- modal: true,
331
- draggable: false,
332
- height: 'auto',
333
- width: 600,
334
- buttons: {
335
- "Yes, show it on my site": {
336
- click:function () {
337
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_enable]"]' ).prop( 'checked', true );
338
- $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
339
- $( this ).dialog('close');
340
- },
341
- text: 'Yes, show it on my site',
342
- class: 'green-btn'
343
- },
344
- "Just save and keep it off": function () {
345
- $( 'input#save_welcome_bar' ).val('1');
346
- $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
347
- $( this ).dialog( 'close' );
348
- }
349
- }
350
- });
351
- }
352
- //return false;
353
- } );
354
-
355
- });
356
- $( window ).load( function(){
357
- $( '.mysticky-welcomebar-url-options' ).each( function(){
358
- $( this ).trigger( 'change' );
359
- });
360
- });
361
- function check_for_preview_pos() {
362
- var mysticky_welcomebar_form_pos = $( '#sticky-header-welcome-bar' ).offset().top;
363
- if($(".show-on-apper").length && $(".mysticky-welcomebar-setting-right").length) {
364
- var topPos = $(".show-on-apper").offset().top - $(window).scrollTop() - 700;
365
- if (topPos < 0) {
366
- topPos = Math.abs(topPos);
367
- jQuery(".mysticky-welcomebar-setting-right").css("margin-top", ((-1)*topPos)+"px");
368
- } else {
369
- jQuery(".mysticky-welcomebar-setting-right").css("margin-top", "0");
370
- }
371
- }
372
- if ( ( mysticky_welcomebar_form_pos + 32 ) < $(window).scrollTop() ) {
373
- $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'fixed' );
374
- $( '.mysticky-welcomebar-setting-right' ).css( 'right', '70px' );
375
- } else {
376
- $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'absolute' );
377
- $( '.mysticky-welcomebar-setting-right' ).css( 'right', '50px' );
378
- }
379
- }
380
-
381
  })(jQuery);
1
+ (function( $ ) {
2
+ "use strict";
3
+
4
+ jQuery(document).ready(function($){
5
+
6
+ $(document).on("click", ".updates-content-buttons button", function(){
7
+ var updateStatus = 0;
8
+ if($(this).hasClass("yes")) {
9
+ updateStatus = 1;
10
+ }
11
+ $(".updates-content-buttons button").attr("disabled", true);
12
+ $.ajax({
13
+ url: ajaxurl,
14
+ data: "action=sticky_menu_update_status&status="+updateStatus+"&nonce="+$("#myStickymenu_update_nonce").val()+"&email="+$("#myStickymenu_update_email").val(),
15
+ type: 'post',
16
+ cache: false,
17
+ success: function(){
18
+ window.location.reload();
19
+ }
20
+ })
21
+ });
22
+
23
+ var handle = $( "#custom-handle" );
24
+ $( "#slider" ).slider({
25
+ create: function() {
26
+ handle.text( $( this ).slider( "value" ) );
27
+ handle.text( $('#myfixed_opacity').val() );
28
+ handle.css('left', $('#myfixed_opacity').val() + '%')
29
+ },
30
+ slide: function( event, ui ) {
31
+ $('#myfixed_opacity').val(ui.value);
32
+ handle.text( ui.value );
33
+ }
34
+ });
35
+ jQuery(
36
+ '<div class="pt_number"><div class="pt_numberbutton pt_numberup">+</div><div class="pt_numberbutton pt_numberdown">-</div></div>'
37
+ ).insertAfter("input.mysticky-number1");
38
+
39
+ jQuery(".mystickynumber1").each(function() {
40
+
41
+ var spinner = jQuery(this),
42
+ input = spinner.find('input[type="number"]'),
43
+ btnUp = spinner.find(".pt_numberup"),
44
+ btnDown = spinner.find(".pt_numberdown"),
45
+ min = input.attr("min"),
46
+ max = input.attr("max"),
47
+ valOfAmout = input.val(),
48
+ newVal = 0;
49
+
50
+ btnUp.on("click", function() {
51
+
52
+ var oldValue = parseFloat(input.val());
53
+
54
+ if (oldValue >= max) {
55
+ var newVal = oldValue;
56
+ } else {
57
+ var newVal = oldValue + 1;
58
+ }
59
+ spinner.find("input").val(newVal);
60
+ spinner.find("input").trigger("change");
61
+ console.log(newVal);
62
+ });
63
+ btnDown.on("click", function() {
64
+ var oldValue = parseFloat(input.val());
65
+ if (oldValue <= min) {
66
+ var newVal = oldValue;
67
+ } else {
68
+ var newVal = oldValue - 1;
69
+ }
70
+ spinner.find("input").val(newVal);
71
+ spinner.find("input").trigger("change");
72
+ });
73
+ });
74
+
75
+
76
+ $(".confirm").on( 'click', function() {
77
+ return window.confirm("Reset to default settings?");
78
+ });
79
+
80
+ var flag = 0;
81
+ $( "#mystickymenu-select option" ).each(function( i ) {
82
+
83
+ if ($('select#mystickymenu-select option:selected').val() !== '' ) {
84
+ flag = 1;
85
+ }
86
+ if( $('select#mystickymenu-select option:selected').val() == $(this).val() ){
87
+ $('#mysticky_class_selector').show();
88
+ }else {
89
+ $('#mysticky_class_selector').hide();
90
+ }
91
+ });
92
+ if ( flag === 0 ) {
93
+ $('#mysticky_class_selector').show();
94
+ $("select#mystickymenu-select option[value=custom]").attr('selected', 'selected');
95
+ }
96
+
97
+ $("#mystickymenu-select").on( 'change', function() {
98
+ if ($(this).val() == 'custom' ) {
99
+ $('#mysticky_class_selector').show();
100
+ }else {
101
+ $('#mysticky_class_selector').hide();
102
+ }
103
+
104
+ });
105
+ /*02-08-2019 welcom bar js*/
106
+ $( '.mysticky-welcomebar-action' ).on( 'change', function(){
107
+ var mysticky_welcomebar_action = $( this ).val();
108
+ if ( mysticky_welcomebar_action == 'redirect_to_url' ) {
109
+ $( '.mysticky-welcomebar-redirect' ).show();
110
+ $( '.mysticky-welcomebar-redirect-container' ).show();
111
+ } else {
112
+ $( '.mysticky-welcomebar-redirect' ).hide();
113
+ $( '.mysticky-welcomebar-redirect-container' ).hide();
114
+ }
115
+ if ( $('.mysticky-welcomebar-action option:selected').attr('data-href') !== '' && mysticky_welcomebar_action == 'thankyou_screen' ) {
116
+ window.open( $( '.mysticky-welcomebar-action option:selected' ).attr('data-href') , '_blank');
117
+ }
118
+ } );
119
+ //$( '#mysticky_welcomebar_expirydate' ).datepicker( );
120
+ //$( "#mysticky_welcomebar_expirydate" ).datepicker( "option", "dateFormat", 'mm/dd/yy' );
121
+
122
+ var page_option_content = "";
123
+ page_option_content = $( '.mysticky-welcomebar-page-options-html' ).html();
124
+ $( '.mysticky-welcomebar-page-options-html' ).remove();
125
+
126
+ $( '#create-rule' ).on( 'click', function(){
127
+ var append_html = page_option_content.replace(/__count__/g, '1', page_option_content);
128
+ $( '.mysticky-welcomebar-page-options' ).append( append_html );
129
+ $( '.mysticky-welcomebar-page-options' ).show();
130
+ $( this ).parent().remove();
131
+ });
132
+ $( '.sticky-header-menu ul li a' ).on( 'click', function(){
133
+ if ( $( "#sticky-header-welcome-bar" ).is( ":visible" ) ) {
134
+ check_for_preview_pos();
135
+ }
136
+ } );
137
+ jQuery(window).on('scroll', function(){
138
+ if ( $( "#sticky-header-welcome-bar" ).is( ":visible" ) ) {
139
+ check_for_preview_pos();
140
+ }
141
+ });
142
+ /*Mysticky page target*/
143
+ var mysticky_total_page_option = 0;
144
+ var mysticky_page_option_content = "";
145
+ mysticky_total_page_option = $( '.mysticky-page-option' ).length;
146
+ mysticky_page_option_content = $( '.mysticky-page-options-html' ).html();
147
+ $( '.mysticky-page-options-html' ).remove();
148
+
149
+ $( '#mysticky_create-rule' ).on( 'click', function(){
150
+
151
+ var append_html = mysticky_page_option_content.replace(/__count__/g, mysticky_total_page_option, mysticky_page_option_content);
152
+ mysticky_total_page_option++;
153
+ $( '.mysticky-page-options' ).append( append_html );
154
+ $( '.mysticky-page-options .mysticky-page-option' ).removeClass( 'last' );
155
+ $( '.mysticky-page-options .mysticky-page-option:last' ).addClass( 'last' );
156
+
157
+ if( $( '.mysticky-page-option .myStickymenu-upgrade' ).length > 0 ) {
158
+ $( this ).remove();
159
+ }
160
+ });
161
+ $( document ).on( 'click', '.mysticky-remove-rule', function() {
162
+ $( this ).closest( '.mysticky-page-option' ).remove();
163
+ $( '.mysticky-page-options .mysticky-page-option' ).removeClass( 'last' );
164
+ $( '.mysticky-page-options .mysticky-page-option:last' ).addClass( 'last' );
165
+ });
166
+ $( document ).on( 'change', '.mysticky-url-options', function() {
167
+ var current_val = jQuery( this ).val();
168
+ var mysticky_welcomebar_siteURL = jQuery( '#mysticky_welcomebar_site_url' ).val();
169
+ var mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL;
170
+ if( current_val == 'page_has_url' ) {
171
+ mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL;
172
+ } else if( current_val == 'page_contains' ) {
173
+ mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL + '%s%';
174
+ } else if( current_val == 'page_start_with' ) {
175
+ mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL + 's%';
176
+ } else if( current_val == 'page_end_with' ) {
177
+ mysticky_welcomebar_newURL = mysticky_welcomebar_siteURL + '%s';
178
+ }
179
+ $( this ).closest( '.url-content' ).find( '.mysticky-welcomebar-url' ).text( mysticky_welcomebar_newURL );
180
+ });
181
+ /* welcome bar live preview */
182
+ /* Apply Wp Color Picker */
183
+ var myOptions = {
184
+ change: function(event, ui){
185
+ var color_id = $(this).attr('id');
186
+ var slug = $(this).data('slug');
187
+
188
+ var color_code = ui.color.toString();
189
+ if ( color_id === 'mysticky_welcomebar_bgcolor'){
190
+ $('.mysticky-welcomebar-fixed').css('background-color', color_code );
191
+ }
192
+ if ( color_id === 'mysticky_welcomebar_bgtxtcolor'){
193
+ $('.mysticky-welcomebar-fixed .mysticky-welcomebar-content p').css('color', color_code );
194
+ }
195
+ if ( color_id === 'mysticky_welcomebar_btncolor'){
196
+ $('.mysticky-welcomebar-btn a').css('background-color', color_code );
197
+ }
198
+ if ( color_id === 'mysticky_welcomebar_btntxtcolor'){
199
+ $('.mysticky-welcomebar-btn a').css('color', color_code );
200
+ }
201
+ }
202
+ };
203
+ $('.mysticky-welcomebar-setting-wrap .my-color-field').wpColorPicker(myOptions);
204
+
205
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_x_desktop]"]' ).on( 'change', function(){
206
+ if( $( this ).prop( "checked" ) == true ) {
207
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-showx-desktop' );
208
+ } else {
209
+ $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-showx-desktop' );
210
+ }
211
+ } );
212
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_x_mobile]"]' ).on( 'change', function(){
213
+ if( $( this ).prop( "checked" ) == true ) {
214
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-showx-mobile' );
215
+ } else {
216
+ $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-showx-mobile' );
217
+ }
218
+ } );
219
+
220
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]"]' ).on( 'change', function(){
221
+ if( $( this ).prop( "checked" ) == true ) {
222
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-btn-desktop' );
223
+ } else {
224
+ $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-btn-desktop' );
225
+ }
226
+
227
+ if( $( this ).prop( "checked" ) == false && $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]"]' ).prop( "checked" ) == false ) {
228
+ $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
229
+ 'pointer-events': 'none',
230
+ 'opacity': '0.5'
231
+ });
232
+ } else {
233
+ $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
234
+ 'pointer-events': '',
235
+ 'opacity': ''
236
+ });
237
+ }
238
+ } );
239
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]"]' ).on( 'change', function(){
240
+ if( $( this ).prop( "checked" ) == true ) {
241
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-btn-mobile' );
242
+ } else {
243
+ $( '.mysticky-welcomebar-fixed' ).removeClass( 'mysticky-welcomebar-btn-mobile' );
244
+ }
245
+
246
+ if( $( this ).prop( "checked" ) == false && $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]"]' ).prop( "checked" ) == false ) {
247
+ $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
248
+ 'pointer-events': 'none',
249
+ 'opacity': '0.5'
250
+ });
251
+ } else {
252
+ $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
253
+ 'pointer-events': '',
254
+ 'opacity': ''
255
+ });
256
+ }
257
+ } );
258
+ if( $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]"]' ).prop( "checked" ) == false && $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]"]' ).prop( "checked" ) == false ) {
259
+ $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
260
+ 'pointer-events': 'none',
261
+ 'opacity': '0.5'
262
+ });
263
+ } else {
264
+ $( ".mysticky_welcomebar_disable, .mysticky_welcomebar_btn_color button.wp-color-result" ).css({
265
+ 'pointer-events': '',
266
+ 'opacity': ''
267
+ });
268
+ }
269
+
270
+ $( 'select[name="mysticky_option_welcomebar[mysticky_welcomebar_font]"]' ).on( 'change', function(){
271
+ var myfixed_font_val = $( this ).val();
272
+ $( 'head' ).append( '<link href="https://fonts.googleapis.com/css?family='+ myfixed_font_val +':400,600,700" rel="stylesheet" type="text/css" class="sfba-google-font">' );
273
+ $( '.mysticky-welcomebar-fixed' ).css( 'font-family', myfixed_font_val );
274
+ } );
275
+
276
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_fontsize]"]' ).on( 'keyup click', function(){
277
+ var mysticky_welcomebar_fontsize_val = $( this ).val();
278
+ $( '.mysticky-welcomebar-fixed p' ).css( 'font-size', mysticky_welcomebar_fontsize_val + 'px' );
279
+ $( '.mysticky-welcomebar-btn a' ).css( 'font-size', mysticky_welcomebar_fontsize_val + 'px' );
280
+ } );
281
+
282
+ $( '#wp-mysticky_bar_text-wrap .wp-editor-tabs button' ).on( 'click', function(){
283
+ if ( $("#wp-mysticky_bar_text-wrap").hasClass("tmce-active") ){
284
+
285
+ }
286
+ } );
287
+
288
+ $( document ).on( 'click', '#qt_mysticky_bar_text_toolbar .ed_button', function(){
289
+ $( 'textarea[name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]"]' ).trigger( 'change keyup click' );
290
+ } );
291
+
292
+ $( 'textarea[name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]"]' ).on( 'change keyup click', function(e){
293
+ var mysticky_bar_text_val = $( this ).val().replace(/(?:\r\n|\r|\n)/g, '<br />');
294
+ $( '.mysticky-welcomebar-content' ).html( "<p>" + mysticky_bar_text_val + "</p>");
295
+ } );
296
+
297
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]"]' ).on( 'keyup', function(){
298
+ var mysticky_btn_text_val = $( this ).val();
299
+
300
+ $( '.mysticky-welcomebar-btn a' ).text( mysticky_btn_text_val );
301
+ } );
302
+
303
+ /* DATE: 11-12-2019 start */
304
+ $( 'select[name="mysticky_option_welcomebar[mysticky_welcomebar_attentionselect]"]' ).on( 'change', function(){
305
+ $(".mysticky-welcomebar-fixed").removeClass (function (index, className) {
306
+ return (className.match (/(^|\s)mysticky-welcomebar-attention-\S+/g) || []).join(' ');
307
+ });
308
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-attention-' + $(this).val() );
309
+
310
+ } );
311
+ /* DATE: 11-12-2019 End */
312
+ $("#myStickymenu-entry-effect").on( 'change', function() {
313
+ $(".mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed").removeClass('entry-effect');
314
+ $(".mysticky-welcomebar-fixed").removeClass (function (index, className) {
315
+ return (className.match (/(^|\s)mysticky-welcomebar-entry-effect-\S+/g) || []).join(' ');
316
+ });
317
+ $( '.mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-entry-effect-' + $(this).val() );
318
+ setTimeout( function(){
319
+ $(".mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed").addClass('entry-effect');
320
+ }, 1000 );
321
+
322
+ });
323
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
324
+
325
+ $( '.mysticky-welcomebar-submit input#submit' ).on( 'click', function(e){
326
+ if ( $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_enable]"]' ).prop( 'checked' ) == false && $( 'input#save_welcome_bar' ).val() == '' ) {
327
+ e.preventDefault();
328
+ $( "#mysticky-welcomebar-save-confirm" ).dialog({
329
+ resizable: false,
330
+ modal: true,
331
+ draggable: false,
332
+ height: 'auto',
333
+ width: 600,
334
+ buttons: {
335
+ "Yes, show it on my site": {
336
+ click:function () {
337
+ $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_enable]"]' ).prop( 'checked', true );
338
+ $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
339
+ $( this ).dialog('close');
340
+ },
341
+ text: 'Yes, show it on my site',
342
+ class: 'green-btn'
343
+ },
344
+ "Just save and keep it off": function () {
345
+ $( 'input#save_welcome_bar' ).val('1');
346
+ $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
347
+ $( this ).dialog( 'close' );
348
+ }
349
+ }
350
+ });
351
+ }
352
+ //return false;
353
+ } );
354
+
355
+ });
356
+ $( window ).on('load', function(){
357
+ $( '.mysticky-welcomebar-url-options' ).each( function(){
358
+ $( this ).trigger( 'change' );
359
+ });
360
+ });
361
+ function check_for_preview_pos() {
362
+ var mysticky_welcomebar_form_pos = $( '#sticky-header-welcome-bar' ).offset().top;
363
+ if($(".show-on-apper").length && $(".mysticky-welcomebar-setting-right").length) {
364
+ var topPos = $(".show-on-apper").offset().top - $(window).scrollTop() - 700;
365
+ if (topPos < 0) {
366
+ topPos = Math.abs(topPos);
367
+ jQuery(".mysticky-welcomebar-setting-right").css("margin-top", ((-1)*topPos)+"px");
368
+ } else {
369
+ jQuery(".mysticky-welcomebar-setting-right").css("margin-top", "0");
370
+ }
371
+ }
372
+ if ( ( mysticky_welcomebar_form_pos + 32 ) < $(window).scrollTop() ) {
373
+ $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'fixed' );
374
+ $( '.mysticky-welcomebar-setting-right' ).css( 'right', '70px' );
375
+ } else {
376
+ $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'absolute' );
377
+ $( '.mysticky-welcomebar-setting-right' ).css( 'right', '50px' );
378
+ }
379
+ }
380
+
381
  })(jQuery);
js/mystickymenu.js CHANGED
@@ -1,446 +1,453 @@
1
- /*!
2
- * myStickymenu by m.r.d.a
3
- * v2.0.4
4
- */
5
- (function( $ ) {
6
- "use strict";
7
-
8
- $(document).ready(function($){
9
-
10
- if ( jQuery.browser.mobile && !option.device_mobile) {
11
- return false;
12
- } else if ( !jQuery.browser.mobile && !option.device_desktop) {
13
- return false;
14
- }
15
-
16
- // get Sticky Class setting if class name existts
17
- if ($(option.mystickyClass) [0]){
18
- // Do nothing
19
- } else {
20
- // Do something if class does not exist and stop
21
- console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");
22
- return;
23
- }
24
-
25
-
26
- // Get class name
27
- var mystickyClass = document.querySelector(option.mystickyClass);
28
-
29
- // get disable at small screen size setting
30
- var disableWidth = parseInt(option.disableWidth);
31
-
32
- // get disable at large screen size setting
33
- var disableLargeWidth = parseInt(option.disableLargeWidth);
34
-
35
- // get transition effect (slide or fade)
36
- var mystickyTransition = option.mystickyTransition;
37
-
38
- // get activaton height setting
39
- var activationHeight = parseInt(option.activationHeight);
40
-
41
- // if is admin bar showing, needed for auto calc of activation height when admin bar is showing
42
- var adminBar = option.adminBar;
43
-
44
- // disable on scroll down
45
- var mysticky_disable_down = option.mysticky_disable_down;
46
-
47
- var viewportWidth;
48
-
49
- function calcViewportWidth(e){
50
-
51
- // Calculate actual viewport width
52
- var e = window, a = 'inner';
53
-
54
- if (!('innerWidth' in window )) {
55
- a = 'client';
56
- e = document.documentElement || document.body;
57
- }
58
- viewportWidth = e[ a+'Width' ];
59
-
60
- }
61
-
62
- calcViewportWidth();
63
-
64
- var parentmysticky = mystickyClass.parentNode;
65
-
66
- var wrappermysticky = document.createElement('div');
67
- var position = 0;
68
- for(var i = 0; i < parentmysticky.childNodes.length; i++) {
69
- if(parentmysticky.childNodes[i] == mystickyClass) {
70
- position = i;
71
- break;
72
- }
73
- }
74
-
75
- wrappermysticky.id = 'mysticky-wrap';
76
- wrappermysticky.appendChild(mystickyClass);
77
- parentmysticky.insertBefore(wrappermysticky, parentmysticky.childNodes[position]);
78
-
79
- var parentnav = mystickyClass.parentNode;
80
- var wrappernav = document.createElement('div');
81
- wrappernav.id = 'mysticky-nav';
82
- parentnav.replaceChild(wrappernav, mystickyClass);
83
- wrappernav.appendChild(mystickyClass);
84
-
85
- // get activation height from settings
86
- if ( activationHeight == "0" ) {
87
- var autoActivate = true;
88
- }
89
-
90
- var mydivHeight;
91
-
92
-
93
- function initialDivHeight(){
94
-
95
- // get initial element height of selected sticky class
96
- mydivHeight = (mystickyClass.offsetHeight);
97
-
98
- // when initial element have margin bottom - awaken example using #masthead class
99
- if (parseInt($(mystickyClass).css("marginBottom")) > 0) {
100
-
101
- // element have margin bottom, apply it to initial wrap
102
- //$(mystickyClass).css("marginBottom").replace('px', '')
103
- wrappermysticky.style.marginBottom = ($(mystickyClass).css("marginBottom"));
104
- }
105
-
106
- if (mydivHeight == "0") {
107
- // something is wrong, wrapper cant be zero, if so content will jump while scroll. Awaken theme (for example) with .awaken-navigation-container class selected will use this part. Calculate height based on element children height
108
-
109
- $(mystickyClass).children().filter(':visible').each(function(){
110
- mydivHeight = $(this).outerHeight(true);
111
-
112
- });
113
-
114
- }
115
-
116
- if (viewportWidth >= disableWidth) {
117
- //wrappermysticky.style.height = mydivHeight + 'px';
118
- }
119
- }
120
-
121
- initialDivHeight();
122
-
123
- var myfixedHeight;
124
-
125
- function fixedDivHeight(){
126
- //if ( autoActivate == true ) {
127
-
128
- // calculate element height while fixed
129
- mystickyClass.classList.add('myfixed')
130
-
131
- myfixedHeight = $(".myfixed").outerHeight();
132
-
133
- if (myfixedHeight == "0") {
134
- // something is wrong, wrapper cant be zero, try to calculate again with div children.
135
- $(".myfixed").children().filter(':visible').each(function(){
136
- myfixedHeight = $(this).outerHeight(true);
137
- });
138
- }
139
-
140
- mystickyClass.classList.remove('myfixed');
141
-
142
- //}
143
-
144
- }
145
-
146
- fixedDivHeight();
147
-
148
- var adminBarHeight = 0;
149
-
150
- function calcAdminBarHeight(){
151
-
152
- if ((adminBar == "true" ) && (viewportWidth > 600)) {
153
-
154
- if ($("#wpadminbar")[0]){
155
- adminBarHeight = $('#wpadminbar').height();
156
- } else {
157
- adminBarHeight = 0;
158
- }
159
- } else {
160
- adminBarHeight = 0;
161
- }
162
-
163
-
164
- //wrappernav.style.top = adminBarHeight + "px";
165
- if (mystickyTransition == "slide") {
166
- wrappernav.style.top = "-" + myfixedHeight + "px";
167
- //wrappernav.style.top = "-" + myfixedHeight + "px";
168
- } else {
169
- wrappernav.style.top = adminBarHeight + "px";
170
- }
171
-
172
- }
173
-
174
- calcAdminBarHeight();
175
-
176
-
177
- var mydivWidth;
178
-
179
- function initialDivWidth(){
180
-
181
- var rect = $(mystickyClass)[0].getBoundingClientRect();
182
- mydivWidth = rect.width;
183
-
184
- //var mydivWidth = ((mystickyClass.offsetWidth) + 'px');
185
- //mystickyClass.style.width = mydivWidth + "px";
186
-
187
- }
188
-
189
- initialDivWidth();
190
-
191
-
192
-
193
-
194
- var deactivationHeight = activationHeight;
195
-
196
- function calcActivationHeight() {
197
-
198
- // If activate height (Make visible on Scroll) is set to 0, automatic calculation will be used.
199
- if ( autoActivate == true ) {
200
-
201
- // Automatic calculation of activation and deactivation height (Make visible on Scroll is set to 0).
202
- if (mystickyTransition == "slide") {
203
- // Slide effect is selected
204
- //activationHeight = $(mystickyClass).offset().top + mystickyClass.offsetHeight - adminBarHeight;
205
- activationHeight = $(mystickyClass).offset().top + mydivHeight - adminBarHeight;
206
- deactivationHeight = $(mystickyClass).offset().top + mydivHeight - adminBarHeight;
207
- //deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
208
-
209
- if (mysticky_disable_down == "on") {
210
- deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
211
-
212
- }
213
-
214
- }
215
-
216
- if (mystickyTransition == "fade") {
217
-
218
- if (mysticky_disable_down == "false") {
219
- // Fade effect is selected
220
- activationHeight = $(mystickyClass).offset().top - adminBarHeight;
221
-
222
- deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
223
-
224
- }
225
-
226
- if (mysticky_disable_down == "on") {
227
-
228
- // Fade effect is selected
229
- activationHeight = $(mystickyClass).offset().top - adminBarHeight + mydivHeight;
230
- deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
231
-
232
- }
233
-
234
- }
235
-
236
- }
237
-
238
- }
239
-
240
- calcActivationHeight();
241
-
242
- function headerDeactivateOnHeight() {
243
-
244
-
245
- if ( autoActivate == true ) {
246
-
247
- if ( mydivHeight > myfixedHeight ){
248
- // Auto activate is true, Make visible on Scroll is set to 0, menu is probably header
249
-
250
- if (mystickyTransition == "slide") {
251
- // slide effect is selected
252
- deactivationHeight = activationHeight;
253
-
254
- if (mysticky_disable_down == "on") {
255
- deactivationHeight = activationHeight - myfixedHeight;
256
- }
257
-
258
- } else {
259
- activationHeight = mydivHeight;
260
- deactivationHeight = mydivHeight;
261
-
262
- }
263
- }
264
- }
265
- }
266
-
267
- headerDeactivateOnHeight();
268
-
269
-
270
-
271
- var hasScrollY = 'scrollY' in window;
272
- var lastScrollTop = 0;
273
-
274
-
275
- function onScroll(e) {
276
- var mystickymenu_top_pos = $( '.mysticky-welcomebar-fixed' ).css( 'top' );
277
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
278
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
279
- var mystickymenu_show = $( '.mysticky-welcomebar-fixed' ).length;
280
- var welcomebar_appear = $( 'body' ).hasClass( 'mysticky-welcomebar-apper' );
281
- if( mystickymenu_show && parseInt(mystickymenu_top_pos) >= 0 && welcombar_position == 'top' && welcomebar_appear ) {
282
- var mystickymenu_pos = welcombar_height;
283
- adminBarHeight = 0;
284
- } else {
285
- var mystickymenu_pos = '';
286
- }
287
- //initialDivHeight();
288
-
289
- // if body width is larger than disable at small screen size setting
290
-
291
- if (viewportWidth >= disableWidth) {
292
-
293
- if ( disableLargeWidth == 0 || viewportWidth <= disableLargeWidth ) {
294
-
295
- //if (mysticky_disable_down == "on") {
296
-
297
- var y = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
298
- //var yScrollPosition = $(this).scrollTop();
299
- /*30-04-2020 st*/
300
- if( document.documentElement.scrollTop == 0 ) {
301
- wrappernav.classList.remove('wrapfixed');
302
- }
303
- /*30-04-2020 end*/
304
-
305
- // add up or down class to the element depending on scroll direction
306
- if (0 <= y ) {
307
-
308
- //var st = $(this).scrollTop();
309
-
310
-
311
- if (y >= lastScrollTop){
312
-
313
- // downscroll code
314
- // add myfixed and wrapfixed class to selected fixed element while scroll down
315
- y >= activationHeight ? mystickyClass.classList.add('myfixed') : "";
316
- y >= activationHeight ? wrappernav.classList.add('wrapfixed') : "";
317
-
318
- y >= activationHeight ? wrappermysticky.style.height = mydivHeight + 'px' : "";
319
- y >= activationHeight ? mystickyClass.style.width = mydivWidth + "px" : "";
320
-
321
-
322
- if (mystickyTransition == "slide") {
323
-
324
- if (mysticky_disable_down == "false") {
325
- //y < activationHeight + (myfixedHeight + 250) - adminBarHeight ? wrappernav.style.top = "-" + myfixedHeight + "px" : '';
326
- //wrappernav.style.top = "-" + myfixedHeight + "px"
327
- y >= activationHeight + myfixedHeight - adminBarHeight ? wrappernav.style.top = (adminBarHeight + mystickymenu_pos) + "px" : wrappernav.style.top = "-" + myfixedHeight + "px";
328
-
329
- }
330
-
331
- if ( mydivHeight > myfixedHeight ){
332
- // if it's header (guess)
333
-
334
- if (mysticky_disable_down == "false") {
335
-
336
- y < activationHeight + myfixedHeight ? wrappernav.style.top = "-" + mydivHeight + "px" : '';
337
- y >= activationHeight + myfixedHeight ? wrappernav.style.top = (adminBarHeight + mystickymenu_pos) + "px" : '';
338
-
339
- }
340
-
341
- }
342
-
343
- }
344
-
345
- wrappernav.classList.add('down');
346
- wrappernav.classList.remove('up');
347
-
348
-
349
- if (mysticky_disable_down == "on") {
350
- wrappernav.style.top = "-" + (mydivHeight + adminBarHeight ) + "px";
351
- jQuery('#mysticky-nav ' + option.mystickyClass+'.elementor-sticky').hide();
352
- //jQuery('#mysticky-nav ' + option.mystickyClass).css( 'top' , "-" + (mydivHeight + adminBarHeight ) + "px");
353
- }
354
-
355
- } else {
356
- // upscroll code
357
- var x = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
358
- //x > deactivationHeight ? '' : mystickyClass.classList.remove('myfixed') ;
359
- //x > deactivationHeight ? '' : wrappernav.classList.remove('wrapfixed');
360
-
361
- x > deactivationHeight ? "" : wrappermysticky.style.height = "";
362
- x > deactivationHeight ? "" : mystickyClass.style.width = "";
363
-
364
- if (mystickyTransition == "slide") {
365
-
366
- x > deactivationHeight ? '' : mystickyClass.classList.remove('myfixed') ;
367
- x > deactivationHeight ? '' : wrappernav.classList.remove('wrapfixed');
368
-
369
- if (mysticky_disable_down == "false") {
370
-
371
- x < deactivationHeight + myfixedHeight + 200 - adminBarHeight ? wrappernav.style.top = "-" + myfixedHeight + "px" : '';
372
- }
373
-
374
- } else {
375
- x > deactivationHeight ? "" : mystickyClass.classList.remove('myfixed') ;
376
- x > deactivationHeight ? "" : wrappernav.classList.remove('wrapfixed');
377
- }
378
- wrappernav.classList.remove('down');
379
- wrappernav.classList.add('up');
380
-
381
- if (mysticky_disable_down == "on") {
382
- wrappernav.style.top = (adminBarHeight + mystickymenu_pos) + "px";
383
- jQuery('#mysticky-nav '+ option.mystickyClass).css( 'width' , mydivWidth + "px");
384
- jQuery('#mysticky-nav ' + option.mystickyClass+'.elementor-sticky').show();
385
-
386
- }
387
-
388
- }
389
-
390
- lastScrollTop = y;
391
-
392
- } else {
393
- //if (mysticky_disable_down == "on") {
394
- wrappernav.classList.remove('up');
395
- //}
396
- }
397
-
398
- } // if disableWidth is greater than zero
399
-
400
-
401
- } // if disableLargeWidth is 0 or greater than zero
402
-
403
- }
404
-
405
- document.addEventListener('scroll', onScroll);
406
-
407
-
408
- var width = $(window).width()
409
-
410
- function OnResizeDocument () {
411
- // don't recalculate on height change, only width
412
- if($(window).width() != width ){
413
-
414
- wrappernav.classList.remove('up');
415
- wrappernav.classList.remove('down');
416
-
417
- if ($(".wrapfixed")[0]){
418
- // If class wrapfixed exists
419
- // Remove myfixed and wrapfixed clases so we can calculate
420
- //mystickyClass.classList.remove('myfixed');
421
- //wrappernav.classList.remove('wrapfixed');
422
-
423
- } else {
424
- // Else class wrapfixed does not exists
425
- initialDivHeight();
426
-
427
- // Remove width
428
- mystickyClass.style.removeProperty("width");
429
- initialDivWidth();
430
-
431
- }
432
- calcViewportWidth();
433
- calcAdminBarHeight();
434
- fixedDivHeight();
435
- calcActivationHeight();
436
- headerDeactivateOnHeight();
437
- }
438
- }
439
-
440
- window.addEventListener('resize', OnResizeDocument);
441
-
442
- // need to test this, it should fire script on mobile orientation change, since onresize is somehow faulty in this case
443
- window.addEventListener('orientationchange', OnResizeDocument);
444
- });
445
-
 
 
 
 
 
 
 
446
  })(jQuery);
1
+ /*!
2
+ * myStickymenu by m.r.d.a
3
+ * v2.0.4
4
+ */
5
+ (function( $ ) {
6
+ "use strict";
7
+
8
+ $(document).ready(function($){
9
+
10
+ if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && !option.device_mobile ) {
11
+ return false;
12
+ } else if ( !option.device_desktop ) {
13
+ return false;
14
+ }
15
+ /*
16
+ if ( jQuery.browser.mobile && !option.device_mobile) {
17
+ return false;
18
+ } else if ( !jQuery.browser.mobile && !option.device_desktop) {
19
+ return false;
20
+ }
21
+ */
22
+
23
+ // get Sticky Class setting if class name existts
24
+ if ($(option.mystickyClass) [0]){
25
+ // Do nothing
26
+ } else {
27
+ // Do something if class does not exist and stop
28
+ console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");
29
+ return;
30
+ }
31
+
32
+
33
+ // Get class name
34
+ var mystickyClass = document.querySelector(option.mystickyClass);
35
+
36
+ // get disable at small screen size setting
37
+ var disableWidth = parseInt(option.disableWidth);
38
+
39
+ // get disable at large screen size setting
40
+ var disableLargeWidth = parseInt(option.disableLargeWidth);
41
+
42
+ // get transition effect (slide or fade)
43
+ var mystickyTransition = option.mystickyTransition;
44
+
45
+ // get activaton height setting
46
+ var activationHeight = parseInt(option.activationHeight);
47
+
48
+ // if is admin bar showing, needed for auto calc of activation height when admin bar is showing
49
+ var adminBar = option.adminBar;
50
+
51
+ // disable on scroll down
52
+ var mysticky_disable_down = option.mysticky_disable_down;
53
+
54
+ var viewportWidth;
55
+
56
+ function calcViewportWidth(e){
57
+
58
+ // Calculate actual viewport width
59
+ var e = window, a = 'inner';
60
+
61
+ if (!('innerWidth' in window )) {
62
+ a = 'client';
63
+ e = document.documentElement || document.body;
64
+ }
65
+ viewportWidth = e[ a+'Width' ];
66
+
67
+ }
68
+
69
+ calcViewportWidth();
70
+
71
+ var parentmysticky = mystickyClass.parentNode;
72
+
73
+ var wrappermysticky = document.createElement('div');
74
+ var position = 0;
75
+ for(var i = 0; i < parentmysticky.childNodes.length; i++) {
76
+ if(parentmysticky.childNodes[i] == mystickyClass) {
77
+ position = i;
78
+ break;
79
+ }
80
+ }
81
+
82
+ wrappermysticky.id = 'mysticky-wrap';
83
+ wrappermysticky.appendChild(mystickyClass);
84
+ parentmysticky.insertBefore(wrappermysticky, parentmysticky.childNodes[position]);
85
+
86
+ var parentnav = mystickyClass.parentNode;
87
+ var wrappernav = document.createElement('div');
88
+ wrappernav.id = 'mysticky-nav';
89
+ parentnav.replaceChild(wrappernav, mystickyClass);
90
+ wrappernav.appendChild(mystickyClass);
91
+
92
+ // get activation height from settings
93
+ if ( activationHeight == "0" ) {
94
+ var autoActivate = true;
95
+ }
96
+
97
+ var mydivHeight;
98
+
99
+
100
+ function initialDivHeight(){
101
+
102
+ // get initial element height of selected sticky class
103
+ mydivHeight = (mystickyClass.offsetHeight);
104
+
105
+ // when initial element have margin bottom - awaken example using #masthead class
106
+ if (parseInt($(mystickyClass).css("marginBottom")) > 0) {
107
+
108
+ // element have margin bottom, apply it to initial wrap
109
+ //$(mystickyClass).css("marginBottom").replace('px', '')
110
+ wrappermysticky.style.marginBottom = ($(mystickyClass).css("marginBottom"));
111
+ }
112
+
113
+ if (mydivHeight == "0") {
114
+ // something is wrong, wrapper cant be zero, if so content will jump while scroll. Awaken theme (for example) with .awaken-navigation-container class selected will use this part. Calculate height based on element children height
115
+
116
+ $(mystickyClass).children().filter(':visible').each(function(){
117
+ mydivHeight = $(this).outerHeight(true);
118
+
119
+ });
120
+
121
+ }
122
+
123
+ if (viewportWidth >= disableWidth) {
124
+ //wrappermysticky.style.height = mydivHeight + 'px';
125
+ }
126
+ }
127
+
128
+ initialDivHeight();
129
+
130
+ var myfixedHeight;
131
+
132
+ function fixedDivHeight(){
133
+ //if ( autoActivate == true ) {
134
+
135
+ // calculate element height while fixed
136
+ mystickyClass.classList.add('myfixed')
137
+
138
+ myfixedHeight = $(".myfixed").outerHeight();
139
+
140
+ if (myfixedHeight == "0") {
141
+ // something is wrong, wrapper cant be zero, try to calculate again with div children.
142
+ $(".myfixed").children().filter(':visible').each(function(){
143
+ myfixedHeight = $(this).outerHeight(true);
144
+ });
145
+ }
146
+
147
+ mystickyClass.classList.remove('myfixed');
148
+
149
+ //}
150
+
151
+ }
152
+
153
+ fixedDivHeight();
154
+
155
+ var adminBarHeight = 0;
156
+
157
+ function calcAdminBarHeight(){
158
+
159
+ if ((adminBar == "true" ) && (viewportWidth > 600)) {
160
+
161
+ if ($("#wpadminbar")[0]){
162
+ adminBarHeight = $('#wpadminbar').height();
163
+ } else {
164
+ adminBarHeight = 0;
165
+ }
166
+ } else {
167
+ adminBarHeight = 0;
168
+ }
169
+
170
+
171
+ //wrappernav.style.top = adminBarHeight + "px";
172
+ if (mystickyTransition == "slide") {
173
+ wrappernav.style.top = "-" + myfixedHeight + "px";
174
+ //wrappernav.style.top = "-" + myfixedHeight + "px";
175
+ } else {
176
+ wrappernav.style.top = adminBarHeight + "px";
177
+ }
178
+
179
+ }
180
+
181
+ calcAdminBarHeight();
182
+
183
+
184
+ var mydivWidth;
185
+
186
+ function initialDivWidth(){
187
+
188
+ var rect = $(mystickyClass)[0].getBoundingClientRect();
189
+ mydivWidth = rect.width;
190
+
191
+ //var mydivWidth = ((mystickyClass.offsetWidth) + 'px');
192
+ //mystickyClass.style.width = mydivWidth + "px";
193
+
194
+ }
195
+
196
+ initialDivWidth();
197
+
198
+
199
+
200
+
201
+ var deactivationHeight = activationHeight;
202
+
203
+ function calcActivationHeight() {
204
+
205
+ // If activate height (Make visible on Scroll) is set to 0, automatic calculation will be used.
206
+ if ( autoActivate == true ) {
207
+
208
+ // Automatic calculation of activation and deactivation height (Make visible on Scroll is set to 0).
209
+ if (mystickyTransition == "slide") {
210
+ // Slide effect is selected
211
+ //activationHeight = $(mystickyClass).offset().top + mystickyClass.offsetHeight - adminBarHeight;
212
+ activationHeight = $(mystickyClass).offset().top + mydivHeight - adminBarHeight;
213
+ deactivationHeight = $(mystickyClass).offset().top + mydivHeight - adminBarHeight;
214
+ //deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
215
+
216
+ if (mysticky_disable_down == "on") {
217
+ deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
218
+
219
+ }
220
+
221
+ }
222
+
223
+ if (mystickyTransition == "fade") {
224
+
225
+ if (mysticky_disable_down == "false") {
226
+ // Fade effect is selected
227
+ activationHeight = $(mystickyClass).offset().top - adminBarHeight;
228
+
229
+ deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
230
+
231
+ }
232
+
233
+ if (mysticky_disable_down == "on") {
234
+
235
+ // Fade effect is selected
236
+ activationHeight = $(mystickyClass).offset().top - adminBarHeight + mydivHeight;
237
+ deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
238
+
239
+ }
240
+
241
+ }
242
+
243
+ }
244
+
245
+ }
246
+
247
+ calcActivationHeight();
248
+
249
+ function headerDeactivateOnHeight() {
250
+
251
+
252
+ if ( autoActivate == true ) {
253
+
254
+ if ( mydivHeight > myfixedHeight ){
255
+ // Auto activate is true, Make visible on Scroll is set to 0, menu is probably header
256
+
257
+ if (mystickyTransition == "slide") {
258
+ // slide effect is selected
259
+ deactivationHeight = activationHeight;
260
+
261
+ if (mysticky_disable_down == "on") {
262
+ deactivationHeight = activationHeight - myfixedHeight;
263
+ }
264
+
265
+ } else {
266
+ activationHeight = mydivHeight;
267
+ deactivationHeight = mydivHeight;
268
+
269
+ }
270
+ }
271
+ }
272
+ }
273
+
274
+ headerDeactivateOnHeight();
275
+
276
+
277
+
278
+ var hasScrollY = 'scrollY' in window;
279
+ var lastScrollTop = 0;
280
+
281
+
282
+ function onScroll(e) {
283
+ var mystickymenu_top_pos = $( '.mysticky-welcomebar-fixed' ).css( 'top' );
284
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
285
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
286
+ var mystickymenu_show = $( '.mysticky-welcomebar-fixed' ).length;
287
+ var welcomebar_appear = $( 'body' ).hasClass( 'mysticky-welcomebar-apper' );
288
+ if( mystickymenu_show && parseInt(mystickymenu_top_pos) >= 0 && welcombar_position == 'top' && welcomebar_appear ) {
289
+ var mystickymenu_pos = welcombar_height;
290
+ adminBarHeight = 0;
291
+ } else {
292
+ var mystickymenu_pos = '';
293
+ }
294
+ //initialDivHeight();
295
+
296
+ // if body width is larger than disable at small screen size setting
297
+
298
+ if (viewportWidth >= disableWidth) {
299
+
300
+ if ( disableLargeWidth == 0 || viewportWidth <= disableLargeWidth ) {
301
+
302
+ //if (mysticky_disable_down == "on") {
303
+
304
+ var y = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
305
+ //var yScrollPosition = $(this).scrollTop();
306
+ /*30-04-2020 st*/
307
+ if( document.documentElement.scrollTop == 0 ) {
308
+ wrappernav.classList.remove('wrapfixed');
309
+ }
310
+ /*30-04-2020 end*/
311
+
312
+ // add up or down class to the element depending on scroll direction
313
+ if (0 <= y ) {
314
+
315
+ //var st = $(this).scrollTop();
316
+
317
+
318
+ if (y >= lastScrollTop){
319
+
320
+ // downscroll code
321
+ // add myfixed and wrapfixed class to selected fixed element while scroll down
322
+ y >= activationHeight ? mystickyClass.classList.add('myfixed') : "";
323
+ y >= activationHeight ? wrappernav.classList.add('wrapfixed') : "";
324
+
325
+ y >= activationHeight ? wrappermysticky.style.height = mydivHeight + 'px' : "";
326
+ y >= activationHeight ? mystickyClass.style.width = mydivWidth + "px" : "";
327
+
328
+
329
+ if (mystickyTransition == "slide") {
330
+
331
+ if (mysticky_disable_down == "false") {
332
+ //y < activationHeight + (myfixedHeight + 250) - adminBarHeight ? wrappernav.style.top = "-" + myfixedHeight + "px" : '';
333
+ //wrappernav.style.top = "-" + myfixedHeight + "px"
334
+ y >= activationHeight + myfixedHeight - adminBarHeight ? wrappernav.style.top = (adminBarHeight + mystickymenu_pos) + "px" : wrappernav.style.top = "-" + myfixedHeight + "px";
335
+
336
+ }
337
+
338
+ if ( mydivHeight > myfixedHeight ){
339
+ // if it's header (guess)
340
+
341
+ if (mysticky_disable_down == "false") {
342
+
343
+ y < activationHeight + myfixedHeight ? wrappernav.style.top = "-" + mydivHeight + "px" : '';
344
+ y >= activationHeight + myfixedHeight ? wrappernav.style.top = (adminBarHeight + mystickymenu_pos) + "px" : '';
345
+
346
+ }
347
+
348
+ }
349
+
350
+ }
351
+
352
+ wrappernav.classList.add('down');
353
+ wrappernav.classList.remove('up');
354
+
355
+
356
+ if (mysticky_disable_down == "on") {
357
+ wrappernav.style.top = "-" + (mydivHeight + adminBarHeight ) + "px";
358
+ jQuery('#mysticky-nav ' + option.mystickyClass+'.elementor-sticky').hide();
359
+ //jQuery('#mysticky-nav ' + option.mystickyClass).css( 'top' , "-" + (mydivHeight + adminBarHeight ) + "px");
360
+ }
361
+
362
+ } else {
363
+ // upscroll code
364
+ var x = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
365
+ //x > deactivationHeight ? '' : mystickyClass.classList.remove('myfixed') ;
366
+ //x > deactivationHeight ? '' : wrappernav.classList.remove('wrapfixed');
367
+
368
+ x > deactivationHeight ? "" : wrappermysticky.style.height = "";
369
+ x > deactivationHeight ? "" : mystickyClass.style.width = "";
370
+
371
+ if (mystickyTransition == "slide") {
372
+
373
+ x > deactivationHeight ? '' : mystickyClass.classList.remove('myfixed') ;
374
+ x > deactivationHeight ? '' : wrappernav.classList.remove('wrapfixed');
375
+
376
+ if (mysticky_disable_down == "false") {
377
+
378
+ x < deactivationHeight + myfixedHeight + 200 - adminBarHeight ? wrappernav.style.top = "-" + myfixedHeight + "px" : '';
379
+ }
380
+
381
+ } else {
382
+ x > deactivationHeight ? "" : mystickyClass.classList.remove('myfixed') ;
383
+ x > deactivationHeight ? "" : wrappernav.classList.remove('wrapfixed');
384
+ }
385
+ wrappernav.classList.remove('down');
386
+ wrappernav.classList.add('up');
387
+
388
+ if (mysticky_disable_down == "on") {
389
+ wrappernav.style.top = (adminBarHeight + mystickymenu_pos) + "px";
390
+ jQuery('#mysticky-nav '+ option.mystickyClass).css( 'width' , mydivWidth + "px");
391
+ jQuery('#mysticky-nav ' + option.mystickyClass+'.elementor-sticky').show();
392
+
393
+ }
394
+
395
+ }
396
+
397
+ lastScrollTop = y;
398
+
399
+ } else {
400
+ //if (mysticky_disable_down == "on") {
401
+ wrappernav.classList.remove('up');
402
+ //}
403
+ }
404
+
405
+ } // if disableWidth is greater than zero
406
+
407
+
408
+ } // if disableLargeWidth is 0 or greater than zero
409
+
410
+ }
411
+
412
+ document.addEventListener('scroll', onScroll);
413
+
414
+
415
+ var width = $(window).width()
416
+
417
+ function OnResizeDocument () {
418
+ // don't recalculate on height change, only width
419
+ if($(window).width() != width ){
420
+
421
+ wrappernav.classList.remove('up');
422
+ wrappernav.classList.remove('down');
423
+
424
+ if ($(".wrapfixed")[0]){
425
+ // If class wrapfixed exists
426
+ // Remove myfixed and wrapfixed clases so we can calculate
427
+ //mystickyClass.classList.remove('myfixed');
428
+ //wrappernav.classList.remove('wrapfixed');
429
+
430
+ } else {
431
+ // Else class wrapfixed does not exists
432
+ initialDivHeight();
433
+
434
+ // Remove width
435
+ mystickyClass.style.removeProperty("width");
436
+ initialDivWidth();
437
+
438
+ }
439
+ calcViewportWidth();
440
+ calcAdminBarHeight();
441
+ fixedDivHeight();
442
+ calcActivationHeight();
443
+ headerDeactivateOnHeight();
444
+ }
445
+ }
446
+
447
+ window.addEventListener('resize', OnResizeDocument);
448
+
449
+ // need to test this, it should fire script on mobile orientation change, since onresize is somehow faulty in this case
450
+ window.addEventListener('orientationchange', OnResizeDocument);
451
+ });
452
+
453
  })(jQuery);
js/mystickymenu.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"use strict";jQuery(document).ready(function(e){if(jQuery.browser.mobile&&!option.device_mobile)return!1;if(!jQuery.browser.mobile&&!option.device_desktop)return!1;if(e(option.mystickyClass)[0]){var t,i=document.querySelector(option.mystickyClass),s=parseInt(option.disableWidth),o=parseInt(option.disableLargeWidth),n=option.mystickyTransition,d=parseInt(option.activationHeight),a=option.adminBar,r=option.mysticky_disable_down;C();for(var l=i.parentNode,c=document.createElement("div"),m=0,p=0;p<l.childNodes.length;p++)if(l.childNodes[p]==i){m=p;break}c.id="mysticky-wrap",c.appendChild(i),l.insertBefore(c,l.childNodes[m]);var y,f,u=i.parentNode,w=document.createElement("div");if(w.id="mysticky-nav",u.replaceChild(w,i),w.appendChild(i),"0"==d)var h=!0;E(),j();var v,x=0;B(),H();var k=d;Q(),S();var b="scrollY"in window,g=0;document.addEventListener("scroll",function(a){var l=e(".mysticky-welcomebar-fixed").css("top"),m=e(".mysticky-welcomebar-fixed").data("position"),p=e(".mysticky-welcomebar-fixed").outerHeight(),u=e(".mysticky-welcomebar-fixed").length,h=e("body").hasClass("mysticky-welcomebar-apper");if(u&&parseInt(l)>=0&&"top"==m&&h){var L=p;x=0}else L="";if(t>=s&&(0==o||t<=o)){var C=b?window.scrollY:document.documentElement.scrollTop;if(0==document.documentElement.scrollTop&&w.classList.remove("wrapfixed"),0<=C){if(C>=g)C>=d&&i.classList.add("myfixed"),C>=d&&w.classList.add("wrapfixed"),C>=d&&(c.style.height=y+"px"),C>=d&&(i.style.width=v+"px"),"slide"==n&&("false"==r&&(w.style.top=C>=d+f-x?x+L+"px":"-"+f+"px"),y>f&&"false"==r&&(C<d+f&&(w.style.top="-"+y+"px"),C>=d+f&&(w.style.top=x+L+"px"))),w.classList.add("down"),w.classList.remove("up"),"on"==r&&(w.style.top="-"+(y+x)+"px",jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").hide());else{var E=b?window.scrollY:document.documentElement.scrollTop;!(E>k)&&(c.style.height=""),!(E>k)&&(i.style.width=""),"slide"==n?(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&w.classList.remove("wrapfixed"),"false"==r&&E<k+f+200-x&&(w.style.top="-"+f+"px")):(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&w.classList.remove("wrapfixed")),w.classList.remove("down"),w.classList.add("up"),"on"==r&&(w.style.top=x+L+"px",jQuery("#mysticky-nav "+option.mystickyClass).css("width",v+"px"),jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").show())}g=C}else w.classList.remove("up")}});var L=e(window).width();window.addEventListener("resize",I),window.addEventListener("orientationchange",I)}else console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");function C(e){e=window;var i="inner";"innerWidth"in window||(i="client",e=document.documentElement||document.body),t=e[i+"Width"]}function E(){y=i.offsetHeight,parseInt(e(i).css("marginBottom"))>0&&(c.style.marginBottom=e(i).css("marginBottom")),"0"==y&&e(i).children().filter(":visible").each(function(){y=e(this).outerHeight(!0)})}function j(){i.classList.add("myfixed"),"0"==(f=e(".myfixed").outerHeight())&&e(".myfixed").children().filter(":visible").each(function(){f=e(this).outerHeight(!0)}),i.classList.remove("myfixed")}function B(){x="true"==a&&t>600&&e("#wpadminbar")[0]?e("#wpadminbar").height():0,w.style.top="slide"==n?"-"+f+"px":x+"px"}function H(){var t=e(i)[0].getBoundingClientRect();v=t.width}function Q(){1==h&&("slide"==n&&(d=e(i).offset().top+y-x,k=e(i).offset().top+y-x,"on"==r&&(k=e(i).offset().top-x)),"fade"==n&&("false"==r&&(d=e(i).offset().top-x,k=e(i).offset().top-x),"on"==r&&(d=e(i).offset().top-x+y,k=e(i).offset().top-x)))}function S(){1==h&&y>f&&("slide"==n?(k=d,"on"==r&&(k=d-f)):(d=y,k=y))}function I(){e(window).width()!=L&&(w.classList.remove("up"),w.classList.remove("down"),e(".wrapfixed")[0]||(E(),i.style.removeProperty("width"),H()),C(),B(),j(),Q(),S())}})}();
1
+ !function(e){"use strict";jQuery(document).ready(function(e){if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&!option.device_mobile)return!1;if(!option.device_desktop)return!1;if(e(option.mystickyClass)[0]){var t,i=document.querySelector(option.mystickyClass),o=parseInt(option.disableWidth),s=parseInt(option.disableLargeWidth),n=option.mystickyTransition,d=parseInt(option.activationHeight),a=option.adminBar,r=option.mysticky_disable_down;C();for(var c=i.parentNode,l=document.createElement("div"),m=0,p=0;p<c.childNodes.length;p++)if(c.childNodes[p]==i){m=p;break}l.id="mysticky-wrap",l.appendChild(i),c.insertBefore(l,c.childNodes[m]);var y,f,u=i.parentNode,h=document.createElement("div");if(h.id="mysticky-nav",u.replaceChild(h,i),h.appendChild(i),"0"==d)var w=!0;E(),B();var v,x=0;S(),H();var k=d;I(),N();var g="scrollY"in window,L=0;document.addEventListener("scroll",function(a){var c=e(".mysticky-welcomebar-fixed").css("top"),m=e(".mysticky-welcomebar-fixed").data("position"),p=e(".mysticky-welcomebar-fixed").outerHeight(),u=e(".mysticky-welcomebar-fixed").length,w=e("body").hasClass("mysticky-welcomebar-apper");if(u&&parseInt(c)>=0&&"top"==m&&w){var b=p;x=0}else b="";if(t>=o&&(0==s||t<=s)){var C=g?window.scrollY:document.documentElement.scrollTop;if(0==document.documentElement.scrollTop&&h.classList.remove("wrapfixed"),0<=C){if(C>=L)C>=d&&i.classList.add("myfixed"),C>=d&&h.classList.add("wrapfixed"),C>=d&&(l.style.height=y+"px"),C>=d&&(i.style.width=v+"px"),"slide"==n&&("false"==r&&(h.style.top=C>=d+f-x?x+b+"px":"-"+f+"px"),y>f&&"false"==r&&(C<d+f&&(h.style.top="-"+y+"px"),C>=d+f&&(h.style.top=x+b+"px"))),h.classList.add("down"),h.classList.remove("up"),"on"==r&&(h.style.top="-"+(y+x)+"px",jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").hide());else{var E=g?window.scrollY:document.documentElement.scrollTop;!(E>k)&&(l.style.height=""),!(E>k)&&(i.style.width=""),"slide"==n?(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed"),"false"==r&&E<k+f+200-x&&(h.style.top="-"+f+"px")):(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed")),h.classList.remove("down"),h.classList.add("up"),"on"==r&&(h.style.top=x+b+"px",jQuery("#mysticky-nav "+option.mystickyClass).css("width",v+"px"),jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").show())}L=C}else h.classList.remove("up")}});var b=e(window).width();window.addEventListener("resize",j),window.addEventListener("orientationchange",j)}else console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");function C(e){e=window;var i="inner";"innerWidth"in window||(i="client",e=document.documentElement||document.body),t=e[i+"Width"]}function E(){y=i.offsetHeight,parseInt(e(i).css("marginBottom"))>0&&(l.style.marginBottom=e(i).css("marginBottom")),"0"==y&&e(i).children().filter(":visible").each(function(){y=e(this).outerHeight(!0)})}function B(){i.classList.add("myfixed"),"0"==(f=e(".myfixed").outerHeight())&&e(".myfixed").children().filter(":visible").each(function(){f=e(this).outerHeight(!0)}),i.classList.remove("myfixed")}function S(){x="true"==a&&t>600&&e("#wpadminbar")[0]?e("#wpadminbar").height():0,h.style.top="slide"==n?"-"+f+"px":x+"px"}function H(){var t=e(i)[0].getBoundingClientRect();v=t.width}function I(){1==w&&("slide"==n&&(d=e(i).offset().top+y-x,k=e(i).offset().top+y-x,"on"==r&&(k=e(i).offset().top-x)),"fade"==n&&("false"==r&&(d=e(i).offset().top-x,k=e(i).offset().top-x),"on"==r&&(d=e(i).offset().top-x+y,k=e(i).offset().top-x)))}function N(){1==w&&y>f&&("slide"==n?(k=d,"on"==r&&(k=d-f)):(d=y,k=y))}function j(){e(window).width()!=b&&(h.classList.remove("up"),h.classList.remove("down"),e(".wrapfixed")[0]||(E(),i.style.removeProperty("width"),H()),C(),S(),B(),I(),N())}})}();
js/select2.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
2
  !function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(d){var e=function(){if(d&&d.fn&&d.fn.select2&&d.fn.select2.amd)var e=d.fn.select2.amd;var t,n,i,h,o,s,f,g,m,v,y,_,r,a,w,l;function b(e,t){return r.call(e,t)}function c(e,t){var n,i,r,o,s,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e){for(s=(e=e.split("/")).length-1,y.nodeIdCompat&&w.test(e[s])&&(e[s]=e[s].replace(w,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),u=0;u<e.length;u++)if("."===(p=e[u]))e.splice(u,1),u-=1;else if(".."===p){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((h||g)&&f){for(u=(n=e.split("/")).length;0<u;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;0<d;d-=1)if(r=(r=f[h.slice(0,d).join("/")])&&r[i]){o=r,a=u;break}if(o)break;!l&&g&&g[i]&&(l=g[i],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function A(t,n){return function(){var e=a.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),s.apply(h,e.concat([t,n]))}}function x(t){return function(e){m[t]=e}}function D(e){if(b(v,e)){var t=v[e];delete v[e],_[e]=!0,o.apply(h,t)}if(!b(m,e)&&!b(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return e?u(e):[]}return e&&e.requirejs||(e?n=e:e={},m={},v={},y={},_={},r=Object.prototype.hasOwnProperty,a=[].slice,w=/\.js$/,f=function(e,t){var n,i=u(e),r=i[0],o=t[1];return e=i[1],r&&(n=D(r=c(r,o))),r?e=n&&n.normalize?n.normalize(e,function(t){return function(e){return c(e,t)}}(o)):c(e,o):(r=(i=u(e=c(e,o)))[0],e=i[1],r&&(n=D(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},g={require:function(e){return A(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:function(e){return function(){return y&&y.config&&y.config[e]||{}}}(e)}}},o=function(e,t,n,i){var r,o,s,a,l,c,u,d=[],p=typeof n;if(c=S(i=i||e),"undefined"==p||"function"==p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(o=(a=f(t[l],c)).f))d[l]=g.require(e);else if("exports"===o)d[l]=g.exports(e),u=!0;else if("module"===o)r=d[l]=g.module(e);else if(b(m,o)||b(v,o)||b(_,o))d[l]=D(o);else{if(!a.p)throw new Error(e+" missing "+o);a.p.load(a.n,A(i,!0),x(o),{}),d[l]=m[o]}s=n?n.apply(m[e],d):void 0,e&&(r&&r.exports!==h&&r.exports!==m[e]?m[e]=r.exports:s===h&&u||(m[e]=s))}else e&&(m[e]=n)},t=n=s=function(e,t,n,i,r){if("string"==typeof e)return g[e]?g[e](t):D(f(e,S(t)).f);if(!e.splice){if((y=e).deps&&s(y.deps,y.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=r),i?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),s},s.config=function(e){return s(e)},t._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),b(m,e)||b(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=t,e.require=n,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=d||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(o){var r={};function u(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}r.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r.Decorate=function(i,r){var e=u(r),t=u(i);function o(){var e=Array.prototype.unshift,t=r.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}r.displayName=i.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<t.length;n++){var s=t[n];o.prototype[s]=i.prototype[s]}function a(e){var t=function(){};e in o.prototype&&(t=o.prototype[e]);var n=r.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l=0;l<e.length;l++){var c=e[l];o.prototype[c]=a(c)}return o};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},r.Observable=e,r.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},r.bind=function(e,t){return function(){e.apply(t,arguments)}},r._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},r.hasScroll=function(e,t){var n=o(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},r.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},r.appendMany=function(e,t){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},r.__cache={};var n=0;return r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},r.StoreData=function(e,t,n){var i=r.GetUniqueElementId(e);r.__cache[i]||(r.__cache[i]={}),r.__cache[i][t]=n},r.GetData=function(e,t){var n=r.GetUniqueElementId(e);return t?r.__cache[n]&&null!=r.__cache[n][t]?r.__cache[n][t]:o(e).data(t):r.__cache[n]},r.RemoveData=function(e){var t=r.GetUniqueElementId(e);null!=r.__cache[t]&&delete r.__cache[t],e.removeAttribute("data-select2-id")},r}),e.define("select2/results",["jquery","./utils"],function(h,f){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return f.Extend(i,f.Observable),i.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=h.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<h.inArray(n,i)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var n={role:"option","aria-selected":"false"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var o=n[r];t.setAttribute(r,o)}if(e.children){var s=h(t),a=document.createElement("strong");a.className="select2-results__group";h(a);this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],d=this.option(u);l.push(d)}var p=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},i.prototype.bind=function(t,e){var l=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");"true"==e.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,s=r.offset().top,a=l.$results.scrollTop()+(s-o);0===i?l.$results.scrollTop(0):s-o<0&&l.$results.scrollTop(a)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),s=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):r<o&&l.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,i=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=h(this),n=f.GetData(this,"data");"true"!==t.attr("aria-selected")?l.trigger("select",{originalEvent:e,data:n}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:t,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):h(t).append(r)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,r){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return i.Extend(o,i.Observable),o.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},o.prototype.bind=function(e,t){var n=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,t){var i=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){i.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!i.isDisabled()){var t=r(this).parent(),n=l.GetData(t[0],"data");i.trigger("unselect",{originalEvent:e,data:n})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return r('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o);var s=i.title||i.text;s&&r.attr("title",s),l.StoreData(r[0],"data",i),t.push(r)}var a=this.$selection.find(".select2-selection__rendered");l.appendMany(a,t)}},n}),e.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var s=0;s<i.length;s++)if(o={data:i[s]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.options.get("translations").get("removeAllItems"),i=r('<span class="select2-selection__clear" title="'+n()+'">&times;</span>');a.StoreData(i[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(i)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),t.on("open",function(){i.$search.attr("aria-controls",r),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===i.$search.val()){var t=i.$searchContainer.prev(".select2-selection__choice");if(0<t.length){var n=a.GetData(t[0],"data");i.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var o=document.documentMode,s=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){s?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&i.handleSearch(e)}})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").width():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(s){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==s.inArray(e,r)){t=t||{};var n=s.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==s.inArray(e,o)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var t=n(e);i._cache[e]=t}return new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(i){function n(e,t){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=i.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+i.generateChars(4),n},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var n=[],i=this;this.$element.find(":selected").each(function(){var e=l(this),t=i.item(e);n.push(t)}),e(n)},n.prototype.select=function(r){var o=this;if(r.selected=!0,l(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(r=[r]).push.apply(r,e);for(var n=0;n<r.length;n++){var i=r[n].id;-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("input").trigger("change")});else{var e=r.id;this.$element.val(e),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple")){if(r.selected=!1,l(r.element).is("option"))return r.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==r.id&&-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("input").trigger("change")})}},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},n.prototype.query=function(i,e){var r=[],o=this;this.$element.children().each(function(){var e=l(this);if(e.is("option")||e.is("optgroup")){var t=o.item(e),n=o.matches(i,t);null!==n&&r.push(n)}}),e({results:r})},n.prototype.addOptions=function(e){a.appendMany(this.$element,e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=l(t),i=this._normalizeItem(e);return i.element=t,a.StoreData(t,"data",i),n},n.prototype.item=function(e){var t={};if(null!=(t=a.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var n=e.children("option"),i=[],r=0;r<n.length;r++){var o=l(n[r]),s=this.item(o);i.push(s)}t.children=i}return(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,f,g){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return f.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(g(this)).id}).get(),r=[];function o(e){return function(){return g(this).val()==e.id}}for(var s=0;s<e.length;s++){var a=this._normalizeItem(e[s]);if(0<=g.inArray(a.id,i)){var l=n.filter(o(a)),c=this.item(l),u=g.extend(!0,{},a,c),d=this.option(u);l.replaceWith(d)}else{var p=this.option(a);if(a.children){var h=this.convertToOptions(a.children);f.appendMany(p,h)}r.push(p)}}return r},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var i=o.ajax(e);return i.then(t),i.fail(n),i}};return o.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,i){var r=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=o.extend({type:"GET"},this.ajaxOptions);function e(){var e=t.transport(t,function(e){var t=r.processResults(e,n);r.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=e}"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(u){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,n),u.isArray(i))for(var s=0;s<i.length;s++){var a=i[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null!=c.term&&null==c.page?e.call(this,c,function e(t,n){for(var i=t.results,r=0;r<i.length;r++){var o=i[r],s=null!=o.children&&!e({results:o.children},!0);if((o.text||"").toUpperCase()===(c.term||"").toUpperCase()||s)return!n&&(t.data=i,void u(t))}if(n)return!0;var a=d.createTag(c);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(i,a)}t.results=i,u(t)}):e.call(this,c,u)},e.prototype.createTag=function(e,t){var n=u.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||u(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,function(e){var t=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return d(this).val()===t.id}).length){var n=i.option(t);n.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([n])}!function(e){i.trigger("select",{data:e})}(t)});r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),t.term=r.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],o=t.term,s=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(-1!==d.inArray(l,r)){var c=o.substr(0,s),u=a(d.extend({},t,{term:c}));null!=u?(i(u),o=o.substr(s+1)||"",s=0):s++}else s++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var i=this;this.current(function(e){var t=null!=e?e.length:0;0<i.maximumSelectionLength&&t>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",r),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.select2."+t.id,r="resize.select2."+t.id,o="orientationchange.select2."+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,"select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(i,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)}),f(window).on(i+" "+r+" "+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+i+" "+r)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=a<r.top-s,u=l>r.bottom+s,d={left:r.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(i="below"),u||!c||t?!c&&u&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(d.top=o.top-h.top-s),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=o.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,u,d,p,h,f,g,m,v,y,s,t,_,w,$,b,A,x,D,S,C,E,O,T,q,j,L,I,e){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=$:null!=e.data?e.dataAdapter=w:e.dataAdapter=_,0<e.minimumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,x)),0<e.maximumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,D)),0<e.maximumSelectionLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,S)),e.tags&&(e.dataAdapter=y.Decorate(e.dataAdapter,b)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=y.Decorate(e.dataAdapter,A)),null!=e.query){var t=u(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=u(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,T)),null!=e.placeholder&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,L))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=C;else{var i=y.Decorate(C,E);e.dropdownAdapter=i}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j)),e.closeOnSelect&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,I)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var r=u(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,q)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=h:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,m)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptContainerCssClass){var o=u(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,o)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language),e.language.push("en");for(var s=[],a=0;a<e.language.length;a++){var l=e.language[a];-1===s.indexOf(l)&&s.push(l)}return e.language=s,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:function e(t,n){if(""===c.trim(t.term))return n;if(n.children&&0<n.children.length){for(var i=c.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==e(t,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:e(t,i)}var o=a(n.text).toUpperCase(),s=a(t.term).toUpperCase();return-1<o.indexOf(s)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return e.language=s,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(c.isEmptyObject(e))return[];if(c.isPlainObject(e))return[e];var t;t=c.isArray(e)?e:[e];for(var n=[],i=0;i<t.length;i++)if(n.push(t[i]),"string"==typeof t[i]&&0<t[i].indexOf("-")){var r=t[i].split("-")[0];n.push(r)}return n},n.prototype._processTranslations=function(e,t){for(var n=new s,i=0;i<e.length;i++){var r=new s,o=e[i];if("string"==typeof o)try{r=s.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o,r=s.loadPath(o)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else r=c.isPlainObject(o)?new s(o):o;n.extend(r)}return n},n.prototype.set=function(e,t){var n={};n[c.camelCase(e)]=t;var i=y._convertData(n);c.extend(!0,this.defaults,i)},new n}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(i,d,r,p){function e(e,t){if(this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=r.applyFromElement(this.options,t)),this.options=r.apply(this.options),t&&t.is("input")){var n=i(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=p.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));var n={};function i(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var o=e[0].attributes[r].name,s="data-";if(o.substr(0,s.length)==s){var a=o.substring(s.length),l=p.GetData(e[0],a);n[a.replace(/-([a-z])/g,i)]=l}}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(n=d.extend(!0,{},e[0].dataset,n));var c=d.extend(!0,{},p.GetData(e[0]),n);for(var u in c=p._convertData(c))-1<d.inArray(u,t)||(d.isPlainObject(this.options[u])?d.extend(this.options[u],c[u]):this.options[u]=c[u]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(o,c,u,i){var d=function(e,t){null!=u.GetData(e[0],"select2")&&u.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new c(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var r=this.render();this._placeContainer(r);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var s=this.options.get("dropdownAdapter");this.dropdown=new s(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var a=this.options.get("resultsAdapter");this.results=new a(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),u.StoreData(e[0],"select2",this),e.data("select2",this)};return u.Extend(d,u.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=u.bind(this._syncAttributes,this),this._syncS=u.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===o.inArray(e,i)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(e),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._isChangeMutation=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var r=0;r<t.addedNodes.length;r++){t.addedNodes[r].selected&&(n=!0)}else t.removedNodes&&0<t.removedNodes.length?n=!0:o.isArray(t)&&o.each(t,function(e,t){if(i._isChangeMutation(e,t))return!(n=!0)});else n=!0;return n}},d.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),i=this;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var r=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,r,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},d.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},d.prototype.isEnabled=function(){return!this.isDisabled()},d.prototype.isDisabled=function(){return this.options.get("disabled")},d.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},d.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];o.isArray(t)&&(t=o.map(t,function(e){return e.toString()})),this.$element.val(t).trigger("input").trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),u.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=o('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("select2/compat/utils",["jquery"],function(s){return{syncCssClasses:function(e,t,n){var i,r,o=[];(i=s.trim(e.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&o.push(this)}),(i=s.trim(t.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&o.push(r)}),e.attr("class",o.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("containerCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptContainerCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("containerCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptDropdownCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("dropdownCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/initSelection",["jquery"],function(i){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,i.isArray(e)||(e=[e]),t(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(s,i){function e(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return e.prototype.current=function(e,t){function i(e,t){var n=[];return e.selected||-1!==s.inArray(e.id,t)?(e.selected=!0,n.push(e)):e.selected=!1,e.children&&n.push.apply(n,i(e.children,t)),n}for(var n=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r];n.push.apply(n,i(o,this.$element.val().split(this._valueSeparator)))}t(n)},e.prototype.select=function(e,t){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+t.id,this.$element.val(n),this.$element.trigger("input").trigger("change")}else this.current(function(e){s.map(e,function(e){e.selected=!1})}),this.$element.val(t.id),this.$element.trigger("input").trigger("change")},e.prototype.unselect=function(e,r){var o=this;r.selected=!1,this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];r.id!=i.id&&t.push(i.id)}o.$element.val(t.join(o._valueSeparator)),o.$element.trigger("input").trigger("change")})},e.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r],s=this.matches(t,o);null!==s&&i.push(s)}n({results:i})},e.prototype.addOptions=function(e,t){var n=s.map(t,function(e){return i.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(s){return function(o){return function(e,t){var n=s.extend(!0,{},t);if(null==e.term||""===s.trim(e.term))return n;if(t.children){for(var i=t.children.length-1;0<=i;i--){var r=t.children[i];o(e.term,r.text,r)||n.children.splice(i,1)}if(0<n.children.length)return n}return o(e.term,t.text,t)?n:null}}}),e.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),e.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),e.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),e.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),l=function(p){var h,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice;if(p.event.fixHooks)for(var n=e.length;n;)p.event.fixHooks[e[--n]]=p.event.mouseHooks;var m=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i;p.data(this,"mousewheel-line-height",m.getLineHeight(this)),p.data(this,"mousewheel-page-height",m.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function i(e){var t,n=e||window.event,i=g.call(arguments,1),r=0,o=0,s=0,a=0,l=0;if((e=p.event.fix(n)).type="mousewheel","detail"in n&&(s=-1*n.detail),"wheelDelta"in n&&(s=n.wheelDelta),"wheelDeltaY"in n&&(s=n.wheelDeltaY),"wheelDeltaX"in n&&(o=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=-1*s,s=0),r=0===s?o:s,"deltaY"in n&&(r=s=-1*n.deltaY),"deltaX"in n&&(o=n.deltaX,0===s&&(r=-1*o)),0!==s||0!==o){if(1===n.deltaMode){var c=p.data(this,"mousewheel-line-height");r*=c,s*=c,o*=c}else if(2===n.deltaMode){var u=p.data(this,"mousewheel-page-height");r*=u,s*=u,o*=u}if(t=Math.max(Math.abs(s),Math.abs(o)),(!f||t<f)&&y(n,f=t)&&(f/=40),y(n,t)&&(r/=40,o/=40,s/=40),r=Math[1<=r?"floor":"ceil"](r/f),o=Math[1<=o?"floor":"ceil"](o/f),s=Math[1<=s?"floor":"ceil"](s/f),m.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();a=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=o,e.deltaY=s,e.deltaFactor=f,e.offsetX=a,e.offsetY=l,e.deltaMode=0,i.unshift(e,r,o,s),h&&clearTimeout(h),h=setTimeout(v,200),(p.event.dispatch||p.event.handle).apply(this,i)}}function v(){f=null}function y(e,t){return m.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],l):"object"==typeof exports?module.exports=l:l(d),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,o,t,s){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=r.extend(!0,{},t);new o(r(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<r.inArray(t,a)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=t),o}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return d.fn.select2.amd=e,t});
1
+ /*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
2
  !function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(d){var e=function(){if(d&&d.fn&&d.fn.select2&&d.fn.select2.amd)var e=d.fn.select2.amd;var t,n,i,h,o,s,f,g,m,v,y,_,r,a,w,l;function b(e,t){return r.call(e,t)}function c(e,t){var n,i,r,o,s,a,l,c,u,d,p,h=t&&t.split("/"),f=y.map,g=f&&f["*"]||{};if(e){for(s=(e=e.split("/")).length-1,y.nodeIdCompat&&w.test(e[s])&&(e[s]=e[s].replace(w,"")),"."===e[0].charAt(0)&&h&&(e=h.slice(0,h.length-1).concat(e)),u=0;u<e.length;u++)if("."===(p=e[u]))e.splice(u,1),u-=1;else if(".."===p){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((h||g)&&f){for(u=(n=e.split("/")).length;0<u;u-=1){if(i=n.slice(0,u).join("/"),h)for(d=h.length;0<d;d-=1)if(r=(r=f[h.slice(0,d).join("/")])&&r[i]){o=r,a=u;break}if(o)break;!l&&g&&g[i]&&(l=g[i],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function A(t,n){return function(){var e=a.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),s.apply(h,e.concat([t,n]))}}function x(t){return function(e){m[t]=e}}function D(e){if(b(v,e)){var t=v[e];delete v[e],_[e]=!0,o.apply(h,t)}if(!b(m,e)&&!b(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return e?u(e):[]}return e&&e.requirejs||(e?n=e:e={},m={},v={},y={},_={},r=Object.prototype.hasOwnProperty,a=[].slice,w=/\.js$/,f=function(e,t){var n,i=u(e),r=i[0],o=t[1];return e=i[1],r&&(n=D(r=c(r,o))),r?e=n&&n.normalize?n.normalize(e,function(t){return function(e){return c(e,t)}}(o)):c(e,o):(r=(i=u(e=c(e,o)))[0],e=i[1],r&&(n=D(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},g={require:function(e){return A(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:function(e){return function(){return y&&y.config&&y.config[e]||{}}}(e)}}},o=function(e,t,n,i){var r,o,s,a,l,c,u,d=[],p=typeof n;if(c=S(i=i||e),"undefined"==p||"function"==p){for(t=!t.length&&n.length?["require","exports","module"]:t,l=0;l<t.length;l+=1)if("require"===(o=(a=f(t[l],c)).f))d[l]=g.require(e);else if("exports"===o)d[l]=g.exports(e),u=!0;else if("module"===o)r=d[l]=g.module(e);else if(b(m,o)||b(v,o)||b(_,o))d[l]=D(o);else{if(!a.p)throw new Error(e+" missing "+o);a.p.load(a.n,A(i,!0),x(o),{}),d[l]=m[o]}s=n?n.apply(m[e],d):void 0,e&&(r&&r.exports!==h&&r.exports!==m[e]?m[e]=r.exports:s===h&&u||(m[e]=s))}else e&&(m[e]=n)},t=n=s=function(e,t,n,i,r){if("string"==typeof e)return g[e]?g[e](t):D(f(e,S(t)).f);if(!e.splice){if((y=e).deps&&s(y.deps,y.callback),!t)return;t.splice?(e=t,t=n,n=null):e=h}return t=t||function(){},"function"==typeof n&&(n=i,i=r),i?o(h,e,t,n):setTimeout(function(){o(h,e,t,n)},4),s},s.config=function(e){return s(e)},t._defined=m,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),b(m,e)||b(v,e)||(v[e]=[e,t,n])}).amd={jQuery:!0},e.requirejs=t,e.require=n,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=d||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(o){var r={};function u(e){var t=e.prototype,n=[];for(var i in t){"function"==typeof t[i]&&"constructor"!==i&&n.push(i)}return n}r.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},r.Decorate=function(i,r){var e=u(r),t=u(i);function o(){var e=Array.prototype.unshift,t=r.prototype.constructor.length,n=i.prototype.constructor;0<t&&(e.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}r.displayName=i.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<t.length;n++){var s=t[n];o.prototype[s]=i.prototype[s]}function a(e){var t=function(){};e in o.prototype&&(t=o.prototype[e]);var n=r.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),n.apply(this,arguments)}}for(var l=0;l<e.length;l++){var c=e[l];o.prototype[c]=a(c)}return o};function e(){this.listeners={}}e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},r.Observable=e,r.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},r.bind=function(e,t){return function(){e.apply(t,arguments)}},r._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},r.hasScroll=function(e,t){var n=o(t),i=t.style.overflowX,r=t.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},r.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},r.appendMany=function(e,t){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},r.__cache={};var n=0;return r.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++n),t=n.toString())),t},r.StoreData=function(e,t,n){var i=r.GetUniqueElementId(e);r.__cache[i]||(r.__cache[i]={}),r.__cache[i][t]=n},r.GetData=function(e,t){var n=r.GetUniqueElementId(e);return t?r.__cache[n]&&null!=r.__cache[n][t]?r.__cache[n][t]:o(e).data(t):r.__cache[n]},r.RemoveData=function(e){var t=r.GetUniqueElementId(e);null!=r.__cache[t]&&delete r.__cache[t],e.removeAttribute("data-select2-id")},r}),e.define("select2/results",["jquery","./utils"],function(h,f){function i(e,t,n){this.$element=e,this.data=n,this.options=t,i.__super__.constructor.call(this)}return f.Extend(i,f.Observable),i.prototype.render=function(){var e=h('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);n.append(t(i(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var t=this;this.data.current(function(e){var i=h.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=h(this),t=f.GetData(this,"data"),n=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<h.inArray(n,i)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var n={role:"option","aria-selected":"false"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var o=n[r];t.setAttribute(r,o)}if(e.children){var s=h(t),a=document.createElement("strong");a.className="select2-results__group";h(a);this.template(e,a);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],d=this.option(u);l.push(d)}var p=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(e,t);return f.StoreData(t,"data",e),t},i.prototype.bind=function(t,e){var l=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on("results:append",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on("query",function(e){l.hideMessages(),l.showLoading(e)}),t.on("select",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(l.setClasses(),l.options.get("scrollAfterSelect")&&l.highlightFirstItem())}),t.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),t.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=f.GetData(e[0],"data");"true"==e.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,s=r.offset().top,a=l.$results.scrollTop()+(s-o);0===i?l.$results.scrollTop(0):s-o<0&&l.$results.scrollTop(a)}}),t.on("results:next",function(){var e=l.getHighlightedResults(),t=l.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),s=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):r<o&&l.$results.scrollTop(s)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){l.displayMessage(e)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-t+e.deltaY,i=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=h(this),n=f.GetData(this,"data");"true"!==t.attr("aria-selected")?l.trigger("select",{originalEvent:e,data:n}):l.options.get("multiple")?l.trigger("unselect",{originalEvent:e,data:n}):l.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=f.GetData(this,"data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:t,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,t){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(e,t);null==r?t.style.display="none":"string"==typeof r?t.innerHTML=i(r):h(t).append(r)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,r){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return i.Extend(o,i.Observable),o.prototype.render=function(){var e=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},o.prototype.bind=function(e,t){var n=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&i.GetData(this,"element").select2("close")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,e,l){function n(e,t){n.__super__.constructor.apply(this,arguments)}return l.Extend(n,e),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},n.prototype.bind=function(e,t){var i=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){i.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!i.isDisabled()){var t=r(this).parent(),n=l.GetData(t[0],"data");i.trigger("unselect",{originalEvent:e,data:n})}})},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},n.prototype.selectionContainer=function(){return r('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o);var s=i.title||i.text;s&&r.attr("title",s),l.StoreData(r[0],"data",i),t.push(r)}var a=this.$selection.find(".select2-selection__rendered");l.appendMany(a,t)}},n}),e.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,i,a){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=a.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var s=0;s<i.length;s++)if(o={data:i[s]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=i.DELETE&&t.which!=i.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){if(e.call(this,t),!(0<this.$selection.find(".select2-selection__placeholder").length||0===t.length)){var n=this.options.get("translations").get("removeAllItems"),i=r('<span class="select2-selection__clear" title="'+n()+'">&times;</span>');a.StoreData(i[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(i)}},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(i,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");var n=e.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),t.on("open",function(){i.$search.attr("aria-controls",r),i.$search.trigger("focus")}),t.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),t.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),t.on("disable",function(){i.$search.prop("disabled",!0)}),t.on("focus",function(e){i.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){i.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){i._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===l.BACKSPACE&&""===i.$search.val()){var t=i.$searchContainer.prev(".select2-selection__choice");if(0<t.length){var n=a.GetData(t[0],"data");i.searchRemoveChoice(n),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){i.$search.val()&&e.stopPropagation()});var o=document.documentMode,s=o&&o<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){s?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&i.handleSearch(e)}})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").width():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(s){function e(){}return e.prototype.bind=function(e,t,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){if(-1!==s.inArray(e,r)){t=t||{};var n=s.Event("select2:"+e,{params:t});i.$element.trigger(n),-1!==s.inArray(e,o)&&(t.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,n){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var t=n(e);i._cache[e]=t}return new i(i._cache[e])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(i){function n(e,t){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=i.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+i.generateChars(4),n},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var n=[],i=this;this.$element.find(":selected").each(function(){var e=l(this),t=i.item(e);n.push(t)}),e(n)},n.prototype.select=function(r){var o=this;if(r.selected=!0,l(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(e){var t=[];(r=[r]).push.apply(r,e);for(var n=0;n<r.length;n++){var i=r[n].id;-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("input").trigger("change")});else{var e=r.id;this.$element.val(e),this.$element.trigger("input").trigger("change")}},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple")){if(r.selected=!1,l(r.element).is("option"))return r.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n].id;i!==r.id&&-1===l.inArray(i,t)&&t.push(i)}o.$element.val(t),o.$element.trigger("input").trigger("change")})}},n.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},n.prototype.query=function(i,e){var r=[],o=this;this.$element.children().each(function(){var e=l(this);if(e.is("option")||e.is("optgroup")){var t=o.item(e),n=o.matches(i,t);null!==n&&r.push(n)}}),e({results:r})},n.prototype.addOptions=function(e){a.appendMany(this.$element,e)},n.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=l(t),i=this._normalizeItem(e);return i.element=t,a.StoreData(t,"data",i),n},n.prototype.item=function(e){var t={};if(null!=(t=a.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var n=e.children("option"),i=[],r=0;r<n.length;r++){var o=l(n[r]),s=this.item(o);i.push(s)}t.children=i}return(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t),t},n.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=l.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),l.extend({},{selected:!1,disabled:!1},e)},n.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,f,g){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return f.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var e=this.$element.find("option").filter(function(e,t){return t.value==n.id.toString()});0===e.length&&(e=this.option(n),this.addOptions(e)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),i=n.map(function(){return t.item(g(this)).id}).get(),r=[];function o(e){return function(){return g(this).val()==e.id}}for(var s=0;s<e.length;s++){var a=this._normalizeItem(e[s]);if(0<=g.inArray(a.id,i)){var l=n.filter(o(a)),c=this.item(l),u=g.extend(!0,{},a,c),d=this.option(u);l.replaceWith(d)}else{var p=this.option(a);if(a.children){var h=this.convertToOptions(a.children);f.appendMany(p,h)}r.push(p)}}return r},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,o){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){var t={data:function(e){return o.extend({},e,{q:e.term})},transport:function(e,t,n){var i=o.ajax(e);return i.then(t),i.fail(n),i}};return o.extend({},t,e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(n,i){var r=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var t=o.extend({type:"GET"},this.ajaxOptions);function e(){var e=t.transport(t,function(e){var t=r.processResults(e,n);r.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in e&&(0===e.status||"0"===e.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=e}"function"==typeof t.url&&(t.url=t.url.call(this.$element,n)),"function"==typeof t.data&&(t.data=t.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},n}),e.define("select2/data/tags",["jquery"],function(u){function e(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,n),u.isArray(i))for(var s=0;s<i.length;s++){var a=i[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(e,c,u){var d=this;this._removeOldTags(),null!=c.term&&null==c.page?e.call(this,c,function e(t,n){for(var i=t.results,r=0;r<i.length;r++){var o=i[r],s=null!=o.children&&!e({results:o.children},!0);if((o.text||"").toUpperCase()===(c.term||"").toUpperCase()||s)return!n&&(t.data=i,void u(t))}if(n)return!0;var a=d.createTag(c);if(null!=a){var l=d.option(a);l.attr("data-select2-tag",!0),d.addOptions([l]),d.insertTag(i,a)}t.results=i,u(t)}):e.call(this,c,u)},e.prototype.createTag=function(e,t){var n=u.trim(t.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(e,t,n){t.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||u(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(d){function e(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,function(e){var t=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return d(this).val()===t.id}).length){var n=i.option(t);n.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([n])}!function(e){i.trigger("select",{data:e})}(t)});r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),t.term=r.term),e.call(this,t,n)},e.prototype.tokenizer=function(e,t,n,i){for(var r=n.get("tokenSeparators")||[],o=t.term,s=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(-1!==d.inArray(l,r)){var c=o.substr(0,s),u=a(d.extend({},t,{term:c}));null!=u?(i(u),o=o.substr(s+1)||"",s=0):s++}else s++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,n){var i=this;this.current(function(e){var t=null!=e?e.length:0;0<i.maximumSelectionLength&&t>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):n&&n()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(o,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=o('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var i=this,r=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){o(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),t.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",r),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),t.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||i.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&e){var t=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50&&this.loadMore()}},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(f,a){function e(e,t,n){this.$dropdownParent=f(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=f("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},e.prototype._attachPositioningHandler=function(e,t){var n=this,i="scroll.select2."+t.id,r="resize.select2."+t.id,o="orientationchange.select2."+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){a.StoreData(this,"select2-scroll-position",{x:f(this).scrollLeft(),y:f(this).scrollTop()})}),s.on(i,function(e){var t=a.GetData(this,"select2-scroll-position");f(this).scrollTop(t.y)}),f(window).on(i+" "+r+" "+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(n),f(window).off(n+" "+i+" "+r)},e.prototype._positionDropdown=function(){var e=f(window),t=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=a<r.top-s,u=l>r.bottom+s,d={left:r.left,top:o.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(f.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,t||n||(i="below"),u||!c||t?!c&&u&&t&&(i="below"):i="above",("above"==i||t&&"below"!==i)&&(d.top=o.top-h.top-s),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=o.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,u,d,p,h,f,g,m,v,y,s,t,_,w,$,b,A,x,D,S,C,E,O,T,q,j,L,I,e){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=$:null!=e.data?e.dataAdapter=w:e.dataAdapter=_,0<e.minimumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,x)),0<e.maximumInputLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,D)),0<e.maximumSelectionLength&&(e.dataAdapter=y.Decorate(e.dataAdapter,S)),e.tags&&(e.dataAdapter=y.Decorate(e.dataAdapter,b)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=y.Decorate(e.dataAdapter,A)),null!=e.query){var t=u(e.amdBase+"compat/query");e.dataAdapter=y.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=u(e.amdBase+"compat/initSelection");e.dataAdapter=y.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,T)),null!=e.placeholder&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,O)),e.selectOnClose&&(e.resultsAdapter=y.Decorate(e.resultsAdapter,L))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=C;else{var i=y.Decorate(C,E);e.dropdownAdapter=i}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,j)),e.closeOnSelect&&(e.dropdownAdapter=y.Decorate(e.dropdownAdapter,I)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var r=u(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=y.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=y.Decorate(e.dropdownAdapter,q)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=h:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,f)),e.allowClear&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=y.Decorate(e.selectionAdapter,m)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptContainerCssClass){var o=u(e.amdBase+"compat/containerCss");e.selectionAdapter=y.Decorate(e.selectionAdapter,o)}e.selectionAdapter=y.Decorate(e.selectionAdapter,v)}e.language=this._resolveLanguage(e.language),e.language.push("en");for(var s=[],a=0;a<e.language.length;a++){var l=e.language[a];-1===s.indexOf(l)&&s.push(l)}return e.language=s,e.translations=this._processTranslations(e.language,e.debug),e},n.prototype.reset=function(){function a(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:y.escapeMarkup,language:{},matcher:function e(t,n){if(""===c.trim(t.term))return n;if(n.children&&0<n.children.length){for(var i=c.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==e(t,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:e(t,i)}var o=a(n.text).toUpperCase(),s=a(t.term).toUpperCase();return-1<o.indexOf(s)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,r=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return e.language=s,e},n.prototype._resolveLanguage=function(e){if(!e)return[];if(c.isEmptyObject(e))return[];if(c.isPlainObject(e))return[e];var t;t=c.isArray(e)?e:[e];for(var n=[],i=0;i<t.length;i++)if(n.push(t[i]),"string"==typeof t[i]&&0<t[i].indexOf("-")){var r=t[i].split("-")[0];n.push(r)}return n},n.prototype._processTranslations=function(e,t){for(var n=new s,i=0;i<e.length;i++){var r=new s,o=e[i];if("string"==typeof o)try{r=s.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o,r=s.loadPath(o)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else r=c.isPlainObject(o)?new s(o):o;n.extend(r)}return n},n.prototype.set=function(e,t){var n={};n[c.camelCase(e)]=t;var i=y._convertData(n);c.extend(!0,this.defaults,i)},new n}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(i,d,r,p){function e(e,t){if(this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=r.applyFromElement(this.options,t)),this.options=r.apply(this.options),t&&t.is("input")){var n=i(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=p.Decorate(this.options.dataAdapter,n)}}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),p.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),p.StoreData(e[0],"data",p.GetData(e[0],"select2Tags")),p.StoreData(e[0],"tags",!0)),p.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",p.GetData(e[0],"ajaxUrl")),p.StoreData(e[0],"ajax-Url",p.GetData(e[0],"ajaxUrl")));var n={};function i(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var o=e[0].attributes[r].name,s="data-";if(o.substr(0,s.length)==s){var a=o.substring(s.length),l=p.GetData(e[0],a);n[a.replace(/-([a-z])/g,i)]=l}}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&e[0].dataset&&(n=d.extend(!0,{},e[0].dataset,n));var c=d.extend(!0,{},p.GetData(e[0]),n);for(var u in c=p._convertData(c))-1<d.inArray(u,t)||(d.isPlainObject(this.options[u])?d.extend(this.options[u],c[u]):this.options[u]=c[u]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(o,c,u,i){var d=function(e,t){null!=u.GetData(e[0],"select2")&&u.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{},this.options=new c(t,e),d.__super__.constructor.call(this);var n=e.attr("tabindex")||0;u.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var r=this.render();this._placeContainer(r);var o=this.options.get("selectionAdapter");this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var s=this.options.get("dropdownAdapter");this.dropdown=new s(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var a=this.options.get("resultsAdapter");this.results=new a(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){l.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),u.StoreData(e[0],"select2",this),e.data("select2",this)};return u.Extend(d,u.Observable),d.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+u.generateChars(2):u.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},d.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},d.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1]}return null},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=u.bind(this._syncAttributes,this),this._syncS=u.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},d.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(e){n.focus(e)}),this.selection.on("*",function(e,t){-1===o.inArray(e,i)&&n.trigger(e,t)})},d.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(e,t){n.trigger(e,t)})},d.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(t){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(t,function(e){n.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){n.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;n.isOpen()?t===i.ESC||t===i.TAB||t===i.UP&&e.altKey?(n.close(e),e.preventDefault()):t===i.ENTER?(n.trigger("results:select",{}),e.preventDefault()):t===i.SPACE&&e.ctrlKey?(n.trigger("results:toggle",{}),e.preventDefault()):t===i.UP?(n.trigger("results:previous",{}),e.preventDefault()):t===i.DOWN&&(n.trigger("results:next",{}),e.preventDefault()):(t===i.ENTER||t===i.SPACE||t===i.DOWN&&e.altKey)&&(n.open(),e.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._isChangeMutation=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var r=0;r<t.addedNodes.length;r++){t.addedNodes[r].selected&&(n=!0)}else t.removedNodes&&0<t.removedNodes.length?n=!0:o.isArray(t)&&o.each(t,function(e,t){if(i._isChangeMutation(e,t))return!(n=!0)});else n=!0;return n}},d.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),i=this;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})},d.prototype.trigger=function(e,t){var n=d.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var r=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,r,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},d.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},d.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},d.prototype.isEnabled=function(){return!this.isDisabled()},d.prototype.isDisabled=function(){return this.options.get("disabled")},d.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},d.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},d.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},d.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},d.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];o.isArray(t)&&(t=o.map(t,function(e){return e.toString()})),this.$element.val(t).trigger("input").trigger("change")},d.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",u.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),u.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var e=o('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),u.StoreData(e[0],"element",this.$element),e},d}),e.define("select2/compat/utils",["jquery"],function(s){return{syncCssClasses:function(e,t,n){var i,r,o=[];(i=s.trim(e.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&o.push(this)}),(i=s.trim(t.attr("class")))&&s((i=""+i).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=n(this))&&o.push(r)}),e.attr("class",o.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("containerCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptContainerCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("containerCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(s,a){function l(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";s.isFunction(n)&&(n=n(this.$element));var i=this.options.get("adaptDropdownCssClass");if(i=i||l,-1!==n.indexOf(":all:")){n=n.replace(":all:","");var r=i;i=function(e){var t=r(e);return null!=t?t+" "+e:e}}var o=this.options.get("dropdownCss")||{};return s.isFunction(o)&&(o=o(this.$element)),a.syncCssClasses(t,this.$element,i),t.css(o),t.addClass(n),t},e}),e.define("select2/compat/initSelection",["jquery"],function(i){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return e.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,i.isArray(e)||(e=[e]),t(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(s,i){function e(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return e.prototype.current=function(e,t){function i(e,t){var n=[];return e.selected||-1!==s.inArray(e.id,t)?(e.selected=!0,n.push(e)):e.selected=!1,e.children&&n.push.apply(n,i(e.children,t)),n}for(var n=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r];n.push.apply(n,i(o,this.$element.val().split(this._valueSeparator)))}t(n)},e.prototype.select=function(e,t){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+t.id,this.$element.val(n),this.$element.trigger("input").trigger("change")}else this.current(function(e){s.map(e,function(e){e.selected=!1})}),this.$element.val(t.id),this.$element.trigger("input").trigger("change")},e.prototype.unselect=function(e,r){var o=this;r.selected=!1,this.current(function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];r.id!=i.id&&t.push(i.id)}o.$element.val(t.join(o._valueSeparator)),o.$element.trigger("input").trigger("change")})},e.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r],s=this.matches(t,o);null!==s&&i.push(s)}n({results:i})},e.prototype.addOptions=function(e,t){var n=s.map(t,function(e){return i.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(s){return function(o){return function(e,t){var n=s.extend(!0,{},t);if(null==e.term||""===s.trim(e.term))return n;if(t.children){for(var i=t.children.length-1;0<=i;i--){var r=t.children[i];o(e.term,r.text,r)||n.children.splice(i,1)}if(0<n.children.length)return n}return o(e.term,t.text,t)?n:null}}}),e.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),e.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),e.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),e.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),l=function(p){var h,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice;if(p.event.fixHooks)for(var n=e.length;n;)p.event.fixHooks[e[--n]]=p.event.mouseHooks;var m=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],i,!1);else this.onmousewheel=i;p.data(this,"mousewheel-line-height",m.getLineHeight(this)),p.data(this,"mousewheel-page-height",m.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],i,!1);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function i(e){var t,n=e||window.event,i=g.call(arguments,1),r=0,o=0,s=0,a=0,l=0;if((e=p.event.fix(n)).type="mousewheel","detail"in n&&(s=-1*n.detail),"wheelDelta"in n&&(s=n.wheelDelta),"wheelDeltaY"in n&&(s=n.wheelDeltaY),"wheelDeltaX"in n&&(o=-1*n.wheelDeltaX),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=-1*s,s=0),r=0===s?o:s,"deltaY"in n&&(r=s=-1*n.deltaY),"deltaX"in n&&(o=n.deltaX,0===s&&(r=-1*o)),0!==s||0!==o){if(1===n.deltaMode){var c=p.data(this,"mousewheel-line-height");r*=c,s*=c,o*=c}else if(2===n.deltaMode){var u=p.data(this,"mousewheel-page-height");r*=u,s*=u,o*=u}if(t=Math.max(Math.abs(s),Math.abs(o)),(!f||t<f)&&y(n,f=t)&&(f/=40),y(n,t)&&(r/=40,o/=40,s/=40),r=Math[1<=r?"floor":"ceil"](r/f),o=Math[1<=o?"floor":"ceil"](o/f),s=Math[1<=s?"floor":"ceil"](s/f),m.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();a=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=o,e.deltaY=s,e.deltaFactor=f,e.offsetX=a,e.offsetY=l,e.deltaMode=0,i.unshift(e,r,o,s),h&&clearTimeout(h),h=setTimeout(v,200),(p.event.dispatch||p.event.handle).apply(this,i)}}function v(){f=null}function y(e,t){return m.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],l):"object"==typeof exports?module.exports=l:l(d),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,e,o,t,s){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=r.extend(!0,{},t);new o(r(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,i)}),-1<r.inArray(t,a)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=t),o}),{define:e.define,require:e.require}}(),t=e.require("jquery.select2");return d.fn.select2.amd=e,t});
languages/mystickymenu-de_DE.po CHANGED
@@ -1,239 +1,239 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: myStickymenu\n"
4
- "POT-Creation-Date: 2017-09-15 08:39+0100\n"
5
- "PO-Revision-Date: 2017-09-15 08:39+0100\n"
6
- "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
- "Language-Team: Schelli <mail@schelli.eu>\n"
8
- "Language: de_DE\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: .\n"
19
-
20
- #: ../mystickymenu.php:167
21
- #, fuzzy
22
- msgid "myStickymenu"
23
- msgstr "myStickymenu Optionen"
24
-
25
- #: ../mystickymenu.php:168
26
- #, fuzzy
27
- msgid ""
28
- "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
- "HTML element class desired to be sticky (div id can be used as well)."
30
- msgstr ""
31
- "Füge deiner Seite ein optisch anspechendes und modernes \"Sticky Menü\" oder "
32
- "einen \"Sticky Header\" hinzu. Das Plugin ist voreingestellt für das Theme "
33
- "\"Twenty Thirteen\". <br />Um es mit anderen Themes zu nutzen, brauchst du "
34
- "nur das Feld \"Sticky Klasse\" entsprechend anzupassen."
35
-
36
- #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
- #: ../mystickymenu.php:561
38
- msgid " "
39
- msgstr ""
40
-
41
- #: ../mystickymenu.php:283
42
- msgid "Sticky Class"
43
- msgstr "Sticky Klasse"
44
-
45
- #: ../mystickymenu.php:291
46
- msgid "Fade or slide effect"
47
- msgstr " Einblenden oder Hereingleiten"
48
-
49
- #: ../mystickymenu.php:298
50
- msgid "Sticky z-index"
51
- msgstr "Sticky z-Index"
52
-
53
- #: ../mystickymenu.php:305
54
- msgid "Sticky Background Color"
55
- msgstr "Sticky Hintergrundfarbe"
56
-
57
- #: ../mystickymenu.php:312
58
- msgid "Sticky Opacity"
59
- msgstr "Deckkraft"
60
-
61
- #: ../mystickymenu.php:319
62
- msgid "Sticky Transition Time"
63
- msgstr "Einblendegeschwindigkeit"
64
-
65
- #: ../mystickymenu.php:326
66
- msgid "Disable at Small Screen Sizes"
67
- msgstr "Deaktivierung bei Bildschirmbreiten"
68
-
69
- #: ../mystickymenu.php:333
70
- msgid "Make visible on Scroll"
71
- msgstr "Einblendung"
72
-
73
- #: ../mystickymenu.php:340
74
- msgid "Make visible on Scroll at homepage"
75
- msgstr "Einblendung (Startseite)"
76
-
77
- #: ../mystickymenu.php:349
78
- #, fuzzy
79
- msgid "Disable on scroll down"
80
- msgstr "Einblendung"
81
-
82
- #: ../mystickymenu.php:356
83
- #, fuzzy
84
- msgid "CSS style"
85
- msgstr "Disable CSS style"
86
-
87
- #: ../mystickymenu.php:363
88
- msgid "Disable CSS style"
89
- msgstr "Disable CSS style"
90
-
91
- #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
- #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
- #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
- #, fuzzy
95
- msgid "Disable at"
96
- msgstr "Disable CSS style"
97
-
98
- #: ../mystickymenu.php:570
99
- #, fuzzy
100
- msgid "menu or header element class or id."
101
- msgstr ""
102
- "Menü oder Header div-Klasse bzw. ID. (Für einige Themes findest du diese <a "
103
- "href='http://wordpress.transformnews.com/tutorials/mystickymenu-theme-"
104
- "support-682'>hier</a>.)"
105
-
106
- #: ../mystickymenu.php:596
107
- msgid "numbers 1-100."
108
- msgstr "Ein Wert zwischen 1 und 100"
109
-
110
- #: ../mystickymenu.php:606
111
- msgid "in seconds."
112
- msgstr "in Sekunden"
113
-
114
- #: ../mystickymenu.php:615
115
- msgid "less than"
116
- msgstr "kleiner als"
117
-
118
- #: ../mystickymenu.php:620
119
- msgid "px width, 0 to disable."
120
- msgstr "Pixel (Keine Deaktivierung: 0)"
121
-
122
- #: ../mystickymenu.php:629 ../mystickymenu.php:643
123
- msgid "after"
124
- msgstr "nach "
125
-
126
- #: ../mystickymenu.php:634
127
- msgid "px. If set to 0 auto calculate will be used."
128
- msgstr ""
129
-
130
- #: ../mystickymenu.php:648
131
- msgid "px. If set to 0 it will use initial Make visible on Scroll value."
132
- msgstr ""
133
-
134
- #: ../mystickymenu.php:659
135
- msgid "Checked is slide, unchecked is fade."
136
- msgstr "Aktiviert = Hereingleiten, Deaktiviert = Einblenden"
137
-
138
- #: ../mystickymenu.php:667
139
- msgid "Disable sticky menu at scroll down"
140
- msgstr ""
141
-
142
- #: ../mystickymenu.php:680
143
- #, fuzzy
144
- msgid "Add/edit CSS style. Leave it blank for default style."
145
- msgstr ""
146
- "Ändere oder ergänze den CSS-Code um den Stil des \"Sticky Menü\" anzupassen."
147
-
148
- #: ../mystickymenu.php:688
149
- #, fuzzy
150
- msgid "If you want to change sticky hover color: "
151
- msgstr ""
152
- "Um die Farbe des \"Sticky Menü\" beim Mouseover (hover) zu ändern ergänze "
153
- "den voreingestellten Stil um folgenden Code:<br />"
154
-
155
- #: ../mystickymenu.php:690
156
- msgid ""
157
- "More examples <a href='http://wordpress.transformnews.com/tutorials/"
158
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
159
- "class-403'>here</a>."
160
- msgstr ""
161
- "Mehr Beispiele findest du <a href='http://wordpress.transformnews.com/"
162
- "tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-"
163
- "class-403'>hier</a>."
164
-
165
- #: ../mystickymenu.php:701
166
- msgid "Use this option if you plan to include CSS Style manually"
167
- msgstr "Use this option if you plan to include CSS Style manually"
168
-
169
- #: ../mystickymenu.php:720
170
- msgid "<span>front page </span>"
171
- msgstr ""
172
-
173
- #: ../mystickymenu.php:726
174
- msgid "<span>blog page </span>"
175
- msgstr ""
176
-
177
- #: ../mystickymenu.php:732
178
- msgid "<span>pages </span>"
179
- msgstr ""
180
-
181
- #: ../mystickymenu.php:738
182
- msgid "<span>tags </span>"
183
- msgstr ""
184
-
185
- #: ../mystickymenu.php:744
186
- msgid "<span>categories </span>"
187
- msgstr ""
188
-
189
- #: ../mystickymenu.php:750
190
- msgid "<span>posts </span>"
191
- msgstr ""
192
-
193
- #: ../mystickymenu.php:756
194
- msgid "<span>archives </span>"
195
- msgstr ""
196
-
197
- #: ../mystickymenu.php:763
198
- msgid "<span>search </span>"
199
- msgstr ""
200
-
201
- #: ../mystickymenu.php:773
202
- msgid "<span class=\"\">Except for this pages: </span>"
203
- msgstr ""
204
-
205
- #: ../mystickymenu.php:780
206
- msgid ""
207
- "<span class=\"description\">Comma separated list of pages to enable. It "
208
- "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
209
- "blank if you realy want to disable sticky sidebar for all pages.</span>"
210
- msgstr ""
211
-
212
- #: ../mystickymenu.php:787
213
- msgid "<span class=\"\">Except for this posts: </span>"
214
- msgstr ""
215
-
216
- #: ../mystickymenu.php:794
217
- msgid ""
218
- "<span class=\"description\">Comma separated list of posts to enable. It "
219
- "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
220
- "blank if you realy want to disable sticky sidebar for all posts.</span>"
221
- msgstr ""
222
-
223
- #~ msgid "myStickymenu Settings"
224
- #~ msgstr "myStickymenu Einstellungen"
225
-
226
- #~ msgid ".myfixed css class"
227
- #~ msgstr ".myfixed CSS-Klasse"
228
-
229
- #~ msgid "px."
230
- #~ msgstr "px."
231
-
232
- #~ msgid "Default style: "
233
- #~ msgstr "Voreingestellter Stil:<br />"
234
-
235
- #~ msgid "px. (scroll)"
236
- #~ msgstr "Pixeln (scrollen)"
237
-
238
- #~ msgid "mymessage2"
239
- #~ msgstr "Bye"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: myStickymenu\n"
4
+ "POT-Creation-Date: 2017-09-15 08:39+0100\n"
5
+ "PO-Revision-Date: 2017-09-15 08:39+0100\n"
6
+ "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
+ "Language-Team: Schelli <mail@schelli.eu>\n"
8
+ "Language: de_DE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+ "X-Poedit-SearchPath-1: .\n"
19
+
20
+ #: ../mystickymenu.php:167
21
+ #, fuzzy
22
+ msgid "myStickymenu"
23
+ msgstr "myStickymenu Optionen"
24
+
25
+ #: ../mystickymenu.php:168
26
+ #, fuzzy
27
+ msgid ""
28
+ "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
+ "HTML element class desired to be sticky (div id can be used as well)."
30
+ msgstr ""
31
+ "Füge deiner Seite ein optisch anspechendes und modernes \"Sticky Menü\" oder "
32
+ "einen \"Sticky Header\" hinzu. Das Plugin ist voreingestellt für das Theme "
33
+ "\"Twenty Thirteen\". <br />Um es mit anderen Themes zu nutzen, brauchst du "
34
+ "nur das Feld \"Sticky Klasse\" entsprechend anzupassen."
35
+
36
+ #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
+ #: ../mystickymenu.php:561
38
+ msgid " "
39
+ msgstr ""
40
+
41
+ #: ../mystickymenu.php:283
42
+ msgid "Sticky Class"
43
+ msgstr "Sticky Klasse"
44
+
45
+ #: ../mystickymenu.php:291
46
+ msgid "Fade or slide effect"
47
+ msgstr " Einblenden oder Hereingleiten"
48
+
49
+ #: ../mystickymenu.php:298
50
+ msgid "Sticky z-index"
51
+ msgstr "Sticky z-Index"
52
+
53
+ #: ../mystickymenu.php:305
54
+ msgid "Sticky Background Color"
55
+ msgstr "Sticky Hintergrundfarbe"
56
+
57
+ #: ../mystickymenu.php:312
58
+ msgid "Sticky Opacity"
59
+ msgstr "Deckkraft"
60
+
61
+ #: ../mystickymenu.php:319
62
+ msgid "Sticky Transition Time"
63
+ msgstr "Einblendegeschwindigkeit"
64
+
65
+ #: ../mystickymenu.php:326
66
+ msgid "Disable at Small Screen Sizes"
67
+ msgstr "Deaktivierung bei Bildschirmbreiten"
68
+
69
+ #: ../mystickymenu.php:333
70
+ msgid "Make visible on Scroll"
71
+ msgstr "Einblendung"
72
+
73
+ #: ../mystickymenu.php:340
74
+ msgid "Make visible on Scroll at homepage"
75
+ msgstr "Einblendung (Startseite)"
76
+
77
+ #: ../mystickymenu.php:349
78
+ #, fuzzy
79
+ msgid "Disable on scroll down"
80
+ msgstr "Einblendung"
81
+
82
+ #: ../mystickymenu.php:356
83
+ #, fuzzy
84
+ msgid "CSS style"
85
+ msgstr "Disable CSS style"
86
+
87
+ #: ../mystickymenu.php:363
88
+ msgid "Disable CSS style"
89
+ msgstr "Disable CSS style"
90
+
91
+ #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
+ #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
+ #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
+ #, fuzzy
95
+ msgid "Disable at"
96
+ msgstr "Disable CSS style"
97
+
98
+ #: ../mystickymenu.php:570
99
+ #, fuzzy
100
+ msgid "menu or header element class or id."
101
+ msgstr ""
102
+ "Menü oder Header div-Klasse bzw. ID. (Für einige Themes findest du diese <a "
103
+ "href='http://wordpress.transformnews.com/tutorials/mystickymenu-theme-"
104
+ "support-682'>hier</a>.)"
105
+
106
+ #: ../mystickymenu.php:596
107
+ msgid "numbers 1-100."
108
+ msgstr "Ein Wert zwischen 1 und 100"
109
+
110
+ #: ../mystickymenu.php:606
111
+ msgid "in seconds."
112
+ msgstr "in Sekunden"
113
+
114
+ #: ../mystickymenu.php:615
115
+ msgid "less than"
116
+ msgstr "kleiner als"
117
+
118
+ #: ../mystickymenu.php:620
119
+ msgid "px width, 0 to disable."
120
+ msgstr "Pixel (Keine Deaktivierung: 0)"
121
+
122
+ #: ../mystickymenu.php:629 ../mystickymenu.php:643
123
+ msgid "after"
124
+ msgstr "nach "
125
+
126
+ #: ../mystickymenu.php:634
127
+ msgid "px. If set to 0 auto calculate will be used."
128
+ msgstr ""
129
+
130
+ #: ../mystickymenu.php:648
131
+ msgid "px. If set to 0 it will use initial Make visible on Scroll value."
132
+ msgstr ""
133
+
134
+ #: ../mystickymenu.php:659
135
+ msgid "Checked is slide, unchecked is fade."
136
+ msgstr "Aktiviert = Hereingleiten, Deaktiviert = Einblenden"
137
+
138
+ #: ../mystickymenu.php:667
139
+ msgid "Disable sticky menu at scroll down"
140
+ msgstr ""
141
+
142
+ #: ../mystickymenu.php:680
143
+ #, fuzzy
144
+ msgid "Add/edit CSS style. Leave it blank for default style."
145
+ msgstr ""
146
+ "Ändere oder ergänze den CSS-Code um den Stil des \"Sticky Menü\" anzupassen."
147
+
148
+ #: ../mystickymenu.php:688
149
+ #, fuzzy
150
+ msgid "If you want to change sticky hover color: "
151
+ msgstr ""
152
+ "Um die Farbe des \"Sticky Menü\" beim Mouseover (hover) zu ändern ergänze "
153
+ "den voreingestellten Stil um folgenden Code:<br />"
154
+
155
+ #: ../mystickymenu.php:690
156
+ msgid ""
157
+ "More examples <a href='http://wordpress.transformnews.com/tutorials/"
158
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
159
+ "class-403'>here</a>."
160
+ msgstr ""
161
+ "Mehr Beispiele findest du <a href='http://wordpress.transformnews.com/"
162
+ "tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-"
163
+ "class-403'>hier</a>."
164
+
165
+ #: ../mystickymenu.php:701
166
+ msgid "Use this option if you plan to include CSS Style manually"
167
+ msgstr "Use this option if you plan to include CSS Style manually"
168
+
169
+ #: ../mystickymenu.php:720
170
+ msgid "<span>front page </span>"
171
+ msgstr ""
172
+
173
+ #: ../mystickymenu.php:726
174
+ msgid "<span>blog page </span>"
175
+ msgstr ""
176
+
177
+ #: ../mystickymenu.php:732
178
+ msgid "<span>pages </span>"
179
+ msgstr ""
180
+
181
+ #: ../mystickymenu.php:738
182
+ msgid "<span>tags </span>"
183
+ msgstr ""
184
+
185
+ #: ../mystickymenu.php:744
186
+ msgid "<span>categories </span>"
187
+ msgstr ""
188
+
189
+ #: ../mystickymenu.php:750
190
+ msgid "<span>posts </span>"
191
+ msgstr ""
192
+
193
+ #: ../mystickymenu.php:756
194
+ msgid "<span>archives </span>"
195
+ msgstr ""
196
+
197
+ #: ../mystickymenu.php:763
198
+ msgid "<span>search </span>"
199
+ msgstr ""
200
+
201
+ #: ../mystickymenu.php:773
202
+ msgid "<span class=\"\">Except for this pages: </span>"
203
+ msgstr ""
204
+
205
+ #: ../mystickymenu.php:780
206
+ msgid ""
207
+ "<span class=\"description\">Comma separated list of pages to enable. It "
208
+ "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
209
+ "blank if you realy want to disable sticky sidebar for all pages.</span>"
210
+ msgstr ""
211
+
212
+ #: ../mystickymenu.php:787
213
+ msgid "<span class=\"\">Except for this posts: </span>"
214
+ msgstr ""
215
+
216
+ #: ../mystickymenu.php:794
217
+ msgid ""
218
+ "<span class=\"description\">Comma separated list of posts to enable. It "
219
+ "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
220
+ "blank if you realy want to disable sticky sidebar for all posts.</span>"
221
+ msgstr ""
222
+
223
+ #~ msgid "myStickymenu Settings"
224
+ #~ msgstr "myStickymenu Einstellungen"
225
+
226
+ #~ msgid ".myfixed css class"
227
+ #~ msgstr ".myfixed CSS-Klasse"
228
+
229
+ #~ msgid "px."
230
+ #~ msgstr "px."
231
+
232
+ #~ msgid "Default style: "
233
+ #~ msgstr "Voreingestellter Stil:<br />"
234
+
235
+ #~ msgid "px. (scroll)"
236
+ #~ msgstr "Pixeln (scrollen)"
237
+
238
+ #~ msgid "mymessage2"
239
+ #~ msgstr "Bye"
languages/mystickymenu-es_ES.po CHANGED
@@ -1,237 +1,237 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: myStickymenu\n"
4
- "POT-Creation-Date: 2017-09-15 08:39+0100\n"
5
- "PO-Revision-Date: 2017-09-15 08:39+0100\n"
6
- "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
- "Language-Team: TFN <jahmirda@gmail.com>\n"
8
- "Language: English\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: .\n"
19
-
20
- #: ../mystickymenu.php:167
21
- #, fuzzy
22
- msgid "myStickymenu"
23
- msgstr " Opciones de myStickymenu "
24
-
25
- #: ../mystickymenu.php:168
26
- #, fuzzy
27
- msgid ""
28
- "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
- "HTML element class desired to be sticky (div id can be used as well)."
30
- msgstr ""
31
- "Adiciona agradable menú o encabezado moderno a cualquier tema. Por defecto "
32
- "trabaja con el tema Twenty Thirteen. <br/> Para otros temas cambie 'Sticky "
33
- "Class' a la clase div que se quiere poner como sticky (el id del div puede "
34
- "ser usado también)."
35
-
36
- #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
- #: ../mystickymenu.php:561
38
- msgid " "
39
- msgstr ""
40
-
41
- #: ../mystickymenu.php:283
42
- msgid "Sticky Class"
43
- msgstr " Clase de Sticky "
44
-
45
- #: ../mystickymenu.php:291
46
- msgid "Fade or slide effect"
47
- msgstr " Atenuar o deslizar efecto"
48
-
49
- #: ../mystickymenu.php:298
50
- msgid "Sticky z-index"
51
- msgstr " z-index de Sticky "
52
-
53
- #: ../mystickymenu.php:305
54
- msgid "Sticky Background Color"
55
- msgstr " Color de Fondo de Sticky "
56
-
57
- #: ../mystickymenu.php:312
58
- msgid "Sticky Opacity"
59
- msgstr " Opacidad de Sticky "
60
-
61
- #: ../mystickymenu.php:319
62
- msgid "Sticky Transition Time"
63
- msgstr " Tiempo de Transición de Sticky "
64
-
65
- #: ../mystickymenu.php:326
66
- msgid "Disable at Small Screen Sizes"
67
- msgstr " Desabilitado en Tamaños Pequeños en la Pantalla"
68
-
69
- #: ../mystickymenu.php:333
70
- msgid "Make visible on Scroll"
71
- msgstr " Hacer visible cuando se hace scroll"
72
-
73
- #: ../mystickymenu.php:340
74
- msgid "Make visible on Scroll at homepage"
75
- msgstr " Hacer visible cuando se hace scroll on homepage"
76
-
77
- #: ../mystickymenu.php:349
78
- #, fuzzy
79
- msgid "Disable on scroll down"
80
- msgstr " Hacer visible cuando se hace scroll"
81
-
82
- #: ../mystickymenu.php:356
83
- #, fuzzy
84
- msgid "CSS style"
85
- msgstr "Disable CSS style"
86
-
87
- #: ../mystickymenu.php:363
88
- msgid "Disable CSS style"
89
- msgstr "Disable CSS style"
90
-
91
- #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
- #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
- #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
- #, fuzzy
95
- msgid "Disable at"
96
- msgstr "Disable CSS style"
97
-
98
- #: ../mystickymenu.php:570
99
- #, fuzzy
100
- msgid "menu or header element class or id."
101
- msgstr "clase o id del div del menú o encabezado."
102
-
103
- #: ../mystickymenu.php:596
104
- msgid "numbers 1-100."
105
- msgstr " números 1-100."
106
-
107
- #: ../mystickymenu.php:606
108
- msgid "in seconds."
109
- msgstr "en cuestión de segundos."
110
-
111
- #: ../mystickymenu.php:615
112
- msgid "less than"
113
- msgstr "menos que"
114
-
115
- #: ../mystickymenu.php:620
116
- msgid "px width, 0 to disable."
117
- msgstr "ancho px, 0 para desactivarlo."
118
-
119
- #: ../mystickymenu.php:629 ../mystickymenu.php:643
120
- msgid "after"
121
- msgstr "después"
122
-
123
- #: ../mystickymenu.php:634
124
- msgid "px. If set to 0 auto calculate will be used."
125
- msgstr ""
126
-
127
- #: ../mystickymenu.php:648
128
- msgid "px. If set to 0 it will use initial Make visible on Scroll value."
129
- msgstr ""
130
-
131
- #: ../mystickymenu.php:659
132
- msgid "Checked is slide, unchecked is fade."
133
- msgstr "Checked es deslizar, sin control se desvanecen."
134
-
135
- #: ../mystickymenu.php:667
136
- msgid "Disable sticky menu at scroll down"
137
- msgstr ""
138
-
139
- #: ../mystickymenu.php:680
140
- #, fuzzy
141
- msgid "Add/edit CSS style. Leave it blank for default style."
142
- msgstr ""
143
- "Agregar / Editar. Myfixed clase CSS para cambiar el estilo de menú pegajoso. "
144
- "Déjelo en blanco para el estilo predeterminado."
145
-
146
- #: ../mystickymenu.php:688
147
- #, fuzzy
148
- msgid "If you want to change sticky hover color: "
149
- msgstr ""
150
- "Si desea cambiar el color libración pegajosa primero añadir estilo por "
151
- "defecto y que:"
152
-
153
- #: ../mystickymenu.php:690
154
- msgid ""
155
- "More examples <a href='http://wordpress.transformnews.com/tutorials/"
156
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
157
- "class-403'>here</a>."
158
- msgstr ""
159
- "Más ejemplos <unas href='http://wordpress.transformnews.com/tutorials/"
160
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
161
- "class-403'>here</a>."
162
-
163
- #: ../mystickymenu.php:701
164
- msgid "Use this option if you plan to include CSS Style manually"
165
- msgstr "Use this option if you plan to include CSS Style manually"
166
-
167
- #: ../mystickymenu.php:720
168
- msgid "<span>front page </span>"
169
- msgstr ""
170
-
171
- #: ../mystickymenu.php:726
172
- msgid "<span>blog page </span>"
173
- msgstr ""
174
-
175
- #: ../mystickymenu.php:732
176
- msgid "<span>pages </span>"
177
- msgstr ""
178
-
179
- #: ../mystickymenu.php:738
180
- msgid "<span>tags </span>"
181
- msgstr ""
182
-
183
- #: ../mystickymenu.php:744
184
- msgid "<span>categories </span>"
185
- msgstr ""
186
-
187
- #: ../mystickymenu.php:750
188
- msgid "<span>posts </span>"
189
- msgstr ""
190
-
191
- #: ../mystickymenu.php:756
192
- msgid "<span>archives </span>"
193
- msgstr ""
194
-
195
- #: ../mystickymenu.php:763
196
- msgid "<span>search </span>"
197
- msgstr ""
198
-
199
- #: ../mystickymenu.php:773
200
- msgid "<span class=\"\">Except for this pages: </span>"
201
- msgstr ""
202
-
203
- #: ../mystickymenu.php:780
204
- msgid ""
205
- "<span class=\"description\">Comma separated list of pages to enable. It "
206
- "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
207
- "blank if you realy want to disable sticky sidebar for all pages.</span>"
208
- msgstr ""
209
-
210
- #: ../mystickymenu.php:787
211
- msgid "<span class=\"\">Except for this posts: </span>"
212
- msgstr ""
213
-
214
- #: ../mystickymenu.php:794
215
- msgid ""
216
- "<span class=\"description\">Comma separated list of posts to enable. It "
217
- "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
218
- "blank if you realy want to disable sticky sidebar for all posts.</span>"
219
- msgstr ""
220
-
221
- #~ msgid "myStickymenu Settings"
222
- #~ msgstr " Configuraciones de myStickymenu "
223
-
224
- #~ msgid ".myfixed css class"
225
- #~ msgstr ".myfixed css class"
226
-
227
- #~ msgid "px."
228
- #~ msgstr "px."
229
-
230
- #~ msgid "Default style: "
231
- #~ msgstr "Estilo por defecto:"
232
-
233
- #~ msgid "px. (scroll)"
234
- #~ msgstr "px. (scroll)"
235
-
236
- #~ msgid "mymessage2"
237
- #~ msgstr "Bye"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: myStickymenu\n"
4
+ "POT-Creation-Date: 2017-09-15 08:39+0100\n"
5
+ "PO-Revision-Date: 2017-09-15 08:39+0100\n"
6
+ "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
+ "Language-Team: TFN <jahmirda@gmail.com>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+ "X-Poedit-SearchPath-1: .\n"
19
+
20
+ #: ../mystickymenu.php:167
21
+ #, fuzzy
22
+ msgid "myStickymenu"
23
+ msgstr " Opciones de myStickymenu "
24
+
25
+ #: ../mystickymenu.php:168
26
+ #, fuzzy
27
+ msgid ""
28
+ "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
+ "HTML element class desired to be sticky (div id can be used as well)."
30
+ msgstr ""
31
+ "Adiciona agradable menú o encabezado moderno a cualquier tema. Por defecto "
32
+ "trabaja con el tema Twenty Thirteen. <br/> Para otros temas cambie 'Sticky "
33
+ "Class' a la clase div que se quiere poner como sticky (el id del div puede "
34
+ "ser usado también)."
35
+
36
+ #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
+ #: ../mystickymenu.php:561
38
+ msgid " "
39
+ msgstr ""
40
+
41
+ #: ../mystickymenu.php:283
42
+ msgid "Sticky Class"
43
+ msgstr " Clase de Sticky "
44
+
45
+ #: ../mystickymenu.php:291
46
+ msgid "Fade or slide effect"
47
+ msgstr " Atenuar o deslizar efecto"
48
+
49
+ #: ../mystickymenu.php:298
50
+ msgid "Sticky z-index"
51
+ msgstr " z-index de Sticky "
52
+
53
+ #: ../mystickymenu.php:305
54
+ msgid "Sticky Background Color"
55
+ msgstr " Color de Fondo de Sticky "
56
+
57
+ #: ../mystickymenu.php:312
58
+ msgid "Sticky Opacity"
59
+ msgstr " Opacidad de Sticky "
60
+
61
+ #: ../mystickymenu.php:319
62
+ msgid "Sticky Transition Time"
63
+ msgstr " Tiempo de Transición de Sticky "
64
+
65
+ #: ../mystickymenu.php:326
66
+ msgid "Disable at Small Screen Sizes"
67
+ msgstr " Desabilitado en Tamaños Pequeños en la Pantalla"
68
+
69
+ #: ../mystickymenu.php:333
70
+ msgid "Make visible on Scroll"
71
+ msgstr " Hacer visible cuando se hace scroll"
72
+
73
+ #: ../mystickymenu.php:340
74
+ msgid "Make visible on Scroll at homepage"
75
+ msgstr " Hacer visible cuando se hace scroll on homepage"
76
+
77
+ #: ../mystickymenu.php:349
78
+ #, fuzzy
79
+ msgid "Disable on scroll down"
80
+ msgstr " Hacer visible cuando se hace scroll"
81
+
82
+ #: ../mystickymenu.php:356
83
+ #, fuzzy
84
+ msgid "CSS style"
85
+ msgstr "Disable CSS style"
86
+
87
+ #: ../mystickymenu.php:363
88
+ msgid "Disable CSS style"
89
+ msgstr "Disable CSS style"
90
+
91
+ #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
+ #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
+ #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
+ #, fuzzy
95
+ msgid "Disable at"
96
+ msgstr "Disable CSS style"
97
+
98
+ #: ../mystickymenu.php:570
99
+ #, fuzzy
100
+ msgid "menu or header element class or id."
101
+ msgstr "clase o id del div del menú o encabezado."
102
+
103
+ #: ../mystickymenu.php:596
104
+ msgid "numbers 1-100."
105
+ msgstr " números 1-100."
106
+
107
+ #: ../mystickymenu.php:606
108
+ msgid "in seconds."
109
+ msgstr "en cuestión de segundos."
110
+
111
+ #: ../mystickymenu.php:615
112
+ msgid "less than"
113
+ msgstr "menos que"
114
+
115
+ #: ../mystickymenu.php:620
116
+ msgid "px width, 0 to disable."
117
+ msgstr "ancho px, 0 para desactivarlo."
118
+
119
+ #: ../mystickymenu.php:629 ../mystickymenu.php:643
120
+ msgid "after"
121
+ msgstr "después"
122
+
123
+ #: ../mystickymenu.php:634
124
+ msgid "px. If set to 0 auto calculate will be used."
125
+ msgstr ""
126
+
127
+ #: ../mystickymenu.php:648
128
+ msgid "px. If set to 0 it will use initial Make visible on Scroll value."
129
+ msgstr ""
130
+
131
+ #: ../mystickymenu.php:659
132
+ msgid "Checked is slide, unchecked is fade."
133
+ msgstr "Checked es deslizar, sin control se desvanecen."
134
+
135
+ #: ../mystickymenu.php:667
136
+ msgid "Disable sticky menu at scroll down"
137
+ msgstr ""
138
+
139
+ #: ../mystickymenu.php:680
140
+ #, fuzzy
141
+ msgid "Add/edit CSS style. Leave it blank for default style."
142
+ msgstr ""
143
+ "Agregar / Editar. Myfixed clase CSS para cambiar el estilo de menú pegajoso. "
144
+ "Déjelo en blanco para el estilo predeterminado."
145
+
146
+ #: ../mystickymenu.php:688
147
+ #, fuzzy
148
+ msgid "If you want to change sticky hover color: "
149
+ msgstr ""
150
+ "Si desea cambiar el color libración pegajosa primero añadir estilo por "
151
+ "defecto y que:"
152
+
153
+ #: ../mystickymenu.php:690
154
+ msgid ""
155
+ "More examples <a href='http://wordpress.transformnews.com/tutorials/"
156
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
157
+ "class-403'>here</a>."
158
+ msgstr ""
159
+ "Más ejemplos <unas href='http://wordpress.transformnews.com/tutorials/"
160
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
161
+ "class-403'>here</a>."
162
+
163
+ #: ../mystickymenu.php:701
164
+ msgid "Use this option if you plan to include CSS Style manually"
165
+ msgstr "Use this option if you plan to include CSS Style manually"
166
+
167
+ #: ../mystickymenu.php:720
168
+ msgid "<span>front page </span>"
169
+ msgstr ""
170
+
171
+ #: ../mystickymenu.php:726
172
+ msgid "<span>blog page </span>"
173
+ msgstr ""
174
+
175
+ #: ../mystickymenu.php:732
176
+ msgid "<span>pages </span>"
177
+ msgstr ""
178
+
179
+ #: ../mystickymenu.php:738
180
+ msgid "<span>tags </span>"
181
+ msgstr ""
182
+
183
+ #: ../mystickymenu.php:744
184
+ msgid "<span>categories </span>"
185
+ msgstr ""
186
+
187
+ #: ../mystickymenu.php:750
188
+ msgid "<span>posts </span>"
189
+ msgstr ""
190
+
191
+ #: ../mystickymenu.php:756
192
+ msgid "<span>archives </span>"
193
+ msgstr ""
194
+
195
+ #: ../mystickymenu.php:763
196
+ msgid "<span>search </span>"
197
+ msgstr ""
198
+
199
+ #: ../mystickymenu.php:773
200
+ msgid "<span class=\"\">Except for this pages: </span>"
201
+ msgstr ""
202
+
203
+ #: ../mystickymenu.php:780
204
+ msgid ""
205
+ "<span class=\"description\">Comma separated list of pages to enable. It "
206
+ "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
207
+ "blank if you realy want to disable sticky sidebar for all pages.</span>"
208
+ msgstr ""
209
+
210
+ #: ../mystickymenu.php:787
211
+ msgid "<span class=\"\">Except for this posts: </span>"
212
+ msgstr ""
213
+
214
+ #: ../mystickymenu.php:794
215
+ msgid ""
216
+ "<span class=\"description\">Comma separated list of posts to enable. It "
217
+ "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
218
+ "blank if you realy want to disable sticky sidebar for all posts.</span>"
219
+ msgstr ""
220
+
221
+ #~ msgid "myStickymenu Settings"
222
+ #~ msgstr " Configuraciones de myStickymenu "
223
+
224
+ #~ msgid ".myfixed css class"
225
+ #~ msgstr ".myfixed css class"
226
+
227
+ #~ msgid "px."
228
+ #~ msgstr "px."
229
+
230
+ #~ msgid "Default style: "
231
+ #~ msgstr "Estilo por defecto:"
232
+
233
+ #~ msgid "px. (scroll)"
234
+ #~ msgstr "px. (scroll)"
235
+
236
+ #~ msgid "mymessage2"
237
+ #~ msgstr "Bye"
languages/mystickymenu-hr_HR.po CHANGED
@@ -1,241 +1,241 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: myStickymenu\n"
4
- "POT-Creation-Date: 2017-09-15 08:38+0100\n"
5
- "PO-Revision-Date: 2017-09-15 08:38+0100\n"
6
- "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
- "Language-Team: \n"
8
- "Language: Croatian\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: .\n"
19
-
20
- #: ../mystickymenu.php:167
21
- #, fuzzy
22
- msgid "myStickymenu"
23
- msgstr "myStickymenu Opcije"
24
-
25
- #: ../mystickymenu.php:168
26
- #, fuzzy
27
- msgid ""
28
- "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
- "HTML element class desired to be sticky (div id can be used as well)."
30
- msgstr ""
31
- "Dodajte moderan 'sticky' izbornik ili zaglavlje bilo kojem predlošku (temi). "
32
- "Zadane postavke rade na Twenty Thirteen temi. Za ostale teme promijenite "
33
- "'Sticky klasu' u css klasu vašeg izbornika. Takodjer možete koristiti i css "
34
- "ID."
35
-
36
- #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
- #: ../mystickymenu.php:561
38
- msgid " "
39
- msgstr ""
40
-
41
- #: ../mystickymenu.php:283
42
- msgid "Sticky Class"
43
- msgstr "Sticky klasa"
44
-
45
- #: ../mystickymenu.php:291
46
- msgid "Fade or slide effect"
47
- msgstr "Fade ili Slide efekt"
48
-
49
- #: ../mystickymenu.php:298
50
- msgid "Sticky z-index"
51
- msgstr "Sticky z-index"
52
-
53
- #: ../mystickymenu.php:305
54
- msgid "Sticky Background Color"
55
- msgstr "Sticky pozadinska boja"
56
-
57
- #: ../mystickymenu.php:312
58
- msgid "Sticky Opacity"
59
- msgstr "Sticky prozirnost"
60
-
61
- #: ../mystickymenu.php:319
62
- msgid "Sticky Transition Time"
63
- msgstr "Sticky vrijeme tranzicije"
64
-
65
- #: ../mystickymenu.php:326
66
- msgid "Disable at Small Screen Sizes"
67
- msgstr "Onemogući na malim ekranima"
68
-
69
- #: ../mystickymenu.php:333
70
- msgid "Make visible on Scroll"
71
- msgstr "Učini izbornik vidljivim"
72
-
73
- #: ../mystickymenu.php:340
74
- msgid "Make visible on Scroll at homepage"
75
- msgstr "Učini izbornik vidljivim na početnoj stranici"
76
-
77
- #: ../mystickymenu.php:349
78
- #, fuzzy
79
- msgid "Disable on scroll down"
80
- msgstr "Učini izbornik vidljivim"
81
-
82
- #: ../mystickymenu.php:356
83
- #, fuzzy
84
- msgid "CSS style"
85
- msgstr "Onemogući CSS"
86
-
87
- #: ../mystickymenu.php:363
88
- msgid "Disable CSS style"
89
- msgstr "Onemogući CSS"
90
-
91
- #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
- #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
- #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
- #, fuzzy
95
- msgid "Disable at"
96
- msgstr "Onemogući CSS"
97
-
98
- #: ../mystickymenu.php:570
99
- #, fuzzy
100
- msgid "menu or header element class or id."
101
- msgstr "menu ili header css div klasa ili id."
102
-
103
- #: ../mystickymenu.php:596
104
- msgid "numbers 1-100."
105
- msgstr "brojevi 1-100"
106
-
107
- #: ../mystickymenu.php:606
108
- msgid "in seconds."
109
- msgstr "u sekundama"
110
-
111
- #: ../mystickymenu.php:615
112
- msgid "less than"
113
- msgstr "manjim od"
114
-
115
- #: ../mystickymenu.php:620
116
- msgid "px width, 0 to disable."
117
- msgstr "px širine. 0 da biste onemogućili opciju."
118
-
119
- #: ../mystickymenu.php:629 ../mystickymenu.php:643
120
- msgid "after"
121
- msgstr "nakon"
122
-
123
- #: ../mystickymenu.php:634
124
- msgid "px. If set to 0 auto calculate will be used."
125
- msgstr ""
126
-
127
- #: ../mystickymenu.php:648
128
- msgid "px. If set to 0 it will use initial Make visible on Scroll value."
129
- msgstr ""
130
-
131
- #: ../mystickymenu.php:659
132
- msgid "Checked is slide, unchecked is fade."
133
- msgstr "Označeno je slide, neoznačeno je fade"
134
-
135
- #: ../mystickymenu.php:667
136
- msgid "Disable sticky menu at scroll down"
137
- msgstr ""
138
-
139
- #: ../mystickymenu.php:680
140
- #, fuzzy
141
- msgid "Add/edit CSS style. Leave it blank for default style."
142
- msgstr ""
143
- "Dodajte ili izmijenite .myfixed css klasu. Ostavite prazno za zadani stil."
144
-
145
- #: ../mystickymenu.php:688
146
- #, fuzzy
147
- msgid "If you want to change sticky hover color: "
148
- msgstr ""
149
- "npr. ako želite promijeniti sticky hover boju, nakon zadanog stila dodajte: "
150
-
151
- #: ../mystickymenu.php:690
152
- msgid ""
153
- "More examples <a href='http://wordpress.transformnews.com/tutorials/"
154
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
155
- "class-403'>here</a>."
156
- msgstr ""
157
- "Više primjera <a href='http://wordpress.transformnews.com/tutorials/"
158
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
159
- "class-403'>ovdje</a>."
160
-
161
- #: ../mystickymenu.php:701
162
- msgid "Use this option if you plan to include CSS Style manually"
163
- msgstr "Koristiti ukoliko želite dodati CSS ručno"
164
-
165
- #: ../mystickymenu.php:720
166
- msgid "<span>front page </span>"
167
- msgstr ""
168
-
169
- #: ../mystickymenu.php:726
170
- msgid "<span>blog page </span>"
171
- msgstr ""
172
-
173
- #: ../mystickymenu.php:732
174
- msgid "<span>pages </span>"
175
- msgstr ""
176
-
177
- #: ../mystickymenu.php:738
178
- msgid "<span>tags </span>"
179
- msgstr ""
180
-
181
- #: ../mystickymenu.php:744
182
- msgid "<span>categories </span>"
183
- msgstr ""
184
-
185
- #: ../mystickymenu.php:750
186
- msgid "<span>posts </span>"
187
- msgstr ""
188
-
189
- #: ../mystickymenu.php:756
190
- msgid "<span>archives </span>"
191
- msgstr ""
192
-
193
- #: ../mystickymenu.php:763
194
- msgid "<span>search </span>"
195
- msgstr ""
196
-
197
- #: ../mystickymenu.php:773
198
- msgid "<span class=\"\">Except for this pages: </span>"
199
- msgstr ""
200
-
201
- #: ../mystickymenu.php:780
202
- msgid ""
203
- "<span class=\"description\">Comma separated list of pages to enable. It "
204
- "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
205
- "blank if you realy want to disable sticky sidebar for all pages.</span>"
206
- msgstr ""
207
-
208
- #: ../mystickymenu.php:787
209
- msgid "<span class=\"\">Except for this posts: </span>"
210
- msgstr ""
211
-
212
- #: ../mystickymenu.php:794
213
- msgid ""
214
- "<span class=\"description\">Comma separated list of posts to enable. It "
215
- "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
216
- "blank if you realy want to disable sticky sidebar for all posts.</span>"
217
- msgstr ""
218
-
219
- #~ msgid "myStickymenu Settings"
220
- #~ msgstr "myStickymenu Postavke"
221
-
222
- #~ msgid ".myfixed css class"
223
- #~ msgstr ".myfixed css klasa"
224
-
225
- #~ msgid "px."
226
- #~ msgstr "px."
227
-
228
- #~ msgid "Default style: "
229
- #~ msgstr "Zadani stil: "
230
-
231
- #~ msgid "px. (scroll)"
232
- #~ msgstr "px. (scroll)"
233
-
234
- #~ msgid "sticky z-index."
235
- #~ msgstr "sticky z-index."
236
-
237
- #~ msgid "full width background color."
238
- #~ msgstr "pozadinska boja"
239
-
240
- #~ msgid "mymessage2"
241
- #~ msgstr "Bye"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: myStickymenu\n"
4
+ "POT-Creation-Date: 2017-09-15 08:38+0100\n"
5
+ "PO-Revision-Date: 2017-09-15 08:38+0100\n"
6
+ "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
+ "Language-Team: \n"
8
+ "Language: Croatian\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+ "X-Poedit-SearchPath-1: .\n"
19
+
20
+ #: ../mystickymenu.php:167
21
+ #, fuzzy
22
+ msgid "myStickymenu"
23
+ msgstr "myStickymenu Opcije"
24
+
25
+ #: ../mystickymenu.php:168
26
+ #, fuzzy
27
+ msgid ""
28
+ "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
+ "HTML element class desired to be sticky (div id can be used as well)."
30
+ msgstr ""
31
+ "Dodajte moderan 'sticky' izbornik ili zaglavlje bilo kojem predlošku (temi). "
32
+ "Zadane postavke rade na Twenty Thirteen temi. Za ostale teme promijenite "
33
+ "'Sticky klasu' u css klasu vašeg izbornika. Takodjer možete koristiti i css "
34
+ "ID."
35
+
36
+ #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
+ #: ../mystickymenu.php:561
38
+ msgid " "
39
+ msgstr ""
40
+
41
+ #: ../mystickymenu.php:283
42
+ msgid "Sticky Class"
43
+ msgstr "Sticky klasa"
44
+
45
+ #: ../mystickymenu.php:291
46
+ msgid "Fade or slide effect"
47
+ msgstr "Fade ili Slide efekt"
48
+
49
+ #: ../mystickymenu.php:298
50
+ msgid "Sticky z-index"
51
+ msgstr "Sticky z-index"
52
+
53
+ #: ../mystickymenu.php:305
54
+ msgid "Sticky Background Color"
55
+ msgstr "Sticky pozadinska boja"
56
+
57
+ #: ../mystickymenu.php:312
58
+ msgid "Sticky Opacity"
59
+ msgstr "Sticky prozirnost"
60
+
61
+ #: ../mystickymenu.php:319
62
+ msgid "Sticky Transition Time"
63
+ msgstr "Sticky vrijeme tranzicije"
64
+
65
+ #: ../mystickymenu.php:326
66
+ msgid "Disable at Small Screen Sizes"
67
+ msgstr "Onemogući na malim ekranima"
68
+
69
+ #: ../mystickymenu.php:333
70
+ msgid "Make visible on Scroll"
71
+ msgstr "Učini izbornik vidljivim"
72
+
73
+ #: ../mystickymenu.php:340
74
+ msgid "Make visible on Scroll at homepage"
75
+ msgstr "Učini izbornik vidljivim na početnoj stranici"
76
+
77
+ #: ../mystickymenu.php:349
78
+ #, fuzzy
79
+ msgid "Disable on scroll down"
80
+ msgstr "Učini izbornik vidljivim"
81
+
82
+ #: ../mystickymenu.php:356
83
+ #, fuzzy
84
+ msgid "CSS style"
85
+ msgstr "Onemogući CSS"
86
+
87
+ #: ../mystickymenu.php:363
88
+ msgid "Disable CSS style"
89
+ msgstr "Onemogući CSS"
90
+
91
+ #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
+ #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
+ #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
+ #, fuzzy
95
+ msgid "Disable at"
96
+ msgstr "Onemogući CSS"
97
+
98
+ #: ../mystickymenu.php:570
99
+ #, fuzzy
100
+ msgid "menu or header element class or id."
101
+ msgstr "menu ili header css div klasa ili id."
102
+
103
+ #: ../mystickymenu.php:596
104
+ msgid "numbers 1-100."
105
+ msgstr "brojevi 1-100"
106
+
107
+ #: ../mystickymenu.php:606
108
+ msgid "in seconds."
109
+ msgstr "u sekundama"
110
+
111
+ #: ../mystickymenu.php:615
112
+ msgid "less than"
113
+ msgstr "manjim od"
114
+
115
+ #: ../mystickymenu.php:620
116
+ msgid "px width, 0 to disable."
117
+ msgstr "px širine. 0 da biste onemogućili opciju."
118
+
119
+ #: ../mystickymenu.php:629 ../mystickymenu.php:643
120
+ msgid "after"
121
+ msgstr "nakon"
122
+
123
+ #: ../mystickymenu.php:634
124
+ msgid "px. If set to 0 auto calculate will be used."
125
+ msgstr ""
126
+
127
+ #: ../mystickymenu.php:648
128
+ msgid "px. If set to 0 it will use initial Make visible on Scroll value."
129
+ msgstr ""
130
+
131
+ #: ../mystickymenu.php:659
132
+ msgid "Checked is slide, unchecked is fade."
133
+ msgstr "Označeno je slide, neoznačeno je fade"
134
+
135
+ #: ../mystickymenu.php:667
136
+ msgid "Disable sticky menu at scroll down"
137
+ msgstr ""
138
+
139
+ #: ../mystickymenu.php:680
140
+ #, fuzzy
141
+ msgid "Add/edit CSS style. Leave it blank for default style."
142
+ msgstr ""
143
+ "Dodajte ili izmijenite .myfixed css klasu. Ostavite prazno za zadani stil."
144
+
145
+ #: ../mystickymenu.php:688
146
+ #, fuzzy
147
+ msgid "If you want to change sticky hover color: "
148
+ msgstr ""
149
+ "npr. ako želite promijeniti sticky hover boju, nakon zadanog stila dodajte: "
150
+
151
+ #: ../mystickymenu.php:690
152
+ msgid ""
153
+ "More examples <a href='http://wordpress.transformnews.com/tutorials/"
154
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
155
+ "class-403'>here</a>."
156
+ msgstr ""
157
+ "Više primjera <a href='http://wordpress.transformnews.com/tutorials/"
158
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
159
+ "class-403'>ovdje</a>."
160
+
161
+ #: ../mystickymenu.php:701
162
+ msgid "Use this option if you plan to include CSS Style manually"
163
+ msgstr "Koristiti ukoliko želite dodati CSS ručno"
164
+
165
+ #: ../mystickymenu.php:720
166
+ msgid "<span>front page </span>"
167
+ msgstr ""
168
+
169
+ #: ../mystickymenu.php:726
170
+ msgid "<span>blog page </span>"
171
+ msgstr ""
172
+
173
+ #: ../mystickymenu.php:732
174
+ msgid "<span>pages </span>"
175
+ msgstr ""
176
+
177
+ #: ../mystickymenu.php:738
178
+ msgid "<span>tags </span>"
179
+ msgstr ""
180
+
181
+ #: ../mystickymenu.php:744
182
+ msgid "<span>categories </span>"
183
+ msgstr ""
184
+
185
+ #: ../mystickymenu.php:750
186
+ msgid "<span>posts </span>"
187
+ msgstr ""
188
+
189
+ #: ../mystickymenu.php:756
190
+ msgid "<span>archives </span>"
191
+ msgstr ""
192
+
193
+ #: ../mystickymenu.php:763
194
+ msgid "<span>search </span>"
195
+ msgstr ""
196
+
197
+ #: ../mystickymenu.php:773
198
+ msgid "<span class=\"\">Except for this pages: </span>"
199
+ msgstr ""
200
+
201
+ #: ../mystickymenu.php:780
202
+ msgid ""
203
+ "<span class=\"description\">Comma separated list of pages to enable. It "
204
+ "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
205
+ "blank if you realy want to disable sticky sidebar for all pages.</span>"
206
+ msgstr ""
207
+
208
+ #: ../mystickymenu.php:787
209
+ msgid "<span class=\"\">Except for this posts: </span>"
210
+ msgstr ""
211
+
212
+ #: ../mystickymenu.php:794
213
+ msgid ""
214
+ "<span class=\"description\">Comma separated list of posts to enable. It "
215
+ "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
216
+ "blank if you realy want to disable sticky sidebar for all posts.</span>"
217
+ msgstr ""
218
+
219
+ #~ msgid "myStickymenu Settings"
220
+ #~ msgstr "myStickymenu Postavke"
221
+
222
+ #~ msgid ".myfixed css class"
223
+ #~ msgstr ".myfixed css klasa"
224
+
225
+ #~ msgid "px."
226
+ #~ msgstr "px."
227
+
228
+ #~ msgid "Default style: "
229
+ #~ msgstr "Zadani stil: "
230
+
231
+ #~ msgid "px. (scroll)"
232
+ #~ msgstr "px. (scroll)"
233
+
234
+ #~ msgid "sticky z-index."
235
+ #~ msgstr "sticky z-index."
236
+
237
+ #~ msgid "full width background color."
238
+ #~ msgstr "pozadinska boja"
239
+
240
+ #~ msgid "mymessage2"
241
+ #~ msgstr "Bye"
languages/mystickymenu-rs_RS.po CHANGED
@@ -1,237 +1,237 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: myStickymenu\n"
4
- "POT-Creation-Date: 2017-09-15 08:38+0100\n"
5
- "PO-Revision-Date: 2017-09-15 08:38+0100\n"
6
- "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
- "Language-Team: TFN <jahmirda@gmail.com>\n"
8
- "Language: English\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: .\n"
19
-
20
- #: ../mystickymenu.php:167
21
- #, fuzzy
22
- msgid "myStickymenu"
23
- msgstr "myStickymenu Opcije"
24
-
25
- #: ../mystickymenu.php:168
26
- #, fuzzy
27
- msgid ""
28
- "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
- "HTML element class desired to be sticky (div id can be used as well)."
30
- msgstr ""
31
- "Dodajte moderan 'sticky' meni ili zaglavlje bilo kojoj (temi). Zadate "
32
- "postavke rade na Twenty Thirteen temi. Za ostale teme promenite 'Sticky "
33
- "klasu' u div klasu za koju želite da bude sticky. Takođe, možete koristiti i "
34
- "div ID."
35
-
36
- #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
- #: ../mystickymenu.php:561
38
- msgid " "
39
- msgstr ""
40
-
41
- #: ../mystickymenu.php:283
42
- msgid "Sticky Class"
43
- msgstr "Sticky klasa"
44
-
45
- #: ../mystickymenu.php:291
46
- msgid "Fade or slide effect"
47
- msgstr "Fade ili Slide efekt"
48
-
49
- #: ../mystickymenu.php:298
50
- msgid "Sticky z-index"
51
- msgstr "Sticky z-index"
52
-
53
- #: ../mystickymenu.php:305
54
- msgid "Sticky Background Color"
55
- msgstr "Sticky pozadinska boja"
56
-
57
- #: ../mystickymenu.php:312
58
- msgid "Sticky Opacity"
59
- msgstr "Sticky prozirnost"
60
-
61
- #: ../mystickymenu.php:319
62
- msgid "Sticky Transition Time"
63
- msgstr "Sticky vrijeme tranzicije"
64
-
65
- #: ../mystickymenu.php:326
66
- msgid "Disable at Small Screen Sizes"
67
- msgstr "Onemogući na malim ekranima"
68
-
69
- #: ../mystickymenu.php:333
70
- msgid "Make visible on Scroll"
71
- msgstr "Učini vidljivim kad se skroluje"
72
-
73
- #: ../mystickymenu.php:340
74
- msgid "Make visible on Scroll at homepage"
75
- msgstr "Učini vidljivim kad se skroluje na Homepage-u"
76
-
77
- #: ../mystickymenu.php:349
78
- #, fuzzy
79
- msgid "Disable on scroll down"
80
- msgstr "Učini vidljivim kad se skroluje"
81
-
82
- #: ../mystickymenu.php:356
83
- #, fuzzy
84
- msgid "CSS style"
85
- msgstr "Onemogući CSS "
86
-
87
- #: ../mystickymenu.php:363
88
- msgid "Disable CSS style"
89
- msgstr "Onemogući CSS "
90
-
91
- #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
- #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
- #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
- #, fuzzy
95
- msgid "Disable at"
96
- msgstr "Onemogući CSS "
97
-
98
- #: ../mystickymenu.php:570
99
- #, fuzzy
100
- msgid "menu or header element class or id."
101
- msgstr "div klasa menija ili zaglavlja."
102
-
103
- #: ../mystickymenu.php:596
104
- msgid "numbers 1-100."
105
- msgstr "brojevi 1-100."
106
-
107
- #: ../mystickymenu.php:606
108
- msgid "in seconds."
109
- msgstr "u sekundama."
110
-
111
- #: ../mystickymenu.php:615
112
- msgid "less than"
113
- msgstr "manje od"
114
-
115
- #: ../mystickymenu.php:620
116
- msgid "px width, 0 to disable."
117
- msgstr "px širine. 0 da biste onemogućili opciju."
118
-
119
- #: ../mystickymenu.php:629 ../mystickymenu.php:643
120
- msgid "after"
121
- msgstr "nakon"
122
-
123
- #: ../mystickymenu.php:634
124
- msgid "px. If set to 0 auto calculate will be used."
125
- msgstr ""
126
-
127
- #: ../mystickymenu.php:648
128
- msgid "px. If set to 0 it will use initial Make visible on Scroll value."
129
- msgstr ""
130
-
131
- #: ../mystickymenu.php:659
132
- msgid "Checked is slide, unchecked is fade."
133
- msgstr "Označeno je slide, neoznačeno je fade."
134
-
135
- #: ../mystickymenu.php:667
136
- msgid "Disable sticky menu at scroll down"
137
- msgstr ""
138
-
139
- #: ../mystickymenu.php:680
140
- #, fuzzy
141
- msgid "Add/edit CSS style. Leave it blank for default style."
142
- msgstr ""
143
- "Dodajte/Uredite .myfixed css klasu da biste promenili izgled sticky menija. "
144
- "Za podrazumevani izgled, ostavite nepopunjeno. "
145
-
146
- #: ../mystickymenu.php:688
147
- #, fuzzy
148
- msgid "If you want to change sticky hover color: "
149
- msgstr ""
150
- "Ako želite da promenite sticky hover boju, prvo dodajte podrazumevani stil i "
151
- "zatim: "
152
-
153
- #: ../mystickymenu.php:690
154
- msgid ""
155
- "More examples <a href='http://wordpress.transformnews.com/tutorials/"
156
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
157
- "class-403'>here</a>."
158
- msgstr ""
159
- "Više primera <a href='http://wordpress.transformnews.com/tutorials/"
160
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
161
- "class-403'>ovde</a>."
162
-
163
- #: ../mystickymenu.php:701
164
- msgid "Use this option if you plan to include CSS Style manually"
165
- msgstr "Koristite ukoliko želite dodati CSS ručno"
166
-
167
- #: ../mystickymenu.php:720
168
- msgid "<span>front page </span>"
169
- msgstr ""
170
-
171
- #: ../mystickymenu.php:726
172
- msgid "<span>blog page </span>"
173
- msgstr ""
174
-
175
- #: ../mystickymenu.php:732
176
- msgid "<span>pages </span>"
177
- msgstr ""
178
-
179
- #: ../mystickymenu.php:738
180
- msgid "<span>tags </span>"
181
- msgstr ""
182
-
183
- #: ../mystickymenu.php:744
184
- msgid "<span>categories </span>"
185
- msgstr ""
186
-
187
- #: ../mystickymenu.php:750
188
- msgid "<span>posts </span>"
189
- msgstr ""
190
-
191
- #: ../mystickymenu.php:756
192
- msgid "<span>archives </span>"
193
- msgstr ""
194
-
195
- #: ../mystickymenu.php:763
196
- msgid "<span>search </span>"
197
- msgstr ""
198
-
199
- #: ../mystickymenu.php:773
200
- msgid "<span class=\"\">Except for this pages: </span>"
201
- msgstr ""
202
-
203
- #: ../mystickymenu.php:780
204
- msgid ""
205
- "<span class=\"description\">Comma separated list of pages to enable. It "
206
- "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
207
- "blank if you realy want to disable sticky sidebar for all pages.</span>"
208
- msgstr ""
209
-
210
- #: ../mystickymenu.php:787
211
- msgid "<span class=\"\">Except for this posts: </span>"
212
- msgstr ""
213
-
214
- #: ../mystickymenu.php:794
215
- msgid ""
216
- "<span class=\"description\">Comma separated list of posts to enable. It "
217
- "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
218
- "blank if you realy want to disable sticky sidebar for all posts.</span>"
219
- msgstr ""
220
-
221
- #~ msgid "myStickymenu Settings"
222
- #~ msgstr "myStickymenu Postavke"
223
-
224
- #~ msgid ".myfixed css class"
225
- #~ msgstr ".myfixed css klasa"
226
-
227
- #~ msgid "px."
228
- #~ msgstr "px."
229
-
230
- #~ msgid "Default style: "
231
- #~ msgstr "Podrazumevani izgled: "
232
-
233
- #~ msgid "px. (scroll)"
234
- #~ msgstr "px. (scroll)"
235
-
236
- #~ msgid "mymessage2"
237
- #~ msgstr "Bye"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: myStickymenu\n"
4
+ "POT-Creation-Date: 2017-09-15 08:38+0100\n"
5
+ "PO-Revision-Date: 2017-09-15 08:38+0100\n"
6
+ "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
+ "Language-Team: TFN <jahmirda@gmail.com>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+ "X-Poedit-SearchPath-1: .\n"
19
+
20
+ #: ../mystickymenu.php:167
21
+ #, fuzzy
22
+ msgid "myStickymenu"
23
+ msgstr "myStickymenu Opcije"
24
+
25
+ #: ../mystickymenu.php:168
26
+ #, fuzzy
27
+ msgid ""
28
+ "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
29
+ "HTML element class desired to be sticky (div id can be used as well)."
30
+ msgstr ""
31
+ "Dodajte moderan 'sticky' meni ili zaglavlje bilo kojoj (temi). Zadate "
32
+ "postavke rade na Twenty Thirteen temi. Za ostale teme promenite 'Sticky "
33
+ "klasu' u div klasu za koju želite da bude sticky. Takođe, možete koristiti i "
34
+ "div ID."
35
+
36
+ #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
37
+ #: ../mystickymenu.php:561
38
+ msgid " "
39
+ msgstr ""
40
+
41
+ #: ../mystickymenu.php:283
42
+ msgid "Sticky Class"
43
+ msgstr "Sticky klasa"
44
+
45
+ #: ../mystickymenu.php:291
46
+ msgid "Fade or slide effect"
47
+ msgstr "Fade ili Slide efekt"
48
+
49
+ #: ../mystickymenu.php:298
50
+ msgid "Sticky z-index"
51
+ msgstr "Sticky z-index"
52
+
53
+ #: ../mystickymenu.php:305
54
+ msgid "Sticky Background Color"
55
+ msgstr "Sticky pozadinska boja"
56
+
57
+ #: ../mystickymenu.php:312
58
+ msgid "Sticky Opacity"
59
+ msgstr "Sticky prozirnost"
60
+
61
+ #: ../mystickymenu.php:319
62
+ msgid "Sticky Transition Time"
63
+ msgstr "Sticky vrijeme tranzicije"
64
+
65
+ #: ../mystickymenu.php:326
66
+ msgid "Disable at Small Screen Sizes"
67
+ msgstr "Onemogući na malim ekranima"
68
+
69
+ #: ../mystickymenu.php:333
70
+ msgid "Make visible on Scroll"
71
+ msgstr "Učini vidljivim kad se skroluje"
72
+
73
+ #: ../mystickymenu.php:340
74
+ msgid "Make visible on Scroll at homepage"
75
+ msgstr "Učini vidljivim kad se skroluje na Homepage-u"
76
+
77
+ #: ../mystickymenu.php:349
78
+ #, fuzzy
79
+ msgid "Disable on scroll down"
80
+ msgstr "Učini vidljivim kad se skroluje"
81
+
82
+ #: ../mystickymenu.php:356
83
+ #, fuzzy
84
+ msgid "CSS style"
85
+ msgstr "Onemogući CSS "
86
+
87
+ #: ../mystickymenu.php:363
88
+ msgid "Disable CSS style"
89
+ msgstr "Onemogući CSS "
90
+
91
+ #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
92
+ #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
93
+ #: ../mystickymenu.php:410 ../mystickymenu.php:428
94
+ #, fuzzy
95
+ msgid "Disable at"
96
+ msgstr "Onemogući CSS "
97
+
98
+ #: ../mystickymenu.php:570
99
+ #, fuzzy
100
+ msgid "menu or header element class or id."
101
+ msgstr "div klasa menija ili zaglavlja."
102
+
103
+ #: ../mystickymenu.php:596
104
+ msgid "numbers 1-100."
105
+ msgstr "brojevi 1-100."
106
+
107
+ #: ../mystickymenu.php:606
108
+ msgid "in seconds."
109
+ msgstr "u sekundama."
110
+
111
+ #: ../mystickymenu.php:615
112
+ msgid "less than"
113
+ msgstr "manje od"
114
+
115
+ #: ../mystickymenu.php:620
116
+ msgid "px width, 0 to disable."
117
+ msgstr "px širine. 0 da biste onemogućili opciju."
118
+
119
+ #: ../mystickymenu.php:629 ../mystickymenu.php:643
120
+ msgid "after"
121
+ msgstr "nakon"
122
+
123
+ #: ../mystickymenu.php:634
124
+ msgid "px. If set to 0 auto calculate will be used."
125
+ msgstr ""
126
+
127
+ #: ../mystickymenu.php:648
128
+ msgid "px. If set to 0 it will use initial Make visible on Scroll value."
129
+ msgstr ""
130
+
131
+ #: ../mystickymenu.php:659
132
+ msgid "Checked is slide, unchecked is fade."
133
+ msgstr "Označeno je slide, neoznačeno je fade."
134
+
135
+ #: ../mystickymenu.php:667
136
+ msgid "Disable sticky menu at scroll down"
137
+ msgstr ""
138
+
139
+ #: ../mystickymenu.php:680
140
+ #, fuzzy
141
+ msgid "Add/edit CSS style. Leave it blank for default style."
142
+ msgstr ""
143
+ "Dodajte/Uredite .myfixed css klasu da biste promenili izgled sticky menija. "
144
+ "Za podrazumevani izgled, ostavite nepopunjeno. "
145
+
146
+ #: ../mystickymenu.php:688
147
+ #, fuzzy
148
+ msgid "If you want to change sticky hover color: "
149
+ msgstr ""
150
+ "Ako želite da promenite sticky hover boju, prvo dodajte podrazumevani stil i "
151
+ "zatim: "
152
+
153
+ #: ../mystickymenu.php:690
154
+ msgid ""
155
+ "More examples <a href='http://wordpress.transformnews.com/tutorials/"
156
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
157
+ "class-403'>here</a>."
158
+ msgstr ""
159
+ "Više primera <a href='http://wordpress.transformnews.com/tutorials/"
160
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
161
+ "class-403'>ovde</a>."
162
+
163
+ #: ../mystickymenu.php:701
164
+ msgid "Use this option if you plan to include CSS Style manually"
165
+ msgstr "Koristite ukoliko želite dodati CSS ručno"
166
+
167
+ #: ../mystickymenu.php:720
168
+ msgid "<span>front page </span>"
169
+ msgstr ""
170
+
171
+ #: ../mystickymenu.php:726
172
+ msgid "<span>blog page </span>"
173
+ msgstr ""
174
+
175
+ #: ../mystickymenu.php:732
176
+ msgid "<span>pages </span>"
177
+ msgstr ""
178
+
179
+ #: ../mystickymenu.php:738
180
+ msgid "<span>tags </span>"
181
+ msgstr ""
182
+
183
+ #: ../mystickymenu.php:744
184
+ msgid "<span>categories </span>"
185
+ msgstr ""
186
+
187
+ #: ../mystickymenu.php:750
188
+ msgid "<span>posts </span>"
189
+ msgstr ""
190
+
191
+ #: ../mystickymenu.php:756
192
+ msgid "<span>archives </span>"
193
+ msgstr ""
194
+
195
+ #: ../mystickymenu.php:763
196
+ msgid "<span>search </span>"
197
+ msgstr ""
198
+
199
+ #: ../mystickymenu.php:773
200
+ msgid "<span class=\"\">Except for this pages: </span>"
201
+ msgstr ""
202
+
203
+ #: ../mystickymenu.php:780
204
+ msgid ""
205
+ "<span class=\"description\">Comma separated list of pages to enable. It "
206
+ "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
207
+ "blank if you realy want to disable sticky sidebar for all pages.</span>"
208
+ msgstr ""
209
+
210
+ #: ../mystickymenu.php:787
211
+ msgid "<span class=\"\">Except for this posts: </span>"
212
+ msgstr ""
213
+
214
+ #: ../mystickymenu.php:794
215
+ msgid ""
216
+ "<span class=\"description\">Comma separated list of posts to enable. It "
217
+ "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
218
+ "blank if you realy want to disable sticky sidebar for all posts.</span>"
219
+ msgstr ""
220
+
221
+ #~ msgid "myStickymenu Settings"
222
+ #~ msgstr "myStickymenu Postavke"
223
+
224
+ #~ msgid ".myfixed css class"
225
+ #~ msgstr ".myfixed css klasa"
226
+
227
+ #~ msgid "px."
228
+ #~ msgstr "px."
229
+
230
+ #~ msgid "Default style: "
231
+ #~ msgstr "Podrazumevani izgled: "
232
+
233
+ #~ msgid "px. (scroll)"
234
+ #~ msgstr "px. (scroll)"
235
+
236
+ #~ msgid "mymessage2"
237
+ #~ msgstr "Bye"
languages/mystickymenu.po CHANGED
@@ -1,203 +1,203 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: myStickymenu\n"
4
- "POT-Creation-Date: 2017-09-15 08:37+0100\n"
5
- "PO-Revision-Date: 2017-09-15 08:38+0100\n"
6
- "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
- "Language-Team: TFN <jahmirda@gmail.com>\n"
8
- "Language: English\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
- "X-Poedit-SearchPath-1: .\n"
19
-
20
- #: ../mystickymenu.php:167
21
- msgid "myStickymenu"
22
- msgstr ""
23
-
24
- #: ../mystickymenu.php:168
25
- msgid ""
26
- "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
27
- "HTML element class desired to be sticky (div id can be used as well)."
28
- msgstr ""
29
-
30
- #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
31
- #: ../mystickymenu.php:561
32
- msgid " "
33
- msgstr ""
34
-
35
- #: ../mystickymenu.php:283
36
- msgid "Sticky Class"
37
- msgstr ""
38
-
39
- #: ../mystickymenu.php:291
40
- msgid "Fade or slide effect"
41
- msgstr ""
42
-
43
- #: ../mystickymenu.php:298
44
- msgid "Sticky z-index"
45
- msgstr ""
46
-
47
- #: ../mystickymenu.php:305
48
- msgid "Sticky Background Color"
49
- msgstr ""
50
-
51
- #: ../mystickymenu.php:312
52
- msgid "Sticky Opacity"
53
- msgstr ""
54
-
55
- #: ../mystickymenu.php:319
56
- msgid "Sticky Transition Time"
57
- msgstr ""
58
-
59
- #: ../mystickymenu.php:326
60
- msgid "Disable at Small Screen Sizes"
61
- msgstr ""
62
-
63
- #: ../mystickymenu.php:333
64
- msgid "Make visible on Scroll"
65
- msgstr ""
66
-
67
- #: ../mystickymenu.php:340
68
- msgid "Make visible on Scroll at homepage"
69
- msgstr ""
70
-
71
- #: ../mystickymenu.php:349
72
- msgid "Disable on scroll down"
73
- msgstr ""
74
-
75
- #: ../mystickymenu.php:356
76
- msgid "CSS style"
77
- msgstr ""
78
-
79
- #: ../mystickymenu.php:363
80
- msgid "Disable CSS style"
81
- msgstr ""
82
-
83
- #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
84
- #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
85
- #: ../mystickymenu.php:410 ../mystickymenu.php:428
86
- msgid "Disable at"
87
- msgstr ""
88
-
89
- #: ../mystickymenu.php:570
90
- msgid "menu or header element class or id."
91
- msgstr ""
92
-
93
- #: ../mystickymenu.php:596
94
- msgid "numbers 1-100."
95
- msgstr ""
96
-
97
- #: ../mystickymenu.php:606
98
- msgid "in seconds."
99
- msgstr ""
100
-
101
- #: ../mystickymenu.php:615
102
- msgid "less than"
103
- msgstr ""
104
-
105
- #: ../mystickymenu.php:620
106
- msgid "px width, 0 to disable."
107
- msgstr ""
108
-
109
- #: ../mystickymenu.php:629 ../mystickymenu.php:643
110
- msgid "after"
111
- msgstr ""
112
-
113
- #: ../mystickymenu.php:634
114
- msgid "px. If set to 0 auto calculate will be used."
115
- msgstr ""
116
-
117
- #: ../mystickymenu.php:648
118
- msgid "px. If set to 0 it will use initial Make visible on Scroll value."
119
- msgstr ""
120
-
121
- #: ../mystickymenu.php:659
122
- msgid "Checked is slide, unchecked is fade."
123
- msgstr ""
124
-
125
- #: ../mystickymenu.php:667
126
- msgid "Disable sticky menu at scroll down"
127
- msgstr ""
128
-
129
- #: ../mystickymenu.php:680
130
- msgid "Add/edit CSS style. Leave it blank for default style."
131
- msgstr ""
132
-
133
- #: ../mystickymenu.php:688
134
- msgid "If you want to change sticky hover color: "
135
- msgstr ""
136
-
137
- #: ../mystickymenu.php:690
138
- msgid ""
139
- "More examples <a href='http://wordpress.transformnews.com/tutorials/"
140
- "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
141
- "class-403'>here</a>."
142
- msgstr ""
143
-
144
- #: ../mystickymenu.php:701
145
- msgid "Use this option if you plan to include CSS Style manually"
146
- msgstr ""
147
-
148
- #: ../mystickymenu.php:720
149
- msgid "<span>front page </span>"
150
- msgstr ""
151
-
152
- #: ../mystickymenu.php:726
153
- msgid "<span>blog page </span>"
154
- msgstr ""
155
-
156
- #: ../mystickymenu.php:732
157
- msgid "<span>pages </span>"
158
- msgstr ""
159
-
160
- #: ../mystickymenu.php:738
161
- msgid "<span>tags </span>"
162
- msgstr ""
163
-
164
- #: ../mystickymenu.php:744
165
- msgid "<span>categories </span>"
166
- msgstr ""
167
-
168
- #: ../mystickymenu.php:750
169
- msgid "<span>posts </span>"
170
- msgstr ""
171
-
172
- #: ../mystickymenu.php:756
173
- msgid "<span>archives </span>"
174
- msgstr ""
175
-
176
- #: ../mystickymenu.php:763
177
- msgid "<span>search </span>"
178
- msgstr ""
179
-
180
- #: ../mystickymenu.php:773
181
- msgid "<span class=\"\">Except for this pages: </span>"
182
- msgstr ""
183
-
184
- #: ../mystickymenu.php:780
185
- msgid ""
186
- "<span class=\"description\">Comma separated list of pages to enable. It "
187
- "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
188
- "blank if you realy want to disable sticky sidebar for all pages.</span>"
189
- msgstr ""
190
-
191
- #: ../mystickymenu.php:787
192
- msgid "<span class=\"\">Except for this posts: </span>"
193
- msgstr ""
194
-
195
- #: ../mystickymenu.php:794
196
- msgid ""
197
- "<span class=\"description\">Comma separated list of posts to enable. It "
198
- "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
199
- "blank if you realy want to disable sticky sidebar for all posts.</span>"
200
- msgstr ""
201
-
202
- #~ msgid "mymessage2"
203
- #~ msgstr "Bye"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: myStickymenu\n"
4
+ "POT-Creation-Date: 2017-09-15 08:37+0100\n"
5
+ "PO-Revision-Date: 2017-09-15 08:38+0100\n"
6
+ "Last-Translator: mrda <jahmirda@gmail.com>\n"
7
+ "Language-Team: TFN <jahmirda@gmail.com>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+ "X-Poedit-SearchPath-1: .\n"
19
+
20
+ #: ../mystickymenu.php:167
21
+ msgid "myStickymenu"
22
+ msgstr ""
23
+
24
+ #: ../mystickymenu.php:168
25
+ msgid ""
26
+ "Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
27
+ "HTML element class desired to be sticky (div id can be used as well)."
28
+ msgstr ""
29
+
30
+ #: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
31
+ #: ../mystickymenu.php:561
32
+ msgid " "
33
+ msgstr ""
34
+
35
+ #: ../mystickymenu.php:283
36
+ msgid "Sticky Class"
37
+ msgstr ""
38
+
39
+ #: ../mystickymenu.php:291
40
+ msgid "Fade or slide effect"
41
+ msgstr ""
42
+
43
+ #: ../mystickymenu.php:298
44
+ msgid "Sticky z-index"
45
+ msgstr ""
46
+
47
+ #: ../mystickymenu.php:305
48
+ msgid "Sticky Background Color"
49
+ msgstr ""
50
+
51
+ #: ../mystickymenu.php:312
52
+ msgid "Sticky Opacity"
53
+ msgstr ""
54
+
55
+ #: ../mystickymenu.php:319
56
+ msgid "Sticky Transition Time"
57
+ msgstr ""
58
+
59
+ #: ../mystickymenu.php:326
60
+ msgid "Disable at Small Screen Sizes"
61
+ msgstr ""
62
+
63
+ #: ../mystickymenu.php:333
64
+ msgid "Make visible on Scroll"
65
+ msgstr ""
66
+
67
+ #: ../mystickymenu.php:340
68
+ msgid "Make visible on Scroll at homepage"
69
+ msgstr ""
70
+
71
+ #: ../mystickymenu.php:349
72
+ msgid "Disable on scroll down"
73
+ msgstr ""
74
+
75
+ #: ../mystickymenu.php:356
76
+ msgid "CSS style"
77
+ msgstr ""
78
+
79
+ #: ../mystickymenu.php:363
80
+ msgid "Disable CSS style"
81
+ msgstr ""
82
+
83
+ #: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
84
+ #: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
85
+ #: ../mystickymenu.php:410 ../mystickymenu.php:428
86
+ msgid "Disable at"
87
+ msgstr ""
88
+
89
+ #: ../mystickymenu.php:570
90
+ msgid "menu or header element class or id."
91
+ msgstr ""
92
+
93
+ #: ../mystickymenu.php:596
94
+ msgid "numbers 1-100."
95
+ msgstr ""
96
+
97
+ #: ../mystickymenu.php:606
98
+ msgid "in seconds."
99
+ msgstr ""
100
+
101
+ #: ../mystickymenu.php:615
102
+ msgid "less than"
103
+ msgstr ""
104
+
105
+ #: ../mystickymenu.php:620
106
+ msgid "px width, 0 to disable."
107
+ msgstr ""
108
+
109
+ #: ../mystickymenu.php:629 ../mystickymenu.php:643
110
+ msgid "after"
111
+ msgstr ""
112
+
113
+ #: ../mystickymenu.php:634
114
+ msgid "px. If set to 0 auto calculate will be used."
115
+ msgstr ""
116
+
117
+ #: ../mystickymenu.php:648
118
+ msgid "px. If set to 0 it will use initial Make visible on Scroll value."
119
+ msgstr ""
120
+
121
+ #: ../mystickymenu.php:659
122
+ msgid "Checked is slide, unchecked is fade."
123
+ msgstr ""
124
+
125
+ #: ../mystickymenu.php:667
126
+ msgid "Disable sticky menu at scroll down"
127
+ msgstr ""
128
+
129
+ #: ../mystickymenu.php:680
130
+ msgid "Add/edit CSS style. Leave it blank for default style."
131
+ msgstr ""
132
+
133
+ #: ../mystickymenu.php:688
134
+ msgid "If you want to change sticky hover color: "
135
+ msgstr ""
136
+
137
+ #: ../mystickymenu.php:690
138
+ msgid ""
139
+ "More examples <a href='http://wordpress.transformnews.com/tutorials/"
140
+ "mystickymenu-extended-style-functionality-using-myfixed-sticky-"
141
+ "class-403'>here</a>."
142
+ msgstr ""
143
+
144
+ #: ../mystickymenu.php:701
145
+ msgid "Use this option if you plan to include CSS Style manually"
146
+ msgstr ""
147
+
148
+ #: ../mystickymenu.php:720
149
+ msgid "<span>front page </span>"
150
+ msgstr ""
151
+
152
+ #: ../mystickymenu.php:726
153
+ msgid "<span>blog page </span>"
154
+ msgstr ""
155
+
156
+ #: ../mystickymenu.php:732
157
+ msgid "<span>pages </span>"
158
+ msgstr ""
159
+
160
+ #: ../mystickymenu.php:738
161
+ msgid "<span>tags </span>"
162
+ msgstr ""
163
+
164
+ #: ../mystickymenu.php:744
165
+ msgid "<span>categories </span>"
166
+ msgstr ""
167
+
168
+ #: ../mystickymenu.php:750
169
+ msgid "<span>posts </span>"
170
+ msgstr ""
171
+
172
+ #: ../mystickymenu.php:756
173
+ msgid "<span>archives </span>"
174
+ msgstr ""
175
+
176
+ #: ../mystickymenu.php:763
177
+ msgid "<span>search </span>"
178
+ msgstr ""
179
+
180
+ #: ../mystickymenu.php:773
181
+ msgid "<span class=\"\">Except for this pages: </span>"
182
+ msgstr ""
183
+
184
+ #: ../mystickymenu.php:780
185
+ msgid ""
186
+ "<span class=\"description\">Comma separated list of pages to enable. It "
187
+ "should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
188
+ "blank if you realy want to disable sticky sidebar for all pages.</span>"
189
+ msgstr ""
190
+
191
+ #: ../mystickymenu.php:787
192
+ msgid "<span class=\"\">Except for this posts: </span>"
193
+ msgstr ""
194
+
195
+ #: ../mystickymenu.php:794
196
+ msgid ""
197
+ "<span class=\"description\">Comma separated list of posts to enable. It "
198
+ "should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
199
+ "blank if you realy want to disable sticky sidebar for all posts.</span>"
200
+ msgstr ""
201
+
202
+ #~ msgid "mymessage2"
203
+ #~ msgstr "Bye"
mystickymenu-affiliate.php CHANGED
@@ -1,170 +1,170 @@
1
- <?php
2
- class MyStickyMenu_affiliate_program {
3
-
4
- public $plugin = "mystickymenu";
5
-
6
- public function __construct() {
7
- add_action("wp_ajax_".$this->plugin."_affiliate_program", array($this, "mystickymenu_affiliate_program"));
8
-
9
- add_action('admin_notices', array($this, 'mystickymenu_admin_notices'));
10
- }
11
-
12
- public function mystickymenu_affiliate_program() {
13
- $nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
14
- $days = filter_input(INPUT_POST, 'days', FILTER_SANITIZE_STRING);
15
- if(!empty($nonce) && wp_verify_nonce($nonce, $this->plugin."_affiliate_program")) {
16
- if($days == -1) {
17
- add_option($this->plugin."_hide_affiliate_box", "1");
18
- } else {
19
- $date = date("Y-m-d", strtotime("+".$days." days"));
20
- update_option($this->plugin."_show_affiliate_box_after", $date);
21
- }
22
- }
23
- die;
24
- }
25
-
26
- public function mystickymenu_admin_notices() {
27
- $is_hidden = get_option($this->plugin."_hide_affiliate_box");
28
- if($is_hidden !== false) {
29
- return;
30
- }
31
-
32
- $date_to_show = get_option($this->plugin."_show_affiliate_box_after");
33
- if($date_to_show === false || empty($date_to_show)) {
34
- $date = date("Y-m-d", strtotime("+5 days"));
35
- update_option($this->plugin."_show_affiliate_box_after", $date);
36
- return;
37
- }
38
- $current_date = date("Y-m-d");
39
- if( $date_to_show != '' && $current_date < $date_to_show) {
40
- return;
41
- }
42
- ?>
43
- <style>
44
- .premio-affiliate p a {
45
- display: inline-block;
46
- float: right;
47
- text-decoration: none;
48
- color: #999999;
49
- position: absolute;
50
- right: 12px;
51
- top: 12px;
52
- }
53
- .premio-affiliate p a:hover, .premio-affiliate p a:focus {
54
- color: #333333;
55
- }
56
- .premio-affiliate .button span {
57
- display: inline-block;
58
- line-height: 27px;
59
- font-size: 16px;
60
- }
61
- .premio-affiliate {
62
- padding: 1px 100px 12px 12px;
63
- margin: 15px 15px 2px;
64
- position: relative;
65
- }
66
- .affiliate-popup {
67
- position: fixed;
68
- width: 100%;
69
- height: 100%;
70
- z-index: 10001;
71
- background: rgba(0,0,0,0.65);
72
- top: 0;
73
- left: 0;
74
- display: none;
75
- }
76
- .affiliate-popup-content {
77
- background: #ffffff;
78
- padding: 20px;
79
- position: absolute;
80
- max-width: 450px;
81
- width: 100%;
82
- margin: 0 auto;
83
- top: 45%;
84
- left: 0;
85
- right: 0;
86
- -webkit-border-radius: 5px;
87
- -moz-border-radius: 5px;
88
- border-radius: 5px;: ;
89
- }
90
- .affiliate-title {
91
- padding: 0 0 10px 0;
92
- font-weight: bold;
93
- }
94
- .affiliate-options a {
95
- display: block;
96
- margin: 5px 0 5px 0;
97
- color: #333;
98
- text-decoration: none;
99
- }
100
- .affiliate-options a.dismiss {
101
- color: #999;
102
- }
103
- .affiliate-options a:hover, .affiliate-options a:focus {
104
- color: #0073aa;
105
- }
106
- button.close-affiliate-popup {
107
- position: absolute;
108
- top: 5px;
109
- right: 0;
110
- border: none;
111
- background: transparent;
112
- cursor: pointer;
113
- }
114
- a.button.button-primary.affiliate-btn {
115
- font-size: 14px;
116
- background: #F51366;
117
- color: #fff;
118
- border: solid 1px #F51366;
119
- border-radius: 3px;
120
- line-height: 24px;
121
- -webkit-box-shadow: 0 3px 5px -3px #333333;
122
- -moz-box-shadow: 0 3px 5px -3px #333333;
123
- box-shadow: 0 3px 5px -3px #333333;
124
- text-shadow: none;
125
- }
126
- </style>
127
- <div class="notice notice-info premio-affiliate <?php echo esc_attr($this->plugin) ?>-premio-affiliate">
128
- <p>Hi there, you've been using My Sticky Menu for a while now. Do you know that <b>My Sticky Menu</b> has an affiliate program? Join now and get <b>25% lifetime commission</b> <a href="javascript:;" class="dismiss-btn"><span class="dashicons dashicons-no-alt"></span> Dismiss</a></p>
129
- <div class="clear clearfix"></div>
130
- <a class="button button-primary affiliate-btn" target="_blank" href="https://premio.io/affiliates/?utm_source=inapp&plugin=mystickymenu&domain=<?php echo $_SERVER['HTTP_HOST'] ?>">Tell me more <span class="dashicons dashicons-arrow-right-alt"></span></a>
131
- </div>
132
- <div class="affiliate-popup">
133
- <div class="affiliate-popup-content">
134
- <button class="close-affiliate-popup"><span class="dashicons dashicons-no-alt"></span></button>
135
- <div class="affiliate-title">Would you like us to remind you about this later?</div>
136
- <div class="affiliate-options">
137
- <a href="javascript:;" data-days="3">Remind me in 3 days</a>
138
- <a href="javascript:;" data-days="10">Remind me in 10 days</a>
139
- <a href="javascript:;" data-days="-1" class="dismiss">Don't remind me about this</a>
140
- </div>
141
- </div>
142
- </div>
143
- <script>
144
- jQuery(document).ready(function(){
145
- jQuery(document).on("click", ".premio-affiliate p a.dismiss-btn", function(){
146
- jQuery(".affiliate-popup").show();
147
- });
148
- jQuery(document).on("click", ".close-affiliate-popup", function(){
149
- jQuery(".affiliate-popup").hide();
150
- });
151
- jQuery(document).on("click", ".affiliate-options a", function(){
152
- var dataDays = jQuery(this).attr("data-days");
153
- jQuery(".affiliate-popup").hide();
154
- jQuery(".<?php echo esc_attr($this->plugin) ?>-premio-affiliate").hide();
155
- jQuery.ajax({
156
- url: "<?php echo admin_url("admin-ajax.php") ?>",
157
- data: "action=<?php echo esc_attr($this->plugin) ?>_affiliate_program&days="+dataDays+"&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin."_affiliate_program")) ?>",
158
- type: "post",
159
- success: function() {
160
- jQuery(".affiliate-popup").remove();
161
- jQuery(".<?php echo esc_attr($this->plugin) ?>-premio-affiliate").remove();
162
- }
163
- });
164
- });
165
- });
166
- </script>
167
- <?php
168
- }
169
- }
170
  $MyStickyMenu_affiliate_program = new MyStickyMenu_affiliate_program();
1
+ <?php
2
+ class MyStickyMenu_affiliate_program {
3
+
4
+ public $plugin = "mystickymenu";
5
+
6
+ public function __construct() {
7
+ add_action("wp_ajax_".$this->plugin."_affiliate_program", array($this, "mystickymenu_affiliate_program"));
8
+
9
+ add_action('admin_notices', array($this, 'mystickymenu_admin_notices'));
10
+ }
11
+
12
+ public function mystickymenu_affiliate_program() {
13
+ $nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
14
+ $days = filter_input(INPUT_POST, 'days', FILTER_SANITIZE_STRING);
15
+ if(!empty($nonce) && wp_verify_nonce($nonce, $this->plugin."_affiliate_program")) {
16
+ if($days == -1) {
17
+ add_option($this->plugin."_hide_affiliate_box", "1");
18
+ } else {
19
+ $date = date("Y-m-d", strtotime("+".$days." days"));
20
+ update_option($this->plugin."_show_affiliate_box_after", $date);
21
+ }
22
+ }
23
+ die;
24
+ }
25
+
26
+ public function mystickymenu_admin_notices() {
27
+ $is_hidden = get_option($this->plugin."_hide_affiliate_box");
28
+ if($is_hidden !== false) {
29
+ return;
30
+ }
31
+
32
+ $date_to_show = get_option($this->plugin."_show_affiliate_box_after");
33
+ if($date_to_show === false || empty($date_to_show)) {
34
+ $date = date("Y-m-d", strtotime("+5 days"));
35
+ update_option($this->plugin."_show_affiliate_box_after", $date);
36
+ return;
37
+ }
38
+ $current_date = date("Y-m-d");
39
+ if( $date_to_show != '' && $current_date < $date_to_show) {
40
+ return;
41
+ }
42
+ ?>
43
+ <style>
44
+ .premio-affiliate p a {
45
+ display: inline-block;
46
+ float: right;
47
+ text-decoration: none;
48
+ color: #999999;
49
+ position: absolute;
50
+ right: 12px;
51
+ top: 12px;
52
+ }
53
+ .premio-affiliate p a:hover, .premio-affiliate p a:focus {
54
+ color: #333333;
55
+ }
56
+ .premio-affiliate .button span {
57
+ display: inline-block;
58
+ line-height: 27px;
59
+ font-size: 16px;
60
+ }
61
+ .premio-affiliate {
62
+ padding: 1px 100px 12px 12px;
63
+ margin: 15px 15px 2px;
64
+ position: relative;
65
+ }
66
+ .affiliate-popup {
67
+ position: fixed;
68
+ width: 100%;
69
+ height: 100%;
70
+ z-index: 10001;
71
+ background: rgba(0,0,0,0.65);
72
+ top: 0;
73
+ left: 0;
74
+ display: none;
75
+ }
76
+ .affiliate-popup-content {
77
+ background: #ffffff;
78
+ padding: 20px;
79
+ position: absolute;
80
+ max-width: 450px;
81
+ width: 100%;
82
+ margin: 0 auto;
83
+ top: 45%;
84
+ left: 0;
85
+ right: 0;
86
+ -webkit-border-radius: 5px;
87
+ -moz-border-radius: 5px;
88
+ border-radius: 5px;: ;
89
+ }
90
+ .affiliate-title {
91
+ padding: 0 0 10px 0;
92
+ font-weight: bold;
93
+ }
94
+ .affiliate-options a {
95
+ display: block;
96
+ margin: 5px 0 5px 0;
97
+ color: #333;
98
+ text-decoration: none;
99
+ }
100
+ .affiliate-options a.dismiss {
101
+ color: #999;
102
+ }
103
+ .affiliate-options a:hover, .affiliate-options a:focus {
104
+ color: #0073aa;
105
+ }
106
+ button.close-affiliate-popup {
107
+ position: absolute;
108
+ top: 5px;
109
+ right: 0;
110
+ border: none;
111
+ background: transparent;
112
+ cursor: pointer;
113
+ }
114
+ a.button.button-primary.affiliate-btn {
115
+ font-size: 14px;
116
+ background: #F51366;
117
+ color: #fff;
118
+ border: solid 1px #F51366;
119
+ border-radius: 3px;
120
+ line-height: 24px;
121
+ -webkit-box-shadow: 0 3px 5px -3px #333333;
122
+ -moz-box-shadow: 0 3px 5px -3px #333333;
123
+ box-shadow: 0 3px 5px -3px #333333;
124
+ text-shadow: none;
125
+ }
126
+ </style>
127
+ <div class="notice notice-info premio-affiliate <?php echo esc_attr($this->plugin) ?>-premio-affiliate">
128
+ <p>Hi there, you've been using My Sticky Menu for a while now. Do you know that <b>My Sticky Menu</b> has an affiliate program? Join now and get <b>25% lifetime commission</b> <a href="javascript:;" class="dismiss-btn"><span class="dashicons dashicons-no-alt"></span> Dismiss</a></p>
129
+ <div class="clear clearfix"></div>
130
+ <a class="button button-primary affiliate-btn" target="_blank" href="https://premio.io/affiliates/?utm_source=inapp&plugin=mystickymenu&domain=<?php echo $_SERVER['HTTP_HOST'] ?>">Tell me more <span class="dashicons dashicons-arrow-right-alt"></span></a>
131
+ </div>
132
+ <div class="affiliate-popup">
133
+ <div class="affiliate-popup-content">
134
+ <button class="close-affiliate-popup"><span class="dashicons dashicons-no-alt"></span></button>
135
+ <div class="affiliate-title">Would you like us to remind you about this later?</div>
136
+ <div class="affiliate-options">
137
+ <a href="javascript:;" data-days="3">Remind me in 3 days</a>
138
+ <a href="javascript:;" data-days="10">Remind me in 10 days</a>
139
+ <a href="javascript:;" data-days="-1" class="dismiss">Don't remind me about this</a>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ <script>
144
+ jQuery(document).ready(function(){
145
+ jQuery(document).on("click", ".premio-affiliate p a.dismiss-btn", function(){
146
+ jQuery(".affiliate-popup").show();
147
+ });
148
+ jQuery(document).on("click", ".close-affiliate-popup", function(){
149
+ jQuery(".affiliate-popup").hide();
150
+ });
151
+ jQuery(document).on("click", ".affiliate-options a", function(){
152
+ var dataDays = jQuery(this).attr("data-days");
153
+ jQuery(".affiliate-popup").hide();
154
+ jQuery(".<?php echo esc_attr($this->plugin) ?>-premio-affiliate").hide();
155
+ jQuery.ajax({
156
+ url: "<?php echo admin_url("admin-ajax.php") ?>",
157
+ data: "action=<?php echo esc_attr($this->plugin) ?>_affiliate_program&days="+dataDays+"&nonce=<?php echo esc_attr(wp_create_nonce($this->plugin."_affiliate_program")) ?>",
158
+ type: "post",
159
+ success: function() {
160
+ jQuery(".affiliate-popup").remove();
161
+ jQuery(".<?php echo esc_attr($this->plugin) ?>-premio-affiliate").remove();
162
+ }
163
+ });
164
+ });
165
+ });
166
+ </script>
167
+ <?php
168
+ }
169
+ }
170
  $MyStickyMenu_affiliate_program = new MyStickyMenu_affiliate_program();
mystickymenu-deactivate-form.php CHANGED
@@ -1,239 +1,239 @@
1
- <style>
2
- .mystickymenu--hidden {
3
- overflow: hidden;
4
- }
5
-
6
- .mystickymenu--popup-overlay .mystickymenu--internal-message {
7
- margin: 3px 0 3px 22px;
8
- display: none;
9
- }
10
-
11
- .mystickymenu--reason-input {
12
- margin: 3px 0 3px 22px;
13
- display: none;
14
- }
15
-
16
- .mystickymenu--reason-input input[type="text"] {
17
- width: 100%;
18
- display: block;
19
- }
20
-
21
- .mystickymenu--popup-overlay {
22
- background: rgba(0, 0, 0, .8);
23
- position: fixed;
24
- top: 0;
25
- left: 0;
26
- height: 100%;
27
- width: 100%;
28
- z-index: 1000;
29
- overflow: auto;
30
- visibility: hidden;
31
- opacity: 0;
32
- transition: opacity 0.3s ease-in-out :
33
- }
34
-
35
- .mystickymenu--popup-overlay.mystickymenu--active {
36
- opacity: 1;
37
- visibility: visible;
38
- }
39
-
40
- .mystickymenu--serveypanel {
41
- width: 600px;
42
- background: #fff;
43
- margin: 65px auto 0;
44
- }
45
-
46
- .mystickymenu--popup-header {
47
- background: #f1f1f1;
48
- padding: 20px;
49
- border-bottom: 1px solid #ccc;
50
- }
51
-
52
- .mystickymenu--popup-header h2 {
53
- margin: 0;
54
- }
55
-
56
- .mystickymenu--popup-body {
57
- padding: 10px 20px;
58
- }
59
-
60
- .mystickymenu--popup-footer {
61
- background: #f9f3f3;
62
- padding: 10px 20px;
63
- border-top: 1px solid #ccc;
64
- }
65
-
66
- .mystickymenu--popup-footer:after {
67
- content: "";
68
- display: table;
69
- clear: both;
70
- }
71
-
72
- .action-btns {
73
- float: right;
74
- }
75
-
76
- .mystickymenu--anonymous {
77
- display: none;
78
- }
79
-
80
- .attention, .error-message {
81
- color: red;
82
- font-weight: 600;
83
- display: none;
84
- }
85
-
86
- .mystickymenu--spinner {
87
- display: none;
88
- }
89
-
90
- .mystickymenu--spinner img {
91
- margin-top: 3px;
92
- }
93
-
94
- .mystickymenu--hidden-input {
95
- padding: 10px 0 0;
96
- display: none;
97
- }
98
- .mystickymenu--popup-body textarea {
99
- padding: 10px;
100
- width: 100%;
101
- height: 100px;
102
- margin: 0 0 10px 0;
103
- }
104
-
105
- span.mystickymenu--error-message {
106
- color: #dd0000;
107
- font-weight: 600;
108
- }
109
- .mystickymenu--popup-body h3 {
110
- line-height: 24px;
111
- }
112
- .mystickymenu--popup-overlay .form-control input {
113
- width: 100%;
114
- margin: 0 0 15px 0;
115
- }
116
- </style>
117
-
118
- <div class="mystickymenu--popup-overlay">
119
- <div class="mystickymenu--serveypanel">
120
- <form action="#" method="post" id="mystickymenu--deactivate-form">
121
- <div class="mystickymenu--popup-header">
122
- <h2><?php _e('Quick feedback about My Sticky Menu', "mystickymenu"); ?> 🙏</h2>
123
- </div>
124
- <div class="mystickymenu--popup-body">
125
- <h3><?php _e('Your feedback will help us improve the product, please tell us why did you decide to deactivate My Sticky Menu :)', "mystickymenu"); ?></h3>
126
- <div class="form-control">
127
- <input type="email" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="<?php echo _e("Email address", "mystickymenu") ?>" id="mystickymenu-deactivation-email_id">
128
- </div>
129
- <div class="form-control">
130
- <textarea placeholder="<?php echo _e("Your comment", "mystickymenu") ?>" id="mystickymenu-deactivation-comment"></textarea>
131
- </div>
132
- </div>
133
- <div class="mystickymenu--popup-footer">
134
- <label class="mystickymenu--anonymous">
135
- <input type="checkbox"/><?php _e('Anonymous feedback', "mystickymenu"); ?>
136
- </label>
137
- <input type="button" class="button button-secondary button-skip mystickymenu--popup-skip-feedback" value="Skip &amp; Deactivate">
138
- <div class="action-btns">
139
- <span class="mystickymenu--spinner"><img src="<?php echo admin_url('/images/spinner.gif'); ?>" alt=""></span>
140
- <input type="submit" class="button button-secondary button-deactivate mystickymenu--popup-allow-deactivate" value="Submit &amp; Deactivate" disabled="disabled">
141
- <a href="#" class="button button-primary mystickymenu--popup-button-close"><?php _e('Cancel', "mystickymenu"); ?></a>
142
- </div>
143
- </div>
144
- </form>
145
- </div>
146
- </div>
147
-
148
-
149
- <script>
150
- (function ($) {
151
-
152
- $(function () {
153
-
154
- var pluginSlug = 'mystickymenu';
155
- // Code to fire when the DOM is ready.
156
-
157
- $(document).on('click', 'tr[data-slug="' + pluginSlug + '"] .deactivate', function (e) {
158
- e.preventDefault();
159
-
160
- $('.mystickymenu--popup-overlay').addClass('mystickymenu--active');
161
- $('body').addClass('mystickymenu--hidden');
162
- });
163
- $(document).on('click', '.mystickymenu--popup-button-close', function () {
164
- close_popup();
165
- });
166
- $(document).on('click', ".mystickymenu--serveypanel,tr[data-slug='" + pluginSlug + "'] .deactivate", function (e) {
167
- e.stopPropagation();
168
- });
169
-
170
- $(document).click(function () {
171
- close_popup();
172
- });
173
- $('.mystickymenu--reason label').on('click', function () {
174
- $(".mystickymenu--hidden-input").hide();
175
- jQuery(".mystickymenu--error-message").remove();
176
- if ($(this).find('input[type="radio"]').is(':checked')) {
177
- $(this).closest("li").find('.mystickymenu--hidden-input').show();
178
- }
179
- });
180
- $(document).on("keyup", "#mystickymenu-deactivation-comment", function(){
181
- if($.trim($(this).val()) == "") {
182
- $(".mystickymenu--popup-allow-deactivate").attr("disabled", true);
183
- } else {
184
- $(".mystickymenu--popup-allow-deactivate").attr("disabled", false);
185
- }
186
- });
187
- $('input[type="radio"][name="mystickymenu--selected-reason"]').on('click', function (event) {
188
- $(".mystickymenu--popup-allow-deactivate").removeAttr('disabled');
189
- });
190
- $(document).on('submit', '#mystickymenu--deactivate-form', function (event) {
191
- event.preventDefault();
192
- _reason = "";
193
- if(jQuery.trim(jQuery("#mystickymenu-deactivation-comment").val()) == "") {
194
- jQuery("#alt_plugin").after("<span class='mystickymenu--error-message'>Please provide your feedback</span>");
195
- return false;
196
- } else {
197
- _reason = jQuery.trim(jQuery("#mystickymenu-deactivation-comment").val());
198
- }
199
-
200
- jQuery('[name="mystickymenu--selected-reason"]:checked').val();
201
-
202
- var email_id = jQuery.trim(jQuery("#mystickymenu-deactivation-email_id").val());
203
-
204
- $.ajax({
205
- url: ajaxurl,
206
- type: 'POST',
207
- data: {
208
- action: 'mystickymenu_plugin_deactivate',
209
- reason: _reason,
210
- email_id: email_id,
211
- nonce: '<?php echo wp_create_nonce("mystickymenu_deactivate_nonce") ?>'
212
- },
213
- beforeSend: function () {
214
- $(".mystickymenu--spinner").show();
215
- $(".mystickymenu--popup-allow-deactivate").attr("disabled", "disabled");
216
- }
217
- }).done(function (status) {
218
- $(".mystickymenu--spinner").hide();
219
- $(".mystickymenu--popup-allow-deactivate").removeAttr("disabled");
220
- window.location.href = $("tr[data-slug='" + pluginSlug + "'] .deactivate a").attr('href');
221
- });
222
- });
223
-
224
- $('.mystickymenu--popup-skip-feedback').on('click', function (e) {
225
- window.location.href = $("tr[data-slug='" + pluginSlug + "'] .deactivate a").attr('href');
226
- })
227
-
228
- function close_popup() {
229
- $('.mystickymenu--popup-overlay').removeClass('mystickymenu--active');
230
- $('#mystickymenu--deactivate-form').trigger("reset");
231
- $(".mystickymenu--popup-allow-deactivate").attr('disabled', 'disabled');
232
- $(".mystickymenu--reason-input").hide();
233
- $('body').removeClass('mystickymenu--hidden');
234
- $('.message.error-message').hide();
235
- }
236
- });
237
-
238
- })(jQuery); // This invokes the function above and allows us to use '$' in place of 'jQuery' in our code.
239
- </script>
1
+ <style>
2
+ .mystickymenu--hidden {
3
+ overflow: hidden;
4
+ }
5
+
6
+ .mystickymenu--popup-overlay .mystickymenu--internal-message {
7
+ margin: 3px 0 3px 22px;
8
+ display: none;
9
+ }
10
+
11
+ .mystickymenu--reason-input {
12
+ margin: 3px 0 3px 22px;
13
+ display: none;
14
+ }
15
+
16
+ .mystickymenu--reason-input input[type="text"] {
17
+ width: 100%;
18
+ display: block;
19
+ }
20
+
21
+ .mystickymenu--popup-overlay {
22
+ background: rgba(0, 0, 0, .8);
23
+ position: fixed;
24
+ top: 0;
25
+ left: 0;
26
+ height: 100%;
27
+ width: 100%;
28
+ z-index: 1000;
29
+ overflow: auto;
30
+ visibility: hidden;
31
+ opacity: 0;
32
+ transition: opacity 0.3s ease-in-out :
33
+ }
34
+
35
+ .mystickymenu--popup-overlay.mystickymenu--active {
36
+ opacity: 1;
37
+ visibility: visible;
38
+ }
39
+
40
+ .mystickymenu--serveypanel {
41
+ width: 600px;
42
+ background: #fff;
43
+ margin: 65px auto 0;
44
+ }
45
+
46
+ .mystickymenu--popup-header {
47
+ background: #f1f1f1;
48
+ padding: 20px;
49
+ border-bottom: 1px solid #ccc;
50
+ }
51
+
52
+ .mystickymenu--popup-header h2 {
53
+ margin: 0;
54
+ }
55
+
56
+ .mystickymenu--popup-body {
57
+ padding: 10px 20px;
58
+ }
59
+
60
+ .mystickymenu--popup-footer {
61
+ background: #f9f3f3;
62
+ padding: 10px 20px;
63
+ border-top: 1px solid #ccc;
64
+ }
65
+
66
+ .mystickymenu--popup-footer:after {
67
+ content: "";
68
+ display: table;
69
+ clear: both;
70
+ }
71
+
72
+ .action-btns {
73
+ float: right;
74
+ }
75
+
76
+ .mystickymenu--anonymous {
77
+ display: none;
78
+ }
79
+
80
+ .attention, .error-message {
81
+ color: red;
82
+ font-weight: 600;
83
+ display: none;
84
+ }
85
+
86
+ .mystickymenu--spinner {
87
+ display: none;
88
+ }
89
+
90
+ .mystickymenu--spinner img {
91
+ margin-top: 3px;
92
+ }
93
+
94
+ .mystickymenu--hidden-input {
95
+ padding: 10px 0 0;
96
+ display: none;
97
+ }
98
+ .mystickymenu--popup-body textarea {
99
+ padding: 10px;
100
+ width: 100%;
101
+ height: 100px;
102
+ margin: 0 0 10px 0;
103
+ }
104
+
105
+ span.mystickymenu--error-message {
106
+ color: #dd0000;
107
+ font-weight: 600;
108
+ }
109
+ .mystickymenu--popup-body h3 {
110
+ line-height: 24px;
111
+ }
112
+ .mystickymenu--popup-overlay .form-control input {
113
+ width: 100%;
114
+ margin: 0 0 15px 0;
115
+ }
116
+ </style>
117
+
118
+ <div class="mystickymenu--popup-overlay">
119
+ <div class="mystickymenu--serveypanel">
120
+ <form action="#" method="post" id="mystickymenu--deactivate-form">
121
+ <div class="mystickymenu--popup-header">
122
+ <h2><?php _e('Quick feedback about My Sticky Menu', "mystickymenu"); ?> 🙏</h2>
123
+ </div>
124
+ <div class="mystickymenu--popup-body">
125
+ <h3><?php _e('Your feedback will help us improve the product, please tell us why did you decide to deactivate My Sticky Menu :)', "mystickymenu"); ?></h3>
126
+ <div class="form-control">
127
+ <input type="email" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="<?php echo _e("Email address", "mystickymenu") ?>" id="mystickymenu-deactivation-email_id">
128
+ </div>
129
+ <div class="form-control">
130
+ <textarea placeholder="<?php echo _e("Your comment", "mystickymenu") ?>" id="mystickymenu-deactivation-comment"></textarea>
131
+ </div>
132
+ </div>
133
+ <div class="mystickymenu--popup-footer">
134
+ <label class="mystickymenu--anonymous">
135
+ <input type="checkbox"/><?php _e('Anonymous feedback', "mystickymenu"); ?>
136
+ </label>
137
+ <input type="button" class="button button-secondary button-skip mystickymenu--popup-skip-feedback" value="Skip &amp; Deactivate">
138
+ <div class="action-btns">
139
+ <span class="mystickymenu--spinner"><img src="<?php echo admin_url('/images/spinner.gif'); ?>" alt=""></span>
140
+ <input type="submit" class="button button-secondary button-deactivate mystickymenu--popup-allow-deactivate" value="Submit &amp; Deactivate" disabled="disabled">
141
+ <a href="#" class="button button-primary mystickymenu--popup-button-close"><?php _e('Cancel', "mystickymenu"); ?></a>
142
+ </div>
143
+ </div>
144
+ </form>
145
+ </div>
146
+ </div>
147
+
148
+
149
+ <script>
150
+ (function ($) {
151
+
152
+ $(function () {
153
+
154
+ var pluginSlug = 'mystickymenu';
155
+ // Code to fire when the DOM is ready.
156
+
157
+ $(document).on('click', 'tr[data-slug="' + pluginSlug + '"] .deactivate', function (e) {
158
+ e.preventDefault();
159
+
160
+ $('.mystickymenu--popup-overlay').addClass('mystickymenu--active');
161
+ $('body').addClass('mystickymenu--hidden');
162
+ });
163
+ $(document).on('click', '.mystickymenu--popup-button-close', function () {
164
+ close_popup();
165
+ });
166
+ $(document).on('click', ".mystickymenu--serveypanel,tr[data-slug='" + pluginSlug + "'] .deactivate", function (e) {
167
+ e.stopPropagation();
168
+ });
169
+
170
+ $(document).on( 'click', function () {
171
+ close_popup();
172
+ });
173
+ $('.mystickymenu--reason label').on('click', function () {
174
+ $(".mystickymenu--hidden-input").hide();
175
+ jQuery(".mystickymenu--error-message").remove();
176
+ if ($(this).find('input[type="radio"]').is(':checked')) {
177
+ $(this).closest("li").find('.mystickymenu--hidden-input').show();
178
+ }
179
+ });
180
+ $(document).on("keyup", "#mystickymenu-deactivation-comment", function(){
181
+ if($.trim($(this).val()) == "") {
182
+ $(".mystickymenu--popup-allow-deactivate").attr("disabled", true);
183
+ } else {
184
+ $(".mystickymenu--popup-allow-deactivate").attr("disabled", false);
185
+ }
186
+ });
187
+ $('input[type="radio"][name="mystickymenu--selected-reason"]').on('click', function (event) {
188
+ $(".mystickymenu--popup-allow-deactivate").removeAttr('disabled');
189
+ });
190
+ $(document).on('submit', '#mystickymenu--deactivate-form', function (event) {
191
+ event.preventDefault();
192
+ _reason = "";
193
+ if(jQuery.trim(jQuery("#mystickymenu-deactivation-comment").val()) == "") {
194
+ jQuery("#alt_plugin").after("<span class='mystickymenu--error-message'>Please provide your feedback</span>");
195
+ return false;
196
+ } else {
197
+ _reason = jQuery.trim(jQuery("#mystickymenu-deactivation-comment").val());
198
+ }
199
+
200
+ jQuery('[name="mystickymenu--selected-reason"]:checked').val();
201
+
202
+ var email_id = jQuery.trim(jQuery("#mystickymenu-deactivation-email_id").val());
203
+
204
+ $.ajax({
205
+ url: ajaxurl,
206
+ type: 'POST',
207
+ data: {
208
+ action: 'mystickymenu_plugin_deactivate',
209
+ reason: _reason,
210
+ email_id: email_id,
211
+ nonce: '<?php echo wp_create_nonce("mystickymenu_deactivate_nonce") ?>'
212
+ },
213
+ beforeSend: function () {
214
+ $(".mystickymenu--spinner").show();
215
+ $(".mystickymenu--popup-allow-deactivate").attr("disabled", "disabled");
216
+ }
217
+ }).done(function (status) {
218
+ $(".mystickymenu--spinner").hide();
219
+ $(".mystickymenu--popup-allow-deactivate").removeAttr("disabled");
220
+ window.location.href = $("tr[data-slug='" + pluginSlug + "'] .deactivate a").attr('href');
221
+ });
222
+ });
223
+
224
+ $('.mystickymenu--popup-skip-feedback').on('click', function (e) {
225
+ window.location.href = $("tr[data-slug='" + pluginSlug + "'] .deactivate a").attr('href');
226
+ })
227
+
228
+ function close_popup() {
229
+ $('.mystickymenu--popup-overlay').removeClass('mystickymenu--active');
230
+ $('#mystickymenu--deactivate-form').trigger("reset");
231
+ $(".mystickymenu--popup-allow-deactivate").attr('disabled', 'disabled');
232
+ $(".mystickymenu--reason-input").hide();
233
+ $('body').removeClass('mystickymenu--hidden');
234
+ $('.message.error-message').hide();
235
+ }
236
+ });
237
+
238
+ })(jQuery); // This invokes the function above and allows us to use '$' in place of 'jQuery' in our code.
239
+ </script>
mystickymenu-fonts.php CHANGED
@@ -1,925 +1,925 @@
1
- <?php
2
- if ( !function_exists('myStickymenu_fonts')) {
3
- function myStickymenu_fonts(){
4
- return array(
5
- // System fonts.
6
- 'Arial' => 'Default',
7
- 'Tahoma' => 'Default',
8
- 'Verdana' => 'Default',
9
- 'Helvetica' => 'Default',
10
- 'Times New Roman' => 'Default',
11
- 'Trebuchet MS' => 'Default',
12
- 'Georgia' => 'Default',
13
-
14
- // Google Fonts (last update: 23/10/2018).
15
- 'ABeeZee' => 'Google Fonts',
16
- 'Abel' => 'Google Fonts',
17
- 'Abhaya Libre' => 'Google Fonts',
18
- 'Abril Fatface' => 'Google Fonts',
19
- 'Aclonica' => 'Google Fonts',
20
- 'Acme' => 'Google Fonts',
21
- 'Actor' => 'Google Fonts',
22
- 'Adamina' => 'Google Fonts',
23
- 'Advent Pro' => 'Google Fonts',
24
- 'Aguafina Script' => 'Google Fonts',
25
- 'Akronim' => 'Google Fonts',
26
- 'Aladin' => 'Google Fonts',
27
- 'Aldrich' => 'Google Fonts',
28
- 'Alef' => 'Google Fonts',
29
- 'Alef Hebrew' => 'Google Fonts', // Hack for Google Early Access.
30
- 'Alegreya' => 'Google Fonts',
31
- 'Alegreya SC' => 'Google Fonts',
32
- 'Alegreya Sans' => 'Google Fonts',
33
- 'Alegreya Sans SC' => 'Google Fonts',
34
- 'Alex Brush' => 'Google Fonts',
35
- 'Alfa Slab One' => 'Google Fonts',
36
- 'Alice' => 'Google Fonts',
37
- 'Alike' => 'Google Fonts',
38
- 'Alike Angular' => 'Google Fonts',
39
- 'Allan' => 'Google Fonts',
40
- 'Allerta' => 'Google Fonts',
41
- 'Allerta Stencil' => 'Google Fonts',
42
- 'Allura' => 'Google Fonts',
43
- 'Almendra' => 'Google Fonts',
44
- 'Almendra Display' => 'Google Fonts',
45
- 'Almendra SC' => 'Google Fonts',
46
- 'Amarante' => 'Google Fonts',
47
- 'Amaranth' => 'Google Fonts',
48
- 'Amatic SC' => 'Google Fonts',
49
- 'Amethysta' => 'Google Fonts',
50
- 'Amiko' => 'Google Fonts',
51
- 'Amiri' => 'Google Fonts',
52
- 'Amita' => 'Google Fonts',
53
- 'Anaheim' => 'Google Fonts',
54
- 'Andada' => 'Google Fonts',
55
- 'Andika' => 'Google Fonts',
56
- 'Angkor' => 'Google Fonts',
57
- 'Annie Use Your Telescope' => 'Google Fonts',
58
- 'Anonymous Pro' => 'Google Fonts',
59
- 'Antic' => 'Google Fonts',
60
- 'Antic Didone' => 'Google Fonts',
61
- 'Antic Slab' => 'Google Fonts',
62
- 'Anton' => 'Google Fonts',
63
- 'Arapey' => 'Google Fonts',
64
- 'Arbutus' => 'Google Fonts',
65
- 'Arbutus Slab' => 'Google Fonts',
66
- 'Architects Daughter' => 'Google Fonts',
67
- 'Archivo' => 'Google Fonts',
68
- 'Archivo Black' => 'Google Fonts',
69
- 'Archivo Narrow' => 'Google Fonts',
70
- 'Aref Ruqaa' => 'Google Fonts',
71
- 'Arima Madurai' => 'Google Fonts',
72
- 'Arimo' => 'Google Fonts',
73
- 'Arizonia' => 'Google Fonts',
74
- 'Armata' => 'Google Fonts',
75
- 'Arsenal' => 'Google Fonts',
76
- 'Artifika' => 'Google Fonts',
77
- 'Arvo' => 'Google Fonts',
78
- 'Arya' => 'Google Fonts',
79
- 'Asap' => 'Google Fonts',
80
- 'Asap Condensed' => 'Google Fonts',
81
- 'Asar' => 'Google Fonts',
82
- 'Asset' => 'Google Fonts',
83
- 'Assistant' => 'Google Fonts',
84
- 'Astloch' => 'Google Fonts',
85
- 'Asul' => 'Google Fonts',
86
- 'Athiti' => 'Google Fonts',
87
- 'Atma' => 'Google Fonts',
88
- 'Atomic Age' => 'Google Fonts',
89
- 'Aubrey' => 'Google Fonts',
90
- 'Audiowide' => 'Google Fonts',
91
- 'Autour One' => 'Google Fonts',
92
- 'Average' => 'Google Fonts',
93
- 'Average Sans' => 'Google Fonts',
94
- 'Averia Gruesa Libre' => 'Google Fonts',
95
- 'Averia Libre' => 'Google Fonts',
96
- 'Averia Sans Libre' => 'Google Fonts',
97
- 'Averia Serif Libre' => 'Google Fonts',
98
- 'Bad Script' => 'Google Fonts',
99
- 'Bahiana' => 'Google Fonts',
100
- 'Bai Jamjuree' => 'Google Fonts',
101
- 'Baloo' => 'Google Fonts',
102
- 'Baloo Bhai' => 'Google Fonts',
103
- 'Baloo Bhaijaan' => 'Google Fonts',
104
- 'Baloo Bhaina' => 'Google Fonts',
105
- 'Baloo Chettan' => 'Google Fonts',
106
- 'Baloo Da' => 'Google Fonts',
107
- 'Baloo Paaji' => 'Google Fonts',
108
- 'Baloo Tamma' => 'Google Fonts',
109
- 'Baloo Tammudu' => 'Google Fonts',
110
- 'Baloo Thambi' => 'Google Fonts',
111
- 'Balthazar' => 'Google Fonts',
112
- 'Bangers' => 'Google Fonts',
113
- 'Barlow' => 'Google Fonts',
114
- 'Barlow Condensed' => 'Google Fonts',
115
- 'Barlow Semi Condensed' => 'Google Fonts',
116
- 'Barrio' => 'Google Fonts',
117
- 'Basic' => 'Google Fonts',
118
- 'Battambang' => 'Google Fonts',
119
- 'Baumans' => 'Google Fonts',
120
- 'Bayon' => 'Google Fonts',
121
- 'Belgrano' => 'Google Fonts',
122
- 'Bellefair' => 'Google Fonts',
123
- 'Belleza' => 'Google Fonts',
124
- 'BenchNine' => 'Google Fonts',
125
- 'Bentham' => 'Google Fonts',
126
- 'Berkshire Swash' => 'Google Fonts',
127
- 'Bevan' => 'Google Fonts',
128
- 'Bigelow Rules' => 'Google Fonts',
129
- 'Bigshot One' => 'Google Fonts',
130
- 'Bilbo' => 'Google Fonts',
131
- 'Bilbo Swash Caps' => 'Google Fonts',
132
- 'BioRhyme' => 'Google Fonts',
133
- 'BioRhyme Expanded' => 'Google Fonts',
134
- 'Biryani' => 'Google Fonts',
135
- 'Bitter' => 'Google Fonts',
136
- 'Black And White Picture' => 'Google Fonts',
137
- 'Black Han Sans' => 'Google Fonts',
138
- 'Black Ops One' => 'Google Fonts',
139
- 'Bokor' => 'Google Fonts',
140
- 'Bonbon' => 'Google Fonts',
141
- 'Boogaloo' => 'Google Fonts',
142
- 'Bowlby One' => 'Google Fonts',
143
- 'Bowlby One SC' => 'Google Fonts',
144
- 'Brawler' => 'Google Fonts',
145
- 'Bree Serif' => 'Google Fonts',
146
- 'Bubblegum Sans' => 'Google Fonts',
147
- 'Bubbler One' => 'Google Fonts',
148
- 'Buda' => 'Google Fonts',
149
- 'Buenard' => 'Google Fonts',
150
- 'Bungee' => 'Google Fonts',
151
- 'Bungee Hairline' => 'Google Fonts',
152
- 'Bungee Inline' => 'Google Fonts',
153
- 'Bungee Outline' => 'Google Fonts',
154
- 'Bungee Shade' => 'Google Fonts',
155
- 'Butcherman' => 'Google Fonts',
156
- 'Butterfly Kids' => 'Google Fonts',
157
- 'Cabin' => 'Google Fonts',
158
- 'Cabin Condensed' => 'Google Fonts',
159
- 'Cabin Sketch' => 'Google Fonts',
160
- 'Caesar Dressing' => 'Google Fonts',
161
- 'Cagliostro' => 'Google Fonts',
162
- 'Cairo' => 'Google Fonts',
163
- 'Calligraffitti' => 'Google Fonts',
164
- 'Cambay' => 'Google Fonts',
165
- 'Cambo' => 'Google Fonts',
166
- 'Candal' => 'Google Fonts',
167
- 'Cantarell' => 'Google Fonts',
168
- 'Cantata One' => 'Google Fonts',
169
- 'Cantora One' => 'Google Fonts',
170
- 'Capriola' => 'Google Fonts',
171
- 'Cardo' => 'Google Fonts',
172
- 'Carme' => 'Google Fonts',
173
- 'Carrois Gothic' => 'Google Fonts',
174
- 'Carrois Gothic SC' => 'Google Fonts',
175
- 'Carter One' => 'Google Fonts',
176
- 'Catamaran' => 'Google Fonts',
177
- 'Caudex' => 'Google Fonts',
178
- 'Caveat' => 'Google Fonts',
179
- 'Caveat Brush' => 'Google Fonts',
180
- 'Cedarville Cursive' => 'Google Fonts',
181
- 'Ceviche One' => 'Google Fonts',
182
- 'Chakra Petch' => 'Google Fonts',
183
- 'Changa' => 'Google Fonts',
184
- 'Changa One' => 'Google Fonts',
185
- 'Chango' => 'Google Fonts',
186
- 'Charmonman' => 'Google Fonts',
187
- 'Chathura' => 'Google Fonts',
188
- 'Chau Philomene One' => 'Google Fonts',
189
- 'Chela One' => 'Google Fonts',
190
- 'Chelsea Market' => 'Google Fonts',
191
- 'Chenla' => 'Google Fonts',
192
- 'Cherry Cream Soda' => 'Google Fonts',
193
- 'Cherry Swash' => 'Google Fonts',
194
- 'Chewy' => 'Google Fonts',
195
- 'Chicle' => 'Google Fonts',
196
- 'Chivo' => 'Google Fonts',
197
- 'Chonburi' => 'Google Fonts',
198
- 'Cinzel' => 'Google Fonts',
199
- 'Cinzel Decorative' => 'Google Fonts',
200
- 'Clicker Script' => 'Google Fonts',
201
- 'Coda' => 'Google Fonts',
202
- 'Coda Caption' => 'Google Fonts',
203
- 'Codystar' => 'Google Fonts',
204
- 'Coiny' => 'Google Fonts',
205
- 'Combo' => 'Google Fonts',
206
- 'Comfortaa' => 'Google Fonts',
207
- 'Coming Soon' => 'Google Fonts',
208
- 'Concert One' => 'Google Fonts',
209
- 'Condiment' => 'Google Fonts',
210
- 'Content' => 'Google Fonts',
211
- 'Contrail One' => 'Google Fonts',
212
- 'Convergence' => 'Google Fonts',
213
- 'Cookie' => 'Google Fonts',
214
- 'Copse' => 'Google Fonts',
215
- 'Corben' => 'Google Fonts',
216
- 'Cormorant' => 'Google Fonts',
217
- 'Cormorant Garamond' => 'Google Fonts',
218
- 'Cormorant Infant' => 'Google Fonts',
219
- 'Cormorant SC' => 'Google Fonts',
220
- 'Cormorant Unicase' => 'Google Fonts',
221
- 'Cormorant Upright' => 'Google Fonts',
222
- 'Courgette' => 'Google Fonts',
223
- 'Cousine' => 'Google Fonts',
224
- 'Coustard' => 'Google Fonts',
225
- 'Covered By Your Grace' => 'Google Fonts',
226
- 'Crafty Girls' => 'Google Fonts',
227
- 'Creepster' => 'Google Fonts',
228
- 'Crete Round' => 'Google Fonts',
229
- 'Crimson Text' => 'Google Fonts',
230
- 'Croissant One' => 'Google Fonts',
231
- 'Crushed' => 'Google Fonts',
232
- 'Cuprum' => 'Google Fonts',
233
- 'Cute Font' => 'Google Fonts',
234
- 'Cutive' => 'Google Fonts',
235
- 'Cutive Mono' => 'Google Fonts',
236
- 'Damion' => 'Google Fonts',
237
- 'Dancing Script' => 'Google Fonts',
238
- 'Dangrek' => 'Google Fonts',
239
- 'David Libre' => 'Google Fonts',
240
- 'Dawning of a New Day' => 'Google Fonts',
241
- 'Days One' => 'Google Fonts',
242
- 'Dekko' => 'Google Fonts',
243
- 'Delius' => 'Google Fonts',
244
- 'Delius Swash Caps' => 'Google Fonts',
245
- 'Delius Unicase' => 'Google Fonts',
246
- 'Della Respira' => 'Google Fonts',
247
- 'Denk One' => 'Google Fonts',
248
- 'Devonshire' => 'Google Fonts',
249
- 'Dhurjati' => 'Google Fonts',
250
- 'Didact Gothic' => 'Google Fonts',
251
- 'Diplomata' => 'Google Fonts',
252
- 'Diplomata SC' => 'Google Fonts',
253
- 'Do Hyeon' => 'Google Fonts',
254
- 'Dokdo' => 'Google Fonts',
255
- 'Domine' => 'Google Fonts',
256
- 'Donegal One' => 'Google Fonts',
257
- 'Doppio One' => 'Google Fonts',
258
- 'Dorsa' => 'Google Fonts',
259
- 'Dosis' => 'Google Fonts',
260
- 'Dr Sugiyama' => 'Google Fonts',
261
- 'Droid Arabic Kufi' => 'Google Fonts', // Hack for Google Early Access.
262
- 'Droid Arabic Naskh' => 'Google Fonts', // Hack for Google Early Access.
263
- 'Duru Sans' => 'Google Fonts',
264
- 'Dynalight' => 'Google Fonts',
265
- 'EB Garamond' => 'Google Fonts',
266
- 'Eagle Lake' => 'Google Fonts',
267
- 'East Sea Dokdo' => 'Google Fonts',
268
- 'Eater' => 'Google Fonts',
269
- 'Economica' => 'Google Fonts',
270
- 'Eczar' => 'Google Fonts',
271
- 'El Messiri' => 'Google Fonts',
272
- 'Electrolize' => 'Google Fonts',
273
- 'Elsie' => 'Google Fonts',
274
- 'Elsie Swash Caps' => 'Google Fonts',
275
- 'Emblema One' => 'Google Fonts',
276
- 'Emilys Candy' => 'Google Fonts',
277
- 'Encode Sans' => 'Google Fonts',
278
- 'Encode Sans Condensed' => 'Google Fonts',
279
- 'Encode Sans Expanded' => 'Google Fonts',
280
- 'Encode Sans Semi Condensed' => 'Google Fonts',
281
- 'Encode Sans Semi Expanded' => 'Google Fonts',
282
- 'Engagement' => 'Google Fonts',
283
- 'Englebert' => 'Google Fonts',
284
- 'Enriqueta' => 'Google Fonts',
285
- 'Erica One' => 'Google Fonts',
286
- 'Esteban' => 'Google Fonts',
287
- 'Euphoria Script' => 'Google Fonts',
288
- 'Ewert' => 'Google Fonts',
289
- 'Exo' => 'Google Fonts',
290
- 'Exo 2' => 'Google Fonts',
291
- 'Expletus Sans' => 'Google Fonts',
292
- 'Fahkwang' => 'Google Fonts',
293
- 'Fanwood Text' => 'Google Fonts',
294
- 'Farsan' => 'Google Fonts',
295
- 'Fascinate' => 'Google Fonts',
296
- 'Fascinate Inline' => 'Google Fonts',
297
- 'Faster One' => 'Google Fonts',
298
- 'Fasthand' => 'Google Fonts',
299
- 'Fauna One' => 'Google Fonts',
300
- 'Faustina' => 'Google Fonts',
301
- 'Federant' => 'Google Fonts',
302
- 'Federo' => 'Google Fonts',
303
- 'Felipa' => 'Google Fonts',
304
- 'Fenix' => 'Google Fonts',
305
- 'Finger Paint' => 'Google Fonts',
306
- 'Fira Mono' => 'Google Fonts',
307
- 'Fira Sans' => 'Google Fonts',
308
- 'Fira Sans Condensed' => 'Google Fonts',
309
- 'Fira Sans Extra Condensed' => 'Google Fonts',
310
- 'Fjalla One' => 'Google Fonts',
311
- 'Fjord One' => 'Google Fonts',
312
- 'Flamenco' => 'Google Fonts',
313
- 'Flavors' => 'Google Fonts',
314
- 'Fondamento' => 'Google Fonts',
315
- 'Fontdiner Swanky' => 'Google Fonts',
316
- 'Forum' => 'Google Fonts',
317
- 'Francois One' => 'Google Fonts',
318
- 'Frank Ruhl Libre' => 'Google Fonts',
319
- 'Freckle Face' => 'Google Fonts',
320
- 'Fredericka the Great' => 'Google Fonts',
321
- 'Fredoka One' => 'Google Fonts',
322
- 'Freehand' => 'Google Fonts',
323
- 'Fresca' => 'Google Fonts',
324
- 'Frijole' => 'Google Fonts',
325
- 'Fruktur' => 'Google Fonts',
326
- 'Fugaz One' => 'Google Fonts',
327
- 'GFS Didot' => 'Google Fonts',
328
- 'GFS Neohellenic' => 'Google Fonts',
329
- 'Gabriela' => 'Google Fonts',
330
- 'Gaegu' => 'Google Fonts',
331
- 'Gafata' => 'Google Fonts',
332
- 'Galada' => 'Google Fonts',
333
- 'Galdeano' => 'Google Fonts',
334
- 'Galindo' => 'Google Fonts',
335
- 'Gamja Flower' => 'Google Fonts',
336
- 'Gentium Basic' => 'Google Fonts',
337
- 'Gentium Book Basic' => 'Google Fonts',
338
- 'Geo' => 'Google Fonts',
339
- 'Geostar' => 'Google Fonts',
340
- 'Geostar Fill' => 'Google Fonts',
341
- 'Germania One' => 'Google Fonts',
342
- 'Gidugu' => 'Google Fonts',
343
- 'Gilda Display' => 'Google Fonts',
344
- 'Give You Glory' => 'Google Fonts',
345
- 'Glass Antiqua' => 'Google Fonts',
346
- 'Glegoo' => 'Google Fonts',
347
- 'Gloria Hallelujah' => 'Google Fonts',
348
- 'Goblin One' => 'Google Fonts',
349
- 'Gochi Hand' => 'Google Fonts',
350
- 'Gorditas' => 'Google Fonts',
351
- 'Gothic A1' => 'Google Fonts',
352
- 'Goudy Bookletter 1911' => 'Google Fonts',
353
- 'Graduate' => 'Google Fonts',
354
- 'Grand Hotel' => 'Google Fonts',
355
- 'Gravitas One' => 'Google Fonts',
356
- 'Great Vibes' => 'Google Fonts',
357
- 'Griffy' => 'Google Fonts',
358
- 'Gruppo' => 'Google Fonts',
359
- 'Gudea' => 'Google Fonts',
360
- 'Gugi' => 'Google Fonts',
361
- 'Gurajada' => 'Google Fonts',
362
- 'Habibi' => 'Google Fonts',
363
- 'Halant' => 'Google Fonts',
364
- 'Hammersmith One' => 'Google Fonts',
365
- 'Hanalei' => 'Google Fonts',
366
- 'Hanalei Fill' => 'Google Fonts',
367
- 'Handlee' => 'Google Fonts',
368
- 'Hanuman' => 'Google Fonts',
369
- 'Happy Monkey' => 'Google Fonts',
370
- 'Harmattan' => 'Google Fonts',
371
- 'Headland One' => 'Google Fonts',
372
- 'Heebo' => 'Google Fonts',
373
- 'Henny Penny' => 'Google Fonts',
374
- 'Herr Von Muellerhoff' => 'Google Fonts',
375
- 'Hi Melody' => 'Google Fonts',
376
- 'Hind' => 'Google Fonts',
377
- 'Hind Guntur' => 'Google Fonts',
378
- 'Hind Madurai' => 'Google Fonts',
379
- 'Hind Siliguri' => 'Google Fonts',
380
- 'Hind Vadodara' => 'Google Fonts',
381
- 'Holtwood One SC' => 'Google Fonts',
382
- 'Homemade Apple' => 'Google Fonts',
383
- 'Homenaje' => 'Google Fonts',
384
- 'IBM Plex Mono' => 'Google Fonts',
385
- 'IBM Plex Sans' => 'Google Fonts',
386
- 'IBM Plex Sans Condensed' => 'Google Fonts',
387
- 'IBM Plex Serif' => 'Google Fonts',
388
- 'IM Fell DW Pica' => 'Google Fonts',
389
- 'IM Fell DW Pica SC' => 'Google Fonts',
390
- 'IM Fell Double Pica' => 'Google Fonts',
391
- 'IM Fell Double Pica SC' => 'Google Fonts',
392
- 'IM Fell English' => 'Google Fonts',
393
- 'IM Fell English SC' => 'Google Fonts',
394
- 'IM Fell French Canon' => 'Google Fonts',
395
- 'IM Fell French Canon SC' => 'Google Fonts',
396
- 'IM Fell Great Primer' => 'Google Fonts',
397
- 'IM Fell Great Primer SC' => 'Google Fonts',
398
- 'Iceberg' => 'Google Fonts',
399
- 'Iceland' => 'Google Fonts',
400
- 'Imprima' => 'Google Fonts',
401
- 'Inconsolata' => 'Google Fonts',
402
- 'Inder' => 'Google Fonts',
403
- 'Indie Flower' => 'Google Fonts',
404
- 'Inika' => 'Google Fonts',
405
- 'Inknut Antiqua' => 'Google Fonts',
406
- 'Irish Grover' => 'Google Fonts',
407
- 'Istok Web' => 'Google Fonts',
408
- 'Italiana' => 'Google Fonts',
409
- 'Italianno' => 'Google Fonts',
410
- 'Itim' => 'Google Fonts',
411
- 'Jacques Francois' => 'Google Fonts',
412
- 'Jacques Francois Shadow' => 'Google Fonts',
413
- 'Jaldi' => 'Google Fonts',
414
- 'Jim Nightshade' => 'Google Fonts',
415
- 'Jockey One' => 'Google Fonts',
416
- 'Jolly Lodger' => 'Google Fonts',
417
- 'Jomhuria' => 'Google Fonts',
418
- 'Josefin Sans' => 'Google Fonts',
419
- 'Josefin Slab' => 'Google Fonts',
420
- 'Joti One' => 'Google Fonts',
421
- 'Jua' => 'Google Fonts',
422
- 'Judson' => 'Google Fonts',
423
- 'Julee' => 'Google Fonts',
424
- 'Julius Sans One' => 'Google Fonts',
425
- 'Junge' => 'Google Fonts',
426
- 'Jura' => 'Google Fonts',
427
- 'Just Another Hand' => 'Google Fonts',
428
- 'Just Me Again Down Here' => 'Google Fonts',
429
- 'K2D' => 'Google Fonts',
430
- 'Kadwa' => 'Google Fonts',
431
- 'Kalam' => 'Google Fonts',
432
- 'Kameron' => 'Google Fonts',
433
- 'Kanit' => 'Google Fonts',
434
- 'Kantumruy' => 'Google Fonts',
435
- 'Karla' => 'Google Fonts',
436
- 'Karma' => 'Google Fonts',
437
- 'Katibeh' => 'Google Fonts',
438
- 'Kaushan Script' => 'Google Fonts',
439
- 'Kavivanar' => 'Google Fonts',
440
- 'Kavoon' => 'Google Fonts',
441
- 'Kdam Thmor' => 'Google Fonts',
442
- 'Keania One' => 'Google Fonts',
443
- 'Kelly Slab' => 'Google Fonts',
444
- 'Kenia' => 'Google Fonts',
445
- 'Khand' => 'Google Fonts',
446
- 'Khmer' => 'Google Fonts',
447
- 'Khula' => 'Google Fonts',
448
- 'Kirang Haerang' => 'Google Fonts',
449
- 'Kite One' => 'Google Fonts',
450
- 'Knewave' => 'Google Fonts',
451
- 'KoHo' => 'Google Fonts',
452
- 'Kodchasan' => 'Google Fonts',
453
- 'Kosugi' => 'Google Fonts',
454
- 'Kosugi Maru' => 'Google Fonts',
455
- 'Kotta One' => 'Google Fonts',
456
- 'Koulen' => 'Google Fonts',
457
- 'Kranky' => 'Google Fonts',
458
- 'Kreon' => 'Google Fonts',
459
- 'Kristi' => 'Google Fonts',
460
- 'Krona One' => 'Google Fonts',
461
- 'Krub' => 'Google Fonts',
462
- 'Kumar One' => 'Google Fonts',
463
- 'Kumar One Outline' => 'Google Fonts',
464
- 'Kurale' => 'Google Fonts',
465
- 'La Belle Aurore' => 'Google Fonts',
466
- 'Laila' => 'Google Fonts',
467
- 'Lakki Reddy' => 'Google Fonts',
468
- 'Lalezar' => 'Google Fonts',
469
- 'Lancelot' => 'Google Fonts',
470
- 'Lateef' => 'Google Fonts',
471
- 'Lato' => 'Google Fonts',
472
- 'League Script' => 'Google Fonts',
473
- 'Leckerli One' => 'Google Fonts',
474
- 'Ledger' => 'Google Fonts',
475
- 'Lekton' => 'Google Fonts',
476
- 'Lemon' => 'Google Fonts',
477
- 'Lemonada' => 'Google Fonts',
478
- 'Libre Barcode 128' => 'Google Fonts',
479
- 'Libre Barcode 128 Text' => 'Google Fonts',
480
- 'Libre Barcode 39' => 'Google Fonts',
481
- 'Libre Barcode 39 Extended' => 'Google Fonts',
482
- 'Libre Barcode 39 Extended Text' => 'Google Fonts',
483
- 'Libre Barcode 39 Text' => 'Google Fonts',
484
- 'Libre Baskerville' => 'Google Fonts',
485
- 'Libre Franklin' => 'Google Fonts',
486
- 'Life Savers' => 'Google Fonts',
487
- 'Lilita One' => 'Google Fonts',
488
- 'Lily Script One' => 'Google Fonts',
489
- 'Limelight' => 'Google Fonts',
490
- 'Linden Hill' => 'Google Fonts',
491
- 'Lobster' => 'Google Fonts',
492
- 'Lobster Two' => 'Google Fonts',
493
- 'Londrina Outline' => 'Google Fonts',
494
- 'Londrina Shadow' => 'Google Fonts',
495
- 'Londrina Sketch' => 'Google Fonts',
496
- 'Londrina Solid' => 'Google Fonts',
497
- 'Lora' => 'Google Fonts',
498
- 'Love Ya Like A Sister' => 'Google Fonts',
499
- 'Loved by the King' => 'Google Fonts',
500
- 'Lovers Quarrel' => 'Google Fonts',
501
- 'Luckiest Guy' => 'Google Fonts',
502
- 'Lusitana' => 'Google Fonts',
503
- 'Lustria' => 'Google Fonts',
504
- 'M PLUS 1p' => 'Google Fonts',
505
- 'M PLUS Rounded 1c' => 'Google Fonts',
506
- 'Macondo' => 'Google Fonts',
507
- 'Macondo Swash Caps' => 'Google Fonts',
508
- 'Mada' => 'Google Fonts',
509
- 'Magra' => 'Google Fonts',
510
- 'Maiden Orange' => 'Google Fonts',
511
- 'Maitree' => 'Google Fonts',
512
- 'Mako' => 'Google Fonts',
513
- 'Mali' => 'Google Fonts',
514
- 'Mallanna' => 'Google Fonts',
515
- 'Mandali' => 'Google Fonts',
516
- 'Manuale' => 'Google Fonts',
517
- 'Marcellus' => 'Google Fonts',
518
- 'Marcellus SC' => 'Google Fonts',
519
- 'Marck Script' => 'Google Fonts',
520
- 'Margarine' => 'Google Fonts',
521
- 'Markazi Text' => 'Google Fonts',
522
- 'Marko One' => 'Google Fonts',
523
- 'Marmelad' => 'Google Fonts',
524
- 'Martel' => 'Google Fonts',
525
- 'Martel Sans' => 'Google Fonts',
526
- 'Marvel' => 'Google Fonts',
527
- 'Mate' => 'Google Fonts',
528
- 'Mate SC' => 'Google Fonts',
529
- 'Maven Pro' => 'Google Fonts',
530
- 'McLaren' => 'Google Fonts',
531
- 'Meddon' => 'Google Fonts',
532
- 'MedievalSharp' => 'Google Fonts',
533
- 'Medula One' => 'Google Fonts',
534
- 'Meera Inimai' => 'Google Fonts',
535
- 'Megrim' => 'Google Fonts',
536
- 'Meie Script' => 'Google Fonts',
537
- 'Merienda' => 'Google Fonts',
538
- 'Merienda One' => 'Google Fonts',
539
- 'Merriweather' => 'Google Fonts',
540
- 'Merriweather Sans' => 'Google Fonts',
541
- 'Metal' => 'Google Fonts',
542
- 'Metal Mania' => 'Google Fonts',
543
- 'Metamorphous' => 'Google Fonts',
544
- 'Metrophobic' => 'Google Fonts',
545
- 'Michroma' => 'Google Fonts',
546
- 'Milonga' => 'Google Fonts',
547
- 'Miltonian' => 'Google Fonts',
548
- 'Miltonian Tattoo' => 'Google Fonts',
549
- 'Mina' => 'Google Fonts',
550
- 'Miniver' => 'Google Fonts',
551
- 'Miriam Libre' => 'Google Fonts',
552
- 'Mirza' => 'Google Fonts',
553
- 'Miss Fajardose' => 'Google Fonts',
554
- 'Mitr' => 'Google Fonts',
555
- 'Modak' => 'Google Fonts',
556
- 'Modern Antiqua' => 'Google Fonts',
557
- 'Mogra' => 'Google Fonts',
558
- 'Molengo' => 'Google Fonts',
559
- 'Molle' => 'Google Fonts',
560
- 'Monda' => 'Google Fonts',
561
- 'Monofett' => 'Google Fonts',
562
- 'Monoton' => 'Google Fonts',
563
- 'Monsieur La Doulaise' => 'Google Fonts',
564
- 'Montaga' => 'Google Fonts',
565
- 'Montez' => 'Google Fonts',
566
- 'Montserrat' => 'Google Fonts',
567
- 'Montserrat Alternates' => 'Google Fonts',
568
- 'Montserrat Subrayada' => 'Google Fonts',
569
- 'Moul' => 'Google Fonts',
570
- 'Moulpali' => 'Google Fonts',
571
- 'Mountains of Christmas' => 'Google Fonts',
572
- 'Mouse Memoirs' => 'Google Fonts',
573
- 'Mr Bedfort' => 'Google Fonts',
574
- 'Mr Dafoe' => 'Google Fonts',
575
- 'Mr De Haviland' => 'Google Fonts',
576
- 'Mrs Saint Delafield' => 'Google Fonts',
577
- 'Mrs Sheppards' => 'Google Fonts',
578
- 'Mukta' => 'Google Fonts',
579
- 'Mukta Mahee' => 'Google Fonts',
580
- 'Mukta Malar' => 'Google Fonts',
581
- 'Mukta Vaani' => 'Google Fonts',
582
- 'Muli' => 'Google Fonts',
583
- 'Mystery Quest' => 'Google Fonts',
584
- 'NTR' => 'Google Fonts',
585
- 'Nanum Brush Script' => 'Google Fonts',
586
- 'Nanum Gothic' => 'Google Fonts',
587
- 'Nanum Gothic Coding' => 'Google Fonts',
588
- 'Nanum Myeongjo' => 'Google Fonts',
589
- 'Nanum Pen Script' => 'Google Fonts',
590
- 'Neucha' => 'Google Fonts',
591
- 'Neuton' => 'Google Fonts',
592
- 'New Rocker' => 'Google Fonts',
593
- 'News Cycle' => 'Google Fonts',
594
- 'Niconne' => 'Google Fonts',
595
- 'Niramit' => 'Google Fonts',
596
- 'Nixie One' => 'Google Fonts',
597
- 'Nobile' => 'Google Fonts',
598
- 'Nokora' => 'Google Fonts',
599
- 'Norican' => 'Google Fonts',
600
- 'Nosifer' => 'Google Fonts',
601
- 'Notable' => 'Google Fonts',
602
- 'Nothing You Could Do' => 'Google Fonts',
603
- 'Noticia Text' => 'Google Fonts',
604
- 'Noto Kufi Arabic' => 'Google Fonts', // Hack for Google Early Access.
605
- 'Noto Naskh Arabic' => 'Google Fonts', // Hack for Google Early Access.
606
- 'Noto Sans' => 'Google Fonts',
607
- 'Noto Sans Hebrew' => 'Google Fonts', // Hack for Google Early Access.
608
- 'Noto Sans JP' => 'Google Fonts',
609
- 'Noto Sans KR' => 'Google Fonts',
610
- 'Noto Serif' => 'Google Fonts',
611
- 'Noto Serif JP' => 'Google Fonts',
612
- 'Noto Serif KR' => 'Google Fonts',
613
- 'Nova Cut' => 'Google Fonts',
614
- 'Nova Flat' => 'Google Fonts',
615
- 'Nova Mono' => 'Google Fonts',
616
- 'Nova Oval' => 'Google Fonts',
617
- 'Nova Round' => 'Google Fonts',
618
- 'Nova Script' => 'Google Fonts',
619
- 'Nova Slim' => 'Google Fonts',
620
- 'Nova Square' => 'Google Fonts',
621
- 'Numans' => 'Google Fonts',
622
- 'Nunito' => 'Google Fonts',
623
- 'Nunito Sans' => 'Google Fonts',
624
- 'Odor Mean Chey' => 'Google Fonts',
625
- 'Offside' => 'Google Fonts',
626
- 'Old Standard TT' => 'Google Fonts',
627
- 'Oldenburg' => 'Google Fonts',
628
- 'Oleo Script' => 'Google Fonts',
629
- 'Oleo Script Swash Caps' => 'Google Fonts',
630
- 'Open Sans' => 'Google Fonts',
631
- 'Open Sans Condensed' => 'Google Fonts',
632
- 'Open Sans Hebrew' => 'Google Fonts', // Hack for Google Early Access.
633
- 'Open Sans Hebrew Condensed' => 'Google Fonts', // Hack for Google Early Access.
634
- 'Oranienbaum' => 'Google Fonts',
635
- 'Orbitron' => 'Google Fonts',
636
- 'Oregano' => 'Google Fonts',
637
- 'Orienta' => 'Google Fonts',
638
- 'Original Surfer' => 'Google Fonts',
639
- 'Oswald' => 'Google Fonts',
640
- 'Over the Rainbow' => 'Google Fonts',
641
- 'Overlock' => 'Google Fonts',
642
- 'Overlock SC' => 'Google Fonts',
643
- 'Overpass' => 'Google Fonts',
644
- 'Overpass Mono' => 'Google Fonts',
645
- 'Ovo' => 'Google Fonts',
646
- 'Oxygen' => 'Google Fonts',
647
- 'Oxygen Mono' => 'Google Fonts',
648
- 'PT Mono' => 'Google Fonts',
649
- 'PT Sans' => 'Google Fonts',
650
- 'PT Sans Caption' => 'Google Fonts',
651
- 'PT Sans Narrow' => 'Google Fonts',
652
- 'PT Serif' => 'Google Fonts',
653
- 'PT Serif Caption' => 'Google Fonts',
654
- 'Pacifico' => 'Google Fonts',
655
- 'Padauk' => 'Google Fonts',
656
- 'Palanquin' => 'Google Fonts',
657
- 'Palanquin Dark' => 'Google Fonts',
658
- 'Pangolin' => 'Google Fonts',
659
- 'Paprika' => 'Google Fonts',
660
- 'Parisienne' => 'Google Fonts',
661
- 'Passero One' => 'Google Fonts',
662
- 'Passion One' => 'Google Fonts',
663
- 'Pathway Gothic One' => 'Google Fonts',
664
- 'Patrick Hand' => 'Google Fonts',
665
- 'Patrick Hand SC' => 'Google Fonts',
666
- 'Pattaya' => 'Google Fonts',
667
- 'Patua One' => 'Google Fonts',
668
- 'Pavanam' => 'Google Fonts',
669
- 'Paytone One' => 'Google Fonts',
670
- 'Peddana' => 'Google Fonts',
671
- 'Peralta' => 'Google Fonts',
672
- 'Permanent Marker' => 'Google Fonts',
673
- 'Petit Formal Script' => 'Google Fonts',
674
- 'Petrona' => 'Google Fonts',
675
- 'Philosopher' => 'Google Fonts',
676
- 'Piedra' => 'Google Fonts',
677
- 'Pinyon Script' => 'Google Fonts',
678
- 'Pirata One' => 'Google Fonts',
679
- 'Plaster' => 'Google Fonts',
680
- 'Play' => 'Google Fonts',
681
- 'Playball' => 'Google Fonts',
682
- 'Playfair Display' => 'Google Fonts',
683
- 'Playfair Display SC' => 'Google Fonts',
684
- 'Podkova' => 'Google Fonts',
685
- 'Poiret One' => 'Google Fonts',
686
- 'Poller One' => 'Google Fonts',
687
- 'Poly' => 'Google Fonts',
688
- 'Pompiere' => 'Google Fonts',
689
- 'Pontano Sans' => 'Google Fonts',
690
- 'Poor Story' => 'Google Fonts',
691
- 'Poppins' => 'Google Fonts',
692
- 'Port Lligat Sans' => 'Google Fonts',
693
- 'Port Lligat Slab' => 'Google Fonts',
694
- 'Pragati Narrow' => 'Google Fonts',
695
- 'Prata' => 'Google Fonts',
696
- 'Preahvihear' => 'Google Fonts',
697
- 'Press Start 2P' => 'Google Fonts',
698
- 'Pridi' => 'Google Fonts',
699
- 'Princess Sofia' => 'Google Fonts',
700
- 'Prociono' => 'Google Fonts',
701
- 'Prompt' => 'Google Fonts',
702
- 'Prosto One' => 'Google Fonts',
703
- 'Proza Libre' => 'Google Fonts',
704
- 'Puritan' => 'Google Fonts',
705
- 'Purple Purse' => 'Google Fonts',
706
- 'Quando' => 'Google Fonts',
707
- 'Quantico' => 'Google Fonts',
708
- 'Quattrocento' => 'Google Fonts',
709
- 'Quattrocento Sans' => 'Google Fonts',
710
- 'Questrial' => 'Google Fonts',
711
- 'Quicksand' => 'Google Fonts',
712
- 'Quintessential' => 'Google Fonts',
713
- 'Qwigley' => 'Google Fonts',
714
- 'Racing Sans One' => 'Google Fonts',
715
- 'Radley' => 'Google Fonts',
716
- 'Rajdhani' => 'Google Fonts',
717
- 'Rakkas' => 'Google Fonts',
718
- 'Raleway' => 'Google Fonts',
719
- 'Raleway Dots' => 'Google Fonts',
720
- 'Ramabhadra' => 'Google Fonts',
721
- 'Ramaraja' => 'Google Fonts',
722
- 'Rambla' => 'Google Fonts',
723
- 'Rammetto One' => 'Google Fonts',
724
- 'Ranchers' => 'Google Fonts',
725
- 'Rancho' => 'Google Fonts',
726
- 'Ranga' => 'Google Fonts',
727
- 'Rasa' => 'Google Fonts',
728
- 'Rationale' => 'Google Fonts',
729
- 'Ravi Prakash' => 'Google Fonts',
730
- 'Redressed' => 'Google Fonts',
731
- 'Reem Kufi' => 'Google Fonts',
732
- 'Reenie Beanie' => 'Google Fonts',
733
- 'Revalia' => 'Google Fonts',
734
- 'Rhodium Libre' => 'Google Fonts',
735
- 'Ribeye' => 'Google Fonts',
736
- 'Ribeye Marrow' => 'Google Fonts',
737
- 'Righteous' => 'Google Fonts',
738
- 'Risque' => 'Google Fonts',
739
- 'Roboto' => 'Google Fonts',
740
- 'Roboto Condensed' => 'Google Fonts',
741
- 'Roboto Mono' => 'Google Fonts',
742
- 'Roboto Slab' => 'Google Fonts',
743
- 'Rochester' => 'Google Fonts',
744
- 'Rock Salt' => 'Google Fonts',
745
- 'Rokkitt' => 'Google Fonts',
746
- 'Romanesco' => 'Google Fonts',
747
- 'Ropa Sans' => 'Google Fonts',
748
- 'Rosario' => 'Google Fonts',
749
- 'Rosarivo' => 'Google Fonts',
750
- 'Rouge Script' => 'Google Fonts',
751
- 'Rozha One' => 'Google Fonts',
752
- 'Rubik' => 'Google Fonts',
753
- 'Rubik Mono One' => 'Google Fonts',
754
- 'Ruda' => 'Google Fonts',
755
- 'Rufina' => 'Google Fonts',
756
- 'Ruge Boogie' => 'Google Fonts',
757
- 'Ruluko' => 'Google Fonts',
758
- 'Rum Raisin' => 'Google Fonts',
759
- 'Ruslan Display' => 'Google Fonts',
760
- 'Russo One' => 'Google Fonts',
761
- 'Ruthie' => 'Google Fonts',
762
- 'Rye' => 'Google Fonts',
763
- 'Sacramento' => 'Google Fonts',
764
- 'Sahitya' => 'Google Fonts',
765
- 'Sail' => 'Google Fonts',
766
- 'Saira' => 'Google Fonts',
767
- 'Saira Condensed' => 'Google Fonts',
768
- 'Saira Extra Condensed' => 'Google Fonts',
769
- 'Saira Semi Condensed' => 'Google Fonts',
770
- 'Salsa' => 'Google Fonts',
771
- 'Sanchez' => 'Google Fonts',
772
- 'Sancreek' => 'Google Fonts',
773
- 'Sansita' => 'Google Fonts',
774
- 'Sarala' => 'Google Fonts',
775
- 'Sarina' => 'Google Fonts',
776
- 'Sarpanch' => 'Google Fonts',
777
- 'Satisfy' => 'Google Fonts',
778
- 'Sawarabi Gothic' => 'Google Fonts',
779
- 'Sawarabi Mincho' => 'Google Fonts',
780
- 'Scada' => 'Google Fonts',
781
- 'Scheherazade' => 'Google Fonts',
782
- 'Schoolbell' => 'Google Fonts',
783
- 'Scope One' => 'Google Fonts',
784
- 'Seaweed Script' => 'Google Fonts',
785
- 'Secular One' => 'Google Fonts',
786
- 'Sedgwick Ave' => 'Google Fonts',
787
- 'Sedgwick Ave Display' => 'Google Fonts',
788
- 'Sevillana' => 'Google Fonts',
789
- 'Seymour One' => 'Google Fonts',
790
- 'Shadows Into Light' => 'Google Fonts',
791
- 'Shadows Into Light Two' => 'Google Fonts',
792
- 'Shanti' => 'Google Fonts',
793
- 'Share' => 'Google Fonts',
794
- 'Share Tech' => 'Google Fonts',
795
- 'Share Tech Mono' => 'Google Fonts',
796
- 'Shojumaru' => 'Google Fonts',
797
- 'Short Stack' => 'Google Fonts',
798
- 'Shrikhand' => 'Google Fonts',
799
- 'Siemreap' => 'Google Fonts',
800
- 'Sigmar One' => 'Google Fonts',
801
- 'Signika' => 'Google Fonts',
802
- 'Signika Negative' => 'Google Fonts',
803
- 'Simonetta' => 'Google Fonts',
804
- 'Sintony' => 'Google Fonts',
805
- 'Sirin Stencil' => 'Google Fonts',
806
- 'Six Caps' => 'Google Fonts',
807
- 'Skranji' => 'Google Fonts',
808
- 'Slabo 13px' => 'Google Fonts',
809
- 'Slabo 27px' => 'Google Fonts',
810
- 'Slackey' => 'Google Fonts',
811
- 'Smokum' => 'Google Fonts',
812
- 'Smythe' => 'Google Fonts',
813
- 'Sniglet' => 'Google Fonts',
814
- 'Snippet' => 'Google Fonts',
815
- 'Snowburst One' => 'Google Fonts',
816
- 'Sofadi One' => 'Google Fonts',
817
- 'Sofia' => 'Google Fonts',
818
- 'Song Myung' => 'Google Fonts',
819
- 'Sonsie One' => 'Google Fonts',
820
- 'Sorts Mill Goudy' => 'Google Fonts',
821
- 'Source Code Pro' => 'Google Fonts',
822
- 'Source Sans Pro' => 'Google Fonts',
823
- 'Source Serif Pro' => 'Google Fonts',
824
- 'Space Mono' => 'Google Fonts',
825
- 'Special Elite' => 'Google Fonts',
826
- 'Spectral' => 'Google Fonts',
827
- 'Spectral SC' => 'Google Fonts',
828
- 'Spicy Rice' => 'Google Fonts',
829
- 'Spinnaker' => 'Google Fonts',
830
- 'Spirax' => 'Google Fonts',
831
- 'Squada One' => 'Google Fonts',
832
- 'Sree Krushnadevaraya' => 'Google Fonts',
833
- 'Sriracha' => 'Google Fonts',
834
- 'Srisakdi' => 'Google Fonts',
835
- 'Stalemate' => 'Google Fonts',
836
- 'Stalinist One' => 'Google Fonts',
837
- 'Stardos Stencil' => 'Google Fonts',
838
- 'Stint Ultra Condensed' => 'Google Fonts',
839
- 'Stint Ultra Expanded' => 'Google Fonts',
840
- 'Stoke' => 'Google Fonts',
841
- 'Strait' => 'Google Fonts',
842
- 'Stylish' => 'Google Fonts',
843
- 'Sue Ellen Francisco' => 'Google Fonts',
844
- 'Suez One' => 'Google Fonts',
845
- 'Sumana' => 'Google Fonts',
846
- 'Sunflower' => 'Google Fonts',
847
- 'Sunshiney' => 'Google Fonts',
848
- 'Supermercado One' => 'Google Fonts',
849
- 'Sura' => 'Google Fonts',
850
- 'Suranna' => 'Google Fonts',
851
- 'Suravaram' => 'Google Fonts',
852
- 'Suwannaphum' => 'Google Fonts',
853
- 'Swanky and Moo Moo' => 'Google Fonts',
854
- 'Syncopate' => 'Google Fonts',
855
- 'Tajawal' => 'Google Fonts',
856
- 'Tangerine' => 'Google Fonts',
857
- 'Taprom' => 'Google Fonts',
858
- 'Tauri' => 'Google Fonts',
859
- 'Taviraj' => 'Google Fonts',
860
- 'Teko' => 'Google Fonts',
861
- 'Telex' => 'Google Fonts',
862
- 'Tenali Ramakrishna' => 'Google Fonts',
863
- 'Tenor Sans' => 'Google Fonts',
864
- 'Text Me One' => 'Google Fonts',
865
- 'The Girl Next Door' => 'Google Fonts',
866
- 'Tienne' => 'Google Fonts',
867
- 'Tillana' => 'Google Fonts',
868
- 'Timmana' => 'Google Fonts',
869
- 'Tinos' => 'Google Fonts',
870
- 'Titan One' => 'Google Fonts',
871
- 'Titillium Web' => 'Google Fonts',
872
- 'Trade Winds' => 'Google Fonts',
873
- 'Trirong' => 'Google Fonts',
874
- 'Trocchi' => 'Google Fonts',
875
- 'Trochut' => 'Google Fonts',
876
- 'Trykker' => 'Google Fonts',
877
- 'Tulpen One' => 'Google Fonts',
878
- 'Ubuntu' => 'Google Fonts',
879
- 'Ubuntu Condensed' => 'Google Fonts',
880
- 'Ubuntu Mono' => 'Google Fonts',
881
- 'Ultra' => 'Google Fonts',
882
- 'Uncial Antiqua' => 'Google Fonts',
883
- 'Underdog' => 'Google Fonts',
884
- 'Unica One' => 'Google Fonts',
885
- 'UnifrakturCook' => 'Google Fonts',
886
- 'UnifrakturMaguntia' => 'Google Fonts',
887
- 'Unkempt' => 'Google Fonts',
888
- 'Unlock' => 'Google Fonts',
889
- 'Unna' => 'Google Fonts',
890
- 'VT323' => 'Google Fonts',
891
- 'Vampiro One' => 'Google Fonts',
892
- 'Varela' => 'Google Fonts',
893
- 'Varela Round' => 'Google Fonts',
894
- 'Vast Shadow' => 'Google Fonts',
895
- 'Vesper Libre' => 'Google Fonts',
896
- 'Vibur' => 'Google Fonts',
897
- 'Vidaloka' => 'Google Fonts',
898
- 'Viga' => 'Google Fonts',
899
- 'Voces' => 'Google Fonts',
900
- 'Volkhov' => 'Google Fonts',
901
- 'Vollkorn' => 'Google Fonts',
902
- 'Vollkorn SC' => 'Google Fonts',
903
- 'Voltaire' => 'Google Fonts',
904
- 'Waiting for the Sunrise' => 'Google Fonts',
905
- 'Wallpoet' => 'Google Fonts',
906
- 'Walter Turncoat' => 'Google Fonts',
907
- 'Warnes' => 'Google Fonts',
908
- 'Wellfleet' => 'Google Fonts',
909
- 'Wendy One' => 'Google Fonts',
910
- 'Wire One' => 'Google Fonts',
911
- 'Work Sans' => 'Google Fonts',
912
- 'Yanone Kaffeesatz' => 'Google Fonts',
913
- 'Yantramanav' => 'Google Fonts',
914
- 'Yatra One' => 'Google Fonts',
915
- 'Yellowtail' => 'Google Fonts',
916
- 'Yeon Sung' => 'Google Fonts',
917
- 'Yeseva One' => 'Google Fonts',
918
- 'Yesteryear' => 'Google Fonts',
919
- 'Yrsa' => 'Google Fonts',
920
- 'Zeyada' => 'Google Fonts',
921
- 'Zilla Slab' => 'Google Fonts',
922
- 'Zilla Slab Highlight' => 'Google Fonts',
923
- );
924
- }
925
  }
1
+ <?php
2
+ if ( !function_exists('myStickymenu_fonts')) {
3
+ function myStickymenu_fonts(){
4
+ return array(
5
+ // System fonts.
6
+ 'Arial' => 'Default',
7
+ 'Tahoma' => 'Default',
8
+ 'Verdana' => 'Default',
9
+ 'Helvetica' => 'Default',
10
+ 'Times New Roman' => 'Default',
11
+ 'Trebuchet MS' => 'Default',
12
+ 'Georgia' => 'Default',
13
+
14
+ // Google Fonts (last update: 23/10/2018).
15
+ 'ABeeZee' => 'Google Fonts',
16
+ 'Abel' => 'Google Fonts',
17
+ 'Abhaya Libre' => 'Google Fonts',
18
+ 'Abril Fatface' => 'Google Fonts',
19
+ 'Aclonica' => 'Google Fonts',
20
+ 'Acme' => 'Google Fonts',
21
+ 'Actor' => 'Google Fonts',
22
+ 'Adamina' => 'Google Fonts',
23
+ 'Advent Pro' => 'Google Fonts',
24
+ 'Aguafina Script' => 'Google Fonts',
25
+ 'Akronim' => 'Google Fonts',
26
+ 'Aladin' => 'Google Fonts',
27
+ 'Aldrich' => 'Google Fonts',
28
+ 'Alef' => 'Google Fonts',
29
+ 'Alef Hebrew' => 'Google Fonts', // Hack for Google Early Access.
30
+ 'Alegreya' => 'Google Fonts',
31
+ 'Alegreya SC' => 'Google Fonts',
32
+ 'Alegreya Sans' => 'Google Fonts',
33
+ 'Alegreya Sans SC' => 'Google Fonts',
34
+ 'Alex Brush' => 'Google Fonts',
35
+ 'Alfa Slab One' => 'Google Fonts',
36
+ 'Alice' => 'Google Fonts',
37
+ 'Alike' => 'Google Fonts',
38
+ 'Alike Angular' => 'Google Fonts',
39
+ 'Allan' => 'Google Fonts',
40
+ 'Allerta' => 'Google Fonts',
41
+ 'Allerta Stencil' => 'Google Fonts',
42
+ 'Allura' => 'Google Fonts',
43
+ 'Almendra' => 'Google Fonts',
44
+ 'Almendra Display' => 'Google Fonts',
45
+ 'Almendra SC' => 'Google Fonts',
46
+ 'Amarante' => 'Google Fonts',
47
+ 'Amaranth' => 'Google Fonts',
48
+ 'Amatic SC' => 'Google Fonts',
49
+ 'Amethysta' => 'Google Fonts',
50
+ 'Amiko' => 'Google Fonts',
51
+ 'Amiri' => 'Google Fonts',
52
+ 'Amita' => 'Google Fonts',
53
+ 'Anaheim' => 'Google Fonts',
54
+ 'Andada' => 'Google Fonts',
55
+ 'Andika' => 'Google Fonts',
56
+ 'Angkor' => 'Google Fonts',
57
+ 'Annie Use Your Telescope' => 'Google Fonts',
58
+ 'Anonymous Pro' => 'Google Fonts',
59
+ 'Antic' => 'Google Fonts',
60
+ 'Antic Didone' => 'Google Fonts',
61
+ 'Antic Slab' => 'Google Fonts',
62
+ 'Anton' => 'Google Fonts',
63
+ 'Arapey' => 'Google Fonts',
64
+ 'Arbutus' => 'Google Fonts',
65
+ 'Arbutus Slab' => 'Google Fonts',
66
+ 'Architects Daughter' => 'Google Fonts',
67
+ 'Archivo' => 'Google Fonts',
68
+ 'Archivo Black' => 'Google Fonts',
69
+ 'Archivo Narrow' => 'Google Fonts',
70
+ 'Aref Ruqaa' => 'Google Fonts',
71
+ 'Arima Madurai' => 'Google Fonts',
72
+ 'Arimo' => 'Google Fonts',
73
+ 'Arizonia' => 'Google Fonts',
74
+ 'Armata' => 'Google Fonts',
75
+ 'Arsenal' => 'Google Fonts',
76
+ 'Artifika' => 'Google Fonts',
77
+ 'Arvo' => 'Google Fonts',
78
+ 'Arya' => 'Google Fonts',
79
+ 'Asap' => 'Google Fonts',
80
+ 'Asap Condensed' => 'Google Fonts',
81
+ 'Asar' => 'Google Fonts',
82
+ 'Asset' => 'Google Fonts',
83
+ 'Assistant' => 'Google Fonts',
84
+ 'Astloch' => 'Google Fonts',
85
+ 'Asul' => 'Google Fonts',
86
+ 'Athiti' => 'Google Fonts',
87
+ 'Atma' => 'Google Fonts',
88
+ 'Atomic Age' => 'Google Fonts',
89
+ 'Aubrey' => 'Google Fonts',
90
+ 'Audiowide' => 'Google Fonts',
91
+ 'Autour One' => 'Google Fonts',
92
+ 'Average' => 'Google Fonts',
93
+ 'Average Sans' => 'Google Fonts',
94
+ 'Averia Gruesa Libre' => 'Google Fonts',
95
+ 'Averia Libre' => 'Google Fonts',
96
+ 'Averia Sans Libre' => 'Google Fonts',
97
+ 'Averia Serif Libre' => 'Google Fonts',
98
+ 'Bad Script' => 'Google Fonts',
99
+ 'Bahiana' => 'Google Fonts',
100
+ 'Bai Jamjuree' => 'Google Fonts',
101
+ 'Baloo' => 'Google Fonts',
102
+ 'Baloo Bhai' => 'Google Fonts',
103
+ 'Baloo Bhaijaan' => 'Google Fonts',
104
+ 'Baloo Bhaina' => 'Google Fonts',
105
+ 'Baloo Chettan' => 'Google Fonts',
106
+ 'Baloo Da' => 'Google Fonts',
107
+ 'Baloo Paaji' => 'Google Fonts',
108
+ 'Baloo Tamma' => 'Google Fonts',
109
+ 'Baloo Tammudu' => 'Google Fonts',
110
+ 'Baloo Thambi' => 'Google Fonts',
111
+ 'Balthazar' => 'Google Fonts',
112
+ 'Bangers' => 'Google Fonts',
113
+ 'Barlow' => 'Google Fonts',
114
+ 'Barlow Condensed' => 'Google Fonts',
115
+ 'Barlow Semi Condensed' => 'Google Fonts',
116
+ 'Barrio' => 'Google Fonts',
117
+ 'Basic' => 'Google Fonts',
118
+ 'Battambang' => 'Google Fonts',
119
+ 'Baumans' => 'Google Fonts',
120
+ 'Bayon' => 'Google Fonts',
121
+ 'Belgrano' => 'Google Fonts',
122
+ 'Bellefair' => 'Google Fonts',
123
+ 'Belleza' => 'Google Fonts',
124
+ 'BenchNine' => 'Google Fonts',
125
+ 'Bentham' => 'Google Fonts',
126
+ 'Berkshire Swash' => 'Google Fonts',
127
+ 'Bevan' => 'Google Fonts',
128
+ 'Bigelow Rules' => 'Google Fonts',
129
+ 'Bigshot One' => 'Google Fonts',
130
+ 'Bilbo' => 'Google Fonts',
131
+ 'Bilbo Swash Caps' => 'Google Fonts',
132
+ 'BioRhyme' => 'Google Fonts',
133
+ 'BioRhyme Expanded' => 'Google Fonts',
134
+ 'Biryani' => 'Google Fonts',
135
+ 'Bitter' => 'Google Fonts',
136
+ 'Black And White Picture' => 'Google Fonts',
137
+ 'Black Han Sans' => 'Google Fonts',
138
+ 'Black Ops One' => 'Google Fonts',
139
+ 'Bokor' => 'Google Fonts',
140
+ 'Bonbon' => 'Google Fonts',
141
+ 'Boogaloo' => 'Google Fonts',
142
+ 'Bowlby One' => 'Google Fonts',
143
+ 'Bowlby One SC' => 'Google Fonts',
144
+ 'Brawler' => 'Google Fonts',
145
+ 'Bree Serif' => 'Google Fonts',
146
+ 'Bubblegum Sans' => 'Google Fonts',
147
+ 'Bubbler One' => 'Google Fonts',
148
+ 'Buda' => 'Google Fonts',
149
+ 'Buenard' => 'Google Fonts',
150
+ 'Bungee' => 'Google Fonts',
151
+ 'Bungee Hairline' => 'Google Fonts',
152
+ 'Bungee Inline' => 'Google Fonts',
153
+ 'Bungee Outline' => 'Google Fonts',
154
+ 'Bungee Shade' => 'Google Fonts',
155
+ 'Butcherman' => 'Google Fonts',
156
+ 'Butterfly Kids' => 'Google Fonts',
157
+ 'Cabin' => 'Google Fonts',
158
+ 'Cabin Condensed' => 'Google Fonts',
159
+ 'Cabin Sketch' => 'Google Fonts',
160
+ 'Caesar Dressing' => 'Google Fonts',
161
+ 'Cagliostro' => 'Google Fonts',
162
+ 'Cairo' => 'Google Fonts',
163
+ 'Calligraffitti' => 'Google Fonts',
164
+ 'Cambay' => 'Google Fonts',
165
+ 'Cambo' => 'Google Fonts',
166
+ 'Candal' => 'Google Fonts',
167
+ 'Cantarell' => 'Google Fonts',
168
+ 'Cantata One' => 'Google Fonts',
169
+ 'Cantora One' => 'Google Fonts',
170
+ 'Capriola' => 'Google Fonts',
171
+ 'Cardo' => 'Google Fonts',
172
+ 'Carme' => 'Google Fonts',
173
+ 'Carrois Gothic' => 'Google Fonts',
174
+ 'Carrois Gothic SC' => 'Google Fonts',
175
+ 'Carter One' => 'Google Fonts',
176
+ 'Catamaran' => 'Google Fonts',
177
+ 'Caudex' => 'Google Fonts',
178
+ 'Caveat' => 'Google Fonts',
179
+ 'Caveat Brush' => 'Google Fonts',
180
+ 'Cedarville Cursive' => 'Google Fonts',
181
+ 'Ceviche One' => 'Google Fonts',
182
+ 'Chakra Petch' => 'Google Fonts',
183
+ 'Changa' => 'Google Fonts',
184
+ 'Changa One' => 'Google Fonts',
185
+ 'Chango' => 'Google Fonts',
186
+ 'Charmonman' => 'Google Fonts',
187
+ 'Chathura' => 'Google Fonts',
188
+ 'Chau Philomene One' => 'Google Fonts',
189
+ 'Chela One' => 'Google Fonts',
190
+ 'Chelsea Market' => 'Google Fonts',
191
+ 'Chenla' => 'Google Fonts',
192
+ 'Cherry Cream Soda' => 'Google Fonts',
193
+ 'Cherry Swash' => 'Google Fonts',
194
+ 'Chewy' => 'Google Fonts',
195
+ 'Chicle' => 'Google Fonts',
196
+ 'Chivo' => 'Google Fonts',
197
+ 'Chonburi' => 'Google Fonts',
198
+ 'Cinzel' => 'Google Fonts',
199
+ 'Cinzel Decorative' => 'Google Fonts',
200
+ 'Clicker Script' => 'Google Fonts',
201
+ 'Coda' => 'Google Fonts',
202
+ 'Coda Caption' => 'Google Fonts',
203
+ 'Codystar' => 'Google Fonts',
204
+ 'Coiny' => 'Google Fonts',
205
+ 'Combo' => 'Google Fonts',
206
+ 'Comfortaa' => 'Google Fonts',
207
+ 'Coming Soon' => 'Google Fonts',
208
+ 'Concert One' => 'Google Fonts',
209
+ 'Condiment' => 'Google Fonts',
210
+ 'Content' => 'Google Fonts',
211
+ 'Contrail One' => 'Google Fonts',
212
+ 'Convergence' => 'Google Fonts',
213
+ 'Cookie' => 'Google Fonts',
214
+ 'Copse' => 'Google Fonts',
215
+ 'Corben' => 'Google Fonts',
216
+ 'Cormorant' => 'Google Fonts',
217
+ 'Cormorant Garamond' => 'Google Fonts',
218
+ 'Cormorant Infant' => 'Google Fonts',
219
+ 'Cormorant SC' => 'Google Fonts',
220
+ 'Cormorant Unicase' => 'Google Fonts',
221
+ 'Cormorant Upright' => 'Google Fonts',
222
+ 'Courgette' => 'Google Fonts',
223
+ 'Cousine' => 'Google Fonts',
224
+ 'Coustard' => 'Google Fonts',
225
+ 'Covered By Your Grace' => 'Google Fonts',
226
+ 'Crafty Girls' => 'Google Fonts',
227
+ 'Creepster' => 'Google Fonts',
228
+ 'Crete Round' => 'Google Fonts',
229
+ 'Crimson Text' => 'Google Fonts',
230
+ 'Croissant One' => 'Google Fonts',
231
+ 'Crushed' => 'Google Fonts',
232
+ 'Cuprum' => 'Google Fonts',
233
+ 'Cute Font' => 'Google Fonts',
234
+ 'Cutive' => 'Google Fonts',
235
+ 'Cutive Mono' => 'Google Fonts',
236
+ 'Damion' => 'Google Fonts',
237
+ 'Dancing Script' => 'Google Fonts',
238
+ 'Dangrek' => 'Google Fonts',
239
+ 'David Libre' => 'Google Fonts',
240
+ 'Dawning of a New Day' => 'Google Fonts',
241
+ 'Days One' => 'Google Fonts',
242
+ 'Dekko' => 'Google Fonts',
243
+ 'Delius' => 'Google Fonts',
244
+ 'Delius Swash Caps' => 'Google Fonts',
245
+ 'Delius Unicase' => 'Google Fonts',
246
+ 'Della Respira' => 'Google Fonts',
247
+ 'Denk One' => 'Google Fonts',
248
+ 'Devonshire' => 'Google Fonts',
249
+ 'Dhurjati' => 'Google Fonts',
250
+ 'Didact Gothic' => 'Google Fonts',
251
+ 'Diplomata' => 'Google Fonts',
252
+ 'Diplomata SC' => 'Google Fonts',
253
+ 'Do Hyeon' => 'Google Fonts',
254
+ 'Dokdo' => 'Google Fonts',
255
+ 'Domine' => 'Google Fonts',
256
+ 'Donegal One' => 'Google Fonts',
257
+ 'Doppio One' => 'Google Fonts',
258
+ 'Dorsa' => 'Google Fonts',
259
+ 'Dosis' => 'Google Fonts',
260
+ 'Dr Sugiyama' => 'Google Fonts',
261
+ 'Droid Arabic Kufi' => 'Google Fonts', // Hack for Google Early Access.
262
+ 'Droid Arabic Naskh' => 'Google Fonts', // Hack for Google Early Access.
263
+ 'Duru Sans' => 'Google Fonts',
264
+ 'Dynalight' => 'Google Fonts',
265
+ 'EB Garamond' => 'Google Fonts',
266
+ 'Eagle Lake' => 'Google Fonts',
267
+ 'East Sea Dokdo' => 'Google Fonts',
268
+ 'Eater' => 'Google Fonts',
269
+ 'Economica' => 'Google Fonts',
270
+ 'Eczar' => 'Google Fonts',
271
+ 'El Messiri' => 'Google Fonts',
272
+ 'Electrolize' => 'Google Fonts',
273
+ 'Elsie' => 'Google Fonts',
274
+ 'Elsie Swash Caps' => 'Google Fonts',
275
+ 'Emblema One' => 'Google Fonts',
276
+ 'Emilys Candy' => 'Google Fonts',
277
+ 'Encode Sans' => 'Google Fonts',
278
+ 'Encode Sans Condensed' => 'Google Fonts',
279
+ 'Encode Sans Expanded' => 'Google Fonts',
280
+ 'Encode Sans Semi Condensed' => 'Google Fonts',
281
+ 'Encode Sans Semi Expanded' => 'Google Fonts',
282
+ 'Engagement' => 'Google Fonts',
283
+ 'Englebert' => 'Google Fonts',
284
+ 'Enriqueta' => 'Google Fonts',
285
+ 'Erica One' => 'Google Fonts',
286
+ 'Esteban' => 'Google Fonts',
287
+ 'Euphoria Script' => 'Google Fonts',
288
+ 'Ewert' => 'Google Fonts',
289
+ 'Exo' => 'Google Fonts',
290
+ 'Exo 2' => 'Google Fonts',
291
+ 'Expletus Sans' => 'Google Fonts',
292
+ 'Fahkwang' => 'Google Fonts',
293
+ 'Fanwood Text' => 'Google Fonts',
294
+ 'Farsan' => 'Google Fonts',
295
+ 'Fascinate' => 'Google Fonts',
296
+ 'Fascinate Inline' => 'Google Fonts',
297
+ 'Faster One' => 'Google Fonts',
298
+ 'Fasthand' => 'Google Fonts',
299
+ 'Fauna One' => 'Google Fonts',
300
+ 'Faustina' => 'Google Fonts',
301
+ 'Federant' => 'Google Fonts',
302
+ 'Federo' => 'Google Fonts',
303
+ 'Felipa' => 'Google Fonts',
304
+ 'Fenix' => 'Google Fonts',
305
+ 'Finger Paint' => 'Google Fonts',
306
+ 'Fira Mono' => 'Google Fonts',
307
+ 'Fira Sans' => 'Google Fonts',
308
+ 'Fira Sans Condensed' => 'Google Fonts',
309
+ 'Fira Sans Extra Condensed' => 'Google Fonts',
310
+ 'Fjalla One' => 'Google Fonts',
311
+ 'Fjord One' => 'Google Fonts',
312
+ 'Flamenco' => 'Google Fonts',
313
+ 'Flavors' => 'Google Fonts',
314
+ 'Fondamento' => 'Google Fonts',
315
+ 'Fontdiner Swanky' => 'Google Fonts',
316
+ 'Forum' => 'Google Fonts',
317
+ 'Francois One' => 'Google Fonts',
318
+ 'Frank Ruhl Libre' => 'Google Fonts',
319
+ 'Freckle Face' => 'Google Fonts',
320
+ 'Fredericka the Great' => 'Google Fonts',
321
+ 'Fredoka One' => 'Google Fonts',
322
+ 'Freehand' => 'Google Fonts',
323
+ 'Fresca' => 'Google Fonts',
324
+ 'Frijole' => 'Google Fonts',
325
+ 'Fruktur' => 'Google Fonts',
326
+ 'Fugaz One' => 'Google Fonts',
327
+ 'GFS Didot' => 'Google Fonts',
328
+ 'GFS Neohellenic' => 'Google Fonts',
329
+ 'Gabriela' => 'Google Fonts',
330
+ 'Gaegu' => 'Google Fonts',
331
+ 'Gafata' => 'Google Fonts',
332
+ 'Galada' => 'Google Fonts',
333
+ 'Galdeano' => 'Google Fonts',
334
+ 'Galindo' => 'Google Fonts',
335
+ 'Gamja Flower' => 'Google Fonts',
336
+ 'Gentium Basic' => 'Google Fonts',
337
+ 'Gentium Book Basic' => 'Google Fonts',
338
+ 'Geo' => 'Google Fonts',
339
+ 'Geostar' => 'Google Fonts',
340
+ 'Geostar Fill' => 'Google Fonts',
341
+ 'Germania One' => 'Google Fonts',
342
+ 'Gidugu' => 'Google Fonts',
343
+ 'Gilda Display' => 'Google Fonts',
344
+ 'Give You Glory' => 'Google Fonts',
345
+ 'Glass Antiqua' => 'Google Fonts',
346
+ 'Glegoo' => 'Google Fonts',
347
+ 'Gloria Hallelujah' => 'Google Fonts',
348
+ 'Goblin One' => 'Google Fonts',
349
+ 'Gochi Hand' => 'Google Fonts',
350
+ 'Gorditas' => 'Google Fonts',
351
+ 'Gothic A1' => 'Google Fonts',
352
+ 'Goudy Bookletter 1911' => 'Google Fonts',
353
+ 'Graduate' => 'Google Fonts',
354
+ 'Grand Hotel' => 'Google Fonts',
355
+ 'Gravitas One' => 'Google Fonts',
356
+ 'Great Vibes' => 'Google Fonts',
357
+ 'Griffy' => 'Google Fonts',
358
+ 'Gruppo' => 'Google Fonts',
359
+ 'Gudea' => 'Google Fonts',
360
+ 'Gugi' => 'Google Fonts',
361
+ 'Gurajada' => 'Google Fonts',
362
+ 'Habibi' => 'Google Fonts',
363
+ 'Halant' => 'Google Fonts',
364
+ 'Hammersmith One' => 'Google Fonts',
365
+ 'Hanalei' => 'Google Fonts',
366
+ 'Hanalei Fill' => 'Google Fonts',
367
+ 'Handlee' => 'Google Fonts',
368
+ 'Hanuman' => 'Google Fonts',
369
+ 'Happy Monkey' => 'Google Fonts',
370
+ 'Harmattan' => 'Google Fonts',
371
+ 'Headland One' => 'Google Fonts',
372
+ 'Heebo' => 'Google Fonts',
373
+ 'Henny Penny' => 'Google Fonts',
374
+ 'Herr Von Muellerhoff' => 'Google Fonts',
375
+ 'Hi Melody' => 'Google Fonts',
376
+ 'Hind' => 'Google Fonts',
377
+ 'Hind Guntur' => 'Google Fonts',
378
+ 'Hind Madurai' => 'Google Fonts',
379
+ 'Hind Siliguri' => 'Google Fonts',
380
+ 'Hind Vadodara' => 'Google Fonts',
381
+ 'Holtwood One SC' => 'Google Fonts',
382
+ 'Homemade Apple' => 'Google Fonts',
383
+ 'Homenaje' => 'Google Fonts',
384
+ 'IBM Plex Mono' => 'Google Fonts',
385
+ 'IBM Plex Sans' => 'Google Fonts',
386
+ 'IBM Plex Sans Condensed' => 'Google Fonts',
387
+ 'IBM Plex Serif' => 'Google Fonts',
388
+ 'IM Fell DW Pica' => 'Google Fonts',
389
+ 'IM Fell DW Pica SC' => 'Google Fonts',
390
+ 'IM Fell Double Pica' => 'Google Fonts',
391
+ 'IM Fell Double Pica SC' => 'Google Fonts',
392
+ 'IM Fell English' => 'Google Fonts',
393
+ 'IM Fell English SC' => 'Google Fonts',
394
+ 'IM Fell French Canon' => 'Google Fonts',
395
+ 'IM Fell French Canon SC' => 'Google Fonts',
396
+ 'IM Fell Great Primer' => 'Google Fonts',
397
+ 'IM Fell Great Primer SC' => 'Google Fonts',
398
+ 'Iceberg' => 'Google Fonts',
399
+ 'Iceland' => 'Google Fonts',
400
+ 'Imprima' => 'Google Fonts',
401
+ 'Inconsolata' => 'Google Fonts',
402
+ 'Inder' => 'Google Fonts',
403
+ 'Indie Flower' => 'Google Fonts',
404
+ 'Inika' => 'Google Fonts',
405
+ 'Inknut Antiqua' => 'Google Fonts',
406
+ 'Irish Grover' => 'Google Fonts',
407
+ 'Istok Web' => 'Google Fonts',
408
+ 'Italiana' => 'Google Fonts',
409
+ 'Italianno' => 'Google Fonts',
410
+ 'Itim' => 'Google Fonts',
411
+ 'Jacques Francois' => 'Google Fonts',
412
+ 'Jacques Francois Shadow' => 'Google Fonts',
413
+ 'Jaldi' => 'Google Fonts',
414
+ 'Jim Nightshade' => 'Google Fonts',
415
+ 'Jockey One' => 'Google Fonts',
416
+ 'Jolly Lodger' => 'Google Fonts',
417
+ 'Jomhuria' => 'Google Fonts',
418
+ 'Josefin Sans' => 'Google Fonts',
419
+ 'Josefin Slab' => 'Google Fonts',
420
+ 'Joti One' => 'Google Fonts',
421
+ 'Jua' => 'Google Fonts',
422
+ 'Judson' => 'Google Fonts',
423
+ 'Julee' => 'Google Fonts',
424
+ 'Julius Sans One' => 'Google Fonts',
425
+ 'Junge' => 'Google Fonts',
426
+ 'Jura' => 'Google Fonts',
427
+ 'Just Another Hand' => 'Google Fonts',
428
+ 'Just Me Again Down Here' => 'Google Fonts',
429
+ 'K2D' => 'Google Fonts',
430
+ 'Kadwa' => 'Google Fonts',
431
+ 'Kalam' => 'Google Fonts',
432
+ 'Kameron' => 'Google Fonts',
433
+ 'Kanit' => 'Google Fonts',
434
+ 'Kantumruy' => 'Google Fonts',
435
+ 'Karla' => 'Google Fonts',
436
+ 'Karma' => 'Google Fonts',
437
+ 'Katibeh' => 'Google Fonts',
438
+ 'Kaushan Script' => 'Google Fonts',
439
+ 'Kavivanar' => 'Google Fonts',
440
+ 'Kavoon' => 'Google Fonts',
441
+ 'Kdam Thmor' => 'Google Fonts',
442
+ 'Keania One' => 'Google Fonts',
443
+ 'Kelly Slab' => 'Google Fonts',
444
+ 'Kenia' => 'Google Fonts',
445
+ 'Khand' => 'Google Fonts',
446
+ 'Khmer' => 'Google Fonts',
447
+ 'Khula' => 'Google Fonts',
448
+ 'Kirang Haerang' => 'Google Fonts',
449
+ 'Kite One' => 'Google Fonts',
450
+ 'Knewave' => 'Google Fonts',
451
+ 'KoHo' => 'Google Fonts',
452
+ 'Kodchasan' => 'Google Fonts',
453
+ 'Kosugi' => 'Google Fonts',
454
+ 'Kosugi Maru' => 'Google Fonts',
455
+ 'Kotta One' => 'Google Fonts',
456
+ 'Koulen' => 'Google Fonts',
457
+ 'Kranky' => 'Google Fonts',
458
+ 'Kreon' => 'Google Fonts',
459
+ 'Kristi' => 'Google Fonts',
460
+ 'Krona One' => 'Google Fonts',
461
+ 'Krub' => 'Google Fonts',
462
+ 'Kumar One' => 'Google Fonts',
463
+ 'Kumar One Outline' => 'Google Fonts',
464
+ 'Kurale' => 'Google Fonts',
465
+ 'La Belle Aurore' => 'Google Fonts',
466
+ 'Laila' => 'Google Fonts',
467
+ 'Lakki Reddy' => 'Google Fonts',
468
+ 'Lalezar' => 'Google Fonts',
469
+ 'Lancelot' => 'Google Fonts',
470
+ 'Lateef' => 'Google Fonts',
471
+ 'Lato' => 'Google Fonts',
472
+ 'League Script' => 'Google Fonts',
473
+ 'Leckerli One' => 'Google Fonts',
474
+ 'Ledger' => 'Google Fonts',
475
+ 'Lekton' => 'Google Fonts',
476
+ 'Lemon' => 'Google Fonts',
477
+ 'Lemonada' => 'Google Fonts',
478
+ 'Libre Barcode 128' => 'Google Fonts',
479
+ 'Libre Barcode 128 Text' => 'Google Fonts',
480
+ 'Libre Barcode 39' => 'Google Fonts',
481
+ 'Libre Barcode 39 Extended' => 'Google Fonts',
482
+ 'Libre Barcode 39 Extended Text' => 'Google Fonts',
483
+ 'Libre Barcode 39 Text' => 'Google Fonts',
484
+ 'Libre Baskerville' => 'Google Fonts',
485
+ 'Libre Franklin' => 'Google Fonts',
486
+ 'Life Savers' => 'Google Fonts',
487
+ 'Lilita One' => 'Google Fonts',
488
+ 'Lily Script One' => 'Google Fonts',
489
+ 'Limelight' => 'Google Fonts',
490
+ 'Linden Hill' => 'Google Fonts',
491
+ 'Lobster' => 'Google Fonts',
492
+ 'Lobster Two' => 'Google Fonts',
493
+ 'Londrina Outline' => 'Google Fonts',
494
+ 'Londrina Shadow' => 'Google Fonts',
495
+ 'Londrina Sketch' => 'Google Fonts',
496
+ 'Londrina Solid' => 'Google Fonts',
497
+ 'Lora' => 'Google Fonts',
498
+ 'Love Ya Like A Sister' => 'Google Fonts',
499
+ 'Loved by the King' => 'Google Fonts',
500
+ 'Lovers Quarrel' => 'Google Fonts',
501
+ 'Luckiest Guy' => 'Google Fonts',
502
+ 'Lusitana' => 'Google Fonts',
503
+ 'Lustria' => 'Google Fonts',
504
+ 'M PLUS 1p' => 'Google Fonts',
505
+ 'M PLUS Rounded 1c' => 'Google Fonts',
506
+ 'Macondo' => 'Google Fonts',
507
+ 'Macondo Swash Caps' => 'Google Fonts',
508
+ 'Mada' => 'Google Fonts',
509
+ 'Magra' => 'Google Fonts',
510
+ 'Maiden Orange' => 'Google Fonts',
511
+ 'Maitree' => 'Google Fonts',
512
+ 'Mako' => 'Google Fonts',
513
+ 'Mali' => 'Google Fonts',
514
+ 'Mallanna' => 'Google Fonts',
515
+ 'Mandali' => 'Google Fonts',
516
+ 'Manuale' => 'Google Fonts',
517
+ 'Marcellus' => 'Google Fonts',
518
+ 'Marcellus SC' => 'Google Fonts',
519
+ 'Marck Script' => 'Google Fonts',
520
+ 'Margarine' => 'Google Fonts',
521
+ 'Markazi Text' => 'Google Fonts',
522
+ 'Marko One' => 'Google Fonts',
523
+ 'Marmelad' => 'Google Fonts',
524
+ 'Martel' => 'Google Fonts',
525
+ 'Martel Sans' => 'Google Fonts',
526
+ 'Marvel' => 'Google Fonts',
527
+ 'Mate' => 'Google Fonts',
528
+ 'Mate SC' => 'Google Fonts',
529
+ 'Maven Pro' => 'Google Fonts',
530
+ 'McLaren' => 'Google Fonts',
531
+ 'Meddon' => 'Google Fonts',
532
+ 'MedievalSharp' => 'Google Fonts',
533
+ 'Medula One' => 'Google Fonts',
534
+ 'Meera Inimai' => 'Google Fonts',
535
+ 'Megrim' => 'Google Fonts',
536
+ 'Meie Script' => 'Google Fonts',
537
+ 'Merienda' => 'Google Fonts',
538
+ 'Merienda One' => 'Google Fonts',
539
+ 'Merriweather' => 'Google Fonts',
540
+ 'Merriweather Sans' => 'Google Fonts',
541
+ 'Metal' => 'Google Fonts',
542
+ 'Metal Mania' => 'Google Fonts',
543
+ 'Metamorphous' => 'Google Fonts',
544
+ 'Metrophobic' => 'Google Fonts',
545
+ 'Michroma' => 'Google Fonts',
546
+ 'Milonga' => 'Google Fonts',
547
+ 'Miltonian' => 'Google Fonts',
548
+ 'Miltonian Tattoo' => 'Google Fonts',
549
+ 'Mina' => 'Google Fonts',
550
+ 'Miniver' => 'Google Fonts',
551
+ 'Miriam Libre' => 'Google Fonts',
552
+ 'Mirza' => 'Google Fonts',
553
+ 'Miss Fajardose' => 'Google Fonts',
554
+ 'Mitr' => 'Google Fonts',
555
+ 'Modak' => 'Google Fonts',
556
+ 'Modern Antiqua' => 'Google Fonts',
557
+ 'Mogra' => 'Google Fonts',
558
+ 'Molengo' => 'Google Fonts',
559
+ 'Molle' => 'Google Fonts',
560
+ 'Monda' => 'Google Fonts',
561
+ 'Monofett' => 'Google Fonts',
562
+ 'Monoton' => 'Google Fonts',
563
+ 'Monsieur La Doulaise' => 'Google Fonts',
564
+ 'Montaga' => 'Google Fonts',
565
+ 'Montez' => 'Google Fonts',
566
+ 'Montserrat' => 'Google Fonts',
567
+ 'Montserrat Alternates' => 'Google Fonts',
568
+ 'Montserrat Subrayada' => 'Google Fonts',
569
+ 'Moul' => 'Google Fonts',
570
+ 'Moulpali' => 'Google Fonts',
571
+ 'Mountains of Christmas' => 'Google Fonts',
572
+ 'Mouse Memoirs' => 'Google Fonts',
573
+ 'Mr Bedfort' => 'Google Fonts',
574
+ 'Mr Dafoe' => 'Google Fonts',
575
+ 'Mr De Haviland' => 'Google Fonts',
576
+ 'Mrs Saint Delafield' => 'Google Fonts',
577
+ 'Mrs Sheppards' => 'Google Fonts',
578
+ 'Mukta' => 'Google Fonts',
579
+ 'Mukta Mahee' => 'Google Fonts',
580
+ 'Mukta Malar' => 'Google Fonts',
581
+ 'Mukta Vaani' => 'Google Fonts',
582
+ 'Muli' => 'Google Fonts',
583
+ 'Mystery Quest' => 'Google Fonts',
584
+ 'NTR' => 'Google Fonts',
585
+ 'Nanum Brush Script' => 'Google Fonts',
586
+ 'Nanum Gothic' => 'Google Fonts',
587
+ 'Nanum Gothic Coding' => 'Google Fonts',
588
+ 'Nanum Myeongjo' => 'Google Fonts',
589
+ 'Nanum Pen Script' => 'Google Fonts',
590
+ 'Neucha' => 'Google Fonts',
591
+ 'Neuton' => 'Google Fonts',
592
+ 'New Rocker' => 'Google Fonts',
593
+ 'News Cycle' => 'Google Fonts',
594
+ 'Niconne' => 'Google Fonts',
595
+ 'Niramit' => 'Google Fonts',
596
+ 'Nixie One' => 'Google Fonts',
597
+ 'Nobile' => 'Google Fonts',
598
+ 'Nokora' => 'Google Fonts',
599
+ 'Norican' => 'Google Fonts',
600
+ 'Nosifer' => 'Google Fonts',
601
+ 'Notable' => 'Google Fonts',
602
+ 'Nothing You Could Do' => 'Google Fonts',
603
+ 'Noticia Text' => 'Google Fonts',
604
+ 'Noto Kufi Arabic' => 'Google Fonts', // Hack for Google Early Access.
605
+ 'Noto Naskh Arabic' => 'Google Fonts', // Hack for Google Early Access.
606
+ 'Noto Sans' => 'Google Fonts',
607
+ 'Noto Sans Hebrew' => 'Google Fonts', // Hack for Google Early Access.
608
+ 'Noto Sans JP' => 'Google Fonts',
609
+ 'Noto Sans KR' => 'Google Fonts',
610
+ 'Noto Serif' => 'Google Fonts',
611
+ 'Noto Serif JP' => 'Google Fonts',
612
+ 'Noto Serif KR' => 'Google Fonts',
613
+ 'Nova Cut' => 'Google Fonts',
614
+ 'Nova Flat' => 'Google Fonts',
615
+ 'Nova Mono' => 'Google Fonts',
616
+ 'Nova Oval' => 'Google Fonts',
617
+ 'Nova Round' => 'Google Fonts',
618
+ 'Nova Script' => 'Google Fonts',
619
+ 'Nova Slim' => 'Google Fonts',
620
+ 'Nova Square' => 'Google Fonts',
621
+ 'Numans' => 'Google Fonts',
622
+ 'Nunito' => 'Google Fonts',
623
+ 'Nunito Sans' => 'Google Fonts',
624
+ 'Odor Mean Chey' => 'Google Fonts',
625
+ 'Offside' => 'Google Fonts',
626
+ 'Old Standard TT' => 'Google Fonts',
627
+ 'Oldenburg' => 'Google Fonts',
628
+ 'Oleo Script' => 'Google Fonts',
629
+ 'Oleo Script Swash Caps' => 'Google Fonts',
630
+ 'Open Sans' => 'Google Fonts',
631
+ 'Open Sans Condensed' => 'Google Fonts',
632
+ 'Open Sans Hebrew' => 'Google Fonts', // Hack for Google Early Access.
633
+ 'Open Sans Hebrew Condensed' => 'Google Fonts', // Hack for Google Early Access.
634
+ 'Oranienbaum' => 'Google Fonts',
635
+ 'Orbitron' => 'Google Fonts',
636
+ 'Oregano' => 'Google Fonts',
637
+ 'Orienta' => 'Google Fonts',
638
+ 'Original Surfer' => 'Google Fonts',
639
+ 'Oswald' => 'Google Fonts',
640
+ 'Over the Rainbow' => 'Google Fonts',
641
+ 'Overlock' => 'Google Fonts',
642
+ 'Overlock SC' => 'Google Fonts',
643
+ 'Overpass' => 'Google Fonts',
644
+ 'Overpass Mono' => 'Google Fonts',
645
+ 'Ovo' => 'Google Fonts',
646
+ 'Oxygen' => 'Google Fonts',
647
+ 'Oxygen Mono' => 'Google Fonts',
648
+ 'PT Mono' => 'Google Fonts',
649
+ 'PT Sans' => 'Google Fonts',
650
+ 'PT Sans Caption' => 'Google Fonts',
651
+ 'PT Sans Narrow' => 'Google Fonts',
652
+ 'PT Serif' => 'Google Fonts',
653
+ 'PT Serif Caption' => 'Google Fonts',
654
+ 'Pacifico' => 'Google Fonts',
655
+ 'Padauk' => 'Google Fonts',
656
+ 'Palanquin' => 'Google Fonts',
657
+ 'Palanquin Dark' => 'Google Fonts',
658
+ 'Pangolin' => 'Google Fonts',
659
+ 'Paprika' => 'Google Fonts',
660
+ 'Parisienne' => 'Google Fonts',
661
+ 'Passero One' => 'Google Fonts',
662
+ 'Passion One' => 'Google Fonts',
663
+ 'Pathway Gothic One' => 'Google Fonts',
664
+ 'Patrick Hand' => 'Google Fonts',
665
+ 'Patrick Hand SC' => 'Google Fonts',
666
+ 'Pattaya' => 'Google Fonts',
667
+ 'Patua One' => 'Google Fonts',
668
+ 'Pavanam' => 'Google Fonts',
669
+ 'Paytone One' => 'Google Fonts',
670
+ 'Peddana' => 'Google Fonts',
671
+ 'Peralta' => 'Google Fonts',
672
+ 'Permanent Marker' => 'Google Fonts',
673
+ 'Petit Formal Script' => 'Google Fonts',
674
+ 'Petrona' => 'Google Fonts',
675
+ 'Philosopher' => 'Google Fonts',
676
+ 'Piedra' => 'Google Fonts',
677
+ 'Pinyon Script' => 'Google Fonts',
678
+ 'Pirata One' => 'Google Fonts',
679
+ 'Plaster' => 'Google Fonts',
680
+ 'Play' => 'Google Fonts',
681
+ 'Playball' => 'Google Fonts',
682
+ 'Playfair Display' => 'Google Fonts',
683
+ 'Playfair Display SC' => 'Google Fonts',
684
+ 'Podkova' => 'Google Fonts',
685
+ 'Poiret One' => 'Google Fonts',
686
+ 'Poller One' => 'Google Fonts',
687
+ 'Poly' => 'Google Fonts',
688
+ 'Pompiere' => 'Google Fonts',
689
+ 'Pontano Sans' => 'Google Fonts',
690
+ 'Poor Story' => 'Google Fonts',
691
+ 'Poppins' => 'Google Fonts',
692
+ 'Port Lligat Sans' => 'Google Fonts',
693
+ 'Port Lligat Slab' => 'Google Fonts',
694
+ 'Pragati Narrow' => 'Google Fonts',
695
+ 'Prata' => 'Google Fonts',
696
+ 'Preahvihear' => 'Google Fonts',
697
+ 'Press Start 2P' => 'Google Fonts',
698
+ 'Pridi' => 'Google Fonts',
699
+ 'Princess Sofia' => 'Google Fonts',
700
+ 'Prociono' => 'Google Fonts',
701
+ 'Prompt' => 'Google Fonts',
702
+ 'Prosto One' => 'Google Fonts',
703
+ 'Proza Libre' => 'Google Fonts',
704
+ 'Puritan' => 'Google Fonts',
705
+ 'Purple Purse' => 'Google Fonts',
706
+ 'Quando' => 'Google Fonts',
707
+ 'Quantico' => 'Google Fonts',
708
+ 'Quattrocento' => 'Google Fonts',
709
+ 'Quattrocento Sans' => 'Google Fonts',
710
+ 'Questrial' => 'Google Fonts',
711
+ 'Quicksand' => 'Google Fonts',
712
+ 'Quintessential' => 'Google Fonts',
713
+ 'Qwigley' => 'Google Fonts',
714
+ 'Racing Sans One' => 'Google Fonts',
715
+ 'Radley' => 'Google Fonts',
716
+ 'Rajdhani' => 'Google Fonts',
717
+ 'Rakkas' => 'Google Fonts',
718
+ 'Raleway' => 'Google Fonts',
719
+ 'Raleway Dots' => 'Google Fonts',
720
+ 'Ramabhadra' => 'Google Fonts',
721
+ 'Ramaraja' => 'Google Fonts',
722
+ 'Rambla' => 'Google Fonts',
723
+ 'Rammetto One' => 'Google Fonts',
724
+ 'Ranchers' => 'Google Fonts',
725
+ 'Rancho' => 'Google Fonts',
726
+ 'Ranga' => 'Google Fonts',
727
+ 'Rasa' => 'Google Fonts',
728
+ 'Rationale' => 'Google Fonts',
729
+ 'Ravi Prakash' => 'Google Fonts',
730
+ 'Redressed' => 'Google Fonts',
731
+ 'Reem Kufi' => 'Google Fonts',
732
+ 'Reenie Beanie' => 'Google Fonts',
733
+ 'Revalia' => 'Google Fonts',
734
+ 'Rhodium Libre' => 'Google Fonts',
735
+ 'Ribeye' => 'Google Fonts',
736
+ 'Ribeye Marrow' => 'Google Fonts',
737
+ 'Righteous' => 'Google Fonts',
738
+ 'Risque' => 'Google Fonts',
739
+ 'Roboto' => 'Google Fonts',
740
+ 'Roboto Condensed' => 'Google Fonts',
741
+ 'Roboto Mono' => 'Google Fonts',
742
+ 'Roboto Slab' => 'Google Fonts',
743
+ 'Rochester' => 'Google Fonts',
744
+ 'Rock Salt' => 'Google Fonts',
745
+ 'Rokkitt' => 'Google Fonts',
746
+ 'Romanesco' => 'Google Fonts',
747
+ 'Ropa Sans' => 'Google Fonts',
748
+ 'Rosario' => 'Google Fonts',
749
+ 'Rosarivo' => 'Google Fonts',
750
+ 'Rouge Script' => 'Google Fonts',
751
+ 'Rozha One' => 'Google Fonts',
752
+ 'Rubik' => 'Google Fonts',
753
+ 'Rubik Mono One' => 'Google Fonts',
754
+ 'Ruda' => 'Google Fonts',
755
+ 'Rufina' => 'Google Fonts',
756
+ 'Ruge Boogie' => 'Google Fonts',
757
+ 'Ruluko' => 'Google Fonts',
758
+ 'Rum Raisin' => 'Google Fonts',
759
+ 'Ruslan Display' => 'Google Fonts',
760
+ 'Russo One' => 'Google Fonts',
761
+ 'Ruthie' => 'Google Fonts',
762
+ 'Rye' => 'Google Fonts',
763
+ 'Sacramento' => 'Google Fonts',
764
+ 'Sahitya' => 'Google Fonts',
765
+ 'Sail' => 'Google Fonts',
766
+ 'Saira' => 'Google Fonts',
767
+ 'Saira Condensed' => 'Google Fonts',
768
+ 'Saira Extra Condensed' => 'Google Fonts',
769
+ 'Saira Semi Condensed' => 'Google Fonts',
770
+ 'Salsa' => 'Google Fonts',
771
+ 'Sanchez' => 'Google Fonts',
772
+ 'Sancreek' => 'Google Fonts',
773
+ 'Sansita' => 'Google Fonts',
774
+ 'Sarala' => 'Google Fonts',
775
+ 'Sarina' => 'Google Fonts',
776
+ 'Sarpanch' => 'Google Fonts',
777
+ 'Satisfy' => 'Google Fonts',
778
+ 'Sawarabi Gothic' => 'Google Fonts',
779
+ 'Sawarabi Mincho' => 'Google Fonts',
780
+ 'Scada' => 'Google Fonts',
781
+ 'Scheherazade' => 'Google Fonts',
782
+ 'Schoolbell' => 'Google Fonts',
783
+ 'Scope One' => 'Google Fonts',
784
+ 'Seaweed Script' => 'Google Fonts',
785
+ 'Secular One' => 'Google Fonts',
786
+ 'Sedgwick Ave' => 'Google Fonts',
787
+ 'Sedgwick Ave Display' => 'Google Fonts',
788
+ 'Sevillana' => 'Google Fonts',
789
+ 'Seymour One' => 'Google Fonts',
790
+ 'Shadows Into Light' => 'Google Fonts',
791
+ 'Shadows Into Light Two' => 'Google Fonts',
792
+ 'Shanti' => 'Google Fonts',
793
+ 'Share' => 'Google Fonts',
794
+ 'Share Tech' => 'Google Fonts',
795
+ 'Share Tech Mono' => 'Google Fonts',
796
+ 'Shojumaru' => 'Google Fonts',
797
+ 'Short Stack' => 'Google Fonts',
798
+ 'Shrikhand' => 'Google Fonts',
799
+ 'Siemreap' => 'Google Fonts',
800
+ 'Sigmar One' => 'Google Fonts',
801
+ 'Signika' => 'Google Fonts',
802
+ 'Signika Negative' => 'Google Fonts',
803
+ 'Simonetta' => 'Google Fonts',
804
+ 'Sintony' => 'Google Fonts',
805
+ 'Sirin Stencil' => 'Google Fonts',
806
+ 'Six Caps' => 'Google Fonts',
807
+ 'Skranji' => 'Google Fonts',
808
+ 'Slabo 13px' => 'Google Fonts',
809
+ 'Slabo 27px' => 'Google Fonts',
810
+ 'Slackey' => 'Google Fonts',
811
+ 'Smokum' => 'Google Fonts',
812
+ 'Smythe' => 'Google Fonts',
813
+ 'Sniglet' => 'Google Fonts',
814
+ 'Snippet' => 'Google Fonts',
815
+ 'Snowburst One' => 'Google Fonts',
816
+ 'Sofadi One' => 'Google Fonts',
817
+ 'Sofia' => 'Google Fonts',
818
+ 'Song Myung' => 'Google Fonts',
819
+ 'Sonsie One' => 'Google Fonts',
820
+ 'Sorts Mill Goudy' => 'Google Fonts',
821
+ 'Source Code Pro' => 'Google Fonts',
822
+ 'Source Sans Pro' => 'Google Fonts',
823
+ 'Source Serif Pro' => 'Google Fonts',
824
+ 'Space Mono' => 'Google Fonts',
825
+ 'Special Elite' => 'Google Fonts',
826
+ 'Spectral' => 'Google Fonts',
827
+ 'Spectral SC' => 'Google Fonts',
828
+ 'Spicy Rice' => 'Google Fonts',
829
+ 'Spinnaker' => 'Google Fonts',
830
+ 'Spirax' => 'Google Fonts',
831
+ 'Squada One' => 'Google Fonts',
832
+ 'Sree Krushnadevaraya' => 'Google Fonts',
833
+ 'Sriracha' => 'Google Fonts',
834
+ 'Srisakdi' => 'Google Fonts',
835
+ 'Stalemate' => 'Google Fonts',
836
+ 'Stalinist One' => 'Google Fonts',
837
+ 'Stardos Stencil' => 'Google Fonts',
838
+ 'Stint Ultra Condensed' => 'Google Fonts',
839
+ 'Stint Ultra Expanded' => 'Google Fonts',
840
+ 'Stoke' => 'Google Fonts',
841
+ 'Strait' => 'Google Fonts',
842
+ 'Stylish' => 'Google Fonts',
843
+ 'Sue Ellen Francisco' => 'Google Fonts',
844
+ 'Suez One' => 'Google Fonts',
845
+ 'Sumana' => 'Google Fonts',
846
+ 'Sunflower' => 'Google Fonts',
847
+ 'Sunshiney' => 'Google Fonts',
848
+ 'Supermercado One' => 'Google Fonts',
849
+ 'Sura' => 'Google Fonts',
850
+ 'Suranna' => 'Google Fonts',
851
+ 'Suravaram' => 'Google Fonts',
852
+ 'Suwannaphum' => 'Google Fonts',
853
+ 'Swanky and Moo Moo' => 'Google Fonts',
854
+ 'Syncopate' => 'Google Fonts',
855
+ 'Tajawal' => 'Google Fonts',
856
+ 'Tangerine' => 'Google Fonts',
857
+ 'Taprom' => 'Google Fonts',
858
+ 'Tauri' => 'Google Fonts',
859
+ 'Taviraj' => 'Google Fonts',
860
+ 'Teko' => 'Google Fonts',
861
+ 'Telex' => 'Google Fonts',
862
+ 'Tenali Ramakrishna' => 'Google Fonts',
863
+ 'Tenor Sans' => 'Google Fonts',
864
+ 'Text Me One' => 'Google Fonts',
865
+ 'The Girl Next Door' => 'Google Fonts',
866
+ 'Tienne' => 'Google Fonts',
867
+ 'Tillana' => 'Google Fonts',
868
+ 'Timmana' => 'Google Fonts',
869
+ 'Tinos' => 'Google Fonts',
870
+ 'Titan One' => 'Google Fonts',
871
+ 'Titillium Web' => 'Google Fonts',
872
+ 'Trade Winds' => 'Google Fonts',
873
+ 'Trirong' => 'Google Fonts',
874
+ 'Trocchi' => 'Google Fonts',
875
+ 'Trochut' => 'Google Fonts',
876
+ 'Trykker' => 'Google Fonts',
877
+ 'Tulpen One' => 'Google Fonts',
878
+ 'Ubuntu' => 'Google Fonts',
879
+ 'Ubuntu Condensed' => 'Google Fonts',
880
+ 'Ubuntu Mono' => 'Google Fonts',
881
+ 'Ultra' => 'Google Fonts',
882
+ 'Uncial Antiqua' => 'Google Fonts',
883
+ 'Underdog' => 'Google Fonts',
884
+ 'Unica One' => 'Google Fonts',
885
+ 'UnifrakturCook' => 'Google Fonts',
886
+ 'UnifrakturMaguntia' => 'Google Fonts',
887
+ 'Unkempt' => 'Google Fonts',
888
+ 'Unlock' => 'Google Fonts',
889
+ 'Unna' => 'Google Fonts',
890
+ 'VT323' => 'Google Fonts',
891
+ 'Vampiro One' => 'Google Fonts',
892
+ 'Varela' => 'Google Fonts',
893
+ 'Varela Round' => 'Google Fonts',
894
+ 'Vast Shadow' => 'Google Fonts',
895
+ 'Vesper Libre' => 'Google Fonts',
896
+ 'Vibur' => 'Google Fonts',
897
+ 'Vidaloka' => 'Google Fonts',
898
+ 'Viga' => 'Google Fonts',
899
+ 'Voces' => 'Google Fonts',
900
+ 'Volkhov' => 'Google Fonts',
901
+ 'Vollkorn' => 'Google Fonts',
902
+ 'Vollkorn SC' => 'Google Fonts',
903
+ 'Voltaire' => 'Google Fonts',
904
+ 'Waiting for the Sunrise' => 'Google Fonts',
905
+ 'Wallpoet' => 'Google Fonts',
906
+ 'Walter Turncoat' => 'Google Fonts',
907
+ 'Warnes' => 'Google Fonts',
908
+ 'Wellfleet' => 'Google Fonts',
909
+ 'Wendy One' => 'Google Fonts',
910
+ 'Wire One' => 'Google Fonts',
911
+ 'Work Sans' => 'Google Fonts',
912
+ 'Yanone Kaffeesatz' => 'Google Fonts',
913
+ 'Yantramanav' => 'Google Fonts',
914
+ 'Yatra One' => 'Google Fonts',
915
+ 'Yellowtail' => 'Google Fonts',
916
+ 'Yeon Sung' => 'Google Fonts',
917
+ 'Yeseva One' => 'Google Fonts',
918
+ 'Yesteryear' => 'Google Fonts',
919
+ 'Yrsa' => 'Google Fonts',
920
+ 'Zeyada' => 'Google Fonts',
921
+ 'Zilla Slab' => 'Google Fonts',
922
+ 'Zilla Slab Highlight' => 'Google Fonts',
923
+ );
924
+ }
925
  }
mystickymenu-popup.php CHANGED
@@ -1,46 +1,46 @@
1
- <div class="mystickymenu-popup" id="mystickymenu-intro-popup">
2
- <div class="mystickymenu-popup-box">
3
- <div class="mystickymenu-popup-header">
4
- Welcome to myStickymenu &#127881;
5
- <button class="close-mystickymenu-popup"><span class="dashicons dashicons-no-alt"></span></button>
6
- <div class="clear"></div>
7
- </div>
8
- <div class="mystickymenu-popup-content">
9
- With myStickymenu you can make your website's menu sticky. You can also use it to create a welcome notification bar. Need help? Visit our <a target="_blank" href="https://premio.io/help/mystickymenu/?utm_source=pluginonboarding">Help Center</a>.
10
- <iframe width="420" height="240" src="https://www.youtube.com/embed/G_7swGnRmN0?rel=0&start=22"></iframe>
11
- </div>
12
- <div class="mystickymenu-popup-footer">
13
- <button type="button">Go to myStickymenu</button>
14
- </div>
15
- </div>
16
- </div>
17
- <script>
18
- jQuery(document).ready(function(){
19
- jQuery(document).on("click", ".mystickymenu-popup-box button, #mystickymenu-intro-popup", function(e){
20
- e.stopPropagation();
21
- var nonceVal = "<?php echo wp_create_nonce("mystickymenu_update_popup_status") ?>";
22
- jQuery("#mystickymenu-intro-popup").remove();
23
- jQuery.ajax({
24
- type: 'POST',
25
- url: ajaxurl,
26
- data: {
27
- action: 'mystickymenu_update_popup_status',
28
- nonce: nonceVal
29
- },
30
- beforeSend: function (xhr) {
31
-
32
- },
33
- success: function (res) {
34
-
35
- },
36
- error: function (xhr, status, error) {
37
-
38
- }
39
- });
40
- });
41
-
42
- jQuery(document).on("click", ".mystickymenu-popup-box", function(e){
43
- e.stopPropagation();
44
- });
45
- });
46
  </script>
1
+ <div class="mystickymenu-popup" id="mystickymenu-intro-popup">
2
+ <div class="mystickymenu-popup-box">
3
+ <div class="mystickymenu-popup-header">
4
+ Welcome to myStickymenu &#127881;
5
+ <button class="close-mystickymenu-popup"><span class="dashicons dashicons-no-alt"></span></button>
6
+ <div class="clear"></div>
7
+ </div>
8
+ <div class="mystickymenu-popup-content">
9
+ With myStickymenu you can make your website's menu sticky. You can also use it to create a welcome notification bar. Need help? Visit our <a target="_blank" href="https://premio.io/help/mystickymenu/?utm_source=pluginonboarding">Help Center</a>.
10
+ <iframe width="420" height="240" src="https://www.youtube.com/embed/G_7swGnRmN0?rel=0&start=22"></iframe>
11
+ </div>
12
+ <div class="mystickymenu-popup-footer">
13
+ <button type="button">Go to myStickymenu</button>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ <script>
18
+ jQuery(document).ready(function(){
19
+ jQuery(document).on("click", ".mystickymenu-popup-box button, #mystickymenu-intro-popup", function(e){
20
+ e.stopPropagation();
21
+ var nonceVal = "<?php echo wp_create_nonce("mystickymenu_update_popup_status") ?>";
22
+ jQuery("#mystickymenu-intro-popup").remove();
23
+ jQuery.ajax({
24
+ type: 'POST',
25
+ url: ajaxurl,
26
+ data: {
27
+ action: 'mystickymenu_update_popup_status',
28
+ nonce: nonceVal
29
+ },
30
+ beforeSend: function (xhr) {
31
+
32
+ },
33
+ success: function (res) {
34
+
35
+ },
36
+ error: function (xhr, status, error) {
37
+
38
+ }
39
+ });
40
+ });
41
+
42
+ jQuery(document).on("click", ".mystickymenu-popup-box", function(e){
43
+ e.stopPropagation();
44
+ });
45
+ });
46
  </script>
mystickymenu.php CHANGED
@@ -1,1412 +1,1412 @@
1
- <?php
2
- /*
3
- Plugin Name: myStickymenu
4
- Plugin URI: https://premio.io/
5
- Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
- Version: 2.4.7
7
- Author: Premio
8
- Author URI: https://premio.io/downloads/mystickymenu/
9
- Text Domain: mystickymenu
10
- Domain Path: /languages
11
- License: GPLv2 or later
12
- */
13
-
14
- defined('ABSPATH') or die("Cannot access pages directly.");
15
- define( 'MYSTICKY_VERSION', '2.4.7' );
16
- define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
17
- define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
18
-
19
- require_once("mystickymenu-fonts.php");
20
- require_once("welcome-bar.php");
21
-
22
- if( is_admin() ) {
23
- include_once 'class-review-box.php';
24
- }
25
-
26
- class MyStickyMenuBackend
27
- {
28
- private $options;
29
-
30
- public function __construct()
31
- {
32
- add_action( 'admin_menu', array( $this, 'add_plugin_page' ) );
33
- add_action( 'admin_init', array( $this, 'mysticky_load_transl') );
34
-
35
- add_action( 'admin_init', array( $this, 'mysticky_default_options' ) );
36
- add_action( 'admin_enqueue_scripts', array( $this, 'mysticky_admin_script' ) );
37
-
38
- add_filter( 'plugin_action_links_mystickymenu/mystickymenu.php', array( $this, 'mystickymenu_settings_link' ) );
39
-
40
- add_action( 'activated_plugin', array( $this, 'mystickymenu_activation_redirect' ) );
41
-
42
- add_action("wp_ajax_sticky_menu_update_status", array($this, 'sticky_menu_update_status'));
43
-
44
- add_action("wp_ajax_mystickymenu_update_popup_status", array($this, 'mystickymenu_popup_status'));
45
-
46
- add_action( 'admin_footer', array( $this, 'mystickymenu_deactivate' ) );
47
- add_action( 'wp_ajax_mystickymenu_plugin_deactivate', array( $this, 'mystickymenu_plugin_deactivate' ) );
48
- }
49
-
50
- public function mystickymenu_popup_status() {
51
- if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mystickymenu_update_popup_status')) {
52
- update_option("mystickymenu_intro_box", "hide");
53
- }
54
- echo esc_attr("1");
55
- die;
56
- }
57
-
58
- public function sticky_menu_update_status() {
59
- if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'myStickymenu_update_nonce')) {
60
- $status = self::sanitize_options($_REQUEST['status']);
61
- $email = self::sanitize_options($_REQUEST['email']);
62
- update_option("mystickymenu_update_message", 2);
63
- if($status == 1) {
64
- $url = 'https://go.premio.io/api/update.php?email='.$email.'&plugin=myStickymenu';
65
- $handle = curl_init();
66
- curl_setopt($handle, CURLOPT_URL, $url);
67
- curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
68
- $response = curl_exec($handle);
69
- curl_close($handle);
70
- }
71
- }
72
- echo "1";
73
- die;
74
- }
75
-
76
- public function mystickymenu_settings_link($links){
77
- $settings_link = '<a href="admin.php?page=my-stickymenu-settings">Settings</a>';
78
- $links['go_pro'] = '<a href="'.admin_url("admin.php?page=my-stickymenu-settings&type=upgrade").'" style="color: #FF5983;font-weight: bold;">'.__( 'Upgrade', 'stars-testimonials' ).'</a>';
79
- array_unshift($links, $settings_link);
80
- return $links;
81
- }
82
-
83
- public function mystickymenu_activation_redirect( $plugin) {
84
- if( $plugin == plugin_basename( __FILE__ ) ) {
85
- $is_shown = get_option("mystickymenu_update_message");
86
- if($is_shown === false) {
87
- add_option("mystickymenu_update_message", 1);
88
- }
89
- $option = get_option("mystickymenu_intro_box");
90
- if($option === false) {
91
- add_option("mystickymenu_intro_box", "show");
92
- }
93
- wp_redirect( admin_url( 'admin.php?page=my-stickymenu-settings' ) ) ;
94
- exit;
95
- }
96
- }
97
-
98
- public function mysticky_admin_script($hook) {
99
-
100
- if ( !isset($_GET['page']) || ( isset($_GET['page']) && $_GET['page'] != 'my-stickymenu-settings' && $_GET['page'] != 'my-stickymenu-welcomebar' && $_GET['page'] != 'my-stickymenu-new-welcomebar' && $_GET['page'] != 'my-stickymenu-upgrade' && $_GET['page'] != 'msm-recommended-plugins' )) {
101
- return;
102
- }
103
-
104
- wp_enqueue_style('mystickymenuAdminStyle', plugins_url('/css/mystickymenu-admin.css', __FILE__), array(), MYSTICKY_VERSION );
105
- wp_enqueue_style( 'wp-color-picker' );
106
- //wp_enqueue_script( 'wp-color-picker-alpha', plugins_url('/js/wp-color-picker-alpha.min.js', __FILE__), array( 'wp-color-picker' ), MYSTICKY_VERSION );
107
- wp_enqueue_style( 'wp-jquery-ui-dialog' );
108
- wp_enqueue_style('jquery-ui');
109
-
110
- wp_enqueue_script('jquery-ui');
111
- wp_enqueue_script('jquery-ui-slider');
112
- //wp_enqueue_script('jquery-ui-datepicker');
113
- wp_enqueue_script( 'jquery-ui-dialog' );
114
- wp_enqueue_script( 'my-script-handle', plugins_url('js/iris-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
115
-
116
- if($hook == "mystickymenu_page_my-stickymenu-upgrade") {
117
- wp_enqueue_script( 'my-select2', plugins_url('js/select2.min.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
118
- wp_enqueue_style('my-css-select2', plugins_url('css/select2.min.css', __FILE__), array(), MYSTICKY_VERSION );
119
- wp_enqueue_style('my-css-admin-settings', plugins_url('css/admin-setting.css', __FILE__), array(), MYSTICKY_VERSION );
120
- }
121
-
122
- wp_enqueue_script('mystickymenuAdminScript', plugins_url('/js/mystickymenu-admin.js', __FILE__), array( 'jquery', 'jquery-ui-slider' ), MYSTICKY_VERSION);
123
- }
124
-
125
- public function mysticky_load_transl(){
126
- load_plugin_textdomain('mystickymenu', FALSE, dirname(plugin_basename(__FILE__)).'/languages/');
127
- }
128
-
129
- function sanitize_options($value) {
130
- $value = stripslashes($value);
131
- $value = filter_var($value, FILTER_SANITIZE_STRING);
132
- return $value;
133
- }
134
-
135
- public function add_plugin_page(){
136
- if ( isset($_GET['hide_msmrecommended_plugin']) && $_GET['hide_msmrecommended_plugin'] == 1) {
137
- update_option('hide_msmrecommended_plugin',true);
138
- }
139
- $hide_msmrecommended_plugin = get_option('hide_msmrecommended_plugin');
140
- // This page will be under "Settings"
141
- add_menu_page(
142
- 'Settings Admin',
143
- 'myStickymenu',
144
- 'manage_options',
145
- 'my-stickymenu-settings',
146
- array( $this, 'create_admin_page' )
147
- );
148
- add_submenu_page(
149
- 'my-stickymenu-settings',
150
- 'Settings Admin',
151
- 'Settings',
152
- 'manage_options',
153
- 'my-stickymenu-settings',
154
- array( $this, 'create_admin_page' )
155
- );
156
- add_submenu_page(
157
- 'my-stickymenu-settings',
158
- 'Settings Admin',
159
- 'Welcome Bar',
160
- 'manage_options',
161
- 'my-stickymenu-welcomebar',
162
- array( $this, 'mystickystickymenu_admin_welcomebar_page' )
163
- );
164
- add_submenu_page(
165
- 'my-stickymenu-settings',
166
- 'Settings Admin',
167
- '+ Create New Welcome Bar',
168
- 'manage_options',
169
- 'my-stickymenu-new-welcomebar',
170
- array( $this, 'mystickystickymenu_admin_new_welcomebar_page' )
171
- );
172
- if ( !$hide_msmrecommended_plugin){
173
- add_submenu_page(
174
- 'my-stickymenu-settings',
175
- 'msm-recommended-plugins',
176
- 'Recommended Plugins',
177
- 'manage_options',
178
- 'msm-recommended-plugins',
179
- array( $this, 'mystickymenu_recommended_plugins' )
180
- );
181
- }
182
- add_submenu_page(
183
- 'my-stickymenu-settings',
184
- 'Upgrade to Pro',
185
- 'Upgrade to Pro',
186
- 'manage_options',
187
- 'my-stickymenu-upgrade',
188
- array( $this, 'mystickymenu_admin_upgrade_to_pro' )
189
- );
190
- }
191
-
192
- public function create_admin_page(){
193
-
194
- $upgarde_url = admin_url("admin.php?page=my-stickymenu-upgrade");
195
- // Set class property
196
- if (isset($_POST['mysticky_option_name']) && !empty($_POST['mysticky_option_name']) && isset($_POST['nonce'])) {
197
- if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mysticky_option_backend_update')) {
198
- $post = $_POST['mysticky_option_name'];
199
- foreach($post as $key=>$value) {
200
- $post[$key] = self::sanitize_options($value);
201
- }
202
-
203
- $post['device_desktop'] = 'on';
204
- $post['device_mobile'] = 'on';
205
- update_option( 'mysticky_option_name', $post);
206
- $this->mysticky_clear_all_caches();
207
- echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Settings saved.','mystickymenu'). '</p></strong></div>';
208
- } else {
209
- wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
210
- echo '<div class="error settings-error notice is-dismissible "><p><strong>' . esc_html__('Unable to complete your request','mystickymenu'). '</p></strong></div>';
211
- }
212
- }
213
-
214
- $mysticky_options = get_option( 'mysticky_option_name');
215
- $is_old = get_option("has_sticky_header_old_version");
216
- $is_old = ($is_old == "yes")?true:false;
217
- $nonce = wp_create_nonce('mysticky_option_backend_update');
218
- $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
219
-
220
- $is_shown = get_option("mystickymenu_update_message");
221
- if($is_shown == 1) {?>
222
- <div class="updates-form-form" >
223
- <div class="popup-form-content">
224
- <div id="add-update-folder-title" class="add-update-folder-title">
225
- Would you like to get feature updates for myStickymenu in real-time?
226
- </div>
227
- <div class="folder-form-input">
228
- <input id="myStickymenu_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
229
- </div>
230
- <div class="updates-content-buttons">
231
- <button href="javascript:;" class="button button-primary form-submit-btn yes">Yes, I want</button>
232
- <button href="javascript:;" class="button button-secondary form-cancel-btn no">Skip</button>
233
- <div style="clear: both"></div>
234
- </div>
235
- <input type="hidden" id="myStickymenu_update_nonce" value="<?php echo wp_create_nonce("myStickymenu_update_nonce") ?>">
236
- </div>
237
- </div>
238
- <?php } else {
239
-
240
- $option = get_option("mystickymenu_intro_box");
241
- if($option == "show") {
242
- include_once dirname(__FILE__) . "/mystickymenu-popup.php";
243
- }
244
- ?>
245
- <style>
246
- div#wpcontent {
247
- background: rgba(101,114,219,1);
248
- background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
249
- background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
250
- background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
251
- background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
252
- background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
253
- background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
254
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
255
- }
256
- </style>
257
- <div id="mystickymenu" class="wrap mystickymenu">
258
- <div class="sticky-header-menu">
259
- <ul>
260
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>" class="active" ><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
261
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
262
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
263
- </ul>
264
- </div>
265
- <div id="sticky-header-settings" class="sticky-header-content">
266
- <div class="mystickymenu-heading">
267
- <div class="myStickymenu-header-title">
268
- <h3><?php esc_attr_e('How To Make a Sticky Header', 'mystickymenu'); ?></h3>
269
- </div>
270
- <p><?php _e("Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to HTML element class desired to be sticky (div id can be used as well).", 'mystickymenu'); ?></p>
271
- </div>
272
-
273
- <form class="mysticky-form" method="post" action="#">
274
- <div class="mystickymenu-content-section sticky-class-sec">
275
- <table>
276
- <tr>
277
- <td>
278
- <label class="mysticky_title"><?php _e("Sticky Class", 'mystickymenu')?></label>
279
- <br /><br />
280
- <?php $nav_menus = wp_get_nav_menus();
281
- $menu_locations = get_nav_menu_locations();
282
- $locations = get_registered_nav_menus();
283
- ?>
284
- <select name="mysticky_option_name[mysticky_class_id_selector]" id="mystickymenu-select">
285
- <option value=""><?php _e( 'Select Sticky Menu', 'mystickymenu' ); ?></option>
286
-
287
- <?php foreach ( (array) $nav_menus as $_nav_menu ) : ?>
288
- <option value="<?php echo esc_attr( $_nav_menu->slug ); ?>" <?php selected( $_nav_menu->slug, $mysticky_options['mysticky_class_id_selector'] ); ?>>
289
- <?php
290
- echo esc_html( $_nav_menu->name );
291
-
292
- if ( ! empty( $menu_locations ) && in_array( $_nav_menu->term_id, $menu_locations ) ) {
293
- $locations_assigned_to_this_menu = array();
294
- foreach ( array_keys( $menu_locations, $_nav_menu->term_id ) as $menu_location_key ) {
295
- if ( isset( $locations[ $menu_location_key ] ) ) {
296
- $locations_assigned_to_this_menu[] = $locations[ $menu_location_key ];
297
- }
298
- }
299
-
300
- /**
301
- * Filters the number of locations listed per menu in the drop-down select.
302
- *
303
- * @since 3.6.0
304
- *
305
- * @param int $locations Number of menu locations to list. Default 3.
306
- */
307
- $assigned_locations = array_slice( $locations_assigned_to_this_menu, 0, absint( apply_filters( 'wp_nav_locations_listed_per_menu', 3 ) ) );
308
-
309
- // Adds ellipses following the number of locations defined in $assigned_locations.
310
- if ( ! empty( $assigned_locations ) ) {
311
- printf(
312
- ' (%1$s%2$s)',
313
- implode( ', ', $assigned_locations ),
314
- count( $locations_assigned_to_this_menu ) > count( $assigned_locations ) ? ' &hellip;' : ''
315
- );
316
- }
317
- }
318
- ?>
319
- </option>
320
- <?php endforeach; ?>
321
- <option value="custom" <?php selected( 'custom', $mysticky_options['mysticky_class_id_selector'] ); ?>><?php esc_html_e( 'Other Class Or ID', 'mystickymenu' );?></option>
322
- </select>
323
-
324
- <input type="text" size="18" id="mysticky_class_selector" class="mystickyinput" name="mysticky_option_name[mysticky_class_selector]" value="<?php echo $mysticky_options['mysticky_class_selector'];?>" />
325
-
326
- <p class="description"><?php _e("menu or header element class or id.", 'mystickymenu')?></p>
327
- </td>
328
- <td>
329
- <div class="mysticky_device_upgrade">
330
- <label class="mysticky_title"><?php _e("Devices", 'mystickymenu')?></label>
331
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
332
-
333
- <ul class="mystickymenu-input-multicheckbox">
334
- <li>
335
- <label>
336
- <input id="disable_css" name="mysticky_option_name[device_desktop]" type="checkbox" checked disabled />
337
- <?php _e( 'Desktop', 'mystickymenu' );?>
338
- </label>
339
- </li>
340
- <li>
341
- <label>
342
- <input id="disable_css" name="mysticky_option_name[device_mobile]" type="checkbox" checked disabled />
343
- <?php _e( 'Mobile', 'mystickymenu' );?>
344
- </label>
345
- </li>
346
- </ul>
347
- </div>
348
- </td>
349
- </tr>
350
- </table>
351
- </div>
352
-
353
-
354
- <div class="mystickymenu-content-section">
355
- <h3><?php esc_html_e( 'Settings', 'mystickymenu' );?></h3>
356
- <table class="form-table">
357
- <tr>
358
- <td>
359
- <label for="myfixed_zindex" class="mysticky_title"><?php _e("Sticky z-index", 'mystickymenu')?></label>
360
- </td>
361
- <td>
362
- <input type="number" min="0" max="2147483647" step="1" class="mysticky-number" id="myfixed_zindex" name="mysticky_option_name[myfixed_zindex]" value="<?php echo $mysticky_options['myfixed_zindex'];?>" />
363
- </td>
364
- <td>
365
- <label class="mysticky_title myssticky-remove-hand"><?php _e("Fade or slide effect", 'mystickymenu')?></label>
366
- </td>
367
- <td>
368
- <label>
369
- <input name="mysticky_option_name[myfixed_fade]" value= "slide" type="radio" <?php checked( @$mysticky_options['myfixed_fade'], 'slide' );?> />
370
- <?php _e("Slide", 'mystickymenu'); ?>
371
- </label>
372
- <label>
373
- <input name="mysticky_option_name[myfixed_fade]" value="fade" type="radio" <?php checked( @$mysticky_options['myfixed_fade'], 'fade' );?> />
374
- <?php _e("Fade", 'mystickymenu'); ?>
375
- </label>
376
- </td>
377
- </tr>
378
- <tr>
379
- <td>
380
- <label for="myfixed_disable_small_screen" class="mysticky_title"><?php _e("Disable at Small Screen Sizes", 'mystickymenu')?></label>
381
- <p class="description"><?php esc_attr_e('Less than chosen screen width, set 0 to disable','mystickymenu');?></p>
382
- </td>
383
- <td>
384
- <div class="px-wrap">
385
- <input type="number" class="" min="0" step="1" id="myfixed_disable_small_screen" name="mysticky_option_name[myfixed_disable_small_screen]" value="<?php echo $mysticky_options['myfixed_disable_small_screen'];?>" />
386
- <span class="input-px">PX</span>
387
- </div>
388
- </td>
389
- <td>
390
- <label for="mysticky_active_on_height" class="mysticky_title"><?php _e("Make visible on Scroll", 'mystickymenu')?></label>
391
- <p class="description"><?php esc_attr_e('If set to 0 auto calculate will be used.','mystickymenu');?></p>
392
- </td>
393
- <td>
394
- <div class="px-wrap">
395
- <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height" name="mysticky_option_name[mysticky_active_on_height]" value="<?php echo $mysticky_options['mysticky_active_on_height'];?>" />
396
- <span class="input-px">PX</span>
397
- </div>
398
- </td>
399
- </tr>
400
- <tr>
401
- <td>
402
- <label for="mysticky_active_on_height_home" class="mysticky_title"><?php _e("Make visible on Scroll at homepage", 'mystickymenu')?></label>
403
- <p class="description"><?php _e( 'If set to 0 it will use initial Make visible on Scroll value.', 'mystickymenu' );?></p>
404
- </td>
405
- <td>
406
- <div class="px-wrap">
407
- <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height_home" name="mysticky_option_name[mysticky_active_on_height_home]" value="<?php echo $mysticky_options['mysticky_active_on_height_home'];?>" />
408
- <span class="input-px">PX</span>
409
- </div>
410
- </td>
411
- <td>
412
- <label for="myfixed_bgcolor" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Background Color", 'mystickymenu')?></label>
413
- </td>
414
- <td>
415
- <input type="text" id="myfixed_bgcolor" name="mysticky_option_name[myfixed_bgcolor]" class="my-color-field" data-alpha="true" value="<?php echo $mysticky_options['myfixed_bgcolor'];?>" />
416
-
417
- </td>
418
- </tr>
419
- <tr>
420
- <td>
421
- <label for="myfixed_transition_time" class="mysticky_title"><?php _e("Sticky Transition Time", 'mystickymenu')?></label>
422
- </td>
423
- <td>
424
- <input type="number" class="small-text" min="0" step="0.1" id="myfixed_transition_time" name="mysticky_option_name[myfixed_transition_time]" value="<?php echo $mysticky_options['myfixed_transition_time'];?>" />
425
- </td>
426
- <td>
427
- <label for="myfixed_textcolor" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Text Color", 'mystickymenu')?></label>
428
- </td>
429
- <td>
430
- <input type="text" id="myfixed_textcolor" name="mysticky_option_name[myfixed_textcolor]" class="my-color-field" data-alpha="true" value="<?php echo (isset($mysticky_options['myfixed_textcolor'])) ? $mysticky_options['myfixed_textcolor'] : '';?>" />
431
-
432
- </td>
433
- </tr>
434
- <tr>
435
- <td>
436
- <label for="myfixed_opacity" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Opacity", 'mystickymenu')?></label>
437
- <p class="description"><?php _e( 'numbers 1-100.', 'mystickymenu');?></p>
438
- </td>
439
- <td>
440
- <input type="hidden" class="small-text mysticky-slider" min="0" step="1" max="100" id="myfixed_opacity" name="mysticky_option_name[myfixed_opacity]" value="<?php echo $mysticky_options['myfixed_opacity'];?>" />
441
- <div id="slider">
442
- <div id="custom-handle" class="ui-slider-handle"><?php //echo $mysticky_options['myfixed_opacity'];?></div>
443
- </div>
444
-
445
- </td>
446
- </tr>
447
- </table>
448
- </div>
449
-
450
- <div class="mystickymenu-content-section <?php echo !$is_old?"mystickymenu-content-upgrade":""?>" >
451
-
452
- <div class="mystickymenu-content-option">
453
- <label class="mysticky_title css-style-title"><?php _e("Hide on Scroll Down", 'mystickymenu'); ?></label>
454
- <?php if(!$is_old) { ?><span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span><?php } ?>
455
- <p>
456
- <label class="mysticky_text">
457
- <input id="myfixed_disable_scroll_down" name="mysticky_option_name[myfixed_disable_scroll_down]" type="checkbox" <?php checked( @$mysticky_options['myfixed_disable_scroll_down'], 'on' );?> <?php echo !$is_old?"disabled":"" ?> />
458
- <?php _e("Disable sticky menu at scroll down", 'mystickymenu'); ?>
459
- </label>
460
- </p>
461
- </div>
462
- <div class="mysticky-page-target-setting mystickymenu-content-option">
463
- <label class="mysticky_title"><?php esc_attr_e('Page targeting', 'myStickymenu'); ?></label>
464
- <div class="mystickymenu-input-section mystickymenu-page-target-wrap">
465
- <div class="mysticky-welcomebar-setting-content-right">
466
- <div class="mysticky-page-options" id="mysticky-welcomebar-page-options">
467
- <?php $page_option = (isset($mysticky_options['mysticky_page_settings'])) ? $mysticky_options['mysticky_page_settings'] : array();
468
- $url_options = array(
469
- 'page_contains' => 'pages that contain',
470
- 'page_has_url' => 'a specific page',
471
- 'page_start_with' => 'pages starting with',
472
- 'page_end_with' => 'pages ending with',
473
- );
474
-
475
- if(!empty($page_option) && is_array($page_option)) {
476
- $count = 0;
477
- foreach($page_option as $k=>$option) {
478
- $count++;
479
- ?>
480
- <div class="mysticky-page-option <?php echo $k==count($page_option)?"last":""; ?>">
481
- <div class="url-content">
482
- <div class="mysticky-welcomebar-url-select">
483
- <select name="mysticky_option_name[mysticky_page_settings][<?php echo $count; ?>][shown_on]" id="url_shown_on_<?php echo $count ?>_option">
484
- <option value="show_on" <?php echo $option['shown_on']=="show_on"?"selected":"" ?> ><?php esc_html_e( 'Show on', 'mysticky' )?></option>
485
- <option value="not_show_on" <?php echo $option['shown_on']=="not_show_on"?"selected":"" ?>><?php esc_html_e( "Don't show on", "mysticky" );?></option>
486
- </select>
487
- </div>
488
- <div class="mysticky-welcomebar-url-option">
489
- <select class="mysticky-url-options" name="mysticky_option_name[mysticky_page_settings][<?php echo $count; ?>][option]" id="url_rules_<?php echo $count ?>_option">
490
- <option disabled value=""><?php esc_html_e( "Select Rule", "mysticky" );?></option>
491
- <?php foreach($url_options as $key=>$value) {
492
- $selected = ( isset($option['option']) && $option['option']==$key )?" selected='selected' ":"";
493
- echo '<option '.$selected.' value="'.$key.'">'.$value.'</option>';
494
- } ?>
495
- </select>
496
- </div>
497
- <div class="mysticky-welcomebar-url-box">
498
- <span class='mysticky-welcomebar-url'><?php echo site_url("/"); ?></span>
499
- </div>
500
- <div class="mysticky-welcomebar-url-values">
501
- <input type="text" value="<?php echo $option['value'] ?>" name="mysticky_option_name[mysticky_page_settings][<?php echo $count; ?>][value]" id="url_rules_<?php echo $count; ?>_value" />
502
- </div>
503
- <div class="mysticky-welcomebar-url-buttons">
504
- <a class="mysticky-remove-rule" href="javascript:;">x</a>
505
- </div>
506
- <div class="clear"></div>
507
- </div>
508
- </div>
509
- <?php
510
- }
511
- }
512
- ?>
513
- </div>
514
- <a href="javascript:void(0);" class="create-rule" id="mysticky_create-rule"><?php esc_html_e( "Add Rule", "mystickymenu" );?></a>
515
- </div>
516
- <input type="hidden" id="mysticky_welcomebar_site_url" value="<?php echo site_url("/") ?>" />
517
- <div class="mysticky-page-options-html" style="display: none;">
518
- <div class="mysticky-page-option">
519
- <div class="url-content">
520
- <div class="mysticky-welcomebar-url-select">
521
- <select name="" id="url_shown_on___count___option">
522
- <option value="show_on"><?php esc_html_e("Show on", "mysticky" );?></option>
523
- <option value="not_show_on"><?php esc_html_e("Don't show on", "mysticky" );?></option>
524
- </select>
525
- </div>
526
- <div class="mysticky-welcomebar-url-option">
527
- <select class="mysticky-url-options" name="" id="url_rules___count___option">
528
- <option selected="selected" disabled value=""><?php esc_html_e("Select Rule", "mysticky" );?></option>
529
- <?php foreach($url_options as $key=>$value) {
530
- echo '<option value="'.$key.'">'.$value.'</option>';
531
- } ?>
532
- </select>
533
- </div>
534
- <div class="mysticky-welcomebar-url-box">
535
- <span class='mysticky-welcomebar-url'><?php echo site_url("/"); ?></span>
536
- </div>
537
- <div class="mysticky-welcomebar-url-values">
538
- <input type="text" value="" name="mysticky_option_name[mysticky_page_settings][__count__][value]" id="url_rules___count___value" disabled />
539
- </div>
540
- <div class="clear"></div>
541
- </div>
542
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
543
- </div>
544
- </div>
545
- </div>
546
- </div>
547
- <div class="mystickymenu-content-option">
548
- <label class="mysticky_title css-style-title"><?php _e("CSS style", 'mystickymenu'); ?></label>
549
- <span class="mysticky_text"><?php _e( 'Add/edit CSS style. Leave it blank for default style.', 'mystickymenu');?></span>
550
- <div class="mystickymenu-input-section">
551
- <textarea type="text" rows="4" cols="60" id="myfixed_cssstyle" name="mysticky_option_name[myfixed_cssstyle]" <?php echo !$is_old?"disabled":"" ?> ><?php echo @$mysticky_options['myfixed_cssstyle'];?></textarea>
552
- </div>
553
- <p><?php esc_html_e( "CSS ID's and Classes to use:", "mystickymenu" );?></p>
554
- <p>
555
- #mysticky-wrap { }<br/>
556
- #mysticky-nav.wrapfixed { }<br/>
557
- #mysticky-nav.wrapfixed.up { }<br/>
558
- #mysticky-nav.wrapfixed.down { }<br/>
559
- #mysticky-nav .navbar { }<br/>
560
- #mysticky-nav .navbar.myfixed { }<br/>
561
- </p>
562
- </div>
563
-
564
- <div class="mystickymenu-content-option">
565
- <label class="mysticky_title" for="disable_css"><?php _e("Disable CSS style", 'mystickymenu'); ?></label>
566
- <div class="mystickymenu-input-section">
567
- <label>
568
- <input id="disable_css" name="mysticky_option_name[disable_css]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['disable_css'], 'on' );?> />
569
- <?php _e( 'Use this option if you plan to include CSS Style manually', 'mystickymenu' );?>
570
- </label>
571
- </div>
572
- <p></p>
573
- </div>
574
-
575
- <div class="mystickymenu-content-option">
576
- <label class="mysticky_title"><?php _e("Disable at", 'mystickymenu'); ?></label>
577
- <?php if(!$is_old) { ?><span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span><?php } ?>
578
- <div class="mystickymenu-input-section">
579
- <ul class="mystickymenu-input-multicheckbox">
580
- <li>
581
- <label>
582
- <input id="mysticky_disable_at_front_home" name="mysticky_option_name[mysticky_disable_at_front_home]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_front_home'], 'on' );?>/>
583
- <span><?php esc_attr_e('front page', 'mystickymenu' );?></span>
584
- </label>
585
- </li>
586
- <li>
587
- <label>
588
- <input id="mysticky_disable_at_blog" name="mysticky_option_name[mysticky_disable_at_blog]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_blog'], 'on' );?>/>
589
- <span><?php esc_attr_e('blog page', 'mystickymenu' );?></span>
590
- </label>
591
- </li>
592
- <li>
593
- <label>
594
- <input id="mysticky_disable_at_page" name="mysticky_option_name[mysticky_disable_at_page]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_page'], 'on' );?> />
595
- <span><?php esc_attr_e('pages', 'mystickymenu' );?> </span>
596
- </label>
597
- </li>
598
- <li>
599
- <label>
600
- <input id="mysticky_disable_at_tag" name="mysticky_option_name[mysticky_disable_at_tag]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_tag'], 'on' );?> />
601
- <span><?php esc_attr_e('tags', 'mystickymenu' );?> </span>
602
- </label>
603
- </li>
604
- <li>
605
- <label>
606
- <input id="mysticky_disable_at_category" name="mysticky_option_name[mysticky_disable_at_category]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_category'], 'on' );?>/>
607
- <span><?php esc_attr_e('categories', 'mystickymenu' );?></span>
608
- </label>
609
- </li>
610
- <li>
611
- <label>
612
- <input id="mysticky_disable_at_single" name="mysticky_option_name[mysticky_disable_at_single]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_single'], 'on' );?> />
613
- <span><?php esc_attr_e('posts', 'mystickymenu' );?> </span>
614
- </label>
615
- </li>
616
- <li>
617
- <label>
618
- <input id="mysticky_disable_at_archive" name="mysticky_option_name[mysticky_disable_at_archive]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_archive'], 'on' );?> />
619
- <span><?php esc_attr_e('archives', 'mystickymenu' );?> </span>
620
- </label>
621
- </li>
622
- <li>
623
- <label>
624
- <input id="mysticky_disable_at_search" name="mysticky_option_name[mysticky_disable_at_search]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_search'], 'on' );?> />
625
- <span><?php esc_attr_e('search', 'mystickymenu' );?> </span>
626
- </label>
627
- </li>
628
- <li>
629
- <label>
630
- <input id="mysticky_disable_at_404" name="mysticky_option_name[mysticky_disable_at_404]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_404'], 'on' );?>/>
631
- <span><?php esc_attr_e('404', 'mystickymenu' );?> </span>
632
- </label>
633
- </li>
634
- </ul>
635
-
636
- <?php
637
- if (isset ( $mysticky_options['mysticky_disable_at_page'] ) == true ) {
638
- echo '<div class="mystickymenu-input-section">';
639
- _e('<span class="description"><strong>Except for this pages:</strong> </span>', 'mystickymenu');
640
-
641
- printf(
642
- '<input type="text" size="26" class="mystickymenu_normal_text" id="mysticky_enable_at_pages" name="mysticky_option_name[mysticky_enable_at_pages]" value="%s" /> ',
643
- isset( $mysticky_options['mysticky_enable_at_pages'] ) ? esc_attr( $mysticky_options['mysticky_enable_at_pages']) : ''
644
- );
645
-
646
- _e('<span class="description">Comma separated list of pages to enable. It should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave blank if you realy want to disable sticky menu for all pages.</span>', 'mystickymenu');
647
- echo '</div>';
648
- }
649
-
650
- if (isset ( $mysticky_options['mysticky_disable_at_single'] ) == true ) {
651
-
652
- echo '<div class="mystickymenu-input-section">';
653
- _e('<span class="description"><strong>Except for this posts:</strong> </span>', 'mystickymenu');
654
-
655
- printf(
656
- '<input type="text" size="26" class="mystickymenu_normal_text" id="mysticky_enable_at_posts" name="mysticky_option_name[mysticky_enable_at_posts]" value="%s" /> ',
657
- isset( $mysticky_options['mysticky_enable_at_posts'] ) ? esc_attr( $mysticky_options['mysticky_enable_at_posts']) : ''
658
- );
659
-
660
- _e('<span class="description">Comma separated list of posts to enable. It should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave blank if you realy want to disable sticky menu for all posts.</span>', 'mystickymenu');
661
- echo '</div>';
662
-
663
- }
664
- ?>
665
- <p></p>
666
- </div>
667
- </div>
668
-
669
- </div>
670
- <p class="submit">
671
- <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php esc_attr_e('Save', 'mystickymenu');?>">
672
- </p>
673
- <input type="hidden" name="nonce" value="<?php echo $nonce ?>">
674
- </form>
675
- <form class="mysticky-hideformreset" method="post" action="">
676
- <input name="reset_mysticky_options" class="button button-secondary confirm" type="submit" value="<?php esc_attr_e('Reset', 'mystickymenu');?>" >
677
- <input type="hidden" name="action" value="reset" />
678
- <?php $nonce = wp_create_nonce('mysticky_option_backend_reset_nonce'); ?>
679
- <input type="hidden" name="nonce" value="<?php echo $nonce ?>">
680
- </form>
681
- <p class="myStickymenu-review"><a href="https://wordpress.org/support/plugin/mystickymenu/reviews/" target="_blank"><?php esc_attr_e('Leave a review','mystickymenu'); ?></a></p>
682
- </div>
683
- </div>
684
- <?php }
685
- }
686
- public function mystickystickymenu_admin_new_welcomebar_page() {
687
- ?>
688
- <div id="mystickymenu" class="wrap mystickymenu mystickymenu-new-widget-wrap">
689
- <?php include_once dirname(__FILE__) . '/mystickymeny-new-welcomebar.php';?>
690
- </div>
691
- <?php
692
- }
693
-
694
- public function mystickystickymenu_admin_welcomebar_page() {
695
- /* welcome bar save data */
696
- if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
697
- if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
698
- $mysticky_option_welcomebar = filter_var_array( $_POST['mysticky_option_welcomebar'], FILTER_SANITIZE_STRING );
699
- $mysticky_option_welcomebar['mysticky_welcomebar_bar_text'] = $_POST['mysticky_option_welcomebar']['mysticky_welcomebar_bar_text'];
700
- $mysticky_option_welcomebar['mysticky_welcomebar_height'] = 60;
701
- $mysticky_option_welcomebar['mysticky_welcomebar_device_desktop'] = 'desktop';
702
- $mysticky_option_welcomebar['mysticky_welcomebar_device_mobile'] = 'mobile';
703
- $mysticky_option_welcomebar['mysticky_welcomebar_trigger'] = 'after_a_few_seconds';
704
- $mysticky_option_welcomebar['mysticky_welcomebar_triggersec'] = '0';
705
- $mysticky_option_welcomebar['mysticky_welcomebar_expirydate'] = '';
706
- $mysticky_option_welcomebar['mysticky_welcomebar_page_settings'] = '';
707
- update_option( 'mysticky_option_welcomebar', $mysticky_option_welcomebar);
708
- $this->mysticky_clear_all_caches();
709
- echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Settings saved.','mystickymenu'). '</p></strong></div>';
710
- } else {
711
- wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
712
- echo '<div class="error settings-error notice is-dismissible "><p><strong>' . esc_html__('Unable to complete your request','mystickymenu'). '</p></strong></div>';
713
- }
714
- }
715
- if (isset($_POST['mysticky_welcomebar_reset']) && !empty($_POST['mysticky_welcomebar_reset']) && isset($_POST['nonce_reset'])) {
716
- if(!empty($_POST['nonce_reset']) && wp_verify_nonce($_POST['nonce_reset'], 'mysticky_option_welcomebar_reset')) {
717
- $mysticky_option_welcomebar_reset = mysticky_welcomebar_pro_widget_default_fields();
718
- update_option( 'mysticky_option_welcomebar', $mysticky_option_welcomebar_reset);
719
- $this->mysticky_clear_all_caches();
720
- echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Reset Settings saved.','mystickymenu'). '</p></strong></div>';
721
- } else {
722
- wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
723
- echo '<div class="error settings-error notice is-dismissible "><p><strong>' . esc_html__('Unable to complete your request','mystickymenu'). '</p></strong></div>';
724
- }
725
- }
726
-
727
- $mysticky_options = get_option( 'mysticky_option_name');
728
- $is_old = get_option("has_sticky_header_old_version");
729
- $is_old = ($is_old == "yes")?true:false;
730
- $nonce = wp_create_nonce('mysticky_option_backend_update');
731
- $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
732
-
733
- ?>
734
- <style>
735
- div#wpcontent {
736
- background: rgba(101,114,219,1);
737
- background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
738
- background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
739
- background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
740
- background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
741
- background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
742
- background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
743
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
744
- }
745
- </style>
746
- <div id="mystickymenu" class="wrap mystickymenu">
747
- <div class="sticky-header-menu">
748
- <ul>
749
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
750
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" class="active" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
751
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
752
- </ul>
753
- </div>
754
- <div id="sticky-header-welcome-bar" class="sticky-header-content">
755
- <?php mysticky_welcome_bar_backend(); ?>
756
- </div>
757
- </div>
758
- <?php
759
- }
760
- public function mystickymenu_recommended_plugins() {
761
- include_once 'recommended-plugins.php';
762
- }
763
- public function mystickymenu_admin_upgrade_to_pro() {
764
- $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
765
- ?>
766
- <style>
767
- div#wpcontent {
768
- background: rgba(101,114,219,1);
769
- background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
770
- background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
771
- background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
772
- background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
773
- background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
774
- background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
775
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
776
- }
777
- </style>
778
- <div id="mystickymenu" class="wrap mystickymenu">
779
- <div class="sticky-header-menu">
780
- <ul>
781
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
782
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
783
- <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>" class="active" ><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
784
- </ul>
785
- </div>
786
- <?php include_once "upgrade-to-pro.php"; ?>
787
- </div>
788
- <?php
789
- }
790
-
791
- public function mysticky_default_options() {
792
-
793
- global $options;
794
- $menu_locations = get_nav_menu_locations();
795
- $menu_object = isset($menu_locations['menu-1']) ? wp_get_nav_menu_object( $menu_locations['menu-1'] ) : array();
796
-
797
- if ( is_object($menu_object) && $menu_object->slug != '' ) {
798
- $mysticky_class_id_selector = $menu_object->slug;
799
- } else {
800
- $mysticky_class_id_selector = 'custom';
801
- }
802
-
803
- $mystickyClass = '.navbar';
804
- $template_name = get_template();
805
- switch( $template_name ){
806
- case 'ashe':
807
- $mysticky_class_id_selector = 'custom';
808
- $mystickyClass = '#main-nav';
809
- break;
810
- case 'astra':
811
- case 'hello-elementor':
812
- case 'sydney':
813
- case 'twentysixteen':
814
- $mysticky_class_id_selector = 'custom';
815
- $mystickyClass = 'header.site-header';
816
- break;
817
- case 'generatepress':
818
- $mysticky_class_id_selector = 'custom';
819
- $mystickyClass = 'nav.main-navigation';
820
- break;
821
- case 'transportex':
822
- $mysticky_class_id_selector = 'custom';
823
- $mystickyClass = '.transportex-menu-full';
824
- break;
825
- case 'hestia':
826
- case 'neve':
827
- $mysticky_class_id_selector = 'custom';
828
- $mystickyClass = 'header.header';
829
- break;
830
- case 'mesmerize':
831
- $mysticky_class_id_selector = 'custom';
832
- $mystickyClass = '.navigation-bar';
833
- break;
834
- case 'oceanwp':
835
- $mysticky_class_id_selector = 'custom';
836
- $mystickyClass = 'header#site-header';
837
- break;
838
- case 'shapely':
839
- $mysticky_class_id_selector = 'custom';
840
- $mystickyClass = '#site-navigation';
841
- break;
842
- case 'storefront':
843
- $mysticky_class_id_selector = 'custom';
844
- $mystickyClass = '.storefront-primary-navigation';
845
- break;
846
- case 'twentynineteen':
847
- $mysticky_class_id_selector = 'custom';
848
- $mystickyClass = '#site-navigation';
849
- break;
850
- case 'twentyseventeen':
851
- $mysticky_class_id_selector = 'custom';
852
- $mystickyClass = '.navigation-top';
853
- break;
854
- default:
855
- break;
856
- }
857
-
858
-
859
- $default = array(
860
- 'mysticky_class_id_selector' => $mysticky_class_id_selector,
861
- 'mysticky_class_selector' => $mystickyClass,
862
- 'device_desktop' => 'on',
863
- 'device_mobile' => 'on',
864
- 'myfixed_zindex' => '99990',
865
- 'myfixed_bgcolor' => '#f7f5e7',
866
- 'myfixed_opacity' => '90',
867
- 'myfixed_transition_time' => '0.3',
868
- 'myfixed_disable_small_screen' => '0',
869
- 'myfixed_disable_large_screen' => '0',
870
- 'mysticky_active_on_height' => '0',
871
- 'mysticky_active_on_height_home'=> '0',
872
- 'myfixed_fade' => 'slide',
873
- 'myfixed_cssstyle' => '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }'
874
- );
875
-
876
- if ( get_option('mysticky_option_name') == false && current_user_can( 'manage_options' ) ) {
877
- $status = get_option("sticky_header_status");
878
- if($status == false) {
879
- update_option("sticky_header_status", "done");
880
- update_option("has_sticky_header_old_version", "no");
881
- }
882
- update_option( 'mysticky_option_name', $default );
883
- } else {
884
- $status = get_option("sticky_header_status");
885
- if($status == false) {
886
- update_option("sticky_header_status", "done");
887
- update_option("has_sticky_header_old_version", "yes");
888
- }
889
- }
890
-
891
- if(isset($_POST['reset_mysticky_options']) && current_user_can( 'manage_options' )) {
892
- if(isset($_REQUEST['nonce']) && !empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mysticky_option_backend_reset_nonce')) {
893
- update_option('mysticky_option_name', $default);
894
- } else {
895
-
896
- }
897
- }
898
-
899
- if ( !get_option( 'update_mysticky_version_2_6') && current_user_can( 'manage_options' )) {
900
- $mysticky_option_name = get_option( 'mysticky_option_name' );
901
- $mysticky_option_name['mysticky_class_id_selector'] = 'custom';
902
- if ($mysticky_option_name['myfixed_fade'] == 'on'){
903
- $mysticky_option_name['myfixed_fade'] = 'slide';
904
- }else{
905
- $mysticky_option_name['myfixed_fade'] = 'fade';
906
- }
907
- update_option( 'mysticky_option_name', $mysticky_option_name );
908
- update_option( 'update_mysticky_version_2_6', true );
909
- }
910
- }
911
-
912
- /*
913
- * clear cache when any option is updated
914
- *
915
- */
916
- public function mysticky_clear_all_caches(){
917
-
918
- try {
919
- global $wp_fastest_cache;
920
-
921
- // if W3 Total Cache is being used, clear the cache
922
- if (function_exists('w3tc_flush_all')) {
923
- w3tc_flush_all();
924
- }
925
- /* if WP Super Cache is being used, clear the cache */
926
- if (function_exists('wp_cache_clean_cache')) {
927
- global $file_prefix, $supercachedir;
928
- if (empty($supercachedir) && function_exists('get_supercache_dir')) {
929
- $supercachedir = get_supercache_dir();
930
- }
931
- wp_cache_clean_cache($file_prefix);
932
- }
933
-
934
- if (class_exists('WpeCommon')) {
935
- //be extra careful, just in case 3rd party changes things on us
936
- if (method_exists('WpeCommon', 'purge_memcached')) {
937
- //WpeCommon::purge_memcached();
938
- }
939
- if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
940
- //WpeCommon::clear_maxcdn_cache();
941
- }
942
- if (method_exists('WpeCommon', 'purge_varnish_cache')) {
943
- //WpeCommon::purge_varnish_cache();
944
- }
945
- }
946
-
947
- if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
948
- $wp_fastest_cache->deleteCache();
949
- }
950
- if (function_exists('rocket_clean_domain')) {
951
- rocket_clean_domain();
952
- // Preload cache.
953
- if (function_exists('run_rocket_sitemap_preload')) {
954
- run_rocket_sitemap_preload();
955
- }
956
- }
957
-
958
- if (class_exists("autoptimizeCache") && method_exists("autoptimizeCache", "clearall")) {
959
- autoptimizeCache::clearall();
960
- }
961
-
962
- if (class_exists("LiteSpeed_Cache_API") && method_exists("autoptimizeCache", "purge_all")) {
963
- LiteSpeed_Cache_API::purge_all();
964
- }
965
-
966
- if ( class_exists( '\Hummingbird\Core\Utils' ) ) {
967
-
968
- $modules = \Hummingbird\Core\Utils::get_active_cache_modules();
969
- foreach ( $modules as $module => $name ) {
970
- $mod = \Hummingbird\Core\Utils::get_module( $module );
971
-
972
- if ( $mod->is_active() ) {
973
- if ( 'minify' === $module ) {
974
- $mod->clear_files();
975
- } else {
976
- $mod->clear_cache();
977
- }
978
- }
979
- }
980
- }
981
-
982
- } catch (Exception $e) {
983
- return 1;
984
- }
985
- }
986
-
987
- public function mystickymenu_deactivate() {
988
- global $pagenow;
989
-
990
- if ( 'plugins.php' !== $pagenow ) {
991
- return;
992
- }
993
- include dirname(__FILE__) . "/mystickymenu-deactivate-form.php";
994
- }
995
- public function mystickymenu_plugin_deactivate() {
996
- global $current_user;
997
- if ( ! current_user_can( 'manage_options' ) ) {
998
- wp_die(0);
999
- }
1000
- check_ajax_referer( 'mystickymenu_deactivate_nonce', 'nonce' );
1001
-
1002
- $postData = $_POST;
1003
- $errorCounter = 0;
1004
- $response = array();
1005
- $response['status'] = 0;
1006
- $response['message'] = "";
1007
- $response['valid'] = 1;
1008
- if(!isset($postData['reason']) || empty($postData['reason'])) {
1009
- $errorCounter++;
1010
- $response['message'] = "Please provide reason";
1011
- } else if(!isset($postData['reason']) || empty($postData['reason'])) {
1012
- $errorCounter++;
1013
- $response['message'] = "Please provide reason";
1014
- } else {
1015
- $nonce = $postData['nonce'];
1016
- if(!wp_verify_nonce($nonce, 'mystickymenu_deactivate_nonce')) {
1017
- $response['message'] = __("Your request is not valid", "mystickymenu");
1018
- $errorCounter++;
1019
- $response['valid'] = 0;
1020
- }
1021
- }
1022
- if($errorCounter == 0) {
1023
- global $current_user;
1024
- $plugin_info = get_plugin_data( dirname(__FILE__) . "/mystickymenu.php" );
1025
- $postData = $_POST;
1026
- $email = "none@none.none";
1027
-
1028
- if (isset($postData['email_id']) && !empty($postData['email_id']) && filter_var($postData['email_id'], FILTER_VALIDATE_EMAIL)) {
1029
- $email = $postData['email_id'];
1030
- }
1031
- $domain = site_url();
1032
- $user_name = $current_user->first_name . " " . $current_user->last_name;
1033
- $subject = "My Sticky Menu was removed from {$domain}";
1034
- $headers = "MIME-Version: 1.0\r\n";
1035
- $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
1036
- $headers .= 'From: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
1037
- $headers .= 'Reply-To: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
1038
- $headers .= 'X-Mailer: PHP/' . phpversion();
1039
- ob_start();
1040
- ?>
1041
- <table border="0" cellspacing="0" cellpadding="5">
1042
- <tr>
1043
- <th>Plugin</th>
1044
- <td>My Sticky Menu</td>
1045
- </tr>
1046
- <tr>
1047
- <th>Plugin Version</th>
1048
- <td><?php echo $plugin_info['Version']; ?></td>
1049
- </tr>
1050
- <tr>
1051
- <th>Domain</th>
1052
- <td><?php echo $domain ?></td>
1053
- </tr>
1054
- <tr>
1055
- <th>Email</th>
1056
- <td><?php echo $email ?></td>
1057
- </tr>
1058
- <tr>
1059
- <th>Reason</th>
1060
- <td><?php echo nl2br($postData['reason']) ?></td>
1061
- </tr>
1062
- <tr>
1063
- <th>WordPress Version</th>
1064
- <td><?php echo get_bloginfo('version') ?></td>
1065
- </tr>
1066
- <tr>
1067
- <th>PHP Version</th>
1068
- <td><?php echo PHP_VERSION ?></td>
1069
- </tr>
1070
- </table>
1071
- <?php
1072
- $content = ob_get_clean();
1073
- $to = "gal@premio.io,karina@premio.io";
1074
- wp_mail($to, $subject, $content, $headers);
1075
- $response['status'] = 1;
1076
- }
1077
- echo json_encode($response);
1078
- wp_die();
1079
- }
1080
- }
1081
-
1082
-
1083
-
1084
- class MyStickyMenuFrontend
1085
- {
1086
-
1087
- public function __construct()
1088
- {
1089
- add_action( 'wp_head', array( $this, 'mysticky_build_stylesheet_content' ) );
1090
- add_action( 'wp_enqueue_scripts', array( $this, 'mysticky_disable_at' ) );
1091
- }
1092
-
1093
- public function mysticky_build_stylesheet_content() {
1094
-
1095
- $mysticky_options = get_option( 'mysticky_option_name' );
1096
-
1097
- if (isset($mysticky_options['disable_css'])) {
1098
- //do nothing
1099
- } else {
1100
- $mysticky_options['disable_css'] = false;
1101
- }
1102
-
1103
- if ($mysticky_options ['disable_css'] == false ) {
1104
-
1105
- echo '<style id="mystickymenu" type="text/css">';
1106
- echo '#mysticky-nav { width:100%; position: static; }';
1107
- echo '#mysticky-nav.wrapfixed { position:fixed; left: 0px; margin-top:0px; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:' . $mysticky_options ['myfixed_opacity'] / 100 . '; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . ';}';
1108
-
1109
- echo '#mysticky-nav.wrapfixed .myfixed{ background-color: ' . $mysticky_options ['myfixed_bgcolor'] . '; position: relative;top: auto;left: auto;right: auto;}';
1110
-
1111
- if ( isset($mysticky_options ['myfixed_textcolor']) && $mysticky_options ['myfixed_textcolor'] != '' ) {
1112
- echo '#mysticky-nav.wrapfixed ul li.menu-item a { color: ' . $mysticky_options ['myfixed_textcolor'] . ';}';
1113
- }
1114
-
1115
-
1116
- if ($mysticky_options ['myfixed_disable_small_screen'] > 0 ){
1117
- //echo '@media (max-width: '.$mysticky_options['myfixed_disable_small_screen'].'px) {#mysticky-nav.wrapfixed {position: static;} }';
1118
- };
1119
- if ( !isset( $mysticky_options['myfixed_cssstyle'] ) ) {
1120
- echo '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }';
1121
- }
1122
- if ( isset( $mysticky_options['myfixed_cssstyle'] ) && $mysticky_options['myfixed_cssstyle'] != '' ) {
1123
- echo $mysticky_options ['myfixed_cssstyle'];
1124
- }
1125
- echo '</style>';
1126
- $template_name = get_template();
1127
- ?>
1128
- <style type="text/css">
1129
- <?php if( $template_name == 'hestia' ) { ?>
1130
- #mysticky-nav.wrapfixed {box-shadow: 0 1px 10px -6px #0000006b,0 1px 10px 0 #0000001f,0 4px 5px -2px #0000001a;}
1131
- #mysticky-nav.wrapfixed .navbar {position: relative;background-color: transparent;box-shadow: none;}
1132
- <?php } ?>
1133
- <?php if( $template_name == 'shapely' ) { ?>
1134
- #mysticky-nav.wrapfixed #site-navigation {position: relative;}
1135
- <?php } ?>
1136
- <?php if( $template_name == 'storefront' ) { ?>
1137
- #mysticky-nav.wrapfixed > .site-header {margin-bottom: 0;}
1138
- #mysticky-nav.wrapfixed > .storefront-primary-navigation {padding: 10px 0;}
1139
- <?php } ?>
1140
- <?php if( $template_name == 'transportex' ) { ?>
1141
- #mysticky-nav.wrapfixed > .transportex-menu-full {margin: 0 auto;}
1142
- .transportex-headwidget #mysticky-nav.wrapfixed .navbar-wp {top: 0;}
1143
- <?php } ?>
1144
- <?php if( $template_name == 'twentynineteen' ) { ?>
1145
- #mysticky-nav.wrapfixed {padding: 10px;}
1146
- <?php } ?>
1147
- <?php if( $template_name == 'twentysixteen' ) { ?>
1148
- #mysticky-nav.wrapfixed > .site-header {padding-top: 0;padding-bottom: 0;}
1149
- <?php } ?>
1150
- <?php if( $template_name == 'twentytwenty' ) { ?>
1151
- #site-header {background: transparent;}
1152
- <?php } ?>
1153
- </style>
1154
- <?php
1155
- }
1156
- }
1157
-
1158
- public function mystickymenu_google_fonts_url() {
1159
- $welcomebar = get_option( 'mysticky_option_welcomebar' );
1160
-
1161
- $default_fonts = array('Arial', 'Tahoma', 'Verdana', 'Helvetica', 'Times New Roman', 'Trebuchet MS', 'Georgia' );
1162
- $fonts_url = '';
1163
- $fonts = array();
1164
- $font_args = array();
1165
- $base_url = "https://fonts.googleapis.com/css";
1166
- $fonts['family']['Lato'] = 'Lato:400,500,600,700';
1167
- if ( isset($welcomebar['mysticky_welcomebar_font']) && $welcomebar['mysticky_welcomebar_font'] !='' && !in_array( $welcomebar['mysticky_welcomebar_font'], $default_fonts) ) {
1168
- $fonts['family'][$welcomebar['mysticky_welcomebar_font']] = $welcomebar['mysticky_welcomebar_font'] . ':400,500,600,700';
1169
- }
1170
- if ( isset($welcomebar['mysticky_welcomebar_btnfont']) && $welcomebar['mysticky_welcomebar_btnfont'] !='' && !in_array( $welcomebar['mysticky_welcomebar_btnfont'], $default_fonts) ) {
1171
- $fonts['family'][$welcomebar['mysticky_welcomebar_btnfont']] = $welcomebar['mysticky_welcomebar_btnfont'] . ':400,500,600,700';
1172
- }
1173
-
1174
- /* Prepapre URL if font family defined. */
1175
- if( !empty( $fonts['family'] ) ) {
1176
-
1177
- /* format family to string */
1178
- if( is_array($fonts['family']) ){
1179
- $fonts['family'] = implode( '|', $fonts['family'] );
1180
- }
1181
-
1182
- $font_args['family'] = urlencode( trim( $fonts['family'] ) );
1183
-
1184
- if( !empty( $fonts['subsets'] ) ){
1185
-
1186
- /* format subsets to string */
1187
- if( is_array( $fonts['subsets'] ) ){
1188
- $fonts['subsets'] = implode( ',', $fonts['subsets'] );
1189
- }
1190
-
1191
- $font_args['subsets'] = urlencode( trim( $fonts['subsets'] ) );
1192
- }
1193
-
1194
- $fonts_url = add_query_arg( $font_args, $base_url );
1195
- }
1196
-
1197
- return esc_url_raw( $fonts_url );
1198
- }
1199
-
1200
- public function mystickymenu_script() {
1201
-
1202
- $mysticky_options = get_option( 'mysticky_option_name' );
1203
-
1204
- if ( is_admin_bar_showing() ) {
1205
- $top = "true";
1206
- } else {
1207
- $top = "false";
1208
- }
1209
-
1210
- $welcomebar = get_option( 'mysticky_option_welcomebar' );
1211
- if ( isset($welcomebar['mysticky_welcomebar_enable']) && $welcomebar['mysticky_welcomebar_enable'] == 1 ) {
1212
- wp_enqueue_style('google-fonts', $this->mystickymenu_google_fonts_url(),array(), MYSTICKY_VERSION );
1213
- }
1214
-
1215
- // needed for update 1.7 => 1.8 ... will be removed in the future ()
1216
- if (isset($mysticky_options['mysticky_active_on_height_home'])) {
1217
- //do nothing
1218
- } else {
1219
- $mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
1220
- }
1221
-
1222
-
1223
- if ($mysticky_options['mysticky_active_on_height_home'] == 0 ) {
1224
- $mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
1225
- }
1226
-
1227
-
1228
- if ( is_front_page() && is_home() ) {
1229
-
1230
- $mysticky_options['mysticky_active_on_height'] = $mysticky_options['mysticky_active_on_height_home'];
1231
-
1232
- } elseif ( is_front_page()){
1233
-
1234
- $mysticky_options['mysticky_active_on_height'] = $mysticky_options['mysticky_active_on_height_home'];
1235
-
1236
- }
1237
- wp_register_script('detectmobilebrowser', plugins_url( 'js/detectmobilebrowser.js', __FILE__ ), array('jquery'), MYSTICKY_VERSION, true);
1238
- wp_enqueue_script( 'detectmobilebrowser' );
1239
-
1240
- wp_register_script('mystickymenu', plugins_url( 'js/mystickymenu.min.js', __FILE__ ), array('jquery'), MYSTICKY_VERSION, true);
1241
- wp_enqueue_script( 'mystickymenu' );
1242
-
1243
- $myfixed_disable_scroll_down = isset($mysticky_options['myfixed_disable_scroll_down']) ? $mysticky_options['myfixed_disable_scroll_down'] : 'false';
1244
- $mystickyTransition = isset($mysticky_options['myfixed_fade']) ? $mysticky_options['myfixed_fade'] : 'fade';
1245
- $mystickyDisableLarge = isset($mysticky_options['myfixed_disable_large_screen']) ? $mysticky_options['myfixed_disable_large_screen'] : '0';
1246
-
1247
- $mystickyClass = ( $mysticky_options['mysticky_class_id_selector'] != 'custom') ? '.menu-' . $mysticky_options['mysticky_class_id_selector'] .'-container' : $mysticky_options['mysticky_class_selector'];
1248
-
1249
- if ( $mysticky_options['mysticky_class_id_selector'] != 'custom' ) {
1250
- $template_name = get_template();
1251
- switch( $template_name ){
1252
- case 'ashe':
1253
- $mystickyClass = '#main-nav';
1254
- break;
1255
- case 'astra':
1256
- case 'hello-elementor':
1257
- case 'sydney':
1258
- case 'twentysixteen':
1259
- $mystickyClass = 'header.site-header';
1260
- break;
1261
- case 'generatepress':
1262
- $mystickyClass = 'nav.main-navigation';
1263
- break;
1264
- case 'transportex':
1265
- $mystickyClass = '.transportex-menu-full';
1266
- break;
1267
- case 'hestia':
1268
- case 'neve':
1269
- $mystickyClass = 'header.header';
1270
- break;
1271
- case 'mesmerize':
1272
- $mystickyClass = '.navigation-bar';
1273
- break;
1274
- case 'oceanwp':
1275
- $mystickyClass = 'header#site-header';
1276
- break;
1277
- case 'shapely':
1278
- $mystickyClass = '#site-navigation';
1279
- break;
1280
- case 'storefront':
1281
- $mystickyClass = '.storefront-primary-navigation';
1282
- break;
1283
- case 'twentynineteen':
1284
- $mystickyClass = '#site-navigation';
1285
- break;
1286
- case 'twentyseventeen':
1287
- $mystickyClass = '.navigation-top';
1288
- break;
1289
- default:
1290
- break;
1291
- }
1292
- }
1293
-
1294
-
1295
- $mysticky_translation_array = array(
1296
- 'mystickyClass' => $mystickyClass,
1297
- 'activationHeight' => $mysticky_options['mysticky_active_on_height'],
1298
- 'disableWidth' => $mysticky_options['myfixed_disable_small_screen'],
1299
- 'disableLargeWidth' => $mystickyDisableLarge,
1300
- 'adminBar' => $top,
1301
- 'device_desktop' => true,
1302
- 'device_mobile' => true,
1303
- 'mystickyTransition' => $mystickyTransition,
1304
- 'mysticky_disable_down' => $myfixed_disable_scroll_down,
1305
-
1306
-
1307
- );
1308
- wp_localize_script( 'mystickymenu', 'option', $mysticky_translation_array );
1309
- }
1310
-
1311
- public function mysticky_disable_at() {
1312
-
1313
-
1314
- $mysticky_options = get_option( 'mysticky_option_name' );
1315
-
1316
- $mysticky_disable_at_front_home = isset($mysticky_options['mysticky_disable_at_front_home']);
1317
- $mysticky_disable_at_blog = isset($mysticky_options['mysticky_disable_at_blog']);
1318
- $mysticky_disable_at_page = isset($mysticky_options['mysticky_disable_at_page']);
1319
- $mysticky_disable_at_tag = isset($mysticky_options['mysticky_disable_at_tag']);
1320
- $mysticky_disable_at_category = isset($mysticky_options['mysticky_disable_at_category']);
1321
- $mysticky_disable_at_single = isset($mysticky_options['mysticky_disable_at_single']);
1322
- $mysticky_disable_at_archive = isset($mysticky_options['mysticky_disable_at_archive']);
1323
- $mysticky_disable_at_search = isset($mysticky_options['mysticky_disable_at_search']);
1324
- $mysticky_disable_at_404 = isset($mysticky_options['mysticky_disable_at_404']);
1325
- $mysticky_enable_at_pages = isset($mysticky_options['mysticky_enable_at_pages']) ? $mysticky_options['mysticky_enable_at_pages'] : '';
1326
- $mysticky_enable_at_posts = isset($mysticky_options['mysticky_enable_at_posts']) ? $mysticky_options['mysticky_enable_at_posts'] : '';
1327
-
1328
- // Trim input to ignore empty spaces
1329
- $mysticky_enable_at_pages_exp = array_map('trim', explode(',', $mysticky_enable_at_pages));
1330
- $mysticky_enable_at_posts_exp = array_map('trim', explode(',', $mysticky_enable_at_posts));
1331
-
1332
-
1333
-
1334
-
1335
- if ( is_front_page() && is_home() ) { /* Default homepage */
1336
-
1337
- if ( $mysticky_disable_at_front_home == false ) {
1338
- $this->mystickymenu_script();
1339
- }
1340
- } elseif ( is_front_page()){ /* Static homepage */
1341
-
1342
- if ( $mysticky_disable_at_front_home == false ) {
1343
- $this->mystickymenu_script();
1344
- }
1345
-
1346
- } elseif ( is_home()){ /* Blog page */
1347
-
1348
- if ( $mysticky_disable_at_blog == false ) {
1349
- $this->mystickymenu_script();
1350
- }
1351
-
1352
- } elseif ( is_page() ){ /* Single page*/
1353
-
1354
- if ( $mysticky_disable_at_page == false ) {
1355
- $this->mystickymenu_script();
1356
- }
1357
- if ( is_page( $mysticky_enable_at_pages_exp ) ){
1358
- $this->mystickymenu_script();
1359
- }
1360
-
1361
- } elseif ( is_tag()){ /* Tag page */
1362
-
1363
- if ( $mysticky_disable_at_tag == false ) {
1364
- $this->mystickymenu_script();
1365
- }
1366
-
1367
- } elseif ( is_category()){ /* Category page */
1368
-
1369
- if ( $mysticky_disable_at_category == false ) {
1370
- $this->mystickymenu_script();
1371
- }
1372
-
1373
- } elseif ( is_single()){ /* Single post */
1374
-
1375
- if ( $mysticky_disable_at_single == false ) {
1376
- $this->mystickymenu_script();
1377
- }
1378
-
1379
- if ( is_single( $mysticky_enable_at_posts_exp ) ){
1380
- $this->mystickymenu_script();
1381
- }
1382
-
1383
- } elseif ( is_archive()){ /* Archive */
1384
-
1385
- if ( $mysticky_disable_at_archive == false ) {
1386
- $this->mystickymenu_script();
1387
- }
1388
-
1389
- } elseif ( is_search()){ /* Search */
1390
-
1391
- if ( $mysticky_disable_at_search == false ) {
1392
- $this->mystickymenu_script();
1393
- }
1394
-
1395
- } elseif ( is_404()){ /* 404 */
1396
-
1397
- if ( $mysticky_disable_at_404 == false ) {
1398
- $this->mystickymenu_script();
1399
- }
1400
- }
1401
-
1402
- }
1403
-
1404
- }
1405
-
1406
- if( is_admin() ) {
1407
- new MyStickyMenuBackend();
1408
- require_once 'mystickymenu-affiliate.php';
1409
-
1410
- } else {
1411
- new MyStickyMenuFrontend();
1412
  }
1
+ <?php
2
+ /*
3
+ Plugin Name: myStickymenu
4
+ Plugin URI: https://premio.io/
5
+ Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
+ Version: 2.4.8
7
+ Author: Premio
8
+ Author URI: https://premio.io/downloads/mystickymenu/
9
+ Text Domain: mystickymenu
10
+ Domain Path: /languages
11
+ License: GPLv2 or later
12
+ */
13
+
14
+ defined('ABSPATH') or die("Cannot access pages directly.");
15
+ define( 'MYSTICKY_VERSION', '2.4.8' );
16
+ define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
17
+ define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
18
+
19
+ require_once("mystickymenu-fonts.php");
20
+ require_once("welcome-bar.php");
21
+
22
+ if( is_admin() ) {
23
+ include_once 'class-review-box.php';
24
+ }
25
+
26
+ class MyStickyMenuBackend
27
+ {
28
+ private $options;
29
+
30
+ public function __construct()
31
+ {
32
+ add_action( 'admin_menu', array( $this, 'add_plugin_page' ) );
33
+ add_action( 'admin_init', array( $this, 'mysticky_load_transl') );
34
+
35
+ add_action( 'admin_init', array( $this, 'mysticky_default_options' ) );
36
+ add_action( 'admin_enqueue_scripts', array( $this, 'mysticky_admin_script' ) );
37
+
38
+ add_filter( 'plugin_action_links_mystickymenu/mystickymenu.php', array( $this, 'mystickymenu_settings_link' ) );
39
+
40
+ add_action( 'activated_plugin', array( $this, 'mystickymenu_activation_redirect' ) );
41
+
42
+ add_action("wp_ajax_sticky_menu_update_status", array($this, 'sticky_menu_update_status'));
43
+
44
+ add_action("wp_ajax_mystickymenu_update_popup_status", array($this, 'mystickymenu_popup_status'));
45
+
46
+ add_action( 'admin_footer', array( $this, 'mystickymenu_deactivate' ) );
47
+ add_action( 'wp_ajax_mystickymenu_plugin_deactivate', array( $this, 'mystickymenu_plugin_deactivate' ) );
48
+ }
49
+
50
+ public function mystickymenu_popup_status() {
51
+ if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mystickymenu_update_popup_status')) {
52
+ update_option("mystickymenu_intro_box", "hide");
53
+ }
54
+ echo esc_attr("1");
55
+ die;
56
+ }
57
+
58
+ public function sticky_menu_update_status() {
59
+ if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'myStickymenu_update_nonce')) {
60
+ $status = self::sanitize_options($_REQUEST['status']);
61
+ $email = self::sanitize_options($_REQUEST['email']);
62
+ update_option("mystickymenu_update_message", 2);
63
+ if($status == 1) {
64
+ $url = 'https://go.premio.io/api/update.php?email='.$email.'&plugin=myStickymenu';
65
+ $handle = curl_init();
66
+ curl_setopt($handle, CURLOPT_URL, $url);
67
+ curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
68
+ $response = curl_exec($handle);
69
+ curl_close($handle);
70
+ }
71
+ }
72
+ echo "1";
73
+ die;
74
+ }
75
+
76
+ public function mystickymenu_settings_link($links){
77
+ $settings_link = '<a href="admin.php?page=my-stickymenu-settings">Settings</a>';
78
+ $links['go_pro'] = '<a href="'.admin_url("admin.php?page=my-stickymenu-settings&type=upgrade").'" style="color: #FF5983;font-weight: bold;">'.__( 'Upgrade', 'stars-testimonials' ).'</a>';
79
+ array_unshift($links, $settings_link);
80
+ return $links;
81
+ }
82
+
83
+ public function mystickymenu_activation_redirect( $plugin) {
84
+ if( $plugin == plugin_basename( __FILE__ ) ) {
85
+ $is_shown = get_option("mystickymenu_update_message");
86
+ if($is_shown === false) {
87
+ add_option("mystickymenu_update_message", 1);
88
+ }
89
+ $option = get_option("mystickymenu_intro_box");
90
+ if($option === false) {
91
+ add_option("mystickymenu_intro_box", "show");
92
+ }
93
+ wp_redirect( admin_url( 'admin.php?page=my-stickymenu-settings' ) ) ;
94
+ exit;
95
+ }
96
+ }
97
+
98
+ public function mysticky_admin_script($hook) {
99
+
100
+ if ( !isset($_GET['page']) || ( isset($_GET['page']) && $_GET['page'] != 'my-stickymenu-settings' && $_GET['page'] != 'my-stickymenu-welcomebar' && $_GET['page'] != 'my-stickymenu-new-welcomebar' && $_GET['page'] != 'my-stickymenu-upgrade' && $_GET['page'] != 'msm-recommended-plugins' )) {
101
+ return;
102
+ }
103
+
104
+ wp_enqueue_style('mystickymenuAdminStyle', plugins_url('/css/mystickymenu-admin.css', __FILE__), array(), MYSTICKY_VERSION );
105
+ wp_enqueue_style( 'wp-color-picker' );
106
+ //wp_enqueue_script( 'wp-color-picker-alpha', plugins_url('/js/wp-color-picker-alpha.min.js', __FILE__), array( 'wp-color-picker' ), MYSTICKY_VERSION );
107
+ wp_enqueue_style( 'wp-jquery-ui-dialog' );
108
+ wp_enqueue_style('jquery-ui');
109
+
110
+ wp_enqueue_script('jquery-ui');
111
+ wp_enqueue_script('jquery-ui-slider');
112
+ //wp_enqueue_script('jquery-ui-datepicker');
113
+ wp_enqueue_script( 'jquery-ui-dialog' );
114
+ wp_enqueue_script( 'my-script-handle', plugins_url('js/iris-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
115
+
116
+ if($hook == "mystickymenu_page_my-stickymenu-upgrade") {
117
+ wp_enqueue_script( 'my-select2', plugins_url('js/select2.min.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
118
+ wp_enqueue_style('my-css-select2', plugins_url('css/select2.min.css', __FILE__), array(), MYSTICKY_VERSION );
119
+ wp_enqueue_style('my-css-admin-settings', plugins_url('css/admin-setting.css', __FILE__), array(), MYSTICKY_VERSION );
120
+ }
121
+
122
+ wp_enqueue_script('mystickymenuAdminScript', plugins_url('/js/mystickymenu-admin.js', __FILE__), array( 'jquery', 'jquery-ui-slider' ), MYSTICKY_VERSION);
123
+ }
124
+
125
+ public function mysticky_load_transl(){
126
+ load_plugin_textdomain('mystickymenu', FALSE, dirname(plugin_basename(__FILE__)).'/languages/');
127
+ }
128
+
129
+ function sanitize_options($value) {
130
+ $value = stripslashes($value);
131
+ $value = filter_var($value, FILTER_SANITIZE_STRING);
132
+ return $value;
133
+ }
134
+
135
+ public function add_plugin_page(){
136
+ if ( isset($_GET['hide_msmrecommended_plugin']) && $_GET['hide_msmrecommended_plugin'] == 1) {
137
+ update_option('hide_msmrecommended_plugin',true);
138
+ }
139
+ $hide_msmrecommended_plugin = get_option('hide_msmrecommended_plugin');
140
+ // This page will be under "Settings"
141
+ add_menu_page(
142
+ 'Settings Admin',
143
+ 'myStickymenu',
144
+ 'manage_options',
145
+ 'my-stickymenu-settings',
146
+ array( $this, 'create_admin_page' )
147
+ );
148
+ add_submenu_page(
149
+ 'my-stickymenu-settings',
150
+ 'Settings Admin',
151
+ 'Settings',
152
+ 'manage_options',
153
+ 'my-stickymenu-settings',
154
+ array( $this, 'create_admin_page' )
155
+ );
156
+ add_submenu_page(
157
+ 'my-stickymenu-settings',
158
+ 'Settings Admin',
159
+ 'Welcome Bar',
160
+ 'manage_options',
161
+ 'my-stickymenu-welcomebar',
162
+ array( $this, 'mystickystickymenu_admin_welcomebar_page' )
163
+ );
164
+ add_submenu_page(
165
+ 'my-stickymenu-settings',
166
+ 'Settings Admin',
167
+ '+ Create New Welcome Bar',
168
+ 'manage_options',
169
+ 'my-stickymenu-new-welcomebar',
170
+ array( $this, 'mystickystickymenu_admin_new_welcomebar_page' )
171
+ );
172
+ if ( !$hide_msmrecommended_plugin){
173
+ add_submenu_page(
174
+ 'my-stickymenu-settings',
175
+ 'msm-recommended-plugins',
176
+ 'Recommended Plugins',
177
+ 'manage_options',
178
+ 'msm-recommended-plugins',
179
+ array( $this, 'mystickymenu_recommended_plugins' )
180
+ );
181
+ }
182
+ add_submenu_page(
183
+ 'my-stickymenu-settings',
184
+ 'Upgrade to Pro',
185
+ 'Upgrade to Pro',
186
+ 'manage_options',
187
+ 'my-stickymenu-upgrade',
188
+ array( $this, 'mystickymenu_admin_upgrade_to_pro' )
189
+ );
190
+ }
191
+
192
+ public function create_admin_page(){
193
+
194
+ $upgarde_url = admin_url("admin.php?page=my-stickymenu-upgrade");
195
+ // Set class property
196
+ if (isset($_POST['mysticky_option_name']) && !empty($_POST['mysticky_option_name']) && isset($_POST['nonce'])) {
197
+ if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mysticky_option_backend_update')) {
198
+ $post = $_POST['mysticky_option_name'];
199
+ foreach($post as $key=>$value) {
200
+ $post[$key] = self::sanitize_options($value);
201
+ }
202
+
203
+ $post['device_desktop'] = 'on';
204
+ $post['device_mobile'] = 'on';
205
+ update_option( 'mysticky_option_name', $post);
206
+ $this->mysticky_clear_all_caches();
207
+ echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Settings saved.','mystickymenu'). '</p></strong></div>';
208
+ } else {
209
+ wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
210
+ echo '<div class="error settings-error notice is-dismissible "><p><strong>' . esc_html__('Unable to complete your request','mystickymenu'). '</p></strong></div>';
211
+ }
212
+ }
213
+
214
+ $mysticky_options = get_option( 'mysticky_option_name');
215
+ $is_old = get_option("has_sticky_header_old_version");
216
+ $is_old = ($is_old == "yes")?true:false;
217
+ $nonce = wp_create_nonce('mysticky_option_backend_update');
218
+ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
219
+
220
+ $is_shown = get_option("mystickymenu_update_message");
221
+ if($is_shown == 1) {?>
222
+ <div class="updates-form-form" >
223
+ <div class="popup-form-content">
224
+ <div id="add-update-folder-title" class="add-update-folder-title">
225
+ Would you like to get feature updates for myStickymenu in real-time?
226
+ </div>
227
+ <div class="folder-form-input">
228
+ <input id="myStickymenu_update_email" autocomplete="off" value="<?php echo get_option( 'admin_email' ) ?>" placeholder="Email address">
229
+ </div>
230
+ <div class="updates-content-buttons">
231
+ <button href="javascript:;" class="button button-primary form-submit-btn yes">Yes, I want</button>
232
+ <button href="javascript:;" class="button button-secondary form-cancel-btn no">Skip</button>
233
+ <div style="clear: both"></div>
234
+ </div>
235
+ <input type="hidden" id="myStickymenu_update_nonce" value="<?php echo wp_create_nonce("myStickymenu_update_nonce") ?>">
236
+ </div>
237
+ </div>
238
+ <?php } else {
239
+
240
+ $option = get_option("mystickymenu_intro_box");
241
+ if($option == "show") {
242
+ include_once dirname(__FILE__) . "/mystickymenu-popup.php";
243
+ }
244
+ ?>
245
+ <style>
246
+ div#wpcontent {
247
+ background: rgba(101,114,219,1);
248
+ background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
249
+ background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
250
+ background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
251
+ background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
252
+ background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
253
+ background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
254
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
255
+ }
256
+ </style>
257
+ <div id="mystickymenu" class="wrap mystickymenu">
258
+ <div class="sticky-header-menu">
259
+ <ul>
260
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>" class="active" ><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
261
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
262
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
263
+ </ul>
264
+ </div>
265
+ <div id="sticky-header-settings" class="sticky-header-content">
266
+ <div class="mystickymenu-heading">
267
+ <div class="myStickymenu-header-title">
268
+ <h3><?php esc_attr_e('How To Make a Sticky Header', 'mystickymenu'); ?></h3>
269
+ </div>
270
+ <p><?php _e("Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to HTML element class desired to be sticky (div id can be used as well).", 'mystickymenu'); ?></p>
271
+ </div>
272
+
273
+ <form class="mysticky-form" method="post" action="#">
274
+ <div class="mystickymenu-content-section sticky-class-sec">
275
+ <table>
276
+ <tr>
277
+ <td>
278
+ <label class="mysticky_title"><?php _e("Sticky Class", 'mystickymenu')?></label>
279
+ <br /><br />
280
+ <?php $nav_menus = wp_get_nav_menus();
281
+ $menu_locations = get_nav_menu_locations();
282
+ $locations = get_registered_nav_menus();
283
+ ?>
284
+ <select name="mysticky_option_name[mysticky_class_id_selector]" id="mystickymenu-select">
285
+ <option value=""><?php _e( 'Select Sticky Menu', 'mystickymenu' ); ?></option>
286
+
287
+ <?php foreach ( (array) $nav_menus as $_nav_menu ) : ?>
288
+ <option value="<?php echo esc_attr( $_nav_menu->slug ); ?>" <?php selected( $_nav_menu->slug, $mysticky_options['mysticky_class_id_selector'] ); ?>>
289
+ <?php
290
+ echo esc_html( $_nav_menu->name );
291
+
292
+ if ( ! empty( $menu_locations ) && in_array( $_nav_menu->term_id, $menu_locations ) ) {
293
+ $locations_assigned_to_this_menu = array();
294
+ foreach ( array_keys( $menu_locations, $_nav_menu->term_id ) as $menu_location_key ) {
295
+ if ( isset( $locations[ $menu_location_key ] ) ) {
296
+ $locations_assigned_to_this_menu[] = $locations[ $menu_location_key ];
297
+ }
298
+ }
299
+
300
+ /**
301
+ * Filters the number of locations listed per menu in the drop-down select.
302
+ *
303
+ * @since 3.6.0
304
+ *
305
+ * @param int $locations Number of menu locations to list. Default 3.
306
+ */
307
+ $assigned_locations = array_slice( $locations_assigned_to_this_menu, 0, absint( apply_filters( 'wp_nav_locations_listed_per_menu', 3 ) ) );
308
+
309
+ // Adds ellipses following the number of locations defined in $assigned_locations.
310
+ if ( ! empty( $assigned_locations ) ) {
311
+ printf(
312
+ ' (%1$s%2$s)',
313
+ implode( ', ', $assigned_locations ),
314
+ count( $locations_assigned_to_this_menu ) > count( $assigned_locations ) ? ' &hellip;' : ''
315
+ );
316
+ }
317
+ }
318
+ ?>
319
+ </option>
320
+ <?php endforeach; ?>
321
+ <option value="custom" <?php selected( 'custom', $mysticky_options['mysticky_class_id_selector'] ); ?>><?php esc_html_e( 'Other Class Or ID', 'mystickymenu' );?></option>
322
+ </select>
323
+
324
+ <input type="text" size="18" id="mysticky_class_selector" class="mystickyinput" name="mysticky_option_name[mysticky_class_selector]" value="<?php echo $mysticky_options['mysticky_class_selector'];?>" />
325
+
326
+ <p class="description"><?php _e("menu or header element class or id.", 'mystickymenu')?></p>
327
+ </td>
328
+ <td>
329
+ <div class="mysticky_device_upgrade">
330
+ <label class="mysticky_title"><?php _e("Devices", 'mystickymenu')?></label>
331
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
332
+
333
+ <ul class="mystickymenu-input-multicheckbox">
334
+ <li>
335
+ <label>
336
+ <input id="disable_css" name="mysticky_option_name[device_desktop]" type="checkbox" checked disabled />
337
+ <?php _e( 'Desktop', 'mystickymenu' );?>
338
+ </label>
339
+ </li>
340
+ <li>
341
+ <label>
342
+ <input id="disable_css" name="mysticky_option_name[device_mobile]" type="checkbox" checked disabled />
343
+ <?php _e( 'Mobile', 'mystickymenu' );?>
344
+ </label>
345
+ </li>
346
+ </ul>
347
+ </div>
348
+ </td>
349
+ </tr>
350
+ </table>
351
+ </div>
352
+
353
+
354
+ <div class="mystickymenu-content-section">
355
+ <h3><?php esc_html_e( 'Settings', 'mystickymenu' );?></h3>
356
+ <table class="form-table">
357
+ <tr>
358
+ <td>
359
+ <label for="myfixed_zindex" class="mysticky_title"><?php _e("Sticky z-index", 'mystickymenu')?></label>
360
+ </td>
361
+ <td>
362
+ <input type="number" min="0" max="2147483647" step="1" class="mysticky-number" id="myfixed_zindex" name="mysticky_option_name[myfixed_zindex]" value="<?php echo $mysticky_options['myfixed_zindex'];?>" />
363
+ </td>
364
+ <td>
365
+ <label class="mysticky_title myssticky-remove-hand"><?php _e("Fade or slide effect", 'mystickymenu')?></label>
366
+ </td>
367
+ <td>
368
+ <label>
369
+ <input name="mysticky_option_name[myfixed_fade]" value= "slide" type="radio" <?php checked( @$mysticky_options['myfixed_fade'], 'slide' );?> />
370
+ <?php _e("Slide", 'mystickymenu'); ?>
371
+ </label>
372
+ <label>
373
+ <input name="mysticky_option_name[myfixed_fade]" value="fade" type="radio" <?php checked( @$mysticky_options['myfixed_fade'], 'fade' );?> />
374
+ <?php _e("Fade", 'mystickymenu'); ?>
375
+ </label>
376
+ </td>
377
+ </tr>
378
+ <tr>
379
+ <td>
380
+ <label for="myfixed_disable_small_screen" class="mysticky_title"><?php _e("Disable at Small Screen Sizes", 'mystickymenu')?></label>
381
+ <p class="description"><?php esc_attr_e('Less than chosen screen width, set 0 to disable','mystickymenu');?></p>
382
+ </td>
383
+ <td>
384
+ <div class="px-wrap">
385
+ <input type="number" class="" min="0" step="1" id="myfixed_disable_small_screen" name="mysticky_option_name[myfixed_disable_small_screen]" value="<?php echo $mysticky_options['myfixed_disable_small_screen'];?>" />
386
+ <span class="input-px">PX</span>
387
+ </div>
388
+ </td>
389
+ <td>
390
+ <label for="mysticky_active_on_height" class="mysticky_title"><?php _e("Make visible on Scroll", 'mystickymenu')?></label>
391
+ <p class="description"><?php esc_attr_e('If set to 0 auto calculate will be used.','mystickymenu');?></p>
392
+ </td>
393
+ <td>
394
+ <div class="px-wrap">
395
+ <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height" name="mysticky_option_name[mysticky_active_on_height]" value="<?php echo $mysticky_options['mysticky_active_on_height'];?>" />
396
+ <span class="input-px">PX</span>
397
+ </div>
398
+ </td>
399
+ </tr>
400
+ <tr>
401
+ <td>
402
+ <label for="mysticky_active_on_height_home" class="mysticky_title"><?php _e("Make visible on Scroll at homepage", 'mystickymenu')?></label>
403
+ <p class="description"><?php _e( 'If set to 0 it will use initial Make visible on Scroll value.', 'mystickymenu' );?></p>
404
+ </td>
405
+ <td>
406
+ <div class="px-wrap">
407
+ <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height_home" name="mysticky_option_name[mysticky_active_on_height_home]" value="<?php echo $mysticky_options['mysticky_active_on_height_home'];?>" />
408
+ <span class="input-px">PX</span>
409
+ </div>
410
+ </td>
411
+ <td>
412
+ <label for="myfixed_bgcolor" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Background Color", 'mystickymenu')?></label>
413
+ </td>
414
+ <td>
415
+ <input type="text" id="myfixed_bgcolor" name="mysticky_option_name[myfixed_bgcolor]" class="my-color-field" data-alpha="true" value="<?php echo $mysticky_options['myfixed_bgcolor'];?>" />
416
+
417
+ </td>
418
+ </tr>
419
+ <tr>
420
+ <td>
421
+ <label for="myfixed_transition_time" class="mysticky_title"><?php _e("Sticky Transition Time", 'mystickymenu')?></label>
422
+ </td>
423
+ <td>
424
+ <input type="number" class="small-text" min="0" step="0.1" id="myfixed_transition_time" name="mysticky_option_name[myfixed_transition_time]" value="<?php echo $mysticky_options['myfixed_transition_time'];?>" />
425
+ </td>
426
+ <td>
427
+ <label for="myfixed_textcolor" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Text Color", 'mystickymenu')?></label>
428
+ </td>
429
+ <td>
430
+ <input type="text" id="myfixed_textcolor" name="mysticky_option_name[myfixed_textcolor]" class="my-color-field" data-alpha="true" value="<?php echo (isset($mysticky_options['myfixed_textcolor'])) ? $mysticky_options['myfixed_textcolor'] : '';?>" />
431
+
432
+ </td>
433
+ </tr>
434
+ <tr>
435
+ <td>
436
+ <label for="myfixed_opacity" class="mysticky_title myssticky-remove-hand"><?php _e("Sticky Opacity", 'mystickymenu')?></label>
437
+ <p class="description"><?php _e( 'numbers 1-100.', 'mystickymenu');?></p>
438
+ </td>
439
+ <td>
440
+ <input type="hidden" class="small-text mysticky-slider" min="0" step="1" max="100" id="myfixed_opacity" name="mysticky_option_name[myfixed_opacity]" value="<?php echo $mysticky_options['myfixed_opacity'];?>" />
441
+ <div id="slider">
442
+ <div id="custom-handle" class="ui-slider-handle"><?php //echo $mysticky_options['myfixed_opacity'];?></div>
443
+ </div>
444
+
445
+ </td>
446
+ </tr>
447
+ </table>
448
+ </div>
449
+
450
+ <div class="mystickymenu-content-section <?php echo !$is_old?"mystickymenu-content-upgrade":""?>" >
451
+
452
+ <div class="mystickymenu-content-option">
453
+ <label class="mysticky_title css-style-title"><?php _e("Hide on Scroll Down", 'mystickymenu'); ?></label>
454
+ <?php if(!$is_old) { ?><span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span><?php } ?>
455
+ <p>
456
+ <label class="mysticky_text">
457
+ <input id="myfixed_disable_scroll_down" name="mysticky_option_name[myfixed_disable_scroll_down]" type="checkbox" <?php checked( @$mysticky_options['myfixed_disable_scroll_down'], 'on' );?> <?php echo !$is_old?"disabled":"" ?> />
458
+ <?php _e("Disable sticky menu at scroll down", 'mystickymenu'); ?>
459
+ </label>
460
+ </p>
461
+ </div>
462
+ <div class="mysticky-page-target-setting mystickymenu-content-option">
463
+ <label class="mysticky_title"><?php esc_attr_e('Page targeting', 'myStickymenu'); ?></label>
464
+ <div class="mystickymenu-input-section mystickymenu-page-target-wrap">
465
+ <div class="mysticky-welcomebar-setting-content-right">
466
+ <div class="mysticky-page-options" id="mysticky-welcomebar-page-options">
467
+ <?php $page_option = (isset($mysticky_options['mysticky_page_settings'])) ? $mysticky_options['mysticky_page_settings'] : array();
468
+ $url_options = array(
469
+ 'page_contains' => 'pages that contain',
470
+ 'page_has_url' => 'a specific page',
471
+ 'page_start_with' => 'pages starting with',
472
+ 'page_end_with' => 'pages ending with',
473
+ );
474
+
475
+ if(!empty($page_option) && is_array($page_option)) {
476
+ $count = 0;
477
+ foreach($page_option as $k=>$option) {
478
+ $count++;
479
+ ?>
480
+ <div class="mysticky-page-option <?php echo $k==count($page_option)?"last":""; ?>">
481
+ <div class="url-content">
482
+ <div class="mysticky-welcomebar-url-select">
483
+ <select name="mysticky_option_name[mysticky_page_settings][<?php echo $count; ?>][shown_on]" id="url_shown_on_<?php echo $count ?>_option">
484
+ <option value="show_on" <?php echo $option['shown_on']=="show_on"?"selected":"" ?> ><?php esc_html_e( 'Show on', 'mysticky' )?></option>
485
+ <option value="not_show_on" <?php echo $option['shown_on']=="not_show_on"?"selected":"" ?>><?php esc_html_e( "Don't show on", "mysticky" );?></option>
486
+ </select>
487
+ </div>
488
+ <div class="mysticky-welcomebar-url-option">
489
+ <select class="mysticky-url-options" name="mysticky_option_name[mysticky_page_settings][<?php echo $count; ?>][option]" id="url_rules_<?php echo $count ?>_option">
490
+ <option disabled value=""><?php esc_html_e( "Select Rule", "mysticky" );?></option>
491
+ <?php foreach($url_options as $key=>$value) {
492
+ $selected = ( isset($option['option']) && $option['option']==$key )?" selected='selected' ":"";
493
+ echo '<option '.$selected.' value="'.$key.'">'.$value.'</option>';
494
+ } ?>
495
+ </select>
496
+ </div>
497
+ <div class="mysticky-welcomebar-url-box">
498
+ <span class='mysticky-welcomebar-url'><?php echo site_url("/"); ?></span>
499
+ </div>
500
+ <div class="mysticky-welcomebar-url-values">
501
+ <input type="text" value="<?php echo $option['value'] ?>" name="mysticky_option_name[mysticky_page_settings][<?php echo $count; ?>][value]" id="url_rules_<?php echo $count; ?>_value" />
502
+ </div>
503
+ <div class="mysticky-welcomebar-url-buttons">
504
+ <a class="mysticky-remove-rule" href="javascript:;">x</a>
505
+ </div>
506
+ <div class="clear"></div>
507
+ </div>
508
+ </div>
509
+ <?php
510
+ }
511
+ }
512
+ ?>
513
+ </div>
514
+ <a href="javascript:void(0);" class="create-rule" id="mysticky_create-rule"><?php esc_html_e( "Add Rule", "mystickymenu" );?></a>
515
+ </div>
516
+ <input type="hidden" id="mysticky_welcomebar_site_url" value="<?php echo site_url("/") ?>" />
517
+ <div class="mysticky-page-options-html" style="display: none;">
518
+ <div class="mysticky-page-option">
519
+ <div class="url-content">
520
+ <div class="mysticky-welcomebar-url-select">
521
+ <select name="" id="url_shown_on___count___option">
522
+ <option value="show_on"><?php esc_html_e("Show on", "mysticky" );?></option>
523
+ <option value="not_show_on"><?php esc_html_e("Don't show on", "mysticky" );?></option>
524
+ </select>
525
+ </div>
526
+ <div class="mysticky-welcomebar-url-option">
527
+ <select class="mysticky-url-options" name="" id="url_rules___count___option">
528
+ <option selected="selected" disabled value=""><?php esc_html_e("Select Rule", "mysticky" );?></option>
529
+ <?php foreach($url_options as $key=>$value) {
530
+ echo '<option value="'.$key.'">'.$value.'</option>';
531
+ } ?>
532
+ </select>
533
+ </div>
534
+ <div class="mysticky-welcomebar-url-box">
535
+ <span class='mysticky-welcomebar-url'><?php echo site_url("/"); ?></span>
536
+ </div>
537
+ <div class="mysticky-welcomebar-url-values">
538
+ <input type="text" value="" name="mysticky_option_name[mysticky_page_settings][__count__][value]" id="url_rules___count___value" disabled />
539
+ </div>
540
+ <div class="clear"></div>
541
+ </div>
542
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
543
+ </div>
544
+ </div>
545
+ </div>
546
+ </div>
547
+ <div class="mystickymenu-content-option">
548
+ <label class="mysticky_title css-style-title"><?php _e("CSS style", 'mystickymenu'); ?></label>
549
+ <span class="mysticky_text"><?php _e( 'Add/edit CSS style. Leave it blank for default style.', 'mystickymenu');?></span>
550
+ <div class="mystickymenu-input-section">
551
+ <textarea type="text" rows="4" cols="60" id="myfixed_cssstyle" name="mysticky_option_name[myfixed_cssstyle]" <?php echo !$is_old?"disabled":"" ?> ><?php echo @$mysticky_options['myfixed_cssstyle'];?></textarea>
552
+ </div>
553
+ <p><?php esc_html_e( "CSS ID's and Classes to use:", "mystickymenu" );?></p>
554
+ <p>
555
+ #mysticky-wrap { }<br/>
556
+ #mysticky-nav.wrapfixed { }<br/>
557
+ #mysticky-nav.wrapfixed.up { }<br/>
558
+ #mysticky-nav.wrapfixed.down { }<br/>
559
+ #mysticky-nav .navbar { }<br/>
560
+ #mysticky-nav .navbar.myfixed { }<br/>
561
+ </p>
562
+ </div>
563
+
564
+ <div class="mystickymenu-content-option">
565
+ <label class="mysticky_title" for="disable_css"><?php _e("Disable CSS style", 'mystickymenu'); ?></label>
566
+ <div class="mystickymenu-input-section">
567
+ <label>
568
+ <input id="disable_css" name="mysticky_option_name[disable_css]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['disable_css'], 'on' );?> />
569
+ <?php _e( 'Use this option if you plan to include CSS Style manually', 'mystickymenu' );?>
570
+ </label>
571
+ </div>
572
+ <p></p>
573
+ </div>
574
+
575
+ <div class="mystickymenu-content-option">
576
+ <label class="mysticky_title"><?php _e("Disable at", 'mystickymenu'); ?></label>
577
+ <?php if(!$is_old) { ?><span class="myStickymenu-upgrade"><a class="sticky-header-upgrade" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span><?php } ?>
578
+ <div class="mystickymenu-input-section">
579
+ <ul class="mystickymenu-input-multicheckbox">
580
+ <li>
581
+ <label>
582
+ <input id="mysticky_disable_at_front_home" name="mysticky_option_name[mysticky_disable_at_front_home]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_front_home'], 'on' );?>/>
583
+ <span><?php esc_attr_e('front page', 'mystickymenu' );?></span>
584
+ </label>
585
+ </li>
586
+ <li>
587
+ <label>
588
+ <input id="mysticky_disable_at_blog" name="mysticky_option_name[mysticky_disable_at_blog]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_blog'], 'on' );?>/>
589
+ <span><?php esc_attr_e('blog page', 'mystickymenu' );?></span>
590
+ </label>
591
+ </li>
592
+ <li>
593
+ <label>
594
+ <input id="mysticky_disable_at_page" name="mysticky_option_name[mysticky_disable_at_page]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_page'], 'on' );?> />
595
+ <span><?php esc_attr_e('pages', 'mystickymenu' );?> </span>
596
+ </label>
597
+ </li>
598
+ <li>
599
+ <label>
600
+ <input id="mysticky_disable_at_tag" name="mysticky_option_name[mysticky_disable_at_tag]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_tag'], 'on' );?> />
601
+ <span><?php esc_attr_e('tags', 'mystickymenu' );?> </span>
602
+ </label>
603
+ </li>
604
+ <li>
605
+ <label>
606
+ <input id="mysticky_disable_at_category" name="mysticky_option_name[mysticky_disable_at_category]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_category'], 'on' );?>/>
607
+ <span><?php esc_attr_e('categories', 'mystickymenu' );?></span>
608
+ </label>
609
+ </li>
610
+ <li>
611
+ <label>
612
+ <input id="mysticky_disable_at_single" name="mysticky_option_name[mysticky_disable_at_single]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_single'], 'on' );?> />
613
+ <span><?php esc_attr_e('posts', 'mystickymenu' );?> </span>
614
+ </label>
615
+ </li>
616
+ <li>
617
+ <label>
618
+ <input id="mysticky_disable_at_archive" name="mysticky_option_name[mysticky_disable_at_archive]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_archive'], 'on' );?> />
619
+ <span><?php esc_attr_e('archives', 'mystickymenu' );?> </span>
620
+ </label>
621
+ </li>
622
+ <li>
623
+ <label>
624
+ <input id="mysticky_disable_at_search" name="mysticky_option_name[mysticky_disable_at_search]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_search'], 'on' );?> />
625
+ <span><?php esc_attr_e('search', 'mystickymenu' );?> </span>
626
+ </label>
627
+ </li>
628
+ <li>
629
+ <label>
630
+ <input id="mysticky_disable_at_404" name="mysticky_option_name[mysticky_disable_at_404]" type="checkbox" <?php echo !$is_old?"disabled":"" ?> <?php checked( @$mysticky_options['mysticky_disable_at_404'], 'on' );?>/>
631
+ <span><?php esc_attr_e('404', 'mystickymenu' );?> </span>
632
+ </label>
633
+ </li>
634
+ </ul>
635
+
636
+ <?php
637
+ if (isset ( $mysticky_options['mysticky_disable_at_page'] ) == true ) {
638
+ echo '<div class="mystickymenu-input-section">';
639
+ _e('<span class="description"><strong>Except for this pages:</strong> </span>', 'mystickymenu');
640
+
641
+ printf(
642
+ '<input type="text" size="26" class="mystickymenu_normal_text" id="mysticky_enable_at_pages" name="mysticky_option_name[mysticky_enable_at_pages]" value="%s" /> ',
643
+ isset( $mysticky_options['mysticky_enable_at_pages'] ) ? esc_attr( $mysticky_options['mysticky_enable_at_pages']) : ''
644
+ );
645
+
646
+ _e('<span class="description">Comma separated list of pages to enable. It should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave blank if you realy want to disable sticky menu for all pages.</span>', 'mystickymenu');
647
+ echo '</div>';
648
+ }
649
+
650
+ if (isset ( $mysticky_options['mysticky_disable_at_single'] ) == true ) {
651
+
652
+ echo '<div class="mystickymenu-input-section">';
653
+ _e('<span class="description"><strong>Except for this posts:</strong> </span>', 'mystickymenu');
654
+
655
+ printf(
656
+ '<input type="text" size="26" class="mystickymenu_normal_text" id="mysticky_enable_at_posts" name="mysticky_option_name[mysticky_enable_at_posts]" value="%s" /> ',
657
+ isset( $mysticky_options['mysticky_enable_at_posts'] ) ? esc_attr( $mysticky_options['mysticky_enable_at_posts']) : ''
658
+ );
659
+
660
+ _e('<span class="description">Comma separated list of posts to enable. It should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave blank if you realy want to disable sticky menu for all posts.</span>', 'mystickymenu');
661
+ echo '</div>';
662
+
663
+ }
664
+ ?>
665
+ <p></p>
666
+ </div>
667
+ </div>
668
+
669
+ </div>
670
+ <p class="submit">
671
+ <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php esc_attr_e('Save', 'mystickymenu');?>">
672
+ </p>
673
+ <input type="hidden" name="nonce" value="<?php echo $nonce ?>">
674
+ </form>
675
+ <form class="mysticky-hideformreset" method="post" action="">
676
+ <input name="reset_mysticky_options" class="button button-secondary confirm" type="submit" value="<?php esc_attr_e('Reset', 'mystickymenu');?>" >
677
+ <input type="hidden" name="action" value="reset" />
678
+ <?php $nonce = wp_create_nonce('mysticky_option_backend_reset_nonce'); ?>
679
+ <input type="hidden" name="nonce" value="<?php echo $nonce ?>">
680
+ </form>
681
+ <p class="myStickymenu-review"><a href="https://wordpress.org/support/plugin/mystickymenu/reviews/" target="_blank"><?php esc_attr_e('Leave a review','mystickymenu'); ?></a></p>
682
+ </div>
683
+ </div>
684
+ <?php }
685
+ }
686
+ public function mystickystickymenu_admin_new_welcomebar_page() {
687
+ ?>
688
+ <div id="mystickymenu" class="wrap mystickymenu mystickymenu-new-widget-wrap">
689
+ <?php include_once dirname(__FILE__) . '/mystickymeny-new-welcomebar.php';?>
690
+ </div>
691
+ <?php
692
+ }
693
+
694
+ public function mystickystickymenu_admin_welcomebar_page() {
695
+ /* welcome bar save data */
696
+ if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
697
+ if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
698
+ $mysticky_option_welcomebar = filter_var_array( $_POST['mysticky_option_welcomebar'], FILTER_SANITIZE_STRING );
699
+ $mysticky_option_welcomebar['mysticky_welcomebar_bar_text'] = $_POST['mysticky_option_welcomebar']['mysticky_welcomebar_bar_text'];
700
+ $mysticky_option_welcomebar['mysticky_welcomebar_height'] = 60;
701
+ $mysticky_option_welcomebar['mysticky_welcomebar_device_desktop'] = 'desktop';
702
+ $mysticky_option_welcomebar['mysticky_welcomebar_device_mobile'] = 'mobile';
703
+ $mysticky_option_welcomebar['mysticky_welcomebar_trigger'] = 'after_a_few_seconds';
704
+ $mysticky_option_welcomebar['mysticky_welcomebar_triggersec'] = '0';
705
+ $mysticky_option_welcomebar['mysticky_welcomebar_expirydate'] = '';
706
+ $mysticky_option_welcomebar['mysticky_welcomebar_page_settings'] = '';
707
+ update_option( 'mysticky_option_welcomebar', $mysticky_option_welcomebar);
708
+ $this->mysticky_clear_all_caches();
709
+ echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Settings saved.','mystickymenu'). '</p></strong></div>';
710
+ } else {
711
+ wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
712
+ echo '<div class="error settings-error notice is-dismissible "><p><strong>' . esc_html__('Unable to complete your request','mystickymenu'). '</p></strong></div>';
713
+ }
714
+ }
715
+ if (isset($_POST['mysticky_welcomebar_reset']) && !empty($_POST['mysticky_welcomebar_reset']) && isset($_POST['nonce_reset'])) {
716
+ if(!empty($_POST['nonce_reset']) && wp_verify_nonce($_POST['nonce_reset'], 'mysticky_option_welcomebar_reset')) {
717
+ $mysticky_option_welcomebar_reset = mysticky_welcomebar_pro_widget_default_fields();
718
+ update_option( 'mysticky_option_welcomebar', $mysticky_option_welcomebar_reset);
719
+ $this->mysticky_clear_all_caches();
720
+ echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Reset Settings saved.','mystickymenu'). '</p></strong></div>';
721
+ } else {
722
+ wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
723
+ echo '<div class="error settings-error notice is-dismissible "><p><strong>' . esc_html__('Unable to complete your request','mystickymenu'). '</p></strong></div>';
724
+ }
725
+ }
726
+
727
+ $mysticky_options = get_option( 'mysticky_option_name');
728
+ $is_old = get_option("has_sticky_header_old_version");
729
+ $is_old = ($is_old == "yes")?true:false;
730
+ $nonce = wp_create_nonce('mysticky_option_backend_update');
731
+ $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
732
+
733
+ ?>
734
+ <style>
735
+ div#wpcontent {
736
+ background: rgba(101,114,219,1);
737
+ background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
738
+ background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
739
+ background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
740
+ background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
741
+ background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
742
+ background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
743
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
744
+ }
745
+ </style>
746
+ <div id="mystickymenu" class="wrap mystickymenu">
747
+ <div class="sticky-header-menu">
748
+ <ul>
749
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
750
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" class="active" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
751
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>"><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
752
+ </ul>
753
+ </div>
754
+ <div id="sticky-header-welcome-bar" class="sticky-header-content">
755
+ <?php mysticky_welcome_bar_backend(); ?>
756
+ </div>
757
+ </div>
758
+ <?php
759
+ }
760
+ public function mystickymenu_recommended_plugins() {
761
+ include_once 'recommended-plugins.php';
762
+ }
763
+ public function mystickymenu_admin_upgrade_to_pro() {
764
+ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
765
+ ?>
766
+ <style>
767
+ div#wpcontent {
768
+ background: rgba(101,114,219,1);
769
+ background: -moz-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
770
+ background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(101,114,219,1)), color-stop(67%, rgba(238,134,198,1)), color-stop(100%, rgba(238,134,198,1)));
771
+ background: -webkit-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
772
+ background: -o-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
773
+ background: -ms-linear-gradient(-45deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
774
+ background: linear-gradient(135deg, rgba(101,114,219,1) 0%, rgba(238,134,198,1) 67%, rgba(238,134,198,1) 100%);
775
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6572db', endColorstr='#ee86c6', GradientType=1 );
776
+ }
777
+ </style>
778
+ <div id="mystickymenu" class="wrap mystickymenu">
779
+ <div class="sticky-header-menu">
780
+ <ul>
781
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-settings' ) ?>"><?php _e('Sticky Menu', 'mystickymenu'); ?></a></li>
782
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ?>" ><?php _e('Welcome Bar', 'mystickymenu'); ?></a></li>
783
+ <li><a href="<?php echo admin_url( 'admin.php?page=my-stickymenu-upgrade' ) ?>" class="active" ><?php _e('Upgrade to Pro', 'mystickymenu'); ?></a></li>
784
+ </ul>
785
+ </div>
786
+ <?php include_once "upgrade-to-pro.php"; ?>
787
+ </div>
788
+ <?php
789
+ }
790
+
791
+ public function mysticky_default_options() {
792
+
793
+ global $options;
794
+ $menu_locations = get_nav_menu_locations();
795
+ $menu_object = isset($menu_locations['menu-1']) ? wp_get_nav_menu_object( $menu_locations['menu-1'] ) : array();
796
+
797
+ if ( is_object($menu_object) && $menu_object->slug != '' ) {
798
+ $mysticky_class_id_selector = $menu_object->slug;
799
+ } else {
800
+ $mysticky_class_id_selector = 'custom';
801
+ }
802
+
803
+ $mystickyClass = '.navbar';
804
+ $template_name = get_template();
805
+ switch( $template_name ){
806
+ case 'ashe':
807
+ $mysticky_class_id_selector = 'custom';
808
+ $mystickyClass = '#main-nav';
809
+ break;
810
+ case 'astra':
811
+ case 'hello-elementor':
812
+ case 'sydney':
813
+ case 'twentysixteen':
814
+ $mysticky_class_id_selector = 'custom';
815
+ $mystickyClass = 'header.site-header';
816
+ break;
817
+ case 'generatepress':
818
+ $mysticky_class_id_selector = 'custom';
819
+ $mystickyClass = 'nav.main-navigation';
820
+ break;
821
+ case 'transportex':
822
+ $mysticky_class_id_selector = 'custom';
823
+ $mystickyClass = '.transportex-menu-full';
824
+ break;
825
+ case 'hestia':
826
+ case 'neve':
827
+ $mysticky_class_id_selector = 'custom';
828
+ $mystickyClass = 'header.header';
829
+ break;
830
+ case 'mesmerize':
831
+ $mysticky_class_id_selector = 'custom';
832
+ $mystickyClass = '.navigation-bar';
833
+ break;
834
+ case 'oceanwp':
835
+ $mysticky_class_id_selector = 'custom';
836
+ $mystickyClass = 'header#site-header';
837
+ break;
838
+ case 'shapely':
839
+ $mysticky_class_id_selector = 'custom';
840
+ $mystickyClass = '#site-navigation';
841
+ break;
842
+ case 'storefront':
843
+ $mysticky_class_id_selector = 'custom';
844
+ $mystickyClass = '.storefront-primary-navigation';
845
+ break;
846
+ case 'twentynineteen':
847
+ $mysticky_class_id_selector = 'custom';
848
+ $mystickyClass = '#site-navigation';
849
+ break;
850
+ case 'twentyseventeen':
851
+ $mysticky_class_id_selector = 'custom';
852
+ $mystickyClass = '.navigation-top';
853
+ break;
854
+ default:
855
+ break;
856
+ }
857
+
858
+
859
+ $default = array(
860
+ 'mysticky_class_id_selector' => $mysticky_class_id_selector,
861
+ 'mysticky_class_selector' => $mystickyClass,
862
+ 'device_desktop' => 'on',
863
+ 'device_mobile' => 'on',
864
+ 'myfixed_zindex' => '99990',
865
+ 'myfixed_bgcolor' => '#f7f5e7',
866
+ 'myfixed_opacity' => '90',
867
+ 'myfixed_transition_time' => '0.3',
868
+ 'myfixed_disable_small_screen' => '0',
869
+ 'myfixed_disable_large_screen' => '0',
870
+ 'mysticky_active_on_height' => '0',
871
+ 'mysticky_active_on_height_home'=> '0',
872
+ 'myfixed_fade' => 'slide',
873
+ 'myfixed_cssstyle' => '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }'
874
+ );
875
+
876
+ if ( get_option('mysticky_option_name') == false && current_user_can( 'manage_options' ) ) {
877
+ $status = get_option("sticky_header_status");
878
+ if($status == false) {
879
+ update_option("sticky_header_status", "done");
880
+ update_option("has_sticky_header_old_version", "no");
881
+ }
882
+ update_option( 'mysticky_option_name', $default );
883
+ } else {
884
+ $status = get_option("sticky_header_status");
885
+ if($status == false) {
886
+ update_option("sticky_header_status", "done");
887
+ update_option("has_sticky_header_old_version", "yes");
888
+ }
889
+ }
890
+
891
+ if(isset($_POST['reset_mysticky_options']) && current_user_can( 'manage_options' )) {
892
+ if(isset($_REQUEST['nonce']) && !empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mysticky_option_backend_reset_nonce')) {
893
+ update_option('mysticky_option_name', $default);
894
+ } else {
895
+
896
+ }
897
+ }
898
+
899
+ if ( !get_option( 'update_mysticky_version_2_6') && current_user_can( 'manage_options' )) {
900
+ $mysticky_option_name = get_option( 'mysticky_option_name' );
901
+ $mysticky_option_name['mysticky_class_id_selector'] = 'custom';
902
+ if ($mysticky_option_name['myfixed_fade'] == 'on'){
903
+ $mysticky_option_name['myfixed_fade'] = 'slide';
904
+ }else{
905
+ $mysticky_option_name['myfixed_fade'] = 'fade';
906
+ }
907
+ update_option( 'mysticky_option_name', $mysticky_option_name );
908
+ update_option( 'update_mysticky_version_2_6', true );
909
+ }
910
+ }
911
+
912
+ /*
913
+ * clear cache when any option is updated
914
+ *
915
+ */
916
+ public function mysticky_clear_all_caches(){
917
+
918
+ try {
919
+ global $wp_fastest_cache;
920
+
921
+ // if W3 Total Cache is being used, clear the cache
922
+ if (function_exists('w3tc_flush_all')) {
923
+ w3tc_flush_all();
924
+ }
925
+ /* if WP Super Cache is being used, clear the cache */
926
+ if (function_exists('wp_cache_clean_cache')) {
927
+ global $file_prefix, $supercachedir;
928
+ if (empty($supercachedir) && function_exists('get_supercache_dir')) {
929
+ $supercachedir = get_supercache_dir();
930
+ }
931
+ wp_cache_clean_cache($file_prefix);
932
+ }
933
+
934
+ if (class_exists('WpeCommon')) {
935
+ //be extra careful, just in case 3rd party changes things on us
936
+ if (method_exists('WpeCommon', 'purge_memcached')) {
937
+ //WpeCommon::purge_memcached();
938
+ }
939
+ if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
940
+ //WpeCommon::clear_maxcdn_cache();
941
+ }
942
+ if (method_exists('WpeCommon', 'purge_varnish_cache')) {
943
+ //WpeCommon::purge_varnish_cache();
944
+ }
945
+ }
946
+
947
+ if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
948
+ $wp_fastest_cache->deleteCache();
949
+ }
950
+ if (function_exists('rocket_clean_domain')) {
951
+ rocket_clean_domain();
952
+ // Preload cache.
953
+ if (function_exists('run_rocket_sitemap_preload')) {
954
+ run_rocket_sitemap_preload();
955
+ }
956
+ }
957
+
958
+ if (class_exists("autoptimizeCache") && method_exists("autoptimizeCache", "clearall")) {
959
+ autoptimizeCache::clearall();
960
+ }
961
+
962
+ if (class_exists("LiteSpeed_Cache_API") && method_exists("autoptimizeCache", "purge_all")) {
963
+ LiteSpeed_Cache_API::purge_all();
964
+ }
965
+
966
+ if ( class_exists( '\Hummingbird\Core\Utils' ) ) {
967
+
968
+ $modules = \Hummingbird\Core\Utils::get_active_cache_modules();
969
+ foreach ( $modules as $module => $name ) {
970
+ $mod = \Hummingbird\Core\Utils::get_module( $module );
971
+
972
+ if ( $mod->is_active() ) {
973
+ if ( 'minify' === $module ) {
974
+ $mod->clear_files();
975
+ } else {
976
+ $mod->clear_cache();
977
+ }
978
+ }
979
+ }
980
+ }
981
+
982
+ } catch (Exception $e) {
983
+ return 1;
984
+ }
985
+ }
986
+
987
+ public function mystickymenu_deactivate() {
988
+ global $pagenow;
989
+
990
+ if ( 'plugins.php' !== $pagenow ) {
991
+ return;
992
+ }
993
+ include dirname(__FILE__) . "/mystickymenu-deactivate-form.php";
994
+ }
995
+ public function mystickymenu_plugin_deactivate() {
996
+ global $current_user;
997
+ if ( ! current_user_can( 'manage_options' ) ) {
998
+ wp_die(0);
999
+ }
1000
+ check_ajax_referer( 'mystickymenu_deactivate_nonce', 'nonce' );
1001
+
1002
+ $postData = $_POST;
1003
+ $errorCounter = 0;
1004
+ $response = array();
1005
+ $response['status'] = 0;
1006
+ $response['message'] = "";
1007
+ $response['valid'] = 1;
1008
+ if(!isset($postData['reason']) || empty($postData['reason'])) {
1009
+ $errorCounter++;
1010
+ $response['message'] = "Please provide reason";
1011
+ } else if(!isset($postData['reason']) || empty($postData['reason'])) {
1012
+ $errorCounter++;
1013
+ $response['message'] = "Please provide reason";
1014
+ } else {
1015
+ $nonce = $postData['nonce'];
1016
+ if(!wp_verify_nonce($nonce, 'mystickymenu_deactivate_nonce')) {
1017
+ $response['message'] = __("Your request is not valid", "mystickymenu");
1018
+ $errorCounter++;
1019
+ $response['valid'] = 0;
1020
+ }
1021
+ }
1022
+ if($errorCounter == 0) {
1023
+ global $current_user;
1024
+ $plugin_info = get_plugin_data( dirname(__FILE__) . "/mystickymenu.php" );
1025
+ $postData = $_POST;
1026
+ $email = "none@none.none";
1027
+
1028
+ if (isset($postData['email_id']) && !empty($postData['email_id']) && filter_var($postData['email_id'], FILTER_VALIDATE_EMAIL)) {
1029
+ $email = $postData['email_id'];
1030
+ }
1031
+ $domain = site_url();
1032
+ $user_name = $current_user->first_name . " " . $current_user->last_name;
1033
+ $subject = "My Sticky Menu was removed from {$domain}";
1034
+ $headers = "MIME-Version: 1.0\r\n";
1035
+ $headers .= "Content-Type: text/html; charset=UTF-8\r\n";
1036
+ $headers .= 'From: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
1037
+ $headers .= 'Reply-To: ' . $user_name . ' <' . $email . '>' . PHP_EOL;
1038
+ $headers .= 'X-Mailer: PHP/' . phpversion();
1039
+ ob_start();
1040
+ ?>
1041
+ <table border="0" cellspacing="0" cellpadding="5">
1042
+ <tr>
1043
+ <th>Plugin</th>
1044
+ <td>My Sticky Menu</td>
1045
+ </tr>
1046
+ <tr>
1047
+ <th>Plugin Version</th>
1048
+ <td><?php echo $plugin_info['Version']; ?></td>
1049
+ </tr>
1050
+ <tr>
1051
+ <th>Domain</th>
1052
+ <td><?php echo $domain ?></td>
1053
+ </tr>
1054
+ <tr>
1055
+ <th>Email</th>
1056
+ <td><?php echo $email ?></td>
1057
+ </tr>
1058
+ <tr>
1059
+ <th>Reason</th>
1060
+ <td><?php echo nl2br($postData['reason']) ?></td>
1061
+ </tr>
1062
+ <tr>
1063
+ <th>WordPress Version</th>
1064
+ <td><?php echo get_bloginfo('version') ?></td>
1065
+ </tr>
1066
+ <tr>
1067
+ <th>PHP Version</th>
1068
+ <td><?php echo PHP_VERSION ?></td>
1069
+ </tr>
1070
+ </table>
1071
+ <?php
1072
+ $content = ob_get_clean();
1073
+ $to = "gal@premio.io,karina@premio.io";
1074
+ wp_mail($to, $subject, $content, $headers);
1075
+ $response['status'] = 1;
1076
+ }
1077
+ echo json_encode($response);
1078
+ wp_die();
1079
+ }
1080
+ }
1081
+
1082
+
1083
+
1084
+ class MyStickyMenuFrontend
1085
+ {
1086
+
1087
+ public function __construct()
1088
+ {
1089
+ add_action( 'wp_head', array( $this, 'mysticky_build_stylesheet_content' ) );
1090
+ add_action( 'wp_enqueue_scripts', array( $this, 'mysticky_disable_at' ) );
1091
+ }
1092
+
1093
+ public function mysticky_build_stylesheet_content() {
1094
+
1095
+ $mysticky_options = get_option( 'mysticky_option_name' );
1096
+
1097
+ if (isset($mysticky_options['disable_css'])) {
1098
+ //do nothing
1099
+ } else {
1100
+ $mysticky_options['disable_css'] = false;
1101
+ }
1102
+
1103
+ if ($mysticky_options ['disable_css'] == false ) {
1104
+
1105
+ echo '<style id="mystickymenu" type="text/css">';
1106
+ echo '#mysticky-nav { width:100%; position: static; }';
1107
+ echo '#mysticky-nav.wrapfixed { position:fixed; left: 0px; margin-top:0px; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:' . $mysticky_options ['myfixed_opacity'] / 100 . '; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . ';}';
1108
+
1109
+ echo '#mysticky-nav.wrapfixed .myfixed{ background-color: ' . $mysticky_options ['myfixed_bgcolor'] . '; position: relative;top: auto;left: auto;right: auto;}';
1110
+
1111
+ if ( isset($mysticky_options ['myfixed_textcolor']) && $mysticky_options ['myfixed_textcolor'] != '' ) {
1112
+ echo '#mysticky-nav.wrapfixed ul li.menu-item a { color: ' . $mysticky_options ['myfixed_textcolor'] . ';}';
1113
+ }
1114
+
1115
+
1116
+ if ($mysticky_options ['myfixed_disable_small_screen'] > 0 ){
1117
+ //echo '@media (max-width: '.$mysticky_options['myfixed_disable_small_screen'].'px) {#mysticky-nav.wrapfixed {position: static;} }';
1118
+ };
1119
+ if ( !isset( $mysticky_options['myfixed_cssstyle'] ) ) {
1120
+ echo '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }';
1121
+ }
1122
+ if ( isset( $mysticky_options['myfixed_cssstyle'] ) && $mysticky_options['myfixed_cssstyle'] != '' ) {
1123
+ echo $mysticky_options ['myfixed_cssstyle'];
1124
+ }
1125
+ echo '</style>';
1126
+ $template_name = get_template();
1127
+ ?>
1128
+ <style type="text/css">
1129
+ <?php if( $template_name == 'hestia' ) { ?>
1130
+ #mysticky-nav.wrapfixed {box-shadow: 0 1px 10px -6px #0000006b,0 1px 10px 0 #0000001f,0 4px 5px -2px #0000001a;}
1131
+ #mysticky-nav.wrapfixed .navbar {position: relative;background-color: transparent;box-shadow: none;}
1132
+ <?php } ?>
1133
+ <?php if( $template_name == 'shapely' ) { ?>
1134
+ #mysticky-nav.wrapfixed #site-navigation {position: relative;}
1135
+ <?php } ?>
1136
+ <?php if( $template_name == 'storefront' ) { ?>
1137
+ #mysticky-nav.wrapfixed > .site-header {margin-bottom: 0;}
1138
+ #mysticky-nav.wrapfixed > .storefront-primary-navigation {padding: 10px 0;}
1139
+ <?php } ?>
1140
+ <?php if( $template_name == 'transportex' ) { ?>
1141
+ #mysticky-nav.wrapfixed > .transportex-menu-full {margin: 0 auto;}
1142
+ .transportex-headwidget #mysticky-nav.wrapfixed .navbar-wp {top: 0;}
1143
+ <?php } ?>
1144
+ <?php if( $template_name == 'twentynineteen' ) { ?>
1145
+ #mysticky-nav.wrapfixed {padding: 10px;}
1146
+ <?php } ?>
1147
+ <?php if( $template_name == 'twentysixteen' ) { ?>
1148
+ #mysticky-nav.wrapfixed > .site-header {padding-top: 0;padding-bottom: 0;}
1149
+ <?php } ?>
1150
+ <?php if( $template_name == 'twentytwenty' ) { ?>
1151
+ #site-header {background: transparent;}
1152
+ <?php } ?>
1153
+ </style>
1154
+ <?php
1155
+ }
1156
+ }
1157
+
1158
+ public function mystickymenu_google_fonts_url() {
1159
+ $welcomebar = get_option( 'mysticky_option_welcomebar' );
1160
+
1161
+ $default_fonts = array('Arial', 'Tahoma', 'Verdana', 'Helvetica', 'Times New Roman', 'Trebuchet MS', 'Georgia' );
1162
+ $fonts_url = '';
1163
+ $fonts = array();
1164
+ $font_args = array();
1165
+ $base_url = "https://fonts.googleapis.com/css";
1166
+ $fonts['family']['Lato'] = 'Lato:400,500,600,700';
1167
+ if ( isset($welcomebar['mysticky_welcomebar_font']) && $welcomebar['mysticky_welcomebar_font'] !='' && !in_array( $welcomebar['mysticky_welcomebar_font'], $default_fonts) ) {
1168
+ $fonts['family'][$welcomebar['mysticky_welcomebar_font']] = $welcomebar['mysticky_welcomebar_font'] . ':400,500,600,700';
1169
+ }
1170
+ if ( isset($welcomebar['mysticky_welcomebar_btnfont']) && $welcomebar['mysticky_welcomebar_btnfont'] !='' && !in_array( $welcomebar['mysticky_welcomebar_btnfont'], $default_fonts) ) {
1171
+ $fonts['family'][$welcomebar['mysticky_welcomebar_btnfont']] = $welcomebar['mysticky_welcomebar_btnfont'] . ':400,500,600,700';
1172
+ }
1173
+
1174
+ /* Prepapre URL if font family defined. */
1175
+ if( !empty( $fonts['family'] ) ) {
1176
+
1177
+ /* format family to string */
1178
+ if( is_array($fonts['family']) ){
1179
+ $fonts['family'] = implode( '|', $fonts['family'] );
1180
+ }
1181
+
1182
+ $font_args['family'] = urlencode( trim( $fonts['family'] ) );
1183
+
1184
+ if( !empty( $fonts['subsets'] ) ){
1185
+
1186
+ /* format subsets to string */
1187
+ if( is_array( $fonts['subsets'] ) ){
1188
+ $fonts['subsets'] = implode( ',', $fonts['subsets'] );
1189
+ }
1190
+
1191
+ $font_args['subsets'] = urlencode( trim( $fonts['subsets'] ) );
1192
+ }
1193
+
1194
+ $fonts_url = add_query_arg( $font_args, $base_url );
1195
+ }
1196
+
1197
+ return esc_url_raw( $fonts_url );
1198
+ }
1199
+
1200
+ public function mystickymenu_script() {
1201
+
1202
+ $mysticky_options = get_option( 'mysticky_option_name' );
1203
+
1204
+ if ( is_admin_bar_showing() ) {
1205
+ $top = "true";
1206
+ } else {
1207
+ $top = "false";
1208
+ }
1209
+
1210
+ $welcomebar = get_option( 'mysticky_option_welcomebar' );
1211
+ if ( isset($welcomebar['mysticky_welcomebar_enable']) && $welcomebar['mysticky_welcomebar_enable'] == 1 ) {
1212
+ wp_enqueue_style('google-fonts', $this->mystickymenu_google_fonts_url(),array(), MYSTICKY_VERSION );
1213
+ }
1214
+
1215
+ // needed for update 1.7 => 1.8 ... will be removed in the future ()
1216
+ if (isset($mysticky_options['mysticky_active_on_height_home'])) {
1217
+ //do nothing
1218
+ } else {
1219
+ $mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
1220
+ }
1221
+
1222
+
1223
+ if ($mysticky_options['mysticky_active_on_height_home'] == 0 ) {
1224
+ $mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
1225
+ }
1226
+
1227
+
1228
+ if ( is_front_page() && is_home() ) {
1229
+
1230
+ $mysticky_options['mysticky_active_on_height'] = $mysticky_options['mysticky_active_on_height_home'];
1231
+
1232
+ } elseif ( is_front_page()){
1233
+
1234
+ $mysticky_options['mysticky_active_on_height'] = $mysticky_options['mysticky_active_on_height_home'];
1235
+
1236
+ }
1237
+ wp_register_script('detectmobilebrowser', plugins_url( 'js/detectmobilebrowser.js', __FILE__ ), array('jquery'), MYSTICKY_VERSION, true);
1238
+ wp_enqueue_script( 'detectmobilebrowser' );
1239
+
1240
+ wp_register_script('mystickymenu', plugins_url( 'js/mystickymenu.min.js', __FILE__ ), array('jquery'), MYSTICKY_VERSION, true);
1241
+ wp_enqueue_script( 'mystickymenu' );
1242
+
1243
+ $myfixed_disable_scroll_down = isset($mysticky_options['myfixed_disable_scroll_down']) ? $mysticky_options['myfixed_disable_scroll_down'] : 'false';
1244
+ $mystickyTransition = isset($mysticky_options['myfixed_fade']) ? $mysticky_options['myfixed_fade'] : 'fade';
1245
+ $mystickyDisableLarge = isset($mysticky_options['myfixed_disable_large_screen']) ? $mysticky_options['myfixed_disable_large_screen'] : '0';
1246
+
1247
+ $mystickyClass = ( $mysticky_options['mysticky_class_id_selector'] != 'custom') ? '.menu-' . $mysticky_options['mysticky_class_id_selector'] .'-container' : $mysticky_options['mysticky_class_selector'];
1248
+
1249
+ if ( $mysticky_options['mysticky_class_id_selector'] != 'custom' ) {
1250
+ $template_name = get_template();
1251
+ switch( $template_name ){
1252
+ case 'ashe':
1253
+ $mystickyClass = '#main-nav';
1254
+ break;
1255
+ case 'astra':
1256
+ case 'hello-elementor':
1257
+ case 'sydney':
1258
+ case 'twentysixteen':
1259
+ $mystickyClass = 'header.site-header';
1260
+ break;
1261
+ case 'generatepress':
1262
+ $mystickyClass = 'nav.main-navigation';
1263
+ break;
1264
+ case 'transportex':
1265
+ $mystickyClass = '.transportex-menu-full';
1266
+ break;
1267
+ case 'hestia':
1268
+ case 'neve':
1269
+ $mystickyClass = 'header.header';
1270
+ break;
1271
+ case 'mesmerize':
1272
+ $mystickyClass = '.navigation-bar';
1273
+ break;
1274
+ case 'oceanwp':
1275
+ $mystickyClass = 'header#site-header';
1276
+ break;
1277
+ case 'shapely':
1278
+ $mystickyClass = '#site-navigation';
1279
+ break;
1280
+ case 'storefront':
1281
+ $mystickyClass = '.storefront-primary-navigation';
1282
+ break;
1283
+ case 'twentynineteen':
1284
+ $mystickyClass = '#site-navigation';
1285
+ break;
1286
+ case 'twentyseventeen':
1287
+ $mystickyClass = '.navigation-top';
1288
+ break;
1289
+ default:
1290
+ break;
1291
+ }
1292
+ }
1293
+
1294
+
1295
+ $mysticky_translation_array = array(
1296
+ 'mystickyClass' => $mystickyClass,
1297
+ 'activationHeight' => $mysticky_options['mysticky_active_on_height'],
1298
+ 'disableWidth' => $mysticky_options['myfixed_disable_small_screen'],
1299
+ 'disableLargeWidth' => $mystickyDisableLarge,
1300
+ 'adminBar' => $top,
1301
+ 'device_desktop' => true,
1302
+ 'device_mobile' => true,
1303
+ 'mystickyTransition' => $mystickyTransition,
1304
+ 'mysticky_disable_down' => $myfixed_disable_scroll_down,
1305
+
1306
+
1307
+ );
1308
+ wp_localize_script( 'mystickymenu', 'option', $mysticky_translation_array );
1309
+ }
1310
+
1311
+ public function mysticky_disable_at() {
1312
+
1313
+
1314
+ $mysticky_options = get_option( 'mysticky_option_name' );
1315
+
1316
+ $mysticky_disable_at_front_home = isset($mysticky_options['mysticky_disable_at_front_home']);
1317
+ $mysticky_disable_at_blog = isset($mysticky_options['mysticky_disable_at_blog']);
1318
+ $mysticky_disable_at_page = isset($mysticky_options['mysticky_disable_at_page']);
1319
+ $mysticky_disable_at_tag = isset($mysticky_options['mysticky_disable_at_tag']);
1320
+ $mysticky_disable_at_category = isset($mysticky_options['mysticky_disable_at_category']);
1321
+ $mysticky_disable_at_single = isset($mysticky_options['mysticky_disable_at_single']);
1322
+ $mysticky_disable_at_archive = isset($mysticky_options['mysticky_disable_at_archive']);
1323
+ $mysticky_disable_at_search = isset($mysticky_options['mysticky_disable_at_search']);
1324
+ $mysticky_disable_at_404 = isset($mysticky_options['mysticky_disable_at_404']);
1325
+ $mysticky_enable_at_pages = isset($mysticky_options['mysticky_enable_at_pages']) ? $mysticky_options['mysticky_enable_at_pages'] : '';
1326
+ $mysticky_enable_at_posts = isset($mysticky_options['mysticky_enable_at_posts']) ? $mysticky_options['mysticky_enable_at_posts'] : '';
1327
+
1328
+ // Trim input to ignore empty spaces
1329
+ $mysticky_enable_at_pages_exp = array_map('trim', explode(',', $mysticky_enable_at_pages));
1330
+ $mysticky_enable_at_posts_exp = array_map('trim', explode(',', $mysticky_enable_at_posts));
1331
+
1332
+
1333
+
1334
+
1335
+ if ( is_front_page() && is_home() ) { /* Default homepage */
1336
+
1337
+ if ( $mysticky_disable_at_front_home == false ) {
1338
+ $this->mystickymenu_script();
1339
+ }
1340
+ } elseif ( is_front_page()){ /* Static homepage */
1341
+
1342
+ if ( $mysticky_disable_at_front_home == false ) {
1343
+ $this->mystickymenu_script();
1344
+ }
1345
+
1346
+ } elseif ( is_home()){ /* Blog page */
1347
+
1348
+ if ( $mysticky_disable_at_blog == false ) {
1349
+ $this->mystickymenu_script();
1350
+ }
1351
+
1352
+ } elseif ( is_page() ){ /* Single page*/
1353
+
1354
+ if ( $mysticky_disable_at_page == false ) {
1355
+ $this->mystickymenu_script();
1356
+ }
1357
+ if ( is_page( $mysticky_enable_at_pages_exp ) ){
1358
+ $this->mystickymenu_script();
1359
+ }
1360
+
1361
+ } elseif ( is_tag()){ /* Tag page */
1362
+
1363
+ if ( $mysticky_disable_at_tag == false ) {
1364
+ $this->mystickymenu_script();
1365
+ }
1366
+
1367
+ } elseif ( is_category()){ /* Category page */
1368
+
1369
+ if ( $mysticky_disable_at_category == false ) {
1370
+ $this->mystickymenu_script();
1371
+ }
1372
+
1373
+ } elseif ( is_single()){ /* Single post */
1374
+
1375
+ if ( $mysticky_disable_at_single == false ) {
1376
+ $this->mystickymenu_script();
1377
+ }
1378
+
1379
+ if ( is_single( $mysticky_enable_at_posts_exp ) ){
1380
+ $this->mystickymenu_script();
1381
+ }
1382
+
1383
+ } elseif ( is_archive()){ /* Archive */
1384
+
1385
+ if ( $mysticky_disable_at_archive == false ) {
1386
+ $this->mystickymenu_script();
1387
+ }
1388
+
1389
+ } elseif ( is_search()){ /* Search */
1390
+
1391
+ if ( $mysticky_disable_at_search == false ) {
1392
+ $this->mystickymenu_script();
1393
+ }
1394
+
1395
+ } elseif ( is_404()){ /* 404 */
1396
+
1397
+ if ( $mysticky_disable_at_404 == false ) {
1398
+ $this->mystickymenu_script();
1399
+ }
1400
+ }
1401
+
1402
+ }
1403
+
1404
+ }
1405
+
1406
+ if( is_admin() ) {
1407
+ new MyStickyMenuBackend();
1408
+ require_once 'mystickymenu-affiliate.php';
1409
+
1410
+ } else {
1411
+ new MyStickyMenuFrontend();
1412
  }
mystickymeny-new-welcomebar.php CHANGED
@@ -1,63 +1,63 @@
1
- <link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins" />
2
- <h2 class="text-center"><?php esc_attr_e( 'Create a new My Sticky Welcome bar for your website. What can you use it for?', 'mystickyelements' ); ?></h2>
3
- <div class="mystickymenu-new-widget-row">
4
- <div class="mystickymenu-features">
5
- <ul>
6
- <li>
7
- <div class="mystickymenu-feature">
8
- <div class="mystickymenu-feature-top">
9
- <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-devices.png" />
10
- </div>
11
- <div class="feature-title">Create separate designs for desktop and mobile</div>
12
- <div class="feature-description">E.g. the mobile version can have a different color and a different position</div>
13
- </div>
14
- </li>
15
- <li>
16
- <div class="mystickymenu-feature">
17
- <div class="mystickymenu-feature-top">
18
- <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-language.png" />
19
- </div>
20
- <div class="feature-title">Do you have a multi-language website or WPML plugin installed?</div>
21
- <div class="feature-description">You can show different welcome bars based on URL (E.g. French welcome bar for the French version of your website)</div>
22
- </div>
23
- </li>
24
- <li>
25
- <div class="mystickymenu-feature">
26
- <div class="mystickymenu-feature-top">
27
- <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-widget.png" />
28
- </div>
29
- <div class="feature-description"><b>Show separate welcome bars for different products on your website</b> (e.g. you can show the welcome bar for products in the https://yourdomain.com/high-end/* category)</div>
30
- </div>
31
- </li>
32
- <li>
33
- <div class="mystickymenu-feature second">
34
- <div class="mystickymenu-feature-top">
35
- <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-page.png" />
36
- </div>
37
- <div class="feature-title">Display different channels for your landing pages</div>
38
- <div class="feature-description">This way you can track the results better and have the right welcome bars for your landing pages.</div>
39
- </div>
40
- </li>
41
- <li>
42
- <div class="mystickymenu-feature second">
43
- <div class="mystickymenu-feature-top">
44
- <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-support.png" />
45
- </div>
46
- <div class="feature-title">Show one welcome bar on your support and contact pages,</div>
47
- <div class="feature-description"> and a different welcome bar on your sales pages.</div>
48
- </div>
49
- </li>
50
- <li>
51
- <div class="mystickymenu-feature second">
52
- <div class="mystickymenu-feature-top">
53
- <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-chat.png" />
54
- </div>
55
- <div class="feature-title">Display different call-to-action buttons</div>
56
- <div class="feature-description">for different pages on your website or buttons for mobile and desktop</div>
57
- </div>
58
- </li>
59
- </ul>
60
- <div class="clear clearfix"></div>
61
- </div>
62
- <a href="<?php echo esc_url(admin_url("admin.php?page=my-stickymenu-upgrade")); ?>" class="new-upgrade-button" target="blank">Upgrade to Pro</a>
63
- </div>
1
+ <link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins" />
2
+ <h2 class="text-center"><?php esc_attr_e( 'Create a new My Sticky Welcome bar for your website. What can you use it for?', 'mystickyelements' ); ?></h2>
3
+ <div class="mystickymenu-new-widget-row">
4
+ <div class="mystickymenu-features">
5
+ <ul>
6
+ <li>
7
+ <div class="mystickymenu-feature">
8
+ <div class="mystickymenu-feature-top">
9
+ <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-devices.png" />
10
+ </div>
11
+ <div class="feature-title">Create separate designs for desktop and mobile</div>
12
+ <div class="feature-description">E.g. the mobile version can have a different color and a different position</div>
13
+ </div>
14
+ </li>
15
+ <li>
16
+ <div class="mystickymenu-feature">
17
+ <div class="mystickymenu-feature-top">
18
+ <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-language.png" />
19
+ </div>
20
+ <div class="feature-title">Do you have a multi-language website or WPML plugin installed?</div>
21
+ <div class="feature-description">You can show different welcome bars based on URL (E.g. French welcome bar for the French version of your website)</div>
22
+ </div>
23
+ </li>
24
+ <li>
25
+ <div class="mystickymenu-feature">
26
+ <div class="mystickymenu-feature-top">
27
+ <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-widget.png" />
28
+ </div>
29
+ <div class="feature-description"><b>Show separate welcome bars for different products on your website</b> (e.g. you can show the welcome bar for products in the https://yourdomain.com/high-end/* category)</div>
30
+ </div>
31
+ </li>
32
+ <li>
33
+ <div class="mystickymenu-feature second">
34
+ <div class="mystickymenu-feature-top">
35
+ <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-page.png" />
36
+ </div>
37
+ <div class="feature-title">Display different channels for your landing pages</div>
38
+ <div class="feature-description">This way you can track the results better and have the right welcome bars for your landing pages.</div>
39
+ </div>
40
+ </li>
41
+ <li>
42
+ <div class="mystickymenu-feature second">
43
+ <div class="mystickymenu-feature-top">
44
+ <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-support.png" />
45
+ </div>
46
+ <div class="feature-title">Show one welcome bar on your support and contact pages,</div>
47
+ <div class="feature-description"> and a different welcome bar on your sales pages.</div>
48
+ </div>
49
+ </li>
50
+ <li>
51
+ <div class="mystickymenu-feature second">
52
+ <div class="mystickymenu-feature-top">
53
+ <img src="<?php echo MYSTICKYMENU_URL ?>/images/pro-chat.png" />
54
+ </div>
55
+ <div class="feature-title">Display different call-to-action buttons</div>
56
+ <div class="feature-description">for different pages on your website or buttons for mobile and desktop</div>
57
+ </div>
58
+ </li>
59
+ </ul>
60
+ <div class="clear clearfix"></div>
61
+ </div>
62
+ <a href="<?php echo esc_url(admin_url("admin.php?page=my-stickymenu-upgrade")); ?>" class="new-upgrade-button" target="blank">Upgrade to Pro</a>
63
+ </div>
readme.txt CHANGED
@@ -1,496 +1,498 @@
1
- ===Sticky Menu on Scroll, Sticky Header, Floating Notification Bar for Any Theme - myStickymenu===
2
- Contributors: tomeraharon, galdub, premio
3
- Tags:menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar, floating bar, notification bar
4
- Requires at least: 3.5.1
5
- Tested up to: 5.6
6
- Stable tag: 2.4.7
7
- License: GPLv2 or later
8
-
9
- This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up. Also create a beautiful welcome notification bar with it.
10
-
11
- == Description ==
12
- <strong>This sticky menu plugin will make your menu or header sticky on top of page, after desired number of pixels when scrolled. You can use it also to create a Welcome bar for announcements, promotion and more. This lightweight plugin will help your visitors navigate easily and reach to the navigation menu without wasting time. Install My Sticky Menu and improve your website’s user experience! If you want to change the CSS style, disable on scroll down or disable on specific pages. check out the <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans">Pro version</a>.</strong>
13
-
14
- By default, myStickymenu should make your menu sticky without any adjustments on your end - which means your menu should become sticky right out of the box. Sticky menu is designed to use element class ".navbar" as "Sticky Class". That value should be modified in plugin settings for different themes to make it work. Sticky Class is actually nothing more than an element class (or id) of the element that should become sticky.
15
-
16
- [youtube https://www.youtube.com/watch?v=G_7swGnRmN0]
17
-
18
- <strong>📢 New feature:</strong> Welcome Bar. Use this powerful feature to create a beautiful floating sticky notification bar. No coding skill required, just turn it on, set up your announcement text and button, and voilà - your top notification bar is good to go!
19
-
20
- <strong>Let your visitors know about your company's Coronavirus COVID-19 updates</strong> - due to the latest Coronavirus COVID-19 outbreak, many of our users use the welcome bar to announce about their Coronavirus COVID-19 updates. You can use the notification bar as a Corona Virus - COVID-19 banner to make sure your visitors are up-to-date.
21
-
22
- With more than 80,000+ active installs and around 100 five-stars reviews, you can be sure that My Sticky Menu plugin is the right fit for your website.
23
-
24
- = BENEFITS =
25
- * Improve user experience by letting your visitors access the navigation menu and navigate to the pages they want when they want to.
26
- * Make your website look more modern with sticky menu on desktop and mobile.
27
- * Increase number of pageviews and visitors' time on website
28
- * Create your own floating Welcome Bar and let your visitors know about your latest deals, announcements or any other important information
29
-
30
- The sticky header function is localized (multi language support) and responsive (as far as your theme is). Also there is possibility to add custom css code which make this plugin very flexible, customizable and user friendly. You can also use the notification bar in any languauge.
31
-
32
- My Sticky Menu plugin is originally designed for Twenty Thirteen template but should work on any theme, like: OceanWP, Nirvana Template, Travelify, Twenty Sixteen, Twenty Ten, Twenty Eleven, Max Magazine, Graduate, Lawyer theme, Spacious, Suits and more.
33
-
34
- My Sticky Menu is tested and compatible with Elementor website builder, Divi, WPBakery, Gutenberg, Visual composer, Beaver and other WordPress website builders.
35
-
36
- = WITH MY STICKY MENU YOU CAN: =
37
- * Show sticky header on scroll down/up
38
- * Fade or slide effect
39
- * Disable at small screen
40
- * Choose when to make visible on scroll
41
- * Change the font color when the menu is sticky
42
- * Change the background color
43
- * Change the opacity
44
- * Change the sticky transition time
45
- * Define the z-index of the sticky header
46
- * Set an entrance effect for your sticky menu
47
-
48
- = WITH WELCOME BAR FEATURES YOU CAN: =
49
- * Display your floating bar at top position
50
- * Change the background and button colors for your hello bar
51
- * Change display frequency after submission - show the announcement bar on every page, once a visit, or don't show the announcement bar after it's submitted
52
- * Add an attention effect to your button and increase conversion and CTR
53
- * New! Add any custom HTML to your notification bar including strong, underline, italic, and much more. Use custom HTML to create a beautiful notification bar
54
- * Change font size and font family
55
- * Set your own text and call-to-action button text
56
- * Show the closing X on desktop/mobile
57
- * Show the call-to-action button in your top notification bar on desktop/mobile
58
- * Redirect your visitors to another URL on-click
59
-
60
- = WHAT DO YOU GET IN THE PRO PLAN =
61
- * Disable floating menu on Desktop/Mobile
62
- * Disable floating menu on scroll down
63
- * Add CSS style to the floating header
64
- * Disable/enable floating header on specific pages
65
-
66
- But wait, there's more 😉
67
-
68
- = Welcome Bar Pro Features =
69
- * Multi Welcome Bar - Create a separate notification bar for different pages based on page targeting rules (E.g. seperate notification bar for different languages, different product categories and much more)
70
- * Display your floating bar at bottom position
71
- * Change the height of the sticky notification bar
72
- * Open redirect link in a new tab
73
- * Show your notification bar just on mobile or desktop
74
- * Show your notification bar on scroll or after a few seconds
75
- * Set an expiry date for your welcome bar, including settings a timezone
76
- * Display your floating notification bar on specific pages
77
- * New: You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
78
- * New: Add a rel Attribute to your notification bar button
79
-
80
- <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here</strong></a>
81
-
82
- = Live Demo =
83
- A live demo for myStickymenu plugin and notification bar is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
84
-
85
- = myStickymenu IS GDPR COMPLAINT =
86
- We don’t store any local data about your visitors. Any time your menu or notification bar appears on your site, the plugin will not store any local data about it.
87
- <strong>Pro tip:</strong> You can the plugin's notification bar to let your website visitors know about your cookie policy :)
88
-
89
- = Testimonials =
90
-
91
- > "Works great.
92
- One of the key element that i consider when choosing a theme is the sticky menu option. If the theme doesn't have it normally I don't use it. But now that’s not a problem for me anymore."<br><br>
93
-
94
- > "This plugin rocks!
95
- This plugin does exactly what it should. It is simple but powerful. I would suggest to anyone who wants to make their navigation menu sticky! I especially love the hide header on scroll down, show on scroll up feature that is built it. Great work!<br>
96
-
97
-
98
- == Installation ==
99
- Install like any other plugin. After install activate.
100
- Go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id . Sticky Class should be HTML id or class of the HTML element desired to be sticky… Clear WordPress cache if exists.
101
-
102
- For example:
103
-
104
- Celestial-Lite (sticky header)
105
- ** Sticky Class => #branding
106
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed #site-navigation { margin-top:0px!important; } .myfixed #logo img {width: 200px;}
107
-
108
- Church Theme
109
- ** Sticky Class => #menu-hauptnavi
110
-
111
- Customizr Theme
112
- ** Sticky Class => .row-fluid (for header) or .nav (for menu)
113
-
114
- CyberChimps
115
- ** Sticky Class => .navbar-inner
116
-
117
- Decode
118
- ** Sticky Class => .header-menu
119
- ** Make visible when Scrolled after => 370
120
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; padding-top:5px; padding-bottom:5px; }
121
-
122
- Genesis / Dynamik Theme
123
- ** Sticky Class(sticky header) =>.site-header
124
- ** Sticky Class(sticky menu) =>.nav-primary
125
-
126
- Graduate
127
- ** Sticky Class => .main-navigation
128
-
129
- Graphene
130
- ** Sticky Class => #header-menu-wrap
131
-
132
- Illdy
133
- ** Sticky Class => .top-header
134
- ** Disable at Small Screen Sizes => 993
135
-
136
- Illdy (mobile support)
137
- ** Sticky Class => .header-blog
138
- ** CSS Style => #mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; } .myfixed .bottom-header {display:none;}
139
-
140
- Lawyer theme
141
- ** Sticky Class => .wrapper
142
- ** .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed { padding-left: 0px; padding-bottom: 0px; padding-top: 0px; } .wrapfixed { -webkit-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); -moz-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); } .myfixed .logo img { max-height: 45px; } .myfixed .quick-info { display: none; } .myfixed .mainmenu { margin: 0px } .myfixed .mainmenu { padding-top: 7px; }
143
-
144
- Max Magazine
145
- ** Sticky Class => #nav
146
- ** Make visible when Scrolled after => 250
147
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } #nav { min-height:40px!important; }
148
-
149
- Naturo Lite
150
- ** Sticky Class => .header-inner
151
-
152
- Nirvana Template
153
- ** Sticky Class => #access
154
-
155
- OceanWP
156
- ** Sticky Class => #site-header
157
-
158
- Responsive
159
- ** Sticky Class => .main-nav
160
- ** Make visible when Scrolled after => 250
161
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed .menu { background:none!important;}
162
-
163
- Spacious
164
- ** Sticky Class => #masthead (sticky header)
165
- ** Make visible when Scrolled after => 250
166
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed #site-description { display:none;} .myfixed #site-title a { font-size: 24px; } .myfixed #header-text { padding:0px!important;} .myfixed .main-navigation { padding-top: 0px!important; }
167
-
168
- Storefront
169
- ** Sticky Class => .main-navigation
170
-
171
- Suits
172
- ** Sticky Class => .navbar
173
-
174
- Tempera Template
175
- ** Sticky Class => .menu
176
-
177
- Travelify
178
- ** Sticky Class => #main-nav
179
-
180
- Twenty Sixteen
181
- ** Sticky Class => .site-header-main
182
-
183
- Twenty Ten
184
- ** Sticky Class => .menu
185
- ** Make visible when Scrolled after => 370
186
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .menu {min-height:38px;}
187
-
188
- Twenty Eleven
189
- ** Sticky Class => #access
190
- ** Make visible when Scrolled after => 600
191
- ** .myfixed css class => .myfixed { float:none!important; max-width:100%;}
192
- .myfixed .menu { background-color:none; float:left; }
193
- .myfixed div { margin: 0px!important ; padding: 0px 7.6%; }
194
-
195
- Twenty Eleven (add search to sticky menu bar)
196
- ** Sticky Class => #branding
197
- ** Make visible when Scrolled after => 600
198
- ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed a {display:none;} #mysticky-wrap {min-height:500px;} .myfixed #site-title, .myfixed #site-description{display:none;} .myfixed #access { margin: 0px auto 0px; } .myfixed #searchform { top: 0.3em!important; }
199
-
200
- Twenty Twelve
201
- ** Sticky Class => .nav-menu
202
- ** Make visible when Scrolled after => 250
203
-
204
- Twenty Thirteen (sticky header – add your own custom logo image and edit to suite your needs)
205
- ** Sticky Class => #masthead
206
- ** .myfixed css class => .myfixed { margin:0 auto; max-width:1070px; width:100%!important;} .myfixed .search-form, .myfixed .site-description, .myfixed .site-title { display:none;} .myfixed .home-link { max-width: 55px; min-height: 38px; margin-left:20px; float:left; background-image: url('logo.png'); } .myfixed .navbar { max-width:645px; float:right;} .wrapfixed .navbar { background-color: transparent; } .wrapfixed ul { padding-right:0px; }
207
-
208
- Webnus netStudio theme
209
- ** Sticky Class =>.nav-wrap2
210
-
211
- Weblizar
212
- ** Sticky Class => .row
213
-
214
- Wrock Metro Theme (entire header)
215
- ** Sticky Class =>#navigation
216
-
217
-
218
- == Frequently Asked Questions ==
219
-
220
- = How to find Sticky Class, what should I enter here? =
221
- So this depends on what you want to make sticky and what theme do you use, but for example if you want your menu to be sticky, than you can examine the code (in firefox right click and “View page source”) and find HTML element in which your menu is situated. This element have some class or id, and that’s the Sticky Class we need. If using class than don’t forget to ad dot (.) in front of class name, or hash (#) in front of id. Twenty Thirteen default working class is ".navbar" without of quotes.
222
-
223
- = Is there any way to restrict the width to the width of the header, rather than it being full width? =
224
- Yes, just leave "Sticky Background Color" field blank (clear). Than if needed define custom background color for sticky header inside ".myfixed css class" field using .myfixed class.
225
-
226
- = Ho do I add small logo to the menu? =
227
- That will depend on a theme you use, but if initially your menu and logo are in one div than you can use that div class or id in myStickymenu settings.
228
-
229
- If not you can change that in your header template file and add logo and menu divs inside new div with some custom class or id, than use that class or id in myStickymenu settings as a sticky class.
230
-
231
- In CSS you can style your custom class while not sticky using custom class you added before. Furthermore you can style your menu while sticky using .myfixed class which is added by js to your custom class while sticky is active.
232
-
233
- In some cases you can use the whole header div and than just style it different with .myfixed class, hide what you don’t need using CSS display:none; property, and position logo and menu as you like.
234
-
235
- = Is there a time limit for the free plan? =
236
- No. you can use the free plan as long as you want.
237
-
238
- = Can I use My Sticky Menu plugin on more than 1 domain? =
239
- There 2 ways to do it:
240
- 1. You can install the free Sticky Menu plugin plugin on any website you want
241
- 2. You can buy the Pro plan that includes licenses for 5 domains, or the Agency plan that includes licenses for 20 domains.
242
- Check out our <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">plans page</a>.
243
-
244
- = How long is my paid Sticky Menu plugin plugin license valid for? =
245
- Once you purchase any <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">paid plan</a> of my sticky menu, you can use it forever. Support and updates are available for 1 year. You can renew your license each year to get another year of support and updates.
246
-
247
- = Will Sticky Menu plugin stop working if I don’t renew my license? =
248
- Of course NOT! 🙂
249
- Your Sticky Menu plugin plugin and all your settings will continue to work as before; however, you will no longer receive plugin updates including feature additions, improvements, and support.
250
-
251
- = How do I activate my pro plan? =
252
- Just follow our <a href="https://premio.io/wordpress-premio-pro-version-installation-guide/" target="_blank" title="WordPress installation guide">pro installation guide</a>.
253
-
254
- = Is there a live demo formyStickymenu =
255
- A live demo for myStickymenu plugin is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
256
-
257
- = How does the Welcome Bar feature work and do I have to enable it? =
258
- After installing the plugin, you’ll have the option to turn on the welcome bar. You can create a floating bar that’ll appear on your site, and use it for promotion, announcements, and more. You don’t have to turn that feature on if you don’t want to :)
259
-
260
- == Screenshots ==
261
-
262
- 1. You can choose your current menu from the dropdown or enter it ID or class manually
263
- 2. Add you custom CSS
264
- 3. This is how myStickymenu will actually look on your site
265
- 4. Design your welcome bar
266
- 5. You can change the background text, call-to-action text, fonts, and colors
267
- 6. Check out welcome bar in action
268
-
269
-
270
- == Changelog ==
271
- = 2.4.7 =
272
- Background color fix
273
- = 2.4.6 =
274
- Height fix
275
- = 2.4.5 =
276
- Background color fix
277
- = 2.4.4 =
278
- New entrance effects and bug fixes
279
- = 2.4.3 =
280
- Infrastructure changes
281
- = 2.4.2 =
282
- iPhone and iPad notification bar and sticky menu frontend issues fixed
283
- = 2.4.1 =
284
- Credit removal
285
- = 2.4 =
286
- You can now change the sticky menu font color when the menu is sticky. We've also fixed a resize issue and a Divi gap bug
287
- = 2.3.9 =
288
- Notification bar fix
289
- = 2.3.8 =
290
- You can add custom HTML to your notification bar now
291
- = 2.3.7 =
292
- Change the welcome announcement bar frequency
293
- = 2.3.6 =
294
- WP 5.4 compatibility, and welcome announcement bar fixed
295
- = 2.3.5 =
296
- Review change
297
- = 2.3.4 =
298
- Frontend fixes
299
- = 2.3.3 =
300
- Slight CSS fixes
301
- = 2.3.2 =
302
- Minor bug fixes
303
- = 2.3.1 =
304
- If the sticky menu is on, and welcome bar is disabled, google fonts aren't downloaded
305
- = 2.3 =
306
- Fixed some appearance issues
307
- = 2.2.9 =
308
- Multiple lines support for the Welcome Bar
309
- = 2.2.8 =
310
- WP-admin submit button styling bug fixed
311
- = 2.2.7 =
312
- Added attention effects for the button
313
- = 2.2.6 =
314
- Sanitize input fixes
315
- = 2.2.5 =
316
- myStickyelements now works out-of-the-box with the following themes (which means you don't need to find your menu's class, it should work right after installation): Twenty Nineteen, Twenty Seventeen, Hello Elementor, OceanWP, Astra, Storefront, Twenty Sixteen, Neve, Hestia, Sydney, Shapely, GeneratePress, Mesmerize, Ashe, and Total. We've also added Google Lighthouse compatibility
317
- = 2.2.4 =
318
- Smoother transition when the sticky menu disappears
319
- = 2.2.3 =
320
- Pro version changes
321
- = 2.2.2 =
322
- Fixed apostrophes bug for Welcome bar
323
- = 2.2.1 =
324
- Sticky menu and welcome bar conflict fix
325
- = 2.2 =
326
- You can now add a welcome bar to your website
327
- = 2.1.8 =
328
- Upgrade page update
329
- = 2.1.7 =
330
- Fixed undefined indexes
331
- = 2.1.6 =
332
- Saving issue bug fixed
333
- = 2.1.5 =
334
- Security update
335
- = 2.1.4 =
336
- Fixed some page builders issues
337
- = 2.1.3 =
338
- Fixed variable output warnings bugs
339
- = 2.1.2 =
340
- Upgrade page change
341
- = 2.1.1 =
342
- * Added a testimonial
343
- = 2.1 =
344
- * New and easy UI, you can now select your menu from a dropdown
345
- = 2.0.6 =
346
- * Fixed: Enable / Disable at 404 page
347
- = 2.0.5 =
348
- * Added: Admin settings sidebar right
349
- * Added: Admin separated js script
350
- * Added: Admin separated css script
351
- = 2.0.4 =
352
- * Added: Hide for large screens
353
- = 2.0.3 =
354
- * Fixed: Missing bg color field
355
- = 2.0.1 =
356
- * Fixed: If user logged in but admin bar is not showing (error to calculate activation height)
357
- * Fixed: Admin style conflict with Scripts n Styles plugin
358
-
359
- = 2.0 =
360
- * Added: If Make visible on Scroll is set to 0 automatic activation and deactivation scroll height will be used (useful for responsive designs).
361
- * Added: Tabs for settings.
362
- * Added: option to disable on scroll down (show only on scroll up).
363
- * Added: Class .up and .down on scroll up or down.
364
- * Added: Reset to default settings.
365
- * Added: remove myStickymenu settings on plugin uninstall.
366
- * Added: index.php to plugin root to prevent directory browsing.
367
- * Fixed: If sticky menu class does not exist (null or undefined), it will show console log instead of error.
368
- * Fixed: slide effect now slides on deactivate as well.
369
- * Fixed: admin bar overlap for screens less than 600 px wide.
370
-
371
-
372
-
373
- = 1.9.1 =
374
- * Changed: admin bar is fixed as default, and menu goes under it.
375
-
376
- = 1.9 =
377
- * Fixed: enable / disable for search pages.
378
-
379
- = 1.8.9 =
380
- * Added: New option - Disable at certain posts and pages.
381
-
382
- = 1.8.8 =
383
- * Fixed: removed esc_attr for echo css, since input is already sanitized.
384
-
385
- = 1.8.7 =
386
- * Fixed: minor bug when browser resized.
387
-
388
- = 1.8.6 =
389
- * Fixed: minor bug.
390
-
391
- = 1.8.5 =
392
- * Improved: Improved performance and optimized scripts.
393
-
394
- = 1.8.4 =
395
- * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
396
-
397
- = 1.8.3 =
398
- * Change: minor cosmetic changes…
399
-
400
- = 1.8.2 =
401
- * Fixed: js load on https
402
-
403
- = 1.8.1 =
404
- * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
405
- * Minimized mystickymenu.js to improve performance.
406
-
407
- = 1.8 =
408
- * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
409
- * Added German language
410
-
411
- = 1.7 =
412
- * Added multi language support (localization).
413
- * Added languages - English (default), Spanish, Serbian and Croatian.
414
- * Added Iris color picker script.
415
- * Fixed jumping of page on scroll while menu is activated (height is defined before scroll event).
416
- * mystickymenu.js moved to js folder
417
-
418
- = 1.6 =
419
- * Added: "Make visible when scroled" after number of pixels option.
420
- * Fixed opacity 100 bug.
421
-
422
- = 1.5 =
423
- * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
424
- * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style.
425
- * Fixed google adsense clash and undefined index notice.
426
- * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option
427
-
428
- = 1.4 =
429
- * Added fade in or slide down effect settings field for sticky class.
430
- * Added new wrapped div around selected sticky class with id mysticky_wrap which should make menu works smoother and extend theme support.
431
-
432
- = 1.3 =
433
- * Added "block direct access" to the mystickymenu plugin file (for security sake).
434
- * Added Enable / Disable at small screen sizes and Remove not necessary css for all themes without admin bar on front page.
435
- * Added “margin-top :0px” to .myfixed class in head which should extend theme support.
436
-
437
- = 1.2 =
438
- * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
439
-
440
- = 1.1 =
441
- * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time.
442
- * Old mystickymenu.css file is deprecated and not in use anymore.
443
-
444
- = 1.0 =
445
- * First release of myStickymenu plugin
446
-
447
- == Upgrade Notice ==
448
-
449
- = 1.8.4 =
450
- * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
451
-
452
- = 1.8.3 =
453
- * Change: minor cosmetic changes…
454
-
455
- = 1.8.2 =
456
- * Fixed: js load on https
457
-
458
- = 1.8.1 =
459
- * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
460
- * Minimized mystickymenu.js to improve performance.
461
-
462
- = 1.8 =
463
- * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
464
-
465
- = 1.7 =
466
- * Added multi language support (localization).
467
- * Added Iris color picker script.
468
- * Fixed jumping of page on scroll while menu is activated (height defined before scroll event).
469
- * mystickymenu.js moved to js folder
470
-
471
- = 1.6 =
472
- * After plugin update go to mystickymenu plugin settings and save changes with desired value for a new parameters. Clear cache if some cache system used on your site.
473
- * Added: “Make visible when scroled” after number of pixels option.
474
- * Fixed opacity 100 bug.
475
-
476
- = 1.5 =
477
- * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
478
- * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style.
479
- * Fixed google adsense clash and undefined index notice.
480
- * is_user_logged_in instead of old "Remove CSS Rules for Static Admin Bar while Sticky" option
481
-
482
- = 1.4 =
483
- * Added fade in or slide down effect settings field for sticky class.
484
- * Added new wrapped div around selected sticky class with id mysticky_wrap.
485
-
486
- = 1.3 =
487
- * Added "block direct access" to the mystickymenu plugin file.
488
- * Added Enable / Disable at small screen sizes and Remove not necessary css.
489
- * Added "margin-top :0px" to .myfixed class in head which should extend theme support.
490
-
491
- = 1.2 =
492
- * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
493
-
494
- = 1.1 =
495
- * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time.
 
 
496
  * Old mystickymenu.css file is deprecated and not in use anymore.
1
+ ===Sticky Menu on Scroll, Sticky Header, Floating Notification Bar for Any Theme - myStickymenu===
2
+ Contributors: tomeraharon, galdub, premio
3
+ Tags:menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar, floating bar, notification bar
4
+ Requires at least: 3.5.1
5
+ Tested up to: 5.6
6
+ Stable tag: 2.4.8
7
+ License: GPLv2 or later
8
+
9
+ This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up. Also create a beautiful welcome notification bar with it.
10
+
11
+ == Description ==
12
+ <strong>This sticky menu plugin will make your menu or header sticky on top of page, after desired number of pixels when scrolled. You can use it also to create a Welcome bar for announcements, promotion and more. This lightweight plugin will help your visitors navigate easily and reach to the navigation menu without wasting time. Install My Sticky Menu and improve your website’s user experience! If you want to change the CSS style, disable on scroll down or disable on specific pages. check out the <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans">Pro version</a>.</strong>
13
+
14
+ By default, myStickymenu should make your menu sticky without any adjustments on your end - which means your menu should become sticky right out of the box. Sticky menu is designed to use element class ".navbar" as "Sticky Class". That value should be modified in plugin settings for different themes to make it work. Sticky Class is actually nothing more than an element class (or id) of the element that should become sticky.
15
+
16
+ [youtube https://www.youtube.com/watch?v=G_7swGnRmN0]
17
+
18
+ <strong>📢 New feature:</strong> Welcome Bar. Use this powerful feature to create a beautiful floating sticky notification bar. No coding skill required, just turn it on, set up your announcement text and button, and voilà - your top notification bar is good to go!
19
+
20
+ <strong>Let your visitors know about your company's Coronavirus COVID-19 updates</strong> - due to the latest Coronavirus COVID-19 outbreak, many of our users use the welcome bar to announce about their Coronavirus COVID-19 updates. You can use the notification bar as a Corona Virus - COVID-19 banner to make sure your visitors are up-to-date.
21
+
22
+ With more than 80,000+ active installs and around 100 five-stars reviews, you can be sure that My Sticky Menu plugin is the right fit for your website.
23
+
24
+ = BENEFITS =
25
+ * Improve user experience by letting your visitors access the navigation menu and navigate to the pages they want when they want to.
26
+ * Make your website look more modern with sticky menu on desktop and mobile.
27
+ * Increase number of pageviews and visitors' time on website
28
+ * Create your own floating Welcome Bar and let your visitors know about your latest deals, announcements or any other important information
29
+
30
+ The sticky header function is localized (multi language support) and responsive (as far as your theme is). Also there is possibility to add custom css code which make this plugin very flexible, customizable and user friendly. You can also use the notification bar in any languauge.
31
+
32
+ My Sticky Menu plugin is originally designed for Twenty Thirteen template but should work on any theme, like: OceanWP, Nirvana Template, Travelify, Twenty Sixteen, Twenty Ten, Twenty Eleven, Max Magazine, Graduate, Lawyer theme, Spacious, Suits and more.
33
+
34
+ My Sticky Menu is tested and compatible with Elementor website builder, Divi, WPBakery, Gutenberg, Visual composer, Beaver and other WordPress website builders.
35
+
36
+ = WITH MY STICKY MENU YOU CAN: =
37
+ * Show sticky header on scroll down/up
38
+ * Fade or slide effect
39
+ * Disable at small screen
40
+ * Choose when to make visible on scroll
41
+ * Change the font color when the menu is sticky
42
+ * Change the background color
43
+ * Change the opacity
44
+ * Change the sticky transition time
45
+ * Define the z-index of the sticky header
46
+ * Set an entrance effect for your sticky menu
47
+
48
+ = WITH WELCOME BAR FEATURES YOU CAN: =
49
+ * Display your floating bar at top position
50
+ * Change the background and button colors for your hello bar
51
+ * Change display frequency after submission - show the announcement bar on every page, once a visit, or don't show the announcement bar after it's submitted
52
+ * Add an attention effect to your button and increase conversion and CTR
53
+ * New! Add any custom HTML to your notification bar including strong, underline, italic, and much more. Use custom HTML to create a beautiful notification bar
54
+ * Change font size and font family
55
+ * Set your own text and call-to-action button text
56
+ * Show the closing X on desktop/mobile
57
+ * Show the call-to-action button in your top notification bar on desktop/mobile
58
+ * Redirect your visitors to another URL on-click
59
+
60
+ = WHAT DO YOU GET IN THE PRO PLAN =
61
+ * Disable floating menu on Desktop/Mobile
62
+ * Disable floating menu on scroll down
63
+ * Add CSS style to the floating header
64
+ * Disable/enable floating header on specific pages
65
+
66
+ But wait, there's more 😉
67
+
68
+ = Welcome Bar Pro Features =
69
+ * Multi Welcome Bar - Create a separate notification bar for different pages based on page targeting rules (E.g. seperate notification bar for different languages, different product categories and much more)
70
+ * Display your floating bar at bottom position
71
+ * Change the height of the sticky notification bar
72
+ * Open redirect link in a new tab
73
+ * Show your notification bar just on mobile or desktop
74
+ * Show your notification bar on scroll or after a few seconds
75
+ * Set an expiry date for your welcome bar, including settings a timezone
76
+ * Display your floating notification bar on specific pages
77
+ * New: You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
78
+ * New: Add a rel Attribute to your notification bar button
79
+
80
+ <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here</strong></a>
81
+
82
+ = Live Demo =
83
+ A live demo for myStickymenu plugin and notification bar is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
84
+
85
+ = myStickymenu IS GDPR COMPLAINT =
86
+ We don’t store any local data about your visitors. Any time your menu or notification bar appears on your site, the plugin will not store any local data about it.
87
+ <strong>Pro tip:</strong> You can the plugin's notification bar to let your website visitors know about your cookie policy :)
88
+
89
+ = Testimonials =
90
+
91
+ > "Works great.
92
+ One of the key element that i consider when choosing a theme is the sticky menu option. If the theme doesn't have it normally I don't use it. But now that’s not a problem for me anymore."<br><br>
93
+
94
+ > "This plugin rocks!
95
+ This plugin does exactly what it should. It is simple but powerful. I would suggest to anyone who wants to make their navigation menu sticky! I especially love the hide header on scroll down, show on scroll up feature that is built it. Great work!<br>
96
+
97
+
98
+ == Installation ==
99
+ Install like any other plugin. After install activate.
100
+ Go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id . Sticky Class should be HTML id or class of the HTML element desired to be sticky… Clear WordPress cache if exists.
101
+
102
+ For example:
103
+
104
+ Celestial-Lite (sticky header)
105
+ ** Sticky Class => #branding
106
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed #site-navigation { margin-top:0px!important; } .myfixed #logo img {width: 200px;}
107
+
108
+ Church Theme
109
+ ** Sticky Class => #menu-hauptnavi
110
+
111
+ Customizr Theme
112
+ ** Sticky Class => .row-fluid (for header) or .nav (for menu)
113
+
114
+ CyberChimps
115
+ ** Sticky Class => .navbar-inner
116
+
117
+ Decode
118
+ ** Sticky Class => .header-menu
119
+ ** Make visible when Scrolled after => 370
120
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; padding-top:5px; padding-bottom:5px; }
121
+
122
+ Genesis / Dynamik Theme
123
+ ** Sticky Class(sticky header) =>.site-header
124
+ ** Sticky Class(sticky menu) =>.nav-primary
125
+
126
+ Graduate
127
+ ** Sticky Class => .main-navigation
128
+
129
+ Graphene
130
+ ** Sticky Class => #header-menu-wrap
131
+
132
+ Illdy
133
+ ** Sticky Class => .top-header
134
+ ** Disable at Small Screen Sizes => 993
135
+
136
+ Illdy (mobile support)
137
+ ** Sticky Class => .header-blog
138
+ ** CSS Style => #mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; } .myfixed .bottom-header {display:none;}
139
+
140
+ Lawyer theme
141
+ ** Sticky Class => .wrapper
142
+ ** .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed { padding-left: 0px; padding-bottom: 0px; padding-top: 0px; } .wrapfixed { -webkit-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); -moz-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); } .myfixed .logo img { max-height: 45px; } .myfixed .quick-info { display: none; } .myfixed .mainmenu { margin: 0px } .myfixed .mainmenu { padding-top: 7px; }
143
+
144
+ Max Magazine
145
+ ** Sticky Class => #nav
146
+ ** Make visible when Scrolled after => 250
147
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } #nav { min-height:40px!important; }
148
+
149
+ Naturo Lite
150
+ ** Sticky Class => .header-inner
151
+
152
+ Nirvana Template
153
+ ** Sticky Class => #access
154
+
155
+ OceanWP
156
+ ** Sticky Class => #site-header
157
+
158
+ Responsive
159
+ ** Sticky Class => .main-nav
160
+ ** Make visible when Scrolled after => 250
161
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed .menu { background:none!important;}
162
+
163
+ Spacious
164
+ ** Sticky Class => #masthead (sticky header)
165
+ ** Make visible when Scrolled after => 250
166
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed #site-description { display:none;} .myfixed #site-title a { font-size: 24px; } .myfixed #header-text { padding:0px!important;} .myfixed .main-navigation { padding-top: 0px!important; }
167
+
168
+ Storefront
169
+ ** Sticky Class => .main-navigation
170
+
171
+ Suits
172
+ ** Sticky Class => .navbar
173
+
174
+ Tempera Template
175
+ ** Sticky Class => .menu
176
+
177
+ Travelify
178
+ ** Sticky Class => #main-nav
179
+
180
+ Twenty Sixteen
181
+ ** Sticky Class => .site-header-main
182
+
183
+ Twenty Ten
184
+ ** Sticky Class => .menu
185
+ ** Make visible when Scrolled after => 370
186
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .menu {min-height:38px;}
187
+
188
+ Twenty Eleven
189
+ ** Sticky Class => #access
190
+ ** Make visible when Scrolled after => 600
191
+ ** .myfixed css class => .myfixed { float:none!important; max-width:100%;}
192
+ .myfixed .menu { background-color:none; float:left; }
193
+ .myfixed div { margin: 0px!important ; padding: 0px 7.6%; }
194
+
195
+ Twenty Eleven (add search to sticky menu bar)
196
+ ** Sticky Class => #branding
197
+ ** Make visible when Scrolled after => 600
198
+ ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed a {display:none;} #mysticky-wrap {min-height:500px;} .myfixed #site-title, .myfixed #site-description{display:none;} .myfixed #access { margin: 0px auto 0px; } .myfixed #searchform { top: 0.3em!important; }
199
+
200
+ Twenty Twelve
201
+ ** Sticky Class => .nav-menu
202
+ ** Make visible when Scrolled after => 250
203
+
204
+ Twenty Thirteen (sticky header – add your own custom logo image and edit to suite your needs)
205
+ ** Sticky Class => #masthead
206
+ ** .myfixed css class => .myfixed { margin:0 auto; max-width:1070px; width:100%!important;} .myfixed .search-form, .myfixed .site-description, .myfixed .site-title { display:none;} .myfixed .home-link { max-width: 55px; min-height: 38px; margin-left:20px; float:left; background-image: url('logo.png'); } .myfixed .navbar { max-width:645px; float:right;} .wrapfixed .navbar { background-color: transparent; } .wrapfixed ul { padding-right:0px; }
207
+
208
+ Webnus netStudio theme
209
+ ** Sticky Class =>.nav-wrap2
210
+
211
+ Weblizar
212
+ ** Sticky Class => .row
213
+
214
+ Wrock Metro Theme (entire header)
215
+ ** Sticky Class =>#navigation
216
+
217
+
218
+ == Frequently Asked Questions ==
219
+
220
+ = How to find Sticky Class, what should I enter here? =
221
+ So this depends on what you want to make sticky and what theme do you use, but for example if you want your menu to be sticky, than you can examine the code (in firefox right click and “View page source”) and find HTML element in which your menu is situated. This element have some class or id, and that’s the Sticky Class we need. If using class than don’t forget to ad dot (.) in front of class name, or hash (#) in front of id. Twenty Thirteen default working class is ".navbar" without of quotes.
222
+
223
+ = Is there any way to restrict the width to the width of the header, rather than it being full width? =
224
+ Yes, just leave "Sticky Background Color" field blank (clear). Than if needed define custom background color for sticky header inside ".myfixed css class" field using .myfixed class.
225
+
226
+ = Ho do I add small logo to the menu? =
227
+ That will depend on a theme you use, but if initially your menu and logo are in one div than you can use that div class or id in myStickymenu settings.
228
+
229
+ If not you can change that in your header template file and add logo and menu divs inside new div with some custom class or id, than use that class or id in myStickymenu settings as a sticky class.
230
+
231
+ In CSS you can style your custom class while not sticky using custom class you added before. Furthermore you can style your menu while sticky using .myfixed class which is added by js to your custom class while sticky is active.
232
+
233
+ In some cases you can use the whole header div and than just style it different with .myfixed class, hide what you don’t need using CSS display:none; property, and position logo and menu as you like.
234
+
235
+ = Is there a time limit for the free plan? =
236
+ No. you can use the free plan as long as you want.
237
+
238
+ = Can I use My Sticky Menu plugin on more than 1 domain? =
239
+ There 2 ways to do it:
240
+ 1. You can install the free Sticky Menu plugin plugin on any website you want
241
+ 2. You can buy the Pro plan that includes licenses for 5 domains, or the Agency plan that includes licenses for 20 domains.
242
+ Check out our <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">plans page</a>.
243
+
244
+ = How long is my paid Sticky Menu plugin plugin license valid for? =
245
+ Once you purchase any <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">paid plan</a> of my sticky menu, you can use it forever. Support and updates are available for 1 year. You can renew your license each year to get another year of support and updates.
246
+
247
+ = Will Sticky Menu plugin stop working if I don’t renew my license? =
248
+ Of course NOT! 🙂
249
+ Your Sticky Menu plugin plugin and all your settings will continue to work as before; however, you will no longer receive plugin updates including feature additions, improvements, and support.
250
+
251
+ = How do I activate my pro plan? =
252
+ Just follow our <a href="https://premio.io/wordpress-premio-pro-version-installation-guide/" target="_blank" title="WordPress installation guide">pro installation guide</a>.
253
+
254
+ = Is there a live demo formyStickymenu =
255
+ A live demo for myStickymenu plugin is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
256
+
257
+ = How does the Welcome Bar feature work and do I have to enable it? =
258
+ After installing the plugin, you’ll have the option to turn on the welcome bar. You can create a floating bar that’ll appear on your site, and use it for promotion, announcements, and more. You don’t have to turn that feature on if you don’t want to :)
259
+
260
+ == Screenshots ==
261
+
262
+ 1. You can choose your current menu from the dropdown or enter it ID or class manually
263
+ 2. Add you custom CSS
264
+ 3. This is how myStickymenu will actually look on your site
265
+ 4. Design your welcome bar
266
+ 5. You can change the background text, call-to-action text, fonts, and colors
267
+ 6. Check out welcome bar in action
268
+
269
+
270
+ == Changelog ==
271
+ = 2.4.8 =
272
+ JQuery bug fixed
273
+ = 2.4.7 =
274
+ Background color fix
275
+ = 2.4.6 =
276
+ Height fix
277
+ = 2.4.5 =
278
+ Background color fix
279
+ = 2.4.4 =
280
+ New entrance effects and bug fixes
281
+ = 2.4.3 =
282
+ Infrastructure changes
283
+ = 2.4.2 =
284
+ iPhone and iPad notification bar and sticky menu frontend issues fixed
285
+ = 2.4.1 =
286
+ Credit removal
287
+ = 2.4 =
288
+ You can now change the sticky menu font color when the menu is sticky. We've also fixed a resize issue and a Divi gap bug
289
+ = 2.3.9 =
290
+ Notification bar fix
291
+ = 2.3.8 =
292
+ You can add custom HTML to your notification bar now
293
+ = 2.3.7 =
294
+ Change the welcome announcement bar frequency
295
+ = 2.3.6 =
296
+ WP 5.4 compatibility, and welcome announcement bar fixed
297
+ = 2.3.5 =
298
+ Review change
299
+ = 2.3.4 =
300
+ Frontend fixes
301
+ = 2.3.3 =
302
+ Slight CSS fixes
303
+ = 2.3.2 =
304
+ Minor bug fixes
305
+ = 2.3.1 =
306
+ If the sticky menu is on, and welcome bar is disabled, google fonts aren't downloaded
307
+ = 2.3 =
308
+ Fixed some appearance issues
309
+ = 2.2.9 =
310
+ Multiple lines support for the Welcome Bar
311
+ = 2.2.8 =
312
+ WP-admin submit button styling bug fixed
313
+ = 2.2.7 =
314
+ Added attention effects for the button
315
+ = 2.2.6 =
316
+ Sanitize input fixes
317
+ = 2.2.5 =
318
+ myStickyelements now works out-of-the-box with the following themes (which means you don't need to find your menu's class, it should work right after installation): Twenty Nineteen, Twenty Seventeen, Hello Elementor, OceanWP, Astra, Storefront, Twenty Sixteen, Neve, Hestia, Sydney, Shapely, GeneratePress, Mesmerize, Ashe, and Total. We've also added Google Lighthouse compatibility
319
+ = 2.2.4 =
320
+ Smoother transition when the sticky menu disappears
321
+ = 2.2.3 =
322
+ Pro version changes
323
+ = 2.2.2 =
324
+ Fixed apostrophes bug for Welcome bar
325
+ = 2.2.1 =
326
+ Sticky menu and welcome bar conflict fix
327
+ = 2.2 =
328
+ You can now add a welcome bar to your website
329
+ = 2.1.8 =
330
+ Upgrade page update
331
+ = 2.1.7 =
332
+ Fixed undefined indexes
333
+ = 2.1.6 =
334
+ Saving issue bug fixed
335
+ = 2.1.5 =
336
+ Security update
337
+ = 2.1.4 =
338
+ Fixed some page builders issues
339
+ = 2.1.3 =
340
+ Fixed variable output warnings bugs
341
+ = 2.1.2 =
342
+ Upgrade page change
343
+ = 2.1.1 =
344
+ * Added a testimonial
345
+ = 2.1 =
346
+ * New and easy UI, you can now select your menu from a dropdown
347
+ = 2.0.6 =
348
+ * Fixed: Enable / Disable at 404 page
349
+ = 2.0.5 =
350
+ * Added: Admin settings sidebar right
351
+ * Added: Admin separated js script
352
+ * Added: Admin separated css script
353
+ = 2.0.4 =
354
+ * Added: Hide for large screens
355
+ = 2.0.3 =
356
+ * Fixed: Missing bg color field
357
+ = 2.0.1 =
358
+ * Fixed: If user logged in but admin bar is not showing (error to calculate activation height)
359
+ * Fixed: Admin style conflict with Scripts n Styles plugin
360
+
361
+ = 2.0 =
362
+ * Added: If Make visible on Scroll is set to 0 automatic activation and deactivation scroll height will be used (useful for responsive designs).
363
+ * Added: Tabs for settings.
364
+ * Added: option to disable on scroll down (show only on scroll up).
365
+ * Added: Class .up and .down on scroll up or down.
366
+ * Added: Reset to default settings.
367
+ * Added: remove myStickymenu settings on plugin uninstall.
368
+ * Added: index.php to plugin root to prevent directory browsing.
369
+ * Fixed: If sticky menu class does not exist (null or undefined), it will show console log instead of error.
370
+ * Fixed: slide effect now slides on deactivate as well.
371
+ * Fixed: admin bar overlap for screens less than 600 px wide.
372
+
373
+
374
+
375
+ = 1.9.1 =
376
+ * Changed: admin bar is fixed as default, and menu goes under it.
377
+
378
+ = 1.9 =
379
+ * Fixed: enable / disable for search pages.
380
+
381
+ = 1.8.9 =
382
+ * Added: New option - Disable at certain posts and pages.
383
+
384
+ = 1.8.8 =
385
+ * Fixed: removed esc_attr for echo css, since input is already sanitized.
386
+
387
+ = 1.8.7 =
388
+ * Fixed: minor bug when browser resized.
389
+
390
+ = 1.8.6 =
391
+ * Fixed: minor bug.
392
+
393
+ = 1.8.5 =
394
+ * Improved: Improved performance and optimized scripts.
395
+
396
+ = 1.8.4 =
397
+ * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
398
+
399
+ = 1.8.3 =
400
+ * Change: minor cosmetic changes…
401
+
402
+ = 1.8.2 =
403
+ * Fixed: js load on https
404
+
405
+ = 1.8.1 =
406
+ * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
407
+ * Minimized mystickymenu.js to improve performance.
408
+
409
+ = 1.8 =
410
+ * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
411
+ * Added German language
412
+
413
+ = 1.7 =
414
+ * Added multi language support (localization).
415
+ * Added languages - English (default), Spanish, Serbian and Croatian.
416
+ * Added Iris color picker script.
417
+ * Fixed jumping of page on scroll while menu is activated (height is defined before scroll event).
418
+ * mystickymenu.js moved to js folder
419
+
420
+ = 1.6 =
421
+ * Added: "Make visible when scroled" after number of pixels option.
422
+ * Fixed opacity 100 bug.
423
+
424
+ = 1.5 =
425
+ * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
426
+ * Added “.myfixed css class” setting field edit .myfixed css style via plugin settings to create custom style.
427
+ * Fixed google adsense clash and undefined index notice.
428
+ * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option
429
+
430
+ = 1.4 =
431
+ * Added fade in or slide down effect settings field for sticky class.
432
+ * Added new wrapped div around selected sticky class with id mysticky_wrap which should make menu works smoother and extend theme support.
433
+
434
+ = 1.3 =
435
+ * Added "block direct access" to the mystickymenu plugin file (for security sake).
436
+ * Added Enable / Disable at small screen sizes and Remove not necessary css for all themes without admin bar on front page.
437
+ * Added “margin-top :0px” to .myfixed class in head which should extend theme support.
438
+
439
+ = 1.2 =
440
+ * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
441
+
442
+ = 1.1 =
443
+ * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time.
444
+ * Old mystickymenu.css file is deprecated and not in use anymore.
445
+
446
+ = 1.0 =
447
+ * First release of myStickymenu plugin
448
+
449
+ == Upgrade Notice ==
450
+
451
+ = 1.8.4 =
452
+ * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
453
+
454
+ = 1.8.3 =
455
+ * Change: minor cosmetic changes…
456
+
457
+ = 1.8.2 =
458
+ * Fixed: js load on https
459
+
460
+ = 1.8.1 =
461
+ * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
462
+ * Minimized mystickymenu.js to improve performance.
463
+
464
+ = 1.8 =
465
+ * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
466
+
467
+ = 1.7 =
468
+ * Added multi language support (localization).
469
+ * Added Iris color picker script.
470
+ * Fixed jumping of page on scroll while menu is activated (height defined before scroll event).
471
+ * mystickymenu.js moved to js folder
472
+
473
+ = 1.6 =
474
+ * After plugin update go to mystickymenu plugin settings and save changes with desired value for a new parameters. Clear cache if some cache system used on your site.
475
+ * Added: “Make visible when scroled” after number of pixels option.
476
+ * Fixed opacity 100 bug.
477
+
478
+ = 1.5 =
479
+ * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
480
+ * Added “.myfixed css class” setting field edit .myfixed css style via plugin settings to create custom style.
481
+ * Fixed google adsense clash and undefined index notice.
482
+ * is_user_logged_in instead of old "Remove CSS Rules for Static Admin Bar while Sticky" option
483
+
484
+ = 1.4 =
485
+ * Added fade in or slide down effect settings field for sticky class.
486
+ * Added new wrapped div around selected sticky class with id mysticky_wrap.
487
+
488
+ = 1.3 =
489
+ * Added "block direct access" to the mystickymenu plugin file.
490
+ * Added Enable / Disable at small screen sizes and Remove not necessary css.
491
+ * Added "margin-top :0px" to .myfixed class in head which should extend theme support.
492
+
493
+ = 1.2 =
494
+ * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
495
+
496
+ = 1.1 =
497
+ * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time.
498
  * Old mystickymenu.css file is deprecated and not in use anymore.
recommended-plugins.php CHANGED
@@ -1,492 +1,492 @@
1
- <?php
2
- // You may comment this out IF you're sure the function exists.
3
- require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
4
- remove_all_filters('plugins_api');
5
- $plugins_allowedtags = array(
6
- 'a' => array(
7
- 'href' => array(),
8
- 'title' => array(),
9
- 'target' => array(),
10
- ),
11
- 'abbr' => array( 'title' => array() ),
12
- 'acronym' => array( 'title' => array() ),
13
- 'code' => array(),
14
- 'pre' => array(),
15
- 'em' => array(),
16
- 'strong' => array(),
17
- 'ul' => array(),
18
- 'ol' => array(),
19
- 'li' => array(),
20
- 'p' => array(),
21
- 'br' => array(),
22
- );
23
-
24
- $recommended_plugins = array();
25
- /* Poptin Plugins */
26
- $args = [
27
- 'slug' => 'poptin',
28
- 'fields' => [
29
- 'short_description' => true,
30
- 'icons' => true,
31
- 'reviews' => false, // excludes all reviews
32
- ],
33
- ];
34
- $data = plugins_api( 'plugin_information', $args );
35
- if ( $data && ! is_wp_error( $data ) ) {
36
- $recommended_plugins['poptin'] = $data;
37
- $recommended_plugins['poptin']->name = 'Poptin: Beautiful Pop Ups and Embedded Inline Contact Forms for Your Website';
38
- $recommended_plugins['poptin']->short_description = 'Pop ups and contact forms builder for your website. Get more sales, leads, and subscribers with beautiful popups & inline forms templates, no coding skills required';
39
- }
40
-
41
- /* Chaty Plugins */
42
- $args = [
43
- 'slug' => 'chaty',
44
- 'fields' => [
45
- 'short_description' => true,
46
- 'icons' => true,
47
- 'reviews' => false, // excludes all reviews
48
- ],
49
- ];
50
- $data = plugins_api( 'plugin_information', $args );
51
- if ( $data && ! is_wp_error( $data ) ) {
52
- $recommended_plugins['chaty'] = $data;
53
- $recommended_plugins['chaty']->name = 'Chaty: WhatsApp, Facebook Messenger, and Many Other Chat Buttons For Your Website';
54
- $recommended_plugins['chaty']->short_description = 'Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call bututons';
55
- }
56
-
57
- /* Folders Plugins */
58
- $args = [
59
- 'slug' => 'folders',
60
- 'fields' => [
61
- 'short_description' => true,
62
- 'icons' => true,
63
- 'reviews' => false, // excludes all reviews
64
- ],
65
- ];
66
- $data = plugins_api( 'plugin_information', $args );
67
- if ( $data && ! is_wp_error( $data ) ) {
68
- $recommended_plugins['folders'] = $data;
69
- $recommended_plugins['folders']->name = 'Folders: Organize Your Media Library, Posts, Pages, & Custom posts Using Drag & Drop';
70
- $recommended_plugins['folders']->short_description = 'Folders is a powerful plugin that will help you quickly and easily organize and manage your WordPress Media library files, Pages, Posts, and Custom Posts in folders. Organize your website in minutes';
71
- }
72
-
73
- /* Stars Ttestimonials Plugins */
74
- $args = [
75
- 'slug' => 'mystickyelements',
76
- 'fields' => [
77
- 'short_description' => true,
78
- 'icons' => true,
79
- 'reviews' => false, // excludes all reviews
80
- ],
81
- ];
82
- $data = plugins_api( 'plugin_information', $args );
83
- if ( $data && ! is_wp_error( $data ) ) {
84
- $recommended_plugins['stars-testimonials'] = $data;
85
- $recommended_plugins['stars-testimonials']->name = 'My Sticky Elements: All-in-one Floating Contact Form, Call, Chat, and 40+ Social Icon Tabs';
86
- $recommended_plugins['stars-testimonials']->short_description = 'Capture leads with beautiful floating contact form tab & get followers and chat messages via Facebook Messenger, WhatsApp, Viber, Telegram, Instagram, Amazon, Facebook, and many other channels';
87
- }
88
-
89
-
90
- ?>
91
- <div class="wrap mystickyelement-wrap recommended-plugins">
92
- <h2>
93
- <?php _e('Try out our recommended plugins', 'mystickyelements'); ?>
94
- <div class="mystickyelement-contact-form-leads-btn">
95
- <a href="#" class="create-rule recommeded-plugins-hide"><?php _e('Hide From Menu', 'mystickyelements');?></a>
96
- </div>
97
- </h2>
98
- </div>
99
- <div class="wrap recommended-plugins">
100
- <div class="wp-list-table widefat plugin-install">
101
- <div class="the-list">
102
- <?php
103
- foreach ( (array) $recommended_plugins as $plugin ) {
104
- if ( is_object( $plugin ) ) {
105
- $plugin = (array) $plugin;
106
- }
107
-
108
- // Display the group heading if there is one.
109
- if ( isset( $plugin['group'] ) && $plugin['group'] != $group ) {
110
- if ( isset( $this->groups[ $plugin['group'] ] ) ) {
111
- $group_name = $this->groups[ $plugin['group'] ];
112
- if ( isset( $plugins_group_titles[ $group_name ] ) ) {
113
- $group_name = $plugins_group_titles[ $group_name ];
114
- }
115
- } else {
116
- $group_name = $plugin['group'];
117
- }
118
-
119
- // Starting a new group, close off the divs of the last one.
120
- if ( ! empty( $group ) ) {
121
- echo '</div></div>';
122
- }
123
-
124
- echo '<div class="plugin-group"><h3>' . esc_html( $group_name ) . '</h3>';
125
- // Needs an extra wrapping div for nth-child selectors to work.
126
- echo '<div class="plugin-items">';
127
-
128
- $group = $plugin['group'];
129
- }
130
- $title = wp_kses( $plugin['name'], $plugins_allowedtags );
131
-
132
- // Remove any HTML from the description.
133
- $description = strip_tags( $plugin['short_description'] );
134
- $version = wp_kses( $plugin['version'], $plugins_allowedtags );
135
-
136
- $name = strip_tags( $title . ' ' . $version );
137
-
138
- $author = wp_kses( $plugin['author'], $plugins_allowedtags );
139
- if ( ! empty( $author ) ) {
140
- /* translators: %s: Plugin author. */
141
- $author = ' <cite>' . sprintf( __( 'By %s' ), $author ) . '</cite>';
142
- }
143
-
144
- $requires_php = isset( $plugin['requires_php'] ) ? $plugin['requires_php'] : null;
145
- $requires_wp = isset( $plugin['requires'] ) ? $plugin['requires'] : null;
146
-
147
- $compatible_php = is_php_version_compatible( $requires_php );
148
- $compatible_wp = is_wp_version_compatible( $requires_wp );
149
- $tested_wp = ( empty( $plugin['tested'] ) || version_compare( get_bloginfo( 'version' ), $plugin['tested'], '<=' ) );
150
-
151
- $action_links = array();
152
-
153
- if ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) {
154
- $status = install_plugin_install_status( $plugin );
155
-
156
- switch ( $status['status'] ) {
157
- case 'install':
158
- if ( $status['url'] ) {
159
- if ( $compatible_php && $compatible_wp ) {
160
- $action_links[] = sprintf(
161
- '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>',
162
- esc_attr( $plugin['slug'] ),
163
- esc_url( $status['url'] ),
164
- /* translators: %s: Plugin name and version. */
165
- esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ),
166
- esc_attr( $name ),
167
- __( 'Install Now' )
168
- );
169
- } else {
170
- $action_links[] = sprintf(
171
- '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
172
- _x( 'Cannot Install', 'plugin' )
173
- );
174
- }
175
- }
176
- break;
177
-
178
- case 'update_available':
179
- if ( $status['url'] ) {
180
- if ( $compatible_php && $compatible_wp ) {
181
- $action_links[] = sprintf(
182
- '<a class="update-now button aria-button-if-js" data-plugin="%s" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>',
183
- esc_attr( $status['file'] ),
184
- esc_attr( $plugin['slug'] ),
185
- esc_url( $status['url'] ),
186
- /* translators: %s: Plugin name and version. */
187
- esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $name ) ),
188
- esc_attr( $name ),
189
- __( 'Update Now' )
190
- );
191
- } else {
192
- $action_links[] = sprintf(
193
- '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
194
- _x( 'Cannot Update', 'plugin' )
195
- );
196
- }
197
- }
198
- break;
199
-
200
- case 'latest_installed':
201
- case 'newer_installed':
202
- if ( is_plugin_active( $status['file'] ) ) {
203
- $action_links[] = sprintf(
204
- '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
205
- _x( 'Active', 'plugin' )
206
- );
207
- } elseif ( current_user_can( 'activate_plugin', $status['file'] ) ) {
208
- $button_text = __( 'Activate' );
209
- /* translators: %s: Plugin name. */
210
- $button_label = _x( 'Activate %s', 'plugin' );
211
- $activate_url = add_query_arg(
212
- array(
213
- '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $status['file'] ),
214
- 'action' => 'activate',
215
- 'plugin' => $status['file'],
216
- ),
217
- network_admin_url( 'plugins.php' )
218
- );
219
-
220
- if ( is_network_admin() ) {
221
- $button_text = __( 'Network Activate' );
222
- /* translators: %s: Plugin name. */
223
- $button_label = _x( 'Network Activate %s', 'plugin' );
224
- $activate_url = add_query_arg( array( 'networkwide' => 1 ), $activate_url );
225
- }
226
-
227
- $action_links[] = sprintf(
228
- '<a href="%1$s" class="button activate-now" aria-label="%2$s">%3$s</a>',
229
- esc_url( $activate_url ),
230
- esc_attr( sprintf( $button_label, $plugin['name'] ) ),
231
- $button_text
232
- );
233
- } else {
234
- $action_links[] = sprintf(
235
- '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
236
- _x( 'Installed', 'plugin' )
237
- );
238
- }
239
- break;
240
- }
241
- }
242
-
243
- $details_link = self_admin_url(
244
- 'plugin-install.php?tab=plugin-information&amp;plugin=' . $plugin['slug'] .
245
- '&amp;TB_iframe=true&amp;width=600&amp;height=550'
246
- );
247
-
248
- $action_links[] = sprintf(
249
- '<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>',
250
- esc_url( $details_link ),
251
- /* translators: %s: Plugin name and version. */
252
- esc_attr( sprintf( __( 'More information about %s' ), $name ) ),
253
- esc_attr( $name ),
254
- __( 'More Details' )
255
- );
256
-
257
- if ( ! empty( $plugin['icons']['svg'] ) ) {
258
- $plugin_icon_url = $plugin['icons']['svg'];
259
- } elseif ( ! empty( $plugin['icons']['2x'] ) ) {
260
- $plugin_icon_url = $plugin['icons']['2x'];
261
- } elseif ( ! empty( $plugin['icons']['1x'] ) ) {
262
- $plugin_icon_url = $plugin['icons']['1x'];
263
- } else {
264
- $plugin_icon_url = $plugin['icons']['default'];
265
- }
266
-
267
- /**
268
- * Filters the install action links for a plugin.
269
- *
270
- * @since 2.7.0
271
- *
272
- * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now.
273
- * @param array $plugin The plugin currently being listed.
274
- */
275
- $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
276
-
277
- $last_updated_timestamp = strtotime( $plugin['last_updated'] );
278
- ?>
279
- <div class="plugin-card plugin-card-<?php echo sanitize_html_class( $plugin['slug'] ); ?>">
280
- <?php
281
- if ( ! $compatible_php || ! $compatible_wp ) {
282
- echo '<div class="notice inline notice-error notice-alt"><p>';
283
- if ( ! $compatible_php && ! $compatible_wp ) {
284
- _e( 'This plugin doesn&#8217;t work with your versions of WordPress and PHP.' );
285
- if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
286
- printf(
287
- /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
288
- ' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
289
- self_admin_url( 'update-core.php' ),
290
- esc_url( wp_get_update_php_url() )
291
- );
292
- wp_update_php_annotation( '</p><p><em>', '</em>' );
293
- } elseif ( current_user_can( 'update_core' ) ) {
294
- printf(
295
- /* translators: %s: URL to WordPress Updates screen. */
296
- ' ' . __( '<a href="%s">Please update WordPress</a>.' ),
297
- self_admin_url( 'update-core.php' )
298
- );
299
- } elseif ( current_user_can( 'update_php' ) ) {
300
- printf(
301
- /* translators: %s: URL to Update PHP page. */
302
- ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
303
- esc_url( wp_get_update_php_url() )
304
- );
305
- wp_update_php_annotation( '</p><p><em>', '</em>' );
306
- }
307
- } elseif ( ! $compatible_wp ) {
308
- _e( 'This plugin doesn&#8217;t work with your version of WordPress.' );
309
- if ( current_user_can( 'update_core' ) ) {
310
- printf(
311
- /* translators: %s: URL to WordPress Updates screen. */
312
- ' ' . __( '<a href="%s">Please update WordPress</a>.' ),
313
- self_admin_url( 'update-core.php' )
314
- );
315
- }
316
- } elseif ( ! $compatible_php ) {
317
- _e( 'This plugin doesn&#8217;t work with your version of PHP.' );
318
- if ( current_user_can( 'update_php' ) ) {
319
- printf(
320
- /* translators: %s: URL to Update PHP page. */
321
- ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
322
- esc_url( wp_get_update_php_url() )
323
- );
324
- wp_update_php_annotation( '</p><p><em>', '</em>' );
325
- }
326
- }
327
- echo '</p></div>';
328
- }
329
- ?>
330
- <div class="plugin-card-top">
331
- <div class="name column-name">
332
- <h3>
333
- <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox open-plugin-details-modal">
334
- <?php echo $title; ?>
335
- <img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
336
- </a>
337
- </h3>
338
- </div>
339
- <div class="action-links">
340
- <?php
341
- if ( $action_links ) {
342
- echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li></ul>';
343
- }
344
- ?>
345
- </div>
346
- <div class="desc column-description">
347
- <p><?php echo $description; ?></p>
348
- <p class="authors"><?php echo $author; ?></p>
349
- </div>
350
- </div>
351
- <div class="plugin-card-bottom">
352
- <div class="vers column-rating">
353
- <?php
354
- wp_star_rating(
355
- array(
356
- 'rating' => $plugin['rating'],
357
- 'type' => 'percent',
358
- 'number' => $plugin['num_ratings'],
359
- )
360
- );
361
- ?>
362
- <span class="num-ratings" aria-hidden="true">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span>
363
- </div>
364
- <div class="column-updated">
365
- <strong><?php _e( 'Last Updated:' ); ?></strong>
366
- <?php
367
- /* translators: %s: Human-readable time difference. */
368
- printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) );
369
- ?>
370
- </div>
371
- <div class="column-downloaded">
372
- <?php
373
- if ( $plugin['active_installs'] >= 1000000 ) {
374
- $active_installs_millions = floor( $plugin['active_installs'] / 1000000 );
375
- $active_installs_text = sprintf(
376
- /* translators: %s: Number of millions. */
377
- _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
378
- number_format_i18n( $active_installs_millions )
379
- );
380
- } elseif ( 0 == $plugin['active_installs'] ) {
381
- $active_installs_text = _x( 'Less Than 10', 'Active plugin installations' );
382
- } else {
383
- $active_installs_text = number_format_i18n( $plugin['active_installs'] ) . '+';
384
- }
385
- /* translators: %s: Number of installations. */
386
- printf( __( '%s Active Installations' ), $active_installs_text );
387
- ?>
388
- </div>
389
- <div class="column-compatibility">
390
- <?php
391
- if ( ! $tested_wp ) {
392
- echo '<span class="compatibility-untested">' . __( 'Untested with your version of WordPress' ) . '</span>';
393
- } elseif ( ! $compatible_wp ) {
394
- echo '<span class="compatibility-incompatible">' . __( '<strong>Incompatible</strong> with your version of WordPress' ) . '</span>';
395
- } else {
396
- echo '<span class="compatibility-compatible">' . __( '<strong>Compatible</strong> with your version of WordPress' ) . '</span>';
397
- }
398
- ?>
399
- </div>
400
- </div>
401
- </div>
402
- <?php
403
- } ?>
404
- </div>
405
- </div>
406
- <div id="hide-recommeded-plugins" style="display:none;" title="<?php _e('Are you sure?','mystickyelements');?>">
407
- <p><?php _e( "If you hide the recommended plugins page from your menu, it won't appear there again. Are you sure you'd like to do it?", 'mystickyelements');?></p>
408
- </div>
409
-
410
- </div>
411
- <style>
412
- .mystickyelement-contact-form-leads-btn {
413
- float: right;
414
- }
415
- .wrap.mystickyelement-wrap > h2:first-child {
416
- font-size: 26px;
417
- }
418
- .mystickyelement-contact-form-leads-btn a.create-rule {
419
- font-size: 18px;
420
- padding: 7px 30px;
421
- margin: 0px;
422
- }
423
- a.create-rule {
424
- background-color: #7761DF;
425
- color: #fff;
426
- display: inline-block;
427
- vertical-align: top;
428
- text-decoration: none;
429
- padding: 5px 12px;
430
- border-radius: 20px;
431
- box-shadow: none;
432
- outline: none;
433
- }
434
- .ui-dialog-buttonpane .ui-dialog-buttonset .red-btn, .ui-dialog-buttonpane .ui-dialog-buttonset .purple-btn, .ui-dialog-buttonpane .ui-dialog-buttonset .gray-btn {
435
- background-color: #969696;
436
- color: #fff;
437
- border-color: #969696;
438
- border-radius: 25px;
439
- line-height: 1.4;
440
- padding: 8px 15px 10px;
441
- height: auto;
442
- display: inline-block;
443
- vertical-align: top;
444
- font-size: 16px;
445
- min-width: 150px;
446
- }
447
- .ui-dialog .ui-dialog-buttonpane .ui-button {
448
- margin: 0 10px;
449
- }
450
- .ui-dialog-buttonpane .ui-dialog-buttonset .red-btn {
451
- background-color: #FF0000;
452
- border-color: #FF0000;
453
- }
454
- </style>
455
- <script>
456
- ( function( $ ) {
457
- "use strict";
458
- $(document).ready(function(){
459
- $( '.recommeded-plugins-hide' ).on( 'click', function(event){
460
- event.preventDefault();
461
- $( "#hide-recommeded-plugins" ).dialog({
462
- resizable: false,
463
- modal: true,
464
- draggable: false,
465
- height: 'auto',
466
- width: 400,
467
- open: function (event, ui) {
468
- $(".ui-widget-overlay").click(function () {
469
- $('#hide-recommeded-plugins').dialog('close');
470
- });
471
- },
472
- buttons: {
473
- "Hide it": {
474
- click: function () {
475
- window.location = "<?php echo admin_url('admin.php?page=my-stickymenu-settings&hide_msmrecommended_plugin=1');?>";
476
- },
477
- text: 'Hide it',
478
- class: 'btn red-btn'
479
- },
480
- "Keep it": {
481
- click: function () {
482
- $(this).dialog('close');
483
- },
484
- text: 'Keep it',
485
- class: 'btn alt gray-btn'
486
- },
487
- }
488
- });
489
- });
490
- });
491
- })( jQuery );
492
- </script>
1
+ <?php
2
+ // You may comment this out IF you're sure the function exists.
3
+ require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
4
+ remove_all_filters('plugins_api');
5
+ $plugins_allowedtags = array(
6
+ 'a' => array(
7
+ 'href' => array(),
8
+ 'title' => array(),
9
+ 'target' => array(),
10
+ ),
11
+ 'abbr' => array( 'title' => array() ),
12
+ 'acronym' => array( 'title' => array() ),
13
+ 'code' => array(),
14
+ 'pre' => array(),
15
+ 'em' => array(),
16
+ 'strong' => array(),
17
+ 'ul' => array(),
18
+ 'ol' => array(),
19
+ 'li' => array(),
20
+ 'p' => array(),
21
+ 'br' => array(),
22
+ );
23
+
24
+ $recommended_plugins = array();
25
+ /* Poptin Plugins */
26
+ $args = [
27
+ 'slug' => 'poptin',
28
+ 'fields' => [
29
+ 'short_description' => true,
30
+ 'icons' => true,
31
+ 'reviews' => false, // excludes all reviews
32
+ ],
33
+ ];
34
+ $data = plugins_api( 'plugin_information', $args );
35
+ if ( $data && ! is_wp_error( $data ) ) {
36
+ $recommended_plugins['poptin'] = $data;
37
+ $recommended_plugins['poptin']->name = 'Poptin: Beautiful Pop Ups and Embedded Inline Contact Forms for Your Website';
38
+ $recommended_plugins['poptin']->short_description = 'Pop ups and contact forms builder for your website. Get more sales, leads, and subscribers with beautiful popups & inline forms templates, no coding skills required';
39
+ }
40
+
41
+ /* Chaty Plugins */
42
+ $args = [
43
+ 'slug' => 'chaty',
44
+ 'fields' => [
45
+ 'short_description' => true,
46
+ 'icons' => true,
47
+ 'reviews' => false, // excludes all reviews
48
+ ],
49
+ ];
50
+ $data = plugins_api( 'plugin_information', $args );
51
+ if ( $data && ! is_wp_error( $data ) ) {
52
+ $recommended_plugins['chaty'] = $data;
53
+ $recommended_plugins['chaty']->name = 'Chaty: WhatsApp, Facebook Messenger, and Many Other Chat Buttons For Your Website';
54
+ $recommended_plugins['chaty']->short_description = 'Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call bututons';
55
+ }
56
+
57
+ /* Folders Plugins */
58
+ $args = [
59
+ 'slug' => 'folders',
60
+ 'fields' => [
61
+ 'short_description' => true,
62
+ 'icons' => true,
63
+ 'reviews' => false, // excludes all reviews
64
+ ],
65
+ ];
66
+ $data = plugins_api( 'plugin_information', $args );
67
+ if ( $data && ! is_wp_error( $data ) ) {
68
+ $recommended_plugins['folders'] = $data;
69
+ $recommended_plugins['folders']->name = 'Folders: Organize Your Media Library, Posts, Pages, & Custom posts Using Drag & Drop';
70
+ $recommended_plugins['folders']->short_description = 'Folders is a powerful plugin that will help you quickly and easily organize and manage your WordPress Media library files, Pages, Posts, and Custom Posts in folders. Organize your website in minutes';
71
+ }
72
+
73
+ /* Stars Ttestimonials Plugins */
74
+ $args = [
75
+ 'slug' => 'mystickyelements',
76
+ 'fields' => [
77
+ 'short_description' => true,
78
+ 'icons' => true,
79
+ 'reviews' => false, // excludes all reviews
80
+ ],
81
+ ];
82
+ $data = plugins_api( 'plugin_information', $args );
83
+ if ( $data && ! is_wp_error( $data ) ) {
84
+ $recommended_plugins['stars-testimonials'] = $data;
85
+ $recommended_plugins['stars-testimonials']->name = 'My Sticky Elements: All-in-one Floating Contact Form, Call, Chat, and 40+ Social Icon Tabs';
86
+ $recommended_plugins['stars-testimonials']->short_description = 'Capture leads with beautiful floating contact form tab & get followers and chat messages via Facebook Messenger, WhatsApp, Viber, Telegram, Instagram, Amazon, Facebook, and many other channels';
87
+ }
88
+
89
+
90
+ ?>
91
+ <div class="wrap mystickyelement-wrap recommended-plugins">
92
+ <h2>
93
+ <?php _e('Try out our recommended plugins', 'mystickyelements'); ?>
94
+ <div class="mystickyelement-contact-form-leads-btn">
95
+ <a href="#" class="create-rule recommeded-plugins-hide"><?php _e('Hide From Menu', 'mystickyelements');?></a>
96
+ </div>
97
+ </h2>
98
+ </div>
99
+ <div class="wrap recommended-plugins">
100
+ <div class="wp-list-table widefat plugin-install">
101
+ <div class="the-list">
102
+ <?php
103
+ foreach ( (array) $recommended_plugins as $plugin ) {
104
+ if ( is_object( $plugin ) ) {
105
+ $plugin = (array) $plugin;
106
+ }
107
+
108
+ // Display the group heading if there is one.
109
+ if ( isset( $plugin['group'] ) && $plugin['group'] != $group ) {
110
+ if ( isset( $this->groups[ $plugin['group'] ] ) ) {
111
+ $group_name = $this->groups[ $plugin['group'] ];
112
+ if ( isset( $plugins_group_titles[ $group_name ] ) ) {
113
+ $group_name = $plugins_group_titles[ $group_name ];
114
+ }
115
+ } else {
116
+ $group_name = $plugin['group'];
117
+ }
118
+
119
+ // Starting a new group, close off the divs of the last one.
120
+ if ( ! empty( $group ) ) {
121
+ echo '</div></div>';
122
+ }
123
+
124
+ echo '<div class="plugin-group"><h3>' . esc_html( $group_name ) . '</h3>';
125
+ // Needs an extra wrapping div for nth-child selectors to work.
126
+ echo '<div class="plugin-items">';
127
+
128
+ $group = $plugin['group'];
129
+ }
130
+ $title = wp_kses( $plugin['name'], $plugins_allowedtags );
131
+
132
+ // Remove any HTML from the description.
133
+ $description = strip_tags( $plugin['short_description'] );
134
+ $version = wp_kses( $plugin['version'], $plugins_allowedtags );
135
+
136
+ $name = strip_tags( $title . ' ' . $version );
137
+
138
+ $author = wp_kses( $plugin['author'], $plugins_allowedtags );
139
+ if ( ! empty( $author ) ) {
140
+ /* translators: %s: Plugin author. */
141
+ $author = ' <cite>' . sprintf( __( 'By %s' ), $author ) . '</cite>';
142
+ }
143
+
144
+ $requires_php = isset( $plugin['requires_php'] ) ? $plugin['requires_php'] : null;
145
+ $requires_wp = isset( $plugin['requires'] ) ? $plugin['requires'] : null;
146
+
147
+ $compatible_php = is_php_version_compatible( $requires_php );
148
+ $compatible_wp = is_wp_version_compatible( $requires_wp );
149
+ $tested_wp = ( empty( $plugin['tested'] ) || version_compare( get_bloginfo( 'version' ), $plugin['tested'], '<=' ) );
150
+
151
+ $action_links = array();
152
+
153
+ if ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) {
154
+ $status = install_plugin_install_status( $plugin );
155
+
156
+ switch ( $status['status'] ) {
157
+ case 'install':
158
+ if ( $status['url'] ) {
159
+ if ( $compatible_php && $compatible_wp ) {
160
+ $action_links[] = sprintf(
161
+ '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>',
162
+ esc_attr( $plugin['slug'] ),
163
+ esc_url( $status['url'] ),
164
+ /* translators: %s: Plugin name and version. */
165
+ esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ),
166
+ esc_attr( $name ),
167
+ __( 'Install Now' )
168
+ );
169
+ } else {
170
+ $action_links[] = sprintf(
171
+ '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
172
+ _x( 'Cannot Install', 'plugin' )
173
+ );
174
+ }
175
+ }
176
+ break;
177
+
178
+ case 'update_available':
179
+ if ( $status['url'] ) {
180
+ if ( $compatible_php && $compatible_wp ) {
181
+ $action_links[] = sprintf(
182
+ '<a class="update-now button aria-button-if-js" data-plugin="%s" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>',
183
+ esc_attr( $status['file'] ),
184
+ esc_attr( $plugin['slug'] ),
185
+ esc_url( $status['url'] ),
186
+ /* translators: %s: Plugin name and version. */
187
+ esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $name ) ),
188
+ esc_attr( $name ),
189
+ __( 'Update Now' )
190
+ );
191
+ } else {
192
+ $action_links[] = sprintf(
193
+ '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
194
+ _x( 'Cannot Update', 'plugin' )
195
+ );
196
+ }
197
+ }
198
+ break;
199
+
200
+ case 'latest_installed':
201
+ case 'newer_installed':
202
+ if ( is_plugin_active( $status['file'] ) ) {
203
+ $action_links[] = sprintf(
204
+ '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
205
+ _x( 'Active', 'plugin' )
206
+ );
207
+ } elseif ( current_user_can( 'activate_plugin', $status['file'] ) ) {
208
+ $button_text = __( 'Activate' );
209
+ /* translators: %s: Plugin name. */
210
+ $button_label = _x( 'Activate %s', 'plugin' );
211
+ $activate_url = add_query_arg(
212
+ array(
213
+ '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $status['file'] ),
214
+ 'action' => 'activate',
215
+ 'plugin' => $status['file'],
216
+ ),
217
+ network_admin_url( 'plugins.php' )
218
+ );
219
+
220
+ if ( is_network_admin() ) {
221
+ $button_text = __( 'Network Activate' );
222
+ /* translators: %s: Plugin name. */
223
+ $button_label = _x( 'Network Activate %s', 'plugin' );
224
+ $activate_url = add_query_arg( array( 'networkwide' => 1 ), $activate_url );
225
+ }
226
+
227
+ $action_links[] = sprintf(
228
+ '<a href="%1$s" class="button activate-now" aria-label="%2$s">%3$s</a>',
229
+ esc_url( $activate_url ),
230
+ esc_attr( sprintf( $button_label, $plugin['name'] ) ),
231
+ $button_text
232
+ );
233
+ } else {
234
+ $action_links[] = sprintf(
235
+ '<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
236
+ _x( 'Installed', 'plugin' )
237
+ );
238
+ }
239
+ break;
240
+ }
241
+ }
242
+
243
+ $details_link = self_admin_url(
244
+ 'plugin-install.php?tab=plugin-information&amp;plugin=' . $plugin['slug'] .
245
+ '&amp;TB_iframe=true&amp;width=600&amp;height=550'
246
+ );
247
+
248
+ $action_links[] = sprintf(
249
+ '<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>',
250
+ esc_url( $details_link ),
251
+ /* translators: %s: Plugin name and version. */
252
+ esc_attr( sprintf( __( 'More information about %s' ), $name ) ),
253
+ esc_attr( $name ),
254
+ __( 'More Details' )
255
+ );
256
+
257
+ if ( ! empty( $plugin['icons']['svg'] ) ) {
258
+ $plugin_icon_url = $plugin['icons']['svg'];
259
+ } elseif ( ! empty( $plugin['icons']['2x'] ) ) {
260
+ $plugin_icon_url = $plugin['icons']['2x'];
261
+ } elseif ( ! empty( $plugin['icons']['1x'] ) ) {
262
+ $plugin_icon_url = $plugin['icons']['1x'];
263
+ } else {
264
+ $plugin_icon_url = $plugin['icons']['default'];
265
+ }
266
+
267
+ /**
268
+ * Filters the install action links for a plugin.
269
+ *
270
+ * @since 2.7.0
271
+ *
272
+ * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now.
273
+ * @param array $plugin The plugin currently being listed.
274
+ */
275
+ $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
276
+
277
+ $last_updated_timestamp = strtotime( $plugin['last_updated'] );
278
+ ?>
279
+ <div class="plugin-card plugin-card-<?php echo sanitize_html_class( $plugin['slug'] ); ?>">
280
+ <?php
281
+ if ( ! $compatible_php || ! $compatible_wp ) {
282
+ echo '<div class="notice inline notice-error notice-alt"><p>';
283
+ if ( ! $compatible_php && ! $compatible_wp ) {
284
+ _e( 'This plugin doesn&#8217;t work with your versions of WordPress and PHP.' );
285
+ if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
286
+ printf(
287
+ /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
288
+ ' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
289
+ self_admin_url( 'update-core.php' ),
290
+ esc_url( wp_get_update_php_url() )
291
+ );
292
+ wp_update_php_annotation( '</p><p><em>', '</em>' );
293
+ } elseif ( current_user_can( 'update_core' ) ) {
294
+ printf(
295
+ /* translators: %s: URL to WordPress Updates screen. */
296
+ ' ' . __( '<a href="%s">Please update WordPress</a>.' ),
297
+ self_admin_url( 'update-core.php' )
298
+ );
299
+ } elseif ( current_user_can( 'update_php' ) ) {
300
+ printf(
301
+ /* translators: %s: URL to Update PHP page. */
302
+ ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
303
+ esc_url( wp_get_update_php_url() )
304
+ );
305
+ wp_update_php_annotation( '</p><p><em>', '</em>' );
306
+ }
307
+ } elseif ( ! $compatible_wp ) {
308
+ _e( 'This plugin doesn&#8217;t work with your version of WordPress.' );
309
+ if ( current_user_can( 'update_core' ) ) {
310
+ printf(
311
+ /* translators: %s: URL to WordPress Updates screen. */
312
+ ' ' . __( '<a href="%s">Please update WordPress</a>.' ),
313
+ self_admin_url( 'update-core.php' )
314
+ );
315
+ }
316
+ } elseif ( ! $compatible_php ) {
317
+ _e( 'This plugin doesn&#8217;t work with your version of PHP.' );
318
+ if ( current_user_can( 'update_php' ) ) {
319
+ printf(
320
+ /* translators: %s: URL to Update PHP page. */
321
+ ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
322
+ esc_url( wp_get_update_php_url() )
323
+ );
324
+ wp_update_php_annotation( '</p><p><em>', '</em>' );
325
+ }
326
+ }
327
+ echo '</p></div>';
328
+ }
329
+ ?>
330
+ <div class="plugin-card-top">
331
+ <div class="name column-name">
332
+ <h3>
333
+ <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox open-plugin-details-modal">
334
+ <?php echo $title; ?>
335
+ <img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
336
+ </a>
337
+ </h3>
338
+ </div>
339
+ <div class="action-links">
340
+ <?php
341
+ if ( $action_links ) {
342
+ echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li></ul>';
343
+ }
344
+ ?>
345
+ </div>
346
+ <div class="desc column-description">
347
+ <p><?php echo $description; ?></p>
348
+ <p class="authors"><?php echo $author; ?></p>
349
+ </div>
350
+ </div>
351
+ <div class="plugin-card-bottom">
352
+ <div class="vers column-rating">
353
+ <?php
354
+ wp_star_rating(
355
+ array(
356
+ 'rating' => $plugin['rating'],
357
+ 'type' => 'percent',
358
+ 'number' => $plugin['num_ratings'],
359
+ )
360
+ );
361
+ ?>
362
+ <span class="num-ratings" aria-hidden="true">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span>
363
+ </div>
364
+ <div class="column-updated">
365
+ <strong><?php _e( 'Last Updated:' ); ?></strong>
366
+ <?php
367
+ /* translators: %s: Human-readable time difference. */
368
+ printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) );
369
+ ?>
370
+ </div>
371
+ <div class="column-downloaded">
372
+ <?php
373
+ if ( $plugin['active_installs'] >= 1000000 ) {
374
+ $active_installs_millions = floor( $plugin['active_installs'] / 1000000 );
375
+ $active_installs_text = sprintf(
376
+ /* translators: %s: Number of millions. */
377
+ _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
378
+ number_format_i18n( $active_installs_millions )
379
+ );
380
+ } elseif ( 0 == $plugin['active_installs'] ) {
381
+ $active_installs_text = _x( 'Less Than 10', 'Active plugin installations' );
382
+ } else {
383
+ $active_installs_text = number_format_i18n( $plugin['active_installs'] ) . '+';
384
+ }
385
+ /* translators: %s: Number of installations. */
386
+ printf( __( '%s Active Installations' ), $active_installs_text );
387
+ ?>
388
+ </div>
389
+ <div class="column-compatibility">
390
+ <?php
391
+ if ( ! $tested_wp ) {
392
+ echo '<span class="compatibility-untested">' . __( 'Untested with your version of WordPress' ) . '</span>';
393
+ } elseif ( ! $compatible_wp ) {
394
+ echo '<span class="compatibility-incompatible">' . __( '<strong>Incompatible</strong> with your version of WordPress' ) . '</span>';
395
+ } else {
396
+ echo '<span class="compatibility-compatible">' . __( '<strong>Compatible</strong> with your version of WordPress' ) . '</span>';
397
+ }
398
+ ?>
399
+ </div>
400
+ </div>
401
+ </div>
402
+ <?php
403
+ } ?>
404
+ </div>
405
+ </div>
406
+ <div id="hide-recommeded-plugins" style="display:none;" title="<?php _e('Are you sure?','mystickyelements');?>">
407
+ <p><?php _e( "If you hide the recommended plugins page from your menu, it won't appear there again. Are you sure you'd like to do it?", 'mystickyelements');?></p>
408
+ </div>
409
+
410
+ </div>
411
+ <style>
412
+ .mystickyelement-contact-form-leads-btn {
413
+ float: right;
414
+ }
415
+ .wrap.mystickyelement-wrap > h2:first-child {
416
+ font-size: 26px;
417
+ }
418
+ .mystickyelement-contact-form-leads-btn a.create-rule {
419
+ font-size: 18px;
420
+ padding: 7px 30px;
421
+ margin: 0px;
422
+ }
423
+ a.create-rule {
424
+ background-color: #7761DF;
425
+ color: #fff;
426
+ display: inline-block;
427
+ vertical-align: top;
428
+ text-decoration: none;
429
+ padding: 5px 12px;
430
+ border-radius: 20px;
431
+ box-shadow: none;
432
+ outline: none;
433
+ }
434
+ .ui-dialog-buttonpane .ui-dialog-buttonset .red-btn, .ui-dialog-buttonpane .ui-dialog-buttonset .purple-btn, .ui-dialog-buttonpane .ui-dialog-buttonset .gray-btn {
435
+ background-color: #969696;
436
+ color: #fff;
437
+ border-color: #969696;
438
+ border-radius: 25px;
439
+ line-height: 1.4;
440
+ padding: 8px 15px 10px;
441
+ height: auto;
442
+ display: inline-block;
443
+ vertical-align: top;
444
+ font-size: 16px;
445
+ min-width: 150px;
446
+ }
447
+ .ui-dialog .ui-dialog-buttonpane .ui-button {
448
+ margin: 0 10px;
449
+ }
450
+ .ui-dialog-buttonpane .ui-dialog-buttonset .red-btn {
451
+ background-color: #FF0000;
452
+ border-color: #FF0000;
453
+ }
454
+ </style>
455
+ <script>
456
+ ( function( $ ) {
457
+ "use strict";
458
+ $(document).ready(function(){
459
+ $( '.recommeded-plugins-hide' ).on( 'click', function(event){
460
+ event.preventDefault();
461
+ $( "#hide-recommeded-plugins" ).dialog({
462
+ resizable: false,
463
+ modal: true,
464
+ draggable: false,
465
+ height: 'auto',
466
+ width: 400,
467
+ open: function (event, ui) {
468
+ $(".ui-widget-overlay").on( 'click', function () {
469
+ $('#hide-recommeded-plugins').dialog('close');
470
+ });
471
+ },
472
+ buttons: {
473
+ "Hide it": {
474
+ click: function () {
475
+ window.location = "<?php echo admin_url('admin.php?page=my-stickymenu-settings&hide_msmrecommended_plugin=1');?>";
476
+ },
477
+ text: 'Hide it',
478
+ class: 'btn red-btn'
479
+ },
480
+ "Keep it": {
481
+ click: function () {
482
+ $(this).dialog('close');
483
+ },
484
+ text: 'Keep it',
485
+ class: 'btn alt gray-btn'
486
+ },
487
+ }
488
+ });
489
+ });
490
+ });
491
+ })( jQuery );
492
+ </script>
uninstall.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
- if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
3
- exit;
4
- if ( get_option( 'mysticky_option_name' ) != false ) {
5
-
6
- }
7
- ?>
1
+ <?php
2
+ if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
3
+ exit;
4
+ if ( get_option( 'mysticky_option_name' ) != false ) {
5
+
6
+ }
7
+ ?>
upgrade-to-pro.php CHANGED
@@ -1,167 +1,167 @@
1
- <?php if ( ! defined( 'ABSPATH' ) ) exit;
2
- $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
3
- ?>
4
- <div class="key-table">
5
- <div class="modal-upgrade upgrade-block" id="folder-modal">
6
- <div class="easy-modal-inner">
7
- <div class="container">
8
- <div class="pricing-table">
9
- <div class="price-title">Unlock All Features</div>
10
- <div class="price-tables">
11
- <div class="row">
12
- <div class="col-md-4 col-sm-12">
13
- <div class="price-table basic-feature">
14
- <div class="price-table-top">
15
- <div class="price-head">
16
- <div class="plan-name">Basic</div>
17
- <div class="plan-price">$19<span>/year</span></div>
18
- </div>
19
- <div class="price-websites">For small website owners</div>
20
- <div class="price-offer">Renewals for <b>25% off</b></div>
21
- </div>
22
- <div class="price-table-middle">
23
- <ul>
24
- <li><a href="javascript:;" class="cus-tooltip">1 website <span class="has-tooltip">*</span><span class="tooltip__content">Use Folders on 1 domain</span></a></li>
25
- <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
26
- <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
27
- <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
28
- <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
29
- <li><a href="javascript:;" class="cus-tooltip">Page targeting <span class="has-tooltip">*</span><span class="tooltip__content">Show/hide the sticky menu on specific pages</span></a></li>
30
- <li><a href="javascript:;" class="cus-tooltip">Effects and more <span class="has-tooltip">*</span><span class="tooltip__content">Fade/Slide, opacity, background color, transition time and more</span></a></li>
31
- <li><a href="javascript:;" class="cus-tooltip">Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span></a></li>
32
- </ul>
33
- </div>
34
- <div class="price-table-bottom">
35
- <div class="custom-dd">
36
- <select class="multiple-options">
37
- <option data-option="1_year" data-header="Renewals for 25% off" data-price="19" value="<?php echo esc_url($pro_url."1") ?>">
38
- <?php esc_html_e("Updates & support for 1 year") ?>
39
- </option>
40
- <option data-option="2_year" data-header="For 2 years" data-price="29" value="<?php echo esc_url($pro_url."13") ?>">
41
- <?php esc_html_e("Updates & support for 2 years") ?>
42
- </option>
43
- <option data-option="lifetime" data-header="For lifetime" data-price="59" value="<?php echo esc_url($pro_url."5") ?>">
44
- <?php esc_html_e("Updates & support for lifetime") ?>
45
- </option>
46
- </select>
47
- </div>
48
- <a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&amp;download_id=2199&amp;edd_options[price_id]=1">Buy now</a>
49
- </div>
50
- </div>
51
- </div>
52
- <div class="col-md-4 col-sm-12">
53
- <div class="price-table plus-feature">
54
- <div class="price-table-top">
55
- <div class="price-head">
56
- <div class="plan-name">Plus</div>
57
- <div class="plan-price">$39<span>/year</span></div>
58
- </div>
59
- <div class="price-websites">For businesses with multiple websites</div>
60
- <div class="price-offer">Renewals for <b>25% off</b></div>
61
- </div>
62
- <div class="price-table-middle">
63
- <ul>
64
- <li><a href="javascript:;" class="cus-tooltip">1 website <span class="has-tooltip">*</span><span class="tooltip__content">Use Folders on 1 domain</span></a></li>
65
- <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
66
- <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
67
- <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
68
- <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
69
- <li><a href="javascript:;" class="cus-tooltip">Page targeting <span class="has-tooltip">*</span><span class="tooltip__content">Show/hide the sticky menu on specific pages</span></a></li>
70
- <li><a href="javascript:;" class="cus-tooltip">Effects and more <span class="has-tooltip">*</span><span class="tooltip__content">Fade/Slide, opacity, background color, transition time and more</span></a></li>
71
- <li><a href="javascript:;" class="cus-tooltip">Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span></a></li>
72
- </ul>
73
- </div>
74
- <div class="price-table-bottom">
75
- <div class="custom-dd">
76
- <select class="multiple-options">
77
- <option data-option="1_year" data-header="Renewals for 25% off" data-price="39" value="<?php echo esc_url($pro_url."2") ?>">
78
- <?php esc_html_e("Updates & support for 1 year") ?>
79
- </option>
80
- <option data-option="2_year" data-header="For 2 years" data-price="59" value="<?php echo esc_url($pro_url."14") ?>">
81
- <?php esc_html_e("Updates & support for 2 years") ?>
82
- </option>
83
- <option data-option="lifetime" data-header="For lifetime" data-price="99" value="<?php echo esc_url($pro_url."7") ?>">
84
- <?php esc_html_e("Updates & support for lifetime") ?>
85
- </option>
86
- </select>
87
- </div>
88
- <a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&amp;download_id=2199&amp;edd_options%5Bprice_id%5D=2">Buy now</a>
89
- </div>
90
- </div>
91
- </div>
92
- <div class="col-md-4 col-sm-12">
93
- <div class="price-table agency-feature">
94
- <div class="price-table-top">
95
- <div class="price-head">
96
- <div class="plan-name">Agency</div>
97
- <div class="plan-price">$79<span>/year</span></div>
98
- </div>
99
- <div class="price-websites">For agencies who manage clients</div>
100
- <div class="price-offer">Renewals for <b>25% off</b></div>
101
- </div>
102
- <div class="price-table-middle">
103
- <ul>
104
- <li>
105
- <div class="website-package">
106
- <select class="multiple-web-options">
107
- <option value="50_websites">50 websites</option>
108
- <option value="500_websites">500 websites</option>
109
- <option value="1000_websites">1000 websites</option>
110
- </select>
111
- </div>
112
- </li>
113
- <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
114
- <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
115
- <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
116
- <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
117
- <li><a href="javascript:;" class="cus-tooltip">Page targeting <span class="has-tooltip">*</span><span class="tooltip__content">Show/hide the sticky menu on specific pages</span></a></li>
118
- <li><a href="javascript:;" class="cus-tooltip">Effects and more <span class="has-tooltip">*</span><span class="tooltip__content">Fade/Slide, opacity, background color, transition time and more</span></a></li>
119
- <li><a href="javascript:;" class="cus-tooltip">Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span></a></li>
120
- </ul>
121
- </div>
122
- <div class="price-table-bottom">
123
- <div class="custom-dd">
124
- <select class="multiple-options has-multiple-websites">
125
- <option data-option="1_year" data-header="Renewals for 25% off" data-price="79" value="<?php echo esc_url($pro_url."3") ?>">
126
- <?php esc_html_e("Updates & support for 1 year") ?>
127
- </option>
128
- <option data-option="2_year" data-header="For 2 years" data-price="125" value="<?php echo esc_url($pro_url."15") ?>">
129
- <?php esc_html_e("Updates & support for 2 years") ?>
130
- </option>
131
- <option data-option="lifetime" data-header="For lifetime" data-price="199" value="<?php echo esc_url($pro_url."9") ?>">
132
- <?php esc_html_e("Updates & support for lifetime") ?>
133
- </option>
134
- </select>
135
- </div>
136
- <a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&amp;download_id=2199&amp;edd_options%5Bprice_id%5D=3">Buy now</a>
137
- </div>
138
- </div>
139
- </div>
140
- </div>
141
- <div class="clearfix"></div>
142
- </div>
143
- </div>
144
- <div class="text-center price-after">
145
- <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span>
146
- <?php esc_html_e("30 days money back guaranteed"); ?>
147
- </p>
148
- <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span>
149
- <?php esc_html_e("The plugin will always keep working even if you don't renew your license"); ?>
150
- </p>
151
- <div class="payments">
152
- <img src="<?php echo plugins_url("") ?>/mystickymenu/images/payment.png" alt="Payment" class="payment-img" />
153
- </div>
154
- </div>
155
- <div class="folder-testimonial-list">
156
- <div class="folder-testimonial">
157
- <div class="testimonial-image"> <img src="<?php echo plugins_url("") ?>/mystickymenu/images/testimonial.png"> </div>
158
- <div class="testimonial-data">
159
- <div class="testimonial-desc">This plugin does exactly what it should. It is simple but powerful. I would suggest to anyone who wants to make their menu sticky! I especially love the hide header on scroll down, show on scroll up feature that is built it. Great work!</div>
160
- <div class="testimonial-author">- Clayton Chase</div>
161
- </div>
162
- </div>
163
- </div>
164
- </div>
165
- </div>
166
- </div>
167
- </div>
1
+ <?php if ( ! defined( 'ABSPATH' ) ) exit;
2
+ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
3
+ ?>
4
+ <div class="key-table">
5
+ <div class="modal-upgrade upgrade-block" id="folder-modal">
6
+ <div class="easy-modal-inner">
7
+ <div class="container">
8
+ <div class="pricing-table">
9
+ <div class="price-title">Unlock All Features</div>
10
+ <div class="price-tables">
11
+ <div class="row">
12
+ <div class="col-md-4 col-sm-12">
13
+ <div class="price-table basic-feature">
14
+ <div class="price-table-top">
15
+ <div class="price-head">
16
+ <div class="plan-name">Basic</div>
17
+ <div class="plan-price">$19<span>/year</span></div>
18
+ </div>
19
+ <div class="price-websites">For small website owners</div>
20
+ <div class="price-offer">Renewals for <b>25% off</b></div>
21
+ </div>
22
+ <div class="price-table-middle">
23
+ <ul>
24
+ <li><a href="javascript:;" class="cus-tooltip">1 website <span class="has-tooltip">*</span><span class="tooltip__content">Use Folders on 1 domain</span></a></li>
25
+ <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
26
+ <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
27
+ <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
28
+ <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
29
+ <li><a href="javascript:;" class="cus-tooltip">Page targeting <span class="has-tooltip">*</span><span class="tooltip__content">Show/hide the sticky menu on specific pages</span></a></li>
30
+ <li><a href="javascript:;" class="cus-tooltip">Effects and more <span class="has-tooltip">*</span><span class="tooltip__content">Fade/Slide, opacity, background color, transition time and more</span></a></li>
31
+ <li><a href="javascript:;" class="cus-tooltip">Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span></a></li>
32
+ </ul>
33
+ </div>
34
+ <div class="price-table-bottom">
35
+ <div class="custom-dd">
36
+ <select class="multiple-options">
37
+ <option data-option="1_year" data-header="Renewals for 25% off" data-price="19" value="<?php echo esc_url($pro_url."1") ?>">
38
+ <?php esc_html_e("Updates & support for 1 year") ?>
39
+ </option>
40
+ <option data-option="2_year" data-header="For 2 years" data-price="29" value="<?php echo esc_url($pro_url."13") ?>">
41
+ <?php esc_html_e("Updates & support for 2 years") ?>
42
+ </option>
43
+ <option data-option="lifetime" data-header="For lifetime" data-price="59" value="<?php echo esc_url($pro_url."5") ?>">
44
+ <?php esc_html_e("Updates & support for lifetime") ?>
45
+ </option>
46
+ </select>
47
+ </div>
48
+ <a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&amp;download_id=2199&amp;edd_options[price_id]=1">Buy now</a>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ <div class="col-md-4 col-sm-12">
53
+ <div class="price-table plus-feature">
54
+ <div class="price-table-top">
55
+ <div class="price-head">
56
+ <div class="plan-name">Plus</div>
57
+ <div class="plan-price">$39<span>/year</span></div>
58
+ </div>
59
+ <div class="price-websites">For businesses with multiple websites</div>
60
+ <div class="price-offer">Renewals for <b>25% off</b></div>
61
+ </div>
62
+ <div class="price-table-middle">
63
+ <ul>
64
+ <li><a href="javascript:;" class="cus-tooltip">1 website <span class="has-tooltip">*</span><span class="tooltip__content">Use Folders on 1 domain</span></a></li>
65
+ <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
66
+ <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
67
+ <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
68
+ <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
69
+ <li><a href="javascript:;" class="cus-tooltip">Page targeting <span class="has-tooltip">*</span><span class="tooltip__content">Show/hide the sticky menu on specific pages</span></a></li>
70
+ <li><a href="javascript:;" class="cus-tooltip">Effects and more <span class="has-tooltip">*</span><span class="tooltip__content">Fade/Slide, opacity, background color, transition time and more</span></a></li>
71
+ <li><a href="javascript:;" class="cus-tooltip">Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span></a></li>
72
+ </ul>
73
+ </div>
74
+ <div class="price-table-bottom">
75
+ <div class="custom-dd">
76
+ <select class="multiple-options">
77
+ <option data-option="1_year" data-header="Renewals for 25% off" data-price="39" value="<?php echo esc_url($pro_url."2") ?>">
78
+ <?php esc_html_e("Updates & support for 1 year") ?>
79
+ </option>
80
+ <option data-option="2_year" data-header="For 2 years" data-price="59" value="<?php echo esc_url($pro_url."14") ?>">
81
+ <?php esc_html_e("Updates & support for 2 years") ?>
82
+ </option>
83
+ <option data-option="lifetime" data-header="For lifetime" data-price="99" value="<?php echo esc_url($pro_url."7") ?>">
84
+ <?php esc_html_e("Updates & support for lifetime") ?>
85
+ </option>
86
+ </select>
87
+ </div>
88
+ <a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&amp;download_id=2199&amp;edd_options%5Bprice_id%5D=2">Buy now</a>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ <div class="col-md-4 col-sm-12">
93
+ <div class="price-table agency-feature">
94
+ <div class="price-table-top">
95
+ <div class="price-head">
96
+ <div class="plan-name">Agency</div>
97
+ <div class="plan-price">$79<span>/year</span></div>
98
+ </div>
99
+ <div class="price-websites">For agencies who manage clients</div>
100
+ <div class="price-offer">Renewals for <b>25% off</b></div>
101
+ </div>
102
+ <div class="price-table-middle">
103
+ <ul>
104
+ <li>
105
+ <div class="website-package">
106
+ <select class="multiple-web-options">
107
+ <option value="50_websites">50 websites</option>
108
+ <option value="500_websites">500 websites</option>
109
+ <option value="1000_websites">1000 websites</option>
110
+ </select>
111
+ </div>
112
+ </li>
113
+ <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
114
+ <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
115
+ <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
116
+ <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
117
+ <li><a href="javascript:;" class="cus-tooltip">Page targeting <span class="has-tooltip">*</span><span class="tooltip__content">Show/hide the sticky menu on specific pages</span></a></li>
118
+ <li><a href="javascript:;" class="cus-tooltip">Effects and more <span class="has-tooltip">*</span><span class="tooltip__content">Fade/Slide, opacity, background color, transition time and more</span></a></li>
119
+ <li><a href="javascript:;" class="cus-tooltip">Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Including page targeting, delay and scroll triggers, devices, position, height, expiry date, open link in a new tab</span></a></li>
120
+ </ul>
121
+ </div>
122
+ <div class="price-table-bottom">
123
+ <div class="custom-dd">
124
+ <select class="multiple-options has-multiple-websites">
125
+ <option data-option="1_year" data-header="Renewals for 25% off" data-price="79" value="<?php echo esc_url($pro_url."3") ?>">
126
+ <?php esc_html_e("Updates & support for 1 year") ?>
127
+ </option>
128
+ <option data-option="2_year" data-header="For 2 years" data-price="125" value="<?php echo esc_url($pro_url."15") ?>">
129
+ <?php esc_html_e("Updates & support for 2 years") ?>
130
+ </option>
131
+ <option data-option="lifetime" data-header="For lifetime" data-price="199" value="<?php echo esc_url($pro_url."9") ?>">
132
+ <?php esc_html_e("Updates & support for lifetime") ?>
133
+ </option>
134
+ </select>
135
+ </div>
136
+ <a class="cart-link" target="_blank" href="https://go.premio.io/?edd_action=add_to_cart&amp;download_id=2199&amp;edd_options%5Bprice_id%5D=3">Buy now</a>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </div>
141
+ <div class="clearfix"></div>
142
+ </div>
143
+ </div>
144
+ <div class="text-center price-after">
145
+ <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span>
146
+ <?php esc_html_e("30 days money back guaranteed"); ?>
147
+ </p>
148
+ <p class="money-guaranteed"><span class="dashicons dashicons-yes"></span>
149
+ <?php esc_html_e("The plugin will always keep working even if you don't renew your license"); ?>
150
+ </p>
151
+ <div class="payments">
152
+ <img src="<?php echo plugins_url("") ?>/mystickymenu/images/payment.png" alt="Payment" class="payment-img" />
153
+ </div>
154
+ </div>
155
+ <div class="folder-testimonial-list">
156
+ <div class="folder-testimonial">
157
+ <div class="testimonial-image"> <img src="<?php echo plugins_url("") ?>/mystickymenu/images/testimonial.png"> </div>
158
+ <div class="testimonial-data">
159
+ <div class="testimonial-desc">This plugin does exactly what it should. It is simple but powerful. I would suggest to anyone who wants to make their menu sticky! I especially love the hide header on scroll down, show on scroll up feature that is built it. Great work!</div>
160
+ <div class="testimonial-author">- Clayton Chase</div>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ </div>
166
+ </div>
167
+ </div>
welcome-bar.php CHANGED
@@ -1,1846 +1,1846 @@
1
- <?php
2
-
3
- function mysticky_welcome_bar_backend() {
4
- $upgarde_url = admin_url("admin.php?page=my-stickymenu-upgrade");
5
- $nonce = wp_create_nonce('mysticky_option_welcomebar_update');
6
- $nonce_reset = wp_create_nonce('mysticky_option_welcomebar_reset');
7
-
8
- $welcomebar = get_option( 'mysticky_option_welcomebar' );
9
- if ( $welcomebar == '' || empty($welcomebar)) {
10
- $welcomebar = mysticky_welcomebar_pro_widget_default_fields();
11
- }
12
- $mysticky_welcomebar_showx_desktop = $mysticky_welcomebar_showx_mobile = '';
13
- $mysticky_welcomebar_btn_desktop = $mysticky_welcomebar_btn_mobile = '';
14
- $mysticky_welcomebar_display_desktop = $mysticky_welcomebar_display_mobile = '';
15
- if( isset($welcomebar['mysticky_welcomebar_x_desktop']) ) {
16
- $mysticky_welcomebar_showx_desktop = ' mysticky-welcomebar-showx-desktop';
17
- }
18
- if( isset($welcomebar['mysticky_welcomebar_x_mobile']) ) {
19
- $mysticky_welcomebar_showx_mobile = ' mysticky-welcomebar-showx-mobile';
20
- }
21
- if( isset($welcomebar['mysticky_welcomebar_btn_desktop']) ) {
22
- $mysticky_welcomebar_btn_desktop = ' mysticky-welcomebar-btn-desktop';
23
- }
24
- if( isset($welcomebar['mysticky_welcomebar_btn_mobile']) ) {
25
- $mysticky_welcomebar_btn_mobile = ' mysticky-welcomebar-btn-mobile';
26
- }
27
-
28
- if( !isset($welcomebar['mysticky_welcomebar_redirect_rel']) ) {
29
- $welcomebar['mysticky_welcomebar_redirect_rel'] = '';
30
- }
31
- $display = ' mysticky-welcomebar-attention-'.$welcomebar['mysticky_welcomebar_attentionselect'];
32
- $display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
33
- $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $display . $display_entry_effect;
34
- ?>
35
- <form class="mysticky-welcomebar-form" id="mysticky_welcomebar_form" method="post" action="#">
36
- <div class="mysticky-welcomebar-header-title">
37
- <h3><?php _e('Welcome Bar', 'myStickymenu'); ?></h3>
38
- <label for="mysticky-welcomebar-contact-form-enabled" class="mysticky-welcomebar-switch">
39
- <input type="checkbox" id="mysticky-welcomebar-contact-form-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable]" value="1" <?php checked( @$welcomebar['mysticky_welcomebar_enable'], '1' );?> />
40
- <span class="slider"></span>
41
- </label>
42
- </div>
43
- <div class="mysticky-welcomebar-setting-wrap">
44
- <div class="mysticky-welcomebar-setting-left">
45
- <div class="mysticky-welcomebar-setting-block">
46
- <div class="mysticky-welcomebar-subheader-title">
47
- <h4><?php _e('Design', 'myStickymenu'); ?></h4>
48
- </div>
49
- <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-setting-position">
50
- <label><?php _e('Position', 'myStickymenu'); ?></label>
51
- <div class="mysticky-welcomebar-setting-content-right">
52
- <label>
53
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_position]" value= "top" type="radio" <?php checked( @$welcomebar['mysticky_welcomebar_position'], 'top' );?> />
54
- <?php _e("Top", 'mystickymenu'); ?>
55
- </label>
56
- <label>
57
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_position]" value="bottom" type="radio" disabled />
58
- <?php _e("Bottom", 'mystickymenu'); ?>
59
- </label>
60
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
61
- </div>
62
- </div>
63
- <div class="mysticky-welcomebar-setting-content">
64
- <label><?php _e('Height', 'myStickymenu'); ?></label>
65
- <div class="mysticky-welcomebar-setting-content-right">
66
- <div class="px-wrap">
67
- <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_height" name="mysticky_option_welcomebar[mysticky_welcomebar_height]" value="60" disabled />
68
- <span class="input-px">PX</span>
69
- </div>
70
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
71
- </div>
72
- </div>
73
- <div class="mysticky-welcomebar-setting-content">
74
- <label><?php _e('Background Color', 'myStickymenu'); ?></label>
75
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
76
- <input type="text" id="mysticky_welcomebar_bgcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_bgcolor'];?>" />
77
- </div>
78
- </div>
79
- <div class="mysticky-welcomebar-setting-content">
80
- <label><?php _e('Background Text Color', 'myStickymenu'); ?></label>
81
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
82
- <input type="text" id="mysticky_welcomebar_bgtxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgtxtcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'];?>" />
83
- </div>
84
- </div>
85
- <div class="mysticky-welcomebar-setting-content">
86
- <label><?php _e('Font', 'myStickymenu'); ?></label>
87
- <div class="mysticky-welcomebar-setting-content-right">
88
- <select name="mysticky_option_welcomebar[mysticky_welcomebar_font]" class="form-fonts">
89
- <option value=""><?php _e( 'Select font family', 'myStickymenu' );?></option>
90
- <?php $group= ''; foreach( myStickymenu_fonts() as $key=>$value):
91
- if ($value != $group){
92
- echo '<optgroup label="' . $value . '">';
93
- $group = $value;
94
- }
95
- ?>
96
- <option value="<?php echo esc_attr($key);?>" <?php selected( @$welcomebar['mysticky_welcomebar_font'], $key ); ?>><?php echo esc_html($key);?></option>
97
- <?php endforeach;?>
98
- </select>
99
- </div>
100
- </div>
101
- <div class="mysticky-welcomebar-setting-content">
102
- <label><?php _e('Font Size', 'myStickymenu'); ?></label>
103
- <div class="mysticky-welcomebar-setting-content-right">
104
- <div class="px-wrap">
105
- <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_fontsize" name="mysticky_option_welcomebar[mysticky_welcomebar_fontsize]" value="<?php echo @$welcomebar['mysticky_welcomebar_fontsize'];?>" />
106
- <span class="input-px">PX</span>
107
- </div>
108
- </div>
109
- </div>
110
- <div class="mysticky-welcomebar-setting-content">
111
- <label><?php _e('Bar Text', 'myStickymenu'); ?></label>
112
- <div class="mysticky-welcomebar-setting-content-right">
113
- <?php
114
- $settings = array(
115
- 'media_buttons' => false,
116
- 'textarea_name' => 'mysticky_option_welcomebar[mysticky_welcomebar_bar_text]',
117
- 'tinymce' => false,
118
- 'quicktags' => array(
119
- 'buttons' => 'strong,em,link'
120
- )
121
- );
122
- wp_editor( stripslashes($welcomebar['mysticky_welcomebar_bar_text']), 'mysticky_bar_text', $settings );
123
- // add more buttons to the html editor
124
- function underline_tag_add_quicktags() {
125
- if ( wp_script_is('quicktags') ){ ?>
126
- <script type="text/javascript">
127
- QTags.addButton( 'underline_tag', 'U', '<u>', '</u>', 'underline', 'underline', 20, '' );
128
- </script>
129
- <?php
130
- }
131
- }
132
- add_action( 'admin_print_footer_scripts', 'underline_tag_add_quicktags' );
133
- ?>
134
- <!--<textarea id="mysticky_bar_text" class="mystickyinput" name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]" rows="4" style="display: none;"><?php echo stripslashes($welcomebar['mysticky_welcomebar_bar_text']);?> </textarea>-->
135
- </div>
136
- </div>
137
- <div class="mysticky-welcomebar-setting-content">
138
- <label><?php _e('Show X', 'myStickymenu'); ?></label>
139
- <div class="mysticky-welcomebar-setting-content-right">
140
- <label>
141
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_x_desktop]" value= "desktop" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_x_desktop'], 'desktop' );?> />
142
- <?php _e( 'Desktop', 'mystickymenu' );?>
143
- </label>
144
- <label>
145
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_x_mobile]" value= "mobile" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_x_mobile'], 'mobile' );?> />
146
- <?php _e( 'Mobile', 'mystickymenu' );?>
147
- </label>
148
- </div>
149
- </div>
150
- </div>
151
- <div class="mysticky-welcomebar-setting-block">
152
- <div class="mysticky-welcomebar-subheader-title">
153
- <h4><?php _e('Button', 'myStickymenu'); ?></h4>
154
- </div>
155
- <div class="mysticky-welcomebar-setting-content">
156
- <label><?php _e('Button', 'myStickymenu'); ?></label>
157
- <div class="mysticky-welcomebar-setting-content-right">
158
- <label>
159
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]" value= "desktop" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_btn_desktop'], 'desktop' );?> />
160
- <?php _e( 'Desktop', 'mystickymenu' );?>
161
- </label>
162
- <label>
163
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]" value= "mobile" type="checkbox"<?php checked( @$welcomebar['mysticky_welcomebar_btn_mobile'], 'mobile' );?> />
164
- <?php _e( 'Mobile', 'mystickymenu' );?>
165
- </label>
166
- </div>
167
- </div>
168
- <div class="mysticky-welcomebar-setting-content">
169
- <label><?php _e('Button Color', 'myStickymenu'); ?></label>
170
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker mysticky_welcomebar_btn_color">
171
- <input type="text" id="mysticky_welcomebar_btncolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btncolor]" class="my-color-field" data-alpha="true" value="<?php echo esc_attr($welcomebar['mysticky_welcomebar_btncolor']);?>" />
172
- </div>
173
- </div>
174
- <div class="mysticky-welcomebar-setting-content">
175
- <label><?php _e('Button Text Color', 'myStickymenu'); ?></label>
176
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker mysticky_welcomebar_btn_color">
177
- <input type="text" id="mysticky_welcomebar_btntxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btntxtcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'];?>" />
178
- </div>
179
- </div>
180
- <div class="mysticky-welcomebar-setting-content">
181
- <label><?php _e('Button Text', 'myStickymenu'); ?></label>
182
- <div class="mysticky-welcomebar-setting-content-right">
183
- <input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo $welcomebar['mysticky_welcomebar_btn_text'];?>" />
184
- </div>
185
- </div>
186
- <!-- -->
187
- <div class="mysticky-welcomebar-setting-content">
188
- <label><?php _e('Attention Effect', 'myStickymenu'); ?></label>
189
- <div class="mysticky-welcomebar-setting-content-right">
190
- <div class="mysticky-welcomebar-setting-attention">
191
- <select name="mysticky_option_welcomebar[mysticky_welcomebar_attentionselect]" class="mysticky-welcomebar-attention mysticky_welcomebar_disable">
192
- <option value="default" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], ' ' ); ?>><?php _e( 'None', 'myStickymenu' );?></option>
193
- <option value="flash" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'flash' ); ?>><?php _e( 'Flash', 'myStickymenu' );?></option>
194
- <option value="shake" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'shake' ); ?>><?php _e( 'Shake', 'myStickymenu' );?></option>
195
- <option value="swing" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'swing' ); ?>><?php _e( 'Swing', 'myStickymenu' );?></option>
196
- <option value="tada" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'tada' ); ?>><?php _e( 'Tada', 'myStickymenu' );?></option>
197
- <option value="heartbeat" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'heartbeat' ); ?>><?php _e( 'Heartbeat', 'myStickymenu' );?></option>
198
- <option value="wobble" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'wobble' ); ?>><?php _e( 'Wobble', 'myStickymenu' );?></option>
199
- </select>
200
- </div>
201
- </div>
202
- </div>
203
- <!-- -->
204
- <div class="mysticky-welcomebar-setting-content">
205
- <label><?php _e('Button Submission', 'myStickymenu'); ?></label>
206
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-redirect-wrap">
207
- <div class="mysticky-welcomebar-setting-action">
208
- <select name="mysticky_option_welcomebar[mysticky_welcomebar_actionselect]" class="mysticky-welcomebar-action mysticky_welcomebar_disable">
209
- <option value="redirect_to_url" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'redirect_to_url' ); ?>><?php _e( 'Redirect to URL', 'myStickymenu' );?></option>
210
- <option value="close_bar" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'close_bar' ); ?>><?php _e( 'Close bar', 'myStickymenu' );?></option>
211
- <option value="thankyou_screen" data-href="<?php echo esc_url($upgarde_url); ?>"><?php _e( 'Thank you screen (Upgrade Now)', 'myStickymenu' );?></option>
212
- </select>
213
- </div>
214
-
215
- </div>
216
- </div>
217
-
218
- <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?>>
219
- <label><?php _e('Redirection link', 'myStickymenu'); ?></label>
220
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-action mysticky-welcomebar-redirect" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?> >
221
- <input type="text" id="mysticky_welcomebar_redirect" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect]" value="<?php echo esc_url($welcomebar['mysticky_welcomebar_redirect']);?>" placeholder="<?php echo esc_url("https://www.yourdomain.com"); ?>" />
222
- </div>
223
- </div>
224
- <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?>>
225
- <label><?php _e( 'Open in a new tab', 'mystickymenu' );?></label>
226
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-newtab mysticky-welcomebar-redirect" >
227
- <label class="mysticky-welcomebar-switch">
228
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_redirect_newtab]" value= "1" type="checkbox" disabled />
229
- <span class="slider"></span>
230
- </label>
231
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
232
- </div>
233
- </div>
234
- <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?>>
235
- <label><?php _e('rel Attribute', 'myStickymenu'); ?>
236
- <span class="mysticky-custom-fields-tooltip">
237
- <a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a>
238
- <p>Add a "rel" attribute to the button link. You can use it to add a rel="nofollow", "sponsored", or any other "rel" attribute option</p>
239
- </span>
240
- </label>
241
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-newtab mysticky-welcomebar-redirect" >
242
- <input type="text" id="mysticky_welcomebar_redirect_rel" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect_rel]" value="" placeholder="" disabled />
243
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
244
- </div>
245
- </div>
246
- <!-- -->
247
- <div class="mysticky-welcomebar-setting-content">
248
- <label><?php _e('After Submission', 'myStickymenu'); ?></label>
249
- <div class="mysticky-welcomebar-setting-content-right">
250
- <div class="mysticky-welcomebar-setting-action">
251
- <select name="mysticky_option_welcomebar[mysticky_welcomebar_aftersubmission]" class="mysticky-welcomebar-aftersubmission mysticky_welcomebar_disable">
252
- <option value="dont_show_welcomebar" <?php selected( @$welcomebar['mysticky_welcomebar_aftersubmission'], 'dont_show_welcomebar' ); ?>><?php _e( "Don't show the Welcome Bar", 'myStickymenu' );?></option>
253
- <option value="show_welcomebar_next_visit" <?php selected( @$welcomebar['mysticky_welcomebar_aftersubmission'], 'show_welcomebar_next_visit' ); ?>><?php _e( 'Show the Welcome Bar in the next visit', 'myStickymenu' );?></option>
254
- <option value="show_welcomebar_every_page" <?php selected( @$welcomebar['mysticky_welcomebar_aftersubmission'], 'show_welcomebar_every_page' ); ?> ><?php _e( 'Show the Welcome Bar on every page', 'myStickymenu' );?></option>
255
- </select>
256
- </div>
257
- </div>
258
- </div>
259
- <!-- -->
260
- <div class="mysticky-welcomebar-setting-content">
261
- <label><?php _e('Close welcome bar Automatically', 'myStickymenu'); ?></label>
262
- <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-close-automatically-sec">
263
- <label for="mysticky-welcomebar-close-automatically-enabled" class="mysticky-welcomebar-switch">
264
- <input type="checkbox" id="mysticky-welcomebar-close-automatically-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable_automatical]" value="1" disabled />
265
- <span class="slider"></span>
266
- </label>
267
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
268
- <div class="mysticky-welcomebar-setting-action" style="display:none;">
269
- <div class="px-wrap">
270
- <span><?php _e('Close welcome bar after ', 'myStickymenu'); ?></span>
271
- <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_triggersec_automatically" name="mysticky_option_welcomebar[mysticky_welcomebar_triggersec_automatically]" value="0">
272
- <span class="input-px"><?php _e('Sec', 'myStickymenu'); ?></span>
273
- </div>
274
- </div>
275
- </div>
276
- </div>
277
- </div>
278
- <div class="mysticky-welcomebar-setting-block">
279
- <div class="mysticky-welcomebar-subheader-title">
280
- <h4><?php _e('Display Rules', 'myStickymenu'); ?></h4>
281
- </div>
282
- <div class="mysticky-welcomebar-setting-content">
283
- <label><?php _e('Entry effect', 'myStickymenu'); ?></label>
284
- <div class="mysticky-welcomebar-setting-content-right">
285
- <?php $welcomebar['mysticky_welcomebar_entry_effect'] = (isset($welcomebar['mysticky_welcomebar_entry_effect']) && $welcomebar['mysticky_welcomebar_entry_effect']!= '') ? $welcomebar['mysticky_welcomebar_entry_effect'] : 'slide-in'; ?>
286
- <select id="myStickymenu-entry-effect" name="mysticky_option_welcomebar[mysticky_welcomebar_entry_effect]" >
287
- <option value="none" <?php selected( @$welcomebar['mysticky_welcomebar_entry_effect'], 'none' ); ?>><?php _e( 'No effect', 'myStickymenu' );?></option>
288
- <option value="slide-in" <?php selected( @$welcomebar['mysticky_welcomebar_entry_effect'], 'slide-in' ); ?>><?php _e( 'Slide in', 'myStickymenu' );?></option>
289
- <option value="fade" <?php selected( @$welcomebar['mysticky_welcomebar_entry_effect'], 'fade' ); ?>><?php _e( 'Fade', 'myStickymenu' );?></option>
290
- </select>
291
- </div>
292
- </div>
293
- <div class="mysticky-welcomebar-upgrade-main mysticky_device_upgrade">
294
- <span class="myStickymenu-upgrade">
295
- <a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( ' Upgrade Now', 'mystickymenu' );?></a>
296
- </span>
297
- <div class="mysticky-welcomebar-setting-content">
298
- <label><?php _e('Devices', 'myStickymenu'); ?></label>
299
- <div class="mysticky-welcomebar-setting-content-right">
300
- <label>
301
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_device_desktop]" value= "desktop" type="checkbox" checked disabled />
302
- <?php _e( 'Desktop', 'mystickymenu' );?>
303
- </label>
304
- <label>
305
- <input name="mysticky_option_welcomebar[mysticky_welcomebar_device_mobile]" value= "mobile" type="checkbox" checked disabled />
306
- <?php _e( 'Mobile', 'mystickymenu' );?>
307
- </label>
308
- </div>
309
- </div>
310
- <div class="mysticky-welcomebar-setting-content">
311
- <label><?php _e('Trigger', 'myStickymenu'); ?></label>
312
- <div class="mysticky-welcomebar-setting-content-right">
313
- <div class="mysticky-welcomebar-setting-action mysticky-welcomebar-trigger-wrap">
314
- <label>
315
- <input type="radio" name="mysticky_option_welcomebar[mysticky_welcomebar_trigger]" value="after_a_few_seconds" checked disabled />&nbsp;<?php _e( 'After a few seconds', 'myStickymenu' );?>
316
- </label>
317
- <label>
318
- <input type="radio" name="mysticky_option_welcomebar[mysticky_welcomebar_trigger]" value="after_scroll" disabled />&nbsp;<?php _e( 'After Scroll', 'myStickymenu' );?>
319
- </label>
320
- </div>
321
- <div class="mysticky-welcomebar-setting-action mysticky-welcomebar-triggersec">
322
- <div class="px-wrap">
323
- <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_triggersec" name="mysticky_option_welcomebar[mysticky_welcomebar_triggersec]" value="0" disabled />
324
- <span class="input-px"><?php echo ( isset($welcomebar['mysticky_welcomebar_trigger']) && $welcomebar['mysticky_welcomebar_trigger'] == 'after_scroll' ) ? '%' : 'Sec'; ?></span>
325
- </div>
326
- </div>
327
- </div>
328
- </div>
329
- <div class="mysticky-welcomebar-setting-content">
330
- <label><?php _e('Expiry date', 'myStickymenu'); ?></label>
331
- <div class="mysticky-welcomebar-setting-content-right">
332
- <div class="mysticky-welcomebar-expirydate">
333
- <input type="text" id="mysticky_welcomebar_expirydate" name="mysticky_option_welcomebar[mysticky_welcomebar_expirydate]" placeholder="<?php _e('No expiry date', 'myStickymenu'); ?>" value="" disabled />
334
- <span class="dashicons dashicons-calendar-alt"></span>
335
- </div>
336
- <div class="mysticky-welcomebar-expirydate-gmt">
337
- <select name="mysticky_option_welcomebar[mysticky_welcomebar_expirydate_gmt]" id="mysticky_welcomebar_expirydate_gmt" disabled>
338
- <?php for( $i=12; $i>=-12;$i-- ) { ?>
339
- <option value="<?php echo $i ?>"><?php echo "GMT " . ( $i>0 ? "+" : "" ).( $i ) ?></option>
340
- <?php } ?>
341
- </select>
342
- </div>
343
- </div>
344
- </div>
345
- <div class="mysticky-welcomebar-setting-content show-on-apper">
346
- <label><?php _e('Page targeting', 'myStickymenu'); ?></label>
347
- <div class="mysticky-welcomebar-setting-content-right">
348
- <a href="javascript:void(0);" class="create-rule" id="create-rule"><?php esc_html_e( "Add Rule", "mystickyelements" );?></a>
349
- </div>
350
- <?php
351
- $url_options = array(
352
- 'page_contains' => 'pages that contain',
353
- 'page_has_url' => 'a specific page',
354
- 'page_start_with' => 'pages starting with',
355
- 'page_end_with' => 'pages ending with',
356
- );
357
- ?>
358
- <div class="mysticky-welcomebar-page-options-html" style="display: none">
359
- <div class="mysticky-welcomebar-page-option">
360
- <div class="url-content">
361
- <div class="mysticky-welcomebar-url-select">
362
- <select name="" id="url_shown_on___count___option">
363
- <option value="show_on"><?php esc_html_e("Show on", "mysticky" );?></option>
364
- <option value="not_show_on"><?php esc_html_e("Don't show on", "mysticky" );?></option>
365
- </select>
366
- </div>
367
- <div class="mysticky-welcomebar-url-option">
368
- <select class="mysticky-welcomebar-url-options" name="" id="url_rules___count___option">
369
- <option selected="selected" value=""><?php esc_html_e("Select Rule", "mysticky" );?></option>
370
- <?php foreach($url_options as $key=>$value) {
371
- echo '<option value="'.$key.'">'.$value.'</option>';
372
- } ?>
373
- </select>
374
- </div>
375
- <div class="mysticky-welcomebar-url-box">
376
- <span class='mysticky-welcomebar-url'><?php echo site_url("/"); ?></span>
377
- </div>
378
- <div class="mysticky-welcomebar-url-values">
379
- <input type="text" value="" name="mysticky_option_welcomebar[page_settings][__count__][value]" id="url_rules___count___value" disabled />
380
- </div>
381
- <div class="clear"></div>
382
- </div>
383
- <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
384
- </div>
385
- </div>
386
- <div class="mysticky-welcomebar-page-options mysticky-welcomebar-setting-content-right" id="mysticky-welcomebar-page-options" style="display:none"></div>
387
- </div>
388
- </div>
389
- </div>
390
- </div>
391
- <div class="mysticky-welcomebar-setting-right">
392
- <div class="mysticky-welcomebar-header-title">
393
- <h3><?php _e('Preview', 'mystickyelements'); ?></h3>
394
- </div>
395
- <div class="mysticky-welcomebar-preview-screen">
396
- <link href="https://fonts.googleapis.com/css?family=<?php echo $welcomebar['mysticky_welcomebar_font'] ?>:400,600,700|Lato:400,500,600,700" rel="stylesheet" type="text/css" class="sfba-google-font">
397
- <div class="mysticky-welcomebar-fixed mysticky-welcomebar-display-desktop <?php echo $display_main_class; ?>" >
398
- <div class="mysticky-welcomebar-fixed-wrap">
399
- <div class="mysticky-welcomebar-content">
400
- <?php echo wpautop(isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase");?>
401
- </div>
402
- <div class="mysticky-welcomebar-btn">
403
- <a href="#" ><?php echo isset($welcomebar['mysticky_welcomebar_btn_text']) ? $welcomebar['mysticky_welcomebar_btn_text'] : "Got it!";?></a>
404
- </div>
405
- <a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
406
- </div>
407
- </div>
408
- </div>
409
- </div>
410
- </div>
411
- <div class="mysticky-welcomebar-submit">
412
- <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e('Save', 'mystickymenu');?>">
413
- </div>
414
- <input type="hidden" name="nonce" value="<?php echo $nonce; ?>">
415
- <input type="hidden" name="active_tab_element" value="1">
416
- <input type="hidden" id="save_welcome_bar" name="save_welcome_bar" value="">
417
-
418
- </form>
419
- <form class="mysticky-welcomebar-form-reset" method="post" action="#">
420
- <div class="mysticky-welcomebar-submit">
421
- <input type="submit" name="mysticky_welcomebar_reset" id="reset" class="button button-secondary" value="<?php _e('Reset', 'mystickymenu');?>">
422
- </div>
423
- <input type="hidden" name="nonce_reset" value="<?php echo $nonce_reset; ?>">
424
- <input type="hidden" name="active_tab_element" value="1">
425
- </form>
426
- <div id="mysticky-welcomebar-save-confirm" style="display:none;" title="<?php esc_attr_e( 'myStickymenu is currently off', 'mystickymenu' ); ?>">
427
- <p>
428
- <?php _e('Your Welcome Bar is currently turned off, would you like to save and show it on your site?', 'mystickymenu' ); ?>
429
- </p>
430
- </div>
431
- <script>
432
- jQuery(".mysticky-welcomebar-fixed").on(
433
- "animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",
434
- function() {
435
- jQuery(this).removeClass("animation-start");
436
- }
437
- );
438
- jQuery(document).ready(function() {
439
- var container = jQuery(".mysticky-welcomebar-fixed");
440
- var refreshId = setInterval(function() {
441
- container.addClass("animation-start");
442
- }, 3500);
443
- });
444
- </script>
445
- <style>
446
- .mysticky-welcomebar-fixed {
447
- background-color: <?php echo $welcomebar['mysticky_welcomebar_bgcolor'] ?>;
448
- font-family: <?php echo $welcomebar['mysticky_welcomebar_font'] ?>;
449
- position: absolute;
450
- left: 0;
451
- right: 0;
452
- opacity: 0;
453
- z-index: 9999999;
454
- -webkit-transition: all 1s ease 0s;
455
- -moz-transition: all 1s ease 0s;
456
- transition: all 1s ease 0s;
457
- }
458
- .mysticky-welcomebar-fixed-wrap {
459
- min-height: 60px;
460
- padding: 20px 10px 20px 10px;
461
- display: flex;
462
- align-items: center;
463
- justify-content: center;
464
- }
465
- .mysticky-welcomebar-preview-mobile-screen .mysticky-welcomebar-fixed{
466
- padding: 0 25px;
467
- }
468
- .mysticky-welcomebar-position-top {
469
- top:0;
470
- }
471
- .mysticky-welcomebar-position-bottom {
472
- bottom:0;
473
- }
474
- .mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in {
475
- top: -80px;
476
- }
477
- .mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in {
478
- bottom: -80px;
479
- }
480
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect {
481
- top:0;
482
- opacity: 1;
483
- }
484
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect {
485
- bottom:0;
486
- opacity: 1;
487
- }
488
- .mysticky-welcomebar-entry-effect-fade {
489
- opacity: 0;
490
- }
491
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-fade.entry-effect {
492
- opacity: 1;
493
- }
494
- .mysticky-welcomebar-entry-effect-none {
495
- display: none;
496
- }
497
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-none.entry-effect {
498
- display: block;
499
- opacity: 1;
500
- }
501
- .mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
502
- top: 0;
503
- }
504
- .mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
505
- bottom: 0;
506
- }
507
- .mysticky-welcomebar-fixed .mysticky-welcomebar-content p a,
508
- .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
509
- color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
510
- font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
511
- font-family: inherit;
512
- margin: 0;
513
- padding: 0;
514
- line-height: 1.2;
515
- font-weight: 400;
516
- }
517
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
518
- padding-left: 30px;
519
- display: none;
520
- }
521
- .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
522
- display: block;
523
- }
524
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
525
- background-color: <?php echo $welcomebar['mysticky_welcomebar_btncolor'] ?>;
526
- font-family: inherit;
527
- color: <?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'] ?>;
528
- border-radius: 4px;
529
- text-decoration: none;
530
- display: inline-block;
531
- vertical-align: top;
532
- line-height: 1.2;
533
- font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
534
- font-weight: 400;
535
- padding: 5px 20px;
536
- white-space: nowrap;
537
- }
538
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
539
- /*opacity: 0.7;*/
540
- -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
541
- -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
542
- box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
543
- }
544
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
545
- display: none;
546
- vertical-align: top;
547
- width: 20px;
548
- height: 20px;
549
- text-align: center;
550
- text-decoration: none;
551
- line-height: 20px;
552
- border-radius: 5px;
553
- color: #000;
554
- position: absolute;
555
- font-family: Lato;
556
- top: 5px;
557
- right: 5px;
558
- text-shadow: 0 0 0px #fff;
559
- -webkit-transition: all 0.5s ease 0s;
560
- -moz-transition: all 0.5s ease 0s;
561
- transition: all 0.5s ease 0s;
562
- -webkit-transform-origin: 50% 50%;
563
- -moz-transform-origin: 50% 50%;
564
- transform-origin: 50% 50%;
565
- }
566
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close:hover {
567
- opacity: 1;
568
- -webkit-transform: rotate(180deg);
569
- -moz-transform: rotate(180deg);
570
- transform: rotate(180deg);
571
- }
572
- .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
573
- display: inline-block;
574
- }
575
- @media only screen and (max-width: 1024px) {
576
- .mysticky-welcomebar-fixed {
577
- padding: 0 10px 0 10px;
578
- }
579
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
580
- width: 20px;
581
- height: 20px;
582
- line-height: 20px;
583
- right: 0px;
584
- }
585
- }
586
-
587
- /* Animated Buttons */
588
- .mysticky-welcomebar-btn a {
589
- -webkit-animation-duration: 1s;
590
- animation-duration: 1s;
591
- }
592
- @-webkit-keyframes flash {
593
- from,
594
- 50%,
595
- to {
596
- opacity: 1;
597
- }
598
-
599
- 25%,
600
- 75% {
601
- opacity: 0;
602
- }
603
- }
604
- @keyframes flash {
605
- from,
606
- 50%,
607
- to {
608
- opacity: 1;
609
- }
610
-
611
- 25%,
612
- 75% {
613
- opacity: 0;
614
- }
615
- }
616
- .mysticky-welcomebar-attention-flash.animation-start .mysticky-welcomebar-btn a {
617
- -webkit-animation-name: flash;
618
- animation-name: flash;
619
- }
620
-
621
- @keyframes shake {
622
- from,
623
- to {
624
- -webkit-transform: translate3d(0, 0, 0);
625
- transform: translate3d(0, 0, 0);
626
- }
627
-
628
- 10%,
629
- 30%,
630
- 50%,
631
- 70%,
632
- 90% {
633
- -webkit-transform: translate3d(-10px, 0, 0);
634
- transform: translate3d(-10px, 0, 0);
635
- }
636
-
637
- 20%,
638
- 40%,
639
- 60%,
640
- 80% {
641
- -webkit-transform: translate3d(10px, 0, 0);
642
- transform: translate3d(10px, 0, 0);
643
- }
644
- }
645
-
646
- .mysticky-welcomebar-attention-shake.animation-start .mysticky-welcomebar-btn a {
647
- -webkit-animation-name: shake;
648
- animation-name: shake;
649
- }
650
-
651
- @-webkit-keyframes swing {
652
- 20% {
653
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
654
- transform: rotate3d(0, 0, 1, 15deg);
655
- }
656
-
657
- 40% {
658
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
659
- transform: rotate3d(0, 0, 1, -10deg);
660
- }
661
-
662
- 60% {
663
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
664
- transform: rotate3d(0, 0, 1, 5deg);
665
- }
666
-
667
- 80% {
668
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
669
- transform: rotate3d(0, 0, 1, -5deg);
670
- }
671
-
672
- to {
673
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
674
- transform: rotate3d(0, 0, 1, 0deg);
675
- }
676
- }
677
-
678
- @keyframes swing {
679
- 20% {
680
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
681
- transform: rotate3d(0, 0, 1, 15deg);
682
- }
683
-
684
- 40% {
685
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
686
- transform: rotate3d(0, 0, 1, -10deg);
687
- }
688
-
689
- 60% {
690
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
691
- transform: rotate3d(0, 0, 1, 5deg);
692
- }
693
-
694
- 80% {
695
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
696
- transform: rotate3d(0, 0, 1, -5deg);
697
- }
698
-
699
- to {
700
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
701
- transform: rotate3d(0, 0, 1, 0deg);
702
- }
703
- }
704
-
705
- .mysticky-welcomebar-attention-swing.animation-start .mysticky-welcomebar-btn a {
706
- -webkit-transform-origin: top center;
707
- transform-origin: top center;
708
- -webkit-animation-name: swing;
709
- animation-name: swing;
710
- }
711
-
712
- @-webkit-keyframes tada {
713
- from {
714
- -webkit-transform: scale3d(1, 1, 1);
715
- transform: scale3d(1, 1, 1);
716
- }
717
-
718
- 10%,
719
- 20% {
720
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
721
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
722
- }
723
-
724
- 30%,
725
- 50%,
726
- 70%,
727
- 90% {
728
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
729
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
730
- }
731
-
732
- 40%,
733
- 60%,
734
- 80% {
735
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
736
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
737
- }
738
-
739
- to {
740
- -webkit-transform: scale3d(1, 1, 1);
741
- transform: scale3d(1, 1, 1);
742
- }
743
- }
744
-
745
- @keyframes tada {
746
- from {
747
- -webkit-transform: scale3d(1, 1, 1);
748
- transform: scale3d(1, 1, 1);
749
- }
750
-
751
- 10%,
752
- 20% {
753
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
754
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
755
- }
756
-
757
- 30%,
758
- 50%,
759
- 70%,
760
- 90% {
761
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
762
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
763
- }
764
-
765
- 40%,
766
- 60%,
767
- 80% {
768
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
769
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
770
- }
771
-
772
- to {
773
- -webkit-transform: scale3d(1, 1, 1);
774
- transform: scale3d(1, 1, 1);
775
- }
776
- }
777
-
778
- .mysticky-welcomebar-attention-tada.animation-start .mysticky-welcomebar-btn a {
779
- -webkit-animation-name: tada;
780
- animation-name: tada;
781
- }
782
-
783
- @-webkit-keyframes heartBeat {
784
- 0% {
785
- -webkit-transform: scale(1);
786
- transform: scale(1);
787
- }
788
-
789
- 14% {
790
- -webkit-transform: scale(1.3);
791
- transform: scale(1.3);
792
- }
793
-
794
- 28% {
795
- -webkit-transform: scale(1);
796
- transform: scale(1);
797
- }
798
-
799
- 42% {
800
- -webkit-transform: scale(1.3);
801
- transform: scale(1.3);
802
- }
803
-
804
- 70% {
805
- -webkit-transform: scale(1);
806
- transform: scale(1);
807
- }
808
- }
809
-
810
- @keyframes heartBeat {
811
- 0% {
812
- -webkit-transform: scale(1);
813
- transform: scale(1);
814
- }
815
-
816
- 14% {
817
- -webkit-transform: scale(1.3);
818
- transform: scale(1.3);
819
- }
820
-
821
- 28% {
822
- -webkit-transform: scale(1);
823
- transform: scale(1);
824
- }
825
-
826
- 42% {
827
- -webkit-transform: scale(1.3);
828
- transform: scale(1.3);
829
- }
830
-
831
- 70% {
832
- -webkit-transform: scale(1);
833
- transform: scale(1);
834
- }
835
- }
836
-
837
- .mysticky-welcomebar-attention-heartbeat.animation-start .mysticky-welcomebar-btn a {
838
- -webkit-animation-name: heartBeat;
839
- animation-name: heartBeat;
840
- -webkit-animation-duration: 1.3s;
841
- animation-duration: 1.3s;
842
- -webkit-animation-timing-function: ease-in-out;
843
- animation-timing-function: ease-in-out;
844
- }
845
-
846
- @-webkit-keyframes wobble {
847
- from {
848
- -webkit-transform: translate3d(0, 0, 0);
849
- transform: translate3d(0, 0, 0);
850
- }
851
-
852
- 15% {
853
- -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
854
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
855
- }
856
-
857
- 30% {
858
- -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
859
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
860
- }
861
-
862
- 45% {
863
- -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
864
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
865
- }
866
-
867
- 60% {
868
- -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
869
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
870
- }
871
-
872
- 75% {
873
- -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
874
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
875
- }
876
-
877
- to {
878
- -webkit-transform: translate3d(0, 0, 0);
879
- transform: translate3d(0, 0, 0);
880
- }
881
- }
882
-
883
- @keyframes wobble {
884
- from {
885
- -webkit-transform: translate3d(0, 0, 0);
886
- transform: translate3d(0, 0, 0);
887
- }
888
-
889
- 15% {
890
- -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
891
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
892
- }
893
-
894
- 30% {
895
- -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
896
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
897
- }
898
-
899
- 45% {
900
- -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
901
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
902
- }
903
-
904
- 60% {
905
- -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
906
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
907
- }
908
-
909
- 75% {
910
- -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
911
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
912
- }
913
-
914
- to {
915
- -webkit-transform: translate3d(0, 0, 0);
916
- transform: translate3d(0, 0, 0);
917
- }
918
- }
919
-
920
- .mysticky-welcomebar-attention-wobble.animation-start .mysticky-welcomebar-btn a {
921
- -webkit-animation-name: wobble;
922
- animation-name: wobble;
923
- }
924
- </style>
925
-
926
- <?php
927
- }
928
-
929
- function mysticky_welcomebar_pro_widget_default_fields() {
930
- return array(
931
- 'mysticky_welcomebar_position' => 'top',
932
- 'mysticky_welcomebar_height' => '60',
933
- 'mysticky_welcomebar_bgcolor' => '#03ed96',
934
- 'mysticky_welcomebar_bgtxtcolor' => '#000000',
935
- 'mysticky_welcomebar_font' => 'Poppins',
936
- 'mysticky_welcomebar_fontsize' => '16',
937
- 'mysticky_welcomebar_bar_text' => 'Get 30% off your first purchase',
938
- 'mysticky_welcomebar_x_desktop' => 'desktop',
939
- 'mysticky_welcomebar_x_mobile' => 'mobile',
940
- 'mysticky_welcomebar_btn_desktop' => 'desktop',
941
- 'mysticky_welcomebar_btn_mobile' => 'mobile',
942
- 'mysticky_welcomebar_btncolor' => '#000000',
943
- 'mysticky_welcomebar_btntxtcolor' => '#ffffff',
944
- 'mysticky_welcomebar_btn_text' => 'Got it!',
945
- 'mysticky_welcomebar_actionselect' => 'close_bar',
946
- 'mysticky_welcomebar_aftersubmission' => 'dont_show_welcomebar',
947
- 'mysticky_welcomebar_redirect' => 'https://www.yourdomain.com',
948
- 'mysticky_welcomebar_redirect_newtab' => '',
949
- 'mysticky_welcomebar_redirect_rel' => '',
950
- 'mysticky_welcomebar_device_desktop' => 'desktop',
951
- 'mysticky_welcomebar_device_mobile' => 'mobile',
952
- 'mysticky_welcomebar_entry_effect' => 'slide-in',
953
- 'mysticky_welcomebar_trigger' => 'after_a_few_seconds',
954
- 'mysticky_welcomebar_triggersec' => '0',
955
- 'mysticky_welcomebar_expirydate' => '',
956
- 'mysticky_welcomebar_page_settings' => '',
957
- );
958
- }
959
-
960
- function mysticky_welcome_bar_frontend(){
961
- $welcomebar = get_option( 'mysticky_option_welcomebar' );
962
-
963
- if ( ( isset($welcomebar['mysticky_welcomebar_expirydate']) && $welcomebar['mysticky_welcomebar_expirydate'] !='' && strtotime( date('m/d/Y')) > strtotime($welcomebar['mysticky_welcomebar_expirydate']) ) || !isset($welcomebar['mysticky_welcomebar_enable'] ) ) {
964
- return;
965
- }
966
- $mysticky_welcomebar_showx_desktop = $mysticky_welcomebar_showx_mobile = '';
967
- $mysticky_welcomebar_btn_desktop = $mysticky_welcomebar_btn_mobile = '';
968
- $mysticky_welcomebar_display_desktop = $mysticky_welcomebar_display_mobile = '';
969
- if( isset($welcomebar['mysticky_welcomebar_x_desktop']) ) {
970
- $mysticky_welcomebar_showx_desktop = ' mysticky-welcomebar-showx-desktop';
971
- }
972
- if( isset($welcomebar['mysticky_welcomebar_x_mobile']) ) {
973
- $mysticky_welcomebar_showx_mobile = ' mysticky-welcomebar-showx-mobile';
974
- }
975
- if( isset($welcomebar['mysticky_welcomebar_btn_desktop']) ) {
976
- $mysticky_welcomebar_btn_desktop = ' mysticky-welcomebar-btn-desktop';
977
- }
978
- if( isset($welcomebar['mysticky_welcomebar_btn_mobile']) ) {
979
- $mysticky_welcomebar_btn_mobile = ' mysticky-welcomebar-btn-mobile';
980
- }
981
- $display = ' mysticky-welcomebar-attention-'.$welcomebar['mysticky_welcomebar_attentionselect'];
982
- $display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
983
- $mysticky_welcomebar_display_desktop = ' mysticky-welcomebar-display-desktop';
984
- $mysticky_welcomebar_display_mobile = ' mysticky-welcomebar-display-mobile';
985
-
986
- $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $mysticky_welcomebar_display_desktop . $mysticky_welcomebar_display_mobile .$display . $display_entry_effect;
987
-
988
- if( isset($welcomebar['mysticky_welcomebar_actionselect']) ) {
989
- if( $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' ) {
990
- $mysticky_welcomebar_actionselect_url = esc_url( $welcomebar['mysticky_welcomebar_redirect'] );
991
- } else {
992
- $mysticky_welcomebar_actionselect_url = 'javascript:void(0)';
993
- }
994
- }
995
- /*if( isset($welcomebar['mysticky_welcomebar_enable']) ) {
996
- if ( $welcomebar['mysticky_welcomebar_position'] == 'top' ) {
997
- $welcomebar_enable_block = "top: -60px";
998
- } else {
999
- $welcomebar_enable_block = "bottom: -60px";
1000
- }
1001
- }*/
1002
-
1003
- ?>
1004
- <div class="mysticky-welcomebar-fixed <?php echo $display_main_class; ?>" style="<?php //echo $welcomebar_enable_block; ?>" data-after-triger="after_a_few_seconds" data-triger-sec="0" data-position="<?php echo esc_attr($welcomebar['mysticky_welcomebar_position']);?>" data-height="<?php echo esc_attr($welcomebar['mysticky_welcomebar_height']);?>" data-rediect="<?php echo esc_attr($welcomebar['mysticky_welcomebar_actionselect']);?>" data-aftersubmission="<?php echo esc_attr($welcomebar['mysticky_welcomebar_aftersubmission']);?>">
1005
- <div class="mysticky-welcomebar-fixed-wrap">
1006
- <div class="mysticky-welcomebar-content">
1007
- <?php echo wpautop( isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase" );?>
1008
- </div>
1009
- <div class="mysticky-welcomebar-btn">
1010
- <a href="<?php echo $mysticky_welcomebar_actionselect_url; ?>" <?php if( isset($welcomebar['mysticky_welcomebar_redirect_newtab']) && $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' && $welcomebar['mysticky_welcomebar_redirect_newtab']== 1):?> target="_blank" <?php endif;?>><?php echo isset($welcomebar['mysticky_welcomebar_btn_text'])?$welcomebar['mysticky_welcomebar_btn_text']:"Got it!";?></a>
1011
- </div>
1012
- <a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
1013
- </div>
1014
- </div>
1015
- <script>
1016
-
1017
- jQuery(document).ready(function($){
1018
- var mysticky_welcomebar_height = jQuery( '.mysticky-welcomebar-fixed' ).outerHeight();
1019
- if( jQuery( '.mysticky-welcomebar-fixed' ).data('position') == 'top' ) {
1020
- jQuery( '.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed' ).css( 'top', '-' + mysticky_welcomebar_height + 'px' );
1021
- } else {
1022
- jQuery( '.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed' ).css( 'bottom', '-' + mysticky_welcomebar_height + 'px' );
1023
- }
1024
- var divi_topbar_height = $( '.et_fixed_nav #top-header' ).outerHeight();
1025
- var divi_total_height = mysticky_welcomebar_height + divi_topbar_height;
1026
- var welcombar_aftersubmission = $( '.mysticky-welcomebar-fixed' ).data('aftersubmission');
1027
- if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1028
- var welcomebar_storage = localStorage.getItem("welcomebar_close");
1029
- } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1030
- var welcomebar_storage = sessionStorage.getItem("welcomebar_close");
1031
- } else {
1032
- sessionStorage.removeItem('welcomebar_close');
1033
- localStorage.removeItem('welcomebar_close');
1034
- var welcomebar_storage = null;
1035
- }
1036
- if ( welcomebar_storage === null ){
1037
-
1038
- var after_trigger = jQuery( '.mysticky-welcomebar-fixed' ).data('after-triger');
1039
-
1040
- jQuery( 'body' ).addClass( 'mysticky-welcomebar-apper' );
1041
-
1042
- if ( after_trigger == 'after_a_few_seconds' ) {
1043
-
1044
- if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-desktop' ) ) {
1045
- if ( $( window ).width() > 767 ) {
1046
- var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1047
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1048
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1049
-
1050
- setTimeout(function(){
1051
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1052
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1053
- if ( welcombar_position == 'top' ) {
1054
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1055
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1056
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1057
- $( 'html' ).css( 'margin-bottom', '' );
1058
- jQuery( '#mysticky_divi_style' ).remove();
1059
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', welcombar_height + 'px' );
1060
- jQuery( 'head' ).append( '<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>' );
1061
- $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1062
- $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1063
- } else {
1064
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1065
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1066
- $( 'html' ).css( 'margin-top', '' );
1067
- jQuery( '#mysticky_divi_style' ).remove();
1068
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1069
- $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1070
- }
1071
- }, trigger_sec );
1072
- }
1073
- }
1074
- }
1075
- if ( $( window ).width() < 767 ) {
1076
- if ( after_trigger == 'after_a_few_seconds' ) {
1077
- if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1078
- var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1079
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1080
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1081
- setTimeout(function(){
1082
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1083
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1084
- jQuery( '#mysticky_divi_style' ).remove();
1085
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1086
- if ( welcombar_position == 'top' ) {
1087
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1088
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1089
- $( 'html' ).css( 'margin-bottom', '' );
1090
- $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1091
- $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1092
- } else {
1093
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1094
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1095
- $( 'html' ).css( 'margin-top', '' );
1096
- $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1097
- }
1098
- }, trigger_sec );
1099
- }
1100
- }
1101
- }
1102
- mystickyelements_present();
1103
- }
1104
- $( window ).resize( function(){
1105
- var mysticky_welcomebar_height = jQuery( '.mysticky-welcomebar-fixed' ).outerHeight();
1106
- if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1107
- var welcomebar_storage = localStorage.getItem("welcomebar_close");
1108
- } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1109
- var welcomebar_storage = sessionStorage.getItem("welcomebar_close");
1110
- } else {
1111
- sessionStorage.removeItem('welcomebar_close');
1112
- localStorage.removeItem('welcomebar_close');
1113
- var welcomebar_storage = null;
1114
- }
1115
- if ( welcomebar_storage === null ){
1116
- var after_trigger = jQuery( '.mysticky-welcomebar-fixed' ).data('after-triger');
1117
- if ( ! $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-notapper' ) ) {
1118
- jQuery( 'body' ).addClass( 'mysticky-welcomebar-apper' );
1119
- } else {
1120
- jQuery( 'body' ).removeClass( 'mysticky-welcomebar-apper' );
1121
- }
1122
- if ( after_trigger == 'after_a_few_seconds' ) {
1123
- var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1124
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1125
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1126
- if ( $( window ).width() < 767 ) {
1127
- if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1128
- setTimeout(function(){
1129
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1130
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1131
- jQuery( '#mysticky_divi_style' ).remove();
1132
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1133
- if ( welcombar_position == 'top' ) {
1134
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1135
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1136
- $( 'html' ).css( 'margin-bottom', '' );
1137
- $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1138
- $( '.mysticky-welcomebar-apper #mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1139
- } else {
1140
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1141
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1142
- $( 'html' ).css( 'margin-top', '' );
1143
- $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1144
- }
1145
- }, trigger_sec );
1146
- }
1147
- } else {
1148
- if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-desktop' ) ) {
1149
- setTimeout(function(){
1150
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1151
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1152
- if ( welcombar_position == 'top' ) {
1153
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1154
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1155
- $( 'html' ).css( 'margin-bottom', '' );
1156
- jQuery( '#mysticky_divi_style' ).remove();
1157
- jQuery( '.mysticky-welcomebar-apper.et_fixed_nav #top-header' ).css( 'top', welcombar_height + 'px' );
1158
- jQuery( 'head' ).append( '<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>' );
1159
- $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1160
- $( '.mysticky-welcomebar-apper #mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1161
- } else {
1162
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1163
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1164
- $( 'html' ).css( 'margin-top', '' );
1165
- jQuery( '#mysticky_divi_style' ).remove();
1166
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1167
- $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1168
- }
1169
- }, trigger_sec );
1170
- }
1171
- }
1172
- }
1173
- mystickyelements_present();
1174
- }
1175
- } );
1176
-
1177
- jQuery(window).scroll(function(){
1178
- if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1179
- var welcomebar_storage = localStorage.getItem("welcomebar_close");
1180
- } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1181
- var welcomebar_storage = sessionStorage.getItem("welcomebar_close");
1182
- } else {
1183
- sessionStorage.removeItem('welcomebar_close');
1184
- localStorage.removeItem('welcomebar_close');
1185
- var welcomebar_storage = null;
1186
- }
1187
- if ( welcomebar_storage === null ){
1188
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1189
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1190
- if ( welcombar_position == 'top' ) {
1191
- $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1192
- }
1193
- if ( after_trigger === 'after_scroll' ) {
1194
- var scroll = 100 * $(window).scrollTop() / ($(document).height() - $(window).height());
1195
- var after_scroll_val = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec');
1196
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1197
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1198
- if( scroll > after_scroll_val ) {
1199
- if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-desktop' ) ) {
1200
- if ( $( window ).width() > 767 ) {
1201
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1202
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1203
- if ( welcombar_position == 'top' ) {
1204
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1205
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1206
- $( 'html' ).css( 'margin-bottom', '' );
1207
- $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1208
- $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1209
- } else {
1210
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1211
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1212
- $( 'html' ).css( 'margin-top', '' );
1213
- $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1214
- }
1215
- }
1216
- }
1217
- if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1218
- if ( $( window ).width() < 767 ) {
1219
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1220
- $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1221
- if ( welcombar_position == 'top' ) {
1222
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1223
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1224
- $( 'html' ).css( 'margin-bottom', '' );
1225
- $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1226
- $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1227
- } else {
1228
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1229
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1230
- $( 'html' ).css( 'margin-top', '' );
1231
- $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1232
- }
1233
- }
1234
- }
1235
- }
1236
- }
1237
- mystickyelements_present();
1238
- }
1239
-
1240
- });
1241
-
1242
- jQuery( '.mysticky-welcomebar-close, .mysticky-welcomebar-btn a' ).on( 'click', function(){
1243
- if( welcombar_aftersubmission != 'show_welcomebar_every_page' ){
1244
- if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1245
- sessionStorage.removeItem('welcomebar_close');
1246
- localStorage.setItem('welcomebar_close', 'close');
1247
- } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1248
- localStorage.removeItem('welcomebar_close');
1249
- sessionStorage.setItem('welcomebar_close', 'close');
1250
- }
1251
- }
1252
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1253
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1254
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-notapper' );
1255
- jQuery( 'body' ).removeClass( 'mysticky-welcomebar-apper' );
1256
- jQuery( '.mysticky-welcomebar-fixed' ).slideUp( 'slow' );
1257
- if ( welcombar_position == 'top' ) {
1258
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '-' + mysticky_welcomebar_height + 'px' );
1259
- } else {
1260
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '-' + mysticky_welcomebar_height + 'px' );
1261
- }
1262
- jQuery( '#mysticky_divi_style' ).remove();
1263
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1264
- jQuery( 'html' ).css( 'margin-top', '' );
1265
- jQuery( 'html' ).css( 'margin-bottom', '' );
1266
- $( '#mysticky-nav' ).css( 'top', '0px' );
1267
- /*if mystickyelements show*/
1268
- var mystickyelements_show = $( '.mystickyelements-fixed' ).length;
1269
- if( mystickyelements_show && $( window ).width() <= 1024 && $( '.mystickyelements-fixed' ).hasClass( 'mystickyelements-position-mobile-top' ) && welcombar_position == 'top' ) {
1270
- var mystickyelements_height = $( '.mystickyelements-fixed' ).height();
1271
- $( '.mystickyelements-fixed' ).css( 'top', '' );
1272
- $( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_height + 'px !important' );
1273
- }
1274
- } );
1275
- });
1276
- function mystickyelements_present() {
1277
- var after_trigger = jQuery( '.mysticky-welcomebar-fixed' ).data('after-triger');
1278
- var mystickyelements_show = jQuery( '.mystickyelements-fixed' ).length;
1279
- if( mystickyelements_show ) {
1280
- var welcombar_position = jQuery( '.mysticky-welcomebar-fixed' ).data('position');
1281
- var welcombar_height = jQuery( '.mysticky-welcomebar-fixed' ).outerHeight();
1282
- var mystickyelements_height = jQuery( '.mystickyelements-fixed' ).height();
1283
- var mystickyelements_total_height = welcombar_height + mystickyelements_height;
1284
- if ( jQuery( window ).width() <= 1024 && jQuery( '.mystickyelements-fixed' ).hasClass( 'mystickyelements-position-mobile-top' ) ) {
1285
- if ( after_trigger == 'after_a_few_seconds' ) {
1286
- if ( jQuery( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1287
- var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1288
- setTimeout(function(){
1289
- if ( welcombar_position == 'top' ) {
1290
- jQuery( '.mystickyelements-fixed' ).css( 'top', welcombar_height );
1291
- jQuery( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_total_height + 'px !important' );
1292
- } else {
1293
- jQuery( '.mystickyelements-fixed' ).css( 'top', '' );
1294
- jQuery( 'html' ).attr( 'style', 'margin-bottom: ' + welcombar_height + 'px !important' );
1295
- }
1296
- }, trigger_sec );
1297
- }
1298
- } else if ( after_trigger === 'after_scroll' ) {
1299
- var scroll = 100 * $(window).scrollTop() / ($(document).height() - $(window).height());
1300
- var after_scroll_val = $( '.mysticky-welcomebar-fixed' ).data('triger-sec');
1301
- if( scroll > after_scroll_val ) {
1302
- if ( jQuery( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1303
- if ( welcombar_position == 'top' ) {
1304
- jQuery( '.mystickyelements-fixed' ).css( 'top', welcombar_height );
1305
- jQuery( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_total_height + 'px !important' );
1306
- } else {
1307
- jQuery( '.mystickyelements-fixed' ).css( 'top', '' );
1308
- jQuery( 'html' ).attr( 'style', 'margin-bottom: ' + welcombar_height + 'px !important' );
1309
- }
1310
- }
1311
- }
1312
- }
1313
- }
1314
- }
1315
- }
1316
- jQuery(".mysticky-welcomebar-fixed").on(
1317
- "animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",
1318
- function() {
1319
- jQuery(this).removeClass("animation-start");
1320
- }
1321
- );
1322
- jQuery(document).ready(function() {
1323
- var container = jQuery(".mysticky-welcomebar-fixed");
1324
- var refreshId = setInterval(function() {
1325
- container.addClass("animation-start");
1326
- }, 3500);
1327
- });
1328
-
1329
- </script>
1330
- <style>
1331
- .mysticky-welcomebar-fixed , .mysticky-welcomebar-fixed * {
1332
- -webkit-box-sizing: border-box;
1333
- -moz-box-sizing: border-box;
1334
- box-sizing: border-box;
1335
- }
1336
- .mysticky-welcomebar-fixed {
1337
- background-color: <?php echo $welcomebar['mysticky_welcomebar_bgcolor'] ?>;
1338
- font-family: <?php echo $welcomebar['mysticky_welcomebar_font'] ?>;
1339
- position: fixed;
1340
- left: 0;
1341
- right: 0;
1342
- z-index: 9999999;
1343
- opacity: 0;
1344
- }
1345
- .mysticky-welcomebar-fixed-wrap {
1346
- min-height: 60px;
1347
- padding: 20px 50px;
1348
- display: flex;
1349
- align-items: center;
1350
- justify-content: center;
1351
- width: 100%;
1352
- height: 100%;
1353
- }
1354
- .mysticky-welcomebar-animation {
1355
- -webkit-transition: all 1s ease 0s;
1356
- -moz-transition: all 1s ease 0s;
1357
- transition: all 1s ease 0s;
1358
- }
1359
- .mysticky-welcomebar-position-top {
1360
- top:0;
1361
- }
1362
- .mysticky-welcomebar-position-bottom {
1363
- bottom:0;
1364
- }
1365
- .mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in {
1366
- top: -60px;
1367
- }
1368
- .mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in {
1369
- bottom: -60px;
1370
- }
1371
- .mysticky-welcomebar-entry-effect-fade {
1372
- opacity: 0;
1373
- }
1374
- .mysticky-welcomebar-entry-effect-none {
1375
- display: none;
1376
- }
1377
- .mysticky-welcomebar-fixed .mysticky-welcomebar-content p a,
1378
- .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
1379
- color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
1380
- font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
1381
- margin: 0;
1382
- padding: 0;
1383
- line-height: 1.2;
1384
- font-family: inherit;
1385
- font-weight: 400;
1386
- }
1387
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1388
- padding-left: 30px;
1389
- display: none;
1390
- line-height: 1;
1391
- }
1392
- .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
1393
- display: block;
1394
- }
1395
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
1396
- background-color: <?php echo $welcomebar['mysticky_welcomebar_btncolor'] ?>;
1397
- font-family: inherit;
1398
- color: <?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'] ?>;
1399
- border-radius: 4px;
1400
- text-decoration: none;
1401
- display: inline-block;
1402
- vertical-align: top;
1403
- line-height: 1.2;
1404
- font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
1405
- font-weight: 400;
1406
- padding: 5px 20px;
1407
- white-space: nowrap;
1408
- }
1409
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
1410
- /*opacity: 0.7;*/
1411
- -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
1412
- -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
1413
- box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
1414
- }
1415
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1416
- display: none;
1417
- vertical-align: top;
1418
- width: 30px;
1419
- height: 30px;
1420
- text-align: center;
1421
- line-height: 30px;
1422
- border-radius: 5px;
1423
- color: #000;
1424
- position: absolute;
1425
- top: 5px;
1426
- right: 10px;
1427
- outline: none;
1428
- font-family: Lato;
1429
- text-decoration: none;
1430
- text-shadow: 0 0 0px #fff;
1431
- -webkit-transition: all 0.5s ease 0s;
1432
- -moz-transition: all 0.5s ease 0s;
1433
- transition: all 0.5s ease 0s;
1434
- -webkit-transform-origin: 50% 50%;
1435
- -moz-transform-origin: 50% 50%;
1436
- transform-origin: 50% 50%;
1437
- }
1438
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close:hover {
1439
- opacity: 1;
1440
- -webkit-transform: rotate(180deg);
1441
- -moz-transform: rotate(180deg);
1442
- transform: rotate(180deg);
1443
- }
1444
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close span.dashicons {
1445
- font-size: 27px;
1446
- }
1447
- .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
1448
- display: inline-block;
1449
- }
1450
-
1451
- /* Animated Buttons */
1452
- .mysticky-welcomebar-btn a {
1453
- -webkit-animation-duration: 1s;
1454
- animation-duration: 1s;
1455
- }
1456
- @-webkit-keyframes flash {
1457
- from,
1458
- 50%,
1459
- to {
1460
- opacity: 1;
1461
- }
1462
-
1463
- 25%,
1464
- 75% {
1465
- opacity: 0;
1466
- }
1467
- }
1468
- @keyframes flash {
1469
- from,
1470
- 50%,
1471
- to {
1472
- opacity: 1;
1473
- }
1474
-
1475
- 25%,
1476
- 75% {
1477
- opacity: 0;
1478
- }
1479
- }
1480
- .mysticky-welcomebar-attention-flash.animation-start .mysticky-welcomebar-btn a {
1481
- -webkit-animation-name: flash;
1482
- animation-name: flash;
1483
- }
1484
-
1485
- @keyframes shake {
1486
- from,
1487
- to {
1488
- -webkit-transform: translate3d(0, 0, 0);
1489
- transform: translate3d(0, 0, 0);
1490
- }
1491
-
1492
- 10%,
1493
- 30%,
1494
- 50%,
1495
- 70%,
1496
- 90% {
1497
- -webkit-transform: translate3d(-10px, 0, 0);
1498
- transform: translate3d(-10px, 0, 0);
1499
- }
1500
-
1501
- 20%,
1502
- 40%,
1503
- 60%,
1504
- 80% {
1505
- -webkit-transform: translate3d(10px, 0, 0);
1506
- transform: translate3d(10px, 0, 0);
1507
- }
1508
- }
1509
-
1510
- .mysticky-welcomebar-attention-shake.animation-start .mysticky-welcomebar-btn a {
1511
- -webkit-animation-name: shake;
1512
- animation-name: shake;
1513
- }
1514
-
1515
- @-webkit-keyframes swing {
1516
- 20% {
1517
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
1518
- transform: rotate3d(0, 0, 1, 15deg);
1519
- }
1520
-
1521
- 40% {
1522
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
1523
- transform: rotate3d(0, 0, 1, -10deg);
1524
- }
1525
-
1526
- 60% {
1527
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
1528
- transform: rotate3d(0, 0, 1, 5deg);
1529
- }
1530
-
1531
- 80% {
1532
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
1533
- transform: rotate3d(0, 0, 1, -5deg);
1534
- }
1535
-
1536
- to {
1537
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
1538
- transform: rotate3d(0, 0, 1, 0deg);
1539
- }
1540
- }
1541
-
1542
- @keyframes swing {
1543
- 20% {
1544
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
1545
- transform: rotate3d(0, 0, 1, 15deg);
1546
- }
1547
-
1548
- 40% {
1549
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
1550
- transform: rotate3d(0, 0, 1, -10deg);
1551
- }
1552
-
1553
- 60% {
1554
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
1555
- transform: rotate3d(0, 0, 1, 5deg);
1556
- }
1557
-
1558
- 80% {
1559
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
1560
- transform: rotate3d(0, 0, 1, -5deg);
1561
- }
1562
-
1563
- to {
1564
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
1565
- transform: rotate3d(0, 0, 1, 0deg);
1566
- }
1567
- }
1568
-
1569
- .mysticky-welcomebar-attention-swing.animation-start .mysticky-welcomebar-btn a {
1570
- -webkit-transform-origin: top center;
1571
- transform-origin: top center;
1572
- -webkit-animation-name: swing;
1573
- animation-name: swing;
1574
- }
1575
-
1576
- @-webkit-keyframes tada {
1577
- from {
1578
- -webkit-transform: scale3d(1, 1, 1);
1579
- transform: scale3d(1, 1, 1);
1580
- }
1581
-
1582
- 10%,
1583
- 20% {
1584
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1585
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1586
- }
1587
-
1588
- 30%,
1589
- 50%,
1590
- 70%,
1591
- 90% {
1592
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1593
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1594
- }
1595
-
1596
- 40%,
1597
- 60%,
1598
- 80% {
1599
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1600
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1601
- }
1602
-
1603
- to {
1604
- -webkit-transform: scale3d(1, 1, 1);
1605
- transform: scale3d(1, 1, 1);
1606
- }
1607
- }
1608
-
1609
- @keyframes tada {
1610
- from {
1611
- -webkit-transform: scale3d(1, 1, 1);
1612
- transform: scale3d(1, 1, 1);
1613
- }
1614
-
1615
- 10%,
1616
- 20% {
1617
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1618
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1619
- }
1620
-
1621
- 30%,
1622
- 50%,
1623
- 70%,
1624
- 90% {
1625
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1626
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1627
- }
1628
-
1629
- 40%,
1630
- 60%,
1631
- 80% {
1632
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1633
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1634
- }
1635
-
1636
- to {
1637
- -webkit-transform: scale3d(1, 1, 1);
1638
- transform: scale3d(1, 1, 1);
1639
- }
1640
- }
1641
-
1642
- .mysticky-welcomebar-attention-tada.animation-start .mysticky-welcomebar-btn a {
1643
- -webkit-animation-name: tada;
1644
- animation-name: tada;
1645
- }
1646
-
1647
- @-webkit-keyframes heartBeat {
1648
- 0% {
1649
- -webkit-transform: scale(1);
1650
- transform: scale(1);
1651
- }
1652
-
1653
- 14% {
1654
- -webkit-transform: scale(1.3);
1655
- transform: scale(1.3);
1656
- }
1657
-
1658
- 28% {
1659
- -webkit-transform: scale(1);
1660
- transform: scale(1);
1661
- }
1662
-
1663
- 42% {
1664
- -webkit-transform: scale(1.3);
1665
- transform: scale(1.3);
1666
- }
1667
-
1668
- 70% {
1669
- -webkit-transform: scale(1);
1670
- transform: scale(1);
1671
- }
1672
- }
1673
-
1674
- @keyframes heartBeat {
1675
- 0% {
1676
- -webkit-transform: scale(1);
1677
- transform: scale(1);
1678
- }
1679
-
1680
- 14% {
1681
- -webkit-transform: scale(1.3);
1682
- transform: scale(1.3);
1683
- }
1684
-
1685
- 28% {
1686
- -webkit-transform: scale(1);
1687
- transform: scale(1);
1688
- }
1689
-
1690
- 42% {
1691
- -webkit-transform: scale(1.3);
1692
- transform: scale(1.3);
1693
- }
1694
-
1695
- 70% {
1696
- -webkit-transform: scale(1);
1697
- transform: scale(1);
1698
- }
1699
- }
1700
-
1701
- .mysticky-welcomebar-attention-heartbeat.animation-start .mysticky-welcomebar-btn a {
1702
- -webkit-animation-name: heartBeat;
1703
- animation-name: heartBeat;
1704
- -webkit-animation-duration: 1.3s;
1705
- animation-duration: 1.3s;
1706
- -webkit-animation-timing-function: ease-in-out;
1707
- animation-timing-function: ease-in-out;
1708
- }
1709
-
1710
- @-webkit-keyframes wobble {
1711
- from {
1712
- -webkit-transform: translate3d(0, 0, 0);
1713
- transform: translate3d(0, 0, 0);
1714
- }
1715
-
1716
- 15% {
1717
- -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1718
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1719
- }
1720
-
1721
- 30% {
1722
- -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1723
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1724
- }
1725
-
1726
- 45% {
1727
- -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1728
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1729
- }
1730
-
1731
- 60% {
1732
- -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1733
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1734
- }
1735
-
1736
- 75% {
1737
- -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1738
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1739
- }
1740
-
1741
- to {
1742
- -webkit-transform: translate3d(0, 0, 0);
1743
- transform: translate3d(0, 0, 0);
1744
- }
1745
- }
1746
-
1747
- @keyframes wobble {
1748
- from {
1749
- -webkit-transform: translate3d(0, 0, 0);
1750
- transform: translate3d(0, 0, 0);
1751
- }
1752
-
1753
- 15% {
1754
- -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1755
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1756
- }
1757
-
1758
- 30% {
1759
- -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1760
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1761
- }
1762
-
1763
- 45% {
1764
- -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1765
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1766
- }
1767
-
1768
- 60% {
1769
- -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1770
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1771
- }
1772
-
1773
- 75% {
1774
- -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1775
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1776
- }
1777
-
1778
- to {
1779
- -webkit-transform: translate3d(0, 0, 0);
1780
- transform: translate3d(0, 0, 0);
1781
- }
1782
- }
1783
-
1784
- .mysticky-welcomebar-attention-wobble.animation-start .mysticky-welcomebar-btn a {
1785
- -webkit-animation-name: wobble;
1786
- animation-name: wobble;
1787
- }
1788
- @media only screen and (min-width: 768px) {
1789
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-fade.entry-effect {
1790
- opacity: 1;
1791
- }
1792
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-none.entry-effect {
1793
- display: block;
1794
- }
1795
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-top.mysticky-welcomebar-fixed ,
1796
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1797
- top: 0;
1798
- }
1799
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-bottom.mysticky-welcomebar-fixed ,
1800
- .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1801
- bottom: 0;
1802
- }
1803
- }
1804
- @media only screen and (max-width: 767px) {
1805
- .mysticky-welcomebar-display-mobile.mysticky-welcomebar-entry-effect-fade.entry-effect {
1806
- opacity: 1;
1807
- }
1808
- .mysticky-welcomebar-display-mobile.mysticky-welcomebar-entry-effect-none.entry-effect {
1809
- display: block;
1810
- }
1811
- .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-top.mysticky-welcomebar-fixed ,
1812
- .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1813
- top: 0;
1814
- }
1815
- .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-bottom.mysticky-welcomebar-fixed ,
1816
- .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1817
- bottom: 0;
1818
- }
1819
- .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
1820
- display: none;
1821
- }
1822
- .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-mobile .mysticky-welcomebar-close {
1823
- display: inline-block;
1824
- }
1825
- .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
1826
- display: none;
1827
- }
1828
- .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-mobile .mysticky-welcomebar-btn {
1829
- display: block;
1830
- }
1831
- }
1832
- @media only screen and (max-width: 480px) {
1833
- .mysticky-welcomebar-fixed-wrap {
1834
- padding: 15px 36px 35px 10px;
1835
- }
1836
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1837
- padding-left: 10px;
1838
- }
1839
- .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1840
- right: 7px;
1841
- }
1842
- }
1843
- </style>
1844
- <?php
1845
- }
1846
  add_action( 'wp_footer', 'mysticky_welcome_bar_frontend' );
1
+ <?php
2
+
3
+ function mysticky_welcome_bar_backend() {
4
+ $upgarde_url = admin_url("admin.php?page=my-stickymenu-upgrade");
5
+ $nonce = wp_create_nonce('mysticky_option_welcomebar_update');
6
+ $nonce_reset = wp_create_nonce('mysticky_option_welcomebar_reset');
7
+
8
+ $welcomebar = get_option( 'mysticky_option_welcomebar' );
9
+ if ( $welcomebar == '' || empty($welcomebar)) {
10
+ $welcomebar = mysticky_welcomebar_pro_widget_default_fields();
11
+ }
12
+ $mysticky_welcomebar_showx_desktop = $mysticky_welcomebar_showx_mobile = '';
13
+ $mysticky_welcomebar_btn_desktop = $mysticky_welcomebar_btn_mobile = '';
14
+ $mysticky_welcomebar_display_desktop = $mysticky_welcomebar_display_mobile = '';
15
+ if( isset($welcomebar['mysticky_welcomebar_x_desktop']) ) {
16
+ $mysticky_welcomebar_showx_desktop = ' mysticky-welcomebar-showx-desktop';
17
+ }
18
+ if( isset($welcomebar['mysticky_welcomebar_x_mobile']) ) {
19
+ $mysticky_welcomebar_showx_mobile = ' mysticky-welcomebar-showx-mobile';
20
+ }
21
+ if( isset($welcomebar['mysticky_welcomebar_btn_desktop']) ) {
22
+ $mysticky_welcomebar_btn_desktop = ' mysticky-welcomebar-btn-desktop';
23
+ }
24
+ if( isset($welcomebar['mysticky_welcomebar_btn_mobile']) ) {
25
+ $mysticky_welcomebar_btn_mobile = ' mysticky-welcomebar-btn-mobile';
26
+ }
27
+
28
+ if( !isset($welcomebar['mysticky_welcomebar_redirect_rel']) ) {
29
+ $welcomebar['mysticky_welcomebar_redirect_rel'] = '';
30
+ }
31
+ $display = ' mysticky-welcomebar-attention-'.$welcomebar['mysticky_welcomebar_attentionselect'];
32
+ $display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
33
+ $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $display . $display_entry_effect;
34
+ ?>
35
+ <form class="mysticky-welcomebar-form" id="mysticky_welcomebar_form" method="post" action="#">
36
+ <div class="mysticky-welcomebar-header-title">
37
+ <h3><?php _e('Welcome Bar', 'myStickymenu'); ?></h3>
38
+ <label for="mysticky-welcomebar-contact-form-enabled" class="mysticky-welcomebar-switch">
39
+ <input type="checkbox" id="mysticky-welcomebar-contact-form-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable]" value="1" <?php checked( @$welcomebar['mysticky_welcomebar_enable'], '1' );?> />
40
+ <span class="slider"></span>
41
+ </label>
42
+ </div>
43
+ <div class="mysticky-welcomebar-setting-wrap">
44
+ <div class="mysticky-welcomebar-setting-left">
45
+ <div class="mysticky-welcomebar-setting-block">
46
+ <div class="mysticky-welcomebar-subheader-title">
47
+ <h4><?php _e('Design', 'myStickymenu'); ?></h4>
48
+ </div>
49
+ <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-setting-position">
50
+ <label><?php _e('Position', 'myStickymenu'); ?></label>
51
+ <div class="mysticky-welcomebar-setting-content-right">
52
+ <label>
53
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_position]" value= "top" type="radio" <?php checked( @$welcomebar['mysticky_welcomebar_position'], 'top' );?> />
54
+ <?php _e("Top", 'mystickymenu'); ?>
55
+ </label>
56
+ <label>
57
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_position]" value="bottom" type="radio" disabled />
58
+ <?php _e("Bottom", 'mystickymenu'); ?>
59
+ </label>
60
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
61
+ </div>
62
+ </div>
63
+ <div class="mysticky-welcomebar-setting-content">
64
+ <label><?php _e('Height', 'myStickymenu'); ?></label>
65
+ <div class="mysticky-welcomebar-setting-content-right">
66
+ <div class="px-wrap">
67
+ <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_height" name="mysticky_option_welcomebar[mysticky_welcomebar_height]" value="60" disabled />
68
+ <span class="input-px">PX</span>
69
+ </div>
70
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
71
+ </div>
72
+ </div>
73
+ <div class="mysticky-welcomebar-setting-content">
74
+ <label><?php _e('Background Color', 'myStickymenu'); ?></label>
75
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
76
+ <input type="text" id="mysticky_welcomebar_bgcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_bgcolor'];?>" />
77
+ </div>
78
+ </div>
79
+ <div class="mysticky-welcomebar-setting-content">
80
+ <label><?php _e('Background Text Color', 'myStickymenu'); ?></label>
81
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker">
82
+ <input type="text" id="mysticky_welcomebar_bgtxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_bgtxtcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'];?>" />
83
+ </div>
84
+ </div>
85
+ <div class="mysticky-welcomebar-setting-content">
86
+ <label><?php _e('Font', 'myStickymenu'); ?></label>
87
+ <div class="mysticky-welcomebar-setting-content-right">
88
+ <select name="mysticky_option_welcomebar[mysticky_welcomebar_font]" class="form-fonts">
89
+ <option value=""><?php _e( 'Select font family', 'myStickymenu' );?></option>
90
+ <?php $group= ''; foreach( myStickymenu_fonts() as $key=>$value):
91
+ if ($value != $group){
92
+ echo '<optgroup label="' . $value . '">';
93
+ $group = $value;
94
+ }
95
+ ?>
96
+ <option value="<?php echo esc_attr($key);?>" <?php selected( @$welcomebar['mysticky_welcomebar_font'], $key ); ?>><?php echo esc_html($key);?></option>
97
+ <?php endforeach;?>
98
+ </select>
99
+ </div>
100
+ </div>
101
+ <div class="mysticky-welcomebar-setting-content">
102
+ <label><?php _e('Font Size', 'myStickymenu'); ?></label>
103
+ <div class="mysticky-welcomebar-setting-content-right">
104
+ <div class="px-wrap">
105
+ <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_fontsize" name="mysticky_option_welcomebar[mysticky_welcomebar_fontsize]" value="<?php echo @$welcomebar['mysticky_welcomebar_fontsize'];?>" />
106
+ <span class="input-px">PX</span>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ <div class="mysticky-welcomebar-setting-content">
111
+ <label><?php _e('Bar Text', 'myStickymenu'); ?></label>
112
+ <div class="mysticky-welcomebar-setting-content-right">
113
+ <?php
114
+ $settings = array(
115
+ 'media_buttons' => false,
116
+ 'textarea_name' => 'mysticky_option_welcomebar[mysticky_welcomebar_bar_text]',
117
+ 'tinymce' => false,
118
+ 'quicktags' => array(
119
+ 'buttons' => 'strong,em,link'
120
+ )
121
+ );
122
+ wp_editor( stripslashes($welcomebar['mysticky_welcomebar_bar_text']), 'mysticky_bar_text', $settings );
123
+ // add more buttons to the html editor
124
+ function underline_tag_add_quicktags() {
125
+ if ( wp_script_is('quicktags') ){ ?>
126
+ <script type="text/javascript">
127
+ QTags.addButton( 'underline_tag', 'U', '<u>', '</u>', 'underline', 'underline', 20, '' );
128
+ </script>
129
+ <?php
130
+ }
131
+ }
132
+ add_action( 'admin_print_footer_scripts', 'underline_tag_add_quicktags' );
133
+ ?>
134
+ <!--<textarea id="mysticky_bar_text" class="mystickyinput" name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]" rows="4" style="display: none;"><?php echo stripslashes($welcomebar['mysticky_welcomebar_bar_text']);?> </textarea>-->
135
+ </div>
136
+ </div>
137
+ <div class="mysticky-welcomebar-setting-content">
138
+ <label><?php _e('Show X', 'myStickymenu'); ?></label>
139
+ <div class="mysticky-welcomebar-setting-content-right">
140
+ <label>
141
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_x_desktop]" value= "desktop" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_x_desktop'], 'desktop' );?> />
142
+ <?php _e( 'Desktop', 'mystickymenu' );?>
143
+ </label>
144
+ <label>
145
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_x_mobile]" value= "mobile" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_x_mobile'], 'mobile' );?> />
146
+ <?php _e( 'Mobile', 'mystickymenu' );?>
147
+ </label>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ <div class="mysticky-welcomebar-setting-block">
152
+ <div class="mysticky-welcomebar-subheader-title">
153
+ <h4><?php _e('Button', 'myStickymenu'); ?></h4>
154
+ </div>
155
+ <div class="mysticky-welcomebar-setting-content">
156
+ <label><?php _e('Button', 'myStickymenu'); ?></label>
157
+ <div class="mysticky-welcomebar-setting-content-right">
158
+ <label>
159
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_btn_desktop]" value= "desktop" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_btn_desktop'], 'desktop' );?> />
160
+ <?php _e( 'Desktop', 'mystickymenu' );?>
161
+ </label>
162
+ <label>
163
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_btn_mobile]" value= "mobile" type="checkbox"<?php checked( @$welcomebar['mysticky_welcomebar_btn_mobile'], 'mobile' );?> />
164
+ <?php _e( 'Mobile', 'mystickymenu' );?>
165
+ </label>
166
+ </div>
167
+ </div>
168
+ <div class="mysticky-welcomebar-setting-content">
169
+ <label><?php _e('Button Color', 'myStickymenu'); ?></label>
170
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker mysticky_welcomebar_btn_color">
171
+ <input type="text" id="mysticky_welcomebar_btncolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btncolor]" class="my-color-field" data-alpha="true" value="<?php echo esc_attr($welcomebar['mysticky_welcomebar_btncolor']);?>" />
172
+ </div>
173
+ </div>
174
+ <div class="mysticky-welcomebar-setting-content">
175
+ <label><?php _e('Button Text Color', 'myStickymenu'); ?></label>
176
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-colorpicker mysticky_welcomebar_btn_color">
177
+ <input type="text" id="mysticky_welcomebar_btntxtcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_btntxtcolor]" class="my-color-field" data-alpha="true" value="<?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'];?>" />
178
+ </div>
179
+ </div>
180
+ <div class="mysticky-welcomebar-setting-content">
181
+ <label><?php _e('Button Text', 'myStickymenu'); ?></label>
182
+ <div class="mysticky-welcomebar-setting-content-right">
183
+ <input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo $welcomebar['mysticky_welcomebar_btn_text'];?>" />
184
+ </div>
185
+ </div>
186
+ <!-- -->
187
+ <div class="mysticky-welcomebar-setting-content">
188
+ <label><?php _e('Attention Effect', 'myStickymenu'); ?></label>
189
+ <div class="mysticky-welcomebar-setting-content-right">
190
+ <div class="mysticky-welcomebar-setting-attention">
191
+ <select name="mysticky_option_welcomebar[mysticky_welcomebar_attentionselect]" class="mysticky-welcomebar-attention mysticky_welcomebar_disable">
192
+ <option value="default" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], ' ' ); ?>><?php _e( 'None', 'myStickymenu' );?></option>
193
+ <option value="flash" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'flash' ); ?>><?php _e( 'Flash', 'myStickymenu' );?></option>
194
+ <option value="shake" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'shake' ); ?>><?php _e( 'Shake', 'myStickymenu' );?></option>
195
+ <option value="swing" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'swing' ); ?>><?php _e( 'Swing', 'myStickymenu' );?></option>
196
+ <option value="tada" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'tada' ); ?>><?php _e( 'Tada', 'myStickymenu' );?></option>
197
+ <option value="heartbeat" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'heartbeat' ); ?>><?php _e( 'Heartbeat', 'myStickymenu' );?></option>
198
+ <option value="wobble" <?php selected( @$welcomebar['mysticky_welcomebar_attentionselect'], 'wobble' ); ?>><?php _e( 'Wobble', 'myStickymenu' );?></option>
199
+ </select>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ <!-- -->
204
+ <div class="mysticky-welcomebar-setting-content">
205
+ <label><?php _e('Button Submission', 'myStickymenu'); ?></label>
206
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-redirect-wrap">
207
+ <div class="mysticky-welcomebar-setting-action">
208
+ <select name="mysticky_option_welcomebar[mysticky_welcomebar_actionselect]" class="mysticky-welcomebar-action mysticky_welcomebar_disable">
209
+ <option value="redirect_to_url" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'redirect_to_url' ); ?>><?php _e( 'Redirect to URL', 'myStickymenu' );?></option>
210
+ <option value="close_bar" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'close_bar' ); ?>><?php _e( 'Close bar', 'myStickymenu' );?></option>
211
+ <option value="thankyou_screen" data-href="<?php echo esc_url($upgarde_url); ?>"><?php _e( 'Thank you screen (Upgrade Now)', 'myStickymenu' );?></option>
212
+ </select>
213
+ </div>
214
+
215
+ </div>
216
+ </div>
217
+
218
+ <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?>>
219
+ <label><?php _e('Redirection link', 'myStickymenu'); ?></label>
220
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-action mysticky-welcomebar-redirect" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?> >
221
+ <input type="text" id="mysticky_welcomebar_redirect" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect]" value="<?php echo esc_url($welcomebar['mysticky_welcomebar_redirect']);?>" placeholder="<?php echo esc_url("https://www.yourdomain.com"); ?>" />
222
+ </div>
223
+ </div>
224
+ <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?>>
225
+ <label><?php _e( 'Open in a new tab', 'mystickymenu' );?></label>
226
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-newtab mysticky-welcomebar-redirect" >
227
+ <label class="mysticky-welcomebar-switch">
228
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_redirect_newtab]" value= "1" type="checkbox" disabled />
229
+ <span class="slider"></span>
230
+ </label>
231
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
232
+ </div>
233
+ </div>
234
+ <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?>>
235
+ <label><?php _e('rel Attribute', 'myStickymenu'); ?>
236
+ <span class="mysticky-custom-fields-tooltip">
237
+ <a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a>
238
+ <p>Add a "rel" attribute to the button link. You can use it to add a rel="nofollow", "sponsored", or any other "rel" attribute option</p>
239
+ </span>
240
+ </label>
241
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-newtab mysticky-welcomebar-redirect" >
242
+ <input type="text" id="mysticky_welcomebar_redirect_rel" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect_rel]" value="" placeholder="" disabled />
243
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
244
+ </div>
245
+ </div>
246
+ <!-- -->
247
+ <div class="mysticky-welcomebar-setting-content">
248
+ <label><?php _e('After Submission', 'myStickymenu'); ?></label>
249
+ <div class="mysticky-welcomebar-setting-content-right">
250
+ <div class="mysticky-welcomebar-setting-action">
251
+ <select name="mysticky_option_welcomebar[mysticky_welcomebar_aftersubmission]" class="mysticky-welcomebar-aftersubmission mysticky_welcomebar_disable">
252
+ <option value="dont_show_welcomebar" <?php selected( @$welcomebar['mysticky_welcomebar_aftersubmission'], 'dont_show_welcomebar' ); ?>><?php _e( "Don't show the Welcome Bar", 'myStickymenu' );?></option>
253
+ <option value="show_welcomebar_next_visit" <?php selected( @$welcomebar['mysticky_welcomebar_aftersubmission'], 'show_welcomebar_next_visit' ); ?>><?php _e( 'Show the Welcome Bar in the next visit', 'myStickymenu' );?></option>
254
+ <option value="show_welcomebar_every_page" <?php selected( @$welcomebar['mysticky_welcomebar_aftersubmission'], 'show_welcomebar_every_page' ); ?> ><?php _e( 'Show the Welcome Bar on every page', 'myStickymenu' );?></option>
255
+ </select>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ <!-- -->
260
+ <div class="mysticky-welcomebar-setting-content">
261
+ <label><?php _e('Close welcome bar Automatically', 'myStickymenu'); ?></label>
262
+ <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-close-automatically-sec">
263
+ <label for="mysticky-welcomebar-close-automatically-enabled" class="mysticky-welcomebar-switch">
264
+ <input type="checkbox" id="mysticky-welcomebar-close-automatically-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable_automatical]" value="1" disabled />
265
+ <span class="slider"></span>
266
+ </label>
267
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
268
+ <div class="mysticky-welcomebar-setting-action" style="display:none;">
269
+ <div class="px-wrap">
270
+ <span><?php _e('Close welcome bar after ', 'myStickymenu'); ?></span>
271
+ <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_triggersec_automatically" name="mysticky_option_welcomebar[mysticky_welcomebar_triggersec_automatically]" value="0">
272
+ <span class="input-px"><?php _e('Sec', 'myStickymenu'); ?></span>
273
+ </div>
274
+ </div>
275
+ </div>
276
+ </div>
277
+ </div>
278
+ <div class="mysticky-welcomebar-setting-block">
279
+ <div class="mysticky-welcomebar-subheader-title">
280
+ <h4><?php _e('Display Rules', 'myStickymenu'); ?></h4>
281
+ </div>
282
+ <div class="mysticky-welcomebar-setting-content">
283
+ <label><?php _e('Entry effect', 'myStickymenu'); ?></label>
284
+ <div class="mysticky-welcomebar-setting-content-right">
285
+ <?php $welcomebar['mysticky_welcomebar_entry_effect'] = (isset($welcomebar['mysticky_welcomebar_entry_effect']) && $welcomebar['mysticky_welcomebar_entry_effect']!= '') ? $welcomebar['mysticky_welcomebar_entry_effect'] : 'slide-in'; ?>
286
+ <select id="myStickymenu-entry-effect" name="mysticky_option_welcomebar[mysticky_welcomebar_entry_effect]" >
287
+ <option value="none" <?php selected( @$welcomebar['mysticky_welcomebar_entry_effect'], 'none' ); ?>><?php _e( 'No effect', 'myStickymenu' );?></option>
288
+ <option value="slide-in" <?php selected( @$welcomebar['mysticky_welcomebar_entry_effect'], 'slide-in' ); ?>><?php _e( 'Slide in', 'myStickymenu' );?></option>
289
+ <option value="fade" <?php selected( @$welcomebar['mysticky_welcomebar_entry_effect'], 'fade' ); ?>><?php _e( 'Fade', 'myStickymenu' );?></option>
290
+ </select>
291
+ </div>
292
+ </div>
293
+ <div class="mysticky-welcomebar-upgrade-main mysticky_device_upgrade">
294
+ <span class="myStickymenu-upgrade">
295
+ <a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( ' Upgrade Now', 'mystickymenu' );?></a>
296
+ </span>
297
+ <div class="mysticky-welcomebar-setting-content">
298
+ <label><?php _e('Devices', 'myStickymenu'); ?></label>
299
+ <div class="mysticky-welcomebar-setting-content-right">
300
+ <label>
301
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_device_desktop]" value= "desktop" type="checkbox" checked disabled />
302
+ <?php _e( 'Desktop', 'mystickymenu' );?>
303
+ </label>
304
+ <label>
305
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_device_mobile]" value= "mobile" type="checkbox" checked disabled />
306
+ <?php _e( 'Mobile', 'mystickymenu' );?>
307
+ </label>
308
+ </div>
309
+ </div>
310
+ <div class="mysticky-welcomebar-setting-content">
311
+ <label><?php _e('Trigger', 'myStickymenu'); ?></label>
312
+ <div class="mysticky-welcomebar-setting-content-right">
313
+ <div class="mysticky-welcomebar-setting-action mysticky-welcomebar-trigger-wrap">
314
+ <label>
315
+ <input type="radio" name="mysticky_option_welcomebar[mysticky_welcomebar_trigger]" value="after_a_few_seconds" checked disabled />&nbsp;<?php _e( 'After a few seconds', 'myStickymenu' );?>
316
+ </label>
317
+ <label>
318
+ <input type="radio" name="mysticky_option_welcomebar[mysticky_welcomebar_trigger]" value="after_scroll" disabled />&nbsp;<?php _e( 'After Scroll', 'myStickymenu' );?>
319
+ </label>
320
+ </div>
321
+ <div class="mysticky-welcomebar-setting-action mysticky-welcomebar-triggersec">
322
+ <div class="px-wrap">
323
+ <input type="number" class="" min="0" step="1" id="mysticky_welcomebar_triggersec" name="mysticky_option_welcomebar[mysticky_welcomebar_triggersec]" value="0" disabled />
324
+ <span class="input-px"><?php echo ( isset($welcomebar['mysticky_welcomebar_trigger']) && $welcomebar['mysticky_welcomebar_trigger'] == 'after_scroll' ) ? '%' : 'Sec'; ?></span>
325
+ </div>
326
+ </div>
327
+ </div>
328
+ </div>
329
+ <div class="mysticky-welcomebar-setting-content">
330
+ <label><?php _e('Expiry date', 'myStickymenu'); ?></label>
331
+ <div class="mysticky-welcomebar-setting-content-right">
332
+ <div class="mysticky-welcomebar-expirydate">
333
+ <input type="text" id="mysticky_welcomebar_expirydate" name="mysticky_option_welcomebar[mysticky_welcomebar_expirydate]" placeholder="<?php _e('No expiry date', 'myStickymenu'); ?>" value="" disabled />
334
+ <span class="dashicons dashicons-calendar-alt"></span>
335
+ </div>
336
+ <div class="mysticky-welcomebar-expirydate-gmt">
337
+ <select name="mysticky_option_welcomebar[mysticky_welcomebar_expirydate_gmt]" id="mysticky_welcomebar_expirydate_gmt" disabled>
338
+ <?php for( $i=12; $i>=-12;$i-- ) { ?>
339
+ <option value="<?php echo $i ?>"><?php echo "GMT " . ( $i>0 ? "+" : "" ).( $i ) ?></option>
340
+ <?php } ?>
341
+ </select>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ <div class="mysticky-welcomebar-setting-content show-on-apper">
346
+ <label><?php _e('Page targeting', 'myStickymenu'); ?></label>
347
+ <div class="mysticky-welcomebar-setting-content-right">
348
+ <a href="javascript:void(0);" class="create-rule" id="create-rule"><?php esc_html_e( "Add Rule", "mystickyelements" );?></a>
349
+ </div>
350
+ <?php
351
+ $url_options = array(
352
+ 'page_contains' => 'pages that contain',
353
+ 'page_has_url' => 'a specific page',
354
+ 'page_start_with' => 'pages starting with',
355
+ 'page_end_with' => 'pages ending with',
356
+ );
357
+ ?>
358
+ <div class="mysticky-welcomebar-page-options-html" style="display: none">
359
+ <div class="mysticky-welcomebar-page-option">
360
+ <div class="url-content">
361
+ <div class="mysticky-welcomebar-url-select">
362
+ <select name="" id="url_shown_on___count___option">
363
+ <option value="show_on"><?php esc_html_e("Show on", "mysticky" );?></option>
364
+ <option value="not_show_on"><?php esc_html_e("Don't show on", "mysticky" );?></option>
365
+ </select>
366
+ </div>
367
+ <div class="mysticky-welcomebar-url-option">
368
+ <select class="mysticky-welcomebar-url-options" name="" id="url_rules___count___option">
369
+ <option selected="selected" value=""><?php esc_html_e("Select Rule", "mysticky" );?></option>
370
+ <?php foreach($url_options as $key=>$value) {
371
+ echo '<option value="'.$key.'">'.$value.'</option>';
372
+ } ?>
373
+ </select>
374
+ </div>
375
+ <div class="mysticky-welcomebar-url-box">
376
+ <span class='mysticky-welcomebar-url'><?php echo site_url("/"); ?></span>
377
+ </div>
378
+ <div class="mysticky-welcomebar-url-values">
379
+ <input type="text" value="" name="mysticky_option_welcomebar[page_settings][__count__][value]" id="url_rules___count___value" disabled />
380
+ </div>
381
+ <div class="clear"></div>
382
+ </div>
383
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
384
+ </div>
385
+ </div>
386
+ <div class="mysticky-welcomebar-page-options mysticky-welcomebar-setting-content-right" id="mysticky-welcomebar-page-options" style="display:none"></div>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </div>
391
+ <div class="mysticky-welcomebar-setting-right">
392
+ <div class="mysticky-welcomebar-header-title">
393
+ <h3><?php _e('Preview', 'mystickyelements'); ?></h3>
394
+ </div>
395
+ <div class="mysticky-welcomebar-preview-screen">
396
+ <link href="https://fonts.googleapis.com/css?family=<?php echo $welcomebar['mysticky_welcomebar_font'] ?>:400,600,700|Lato:400,500,600,700" rel="stylesheet" type="text/css" class="sfba-google-font">
397
+ <div class="mysticky-welcomebar-fixed mysticky-welcomebar-display-desktop <?php echo $display_main_class; ?>" >
398
+ <div class="mysticky-welcomebar-fixed-wrap">
399
+ <div class="mysticky-welcomebar-content">
400
+ <?php echo wpautop(isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase");?>
401
+ </div>
402
+ <div class="mysticky-welcomebar-btn">
403
+ <a href="#" ><?php echo isset($welcomebar['mysticky_welcomebar_btn_text']) ? $welcomebar['mysticky_welcomebar_btn_text'] : "Got it!";?></a>
404
+ </div>
405
+ <a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
406
+ </div>
407
+ </div>
408
+ </div>
409
+ </div>
410
+ </div>
411
+ <div class="mysticky-welcomebar-submit">
412
+ <input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e('Save', 'mystickymenu');?>">
413
+ </div>
414
+ <input type="hidden" name="nonce" value="<?php echo $nonce; ?>">
415
+ <input type="hidden" name="active_tab_element" value="1">
416
+ <input type="hidden" id="save_welcome_bar" name="save_welcome_bar" value="">
417
+
418
+ </form>
419
+ <form class="mysticky-welcomebar-form-reset" method="post" action="#">
420
+ <div class="mysticky-welcomebar-submit">
421
+ <input type="submit" name="mysticky_welcomebar_reset" id="reset" class="button button-secondary" value="<?php _e('Reset', 'mystickymenu');?>">
422
+ </div>
423
+ <input type="hidden" name="nonce_reset" value="<?php echo $nonce_reset; ?>">
424
+ <input type="hidden" name="active_tab_element" value="1">
425
+ </form>
426
+ <div id="mysticky-welcomebar-save-confirm" style="display:none;" title="<?php esc_attr_e( 'myStickymenu is currently off', 'mystickymenu' ); ?>">
427
+ <p>
428
+ <?php _e('Your Welcome Bar is currently turned off, would you like to save and show it on your site?', 'mystickymenu' ); ?>
429
+ </p>
430
+ </div>
431
+ <script>
432
+ jQuery(".mysticky-welcomebar-fixed").on(
433
+ "animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",
434
+ function() {
435
+ jQuery(this).removeClass("animation-start");
436
+ }
437
+ );
438
+ jQuery(document).ready(function() {
439
+ var container = jQuery(".mysticky-welcomebar-fixed");
440
+ var refreshId = setInterval(function() {
441
+ container.addClass("animation-start");
442
+ }, 3500);
443
+ });
444
+ </script>
445
+ <style>
446
+ .mysticky-welcomebar-fixed {
447
+ background-color: <?php echo $welcomebar['mysticky_welcomebar_bgcolor'] ?>;
448
+ font-family: <?php echo $welcomebar['mysticky_welcomebar_font'] ?>;
449
+ position: absolute;
450
+ left: 0;
451
+ right: 0;
452
+ opacity: 0;
453
+ z-index: 9999999;
454
+ -webkit-transition: all 1s ease 0s;
455
+ -moz-transition: all 1s ease 0s;
456
+ transition: all 1s ease 0s;
457
+ }
458
+ .mysticky-welcomebar-fixed-wrap {
459
+ min-height: 60px;
460
+ padding: 20px 10px 20px 10px;
461
+ display: flex;
462
+ align-items: center;
463
+ justify-content: center;
464
+ }
465
+ .mysticky-welcomebar-preview-mobile-screen .mysticky-welcomebar-fixed{
466
+ padding: 0 25px;
467
+ }
468
+ .mysticky-welcomebar-position-top {
469
+ top:0;
470
+ }
471
+ .mysticky-welcomebar-position-bottom {
472
+ bottom:0;
473
+ }
474
+ .mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in {
475
+ top: -80px;
476
+ }
477
+ .mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in {
478
+ bottom: -80px;
479
+ }
480
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect {
481
+ top:0;
482
+ opacity: 1;
483
+ }
484
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect {
485
+ bottom:0;
486
+ opacity: 1;
487
+ }
488
+ .mysticky-welcomebar-entry-effect-fade {
489
+ opacity: 0;
490
+ }
491
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-fade.entry-effect {
492
+ opacity: 1;
493
+ }
494
+ .mysticky-welcomebar-entry-effect-none {
495
+ display: none;
496
+ }
497
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-none.entry-effect {
498
+ display: block;
499
+ opacity: 1;
500
+ }
501
+ .mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
502
+ top: 0;
503
+ }
504
+ .mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
505
+ bottom: 0;
506
+ }
507
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-content p a,
508
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
509
+ color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
510
+ font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
511
+ font-family: inherit;
512
+ margin: 0;
513
+ padding: 0;
514
+ line-height: 1.2;
515
+ font-weight: 400;
516
+ }
517
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
518
+ padding-left: 30px;
519
+ display: none;
520
+ }
521
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
522
+ display: block;
523
+ }
524
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
525
+ background-color: <?php echo $welcomebar['mysticky_welcomebar_btncolor'] ?>;
526
+ font-family: inherit;
527
+ color: <?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'] ?>;
528
+ border-radius: 4px;
529
+ text-decoration: none;
530
+ display: inline-block;
531
+ vertical-align: top;
532
+ line-height: 1.2;
533
+ font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
534
+ font-weight: 400;
535
+ padding: 5px 20px;
536
+ white-space: nowrap;
537
+ }
538
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
539
+ /*opacity: 0.7;*/
540
+ -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
541
+ -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
542
+ box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
543
+ }
544
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
545
+ display: none;
546
+ vertical-align: top;
547
+ width: 20px;
548
+ height: 20px;
549
+ text-align: center;
550
+ text-decoration: none;
551
+ line-height: 20px;
552
+ border-radius: 5px;
553
+ color: #000;
554
+ position: absolute;
555
+ font-family: Lato;
556
+ top: 5px;
557
+ right: 5px;
558
+ text-shadow: 0 0 0px #fff;
559
+ -webkit-transition: all 0.5s ease 0s;
560
+ -moz-transition: all 0.5s ease 0s;
561
+ transition: all 0.5s ease 0s;
562
+ -webkit-transform-origin: 50% 50%;
563
+ -moz-transform-origin: 50% 50%;
564
+ transform-origin: 50% 50%;
565
+ }
566
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close:hover {
567
+ opacity: 1;
568
+ -webkit-transform: rotate(180deg);
569
+ -moz-transform: rotate(180deg);
570
+ transform: rotate(180deg);
571
+ }
572
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
573
+ display: inline-block;
574
+ }
575
+ @media only screen and (max-width: 1024px) {
576
+ .mysticky-welcomebar-fixed {
577
+ padding: 0 10px 0 10px;
578
+ }
579
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
580
+ width: 20px;
581
+ height: 20px;
582
+ line-height: 20px;
583
+ right: 0px;
584
+ }
585
+ }
586
+
587
+ /* Animated Buttons */
588
+ .mysticky-welcomebar-btn a {
589
+ -webkit-animation-duration: 1s;
590
+ animation-duration: 1s;
591
+ }
592
+ @-webkit-keyframes flash {
593
+ from,
594
+ 50%,
595
+ to {
596
+ opacity: 1;
597
+ }
598
+
599
+ 25%,
600
+ 75% {
601
+ opacity: 0;
602
+ }
603
+ }
604
+ @keyframes flash {
605
+ from,
606
+ 50%,
607
+ to {
608
+ opacity: 1;
609
+ }
610
+
611
+ 25%,
612
+ 75% {
613
+ opacity: 0;
614
+ }
615
+ }
616
+ .mysticky-welcomebar-attention-flash.animation-start .mysticky-welcomebar-btn a {
617
+ -webkit-animation-name: flash;
618
+ animation-name: flash;
619
+ }
620
+
621
+ @keyframes shake {
622
+ from,
623
+ to {
624
+ -webkit-transform: translate3d(0, 0, 0);
625
+ transform: translate3d(0, 0, 0);
626
+ }
627
+
628
+ 10%,
629
+ 30%,
630
+ 50%,
631
+ 70%,
632
+ 90% {
633
+ -webkit-transform: translate3d(-10px, 0, 0);
634
+ transform: translate3d(-10px, 0, 0);
635
+ }
636
+
637
+ 20%,
638
+ 40%,
639
+ 60%,
640
+ 80% {
641
+ -webkit-transform: translate3d(10px, 0, 0);
642
+ transform: translate3d(10px, 0, 0);
643
+ }
644
+ }
645
+
646
+ .mysticky-welcomebar-attention-shake.animation-start .mysticky-welcomebar-btn a {
647
+ -webkit-animation-name: shake;
648
+ animation-name: shake;
649
+ }
650
+
651
+ @-webkit-keyframes swing {
652
+ 20% {
653
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
654
+ transform: rotate3d(0, 0, 1, 15deg);
655
+ }
656
+
657
+ 40% {
658
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
659
+ transform: rotate3d(0, 0, 1, -10deg);
660
+ }
661
+
662
+ 60% {
663
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
664
+ transform: rotate3d(0, 0, 1, 5deg);
665
+ }
666
+
667
+ 80% {
668
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
669
+ transform: rotate3d(0, 0, 1, -5deg);
670
+ }
671
+
672
+ to {
673
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
674
+ transform: rotate3d(0, 0, 1, 0deg);
675
+ }
676
+ }
677
+
678
+ @keyframes swing {
679
+ 20% {
680
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
681
+ transform: rotate3d(0, 0, 1, 15deg);
682
+ }
683
+
684
+ 40% {
685
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
686
+ transform: rotate3d(0, 0, 1, -10deg);
687
+ }
688
+
689
+ 60% {
690
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
691
+ transform: rotate3d(0, 0, 1, 5deg);
692
+ }
693
+
694
+ 80% {
695
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
696
+ transform: rotate3d(0, 0, 1, -5deg);
697
+ }
698
+
699
+ to {
700
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
701
+ transform: rotate3d(0, 0, 1, 0deg);
702
+ }
703
+ }
704
+
705
+ .mysticky-welcomebar-attention-swing.animation-start .mysticky-welcomebar-btn a {
706
+ -webkit-transform-origin: top center;
707
+ transform-origin: top center;
708
+ -webkit-animation-name: swing;
709
+ animation-name: swing;
710
+ }
711
+
712
+ @-webkit-keyframes tada {
713
+ from {
714
+ -webkit-transform: scale3d(1, 1, 1);
715
+ transform: scale3d(1, 1, 1);
716
+ }
717
+
718
+ 10%,
719
+ 20% {
720
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
721
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
722
+ }
723
+
724
+ 30%,
725
+ 50%,
726
+ 70%,
727
+ 90% {
728
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
729
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
730
+ }
731
+
732
+ 40%,
733
+ 60%,
734
+ 80% {
735
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
736
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
737
+ }
738
+
739
+ to {
740
+ -webkit-transform: scale3d(1, 1, 1);
741
+ transform: scale3d(1, 1, 1);
742
+ }
743
+ }
744
+
745
+ @keyframes tada {
746
+ from {
747
+ -webkit-transform: scale3d(1, 1, 1);
748
+ transform: scale3d(1, 1, 1);
749
+ }
750
+
751
+ 10%,
752
+ 20% {
753
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
754
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
755
+ }
756
+
757
+ 30%,
758
+ 50%,
759
+ 70%,
760
+ 90% {
761
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
762
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
763
+ }
764
+
765
+ 40%,
766
+ 60%,
767
+ 80% {
768
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
769
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
770
+ }
771
+
772
+ to {
773
+ -webkit-transform: scale3d(1, 1, 1);
774
+ transform: scale3d(1, 1, 1);
775
+ }
776
+ }
777
+
778
+ .mysticky-welcomebar-attention-tada.animation-start .mysticky-welcomebar-btn a {
779
+ -webkit-animation-name: tada;
780
+ animation-name: tada;
781
+ }
782
+
783
+ @-webkit-keyframes heartBeat {
784
+ 0% {
785
+ -webkit-transform: scale(1);
786
+ transform: scale(1);
787
+ }
788
+
789
+ 14% {
790
+ -webkit-transform: scale(1.3);
791
+ transform: scale(1.3);
792
+ }
793
+
794
+ 28% {
795
+ -webkit-transform: scale(1);
796
+ transform: scale(1);
797
+ }
798
+
799
+ 42% {
800
+ -webkit-transform: scale(1.3);
801
+ transform: scale(1.3);
802
+ }
803
+
804
+ 70% {
805
+ -webkit-transform: scale(1);
806
+ transform: scale(1);
807
+ }
808
+ }
809
+
810
+ @keyframes heartBeat {
811
+ 0% {
812
+ -webkit-transform: scale(1);
813
+ transform: scale(1);
814
+ }
815
+
816
+ 14% {
817
+ -webkit-transform: scale(1.3);
818
+ transform: scale(1.3);
819
+ }
820
+
821
+ 28% {
822
+ -webkit-transform: scale(1);
823
+ transform: scale(1);
824
+ }
825
+
826
+ 42% {
827
+ -webkit-transform: scale(1.3);
828
+ transform: scale(1.3);
829
+ }
830
+
831
+ 70% {
832
+ -webkit-transform: scale(1);
833
+ transform: scale(1);
834
+ }
835
+ }
836
+
837
+ .mysticky-welcomebar-attention-heartbeat.animation-start .mysticky-welcomebar-btn a {
838
+ -webkit-animation-name: heartBeat;
839
+ animation-name: heartBeat;
840
+ -webkit-animation-duration: 1.3s;
841
+ animation-duration: 1.3s;
842
+ -webkit-animation-timing-function: ease-in-out;
843
+ animation-timing-function: ease-in-out;
844
+ }
845
+
846
+ @-webkit-keyframes wobble {
847
+ from {
848
+ -webkit-transform: translate3d(0, 0, 0);
849
+ transform: translate3d(0, 0, 0);
850
+ }
851
+
852
+ 15% {
853
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
854
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
855
+ }
856
+
857
+ 30% {
858
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
859
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
860
+ }
861
+
862
+ 45% {
863
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
864
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
865
+ }
866
+
867
+ 60% {
868
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
869
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
870
+ }
871
+
872
+ 75% {
873
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
874
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
875
+ }
876
+
877
+ to {
878
+ -webkit-transform: translate3d(0, 0, 0);
879
+ transform: translate3d(0, 0, 0);
880
+ }
881
+ }
882
+
883
+ @keyframes wobble {
884
+ from {
885
+ -webkit-transform: translate3d(0, 0, 0);
886
+ transform: translate3d(0, 0, 0);
887
+ }
888
+
889
+ 15% {
890
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
891
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
892
+ }
893
+
894
+ 30% {
895
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
896
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
897
+ }
898
+
899
+ 45% {
900
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
901
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
902
+ }
903
+
904
+ 60% {
905
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
906
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
907
+ }
908
+
909
+ 75% {
910
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
911
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
912
+ }
913
+
914
+ to {
915
+ -webkit-transform: translate3d(0, 0, 0);
916
+ transform: translate3d(0, 0, 0);
917
+ }
918
+ }
919
+
920
+ .mysticky-welcomebar-attention-wobble.animation-start .mysticky-welcomebar-btn a {
921
+ -webkit-animation-name: wobble;
922
+ animation-name: wobble;
923
+ }
924
+ </style>
925
+
926
+ <?php
927
+ }
928
+
929
+ function mysticky_welcomebar_pro_widget_default_fields() {
930
+ return array(
931
+ 'mysticky_welcomebar_position' => 'top',
932
+ 'mysticky_welcomebar_height' => '60',
933
+ 'mysticky_welcomebar_bgcolor' => '#03ed96',
934
+ 'mysticky_welcomebar_bgtxtcolor' => '#000000',
935
+ 'mysticky_welcomebar_font' => 'Poppins',
936
+ 'mysticky_welcomebar_fontsize' => '16',
937
+ 'mysticky_welcomebar_bar_text' => 'Get 30% off your first purchase',
938
+ 'mysticky_welcomebar_x_desktop' => 'desktop',
939
+ 'mysticky_welcomebar_x_mobile' => 'mobile',
940
+ 'mysticky_welcomebar_btn_desktop' => 'desktop',
941
+ 'mysticky_welcomebar_btn_mobile' => 'mobile',
942
+ 'mysticky_welcomebar_btncolor' => '#000000',
943
+ 'mysticky_welcomebar_btntxtcolor' => '#ffffff',
944
+ 'mysticky_welcomebar_btn_text' => 'Got it!',
945
+ 'mysticky_welcomebar_actionselect' => 'close_bar',
946
+ 'mysticky_welcomebar_aftersubmission' => 'dont_show_welcomebar',
947
+ 'mysticky_welcomebar_redirect' => 'https://www.yourdomain.com',
948
+ 'mysticky_welcomebar_redirect_newtab' => '',
949
+ 'mysticky_welcomebar_redirect_rel' => '',
950
+ 'mysticky_welcomebar_device_desktop' => 'desktop',
951
+ 'mysticky_welcomebar_device_mobile' => 'mobile',
952
+ 'mysticky_welcomebar_entry_effect' => 'slide-in',
953
+ 'mysticky_welcomebar_trigger' => 'after_a_few_seconds',
954
+ 'mysticky_welcomebar_triggersec' => '0',
955
+ 'mysticky_welcomebar_expirydate' => '',
956
+ 'mysticky_welcomebar_page_settings' => '',
957
+ );
958
+ }
959
+
960
+ function mysticky_welcome_bar_frontend(){
961
+ $welcomebar = get_option( 'mysticky_option_welcomebar' );
962
+
963
+ if ( ( isset($welcomebar['mysticky_welcomebar_expirydate']) && $welcomebar['mysticky_welcomebar_expirydate'] !='' && strtotime( date('m/d/Y')) > strtotime($welcomebar['mysticky_welcomebar_expirydate']) ) || !isset($welcomebar['mysticky_welcomebar_enable'] ) ) {
964
+ return;
965
+ }
966
+ $mysticky_welcomebar_showx_desktop = $mysticky_welcomebar_showx_mobile = '';
967
+ $mysticky_welcomebar_btn_desktop = $mysticky_welcomebar_btn_mobile = '';
968
+ $mysticky_welcomebar_display_desktop = $mysticky_welcomebar_display_mobile = '';
969
+ if( isset($welcomebar['mysticky_welcomebar_x_desktop']) ) {
970
+ $mysticky_welcomebar_showx_desktop = ' mysticky-welcomebar-showx-desktop';
971
+ }
972
+ if( isset($welcomebar['mysticky_welcomebar_x_mobile']) ) {
973
+ $mysticky_welcomebar_showx_mobile = ' mysticky-welcomebar-showx-mobile';
974
+ }
975
+ if( isset($welcomebar['mysticky_welcomebar_btn_desktop']) ) {
976
+ $mysticky_welcomebar_btn_desktop = ' mysticky-welcomebar-btn-desktop';
977
+ }
978
+ if( isset($welcomebar['mysticky_welcomebar_btn_mobile']) ) {
979
+ $mysticky_welcomebar_btn_mobile = ' mysticky-welcomebar-btn-mobile';
980
+ }
981
+ $display = ' mysticky-welcomebar-attention-'.$welcomebar['mysticky_welcomebar_attentionselect'];
982
+ $display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
983
+ $mysticky_welcomebar_display_desktop = ' mysticky-welcomebar-display-desktop';
984
+ $mysticky_welcomebar_display_mobile = ' mysticky-welcomebar-display-mobile';
985
+
986
+ $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $mysticky_welcomebar_display_desktop . $mysticky_welcomebar_display_mobile .$display . $display_entry_effect;
987
+
988
+ if( isset($welcomebar['mysticky_welcomebar_actionselect']) ) {
989
+ if( $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' ) {
990
+ $mysticky_welcomebar_actionselect_url = esc_url( $welcomebar['mysticky_welcomebar_redirect'] );
991
+ } else {
992
+ $mysticky_welcomebar_actionselect_url = 'javascript:void(0)';
993
+ }
994
+ }
995
+ /*if( isset($welcomebar['mysticky_welcomebar_enable']) ) {
996
+ if ( $welcomebar['mysticky_welcomebar_position'] == 'top' ) {
997
+ $welcomebar_enable_block = "top: -60px";
998
+ } else {
999
+ $welcomebar_enable_block = "bottom: -60px";
1000
+ }
1001
+ }*/
1002
+
1003
+ ?>
1004
+ <div class="mysticky-welcomebar-fixed <?php echo $display_main_class; ?>" style="<?php //echo $welcomebar_enable_block; ?>" data-after-triger="after_a_few_seconds" data-triger-sec="0" data-position="<?php echo esc_attr($welcomebar['mysticky_welcomebar_position']);?>" data-height="<?php echo esc_attr($welcomebar['mysticky_welcomebar_height']);?>" data-rediect="<?php echo esc_attr($welcomebar['mysticky_welcomebar_actionselect']);?>" data-aftersubmission="<?php echo esc_attr($welcomebar['mysticky_welcomebar_aftersubmission']);?>">
1005
+ <div class="mysticky-welcomebar-fixed-wrap">
1006
+ <div class="mysticky-welcomebar-content">
1007
+ <?php echo wpautop( isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase" );?>
1008
+ </div>
1009
+ <div class="mysticky-welcomebar-btn">
1010
+ <a href="<?php echo $mysticky_welcomebar_actionselect_url; ?>" <?php if( isset($welcomebar['mysticky_welcomebar_redirect_newtab']) && $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' && $welcomebar['mysticky_welcomebar_redirect_newtab']== 1):?> target="_blank" <?php endif;?>><?php echo isset($welcomebar['mysticky_welcomebar_btn_text'])?$welcomebar['mysticky_welcomebar_btn_text']:"Got it!";?></a>
1011
+ </div>
1012
+ <a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
1013
+ </div>
1014
+ </div>
1015
+ <script>
1016
+
1017
+ jQuery(document).ready(function($){
1018
+ var mysticky_welcomebar_height = jQuery( '.mysticky-welcomebar-fixed' ).outerHeight();
1019
+ if( jQuery( '.mysticky-welcomebar-fixed' ).data('position') == 'top' ) {
1020
+ jQuery( '.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed' ).css( 'top', '-' + mysticky_welcomebar_height + 'px' );
1021
+ } else {
1022
+ jQuery( '.mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed' ).css( 'bottom', '-' + mysticky_welcomebar_height + 'px' );
1023
+ }
1024
+ var divi_topbar_height = $( '.et_fixed_nav #top-header' ).outerHeight();
1025
+ var divi_total_height = mysticky_welcomebar_height + divi_topbar_height;
1026
+ var welcombar_aftersubmission = $( '.mysticky-welcomebar-fixed' ).data('aftersubmission');
1027
+ if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1028
+ var welcomebar_storage = localStorage.getItem("welcomebar_close");
1029
+ } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1030
+ var welcomebar_storage = sessionStorage.getItem("welcomebar_close");
1031
+ } else {
1032
+ sessionStorage.removeItem('welcomebar_close');
1033
+ localStorage.removeItem('welcomebar_close');
1034
+ var welcomebar_storage = null;
1035
+ }
1036
+ if ( welcomebar_storage === null ){
1037
+
1038
+ var after_trigger = jQuery( '.mysticky-welcomebar-fixed' ).data('after-triger');
1039
+
1040
+ jQuery( 'body' ).addClass( 'mysticky-welcomebar-apper' );
1041
+
1042
+ if ( after_trigger == 'after_a_few_seconds' ) {
1043
+
1044
+ if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-desktop' ) ) {
1045
+ if ( $( window ).width() > 767 ) {
1046
+ var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1047
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1048
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1049
+
1050
+ setTimeout(function(){
1051
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1052
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1053
+ if ( welcombar_position == 'top' ) {
1054
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1055
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1056
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1057
+ $( 'html' ).css( 'margin-bottom', '' );
1058
+ jQuery( '#mysticky_divi_style' ).remove();
1059
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', welcombar_height + 'px' );
1060
+ jQuery( 'head' ).append( '<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>' );
1061
+ $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1062
+ $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1063
+ } else {
1064
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1065
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1066
+ $( 'html' ).css( 'margin-top', '' );
1067
+ jQuery( '#mysticky_divi_style' ).remove();
1068
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1069
+ $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1070
+ }
1071
+ }, trigger_sec );
1072
+ }
1073
+ }
1074
+ }
1075
+ if ( $( window ).width() < 767 ) {
1076
+ if ( after_trigger == 'after_a_few_seconds' ) {
1077
+ if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1078
+ var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1079
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1080
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1081
+ setTimeout(function(){
1082
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1083
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1084
+ jQuery( '#mysticky_divi_style' ).remove();
1085
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1086
+ if ( welcombar_position == 'top' ) {
1087
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1088
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1089
+ $( 'html' ).css( 'margin-bottom', '' );
1090
+ $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1091
+ $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1092
+ } else {
1093
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1094
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1095
+ $( 'html' ).css( 'margin-top', '' );
1096
+ $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1097
+ }
1098
+ }, trigger_sec );
1099
+ }
1100
+ }
1101
+ }
1102
+ mystickyelements_present();
1103
+ }
1104
+ $( window ).resize( function(){
1105
+ var mysticky_welcomebar_height = jQuery( '.mysticky-welcomebar-fixed' ).outerHeight();
1106
+ if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1107
+ var welcomebar_storage = localStorage.getItem("welcomebar_close");
1108
+ } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1109
+ var welcomebar_storage = sessionStorage.getItem("welcomebar_close");
1110
+ } else {
1111
+ sessionStorage.removeItem('welcomebar_close');
1112
+ localStorage.removeItem('welcomebar_close');
1113
+ var welcomebar_storage = null;
1114
+ }
1115
+ if ( welcomebar_storage === null ){
1116
+ var after_trigger = jQuery( '.mysticky-welcomebar-fixed' ).data('after-triger');
1117
+ if ( ! $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-notapper' ) ) {
1118
+ jQuery( 'body' ).addClass( 'mysticky-welcomebar-apper' );
1119
+ } else {
1120
+ jQuery( 'body' ).removeClass( 'mysticky-welcomebar-apper' );
1121
+ }
1122
+ if ( after_trigger == 'after_a_few_seconds' ) {
1123
+ var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1124
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1125
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1126
+ if ( $( window ).width() < 767 ) {
1127
+ if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1128
+ setTimeout(function(){
1129
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1130
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1131
+ jQuery( '#mysticky_divi_style' ).remove();
1132
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1133
+ if ( welcombar_position == 'top' ) {
1134
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1135
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1136
+ $( 'html' ).css( 'margin-bottom', '' );
1137
+ $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1138
+ $( '.mysticky-welcomebar-apper #mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1139
+ } else {
1140
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1141
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1142
+ $( 'html' ).css( 'margin-top', '' );
1143
+ $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1144
+ }
1145
+ }, trigger_sec );
1146
+ }
1147
+ } else {
1148
+ if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-desktop' ) ) {
1149
+ setTimeout(function(){
1150
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1151
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1152
+ if ( welcombar_position == 'top' ) {
1153
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1154
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1155
+ $( 'html' ).css( 'margin-bottom', '' );
1156
+ jQuery( '#mysticky_divi_style' ).remove();
1157
+ jQuery( '.mysticky-welcomebar-apper.et_fixed_nav #top-header' ).css( 'top', welcombar_height + 'px' );
1158
+ jQuery( 'head' ).append( '<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: ' + welcombar_height + 'px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: ' + divi_total_height + 'px !important}</style>' );
1159
+ $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1160
+ $( '.mysticky-welcomebar-apper #mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1161
+ } else {
1162
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1163
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1164
+ $( 'html' ).css( 'margin-top', '' );
1165
+ jQuery( '#mysticky_divi_style' ).remove();
1166
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1167
+ $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1168
+ }
1169
+ }, trigger_sec );
1170
+ }
1171
+ }
1172
+ }
1173
+ mystickyelements_present();
1174
+ }
1175
+ } );
1176
+
1177
+ jQuery(window).on( 'scroll', function(){
1178
+ if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1179
+ var welcomebar_storage = localStorage.getItem("welcomebar_close");
1180
+ } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1181
+ var welcomebar_storage = sessionStorage.getItem("welcomebar_close");
1182
+ } else {
1183
+ sessionStorage.removeItem('welcomebar_close');
1184
+ localStorage.removeItem('welcomebar_close');
1185
+ var welcomebar_storage = null;
1186
+ }
1187
+ if ( welcomebar_storage === null ){
1188
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1189
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1190
+ if ( welcombar_position == 'top' ) {
1191
+ $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1192
+ }
1193
+ if ( after_trigger === 'after_scroll' ) {
1194
+ var scroll = 100 * $(window).scrollTop() / ($(document).height() - $(window).height());
1195
+ var after_scroll_val = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec');
1196
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1197
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1198
+ if( scroll > after_scroll_val ) {
1199
+ if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-desktop' ) ) {
1200
+ if ( $( window ).width() > 767 ) {
1201
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1202
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1203
+ if ( welcombar_position == 'top' ) {
1204
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1205
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1206
+ $( 'html' ).css( 'margin-bottom', '' );
1207
+ $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1208
+ $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1209
+ } else {
1210
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1211
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1212
+ $( 'html' ).css( 'margin-top', '' );
1213
+ $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1214
+ }
1215
+ }
1216
+ }
1217
+ if ( $( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1218
+ if ( $( window ).width() < 767 ) {
1219
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-animation' );
1220
+ $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
1221
+ if ( welcombar_position == 'top' ) {
1222
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '0' );
1223
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1224
+ $( 'html' ).css( 'margin-bottom', '' );
1225
+ $( 'html' ).attr( 'style', 'margin-top: ' + mysticky_welcomebar_height + 'px !important' );
1226
+ $( '#mysticky-nav' ).css( 'top', mysticky_welcomebar_height + 'px' );
1227
+ } else {
1228
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '0' );
1229
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'opacity', '1' );
1230
+ $( 'html' ).css( 'margin-top', '' );
1231
+ $( 'html' ).attr( 'style', 'margin-bottom: ' + mysticky_welcomebar_height + 'px !important' );
1232
+ }
1233
+ }
1234
+ }
1235
+ }
1236
+ }
1237
+ mystickyelements_present();
1238
+ }
1239
+
1240
+ });
1241
+
1242
+ jQuery( '.mysticky-welcomebar-close, .mysticky-welcomebar-btn a' ).on( 'click', function(){
1243
+ if( welcombar_aftersubmission != 'show_welcomebar_every_page' ){
1244
+ if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1245
+ sessionStorage.removeItem('welcomebar_close');
1246
+ localStorage.setItem('welcomebar_close', 'close');
1247
+ } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1248
+ localStorage.removeItem('welcomebar_close');
1249
+ sessionStorage.setItem('welcomebar_close', 'close');
1250
+ }
1251
+ }
1252
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1253
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1254
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-notapper' );
1255
+ jQuery( 'body' ).removeClass( 'mysticky-welcomebar-apper' );
1256
+ jQuery( '.mysticky-welcomebar-fixed' ).slideUp( 'slow' );
1257
+ if ( welcombar_position == 'top' ) {
1258
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '-' + mysticky_welcomebar_height + 'px' );
1259
+ } else {
1260
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '-' + mysticky_welcomebar_height + 'px' );
1261
+ }
1262
+ jQuery( '#mysticky_divi_style' ).remove();
1263
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1264
+ jQuery( 'html' ).css( 'margin-top', '' );
1265
+ jQuery( 'html' ).css( 'margin-bottom', '' );
1266
+ $( '#mysticky-nav' ).css( 'top', '0px' );
1267
+ /*if mystickyelements show*/
1268
+ var mystickyelements_show = $( '.mystickyelements-fixed' ).length;
1269
+ if( mystickyelements_show && $( window ).width() <= 1024 && $( '.mystickyelements-fixed' ).hasClass( 'mystickyelements-position-mobile-top' ) && welcombar_position == 'top' ) {
1270
+ var mystickyelements_height = $( '.mystickyelements-fixed' ).height();
1271
+ $( '.mystickyelements-fixed' ).css( 'top', '' );
1272
+ $( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_height + 'px !important' );
1273
+ }
1274
+ } );
1275
+ });
1276
+ function mystickyelements_present() {
1277
+ var after_trigger = jQuery( '.mysticky-welcomebar-fixed' ).data('after-triger');
1278
+ var mystickyelements_show = jQuery( '.mystickyelements-fixed' ).length;
1279
+ if( mystickyelements_show ) {
1280
+ var welcombar_position = jQuery( '.mysticky-welcomebar-fixed' ).data('position');
1281
+ var welcombar_height = jQuery( '.mysticky-welcomebar-fixed' ).outerHeight();
1282
+ var mystickyelements_height = jQuery( '.mystickyelements-fixed' ).height();
1283
+ var mystickyelements_total_height = welcombar_height + mystickyelements_height;
1284
+ if ( jQuery( window ).width() <= 1024 && jQuery( '.mystickyelements-fixed' ).hasClass( 'mystickyelements-position-mobile-top' ) ) {
1285
+ if ( after_trigger == 'after_a_few_seconds' ) {
1286
+ if ( jQuery( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1287
+ var trigger_sec = jQuery( '.mysticky-welcomebar-fixed' ).data('triger-sec') * 1000;
1288
+ setTimeout(function(){
1289
+ if ( welcombar_position == 'top' ) {
1290
+ jQuery( '.mystickyelements-fixed' ).css( 'top', welcombar_height );
1291
+ jQuery( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_total_height + 'px !important' );
1292
+ } else {
1293
+ jQuery( '.mystickyelements-fixed' ).css( 'top', '' );
1294
+ jQuery( 'html' ).attr( 'style', 'margin-bottom: ' + welcombar_height + 'px !important' );
1295
+ }
1296
+ }, trigger_sec );
1297
+ }
1298
+ } else if ( after_trigger === 'after_scroll' ) {
1299
+ var scroll = 100 * $(window).scrollTop() / ($(document).height() - $(window).height());
1300
+ var after_scroll_val = $( '.mysticky-welcomebar-fixed' ).data('triger-sec');
1301
+ if( scroll > after_scroll_val ) {
1302
+ if ( jQuery( '.mysticky-welcomebar-fixed' ).hasClass( 'mysticky-welcomebar-display-mobile' ) ) {
1303
+ if ( welcombar_position == 'top' ) {
1304
+ jQuery( '.mystickyelements-fixed' ).css( 'top', welcombar_height );
1305
+ jQuery( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_total_height + 'px !important' );
1306
+ } else {
1307
+ jQuery( '.mystickyelements-fixed' ).css( 'top', '' );
1308
+ jQuery( 'html' ).attr( 'style', 'margin-bottom: ' + welcombar_height + 'px !important' );
1309
+ }
1310
+ }
1311
+ }
1312
+ }
1313
+ }
1314
+ }
1315
+ }
1316
+ jQuery(".mysticky-welcomebar-fixed").on(
1317
+ "animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",
1318
+ function() {
1319
+ jQuery(this).removeClass("animation-start");
1320
+ }
1321
+ );
1322
+ jQuery(document).ready(function() {
1323
+ var container = jQuery(".mysticky-welcomebar-fixed");
1324
+ var refreshId = setInterval(function() {
1325
+ container.addClass("animation-start");
1326
+ }, 3500);
1327
+ });
1328
+
1329
+ </script>
1330
+ <style>
1331
+ .mysticky-welcomebar-fixed , .mysticky-welcomebar-fixed * {
1332
+ -webkit-box-sizing: border-box;
1333
+ -moz-box-sizing: border-box;
1334
+ box-sizing: border-box;
1335
+ }
1336
+ .mysticky-welcomebar-fixed {
1337
+ background-color: <?php echo $welcomebar['mysticky_welcomebar_bgcolor'] ?>;
1338
+ font-family: <?php echo $welcomebar['mysticky_welcomebar_font'] ?>;
1339
+ position: fixed;
1340
+ left: 0;
1341
+ right: 0;
1342
+ z-index: 9999999;
1343
+ opacity: 0;
1344
+ }
1345
+ .mysticky-welcomebar-fixed-wrap {
1346
+ min-height: 60px;
1347
+ padding: 20px 50px;
1348
+ display: flex;
1349
+ align-items: center;
1350
+ justify-content: center;
1351
+ width: 100%;
1352
+ height: 100%;
1353
+ }
1354
+ .mysticky-welcomebar-animation {
1355
+ -webkit-transition: all 1s ease 0s;
1356
+ -moz-transition: all 1s ease 0s;
1357
+ transition: all 1s ease 0s;
1358
+ }
1359
+ .mysticky-welcomebar-position-top {
1360
+ top:0;
1361
+ }
1362
+ .mysticky-welcomebar-position-bottom {
1363
+ bottom:0;
1364
+ }
1365
+ .mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in {
1366
+ top: -60px;
1367
+ }
1368
+ .mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in {
1369
+ bottom: -60px;
1370
+ }
1371
+ .mysticky-welcomebar-entry-effect-fade {
1372
+ opacity: 0;
1373
+ }
1374
+ .mysticky-welcomebar-entry-effect-none {
1375
+ display: none;
1376
+ }
1377
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-content p a,
1378
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-content p {
1379
+ color: <?php echo $welcomebar['mysticky_welcomebar_bgtxtcolor'] ?>;
1380
+ font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
1381
+ margin: 0;
1382
+ padding: 0;
1383
+ line-height: 1.2;
1384
+ font-family: inherit;
1385
+ font-weight: 400;
1386
+ }
1387
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1388
+ padding-left: 30px;
1389
+ display: none;
1390
+ line-height: 1;
1391
+ }
1392
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
1393
+ display: block;
1394
+ }
1395
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
1396
+ background-color: <?php echo $welcomebar['mysticky_welcomebar_btncolor'] ?>;
1397
+ font-family: inherit;
1398
+ color: <?php echo $welcomebar['mysticky_welcomebar_btntxtcolor'] ?>;
1399
+ border-radius: 4px;
1400
+ text-decoration: none;
1401
+ display: inline-block;
1402
+ vertical-align: top;
1403
+ line-height: 1.2;
1404
+ font-size: <?php echo $welcomebar['mysticky_welcomebar_fontsize'] ?>px;
1405
+ font-weight: 400;
1406
+ padding: 5px 20px;
1407
+ white-space: nowrap;
1408
+ }
1409
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
1410
+ /*opacity: 0.7;*/
1411
+ -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
1412
+ -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
1413
+ box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
1414
+ }
1415
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1416
+ display: none;
1417
+ vertical-align: top;
1418
+ width: 30px;
1419
+ height: 30px;
1420
+ text-align: center;
1421
+ line-height: 30px;
1422
+ border-radius: 5px;
1423
+ color: #000;
1424
+ position: absolute;
1425
+ top: 5px;
1426
+ right: 10px;
1427
+ outline: none;
1428
+ font-family: Lato;
1429
+ text-decoration: none;
1430
+ text-shadow: 0 0 0px #fff;
1431
+ -webkit-transition: all 0.5s ease 0s;
1432
+ -moz-transition: all 0.5s ease 0s;
1433
+ transition: all 0.5s ease 0s;
1434
+ -webkit-transform-origin: 50% 50%;
1435
+ -moz-transform-origin: 50% 50%;
1436
+ transform-origin: 50% 50%;
1437
+ }
1438
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close:hover {
1439
+ opacity: 1;
1440
+ -webkit-transform: rotate(180deg);
1441
+ -moz-transform: rotate(180deg);
1442
+ transform: rotate(180deg);
1443
+ }
1444
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close span.dashicons {
1445
+ font-size: 27px;
1446
+ }
1447
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
1448
+ display: inline-block;
1449
+ }
1450
+
1451
+ /* Animated Buttons */
1452
+ .mysticky-welcomebar-btn a {
1453
+ -webkit-animation-duration: 1s;
1454
+ animation-duration: 1s;
1455
+ }
1456
+ @-webkit-keyframes flash {
1457
+ from,
1458
+ 50%,
1459
+ to {
1460
+ opacity: 1;
1461
+ }
1462
+
1463
+ 25%,
1464
+ 75% {
1465
+ opacity: 0;
1466
+ }
1467
+ }
1468
+ @keyframes flash {
1469
+ from,
1470
+ 50%,
1471
+ to {
1472
+ opacity: 1;
1473
+ }
1474
+
1475
+ 25%,
1476
+ 75% {
1477
+ opacity: 0;
1478
+ }
1479
+ }
1480
+ .mysticky-welcomebar-attention-flash.animation-start .mysticky-welcomebar-btn a {
1481
+ -webkit-animation-name: flash;
1482
+ animation-name: flash;
1483
+ }
1484
+
1485
+ @keyframes shake {
1486
+ from,
1487
+ to {
1488
+ -webkit-transform: translate3d(0, 0, 0);
1489
+ transform: translate3d(0, 0, 0);
1490
+ }
1491
+
1492
+ 10%,
1493
+ 30%,
1494
+ 50%,
1495
+ 70%,
1496
+ 90% {
1497
+ -webkit-transform: translate3d(-10px, 0, 0);
1498
+ transform: translate3d(-10px, 0, 0);
1499
+ }
1500
+
1501
+ 20%,
1502
+ 40%,
1503
+ 60%,
1504
+ 80% {
1505
+ -webkit-transform: translate3d(10px, 0, 0);
1506
+ transform: translate3d(10px, 0, 0);
1507
+ }
1508
+ }
1509
+
1510
+ .mysticky-welcomebar-attention-shake.animation-start .mysticky-welcomebar-btn a {
1511
+ -webkit-animation-name: shake;
1512
+ animation-name: shake;
1513
+ }
1514
+
1515
+ @-webkit-keyframes swing {
1516
+ 20% {
1517
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
1518
+ transform: rotate3d(0, 0, 1, 15deg);
1519
+ }
1520
+
1521
+ 40% {
1522
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
1523
+ transform: rotate3d(0, 0, 1, -10deg);
1524
+ }
1525
+
1526
+ 60% {
1527
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
1528
+ transform: rotate3d(0, 0, 1, 5deg);
1529
+ }
1530
+
1531
+ 80% {
1532
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
1533
+ transform: rotate3d(0, 0, 1, -5deg);
1534
+ }
1535
+
1536
+ to {
1537
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
1538
+ transform: rotate3d(0, 0, 1, 0deg);
1539
+ }
1540
+ }
1541
+
1542
+ @keyframes swing {
1543
+ 20% {
1544
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
1545
+ transform: rotate3d(0, 0, 1, 15deg);
1546
+ }
1547
+
1548
+ 40% {
1549
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
1550
+ transform: rotate3d(0, 0, 1, -10deg);
1551
+ }
1552
+
1553
+ 60% {
1554
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
1555
+ transform: rotate3d(0, 0, 1, 5deg);
1556
+ }
1557
+
1558
+ 80% {
1559
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
1560
+ transform: rotate3d(0, 0, 1, -5deg);
1561
+ }
1562
+
1563
+ to {
1564
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
1565
+ transform: rotate3d(0, 0, 1, 0deg);
1566
+ }
1567
+ }
1568
+
1569
+ .mysticky-welcomebar-attention-swing.animation-start .mysticky-welcomebar-btn a {
1570
+ -webkit-transform-origin: top center;
1571
+ transform-origin: top center;
1572
+ -webkit-animation-name: swing;
1573
+ animation-name: swing;
1574
+ }
1575
+
1576
+ @-webkit-keyframes tada {
1577
+ from {
1578
+ -webkit-transform: scale3d(1, 1, 1);
1579
+ transform: scale3d(1, 1, 1);
1580
+ }
1581
+
1582
+ 10%,
1583
+ 20% {
1584
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1585
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1586
+ }
1587
+
1588
+ 30%,
1589
+ 50%,
1590
+ 70%,
1591
+ 90% {
1592
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1593
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1594
+ }
1595
+
1596
+ 40%,
1597
+ 60%,
1598
+ 80% {
1599
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1600
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1601
+ }
1602
+
1603
+ to {
1604
+ -webkit-transform: scale3d(1, 1, 1);
1605
+ transform: scale3d(1, 1, 1);
1606
+ }
1607
+ }
1608
+
1609
+ @keyframes tada {
1610
+ from {
1611
+ -webkit-transform: scale3d(1, 1, 1);
1612
+ transform: scale3d(1, 1, 1);
1613
+ }
1614
+
1615
+ 10%,
1616
+ 20% {
1617
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1618
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
1619
+ }
1620
+
1621
+ 30%,
1622
+ 50%,
1623
+ 70%,
1624
+ 90% {
1625
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1626
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
1627
+ }
1628
+
1629
+ 40%,
1630
+ 60%,
1631
+ 80% {
1632
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1633
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
1634
+ }
1635
+
1636
+ to {
1637
+ -webkit-transform: scale3d(1, 1, 1);
1638
+ transform: scale3d(1, 1, 1);
1639
+ }
1640
+ }
1641
+
1642
+ .mysticky-welcomebar-attention-tada.animation-start .mysticky-welcomebar-btn a {
1643
+ -webkit-animation-name: tada;
1644
+ animation-name: tada;
1645
+ }
1646
+
1647
+ @-webkit-keyframes heartBeat {
1648
+ 0% {
1649
+ -webkit-transform: scale(1);
1650
+ transform: scale(1);
1651
+ }
1652
+
1653
+ 14% {
1654
+ -webkit-transform: scale(1.3);
1655
+ transform: scale(1.3);
1656
+ }
1657
+
1658
+ 28% {
1659
+ -webkit-transform: scale(1);
1660
+ transform: scale(1);
1661
+ }
1662
+
1663
+ 42% {
1664
+ -webkit-transform: scale(1.3);
1665
+ transform: scale(1.3);
1666
+ }
1667
+
1668
+ 70% {
1669
+ -webkit-transform: scale(1);
1670
+ transform: scale(1);
1671
+ }
1672
+ }
1673
+
1674
+ @keyframes heartBeat {
1675
+ 0% {
1676
+ -webkit-transform: scale(1);
1677
+ transform: scale(1);
1678
+ }
1679
+
1680
+ 14% {
1681
+ -webkit-transform: scale(1.3);
1682
+ transform: scale(1.3);
1683
+ }
1684
+
1685
+ 28% {
1686
+ -webkit-transform: scale(1);
1687
+ transform: scale(1);
1688
+ }
1689
+
1690
+ 42% {
1691
+ -webkit-transform: scale(1.3);
1692
+ transform: scale(1.3);
1693
+ }
1694
+
1695
+ 70% {
1696
+ -webkit-transform: scale(1);
1697
+ transform: scale(1);
1698
+ }
1699
+ }
1700
+
1701
+ .mysticky-welcomebar-attention-heartbeat.animation-start .mysticky-welcomebar-btn a {
1702
+ -webkit-animation-name: heartBeat;
1703
+ animation-name: heartBeat;
1704
+ -webkit-animation-duration: 1.3s;
1705
+ animation-duration: 1.3s;
1706
+ -webkit-animation-timing-function: ease-in-out;
1707
+ animation-timing-function: ease-in-out;
1708
+ }
1709
+
1710
+ @-webkit-keyframes wobble {
1711
+ from {
1712
+ -webkit-transform: translate3d(0, 0, 0);
1713
+ transform: translate3d(0, 0, 0);
1714
+ }
1715
+
1716
+ 15% {
1717
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1718
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1719
+ }
1720
+
1721
+ 30% {
1722
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1723
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1724
+ }
1725
+
1726
+ 45% {
1727
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1728
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1729
+ }
1730
+
1731
+ 60% {
1732
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1733
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1734
+ }
1735
+
1736
+ 75% {
1737
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1738
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1739
+ }
1740
+
1741
+ to {
1742
+ -webkit-transform: translate3d(0, 0, 0);
1743
+ transform: translate3d(0, 0, 0);
1744
+ }
1745
+ }
1746
+
1747
+ @keyframes wobble {
1748
+ from {
1749
+ -webkit-transform: translate3d(0, 0, 0);
1750
+ transform: translate3d(0, 0, 0);
1751
+ }
1752
+
1753
+ 15% {
1754
+ -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1755
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
1756
+ }
1757
+
1758
+ 30% {
1759
+ -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1760
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
1761
+ }
1762
+
1763
+ 45% {
1764
+ -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1765
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
1766
+ }
1767
+
1768
+ 60% {
1769
+ -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1770
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
1771
+ }
1772
+
1773
+ 75% {
1774
+ -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1775
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
1776
+ }
1777
+
1778
+ to {
1779
+ -webkit-transform: translate3d(0, 0, 0);
1780
+ transform: translate3d(0, 0, 0);
1781
+ }
1782
+ }
1783
+
1784
+ .mysticky-welcomebar-attention-wobble.animation-start .mysticky-welcomebar-btn a {
1785
+ -webkit-animation-name: wobble;
1786
+ animation-name: wobble;
1787
+ }
1788
+ @media only screen and (min-width: 768px) {
1789
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-fade.entry-effect {
1790
+ opacity: 1;
1791
+ }
1792
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-entry-effect-none.entry-effect {
1793
+ display: block;
1794
+ }
1795
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-top.mysticky-welcomebar-fixed ,
1796
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1797
+ top: 0;
1798
+ }
1799
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-bottom.mysticky-welcomebar-fixed ,
1800
+ .mysticky-welcomebar-display-desktop.mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1801
+ bottom: 0;
1802
+ }
1803
+ }
1804
+ @media only screen and (max-width: 767px) {
1805
+ .mysticky-welcomebar-display-mobile.mysticky-welcomebar-entry-effect-fade.entry-effect {
1806
+ opacity: 1;
1807
+ }
1808
+ .mysticky-welcomebar-display-mobile.mysticky-welcomebar-entry-effect-none.entry-effect {
1809
+ display: block;
1810
+ }
1811
+ .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-top.mysticky-welcomebar-fixed ,
1812
+ .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-top.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1813
+ top: 0;
1814
+ }
1815
+ .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-bottom.mysticky-welcomebar-fixed ,
1816
+ .mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-bottom.mysticky-welcomebar-entry-effect-slide-in.entry-effect.mysticky-welcomebar-fixed {
1817
+ bottom: 0;
1818
+ }
1819
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
1820
+ display: none;
1821
+ }
1822
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-mobile .mysticky-welcomebar-close {
1823
+ display: inline-block;
1824
+ }
1825
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
1826
+ display: none;
1827
+ }
1828
+ .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-mobile .mysticky-welcomebar-btn {
1829
+ display: block;
1830
+ }
1831
+ }
1832
+ @media only screen and (max-width: 480px) {
1833
+ .mysticky-welcomebar-fixed-wrap {
1834
+ padding: 15px 36px 35px 10px;
1835
+ }
1836
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1837
+ padding-left: 10px;
1838
+ }
1839
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
1840
+ right: 7px;
1841
+ }
1842
+ }
1843
+ </style>
1844
+ <?php
1845
+ }
1846
  add_action( 'wp_footer', 'mysticky_welcome_bar_frontend' );