CMP – Coming Soon & Maintenance Plugin by NiteoThemes - Version 3.6.12

Version Description

Download this release

Release Info

Developer niteo
Plugin Icon 128x128 CMP – Coming Soon & Maintenance Plugin by NiteoThemes
Version 3.6.12
Comparing to
See all releases

Code changes from version 3.6.11 to 3.6.12

cmp-advanced.php CHANGED
@@ -216,14 +216,12 @@ if ( isset( $_POST['niteoCS_custom_login_url'] ) ) {
216
  }
217
 
218
 
219
-
220
-
221
  $niteoCS_page_filter = get_option('niteoCS_page_filter', '0');
222
  $niteoCS_page_whitelist = json_decode(get_option('niteoCS_page_whitelist', '[]'), true);
223
  $niteoCS_page_whitelist_custom = json_decode(get_option('niteoCS_page_whitelist_custom', '[]'), true);
224
  $niteoCS_page_blacklist = json_decode(get_option('niteoCS_page_blacklist', '[]'), true);
225
  $niteoCS_page_blacklist_custom = json_decode(get_option('niteoCS_page_blacklist_custom', '[]'), true);
226
- $custom_login_url = get_option('niteoCS_custom_login_url', '');
227
  $niteoCS_roles = json_decode(get_option('niteoCS_roles', '[]'), true);
228
  $niteoCS_roles_topbar = json_decode(get_option('niteoCS_roles_topbar', '[]'), true);
229
  $head_scripts = json_decode(get_option('niteoCS_head_scripts', '[]'), true);
@@ -500,7 +498,7 @@ $mode_change_email = get_option('niteoCS_mode_change_email_address', get_opt
500
  <table class="general">
501
  <tbody>
502
  <tr>
503
- <th><?php _e('Countdown expiration', 'cmp-coming-soon-maintenance');?></th>
504
 
505
  <td>
506
  <fieldset>
@@ -510,10 +508,9 @@ $mode_change_email = get_option('niteoCS_mode_change_email_address', get_opt
510
  </label>
511
 
512
 
513
- <div class="countdown-toggle-switch x1">
514
- <label><?php _e('Specify Email Address', 'cmp-coming-soon-maintenance');?>
515
  <input type="text" name="niteoCS-countdown-email-address" value="<?php echo esc_attr( $countdown_email ); ?>" class="regular-text code"><br>
516
- </label>
517
  </div>
518
  </fieldset>
519
  </td>
@@ -530,10 +527,9 @@ $mode_change_email = get_option('niteoCS_mode_change_email_address', get_opt
530
  </label>
531
 
532
 
533
- <div class="mode-change-toggle-switch x1">
534
- <label><?php _e('Specify Email Address', 'cmp-coming-soon-maintenance');?>
535
  <input type="text" name="niteoCS-mode-change-email-address" value="<?php echo esc_attr( $mode_change_email ); ?>" class="regular-text code"><br>
536
- </label>
537
  </div>
538
  </fieldset>
539
  </td>
216
  }
217
 
218
 
 
 
219
  $niteoCS_page_filter = get_option('niteoCS_page_filter', '0');
220
  $niteoCS_page_whitelist = json_decode(get_option('niteoCS_page_whitelist', '[]'), true);
221
  $niteoCS_page_whitelist_custom = json_decode(get_option('niteoCS_page_whitelist_custom', '[]'), true);
222
  $niteoCS_page_blacklist = json_decode(get_option('niteoCS_page_blacklist', '[]'), true);
223
  $niteoCS_page_blacklist_custom = json_decode(get_option('niteoCS_page_blacklist_custom', '[]'), true);
224
+ $custom_login_url = get_option('niteoCS_custom_login_url', get_option( 'whl_page' ));
225
  $niteoCS_roles = json_decode(get_option('niteoCS_roles', '[]'), true);
226
  $niteoCS_roles_topbar = json_decode(get_option('niteoCS_roles_topbar', '[]'), true);
227
  $head_scripts = json_decode(get_option('niteoCS_head_scripts', '[]'), true);
498
  <table class="general">
499
  <tbody>
500
  <tr>
501
+ <th><?php _e('Timer Expiration', 'cmp-coming-soon-maintenance');?></th>
502
 
503
  <td>
504
  <fieldset>
508
  </label>
509
 
510
 
511
+ <div class="countdown-toggle-switch x1" style="margin-top:1em">
512
+ <h4><?php _e('Specify Email Address', 'cmp-coming-soon-maintenance');?></h4>
513
  <input type="text" name="niteoCS-countdown-email-address" value="<?php echo esc_attr( $countdown_email ); ?>" class="regular-text code"><br>
 
514
  </div>
515
  </fieldset>
516
  </td>
527
  </label>
528
 
529
 
530
+ <div class="mode-change-toggle-switch x1" style="margin-top:1em">
531
+ <h4><?php _e('Specify Email Address', 'cmp-coming-soon-maintenance');?></h4>
532
  <input type="text" name="niteoCS-mode-change-email-address" value="<?php echo esc_attr( $mode_change_email ); ?>" class="regular-text code"><br>
 
533
  </div>
534
  </fieldset>
535
  </td>
cmp-settings.php CHANGED
@@ -48,7 +48,7 @@ if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
48
 
49
  if ( isset($_POST['niteoCS_select_theme']) && in_array($_POST['niteoCS_select_theme'], $this->cmp_themes_available())) {
50
  update_option('niteoCS_theme', sanitize_text_field($_POST['niteoCS_select_theme']));
51
- $themeslug = $this->cmp_selectedTheme();
52
  }
53
 
54
  if (isset($_POST['niteoCS_logo_type'])) {
@@ -511,8 +511,8 @@ if ( !get_option('niteoCS_socialmedia') ) {
511
  }
512
 
513
  //include theme defaults
514
- if (file_exists($this->cmp_theme_dir($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-defaults.php')) {
515
- include ( $this->cmp_theme_dir($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-defaults.php' );
516
  }
517
 
518
  // set banner type again, if the themes are not upgraded after 2.9.5 release where this settings got theme settings independent
@@ -585,7 +585,7 @@ add_thickbox();
585
  <h2 class="nav-tab-wrapper">
586
  <a class="nav-tab nav-tab-active general" href="<?php echo admin_url(); ?>admin.php?page=cmp-settings#general" data-tab="general"><i class="fa fa-cog" aria-hidden="true"></i><?php _e('Settings', 'cmp-coming-soon-maintenance');?></a>
587
 
588
- <?php if ( $this->cmp_selectedTheme() !== 'divi' ) : ?>
589
  <a class="nav-tab content" href="<?php echo admin_url(); ?>admin.php?page=cmp-settings#content" data-tab="content"><i class="fa fa-pencil-square-o" aria-hidden="true"></i><?php _e('Content', 'cmp-coming-soon-maintenance');?></a>
590
  <?php endif; ?>
591
  <a class="nav-tab theme-setup" href="<?php echo admin_url(); ?>admin.php?page=cmp-settings#theme-setup" data-tab="theme-setup"><i class="fa fa-wrench" aria-hidden="true"></i><?php _e('Customize', 'cmp-coming-soon-maintenance');?></a>
@@ -621,7 +621,7 @@ add_thickbox();
621
  require ( dirname(__FILE__) . '/inc/settings/settings-theme-selector.php' );
622
  }
623
 
624
- if ( $this->cmp_selectedTheme() !== 'divi' ) {
625
 
626
  // get logo settings
627
  if ( isset( $theme_supports['logo'] ) && $theme_supports['logo'] ) {
@@ -660,8 +660,8 @@ add_thickbox();
660
  }
661
 
662
  // include custom theme content settings
663
- if ( file_exists($this->cmp_theme_dir($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-content_settings.php') ) {
664
- include ( $this->cmp_theme_dir($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-content_settings.php' );
665
  }
666
 
667
  // get counter settings
@@ -718,12 +718,12 @@ add_thickbox();
718
  }
719
 
720
  // include theme related settings
721
- if ( file_exists( $this->cmp_theme_dir( 'divi' ).'divi/divi-admin-settings.php' ) ) {
722
  require ( $this->cmp_theme_dir( 'divi' ).'divi/divi-admin-settings.php' );
723
  }
724
 
725
  // special effects for premium themes
726
- if ( in_array( $this->cmp_selectedTheme(), $this->cmp_premium_themes_installed() ) || ( isset( $theme_supports['special_effects'] ) && $theme_supports['special_effects'] ) ) {
727
 
728
  // get background effects settings
729
  if ( file_exists(dirname(__FILE__) . '/inc/settings/settings-special_effects.php' ) ) {
@@ -738,12 +738,12 @@ add_thickbox();
738
  }
739
 
740
  // include theme related settings
741
- if ( file_exists( $this->cmp_theme_dir( $this->cmp_selectedTheme() ).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-settings.php' ) ) {
742
- require ( $this->cmp_theme_dir( $this->cmp_selectedTheme() ).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-settings.php' );
743
  }
744
 
745
  // font selector settings
746
- if ( file_exists(dirname(__FILE__) . '/inc/settings/settings-typography.php' ) && $this->cmp_selectedTheme() !== 'divi' ) {
747
  require ( dirname(__FILE__) . '/inc/settings/settings-typography.php' );
748
  }
749
 
48
 
49
  if ( isset($_POST['niteoCS_select_theme']) && in_array($_POST['niteoCS_select_theme'], $this->cmp_themes_available())) {
50
  update_option('niteoCS_theme', sanitize_text_field($_POST['niteoCS_select_theme']));
51
+ $themeslug = $this->cmp_selectedTheme();
52
  }
53
 
54
  if (isset($_POST['niteoCS_logo_type'])) {
511
  }
512
 
513
  //include theme defaults
514
+ if (file_exists($this->cmp_theme_dir($themeslug).$themeslug.'/'.$themeslug.'-defaults.php')) {
515
+ include ( $this->cmp_theme_dir($themeslug).$themeslug.'/'.$themeslug.'-defaults.php' );
516
  }
517
 
518
  // set banner type again, if the themes are not upgraded after 2.9.5 release where this settings got theme settings independent
585
  <h2 class="nav-tab-wrapper">
586
  <a class="nav-tab nav-tab-active general" href="<?php echo admin_url(); ?>admin.php?page=cmp-settings#general" data-tab="general"><i class="fa fa-cog" aria-hidden="true"></i><?php _e('Settings', 'cmp-coming-soon-maintenance');?></a>
587
 
588
+ <?php if ( $themeslug !== 'divi' ) : ?>
589
  <a class="nav-tab content" href="<?php echo admin_url(); ?>admin.php?page=cmp-settings#content" data-tab="content"><i class="fa fa-pencil-square-o" aria-hidden="true"></i><?php _e('Content', 'cmp-coming-soon-maintenance');?></a>
590
  <?php endif; ?>
591
  <a class="nav-tab theme-setup" href="<?php echo admin_url(); ?>admin.php?page=cmp-settings#theme-setup" data-tab="theme-setup"><i class="fa fa-wrench" aria-hidden="true"></i><?php _e('Customize', 'cmp-coming-soon-maintenance');?></a>
621
  require ( dirname(__FILE__) . '/inc/settings/settings-theme-selector.php' );
622
  }
623
 
624
+ if ( $themeslug !== 'divi' ) {
625
 
626
  // get logo settings
627
  if ( isset( $theme_supports['logo'] ) && $theme_supports['logo'] ) {
660
  }
661
 
662
  // include custom theme content settings
663
+ if ( file_exists($this->cmp_theme_dir($themeslug).$themeslug.'/'.$themeslug.'-content_settings.php') ) {
664
+ include ( $this->cmp_theme_dir($themeslug).$themeslug.'/'.$themeslug.'-content_settings.php' );
665
  }
666
 
667
  // get counter settings
718
  }
719
 
720
  // include theme related settings
721
+ if ( $themeslug === 'divi' && file_exists( $this->cmp_theme_dir( 'divi' ).'divi/divi-admin-settings.php' ) ) {
722
  require ( $this->cmp_theme_dir( 'divi' ).'divi/divi-admin-settings.php' );
723
  }
724
 
725
  // special effects for premium themes
726
+ if ( in_array( $themeslug, $this->cmp_premium_themes_installed() ) || ( isset( $theme_supports['special_effects'] ) && $theme_supports['special_effects'] ) ) {
727
 
728
  // get background effects settings
729
  if ( file_exists(dirname(__FILE__) . '/inc/settings/settings-special_effects.php' ) ) {
738
  }
739
 
740
  // include theme related settings
741
+ if ( file_exists( $this->cmp_theme_dir( $themeslug ).$themeslug.'/'.$themeslug.'-settings.php' ) ) {
742
+ require ( $this->cmp_theme_dir( $themeslug ).$themeslug.'/'.$themeslug.'-settings.php' );
743
  }
744
 
745
  // font selector settings
746
+ if ( file_exists(dirname(__FILE__) . '/inc/settings/settings-typography.php' ) && $themeslug !== 'divi' ) {
747
  require ( dirname(__FILE__) . '/inc/settings/settings-typography.php' );
748
  }
749
 
cmp-sidebar.php CHANGED
@@ -39,7 +39,7 @@
39
  <i class="fa fa-star" aria-hidden="true"></i>
40
  <i class="fa fa-star" aria-hidden="true"></i>
41
  </a>
42
- <p><?php _e('Also don`t forget you can ask Wordpress Community or our NiteoThemes expert support. For a help simply visit link below.', 'cmp-coming-soon-maintenance');?> <a href="http://wordpress.org/support/plugin/cmp-coming-soon-maintenance/" target="_blank"><?php _e('Wordpress Support Forum', 'cmp-coming-soon-maintenance');?></a>
43
  </p>
44
 
45
  </div>
@@ -47,7 +47,7 @@
47
 
48
  <div class="request-feature widget">
49
  <h3 class="cmp-rate-us title"><?php _e('Request new features', 'cmp-coming-soon-maintenance');?></h3>
50
- <p><?php echo sprintf( __('Do you miss some feature or do you have idea how to improve CMP plugin? You can %s on official Wordpress Support Forum.', 'cmp-coming-soon-maintenance'), '<a href="http://wordpress.org/support/plugin/cmp-coming-soon-maintenance/" target="_blank" style="text-decoration:none;">request feature</a>' );?> <i class="fa fa-smile-o" aria-hidden="true"></i></p>
51
 
52
  </div>
53
 
39
  <i class="fa fa-star" aria-hidden="true"></i>
40
  <i class="fa fa-star" aria-hidden="true"></i>
41
  </a>
42
+ <p><?php echo sprintf( __('We are always happy to help on %s in a case you run into some issues.', 'cmp-coming-soon-maintenance'), '<a href="http://wordpress.org/support/plugin/cmp-coming-soon-maintenance/" target="_blank" style="text-decoration:none;">WordPress Support forum</a>');?>
43
  </p>
44
 
45
  </div>
47
 
48
  <div class="request-feature widget">
49
  <h3 class="cmp-rate-us title"><?php _e('Request new features', 'cmp-coming-soon-maintenance');?></h3>
50
+ <p><?php echo sprintf( __('Are you missing a cool feature or do you have idea how to improve CMP plugin? You can %s on official Wordpress Support Forum.', 'cmp-coming-soon-maintenance'), '<a href="http://wordpress.org/support/plugin/cmp-coming-soon-maintenance/" target="_blank" style="text-decoration:none;">request feature</a>' );?> <i class="fa fa-smile-o" aria-hidden="true"></i></p>
51
 
52
  </div>
53
 
css/cmp-settings-style.css CHANGED
@@ -91,7 +91,9 @@
91
 
92
  .cmp-coming-soon-maintenance input[type=text],
93
  .cmp-coming-soon-maintenance textarea {
94
- width: 100%
 
 
95
  }
96
 
97
  .cmp-coming-soon-maintenance .table-wrapper.content,
@@ -166,26 +168,38 @@
166
  }
167
 
168
  .cmp-coming-soon-maintenance .cmp-inputs-wrapper,
169
- .cmp-coming-soon-maintenance #csoptions {
 
170
  display: inline-block;
171
  max-width: 1140px;
172
  width: 100%;
173
  /* min-width: 920px */
174
  }
175
 
 
 
 
 
 
 
176
  .cmp-coming-soon-maintenance .table-wrapper.closed table,
177
  .cmp-coming-soon-maintenance .translate-settings tfoot {
178
  display: none
179
  }
180
 
181
- .cmp-coming-soon-maintenance .help-settings,
182
  .cmp-coming-soon-maintenance .subscribers-settings,
183
- .cmp-coming-soon-maintenance .translate-settings {
 
184
  max-width: calc(920px - 2em);
185
  min-width: calc(920px - 2em);
186
  padding: 1em
187
  }
188
 
 
 
 
 
189
  .cmp-coming-soon-maintenance .table-wrapper h3,
190
  .cmp-coming-soon-maintenance .custom_css h3 {
191
  position: relative;
@@ -596,13 +610,15 @@
596
  position: relative;
597
  }
598
 
 
 
 
 
 
599
  .cmp-coming-soon-maintenance .theme-wrapper:nth-of-type(3n) {
600
  margin-right: 0;
601
  }
602
 
603
- .cmp-coming-soon-maintenance .theme-wrapper.active {
604
- background-color: #ddd
605
- }
606
 
607
  .cmp-coming-soon-maintenance .thumbnail-holder {
608
  width: 100%;
@@ -632,20 +648,22 @@
632
  }
633
 
634
  .cmp-coming-soon-maintenance .theme-title {
635
- text-transform: uppercase
 
636
  }
637
 
638
  .cmp-coming-soon-maintenance .theme-version {
639
  float: right
640
  }
641
 
642
- .cmp-coming-soon-maintenance .theme-wrapper .hide:not(.selected) {
 
643
  opacity: 0;
644
  -o-transition: opacity .1s, background-color .1s;
645
  transition: opacity .1s, background-color .1s;
646
  }
647
 
648
- .cmp-coming-soon-maintenance .theme-wrapper:hover .hide {
649
  opacity: 1;
650
  -o-transition: opacity .1s, background-color .1s;
651
  transition: opacity .1s, background-color .1s;
@@ -653,17 +671,19 @@
653
 
654
 
655
  .cmp-coming-soon-maintenance .theme-inputs {
656
- padding: 5px;
 
657
  height: 2em;
658
  line-height: 2em;
659
  color: #656565;
 
660
  }
661
 
662
  .cmp-coming-soon-maintenance .active .theme-inputs {
663
- background: #2d936c;
664
- color: white;
665
  }
666
 
 
667
  .cmp-coming-soon-maintenance .theme-inputs .italic {
668
  font-style: italic;
669
  }
@@ -699,8 +719,45 @@
699
  cursor: pointer;
700
  }
701
 
702
- .cmp-coming-soon-maintenance .cmp-button.submit,
703
- .cmp-coming-soon-maintenance .theme-actions .activate {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
704
  background-color: #e63946;
705
  color: #fff;
706
  border: none;
@@ -718,9 +775,6 @@
718
  box-shadow: none;
719
  }
720
 
721
- .cmp-coming-soon-maintenance .theme-wrapper a.button.theme-purchase {
722
- background-color: #ff3284;
723
- }
724
 
725
  .cmp-coming-soon-maintenance .cmp-status-pages label,
726
  .cmp-coming-soon-maintenance .cmp-status-pages .label {
@@ -764,21 +818,12 @@
764
  }
765
 
766
  .cmp-coming-soon-maintenance .cmp-button.submit:focus,
767
- .cmp-coming-soon-maintenance .cmp-button.submit:hover,
768
- .cmp-coming-soon-maintenance .theme-actions .activate:focus,
769
- .cmp-coming-soon-maintenance .theme-actions .activate:hover {
770
  background-color: #e63946;
771
  color: #fff;
772
  border: none
773
  }
774
 
775
- .cmp-coming-soon-maintenance .theme-wrapper .button {
776
- border: 2px solid #ffffff!important;
777
- background: transparent;
778
- min-width: 190px;
779
- line-height: 2.5em;
780
- height: 3em;
781
- }
782
 
783
  .cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio] {
784
  position: relative;
@@ -826,19 +871,10 @@
826
 
827
 
828
  .cmp-coming-soon-maintenance .theme-wrapper .theme-select,
829
- .cmp-coming-soon-maintenance .theme-wrapper .theme-preview,
830
- .cmp-coming-soon-maintenance .theme-wrapper .theme-purchase {
831
  margin-bottom: 5px;
832
  }
833
 
834
- .cmp-coming-soon-maintenance .theme-wrapper .theme-select.selected {
835
- background-color: #fff;
836
- }
837
-
838
- .cmp-coming-soon-maintenance .theme-wrapper .theme-details.button {
839
- line-height: 0em;
840
-
841
- }
842
 
843
  .cmp-coming-soon-maintenance .cmp-preview {
844
  background-color: #2485bf!important;
@@ -854,15 +890,10 @@
854
  min-width: 40%;
855
  height: 55px;
856
  font-size: 2em;
857
- background-color: #2c3e50;
858
  border: none
859
  }
860
 
861
- .cmp-coming-soon-maintenance .theme-info .theme-purchase:focus,
862
- .cmp-coming-soon-maintenance .theme-info .theme-purchase:hover {
863
- background-color: #34495e;
864
- }
865
-
866
  .cmp-coming-soon-maintenance .button i {
867
  margin-right: 5px
868
  }
@@ -1080,17 +1111,9 @@
1080
  max-width: 120px
1081
  }
1082
 
1083
- .cmp-coming-soon-maintenance .cmp-rate-us .button,
1084
- .cmp-coming-soon-maintenance .cmp-rate-us a {
1085
- display: block;
1086
- text-align: center
1087
- }
1088
-
1089
- .cmp-coming-soon-maintenance .cmp-rate-us a {
1090
- padding: 1em 0
1091
- }
1092
-
1093
  .cmp-coming-soon-maintenance .cmp-rate-us .button {
 
 
1094
  max-width: 150px;
1095
  margin: 0 auto 1em
1096
  }
@@ -1192,7 +1215,8 @@
1192
 
1193
  @media screen and (max-width:1600px) {
1194
  .cmp-coming-soon-maintenance .cmp-inputs-wrapper,
1195
- .cmp-coming-soon-maintenance #csoptions {
 
1196
  max-width: 960px;
1197
  min-width: initial;
1198
  }
91
 
92
  .cmp-coming-soon-maintenance input[type=text],
93
  .cmp-coming-soon-maintenance textarea {
94
+ width: 100%;
95
+ border: 1px solid #d4d4d4;
96
+
97
  }
98
 
99
  .cmp-coming-soon-maintenance .table-wrapper.content,
168
  }
169
 
170
  .cmp-coming-soon-maintenance .cmp-inputs-wrapper,
171
+ .cmp-coming-soon-maintenance #csoptions,
172
+ .cmp-coming-soon-maintenance .cmp-themes-manager {
173
  display: inline-block;
174
  max-width: 1140px;
175
  width: 100%;
176
  /* min-width: 920px */
177
  }
178
 
179
+ .cmp-coming-soon-maintenance .cmp-inputs-wrapper.subscribers-settings,
180
+ .cmp-coming-soon-maintenance .cmp-inputs-wrapper.help-settings,
181
+ .cmp-coming-soon-maintenance .cmp-inputs-wrapper.translate-settings {
182
+ padding: 2em;
183
+ }
184
+
185
  .cmp-coming-soon-maintenance .table-wrapper.closed table,
186
  .cmp-coming-soon-maintenance .translate-settings tfoot {
187
  display: none
188
  }
189
 
190
+ /* .cmp-coming-soon-maintenance .help-settings,
191
  .cmp-coming-soon-maintenance .subscribers-settings,
192
+ .cmp-coming-soon-maintenance .translate-settings
193
+ {
194
  max-width: calc(920px - 2em);
195
  min-width: calc(920px - 2em);
196
  padding: 1em
197
  }
198
 
199
+ .cmp-coming-soon-maintenance .cmp-themes-manager {
200
+ padding-top: 0;
201
+ } */
202
+
203
  .cmp-coming-soon-maintenance .table-wrapper h3,
204
  .cmp-coming-soon-maintenance .custom_css h3 {
205
  position: relative;
610
  position: relative;
611
  }
612
 
613
+
614
+ .cmp-coming-soon-maintenance .theme-wrapper.active {
615
+ background: #2d936c;
616
+ }
617
+
618
  .cmp-coming-soon-maintenance .theme-wrapper:nth-of-type(3n) {
619
  margin-right: 0;
620
  }
621
 
 
 
 
622
 
623
  .cmp-coming-soon-maintenance .thumbnail-holder {
624
  width: 100%;
648
  }
649
 
650
  .cmp-coming-soon-maintenance .theme-title {
651
+ text-transform: uppercase;
652
+ flex: 1;
653
  }
654
 
655
  .cmp-coming-soon-maintenance .theme-version {
656
  float: right
657
  }
658
 
659
+ .cmp-coming-soon-maintenance .theme-wrapper .button {
660
+ background: transparent;
661
  opacity: 0;
662
  -o-transition: opacity .1s, background-color .1s;
663
  transition: opacity .1s, background-color .1s;
664
  }
665
 
666
+ .cmp-coming-soon-maintenance .theme-wrapper:hover .button {
667
  opacity: 1;
668
  -o-transition: opacity .1s, background-color .1s;
669
  transition: opacity .1s, background-color .1s;
671
 
672
 
673
  .cmp-coming-soon-maintenance .theme-inputs {
674
+ display: flex;
675
+ padding: 10px;
676
  height: 2em;
677
  line-height: 2em;
678
  color: #656565;
679
+ position: relative;
680
  }
681
 
682
  .cmp-coming-soon-maintenance .active .theme-inputs {
683
+ color: #fff
 
684
  }
685
 
686
+
687
  .cmp-coming-soon-maintenance .theme-inputs .italic {
688
  font-style: italic;
689
  }
719
  cursor: pointer;
720
  }
721
 
722
+ .cmp-coming-soon-maintenance .cmp-activate-theme {
723
+ padding: 3px 9px 5px 9px;
724
+ border-radius: 5px;
725
+ line-height: 1;
726
+ cursor: pointer;
727
+ background: transparent;
728
+ border: 1px solid #dadada;
729
+ }
730
+
731
+ .cmp-coming-soon-maintenance .cmp-purchase-theme {
732
+ background: #ff3284;
733
+ color: white;
734
+ line-height: 3.5;
735
+ border: none;
736
+ text-decoration: none;
737
+ position: absolute;
738
+ top: 0;
739
+ left: 0;
740
+ right: 0;
741
+ bottom: 0;
742
+ border-radius: 5px;
743
+ border-top-left-radius: 0;
744
+ border-top-right-radius: 0;
745
+ text-transform: uppercase;
746
+ }
747
+
748
+ .cmp-coming-soon-maintenance .cmp-purchase-theme i {
749
+ padding-right: 5px;
750
+ }
751
+
752
+ .cmp-coming-soon-maintenance .cmp-activate-theme:hover {
753
+ background: #e63946;
754
+ color: white;
755
+ border: 1px solid;
756
+ }
757
+
758
+
759
+
760
+ .cmp-coming-soon-maintenance .cmp-button.submit {
761
  background-color: #e63946;
762
  color: #fff;
763
  border: none;
775
  box-shadow: none;
776
  }
777
 
 
 
 
778
 
779
  .cmp-coming-soon-maintenance .cmp-status-pages label,
780
  .cmp-coming-soon-maintenance .cmp-status-pages .label {
818
  }
819
 
820
  .cmp-coming-soon-maintenance .cmp-button.submit:focus,
821
+ .cmp-coming-soon-maintenance .cmp-button.submit:hover {
 
 
822
  background-color: #e63946;
823
  color: #fff;
824
  border: none
825
  }
826
 
 
 
 
 
 
 
 
827
 
828
  .cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio] {
829
  position: relative;
871
 
872
 
873
  .cmp-coming-soon-maintenance .theme-wrapper .theme-select,
874
+ .cmp-coming-soon-maintenance .theme-wrapper .theme-preview {
 
875
  margin-bottom: 5px;
876
  }
877
 
 
 
 
 
 
 
 
 
878
 
879
  .cmp-coming-soon-maintenance .cmp-preview {
880
  background-color: #2485bf!important;
890
  min-width: 40%;
891
  height: 55px;
892
  font-size: 2em;
893
+ background-color: #ff3284;
894
  border: none
895
  }
896
 
 
 
 
 
 
897
  .cmp-coming-soon-maintenance .button i {
898
  margin-right: 5px
899
  }
1111
  max-width: 120px
1112
  }
1113
 
 
 
 
 
 
 
 
 
 
 
1114
  .cmp-coming-soon-maintenance .cmp-rate-us .button {
1115
+ display: block;
1116
+ text-align: center;
1117
  max-width: 150px;
1118
  margin: 0 auto 1em
1119
  }
1215
 
1216
  @media screen and (max-width:1600px) {
1217
  .cmp-coming-soon-maintenance .cmp-inputs-wrapper,
1218
+ .cmp-coming-soon-maintenance #csoptions,
1219
+ .cmp-coming-soon-maintenance .cmp-themes-manager {
1220
  max-width: 960px;
1221
  min-width: initial;
1222
  }
css/cmp-settings-style.min.css CHANGED
@@ -1 +1 @@
1
- .cmp-coming-soon-maintenance{overflow-x:hidden}.no-margin{margin:0}.cmp-coming-soon-maintenance .cmp-settings-wrapper{position:relative;margin-top:6px}.cmp-coming-soon-maintenance .wrapper-disabled{opacity:.4}.cmp-coming-soon-maintenance .comingsoon-error,.cmp-coming-soon-maintenance .comingsoon-success{padding:1em;width:calc(100% - 4em);border-left:4px solid red;background-color:#fff}.cmp-coming-soon-maintenance .comingsoon-success{border-left:4px solid #00d221}.cmp-coming-soon-maintenance .padding-bottom{padding-bottom:10px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--single,.cmp-coming-soon-maintenance input[type=text]{border:1px solid #d4d4d4;border-radius:4px;line-height:2.5em;height:2.5em;box-shadow:inset 0 1px 2px rgba(0,0,0,.03)}.cmp-coming-soon-maintenance .select2-container .select2-selection--single{height:35px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:35px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--single .select2-selection__arrow{top:4px}.cmp-coming-soon-maintenance .select2-container:not(.select2-container--open){width:100%!important}.cmp-coming-soon-maintenance input[type=range]{display:block;-webkit-appearance:none;background-color:#dedede;width:100%;height:12px;border-radius:5px;margin:10px auto 0;outline:0}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#1d3557;width:17px;height:17px;border-radius:50%;border:1px solid #d4d4d4;cursor:pointer;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}​.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb:hover{background-color:#1d3557;border:2px solid #1d3557}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.cmp-coming-soon-maintenance input[type=text],.cmp-coming-soon-maintenance textarea{width:100%}.cmp-coming-soon-maintenance .table-wrapper.cmp-bypass,.cmp-coming-soon-maintenance .table-wrapper.cmp-export-import,.cmp-coming-soon-maintenance .table-wrapper.cmp-misc,.cmp-coming-soon-maintenance .table-wrapper.cmp-notifications,.cmp-coming-soon-maintenance .table-wrapper.content,.cmp-coming-soon-maintenance .table-wrapper.install,.cmp-coming-soon-maintenance .table-wrapper.seo,.cmp-coming-soon-maintenance .table-wrapper.theme-setup{display:none}.cmp-coming-soon-maintenance .wp-upload-form.cmp{padding:4em;display:block}.cmp-coming-soon-maintenance .cmp-status{width:95%;padding:10px;font-weight:600;font-size:1.2em;cursor:pointer;opacity:.8}.cmp-coming-soon-maintenance .cmp-status.active{opacity:1}.cmp-coming-soon-maintenance .cmp-status span{font-weight:400}.cmp-coming-soon-maintenance .redirect{margin-bottom:0}.cmp-coming-soon-maintenance .help-settings,.cmp-coming-soon-maintenance .subscribers-settings,.cmp-coming-soon-maintenance .table-wrapper,.cmp-coming-soon-maintenance .translate-settings{background-color:#fff;border:1px solid #dedede;margin:0 0 1em}.cmp-coming-soon-maintenance div.custom_css{padding-bottom:2em;padding-right:3em;background:#fff;border:1px solid #dedede;max-width:100%}.cmp-coming-soon-maintenance .CodeMirror-wrap{border-right:1px solid #dedede}.cmp-coming-soon-maintenance .custom_css .cmp-submit{padding-left:1em;border-top:1px solid #dedede;padding-top:2em}.cmp-coming-soon-maintenance .cmp-inputs-wrapper .translation input,.cmp-coming-soon-maintenance .cmp-inputs-wrapper .translation textarea{width:100%}.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{display:inline-block;max-width:1140px;width:100%}.cmp-coming-soon-maintenance .table-wrapper.closed table,.cmp-coming-soon-maintenance .translate-settings tfoot{display:none}.cmp-coming-soon-maintenance .help-settings,.cmp-coming-soon-maintenance .subscribers-settings,.cmp-coming-soon-maintenance .translate-settings{max-width:calc(920px - 2em);min-width:calc(920px - 2em);padding:1em}.cmp-coming-soon-maintenance .custom_css h3,.cmp-coming-soon-maintenance .table-wrapper h3{position:relative;padding:.5em 0 .5em 1em;margin:0;border-bottom:1px solid #dedede;text-align:left}.cmp-coming-soon-maintenance .table-wrapper h3:not(.no-icon):not(.notice-title):not(#heading-example)::after{font-family:fontAwesome;content:"\f147";position:absolute;right:10px;font-weight:400;opacity:.6;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.cmp-coming-soon-maintenance #niteoCS-text-logo,.cmp-coming-soon-maintenance .theme-title,.cmp-coming-soon-maintenance th label{font-weight:600}.cmp-coming-soon-maintenance .table-wrapper.closed h3:not(.no-icon):not(.notice-title)::after{content:"\f196"}.cmp-coming-soon-maintenance .table-wrapper h4{margin:0}.cmp-coming-soon-maintenance .table-wrapper table{padding:1em;height:auto;width:95%}.cmp-coming-soon-maintenance .table-wrapper .theme-selector{width:100%}.cmp-coming-soon-maintenance .table-wrapper select{margin-bottom:10px;width:100%}.cmp-coming-soon-maintenance .table-wrapper td{width:100%;max-width:960px;margin-bottom:1em;display:block}.cmp-coming-soon-maintenance #unsplash_img,.cmp-coming-soon-maintenance .table-wrapper td.theme-selector{max-width:100%}.cmp-coming-soon-maintenance .table-wrapper th{vertical-align:top;width:180px;text-align:left;font-weight:600}.cmp-coming-soon-maintenance .table-wrapper th p:first-of-type{margin-top:0}.cmp-coming-soon-maintenance #delete-banner,.cmp-coming-soon-maintenance #delete-favicon,.cmp-coming-soon-maintenance #delete-logo,.cmp-coming-soon-maintenance #delete-seo_img,.cmp-coming-soon-maintenance #delete-video-thumb{display:none}.cmp-coming-soon-maintenance .social-inputs li.social-labels{display:block}.cmp-coming-soon-maintenance .social-media{margin-top:0;margin-bottom:3em}.cmp-coming-soon-maintenance .social-inputs{position:relative}.cmp-coming-soon-maintenance .social-inputs .label{display:none;font-weight:600;position:absolute;top:-20px;left:-8px}.cmp-coming-soon-maintenance #niteoCS-text-logo{border:none;box-shadow:none;font-size:3em}.cmp-coming-soon-maintenance .social-description{margin-top:0}.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(2){left:62px}.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(3){left:148px}.cmp-coming-soon-maintenance .social-media li{display:inline-block;padding-right:1.2em;padding-bottom:1em}.cmp-coming-soon-maintenance .social-media i{font-size:2.45em;cursor:pointer}.cmp-coming-soon-maintenance .social-media i.active{color:#d54e21}.cmp-coming-soon-maintenance .social-inputs li{display:none;width:100%}.cmp-coming-soon-maintenance .social-inputs li.active{display:inline-block}.cmp-coming-soon-maintenance #custom_content_font,.cmp-coming-soon-maintenance #custom_headings_font,.cmp-coming-soon-maintenance .unsplash-feed{display:none}.cmp-coming-soon-maintenance .social-inputs p{position:relative;padding-left:50px;height:50px}.cmp-coming-soon-maintenance .social-inputs p i{position:absolute;left:0;top:20px;font-size:30px;width:30px;cursor:move}.cmp-coming-soon-maintenance .theme-details,.cmp-coming-soon-maintenance .toggle{cursor:pointer}.cmp-coming-soon-maintenance .social-inputs label{padding-left:100px}.cmp-coming-soon-maintenance .social-inputs input[type=text]{margin-left:100px;width:calc(100% - 100px)}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]{position:absolute;width:26px;height:26px;top:23px;left:65px}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]:checked:before{margin:3px 0 0 1px}.cmp-coming-soon-maintenance #unsplash_img{display:none}.cmp-coming-soon-maintenance #unsplash-media{position:relative}.cmp-coming-soon-maintenance .color-preview,.cmp-coming-soon-maintenance .gradient-preview,.cmp-coming-soon-maintenance .pattern-wrapper{position:relative;background-repeat:repeat;height:200px;border:1px solid #ededed;margin-top:1em}.chameleon.color-preview{-webkit-animation:chameleon 19s infinite;animation:chameleon 19s infinite}@-webkit-keyframes chameleon{0%{background:#2ecc71}25%{background:#f1c40f}50%{background:#e74c3c}75%{background:#3498db}100%{background:#2ecc71}}@keyframes chameleon{0%{background:#2ecc71}25%{background:#f1c40f}50%{background:#e74c3c}75%{background:#3498db}100%{background:#2ecc71}}.cmp-coming-soon-maintenance .theme-overlay .screenshot,.cmp-coming-soon-maintenance .thumbnail-holder{position:relative;background-size:cover;background-repeat:no-repeat;background-position:center}.cmp-coming-soon-maintenance .video-local-wrapper,.cmp-coming-soon-maintenance .video-yt-wrapper{position:relative;width:100%;margin-top:1em}.cmp-coming-soon-maintenance #add-pattern{margin-bottom:1em}.cmp-coming-soon-maintenance .info{font-size:12px}.cmp-coming-soon-maintenance .nav-tab i{padding-right:3px}.cmp-coming-soon-maintenance .nav-tab-wrapper{border:none!important}.cmp-coming-soon-maintenance .nav-tab{font-weight:400;background:#fff;padding:10px 20px;border:1px solid #e2e2e2}.cmp-coming-soon-maintenance .nav-tab:first-of-type{margin-left:0}.cmp-coming-soon-maintenance .nav-tab-active,.cmp-coming-soon-maintenance .nav-tab-active:focus,.cmp-coming-soon-maintenance .nav-tab-active:focus:active,.cmp-coming-soon-maintenance .nav-tab-active:hover{background:#1d3557;border:1px solid #1d3557;outline:0;box-shadow:none;color:#fff;font-weight:600}.cmp-coming-soon-maintenance .logo-wrapper:empty{display:none}.cmp-coming-soon-maintenance .banner-wrapper,.cmp-coming-soon-maintenance .favicon-wrapper,.cmp-coming-soon-maintenance .logo-wrapper,.cmp-coming-soon-maintenance .seo_img-wrapper{margin:1em 0}.cmp-coming-soon-maintenance .favicon-wrapper img,.cmp-coming-soon-maintenance .logo-wrapper img{background-color:#efefef;padding:1em}.cmp-coming-soon-maintenance .favicon-wrapper img{max-width:32px}.cmp-coming-soon-maintenance .background-media img,.cmp-coming-soon-maintenance .logo-wrapper img,.cmp-coming-soon-maintenance .seo_img-wrapper img{max-width:100%;width:100%;vertical-align:top}.cmp-coming-soon-maintenance .background-thumb-wrapper,.cmp-coming-soon-maintenance .video-thumb-wrapper{position:relative;margin:1em 0;overflow:hidden}.cmp-coming-soon-maintenance .thumbnail-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.cmp-coming-soon-maintenance .custom-gallery:not(.gallery-1):not(.gallery-2){display:-ms-grid;display:grid;height:auto;-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;-ms-grid-rows:1fr auto;grid-template-rows:1fr auto;grid-template-areas:"Big Big Big" "small-3 small-2 small-1";grid-gap:10px}.cmp-coming-soon-maintenance .custom-gallery.gallery-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"Big Big" "small-2 small-1"!important}.cmp-coming-soon-maintenance .gallery-2 .big-thumb{margin-bottom:1em}.cmp-coming-soon-maintenance .big-thumb{grid-area:Big/Big;overflow:hidden;position:relative}.cmp-coming-soon-maintenance .logo-wrapper img{max-height:150px;width:auto}.cmp-coming-soon-maintenance #font-example-wrapper{padding:1em;border:1px solid #dedede;overflow:hidden;min-height:20em;overflow:auto}.cmp-coming-soon-maintenance #heading-example{border-bottom:none;line-height:1.5;padding:0}.cmp-coming-soon-maintenance .font-selector td:first-of-type{padding-bottom:2em;display:flex;flex-wrap:wrap}.cmp-coming-soon-maintenance .font-selector fieldset{box-sizing:border-box;padding:.5em .2em;flex:1;min-width:100%}.cmp-coming-soon-maintenance .font-selector .cmp-width-33{min-width:30%}.cmp-coming-soon-maintenance .font-selector .cmp-width-50{min-width:50%}.cmp-coming-soon-maintenance .theme-wrapper{display:inline-block;margin:10px 10px 0 0;width:calc(33.33% - 12px);text-align:center;border:1px solid #efefef;border-radius:6px;position:relative}.cmp-coming-soon-maintenance .theme-wrapper:nth-of-type(3n){margin-right:0}.cmp-coming-soon-maintenance .theme-wrapper.active{background-color:#ddd}.cmp-coming-soon-maintenance .thumbnail-holder{width:100%;border-top-left-radius:5px;border-top-right-radius:5px}.cmp-coming-soon-maintenance .thumbnail-holder::before{content:'';display:block;padding-top:56.25%;-o-transition:background-color .1s;transition:background-color .1s;border-top-left-radius:5px;border-top-right-radius:5px}.cmp-coming-soon-maintenance .theme-wrapper:hover .thumbnail-holder::before{background-color:rgba(0,0,0,.95)}.cmp-coming-soon-maintenance .toggle,.cmp-coming-soon-maintenance .toggle-wrapper{display:inline-block}.cmp-coming-soon-maintenance .theme-title{text-transform:uppercase}.cmp-coming-soon-maintenance .theme-version{float:right}.cmp-coming-soon-maintenance .theme-wrapper .hide:not(.selected){opacity:0;-o-transition:opacity .1s,background-color .1s;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-wrapper:hover .hide{opacity:1;-o-transition:opacity .1s,background-color .1s;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-inputs{padding:5px;height:2em;line-height:2em;color:#656565}.cmp-coming-soon-maintenance .active .theme-inputs{background:#2d936c;color:#fff}.cmp-coming-soon-maintenance .theme-inputs .italic{font-style:italic}.cmp-coming-soon-maintenance .theme-wrapper .buttons-wrapper{position:absolute;top:calc(50% - 1em);left:0;right:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.cmp-coming-soon-maintenance .cmp-button,.cmp-coming-soon-maintenance .cmp-preview,.cmp-coming-soon-maintenance .theme-wrapper .button{height:28px;line-height:28px;padding:0 10px;min-width:80px;border-radius:3px;color:#fff!important;-moz-appearance:none;-webkit-appearance:none;-o-transition:background-color .5s;transition:background-color .5s;border:none!important;box-shadow:none;-webkit-box-shadow:none;text-shadow:none;text-transform:uppercase;cursor:pointer}.cmp-coming-soon-maintenance .cmp-button.submit,.cmp-coming-soon-maintenance .theme-actions .activate{background-color:#e63946;color:#fff;border:none;-o-transition:background-color .5s;transition:background-color .5s}.cmp-coming-soon-maintenance .import-export-button{background-color:#0085ba}.cmp-coming-soon-maintenance .theme-wrapper a.button:focus,.cmp-coming-soon-maintenance .theme-wrapper a.button:visited{background:0 0;box-shadow:none}.cmp-coming-soon-maintenance .theme-wrapper a.button.theme-purchase{background-color:#ff3284}.cmp-coming-soon-maintenance .cmp-status-pages .label,.cmp-coming-soon-maintenance .cmp-status-pages label{height:33px;width:140px;display:flex;align-items:center;justify-content:center;flex-direction:inherit;text-align:center;border-bottom:2px solid transparent;border-radius:0;float:left;margin-top:2em;margin-left:3em;margin-bottom:2em}.cmp-coming-soon-maintenance .cmp-status-pages .label.active,.cmp-coming-soon-maintenance .cmp-status-pages label.active{border-color:rgba(29,53,87,.6)}.cmp-coming-soon-maintenance .cmp-status-pages label:first-of-type{margin-left:0}.cmp-coming-soon-maintenance .cmp-status-pages a{color:inherit}.cmp-coming-soon-maintenance .cmp-status-pages input{margin:0;margin-right:.5em}.redirect-inputs{font-size:.8em;font-weight:400}.cmp-coming-soon-maintenance .cmp-button.submit:focus,.cmp-coming-soon-maintenance .cmp-button.submit:hover,.cmp-coming-soon-maintenance .theme-actions .activate:focus,.cmp-coming-soon-maintenance .theme-actions .activate:hover{background-color:#e63946;color:#fff;border:none}.cmp-coming-soon-maintenance .theme-wrapper .button{border:2px solid #fff!important;background:0 0;min-width:190px;line-height:2.5em;height:3em}.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]{position:relative;background:0 0;border:none;outline:0;box-shadow:none}.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]::before{content:none}.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]::after{content:'';font-family:fontAwesome;content:"\f096";position:absolute;top:3px;left:0;opacity:1;color:#fff}.cmp-coming-soon-maintenance .theme-wrapper .selected.button.theme-select input[type=radio]::after{content:"\f046";color:#23282d}.cmp-coming-soon-maintenance .theme-wrapper.active .button.theme-select input[type=radio]::after{content:"\f046"}.cmp-coming-soon-maintenance .theme-wrapper .button:hover,.cmp-coming-soon-maintenance .theme-wrapper a.button:hover{background:#fff;color:#23282d!important}.cmp-coming-soon-maintenance .selected.button,.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select:hover input[type=radio]::after{color:#23282d!important}.cmp-coming-soon-maintenance .theme-wrapper .theme-preview,.cmp-coming-soon-maintenance .theme-wrapper .theme-purchase,.cmp-coming-soon-maintenance .theme-wrapper .theme-select{margin-bottom:5px}.cmp-coming-soon-maintenance .theme-wrapper .theme-select.selected{background-color:#fff}.cmp-coming-soon-maintenance .theme-wrapper .theme-details.button{line-height:0}.cmp-coming-soon-maintenance .cmp-preview{background-color:#2485bf!important}.cmp-coming-soon-maintenance .cmp-preview:active,.cmp-coming-soon-maintenance .cmp-preview:hover{background-color:#32b2ff!important}.cmp-coming-soon-maintenance .theme-info .theme-purchase{width:auto;min-width:40%;height:55px;font-size:2em;background-color:#2c3e50;border:none}.cmp-coming-soon-maintenance .theme-info .theme-purchase:focus,.cmp-coming-soon-maintenance .theme-info .theme-purchase:hover{background-color:#34495e}.cmp-coming-soon-maintenance .button i{margin-right:5px}.cmp-coming-soon-maintenance .theme-purchase a,.cmp-coming-soon-maintenance .theme-purchase a:hover,.cmp-coming-soon-maintenance .theme-purchase a:visited{color:#fff;text-decoration:none}.cmp-coming-soon-maintenance p.cmp-submit{margin:0;padding-top:0;font-weight:400;text-align:left}.cmp-coming-soon-maintenance .theme-overlay .screenshot{-o-transition:background-image .2s ease-in-out;transition:background-image .2s ease-in-out}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav{position:absolute;right:0;top:0;color:#fff;cursor:pointer}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav div{width:40px;height:40px;background-color:#000;line-height:40px;opacity:.7;-o-transition:opacity .5s;transition:opacity .5s}.cmp-coming-soon-maintenance .fifty-layout input:checked+img,.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav div:hover{opacity:1}.cmp-coming-soon-maintenance .toggle,.cmp-coming-soon-maintenance .toggle:after,.cmp-coming-soon-maintenance .toggle:before{-webkit-transition:all .2s ease-in-out}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav .left{float:left}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav .right{float:right}.cmp-coming-soon-maintenance .theme-description ul{list-style:none;padding-left:2em}.cmp-coming-soon-maintenance .theme-description h4,.cmp-coming-soon-maintenance .theme-description li{font-size:13px}.cmp-coming-soon-maintenance .theme-description .supported i{color:green}.cmp-coming-soon-maintenance .theme-description .not-supported i{color:red}.cmp-coming-soon-maintenance .wp-list-table .column-id{width:5%}.cmp-coming-soon-maintenance .cmp-status{margin-bottom:1em}.cmp-coming-soon-maintenance .toggle{position:relative;width:340px;height:50px;font-weight:600;background:0 0;border:2px solid rgba(29,53,87,.6);-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;border-radius:15px}.cmp-coming-soon-maintenance .toggle:after,.cmp-coming-soon-maintenance .toggle:before{position:absolute;line-height:50px;font-size:1em;z-index:2;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.cmp-coming-soon-maintenance input[type=checkbox].toggle-checkbox{display:none}.cmp-coming-soon-maintenance .toggle_handler{display:inline-block;position:relative;z-index:1;background:#e63946;width:170px;height:44px;top:3px;left:5px;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);border-radius:10px}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle .toggle_handler{-webkit-transform:translateX(160px);-ms-transform:translateX(160px);transform:translateX(160px);background:#2d936c}.cmp-coming-soon-maintenance .toggle:before{content:"Disabled";left:63px;color:#fff}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle:before,.cmp-coming-soon-maintenance .toggle:after{color:#444}.cmp-coming-soon-maintenance .toggle:after{content:"Enabled";right:68px}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle:after{color:#fff}.cmp-coming-soon-maintenance .fifty-layout label{display:block;position:relative;padding-bottom:1em;margin-top:1em}.cmp-coming-soon-maintenance .fifty-layout input{visibility:hidden;position:absolute;margin:0}.cmp-coming-soon-maintenance .fifty-layout img{display:block;opacity:.3;outline:solid 1px;padding:2px;margin-left:5px;margin-top:5px}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{display:inline-block;width:calc(100% - 6em - 1088px);max-width:350px;min-width:300px;margin-left:1em;padding-top:0;vertical-align:top;text-align:center}.cmp-advanced .cmp-sidebar-wrapper,.content-settings .cmp-sidebar-wrapper{margin-top:61px}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:2em;border:1px solid #dedede;background:#fff}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget.selected-theme{padding:0}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget.selected-theme img{vertical-align:top}.cmp-coming-soon-maintenance .widget.donate img{padding:0}.cmp-coming-soon-maintenance .widget.donate img.niteo-logo{max-width:120px}.cmp-coming-soon-maintenance .cmp-rate-us .button,.cmp-coming-soon-maintenance .cmp-rate-us a{display:block;text-align:center}.cmp-coming-soon-maintenance .cmp-rate-us a{padding:1em 0}.cmp-coming-soon-maintenance .cmp-rate-us .button{max-width:150px;margin:0 auto 1em}.cmp-coming-soon-maintenance .cmp-rate-us form{text-align:center}.cmp-coming-soon-maintenance .subscribers .column-id{width:5%}.cmp-coming-soon-maintenance #niteoCS_subscribe_label{height:150px}.cmp-coming-soon-maintenance #subscribe-3rdparty fieldset,.cmp-coming-soon-maintenance .constellation{margin-top:1em}.cmp-coming-soon-maintenance .cmp-hint{font-size:.9em}.cmp-coming-soon-maintenance .source-repeater-fields input,.cmp-coming-soon-maintenance .target-repeater-fields input{width:95%;margin-bottom:1em}.cmp-coming-soon-maintenance .source-repeater-fields i,.cmp-coming-soon-maintenance .target-repeater-fields i{line-height:2.5;float:right}.logo-height-wrap{display:flex;line-height:2}.logo-height-wrap input[type=range]{margin-right:1em}.cmp-coming-soon-maintenance .table-wrapper.cmp-bundle-banner{margin:0;border:none;margin-bottom:.7em;display:block;background:0 0}.cmp-coming-soon-maintenance .table-wrapper.cmp-bundle-banner img{max-width:100%;height:auto}.cmp-coming-soon-maintenance .source-repeater-fields a{display:none}.cmp-coming-soon-maintenance .cmp-export-import textarea{display:none}.cmp-coming-soon-maintenance .import-json-label{position:relative}.cmp-coming-soon-maintenance .import-json-label.import-fail{background:red}.cmp-coming-soon-maintenance .import-json-label:before{display:block;content:attr(data-default)}.cmp-coming-soon-maintenance #cmp-import-json{display:none}.cmp-coming-soon-maintenance .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:35px;-moz-user-select:none;-ms-user-select:none;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;-o-text-overflow:ellipsis;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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;-o-text-overflow:ellipsis;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:#fff;border:1px solid #dedede;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;-moz-user-select:none;-ms-user-select:none;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}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;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:#fff;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__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.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:700;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-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{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 #000 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--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #dedede;border-radius:4px}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;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:#2980b9;color:#fff}.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:-o-linear-gradient(top,#fff 50%,#eee 100%);background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.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:700;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:-o-linear-gradient(top,#eee 50%,#ccc 100%);background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.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:0 0;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:-o-linear-gradient(top,#fff 0,#eee 50%);background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.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:-o-linear-gradient(top,#eee 50%,#fff 100%);background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;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:700;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}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{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}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#2980b9;color:#fff;border:none;padding:3px 5px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#fff}.cmp-coming-soon-maintenance .select2-container--default .select2-search--inline .select2-search__field{line-height:2.5em;margin-top:0}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--multiple .select2-selection__rendered li{margin-bottom:0}.cmp-coming-soon-maintenance .select2-container .select2-selection--multiple .select2-selection__rendered{display:block}.cmp-coming-soon-maintenance .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.cmp-coming-soon-maintenance .select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#2980b9}#niteoCS_body_ifr{min-height:280px}@media screen and (max-width:1600px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{max-width:960px;min-width:initial}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{max-width:270px;min-width:initial;width:100%}}@media screen and (max-width:1270px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{min-width:100%;max-width:100%}}@media screen and (max-width:1024px){.cmp-coming-soon-maintenance .table-wrapper table{width:100%}.cmp-coming-soon-maintenance .table-wrapper th{width:140px}.cmp-coming-soon-maintenance .theme-wrapper,.cmp-coming-soon-maintenance .theme-wrapper.premium{width:calc(50% - 1em - 5px)}.cmp-coming-soon-maintenance .theme-wrapper:nth-of-type(3n){margin-right:1em}}@media screen and (max-width:782px){.cmp-coming-soon-maintenance .theme-wrapper,.cmp-coming-soon-maintenance .theme-wrapper.premium{margin-right:0;width:calc(100% - 5px)}.cmp-coming-soon-maintenance .table-wrapper th{display:block}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:1em}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]:checked:before{margin:-1px 0 0 -4px}.cmp-coming-soon-maintenance .cmp-inputs-wrapper,.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{display:block;max-width:100%;width:100%;margin:0}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:2em;margin-bottom:1em!important}.cmp-coming-soon-maintenance .theme-overlay .theme-info,.cmp-coming-soon-maintenance .theme-overlay .theme-screenshots{width:100%;float:none}.cmp-coming-soon-maintenance input[type=text],.cmp-coming-soon-maintenance textarea{font-size:13px}.cmp-coming-soon-maintenance #font-example-wrapper{min-height:24em}}@media screen and (max-width:560px){.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(2){left:50px}.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(3){left:105px}.cmp-coming-soon-maintenance .social-inputs p i{top:22px}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]{top:28px;left:53px}.cmp-coming-soon-maintenance .social-inputs label{padding-left:55px}.cmp-coming-soon-maintenance .social-inputs input[type=text]{margin-left:55px;width:calc(100% - 55px)}}
1
+ .cmp-coming-soon-maintenance{overflow-x:hidden}.no-margin{margin:0}.cmp-coming-soon-maintenance .cmp-settings-wrapper{position:relative;margin-top:6px}.cmp-coming-soon-maintenance .wrapper-disabled{opacity:.4}.cmp-coming-soon-maintenance .comingsoon-error,.cmp-coming-soon-maintenance .comingsoon-success{padding:1em;width:calc(100% - 4em);border-left:4px solid red;background-color:#fff}.cmp-coming-soon-maintenance .comingsoon-success{border-left:4px solid #00d221}.cmp-coming-soon-maintenance .padding-bottom{padding-bottom:10px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--single,.cmp-coming-soon-maintenance input[type=text]{border:1px solid #d4d4d4;border-radius:4px;line-height:2.5em;height:2.5em;box-shadow:inset 0 1px 2px rgba(0,0,0,.03)}.cmp-coming-soon-maintenance .select2-container .select2-selection--single{height:35px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:35px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--single .select2-selection__arrow{top:4px}.cmp-coming-soon-maintenance .select2-container:not(.select2-container--open){width:100%!important}.cmp-coming-soon-maintenance input[type=range]{display:block;-webkit-appearance:none;background-color:#dedede;width:100%;height:12px;border-radius:5px;margin:10px auto 0;outline:0}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#1d3557;width:17px;height:17px;border-radius:50%;border:1px solid #d4d4d4;cursor:pointer;-o-transition:.3s ease-in-out;transition:.3s ease-in-out}​.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb:hover{background-color:#1d3557;border:2px solid #1d3557}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.cmp-coming-soon-maintenance input[type=text],.cmp-coming-soon-maintenance textarea{width:100%;border:1px solid #d4d4d4}.cmp-coming-soon-maintenance .table-wrapper.cmp-bypass,.cmp-coming-soon-maintenance .table-wrapper.cmp-export-import,.cmp-coming-soon-maintenance .table-wrapper.cmp-misc,.cmp-coming-soon-maintenance .table-wrapper.cmp-notifications,.cmp-coming-soon-maintenance .table-wrapper.content,.cmp-coming-soon-maintenance .table-wrapper.install,.cmp-coming-soon-maintenance .table-wrapper.seo,.cmp-coming-soon-maintenance .table-wrapper.theme-setup{display:none}.cmp-coming-soon-maintenance .wp-upload-form.cmp{padding:4em;display:block}.cmp-coming-soon-maintenance .cmp-status{width:95%;padding:10px;font-weight:600;font-size:1.2em;cursor:pointer;opacity:.8}.cmp-coming-soon-maintenance .cmp-status.active{opacity:1}.cmp-coming-soon-maintenance .cmp-status span{font-weight:400}.cmp-coming-soon-maintenance .redirect{margin-bottom:0}.cmp-coming-soon-maintenance .help-settings,.cmp-coming-soon-maintenance .subscribers-settings,.cmp-coming-soon-maintenance .table-wrapper,.cmp-coming-soon-maintenance .translate-settings{background-color:#fff;border:1px solid #dedede;margin:0 0 1em}.cmp-coming-soon-maintenance div.custom_css{padding-bottom:2em;padding-right:3em;background:#fff;border:1px solid #dedede;max-width:100%}.cmp-coming-soon-maintenance .CodeMirror-wrap{border-right:1px solid #dedede}.cmp-coming-soon-maintenance .custom_css .cmp-submit{padding-left:1em;border-top:1px solid #dedede;padding-top:2em}.cmp-coming-soon-maintenance .cmp-inputs-wrapper .translation input,.cmp-coming-soon-maintenance .cmp-inputs-wrapper .translation textarea{width:100%}.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper,.cmp-coming-soon-maintenance .cmp-themes-manager{display:inline-block;max-width:1140px;width:100%}.cmp-coming-soon-maintenance .cmp-inputs-wrapper.help-settings,.cmp-coming-soon-maintenance .cmp-inputs-wrapper.subscribers-settings,.cmp-coming-soon-maintenance .cmp-inputs-wrapper.translate-settings{padding:2em}.cmp-coming-soon-maintenance .table-wrapper.closed table,.cmp-coming-soon-maintenance .translate-settings tfoot{display:none}.cmp-coming-soon-maintenance .custom_css h3,.cmp-coming-soon-maintenance .table-wrapper h3{position:relative;padding:.5em 0 .5em 1em;margin:0;border-bottom:1px solid #dedede;text-align:left}.cmp-coming-soon-maintenance .table-wrapper h3:not(.no-icon):not(.notice-title):not(#heading-example)::after{font-family:fontAwesome;content:"\f147";position:absolute;right:10px;font-weight:400;opacity:.6;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.cmp-coming-soon-maintenance #niteoCS-text-logo,.cmp-coming-soon-maintenance .theme-title,.cmp-coming-soon-maintenance th label{font-weight:600}.cmp-coming-soon-maintenance .table-wrapper.closed h3:not(.no-icon):not(.notice-title)::after{content:"\f196"}.cmp-coming-soon-maintenance .table-wrapper h4{margin:0}.cmp-coming-soon-maintenance .table-wrapper table{padding:1em;height:auto;width:95%}.cmp-coming-soon-maintenance .table-wrapper .theme-selector{width:100%}.cmp-coming-soon-maintenance .table-wrapper select{margin-bottom:10px;width:100%}.cmp-coming-soon-maintenance .table-wrapper td{width:100%;max-width:960px;margin-bottom:1em;display:block}.cmp-coming-soon-maintenance #unsplash_img,.cmp-coming-soon-maintenance .table-wrapper td.theme-selector{max-width:100%}.cmp-coming-soon-maintenance .table-wrapper th{vertical-align:top;width:180px;text-align:left;font-weight:600}.cmp-coming-soon-maintenance .table-wrapper th p:first-of-type{margin-top:0}.cmp-coming-soon-maintenance #delete-banner,.cmp-coming-soon-maintenance #delete-favicon,.cmp-coming-soon-maintenance #delete-logo,.cmp-coming-soon-maintenance #delete-seo_img,.cmp-coming-soon-maintenance #delete-video-thumb{display:none}.cmp-coming-soon-maintenance .social-inputs li.social-labels{display:block}.cmp-coming-soon-maintenance .social-media{margin-top:0;margin-bottom:3em}.cmp-coming-soon-maintenance .social-inputs{position:relative}.cmp-coming-soon-maintenance .social-inputs .label{display:none;font-weight:600;position:absolute;top:-20px;left:-8px}.cmp-coming-soon-maintenance #niteoCS-text-logo{border:none;box-shadow:none;font-size:3em}.cmp-coming-soon-maintenance .social-description{margin-top:0}.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(2){left:62px}.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(3){left:148px}.cmp-coming-soon-maintenance .social-media li{display:inline-block;padding-right:1.2em;padding-bottom:1em}.cmp-coming-soon-maintenance .social-media i{font-size:2.45em;cursor:pointer}.cmp-coming-soon-maintenance .social-media i.active{color:#d54e21}.cmp-coming-soon-maintenance .social-inputs li{display:none;width:100%}.cmp-coming-soon-maintenance .social-inputs li.active{display:inline-block}.cmp-coming-soon-maintenance #custom_content_font,.cmp-coming-soon-maintenance #custom_headings_font,.cmp-coming-soon-maintenance .unsplash-feed{display:none}.cmp-coming-soon-maintenance .social-inputs p{position:relative;padding-left:50px;height:50px}.cmp-coming-soon-maintenance .social-inputs p i{position:absolute;left:0;top:20px;font-size:30px;width:30px;cursor:move}.cmp-coming-soon-maintenance .theme-details,.cmp-coming-soon-maintenance .toggle{cursor:pointer}.cmp-coming-soon-maintenance .social-inputs label{padding-left:100px}.cmp-coming-soon-maintenance .social-inputs input[type=text]{margin-left:100px;width:calc(100% - 100px)}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]{position:absolute;width:26px;height:26px;top:23px;left:65px}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]:checked:before{margin:3px 0 0 1px}.cmp-coming-soon-maintenance #unsplash_img{display:none}.cmp-coming-soon-maintenance #unsplash-media{position:relative}.cmp-coming-soon-maintenance .color-preview,.cmp-coming-soon-maintenance .gradient-preview,.cmp-coming-soon-maintenance .pattern-wrapper{position:relative;background-repeat:repeat;height:200px;border:1px solid #ededed;margin-top:1em}.chameleon.color-preview{-webkit-animation:chameleon 19s infinite;animation:chameleon 19s infinite}@-webkit-keyframes chameleon{0%{background:#2ecc71}25%{background:#f1c40f}50%{background:#e74c3c}75%{background:#3498db}100%{background:#2ecc71}}@keyframes chameleon{0%{background:#2ecc71}25%{background:#f1c40f}50%{background:#e74c3c}75%{background:#3498db}100%{background:#2ecc71}}.cmp-coming-soon-maintenance .theme-overlay .screenshot,.cmp-coming-soon-maintenance .thumbnail-holder{position:relative;background-size:cover;background-repeat:no-repeat;background-position:center}.cmp-coming-soon-maintenance .video-local-wrapper,.cmp-coming-soon-maintenance .video-yt-wrapper{position:relative;width:100%;margin-top:1em}.cmp-coming-soon-maintenance #add-pattern{margin-bottom:1em}.cmp-coming-soon-maintenance .info{font-size:12px}.cmp-coming-soon-maintenance .nav-tab i{padding-right:3px}.cmp-coming-soon-maintenance .nav-tab-wrapper{border:none!important}.cmp-coming-soon-maintenance .nav-tab{font-weight:400;background:#fff;padding:10px 20px;border:1px solid #e2e2e2}.cmp-coming-soon-maintenance .nav-tab:first-of-type{margin-left:0}.cmp-coming-soon-maintenance .nav-tab-active,.cmp-coming-soon-maintenance .nav-tab-active:focus,.cmp-coming-soon-maintenance .nav-tab-active:focus:active,.cmp-coming-soon-maintenance .nav-tab-active:hover{background:#1d3557;border:1px solid #1d3557;outline:0;box-shadow:none;color:#fff;font-weight:600}.cmp-coming-soon-maintenance .logo-wrapper:empty{display:none}.cmp-coming-soon-maintenance .banner-wrapper,.cmp-coming-soon-maintenance .favicon-wrapper,.cmp-coming-soon-maintenance .logo-wrapper,.cmp-coming-soon-maintenance .seo_img-wrapper{margin:1em 0}.cmp-coming-soon-maintenance .favicon-wrapper img,.cmp-coming-soon-maintenance .logo-wrapper img{background-color:#efefef;padding:1em}.cmp-coming-soon-maintenance .favicon-wrapper img{max-width:32px}.cmp-coming-soon-maintenance .background-media img,.cmp-coming-soon-maintenance .logo-wrapper img,.cmp-coming-soon-maintenance .seo_img-wrapper img{max-width:100%;width:100%;vertical-align:top}.cmp-coming-soon-maintenance .background-thumb-wrapper,.cmp-coming-soon-maintenance .video-thumb-wrapper{position:relative;margin:1em 0;overflow:hidden}.cmp-coming-soon-maintenance .thumbnail-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.cmp-coming-soon-maintenance .custom-gallery:not(.gallery-1):not(.gallery-2){display:-ms-grid;display:grid;height:auto;-ms-grid-columns:1fr 1fr 1fr;grid-template-columns:1fr 1fr 1fr;-ms-grid-rows:1fr auto;grid-template-rows:1fr auto;grid-template-areas:"Big Big Big" "small-3 small-2 small-1";grid-gap:10px}.cmp-coming-soon-maintenance .custom-gallery.gallery-3{-ms-grid-columns:1fr 1fr!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"Big Big" "small-2 small-1"!important}.cmp-coming-soon-maintenance .gallery-2 .big-thumb{margin-bottom:1em}.cmp-coming-soon-maintenance .big-thumb{grid-area:Big/Big;overflow:hidden;position:relative}.cmp-coming-soon-maintenance .logo-wrapper img{max-height:150px;width:auto}.cmp-coming-soon-maintenance #font-example-wrapper{padding:1em;border:1px solid #dedede;overflow:hidden;min-height:20em;overflow:auto}.cmp-coming-soon-maintenance #heading-example{border-bottom:none;line-height:1.5;padding:0}.cmp-coming-soon-maintenance .font-selector td:first-of-type{padding-bottom:2em;display:flex;flex-wrap:wrap}.cmp-coming-soon-maintenance .font-selector fieldset{box-sizing:border-box;padding:.5em .2em;flex:1;min-width:100%}.cmp-coming-soon-maintenance .font-selector .cmp-width-33{min-width:30%}.cmp-coming-soon-maintenance .font-selector .cmp-width-50{min-width:50%}.cmp-coming-soon-maintenance .theme-wrapper{display:inline-block;margin:10px 10px 0 0;width:calc(33.33% - 12px);text-align:center;border:1px solid #efefef;border-radius:6px;position:relative}.cmp-coming-soon-maintenance .theme-wrapper.active{background:#2d936c}.cmp-coming-soon-maintenance .theme-wrapper:nth-of-type(3n){margin-right:0}.cmp-coming-soon-maintenance .thumbnail-holder{width:100%;border-top-left-radius:5px;border-top-right-radius:5px}.cmp-coming-soon-maintenance .thumbnail-holder::before{content:'';display:block;padding-top:56.25%;-o-transition:background-color .1s;transition:background-color .1s;border-top-left-radius:5px;border-top-right-radius:5px}.cmp-coming-soon-maintenance .theme-wrapper:hover .thumbnail-holder::before{background-color:rgba(0,0,0,.95)}.cmp-coming-soon-maintenance .toggle,.cmp-coming-soon-maintenance .toggle-wrapper{display:inline-block}.cmp-coming-soon-maintenance .theme-title{text-transform:uppercase;flex:1}.cmp-coming-soon-maintenance .theme-version{float:right}.cmp-coming-soon-maintenance .theme-wrapper .button{background:0 0;opacity:0;-o-transition:opacity .1s,background-color .1s;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-wrapper:hover .button{opacity:1;-o-transition:opacity .1s,background-color .1s;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-inputs{display:flex;padding:10px;height:2em;line-height:2em;color:#656565;position:relative}.cmp-coming-soon-maintenance .active .theme-inputs{color:#fff}.cmp-coming-soon-maintenance .theme-inputs .italic{font-style:italic}.cmp-coming-soon-maintenance .theme-wrapper .buttons-wrapper{position:absolute;top:calc(50% - 1em);left:0;right:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.cmp-coming-soon-maintenance .cmp-button,.cmp-coming-soon-maintenance .cmp-preview,.cmp-coming-soon-maintenance .theme-wrapper .button{height:28px;line-height:28px;padding:0 10px;min-width:80px;border-radius:3px;color:#fff!important;-moz-appearance:none;-webkit-appearance:none;-o-transition:background-color .5s;transition:background-color .5s;border:none!important;box-shadow:none;-webkit-box-shadow:none;text-shadow:none;text-transform:uppercase;cursor:pointer}.cmp-coming-soon-maintenance .cmp-activate-theme{padding:3px 9px 5px 9px;border-radius:5px;line-height:1;cursor:pointer;background:0 0;border:1px solid #dadada}.cmp-coming-soon-maintenance .cmp-purchase-theme{background:#ff3284;color:#fff;line-height:3.5;border:none;text-decoration:none;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:5px;border-top-left-radius:0;border-top-right-radius:0;text-transform:uppercase}.cmp-coming-soon-maintenance .cmp-purchase-theme i{padding-right:5px}.cmp-coming-soon-maintenance .cmp-activate-theme:hover{background:#e63946;color:#fff;border:1px solid}.cmp-coming-soon-maintenance .cmp-button.submit{background-color:#e63946;color:#fff;border:none;-o-transition:background-color .5s;transition:background-color .5s}.cmp-coming-soon-maintenance .import-export-button{background-color:#0085ba}.cmp-coming-soon-maintenance .theme-wrapper a.button:focus,.cmp-coming-soon-maintenance .theme-wrapper a.button:visited{background:0 0;box-shadow:none}.cmp-coming-soon-maintenance .cmp-status-pages .label,.cmp-coming-soon-maintenance .cmp-status-pages label{height:33px;width:140px;display:flex;align-items:center;justify-content:center;flex-direction:inherit;text-align:center;border-bottom:2px solid transparent;border-radius:0;float:left;margin-top:2em;margin-left:3em;margin-bottom:2em}.cmp-coming-soon-maintenance .cmp-status-pages .label.active,.cmp-coming-soon-maintenance .cmp-status-pages label.active{border-color:rgba(29,53,87,.6)}.cmp-coming-soon-maintenance .cmp-status-pages label:first-of-type{margin-left:0}.cmp-coming-soon-maintenance .cmp-status-pages a{color:inherit}.cmp-coming-soon-maintenance .cmp-status-pages input{margin:0;margin-right:.5em}.redirect-inputs{font-size:.8em;font-weight:400}.cmp-coming-soon-maintenance .cmp-button.submit:focus,.cmp-coming-soon-maintenance .cmp-button.submit:hover{background-color:#e63946;color:#fff;border:none}.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]{position:relative;background:0 0;border:none;outline:0;box-shadow:none}.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]::before{content:none}.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]::after{content:'';font-family:fontAwesome;content:"\f096";position:absolute;top:3px;left:0;opacity:1;color:#fff}.cmp-coming-soon-maintenance .theme-wrapper .selected.button.theme-select input[type=radio]::after{content:"\f046";color:#23282d}.cmp-coming-soon-maintenance .theme-wrapper.active .button.theme-select input[type=radio]::after{content:"\f046"}.cmp-coming-soon-maintenance .theme-wrapper .button:hover,.cmp-coming-soon-maintenance .theme-wrapper a.button:hover{background:#fff;color:#23282d!important}.cmp-coming-soon-maintenance .selected.button,.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select:hover input[type=radio]::after{color:#23282d!important}.cmp-coming-soon-maintenance .theme-wrapper .theme-preview,.cmp-coming-soon-maintenance .theme-wrapper .theme-select{margin-bottom:5px}.cmp-coming-soon-maintenance .cmp-preview{background-color:#2485bf!important}.cmp-coming-soon-maintenance .cmp-preview:active,.cmp-coming-soon-maintenance .cmp-preview:hover{background-color:#32b2ff!important}.cmp-coming-soon-maintenance .theme-info .theme-purchase{width:auto;min-width:40%;height:55px;font-size:2em;background-color:#ff3284;border:none}.cmp-coming-soon-maintenance .button i{margin-right:5px}.cmp-coming-soon-maintenance .theme-purchase a,.cmp-coming-soon-maintenance .theme-purchase a:hover,.cmp-coming-soon-maintenance .theme-purchase a:visited{color:#fff;text-decoration:none}.cmp-coming-soon-maintenance p.cmp-submit{margin:0;padding-top:0;font-weight:400;text-align:left}.cmp-coming-soon-maintenance .theme-overlay .screenshot{-o-transition:background-image .2s ease-in-out;transition:background-image .2s ease-in-out}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav{position:absolute;right:0;top:0;color:#fff;cursor:pointer}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav div{width:40px;height:40px;background-color:#000;line-height:40px;opacity:.7;-o-transition:opacity .5s;transition:opacity .5s}.cmp-coming-soon-maintenance .fifty-layout input:checked+img,.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav div:hover{opacity:1}.cmp-coming-soon-maintenance .toggle,.cmp-coming-soon-maintenance .toggle:after,.cmp-coming-soon-maintenance .toggle:before{-webkit-transition:all .2s ease-in-out}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav .left{float:left}.cmp-coming-soon-maintenance .theme-overlay .screenshots-nav .right{float:right}.cmp-coming-soon-maintenance .theme-description ul{list-style:none;padding-left:2em}.cmp-coming-soon-maintenance .theme-description h4,.cmp-coming-soon-maintenance .theme-description li{font-size:13px}.cmp-coming-soon-maintenance .theme-description .supported i{color:green}.cmp-coming-soon-maintenance .theme-description .not-supported i{color:red}.cmp-coming-soon-maintenance .wp-list-table .column-id{width:5%}.cmp-coming-soon-maintenance .cmp-status{margin-bottom:1em}.cmp-coming-soon-maintenance .toggle{position:relative;width:340px;height:50px;font-weight:600;background:0 0;border:2px solid rgba(29,53,87,.6);-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;border-radius:15px}.cmp-coming-soon-maintenance .toggle:after,.cmp-coming-soon-maintenance .toggle:before{position:absolute;line-height:50px;font-size:1em;z-index:2;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.cmp-coming-soon-maintenance input[type=checkbox].toggle-checkbox{display:none}.cmp-coming-soon-maintenance .toggle_handler{display:inline-block;position:relative;z-index:1;background:#e63946;width:170px;height:44px;top:3px;left:5px;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);border-radius:10px}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle .toggle_handler{-webkit-transform:translateX(160px);-ms-transform:translateX(160px);transform:translateX(160px);background:#2d936c}.cmp-coming-soon-maintenance .toggle:before{content:"Disabled";left:63px;color:#fff}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle:before,.cmp-coming-soon-maintenance .toggle:after{color:#444}.cmp-coming-soon-maintenance .toggle:after{content:"Enabled";right:68px}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle:after{color:#fff}.cmp-coming-soon-maintenance .fifty-layout label{display:block;position:relative;padding-bottom:1em;margin-top:1em}.cmp-coming-soon-maintenance .fifty-layout input{visibility:hidden;position:absolute;margin:0}.cmp-coming-soon-maintenance .fifty-layout img{display:block;opacity:.3;outline:solid 1px;padding:2px;margin-left:5px;margin-top:5px}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{display:inline-block;width:calc(100% - 6em - 1088px);max-width:350px;min-width:300px;margin-left:1em;padding-top:0;vertical-align:top;text-align:center}.cmp-advanced .cmp-sidebar-wrapper,.content-settings .cmp-sidebar-wrapper{margin-top:61px}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:2em;border:1px solid #dedede;background:#fff}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget.selected-theme{padding:0}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget.selected-theme img{vertical-align:top}.cmp-coming-soon-maintenance .widget.donate img{padding:0}.cmp-coming-soon-maintenance .widget.donate img.niteo-logo{max-width:120px}.cmp-coming-soon-maintenance .cmp-rate-us .button{display:block;text-align:center;max-width:150px;margin:0 auto 1em}.cmp-coming-soon-maintenance .cmp-rate-us form{text-align:center}.cmp-coming-soon-maintenance .subscribers .column-id{width:5%}.cmp-coming-soon-maintenance #niteoCS_subscribe_label{height:150px}.cmp-coming-soon-maintenance #subscribe-3rdparty fieldset,.cmp-coming-soon-maintenance .constellation{margin-top:1em}.cmp-coming-soon-maintenance .cmp-hint{font-size:.9em}.cmp-coming-soon-maintenance .source-repeater-fields input,.cmp-coming-soon-maintenance .target-repeater-fields input{width:95%;margin-bottom:1em}.cmp-coming-soon-maintenance .source-repeater-fields i,.cmp-coming-soon-maintenance .target-repeater-fields i{line-height:2.5;float:right}.logo-height-wrap{display:flex;line-height:2}.logo-height-wrap input[type=range]{margin-right:1em}.cmp-coming-soon-maintenance .table-wrapper.cmp-bundle-banner{margin:0;border:none;margin-bottom:.7em;display:block;background:0 0}.cmp-coming-soon-maintenance .table-wrapper.cmp-bundle-banner img{max-width:100%;height:auto}.cmp-coming-soon-maintenance .source-repeater-fields a{display:none}.cmp-coming-soon-maintenance .cmp-export-import textarea{display:none}.cmp-coming-soon-maintenance .import-json-label{position:relative}.cmp-coming-soon-maintenance .import-json-label.import-fail{background:red}.cmp-coming-soon-maintenance .import-json-label:before{display:block;content:attr(data-default)}.cmp-coming-soon-maintenance #cmp-import-json{display:none}.cmp-coming-soon-maintenance .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:35px;-moz-user-select:none;-ms-user-select:none;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;-o-text-overflow:ellipsis;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;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;-o-text-overflow:ellipsis;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:#fff;border:1px solid #dedede;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;-moz-user-select:none;-ms-user-select:none;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}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;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:#fff;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__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.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:700;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-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{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 #000 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--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #dedede;border-radius:4px}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;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:#2980b9;color:#fff}.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:-o-linear-gradient(top,#fff 50%,#eee 100%);background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.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:700;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:-o-linear-gradient(top,#eee 50%,#ccc 100%);background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.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:0 0;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:-o-linear-gradient(top,#fff 0,#eee 50%);background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.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:-o-linear-gradient(top,#eee 50%,#fff 100%);background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;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:700;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}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{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}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#2980b9;color:#fff;border:none;padding:3px 5px}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#fff}.cmp-coming-soon-maintenance .select2-container--default .select2-search--inline .select2-search__field{line-height:2.5em;margin-top:0}.cmp-coming-soon-maintenance .select2-container--default .select2-selection--multiple .select2-selection__rendered li{margin-bottom:0}.cmp-coming-soon-maintenance .select2-container .select2-selection--multiple .select2-selection__rendered{display:block}.cmp-coming-soon-maintenance .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.cmp-coming-soon-maintenance .select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#2980b9}#niteoCS_body_ifr{min-height:280px}@media screen and (max-width:1600px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper,.cmp-coming-soon-maintenance .cmp-themes-manager{max-width:960px;min-width:initial}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{max-width:270px;min-width:initial;width:100%}}@media screen and (max-width:1270px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{min-width:100%;max-width:100%}}@media screen and (max-width:1024px){.cmp-coming-soon-maintenance .table-wrapper table{width:100%}.cmp-coming-soon-maintenance .table-wrapper th{width:140px}.cmp-coming-soon-maintenance .theme-wrapper,.cmp-coming-soon-maintenance .theme-wrapper.premium{width:calc(50% - 1em - 5px)}.cmp-coming-soon-maintenance .theme-wrapper:nth-of-type(3n){margin-right:1em}}@media screen and (max-width:782px){.cmp-coming-soon-maintenance .theme-wrapper,.cmp-coming-soon-maintenance .theme-wrapper.premium{margin-right:0;width:calc(100% - 5px)}.cmp-coming-soon-maintenance .table-wrapper th{display:block}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:1em}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]:checked:before{margin:-1px 0 0 -4px}.cmp-coming-soon-maintenance .cmp-inputs-wrapper,.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{display:block;max-width:100%;width:100%;margin:0}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:2em;margin-bottom:1em!important}.cmp-coming-soon-maintenance .theme-overlay .theme-info,.cmp-coming-soon-maintenance .theme-overlay .theme-screenshots{width:100%;float:none}.cmp-coming-soon-maintenance input[type=text],.cmp-coming-soon-maintenance textarea{font-size:13px}.cmp-coming-soon-maintenance #font-example-wrapper{min-height:24em}}@media screen and (max-width:560px){.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(2){left:50px}.cmp-coming-soon-maintenance .social-inputs .label:nth-of-type(3){left:105px}.cmp-coming-soon-maintenance .social-inputs p i{top:22px}.cmp-coming-soon-maintenance .social-inputs input[type=checkbox]{top:28px;left:53px}.cmp-coming-soon-maintenance .social-inputs label{padding-left:55px}.cmp-coming-soon-maintenance .social-inputs input[type=text]{margin-left:55px;width:calc(100% - 55px)}}
inc/settings/settings-background.php CHANGED
@@ -172,7 +172,7 @@ $gradient_array = array(
172
  <!-- UNSPLASH BACKGROUND -->
173
  <fieldset class="background-type-switch unsplash_banner x1">
174
 
175
- <label for="unsplash_feed"><?php _e('Choose Unsplash Feed', 'cmp-coming-soon-maintenance');?></label><br>
176
  <select name="unsplash_feed" id="unsplash_feed">
177
 
178
  <option value="3" <?php selected( '3', $niteoCS_unsplash_feed ); ?>><?php _e('Random Photo', 'cmp-coming-soon-maintenance');?></option>
@@ -183,15 +183,15 @@ $gradient_array = array(
183
 
184
  <option value="1" <?php selected( '1', $niteoCS_unsplash_feed ); ?>><?php _e('Random from User', 'cmp-coming-soon-maintenance');?></option>
185
 
186
- </select>
187
 
188
- <p class="unsplash-feed unsplash-feed-0">
189
- <label><?php _e('Enter Unsplash Photo URL or Unsplash Photo ID', 'cmp-coming-soon-maintenance');?>
190
- <input type="text" class="widefat" id="niteoCS-unsplash-0" name="niteoCS_unsplash_0" value="<?php echo esc_attr( $niteoCS_unsplash_0 ); ?>" />
191
- </label>
192
  <br><br>
193
  <button id="test-unsplash" class="button" data-security="<?php echo esc_attr( $ajax_nonce );?>"><?php _e('Display Unsplash Photo', 'cmp-coming-soon-maintenance');?></button>
194
- </p>
195
 
196
  <div class="background-thumb-wrapper unsplash-feed unsplash-feed-0">
197
  <div id="unsplash-media">
@@ -202,25 +202,23 @@ $gradient_array = array(
202
 
203
  </div>
204
 
205
- <p class="unsplash-feed unsplash-feed-2">
206
- <label><?php printf(__('Enter <a href="%s">Unsplash Collection</a> URL or Collection ID.', 'cmp-coming-soon-maintenance'), 'https://unsplash.com/collections/');?>
207
  <input type="text" class="widefat" id="niteoCS-unsplash-2" name="niteoCS_unsplash_2" value="<?php echo esc_attr( $niteoCS_unsplash_2 ); ?>" />
208
- </label>
209
- </p>
210
 
211
- <p class="unsplash-feed unsplash-feed-3">
212
- <label><?php _e('Limit photos to specific keyword (fashion, nature, technology..)', 'cmp-coming-soon-maintenance');?>
 
 
213
  <input type="text" class="widefat" id="niteoCS-unsplash-3" name="niteoCS_unsplash_3" value="<?php echo esc_attr( $niteoCS_unsplash_3 ); ?>" />
214
- </label>
215
  <br><br>
216
  <input type="checkbox" name="niteoCS_unsplash_feat" id="niteoCS_unsplash_feat" value="1" <?php checked( '1', get_option( 'niteoCS_unsplash_feat', '0' ) ); ?> class="regular-text code"><label for="niteoCS_unsplash_feat"><?php _e('Select Unsplash Featured Photos only', 'cmp-coming-soon-maintenance');?></label>
217
- </p>
218
 
219
- <p class="unsplash-feed unsplash-feed-1">
220
- <label><?php _e('Enter Unsplash User ID', 'cmp-coming-soon-maintenance');?>
221
  <input type="text" class="widefat" id="niteoCS-unsplash-1" name="niteoCS_unsplash_1" value="<?php echo esc_attr( $niteoCS_unsplash_1 ); ?>" placeholder="@"/>
222
- </label>
223
- </p>
224
 
225
  <p class="unplash-description cmp-hint"><a href="http://unsplash.com" target="_blank"><?php _e('Unsplash');?></a> <?php _e('is a world leading source for free to use high quality stock images. All of the images that are submitted and published on Unsplash fall under under the <a href="https://unsplash.com/license"> Unsplash license</a>, which means you can use the image for any personal or commercial use.', 'cmp-coming-soon-maintenance');?></p>
226
 
@@ -229,31 +227,31 @@ $gradient_array = array(
229
 
230
  <!-- VIDEO BACKGROUND -->
231
  <fieldset class="background-type-switch video_banner x5">
232
- <label for="niteoCS_banner_video"><?php _e('Select Video Source', 'cmp-coming-soon-maintenance');?></label><br>
233
 
234
  <select name="niteoCS_banner_video" id="niteoCS_banner_video" class="banner-video-source">
235
  <option value="youtube" <?php selected( 'youtube', $niteoCS_banner_video ); ?>><?php _e('YouTube', 'cmp-coming-soon-maintenance');?></option>
236
  <option value="local" <?php selected( 'local', $niteoCS_banner_video ); ?>><?php _e('Custom Video File', 'cmp-coming-soon-maintenance');?></option>
237
  <option disabled value="vimeo" <?php selected( 'vimeo', $niteoCS_banner_video ); ?>><?php _e('Vimeo (coming soon...)', 'cmp-coming-soon-maintenance');?></option>
238
- </select><br>
239
 
240
 
241
- <p class="banner-video-source youtube">
242
- <label for="niteoCS-youtube-url"><?php _e('Enter Youtube URL', 'cmp-coming-soon-maintenance');?></label>
243
  <input type="text" class="widefat" id="niteoCS-youtube-url" name="niteoCS_youtube_url" value="<?php echo esc_attr( $niteoCS_youtube_url ); ?>" />
244
 
245
- </p>
246
 
247
- <p class="banner-video-source vimeo">
248
- <label for="niteoCS-vimeo-url"><?php _e('Enter Vimeo URL', 'cmp-coming-soon-maintenance');?></label>
249
  <input type="text" class="widefat" id="niteoCS-vimeo-url" name="niteoCS_vimeo_url" value="<?php echo esc_attr( $niteoCS_vimeo_url ); ?>" />
250
- </p>
251
 
252
- <p class="banner-video-source local">
253
- <label for="add-video-local"><?php _e('Select or Upload custom Video file', 'cmp-coming-soon-maintenance');?></label>
254
  <input id="add-video-local" type="button" class="button" value="Media Library"/>
255
  <input type="hidden" class="widefat" id="niteoCS-video-local-id" name="niteoCS_video_file_url" value="<?php echo esc_attr( $niteoCS_video_file_url ); ?>" data-url="<?php echo esc_url( wp_get_attachment_url( $niteoCS_video_file_url ) ); ?>"/>
256
- </p>
257
 
258
  <!-- Local video image -->
259
  <div class="banner-video-source local">
@@ -304,7 +302,7 @@ $gradient_array = array(
304
 
305
  <!-- PATTERN BACKGROUND -->
306
  <fieldset class="background-type-switch graphic_pattern x3">
307
- <label for="niteoCS_banner_pattern"><?php _e('Select Pattern', 'cmp-coming-soon-maintenance');?></label><br>
308
  <select name="niteoCS_banner_pattern" id="niteoCS_banner_pattern" data-url="<?php echo esc_url(WP_PLUGIN_URL . '/cmp-coming-soon-maintenance/img/patterns/');?>">
309
  <?php
310
  foreach ( $patterns as $pattern ) { ?>
@@ -325,7 +323,7 @@ $gradient_array = array(
325
 
326
  <!-- SOLID COLOR BACKGROUND -->
327
  <fieldset class="background-type-switch solid_color x4">
328
- <label for="niteoCS_banner_color"><?php _e('Select Color', 'cmp-coming-soon-maintenance');?></label><br>
329
  <input type="text" name="niteoCS_banner_color" id="niteoCS_banner_color" value="<?php echo esc_attr( $niteoCS_banner_color ); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
330
  <div class="color-preview" style="background-color:<?php echo esc_attr( $niteoCS_banner_color); ?>"></div>
331
  </fieldset>
@@ -333,7 +331,7 @@ $gradient_array = array(
333
  <!-- GRADIENT BACKGROUND -->
334
  <fieldset class="background-type-switch gradient_background x6">
335
 
336
- <label for="niteoCS_gradient"><?php _e('Select Gradient Background', 'cmp-coming-soon-maintenance');?></label><br>
337
 
338
  <select name="niteoCS_gradient" id="niteoCS_gradient" class="background-gradient">
339
  <?php
@@ -345,15 +343,15 @@ $gradient_array = array(
345
 
346
  <option value="custom" <?php selected('custom', $niteoCS_gradient); ?>><?php _e('Custom Gradient', 'cmp-coming-soon-maintenance');?></option>
347
 
348
- </select><br>
349
 
350
- <p class="custom-gradient" style="display:<?php echo ( $niteoCS_gradient == 'custom' ) ? 'block' : 'none'; ?>">
351
- <label for="niteoCS_gradient_one"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
352
  <input type="text" name="niteoCS_banner_gradient_one" id="niteoCS_gradient_one" value="<?php echo esc_attr( $niteoCS_gradient_one_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
353
 
354
- <label for="niteoCS_gradient_two"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
355
  <input type="text" name="niteoCS_banner_gradient_two" id="niteoCS_gradient_two" value="<?php echo esc_attr( $niteoCS_gradient_two_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
356
- </p>
357
 
358
  <div class="gradient-preview" style="background:-moz-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:-webkit-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:linear-gradient(135deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%)"></div>
359
  </fieldset>
@@ -366,7 +364,7 @@ $gradient_array = array(
366
  <span><?php _e('Background Overlay', 'cmp-coming-soon-maintenance');?></span>
367
  </legend>
368
 
369
- <label for="niteoCS_overlay"><?php _e('Set Background Overlay', 'cmp-coming-soon-maintenance');?></label><br>
370
 
371
  <select name="niteoCS_overlay" id="niteoCS_overlay" class="background-overlay">
372
 
@@ -382,17 +380,17 @@ $gradient_array = array(
382
 
383
 
384
  <!-- BACKGROUND OVERLAY SOLID COLOR -->
385
- <fieldset class="background-overlay solid-color">
386
- <p><?php _e('Background Overlay Color', 'cmp-coming-soon-maintenance');?></p>
387
  <input type="text" name="niteoCS_overlay_color" id="niteoCS_overlay_color" value="<?php echo esc_attr( $overlay_color ); ?>" data-default-color="#0a0a0a" class="regular-text code">
388
  </fieldset>
389
 
390
  <!-- BACKGROUND OVERLAY GRADIENT -->
391
- <fieldset class="background-overlay gradient">
392
 
393
- <label for="niteoCS_overlay_gradient"><?php _e('Select Gradient Overlay', 'cmp-coming-soon-maintenance');?></label><br>
394
 
395
- <select name="niteoCS_overlay_gradient" id="niteoCS_overlay_gradient" class="overlay-gradient">
396
  <?php
397
 
398
  foreach ( $gradient_array as $color => $name ) { ?>
@@ -404,26 +402,26 @@ $gradient_array = array(
404
 
405
  </select><br>
406
 
407
- <p class="custom-overlay-gradient" style="display:<?php echo ( $overlay_gradient == 'custom' ) ? 'block' : 'none'; ?>">
408
 
409
- <label for="niteoCS_overlay_gradient_one"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
410
  <input type="text" name="niteoCS_overlay_gradient_one" value="<?php echo esc_attr( $overlay_gradient_one_custom); ?>" id="niteoCS_overlay_gradient_one" data-default-color="#e5e5e5" class="regular-text code"><br>
411
 
412
- <label for="niteoCS_overlay_gradient_two"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
413
  <input type="text" name="niteoCS_overlay_gradient_two" value="<?php echo esc_attr( $overlay_gradient_two_custom); ?>" id="niteoCS_overlay_gradient_two" data-default-color="#e5e5e5" class="regular-text code"><br>
414
 
415
- </p>
416
 
417
  </fieldset>
418
 
419
- <fieldset class="background-overlay solid-color gradient">
420
- <label for="niteoCS_overlay_opacity"><?php _e('Background Overlay Opacity', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $overlay_opa ); ?></span></label><br>
421
  <input type="range" id="niteoCS_overlay_opacity" class="background-overlay-opacity" name="niteoCS_overlay_opacity" min="0" max="1" step="0.1" value="<?php echo esc_attr( $overlay_opa ); ?>" />
422
  </fieldset>
423
 
424
 
425
- <fieldset class="background-effect blur">
426
- <label for="niteoCS_effect_blur"><?php _e('Background Blur Amount', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $effect_blur ); ?></span>px</label><br>
427
  <input type="range" id="niteoCS_effect_blur" class="blur-range" name="niteoCS_effect_blur" min="0.0" max="10" step="0.5" value="<?php echo esc_attr( $effect_blur ); ?>" />
428
  </fieldset>
429
 
@@ -441,16 +439,16 @@ $gradient_array = array(
441
  <label><input type="hidden" name="niteoCS_overlay_text_status" value="off"><input type="checkbox" name="niteoCS_overlay_text_status" class="overlay-text" <?php checked( $overlay_text_status, '1' );?>/><?php _e('Display Text Overlay', 'cmp-coming-soon-maintenance');?></label><br><br>
442
 
443
  <div class="overlay-text-switch on">
444
- <label for="niteoCS_overlay_text_heading"><?php _e('Overlay Heading', 'cmp-coming-soon-maintenance');?></label><br>
445
  <input type="text" id="niteoCS_overlay_text_heading" name="niteoCS_overlay_text_heading" value="<?php echo esc_attr( $overlay_text_heading ); ?>" class="regular-text code" placeholder="<?php echo _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"/><br><br>
446
 
447
- <label for="niteoCS_overlay_text_paragraph"><?php _e('Overlay Text', 'cmp-coming-soon-maintenance');?></label><br>
448
  <textarea id="niteoCS_overlay_text_paragraph" name="niteoCS_overlay_text_paragraph" class="regular-text code" rows="4" placeholder="<?php echo _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"><?php echo esc_attr( $overlay_text_paragraph ); ?></textarea><br><br>
449
 
450
- <label for="niteoCS_overlay_button_text"><?php _e('Overlay Call To Action Button Text', 'cmp-coming-soon-maintenance');?></label><br>
451
  <input type="text" id="niteoCS_overlay_button_text" name="niteoCS_overlay_button_text" value="<?php echo esc_attr( $overlay_button_text ); ?>" class="regular-text code" placeholder="<?php echo _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"/><br><br>
452
 
453
- <label for="niteoCS_overlay_button_url"><?php _e('Overlay Call To Action Button URL', 'cmp-coming-soon-maintenance');?></label><br>
454
  <input type="text" id="niteoCS_overlay_button_url" name="niteoCS_overlay_button_url" value="<?php echo esc_attr( $overlay_button_url ); ?>" class="regular-text code" placeholder="<?php echo _e('Insert Valid URL', 'cmp-coming-soon-maintenance');?>"/>
455
  </div>
456
 
172
  <!-- UNSPLASH BACKGROUND -->
173
  <fieldset class="background-type-switch unsplash_banner x1">
174
 
175
+ <h4><?php _e('Choose Unsplash Feed', 'cmp-coming-soon-maintenance');?></h4>
176
  <select name="unsplash_feed" id="unsplash_feed">
177
 
178
  <option value="3" <?php selected( '3', $niteoCS_unsplash_feed ); ?>><?php _e('Random Photo', 'cmp-coming-soon-maintenance');?></option>
183
 
184
  <option value="1" <?php selected( '1', $niteoCS_unsplash_feed ); ?>><?php _e('Random from User', 'cmp-coming-soon-maintenance');?></option>
185
 
186
+ </select><br><br>
187
 
188
+ <div class="unsplash-feed unsplash-feed-0">
189
+ <h4><?php _e('Enter Unsplash Photo URL or Unsplash Photo ID', 'cmp-coming-soon-maintenance');?></h4>
190
+ <input type="text" class="widefat" id="niteoCS-unsplash-0" name="niteoCS_unsplash_0" value="<?php echo esc_attr( $niteoCS_unsplash_0 ); ?>" />
191
+
192
  <br><br>
193
  <button id="test-unsplash" class="button" data-security="<?php echo esc_attr( $ajax_nonce );?>"><?php _e('Display Unsplash Photo', 'cmp-coming-soon-maintenance');?></button>
194
+ </div>
195
 
196
  <div class="background-thumb-wrapper unsplash-feed unsplash-feed-0">
197
  <div id="unsplash-media">
202
 
203
  </div>
204
 
205
+ <div class="unsplash-feed unsplash-feed-2">
206
+ <h4><?php printf(__('Enter <a href="%s">Unsplash Collection</a> URL or Collection ID.', 'cmp-coming-soon-maintenance'), 'https://unsplash.com/collections/');?></h4>
207
  <input type="text" class="widefat" id="niteoCS-unsplash-2" name="niteoCS_unsplash_2" value="<?php echo esc_attr( $niteoCS_unsplash_2 ); ?>" />
 
 
208
 
209
+ </div>
210
+
211
+ <div class="unsplash-feed unsplash-feed-3">
212
+ <h4><?php _e('Limit photos to specific keyword (fashion, nature, technology..)', 'cmp-coming-soon-maintenance');?></h4>
213
  <input type="text" class="widefat" id="niteoCS-unsplash-3" name="niteoCS_unsplash_3" value="<?php echo esc_attr( $niteoCS_unsplash_3 ); ?>" />
 
214
  <br><br>
215
  <input type="checkbox" name="niteoCS_unsplash_feat" id="niteoCS_unsplash_feat" value="1" <?php checked( '1', get_option( 'niteoCS_unsplash_feat', '0' ) ); ?> class="regular-text code"><label for="niteoCS_unsplash_feat"><?php _e('Select Unsplash Featured Photos only', 'cmp-coming-soon-maintenance');?></label>
216
+ </div>
217
 
218
+ <div class="unsplash-feed unsplash-feed-1">
219
+ <h4><?php _e('Enter Unsplash User ID', 'cmp-coming-soon-maintenance');?></h4>
220
  <input type="text" class="widefat" id="niteoCS-unsplash-1" name="niteoCS_unsplash_1" value="<?php echo esc_attr( $niteoCS_unsplash_1 ); ?>" placeholder="@"/>
221
+ </div>
 
222
 
223
  <p class="unplash-description cmp-hint"><a href="http://unsplash.com" target="_blank"><?php _e('Unsplash');?></a> <?php _e('is a world leading source for free to use high quality stock images. All of the images that are submitted and published on Unsplash fall under under the <a href="https://unsplash.com/license"> Unsplash license</a>, which means you can use the image for any personal or commercial use.', 'cmp-coming-soon-maintenance');?></p>
224
 
227
 
228
  <!-- VIDEO BACKGROUND -->
229
  <fieldset class="background-type-switch video_banner x5">
230
+ <h4 for="niteoCS_banner_video"><?php _e('Select Video Source', 'cmp-coming-soon-maintenance');?></h4>
231
 
232
  <select name="niteoCS_banner_video" id="niteoCS_banner_video" class="banner-video-source">
233
  <option value="youtube" <?php selected( 'youtube', $niteoCS_banner_video ); ?>><?php _e('YouTube', 'cmp-coming-soon-maintenance');?></option>
234
  <option value="local" <?php selected( 'local', $niteoCS_banner_video ); ?>><?php _e('Custom Video File', 'cmp-coming-soon-maintenance');?></option>
235
  <option disabled value="vimeo" <?php selected( 'vimeo', $niteoCS_banner_video ); ?>><?php _e('Vimeo (coming soon...)', 'cmp-coming-soon-maintenance');?></option>
236
+ </select><br><br>
237
 
238
 
239
+ <div class="banner-video-source youtube">
240
+ <h4><?php _e('Enter Youtube URL', 'cmp-coming-soon-maintenance');?></h4>
241
  <input type="text" class="widefat" id="niteoCS-youtube-url" name="niteoCS_youtube_url" value="<?php echo esc_attr( $niteoCS_youtube_url ); ?>" />
242
 
243
+ </div>
244
 
245
+ <div class="banner-video-source vimeo">
246
+ <h4><?php _e('Enter Vimeo URL', 'cmp-coming-soon-maintenance');?></h4>
247
  <input type="text" class="widefat" id="niteoCS-vimeo-url" name="niteoCS_vimeo_url" value="<?php echo esc_attr( $niteoCS_vimeo_url ); ?>" />
248
+ </div>
249
 
250
+ <div class="banner-video-source local">
251
+ <h4><?php _e('Select or Upload custom Video file', 'cmp-coming-soon-maintenance');?></h4>
252
  <input id="add-video-local" type="button" class="button" value="Media Library"/>
253
  <input type="hidden" class="widefat" id="niteoCS-video-local-id" name="niteoCS_video_file_url" value="<?php echo esc_attr( $niteoCS_video_file_url ); ?>" data-url="<?php echo esc_url( wp_get_attachment_url( $niteoCS_video_file_url ) ); ?>"/>
254
+ </div>
255
 
256
  <!-- Local video image -->
257
  <div class="banner-video-source local">
302
 
303
  <!-- PATTERN BACKGROUND -->
304
  <fieldset class="background-type-switch graphic_pattern x3">
305
+ <h4 for="niteoCS_banner_pattern"><?php _e('Select Pattern', 'cmp-coming-soon-maintenance');?></h4>
306
  <select name="niteoCS_banner_pattern" id="niteoCS_banner_pattern" data-url="<?php echo esc_url(WP_PLUGIN_URL . '/cmp-coming-soon-maintenance/img/patterns/');?>">
307
  <?php
308
  foreach ( $patterns as $pattern ) { ?>
323
 
324
  <!-- SOLID COLOR BACKGROUND -->
325
  <fieldset class="background-type-switch solid_color x4">
326
+ <h4><?php _e('Select Color', 'cmp-coming-soon-maintenance');?></h4>
327
  <input type="text" name="niteoCS_banner_color" id="niteoCS_banner_color" value="<?php echo esc_attr( $niteoCS_banner_color ); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
328
  <div class="color-preview" style="background-color:<?php echo esc_attr( $niteoCS_banner_color); ?>"></div>
329
  </fieldset>
331
  <!-- GRADIENT BACKGROUND -->
332
  <fieldset class="background-type-switch gradient_background x6">
333
 
334
+ <h4><?php _e('Select Gradient Background', 'cmp-coming-soon-maintenance');?></h4>
335
 
336
  <select name="niteoCS_gradient" id="niteoCS_gradient" class="background-gradient">
337
  <?php
343
 
344
  <option value="custom" <?php selected('custom', $niteoCS_gradient); ?>><?php _e('Custom Gradient', 'cmp-coming-soon-maintenance');?></option>
345
 
346
+ </select><br><br>
347
 
348
+ <div class="custom-gradient" style="display:<?php echo ( $niteoCS_gradient == 'custom' ) ? 'block' : 'none'; ?>">
349
+ <h4><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></h4>
350
  <input type="text" name="niteoCS_banner_gradient_one" id="niteoCS_gradient_one" value="<?php echo esc_attr( $niteoCS_gradient_one_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
351
 
352
+ <h4><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></h4>
353
  <input type="text" name="niteoCS_banner_gradient_two" id="niteoCS_gradient_two" value="<?php echo esc_attr( $niteoCS_gradient_two_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
354
+ </div>
355
 
356
  <div class="gradient-preview" style="background:-moz-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:-webkit-linear-gradient(-45deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%);background:linear-gradient(135deg, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_one_custom ) : esc_attr( $niteoCS_gradient_one ); ?> 0%, <?php echo ( $niteoCS_gradient == 'custom' ) ? esc_attr( $niteoCS_gradient_two_custom ) : esc_attr( $niteoCS_gradient_two ); ?> 100%)"></div>
357
  </fieldset>
364
  <span><?php _e('Background Overlay', 'cmp-coming-soon-maintenance');?></span>
365
  </legend>
366
 
367
+ <h4><?php _e('Set Background Overlay', 'cmp-coming-soon-maintenance');?></h4>
368
 
369
  <select name="niteoCS_overlay" id="niteoCS_overlay" class="background-overlay">
370
 
380
 
381
 
382
  <!-- BACKGROUND OVERLAY SOLID COLOR -->
383
+ <fieldset class="background-overlay solid-color" style="margin: 1em 0">
384
+ <h4><?php _e('Background Overlay Color', 'cmp-coming-soon-maintenance');?></h4>
385
  <input type="text" name="niteoCS_overlay_color" id="niteoCS_overlay_color" value="<?php echo esc_attr( $overlay_color ); ?>" data-default-color="#0a0a0a" class="regular-text code">
386
  </fieldset>
387
 
388
  <!-- BACKGROUND OVERLAY GRADIENT -->
389
+ <fieldset class="background-overlay gradient" style="margin: 1em 0">
390
 
391
+ <h4><?php _e('Select Gradient Overlay', 'cmp-coming-soon-maintenance');?></h4>
392
 
393
+ <select name="niteoCS_overlay_gradient" id="niteoCS_overlay_gradient" class="overlay-gradient" style="margin: 1em 0">
394
  <?php
395
 
396
  foreach ( $gradient_array as $color => $name ) { ?>
402
 
403
  </select><br>
404
 
405
+ <div class="custom-overlay-gradient" style="display:<?php echo ( $overlay_gradient == 'custom' ) ? 'block;' : 'none'; ?>">
406
 
407
+ <h4 style="margin-top:1em"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></h4>
408
  <input type="text" name="niteoCS_overlay_gradient_one" value="<?php echo esc_attr( $overlay_gradient_one_custom); ?>" id="niteoCS_overlay_gradient_one" data-default-color="#e5e5e5" class="regular-text code"><br>
409
 
410
+ <h4 style="margin-top:1em"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></h4>
411
  <input type="text" name="niteoCS_overlay_gradient_two" value="<?php echo esc_attr( $overlay_gradient_two_custom); ?>" id="niteoCS_overlay_gradient_two" data-default-color="#e5e5e5" class="regular-text code"><br>
412
 
413
+ </div>
414
 
415
  </fieldset>
416
 
417
+ <fieldset class="background-overlay solid-color gradient" style="margin: 1em 0">
418
+ <h4><?php _e('Background Overlay Opacity', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $overlay_opa ); ?></span></h4>
419
  <input type="range" id="niteoCS_overlay_opacity" class="background-overlay-opacity" name="niteoCS_overlay_opacity" min="0" max="1" step="0.1" value="<?php echo esc_attr( $overlay_opa ); ?>" />
420
  </fieldset>
421
 
422
 
423
+ <fieldset class="background-effect blur" style="margin: 1em 0">
424
+ <h4 for="niteoCS_effect_blur"><?php _e('Background Blur Amount', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $effect_blur ); ?></span>px</h4>
425
  <input type="range" id="niteoCS_effect_blur" class="blur-range" name="niteoCS_effect_blur" min="0.0" max="10" step="0.5" value="<?php echo esc_attr( $effect_blur ); ?>" />
426
  </fieldset>
427
 
439
  <label><input type="hidden" name="niteoCS_overlay_text_status" value="off"><input type="checkbox" name="niteoCS_overlay_text_status" class="overlay-text" <?php checked( $overlay_text_status, '1' );?>/><?php _e('Display Text Overlay', 'cmp-coming-soon-maintenance');?></label><br><br>
440
 
441
  <div class="overlay-text-switch on">
442
+ <h4 for="niteoCS_overlay_text_heading"><?php _e('Overlay Heading', 'cmp-coming-soon-maintenance');?></label>
443
  <input type="text" id="niteoCS_overlay_text_heading" name="niteoCS_overlay_text_heading" value="<?php echo esc_attr( $overlay_text_heading ); ?>" class="regular-text code" placeholder="<?php echo _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"/><br><br>
444
 
445
+ <h4 for="niteoCS_overlay_text_paragraph"><?php _e('Overlay Text', 'cmp-coming-soon-maintenance');?></h4>
446
  <textarea id="niteoCS_overlay_text_paragraph" name="niteoCS_overlay_text_paragraph" class="regular-text code" rows="4" placeholder="<?php echo _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"><?php echo esc_attr( $overlay_text_paragraph ); ?></textarea><br><br>
447
 
448
+ <h4 for="niteoCS_overlay_button_text"><?php _e('Overlay Call To Action Button Text', 'cmp-coming-soon-maintenance');?></h4>
449
  <input type="text" id="niteoCS_overlay_button_text" name="niteoCS_overlay_button_text" value="<?php echo esc_attr( $overlay_button_text ); ?>" class="regular-text code" placeholder="<?php echo _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"/><br><br>
450
 
451
+ <h4 for="niteoCS_overlay_button_url"><?php _e('Overlay Call To Action Button URL', 'cmp-coming-soon-maintenance');?></h4>
452
  <input type="text" id="niteoCS_overlay_button_url" name="niteoCS_overlay_button_url" value="<?php echo esc_attr( $overlay_button_url ); ?>" class="regular-text code" placeholder="<?php echo _e('Insert Valid URL', 'cmp-coming-soon-maintenance');?>"/>
453
  </div>
454
 
inc/settings/settings-counter.php CHANGED
@@ -8,7 +8,7 @@ if ( isset($_POST['niteoCS_counter']) && is_numeric( $_POST['niteoCS_counter'] )
8
  if ( isset($_POST['niteoCS_counter_date']) ) {
9
  update_option('niteoCS_counter_date', sanitize_text_field( $_POST['niteoCS_counter_date'] ));
10
 
11
- if ( $_POST['niteoCS_counter_date'] > time() ) {
12
  delete_transient( 'cmp_counter_email' );
13
  }
14
  }
@@ -73,13 +73,12 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
73
  <?php if ( $this->cmp_selectedTheme() == 'eclipse' || ( isset( $theme_supports['counter_title'] ) && $theme_supports['counter_title'] ) ) :
74
  // heading used in Eclipse theme ?>
75
  <fieldset>
76
- <label for="niteoCS_counter_heading"><?php _e('Counter Heading', 'cmp-coming-soon-maintenance');?>
77
- <input type="text" id="niteoCS_counter_heading" name="niteoCS_counter_heading" value="<?php echo esc_attr( $niteoCS_counter_heading ); ?>" class="regular-text code"><br>
78
- </label>
79
  </fieldset>
80
  <?php endif;?>
81
 
82
- <p><?php _e('Click on a date input to set timer.', 'cmp-coming-soon-maintenance');?></p>
83
  <fieldset>
84
 
85
  <legend class="screen-reader-text">
@@ -88,8 +87,7 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
88
 
89
  <input type="text" name="niteoCS_counter_date" id="niteoCS_counter_date" placeholder="<?php _e('Select Date..','cmp-coming-soon-maintenance');?>" value="<?php echo esc_attr( $niteoCS_counter_date); ?>" class="regular-text code"><br>
90
 
91
- <label for="niteoCS_countdown_action"><?php _e('Countdown action:', 'cmp-coming-soon-maintenance');?></label>
92
-
93
  <select name="niteoCS_countdown_action" id="niteoCS_countdown_action" class="counter-action">
94
 
95
  <option value="no-action" <?php selected($niteoCS_countdown_action, 'no-action'); ?>><?php _e('No Action', 'cmp-coming-soon-maintenance');?></option>
@@ -98,11 +96,23 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
98
 
99
  </select>
100
 
101
- <span class="cmp-hint">* <?php echo sprintf(__('Notification Email will be sent to %s email address once counter expires.', 'cmp-coming-soon-maintenance'), '('. get_option( 'admin_email' ) . ')');?></span>
 
 
 
 
 
 
 
 
102
 
103
- <label for="niteoCS_countdown_redirect" class="counter-action redirect" style="padding-top:1em"><?php _e('Enter redirect URL', 'cmp-coming-soon-maintenance');?>
 
 
 
104
  <input type="text" id="niteoCS_countdown_redirect" name="niteoCS_countdown_redirect" value="<?php echo esc_url( $niteoCS_countdown_redirect ); ?>" class="regular-text code"><br>
105
- </label>
 
106
 
107
  </fieldset>
108
  </td>
8
  if ( isset($_POST['niteoCS_counter_date']) ) {
9
  update_option('niteoCS_counter_date', sanitize_text_field( $_POST['niteoCS_counter_date'] ));
10
 
11
+ if ( $_POST['niteoCS_counter_date'] > time() ) {
12
  delete_transient( 'cmp_counter_email' );
13
  }
14
  }
73
  <?php if ( $this->cmp_selectedTheme() == 'eclipse' || ( isset( $theme_supports['counter_title'] ) && $theme_supports['counter_title'] ) ) :
74
  // heading used in Eclipse theme ?>
75
  <fieldset>
76
+ <h4 for="niteoCS_counter_heading"><?php _e('Counter Heading', 'cmp-coming-soon-maintenance');?></h4>
77
+ <input type="text" id="niteoCS_counter_heading" name="niteoCS_counter_heading" value="<?php echo esc_attr( $niteoCS_counter_heading ); ?>" class="regular-text code"><br>
 
78
  </fieldset>
79
  <?php endif;?>
80
 
81
+ <h4><?php _e('Click on a date input to set timer.', 'cmp-coming-soon-maintenance');?></h4>
82
  <fieldset>
83
 
84
  <legend class="screen-reader-text">
87
 
88
  <input type="text" name="niteoCS_counter_date" id="niteoCS_counter_date" placeholder="<?php _e('Select Date..','cmp-coming-soon-maintenance');?>" value="<?php echo esc_attr( $niteoCS_counter_date); ?>" class="regular-text code"><br>
89
 
90
+ <h4><?php _e('Countdown action:', 'cmp-coming-soon-maintenance');?></h4>
 
91
  <select name="niteoCS_countdown_action" id="niteoCS_countdown_action" class="counter-action">
92
 
93
  <option value="no-action" <?php selected($niteoCS_countdown_action, 'no-action'); ?>><?php _e('No Action', 'cmp-coming-soon-maintenance');?></option>
96
 
97
  </select>
98
 
99
+ <?php
100
+
101
+ if ( get_option('niteoCS_countdown_notification', '1') == '1' ) { ?>
102
+ <span class="cmp-hint">* <?php echo sprintf(__('Notification e-mail will be sent to %s email address once counter expires.', 'cmp-coming-soon-maintenance'), get_option('niteoCS_countdown_email_address', get_option( 'admin_email' )));?></span>
103
+ <?php
104
+ } else { ?>
105
+ <span class="cmp-hint">* <?php _e( 'E-mail notification is disabled.', 'cmp-coming-soon-maintenance' );?></span>
106
+ <?php
107
+ } ?>
108
 
109
+ <span class="cmp-hint"><a href="<?php echo admin_url(); ?>admin.php?page=cmp-advanced#cmp-notifications"><?php _e('Change e-mail notification settings.', 'cmp-coming-soon-maintenance');?></a></span>
110
+
111
+ <div class="counter-action redirect">
112
+ <h4 for="niteoCS_countdown_redirect" style="padding-top:1em"><?php _e('Enter redirect URL', 'cmp-coming-soon-maintenance');?></h4>
113
  <input type="text" id="niteoCS_countdown_redirect" name="niteoCS_countdown_redirect" value="<?php echo esc_url( $niteoCS_countdown_redirect ); ?>" class="regular-text code"><br>
114
+ </div>
115
+
116
 
117
  </fieldset>
118
  </td>
inc/settings/settings-seo.php CHANGED
@@ -130,15 +130,15 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
130
  <fieldset>
131
  <p class="analytics-switch disabled"><?php _e('Analytics is disabled', 'cmp-coming-soon-maintenance');?></p>
132
 
133
- <p class="analytics-switch google">
134
- <label for="niteoCS_analytics"><?php _e('Insert Google Analytics Tracking ID', 'cmp-coming-soon-maintenance');?></label><br>
135
  <input type="text" name="niteoCS_analytics" value="<?php echo esc_attr( $niteoCS_analytics ); ?>" class="regular-text code" placeholder="UA-xxxxxx-xx"/>
136
- </p>
137
 
138
- <p class="analytics-switch other">
139
- <label for="niteoCS_analytics_other"><?php _e('Insert your the code provided by your Analytics Plugin or Website.', 'cmp-coming-soon-maintenance');?></label><br>
140
  <textarea name="niteoCS_analytics_other" rows="5" class="code"><?php echo stripslashes( $niteoCS_analytics_other ); ?></textarea>
141
- </p>
142
  </fieldset>
143
  </td>
144
  </tr>
130
  <fieldset>
131
  <p class="analytics-switch disabled"><?php _e('Analytics is disabled', 'cmp-coming-soon-maintenance');?></p>
132
 
133
+ <div class="analytics-switch google">
134
+ <h4 for="niteoCS_analytics"><?php _e('Insert Google Analytics Tracking ID', 'cmp-coming-soon-maintenance');?></h4>
135
  <input type="text" name="niteoCS_analytics" value="<?php echo esc_attr( $niteoCS_analytics ); ?>" class="regular-text code" placeholder="UA-xxxxxx-xx"/>
136
+ </div>
137
 
138
+ <div class="analytics-switch other">
139
+ <h4 for="niteoCS_analytics_other"><?php _e('Insert your the code provided by your Analytics Plugin or Website.', 'cmp-coming-soon-maintenance');?></h4>
140
  <textarea name="niteoCS_analytics_other" rows="5" class="code"><?php echo stripslashes( $niteoCS_analytics_other ); ?></textarea>
141
+ </div>
142
  </fieldset>
143
  </td>
144
  </tr>
inc/settings/settings-slider.php CHANGED
@@ -65,59 +65,54 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
65
  <legend class="screen-reader-text">
66
  <span><?php _e('Slider setup', 'cmp-coming-soon-maintenance');?></span>
67
  </legend>
68
- <p>
69
- <label for="niteoCS_slider_effect"><?php _e('Slider Effect', 'cmp-coming-soon-maintenance');?></label><br>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  <?php
71
- if ( $this->cmp_selectedTheme() !== 'apollo' && $this->cmp_selectedTheme() !== 'ares' ) { ?>
72
- <label title="Slide Effect">
73
- <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="false"<?php checked ( 'false', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slide', 'cmp-coming-soon-maintenance');?>
74
- </label><br>
75
- <?php
76
- }
77
- if ( $this->cmp_selectedTheme() !== 'ares' ) { ?>
78
- <label title="Fade Effect">
79
- <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="true"<?php checked ( 'true', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Fade', 'cmp-coming-soon-maintenance');?>
80
- </label><br>
81
- <?php
82
- }
83
- // Slice option for selected themes
84
- if ( $this->cmp_selectedTheme() == 'fifty' ) { ?>
85
- <label title="Slice Effect">
86
- <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="slice"<?php checked ( 'slice', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slice', 'cmp-coming-soon-maintenance');?>
87
- </label><br>
88
- <?php
89
- }
90
-
91
- // Train option for selected themes
92
- if ( $this->cmp_selectedTheme() == 'libra' ) { ?>
93
- <label title="Train Effect">
94
- <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="train"<?php checked ( 'train', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Train', 'cmp-coming-soon-maintenance');?>
95
- </label><br>
96
- <?php
97
- }
98
-
99
- // Mask Transition option for selected themes
100
- if ( $this->cmp_selectedTheme() == 'apollo' || $this->cmp_selectedTheme() == 'ares' ) { ?>
101
- <label title="Mask Transition Effect">
102
- <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="mask-transition"<?php checked ( 'mask-transition', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Mask Transition Effect', 'cmp-coming-soon-maintenance');?>
103
- </label>
104
- <?php
105
- } ?>
106
 
107
- </p>
 
 
 
 
 
 
108
 
109
- <p>
110
- <input type="checkbox" name="niteoCS_slider_auto" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> id="niteoCS_slider_auto" value="1" <?php checked( '1', $niteoCS_slider_auto ); ?> class="regular-text code"><label for="niteoCS_slider_auto"><?php _e('Slider Autostart', 'cmp-coming-soon-maintenance');?></label><br>
111
- </p>
 
 
 
 
 
 
112
 
113
- <label for="niteoCS_slider_count"><?php _e('Number of Unplash media Slides (applies only for Unsplash photos)', 'cmp-coming-soon-maintenance');?></label><br>
114
  <select name="niteoCS_slider_count" <?php echo ( $niteoCS_banner != '1' ) ? 'disabled' : '';?>>
115
  <option value="2" <?php if ( $niteoCS_slider_count == '2' ) { echo ' selected="selected"'; } ?>>2</option>
116
  <option value="3" <?php if ( $niteoCS_slider_count == '3' ) { echo ' selected="selected"'; } ?>>3</option>
117
  <option value="4" <?php if ( $niteoCS_slider_count == '4' ) { echo ' selected="selected"'; } ?>>4</option>
118
  <option value="5" <?php if ( $niteoCS_slider_count == '5' ) { echo ' selected="selected"'; } ?>>5</option>
119
  </select>
120
-
121
 
122
  </fieldset>
123
  </td>
65
  <legend class="screen-reader-text">
66
  <span><?php _e('Slider setup', 'cmp-coming-soon-maintenance');?></span>
67
  </legend>
68
+
69
+ <h4 for="niteoCS_slider_effect"><?php _e('Slider Effect', 'cmp-coming-soon-maintenance');?></h4>
70
+ <?php
71
+ if ( $this->cmp_selectedTheme() !== 'apollo' && $this->cmp_selectedTheme() !== 'ares' ) { ?>
72
+ <label title="Slide Effect">
73
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="false"<?php checked ( 'false', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slide', 'cmp-coming-soon-maintenance');?>
74
+ </label><br>
75
+ <?php
76
+ }
77
+ if ( $this->cmp_selectedTheme() !== 'ares' ) { ?>
78
+ <label title="Fade Effect">
79
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="true"<?php checked ( 'true', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Fade', 'cmp-coming-soon-maintenance');?>
80
+ </label><br>
81
+ <?php
82
+ }
83
+ // Slice option for selected themes
84
+ if ( $this->cmp_selectedTheme() == 'fifty' ) { ?>
85
+ <label title="Slice Effect">
86
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="slice"<?php checked ( 'slice', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slice', 'cmp-coming-soon-maintenance');?>
87
+ </label><br>
88
  <?php
89
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
+ // Train option for selected themes
92
+ if ( $this->cmp_selectedTheme() == 'libra' ) { ?>
93
+ <label title="Train Effect">
94
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="train"<?php checked ( 'train', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Train', 'cmp-coming-soon-maintenance');?>
95
+ </label><br>
96
+ <?php
97
+ }
98
 
99
+ // Mask Transition option for selected themes
100
+ if ( $this->cmp_selectedTheme() == 'apollo' || $this->cmp_selectedTheme() == 'ares' ) { ?>
101
+ <label title="Mask Transition Effect">
102
+ <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="mask-transition"<?php checked ( 'mask-transition', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Mask Transition Effect', 'cmp-coming-soon-maintenance');?>
103
+ </label>
104
+ <?php
105
+ } ?>
106
+
107
+ <p><input type="checkbox" name="niteoCS_slider_auto" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> id="niteoCS_slider_auto" value="1" <?php checked( '1', $niteoCS_slider_auto ); ?> class="regular-text code"><label for="niteoCS_slider_auto"><?php _e('Slider Autostart', 'cmp-coming-soon-maintenance');?></label><br></p>
108
 
109
+ <h4 for="niteoCS_slider_count"><?php _e('Number of Unplash media Slides (applies only for Unsplash photos)', 'cmp-coming-soon-maintenance');?></h4>
110
  <select name="niteoCS_slider_count" <?php echo ( $niteoCS_banner != '1' ) ? 'disabled' : '';?>>
111
  <option value="2" <?php if ( $niteoCS_slider_count == '2' ) { echo ' selected="selected"'; } ?>>2</option>
112
  <option value="3" <?php if ( $niteoCS_slider_count == '3' ) { echo ' selected="selected"'; } ?>>3</option>
113
  <option value="4" <?php if ( $niteoCS_slider_count == '4' ) { echo ' selected="selected"'; } ?>>4</option>
114
  <option value="5" <?php if ( $niteoCS_slider_count == '5' ) { echo ' selected="selected"'; } ?>>5</option>
115
  </select>
 
116
 
117
  </fieldset>
118
  </td>
inc/settings/settings-special_effects.php CHANGED
@@ -14,68 +14,67 @@ $constellation_color = get_option('niteoCS_special_effect[constellation][color]
14
 
15
  ?>
16
 
17
- <div class="table-wrapper theme-setup special-effects">
18
- <h3><?php _e('Special Effects', 'cmp-coming-soon-maintenance');?></h3>
19
- <table class="theme-setup">
20
- <tbody>
21
- <tr>
22
- <th>
23
- <fieldset>
24
- <legend class="screen-reader-text">
25
- <span><?php _e('Special Effects', 'cmp-coming-soon-maintenance');?></span>
26
- </legend>
27
-
28
- <p>
29
- <label title="Constellation">
30
- <input type="radio" class="special-effect" name="niteoCS_special_effect" value="constellation" <?php checked( 'constellation', $special_effect );?>>&nbsp;<?php _e('Constellation', 'cmp-coming-soon-maintenance');?>
31
- </label>
32
- </p>
33
-
34
- <p>
35
- <label title="Floating Bubbles">
36
- <input type="radio" class="special-effect" name="niteoCS_special_effect" value="bubbles" <?php checked( 'bubbles', $special_effect );?>>&nbsp;<?php _e('Floating Bubbles', 'cmp-coming-soon-maintenance');?>
37
- </label>
38
- </p>
39
-
40
- <p>
41
- <label title="Let It Snow">
42
- <input type="radio" class="special-effect" name="niteoCS_special_effect" value="snow" <?php checked( 'snow', $special_effect );?>>&nbsp;<?php _e('Let It Snow', 'cmp-coming-soon-maintenance');?>
43
- </label>
44
- </p>
45
-
46
- <p>
47
- <label title="Disabled">
48
- <input type="radio" class="special-effect" name="niteoCS_special_effect" value="disabled" <?php checked( 'disabled', $special_effect );?>>&nbsp;<?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
49
- </label>
50
- </p>
51
-
52
- </fieldset>
53
- </th>
54
-
55
- <td>
56
- <fieldset class="special-effect-switch disabled">
57
- <p><?php _e('Background effects are disabled', 'cmp-coming-soon-maintenance')?></p>
58
-
59
- </fieldset>
60
-
61
- <fieldset class="special-effect-switch constellation bubbles snow">
62
- <label for="niteoCS_constellation_color"><?php _e('Effect Color', 'cmp-coming-soon-maintenance');?></label><br><br>
63
- <input type="text" name="niteoCS_constellation_color" id="niteoCS_constellation_color" value="<?php echo esc_attr( $constellation_color ); ?>" data-default-color="#ffffff" class="regular-text code"><br>
64
- </fieldset>
65
-
66
- </td>
67
- </tr>
68
-
69
- <?php echo $this->render_settings->submit(); ?>
70
-
71
- </tbody>
72
- </table>
73
-
74
- </div>
75
-
76
- <script>
77
- jQuery(document).ready(function($){
78
- // ini color picker
79
- jQuery('#niteoCS_constellation_color').wpColorPicker();
80
- });
81
- </script>
14
 
15
  ?>
16
 
17
+ <div class="table-wrapper theme-setup special-effects">
18
+ <h3><?php _e('Special Effects', 'cmp-coming-soon-maintenance');?></h3>
19
+ <table class="theme-setup">
20
+ <tbody>
21
+ <tr>
22
+ <th>
23
+ <fieldset>
24
+ <legend class="screen-reader-text">
25
+ <span><?php _e('Special Effects', 'cmp-coming-soon-maintenance');?></span>
26
+ </legend>
27
+
28
+ <p>
29
+ <label title="Constellation">
30
+ <input type="radio" class="special-effect" name="niteoCS_special_effect" value="constellation" <?php checked( 'constellation', $special_effect );?>>&nbsp;<?php _e('Constellation', 'cmp-coming-soon-maintenance');?>
31
+ </label>
32
+ </p>
33
+
34
+ <p>
35
+ <label title="Floating Bubbles">
36
+ <input type="radio" class="special-effect" name="niteoCS_special_effect" value="bubbles" <?php checked( 'bubbles', $special_effect );?>>&nbsp;<?php _e('Floating Bubbles', 'cmp-coming-soon-maintenance');?>
37
+ </label>
38
+ </p>
39
+
40
+ <p>
41
+ <label title="Let It Snow">
42
+ <input type="radio" class="special-effect" name="niteoCS_special_effect" value="snow" <?php checked( 'snow', $special_effect );?>>&nbsp;<?php _e('Let It Snow', 'cmp-coming-soon-maintenance');?>
43
+ </label>
44
+ </p>
45
+
46
+ <p>
47
+ <label title="Disabled">
48
+ <input type="radio" class="special-effect" name="niteoCS_special_effect" value="disabled" <?php checked( 'disabled', $special_effect );?>>&nbsp;<?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
49
+ </label>
50
+ </p>
51
+
52
+ </fieldset>
53
+ </th>
54
+
55
+ <td>
56
+ <fieldset class="special-effect-switch disabled">
57
+ <p><?php _e('Background effects are disabled', 'cmp-coming-soon-maintenance')?></p>
58
+ </fieldset>
59
+
60
+ <fieldset class="special-effect-switch constellation bubbles snow">
61
+ <h4><?php _e('Effect Color', 'cmp-coming-soon-maintenance');?></h4>
62
+ <input type="text" name="niteoCS_constellation_color" id="niteoCS_constellation_color" value="<?php echo esc_attr( $constellation_color ); ?>" data-default-color="#ffffff" class="regular-text code"><br>
63
+ </fieldset>
64
+
65
+ </td>
66
+ </tr>
67
+
68
+ <?php echo $this->render_settings->submit(); ?>
69
+
70
+ </tbody>
71
+ </table>
72
+
73
+ </div>
74
+
75
+ <script>
76
+ jQuery(document).ready(function($){
77
+ // ini color picker
78
+ jQuery('#niteoCS_constellation_color').wpColorPicker();
79
+ });
80
+ </script>
 
inc/settings/settings-subscribe.php CHANGED
@@ -124,7 +124,7 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
124
  $niteoCS_subscribe_title = stripslashes( get_option('niteoCS_subscribe_title', 'SUBSCRIBE US') );
125
  ?>
126
  <td class="subscribe-switch x1 x2">
127
- <label for="niteoCS_subscribe_title"><?php _e('Subcribe Form Title', 'cmp-coming-soon-maintenance');?>
128
  <input type="text" name="niteoCS_subscribe_title" id="niteoCS_subscribe_title" value="<?php echo stripslashes( esc_attr($niteoCS_subscribe_title ));?>" class="regular-text code">
129
  </label>
130
  </td>
@@ -132,9 +132,8 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
132
 
133
  <td id="subscribe-3rdparty" class="subscribe-switch x1">
134
  <fieldset>
135
- <label class="subscribe" for="niteoCS_subscribe_code"><?php _e('3rd Party Plugin Shortcode', 'cmp-coming-soon-maintenance');?>
136
- <input type="text" name="niteoCS_subscribe_code" id="niteoCS_subscribe_code" value="<?php echo stripslashes( esc_attr($niteoCS_subscribe_code ));?>" class="regular-text code">
137
- </label>
138
 
139
  <p><?php _e('You can find Shortode in your Contact Form Plugin settings. Should be something similar to code below: ', 'cmp-coming-soon-maintenance');?><br><code>[contact-form-7 id="8" title='Contact form 1']</code> or <code>[mc4wp_form id='7']</code></p>
140
 
@@ -144,20 +143,19 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
144
 
145
  <td id="subscribe-niteo" class="subscribe-switch x2">
146
  <fieldset>
147
- <p><?php _e('CMP custom subscribe form will be used. It is guaranteed to always match selected Theme\'s style.', 'cmp-coming-soon-maintenance');?></p>
148
 
149
- <label class="subscribe" for="niteoCS_subscribe_label"><?php _e('Subscribe Form message (can be GDPR or any custom message). Supports anchor HTML tags.', 'cmp-coming-soon-maintenance');?>
150
- <textarea name="niteoCS_subscribe_label" id="niteoCS_subscribe_label" class="regular-text code" placeholder="<?php _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"><?php echo esc_attr( $niteoCS_subscribe_label );?></textarea>
151
- </label><br><br>
152
-
153
- <label for="niteoCS_subscribe_method"><?php _e('Select how to save your Subscribers', 'cmp-coming-soon-maintenance');?>
154
- <select name="niteoCS_subscribe_method" id ="niteoCS_subscribe_method" class="subscribe-method">
155
- <option value="cmp" <?php selected( 'cmp', $subscribe_method ); ?>><?php _e('CMP Custom Subscribe List', 'cmp-coming-soon-maintenance');?></option>
156
- <option value="mailchimp" <?php selected( 'mailchimp', $subscribe_method ); ?>><?php _e('MailChimp Integration', 'cmp-coming-soon-maintenance');?></option>
157
- <option value="mailpoet" <?php selected( 'mailpoet', $subscribe_method ); ?>><?php _e('MailPoet Integration', 'cmp-coming-soon-maintenance');?></option>
158
- <option value="mailster" <?php selected( 'mailster', $subscribe_method ); ?>><?php _e('Mailster Integration', 'cmp-coming-soon-maintenance');?></option>
159
- </select>
160
- </label>
161
 
162
  <div class="subscribe-method cmp">
163
  <p><?php _e( 'Emails will be stored in custom CMP list with CSV export support. If you ever delete CMP plugin then subscriber list will be purged as well.', 'cmp-coming-soon-maintenance' );?></p>
@@ -165,33 +163,30 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
165
  </div>
166
 
167
  <div class="subscribe-method mailchimp">
168
- <br>
169
- <label for="niteoCS_mailchimp_apikey"><?php _e('MailChimp API key', 'cmp-coming-soon-maintenance');?>
170
- <input type="text" id="niteoCS_mailchimp_apikey" name="niteoCS_mailchimp_apikey" value="<?php echo esc_attr( $mailchimp_apikey );?>" class="regular-text code" placeholder="<?php _e('MailChimp API Key', 'cmp-coming-soon-maintenance');?>">
171
- </label><br><br>
172
  <button id="connect-mailchimp" class="button" data-security="<?php echo esc_attr($ajax_nonce);?>"><?php _e('Retrieve Lists', 'cmp-coming-soon-maintenance');?></button>
173
  <p><?php printf(__('You can find or create new API key in your %s.', 'cmp-coming-soon-maintenance'), '<a href="https://admin.mailchimp.com/account/api/" target="_blank">MailChimp Account</a>'); ?></p>
174
- <label for="niteoCS_mailchimp_list"><?php _e('Select MailChimp subscriber`s list.', 'cmp-coming-soon-maintenance');?>
175
- <select name="niteoCS_mailchimp_list_selected" id="niteoCS_mailchimp_list">
176
- <?php
177
- if ( is_array( $mailchimp_lists ) ) {
178
 
179
- if ( $mailchimp_lists['response'] == 200 ) {
180
- foreach ( $mailchimp_lists['lists'] as $list) { ?>
181
- <option value="<?php echo esc_attr( $list['id'] );?>" <?php selected( $list['id'], $mailchimp_list_selected ); ?>><?php echo esc_attr( $list['name'] );?></option>
182
- <?php
183
- }
184
- } else { ?>
185
- <option value="error"><?php echo esc_attr( $mailchimp_lists['response'] . ': ' . $mailchimp_lists['message']);?></option>
186
  <?php
187
  }
188
-
189
  } else { ?>
190
- <option value="error"><?php _e('Please insert MailChimp API key to retrieve Lists.', 'cmp-coming-soon-maintenance');?></option>
191
  <?php
192
- } ?>
193
- </select>
194
- </label>
 
 
 
 
195
  <br><br>
196
  <label><input type="checkbox" name="niteoCS_mailchimp_double_opt" value="1" <?php checked( '1', get_option( 'niteoCS_mailchimp[double-opt]', '0' ) ); ?> class="regular-text code"><?php _e('Enable MailChimp Double Opt In', 'cmp-coming-soon-maintenance');?></label>
197
  </div>
@@ -209,21 +204,20 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
209
 
210
  <br>
211
 
212
- <label for="niteoCS_mailpoet_list"><?php _e('Select MailPoet subscriber`s list.', 'cmp-coming-soon-maintenance');?>
213
- <select name="niteoCS_mailpoet_list_selected" id="niteoCS_mailpoet_list">
214
- <?php
215
- if ( is_array( $mailpoet_lists ) ) {
216
- foreach ( $mailpoet_lists as $list) { ?>
217
- <option value="<?php echo esc_attr( $list['id'] );?>" <?php selected( $list['id'], $mailpoet_list_selected ); ?>><?php echo esc_attr( $list['name'] );?></option>
218
- <?php
219
- }
220
-
221
- } else { ?>
222
- <option value="error"><?php _e('Could not retrieve MailPoet subcribers lists. Please make sure MailPoet is correctly installed and configured.', 'cmp-coming-soon-maintenance');?></option>
223
  <?php
224
- } ?>
225
- </select>
226
- </label>
 
 
 
 
227
  </div>
228
 
229
  <div class="subscribe-method mailster">
@@ -238,20 +232,19 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
238
 
239
  <br>
240
 
241
- <label for="niteoCS_mailster_list"><?php _e('Select Mailster subscriber`s list.', 'cmp-coming-soon-maintenance');?>
242
- <select name="niteoCS_mailster_list_selected" id="niteoCS_mailster_list">
243
- <?php
244
- if ( is_array( $mailster_lists ) ) {
245
- foreach ( $mailster_lists as $list) { ?>
246
- <option value="<?php echo esc_attr( $list->ID );?>" <?php selected( $list->ID, $mailster_list_selected ); ?>><?php echo esc_attr( $list->name );?></option>
247
- <?php
248
- }
249
- } else { ?>
250
- <option value="error"><?php _e('Could not retrieve Mailster subribers lists. Please make sure Mailster is correctly installed and configured.', 'cmp-coming-soon-maintenance');?></option>
251
  <?php
252
- } ?>
253
- </select>
254
- </label>
 
 
 
255
  <br><br>
256
  <label><input type="checkbox" name="niteoCS_mailster_double_opt" value="1" <?php checked( '1', get_option( 'niteoCS_mailster_double_opt', '1' ) ); ?> class="regular-text code"><?php _e('Enable Mailster Double Opt In', 'cmp-coming-soon-maintenance');?></label>
257
 
@@ -273,20 +266,19 @@ $mailoptin_selected = get_option('niteoCS_mailoptin_selected');
273
  $optins = MailOptin\Core\Repositories\OptinCampaignsRepository::get_optin_campaigns();
274
  ?>
275
  <fieldset>
276
- <label for="niteoCS_mailoptin_list"><?php _e('Select MailOptin Campaigns.', 'cmp-coming-soon-maintenance');?>
277
- <select name="niteoCS_mailoptin_selected" id="niteoCS_mailoptin_list">
278
- <?php
279
- if ( !empty( $optins ) ) {
280
- foreach ( $optins as $optin) { ?>
281
- <option value="<?php echo esc_attr( $optin['id'] );?>" <?php selected( $optin['id'], $mailoptin_selected ); ?>><?php echo esc_attr( $optin['name'] );?></option>
282
- <?php
283
- }
284
- } else { ?>
285
- <option value="error"><?php _e('No MailOptin Campaign was found. Please make there is at least one Optin Campaign created.', 'cmp-coming-soon-maintenance');?></option>
286
  <?php
287
- } ?>?>
288
- </select>
289
- </label>
 
 
 
290
  </fieldset>
291
  <?php
292
  } else {
124
  $niteoCS_subscribe_title = stripslashes( get_option('niteoCS_subscribe_title', 'SUBSCRIBE US') );
125
  ?>
126
  <td class="subscribe-switch x1 x2">
127
+ <h4 for="niteoCS_subscribe_title"><?php _e('Subcribe Form Title', 'cmp-coming-soon-maintenance');?>
128
  <input type="text" name="niteoCS_subscribe_title" id="niteoCS_subscribe_title" value="<?php echo stripslashes( esc_attr($niteoCS_subscribe_title ));?>" class="regular-text code">
129
  </label>
130
  </td>
132
 
133
  <td id="subscribe-3rdparty" class="subscribe-switch x1">
134
  <fieldset>
135
+ <h4 class="subscribe" for="niteoCS_subscribe_code"><?php _e('3rd Party Plugin Shortcode', 'cmp-coming-soon-maintenance');?></h4>
136
+ <input type="text" name="niteoCS_subscribe_code" id="niteoCS_subscribe_code" value="<?php echo stripslashes( esc_attr($niteoCS_subscribe_code ));?>" class="regular-text code">
 
137
 
138
  <p><?php _e('You can find Shortode in your Contact Form Plugin settings. Should be something similar to code below: ', 'cmp-coming-soon-maintenance');?><br><code>[contact-form-7 id="8" title='Contact form 1']</code> or <code>[mc4wp_form id='7']</code></p>
139
 
143
 
144
  <td id="subscribe-niteo" class="subscribe-switch x2">
145
  <fieldset>
146
+ <p><?php _e('CMP Subscribe form will be used. It is guaranteed to always match selected CMP Theme\'s style.', 'cmp-coming-soon-maintenance');?></p>
147
 
148
+ <h4 class="subscribe" for="niteoCS_subscribe_label"><?php _e('Subscribe Form message (can be GDPR or any custom message). Supports anchor HTML tags.', 'cmp-coming-soon-maintenance');?></h4>
149
+ <textarea name="niteoCS_subscribe_label" id="niteoCS_subscribe_label" class="regular-text code" placeholder="<?php _e('Leave empty to disable', 'cmp-coming-soon-maintenance');?>"><?php echo esc_attr( $niteoCS_subscribe_label );?></textarea>
150
+
151
+ <h4><?php _e('Select how to save your Subscribers', 'cmp-coming-soon-maintenance');?></h4>
152
+ <select name="niteoCS_subscribe_method" id ="niteoCS_subscribe_method" class="subscribe-method">
153
+ <option value="cmp" <?php selected( 'cmp', $subscribe_method ); ?>><?php _e('CMP Custom Subscribe List', 'cmp-coming-soon-maintenance');?></option>
154
+ <option value="mailchimp" <?php selected( 'mailchimp', $subscribe_method ); ?>><?php _e('MailChimp Integration', 'cmp-coming-soon-maintenance');?></option>
155
+ <option value="mailpoet" <?php selected( 'mailpoet', $subscribe_method ); ?>><?php _e('MailPoet Integration', 'cmp-coming-soon-maintenance');?></option>
156
+ <option value="mailster" <?php selected( 'mailster', $subscribe_method ); ?>><?php _e('Mailster Integration', 'cmp-coming-soon-maintenance');?></option>
157
+ </select>
158
+
 
159
 
160
  <div class="subscribe-method cmp">
161
  <p><?php _e( 'Emails will be stored in custom CMP list with CSV export support. If you ever delete CMP plugin then subscriber list will be purged as well.', 'cmp-coming-soon-maintenance' );?></p>
163
  </div>
164
 
165
  <div class="subscribe-method mailchimp">
166
+ <h4><?php _e('MailChimp API key', 'cmp-coming-soon-maintenance');?></h4>
167
+ <input type="text" id="niteoCS_mailchimp_apikey" name="niteoCS_mailchimp_apikey" value="<?php echo esc_attr( $mailchimp_apikey );?>" class="regular-text code" placeholder="<?php _e('MailChimp API Key', 'cmp-coming-soon-maintenance');?>">
 
 
168
  <button id="connect-mailchimp" class="button" data-security="<?php echo esc_attr($ajax_nonce);?>"><?php _e('Retrieve Lists', 'cmp-coming-soon-maintenance');?></button>
169
  <p><?php printf(__('You can find or create new API key in your %s.', 'cmp-coming-soon-maintenance'), '<a href="https://admin.mailchimp.com/account/api/" target="_blank">MailChimp Account</a>'); ?></p>
170
+ <h4 for="niteoCS_mailchimp_list"><?php _e('Select MailChimp subscriber`s list.', 'cmp-coming-soon-maintenance');?></h4>
171
+ <select name="niteoCS_mailchimp_list_selected" id="niteoCS_mailchimp_list">
172
+ <?php
173
+ if ( is_array( $mailchimp_lists ) ) {
174
 
175
+ if ( $mailchimp_lists['response'] == 200 ) {
176
+ foreach ( $mailchimp_lists['lists'] as $list) { ?>
177
+ <option value="<?php echo esc_attr( $list['id'] );?>" <?php selected( $list['id'], $mailchimp_list_selected ); ?>><?php echo esc_attr( $list['name'] );?></option>
 
 
 
 
178
  <?php
179
  }
 
180
  } else { ?>
181
+ <option value="error"><?php echo esc_attr( $mailchimp_lists['response'] . ': ' . $mailchimp_lists['message']);?></option>
182
  <?php
183
+ }
184
+
185
+ } else { ?>
186
+ <option value="error"><?php _e('Please insert MailChimp API key to retrieve Lists.', 'cmp-coming-soon-maintenance');?></option>
187
+ <?php
188
+ } ?>
189
+ </select>
190
  <br><br>
191
  <label><input type="checkbox" name="niteoCS_mailchimp_double_opt" value="1" <?php checked( '1', get_option( 'niteoCS_mailchimp[double-opt]', '0' ) ); ?> class="regular-text code"><?php _e('Enable MailChimp Double Opt In', 'cmp-coming-soon-maintenance');?></label>
192
  </div>
204
 
205
  <br>
206
 
207
+ <h4 for="niteoCS_mailpoet_list"><?php _e('Select MailPoet subscriber`s list.', 'cmp-coming-soon-maintenance');?></h4>
208
+ <select name="niteoCS_mailpoet_list_selected" id="niteoCS_mailpoet_list">
209
+ <?php
210
+ if ( is_array( $mailpoet_lists ) ) {
211
+ foreach ( $mailpoet_lists as $list) { ?>
212
+ <option value="<?php echo esc_attr( $list['id'] );?>" <?php selected( $list['id'], $mailpoet_list_selected ); ?>><?php echo esc_attr( $list['name'] );?></option>
 
 
 
 
 
213
  <?php
214
+ }
215
+
216
+ } else { ?>
217
+ <option value="error"><?php _e('Could not retrieve MailPoet subcribers lists. Please make sure MailPoet is correctly installed and configured.', 'cmp-coming-soon-maintenance');?></option>
218
+ <?php
219
+ } ?>
220
+ </select>
221
  </div>
222
 
223
  <div class="subscribe-method mailster">
232
 
233
  <br>
234
 
235
+ <h4 for="niteoCS_mailster_list"><?php _e('Select Mailster subscriber`s list.', 'cmp-coming-soon-maintenance');?></h4>
236
+ <select name="niteoCS_mailster_list_selected" id="niteoCS_mailster_list">
237
+ <?php
238
+ if ( is_array( $mailster_lists ) ) {
239
+ foreach ( $mailster_lists as $list) { ?>
240
+ <option value="<?php echo esc_attr( $list->ID );?>" <?php selected( $list->ID, $mailster_list_selected ); ?>><?php echo esc_attr( $list->name );?></option>
 
 
 
 
241
  <?php
242
+ }
243
+ } else { ?>
244
+ <option value="error"><?php _e('Could not retrieve Mailster subribers lists. Please make sure Mailster is correctly installed and configured.', 'cmp-coming-soon-maintenance');?></option>
245
+ <?php
246
+ } ?>
247
+ </select>
248
  <br><br>
249
  <label><input type="checkbox" name="niteoCS_mailster_double_opt" value="1" <?php checked( '1', get_option( 'niteoCS_mailster_double_opt', '1' ) ); ?> class="regular-text code"><?php _e('Enable Mailster Double Opt In', 'cmp-coming-soon-maintenance');?></label>
250
 
266
  $optins = MailOptin\Core\Repositories\OptinCampaignsRepository::get_optin_campaigns();
267
  ?>
268
  <fieldset>
269
+ <h4 for="niteoCS_mailoptin_list"><?php _e('Select MailOptin Campaigns.', 'cmp-coming-soon-maintenance');?></h4>
270
+ <select name="niteoCS_mailoptin_selected" id="niteoCS_mailoptin_list">
271
+ <?php
272
+ if ( !empty( $optins ) ) {
273
+ foreach ( $optins as $optin) { ?>
274
+ <option value="<?php echo esc_attr( $optin['id'] );?>" <?php selected( $optin['id'], $mailoptin_selected ); ?>><?php echo esc_attr( $optin['name'] );?></option>
 
 
 
 
275
  <?php
276
+ }
277
+ } else { ?>
278
+ <option value="error"><?php _e('No MailOptin Campaign was found. Please make there is at least one Optin Campaign created.', 'cmp-coming-soon-maintenance');?></option>
279
+ <?php
280
+ } ?>?>
281
+ </select>
282
  </fieldset>
283
  <?php
284
  } else {
inc/settings/settings-theme-selector.php CHANGED
@@ -50,21 +50,22 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
50
 
51
  <div class="buttons-wrapper">
52
 
53
- <div class="button theme-select hide<?php echo ( $this->cmp_selectedTheme() == $theme_slug ) ? ' activated' : '';?>">
54
- <input type="radio" name="niteoCS_select_theme" value="<?php echo esc_attr($theme_slug);?>" id="displayOption-<?php echo esc_attr($theme_slug);?>"<?php if ( $this->cmp_selectedTheme() == $theme_slug ) { echo ' checked="checked"'; } ?>>
55
- <span class="input-label"><?php if ( $this->cmp_selectedTheme() == $theme_slug ) { _e('Active', 'cmp-coming-soon-maintenance'); } else { _e('Select', 'cmp-coming-soon-maintenance'); }?></span>
56
- </div>
57
-
58
- <a href="<?php echo esc_url( get_site_url().'?cmp_preview=true&cmp_theme='.$theme_slug );?>" target="_blank" class="theme-preview button hide"><i class="fa fa-external-link" aria-hidden="true"></i><?php _e('PREVIEW', 'cmp-coming-soon-maintenance');?></a>
59
 
60
- <button type="button" class="theme-details button hide"><i class="fa fa-eye" aria-hidden="true"></i><?php _e('DETAILS', 'cmp-coming-soon-maintenance');?></button>
61
  </div>
62
 
63
  <div class="theme-inputs">
64
 
65
- <span class="theme-title"><?php echo ucwords(esc_html(str_replace('_', ' ', $theme_slug)));?></span>
66
 
67
- <?php echo ( $this->cmp_selectedTheme() == $theme_slug ) ? ' <span class="italic">'.__('Active', 'cmp-coming-soon-maintenance').'</span>' : '';?>
 
 
 
 
 
 
68
 
69
  <span class="theme-version">ver. <?php echo esc_html( $version );?></span>
70
 
@@ -105,23 +106,20 @@ if ( !empty( $downloadable_themes ) ) { ?>
105
 
106
  $thumbnail = plugins_url('../../img/thumbnails/'. $theme_slug . '_thumbnail.jpg', __FILE__); ?>
107
 
108
- <div class="theme-wrapper premium" data-security="<?php echo esc_attr($ajax_nonce);?>" data-slug="<?php echo esc_attr($theme_slug);?>" data-type="premium">
109
 
110
  <div class="thumbnail-holder theme-details" style="background-image:url('<?php echo esc_url( $thumbnail ); ?>')"></div>
111
 
112
  <div class="buttons-wrapper">
113
 
114
- <a href="<?php echo esc_url ( $premium_theme['url'] );?>" target="_blank" class="theme-purchase button hide"><i class="fa fa-download" aria-hidden="true"></i><?php echo sprintf(__('Get %s', 'cmp-coming-soon-maintenance'), ucwords( esc_html( str_replace('_', ' ', $theme_slug) ) ));?></a>
115
-
116
- <a href="<?php echo 'https://niteothemes.com/cmp-coming-soon-maintenance/?theme='.$theme_slug.'&utm_source=cmp&utm_medium=referral&utm_campaign='.$theme_slug;?>" target="_blank" class="theme-preview button hide"><i class="fa fa-external-link" aria-hidden="true"></i><?php _e('PREVIEW', 'cmp-coming-soon-maintenance');?></a>
117
 
118
- <button type="button" class="theme-details button hide"><i class="fa fa-eye" aria-hidden="true"></i><?php _e('DETAILS', 'cmp-coming-soon-maintenance');?></button>
119
 
120
  </div>
121
 
122
  <div class="theme-inputs">
123
- <span class="theme-title"><?php echo ucwords( esc_html( str_replace('_', ' ', $theme_slug) ) );?></span>
124
- <?php echo ( $premium_theme['price'] == '0' ) ? '<span class="theme-version"> ('. __('freebie') .')</span>' : ''; ?>
125
  </div>
126
  </div>
127
 
50
 
51
  <div class="buttons-wrapper">
52
 
53
+ <a href="<?php echo esc_url( get_site_url().'?cmp_preview=true&cmp_theme='.$theme_slug );?>" target="_blank" class="theme-preview button"><i class="fa fa-external-link" aria-hidden="true"></i><?php _e('PREVIEW', 'cmp-coming-soon-maintenance');?></a>
 
 
 
 
 
54
 
55
+ <a href="#theme-details" class="theme-details button"><i class="fa fa-eye" aria-hidden="true"></i><?php _e('DETAILS', 'cmp-coming-soon-maintenance');?></a>
56
  </div>
57
 
58
  <div class="theme-inputs">
59
 
60
+ <?php
61
 
62
+ if ( $this->cmp_selectedTheme() !== $theme_slug ) {
63
+ echo '<button class="cmp-activate-theme" type="submit" name="niteoCS_select_theme" value="'.esc_attr($theme_slug).'">' . __('Activate', 'cmp-coming-soon-maintenance') . '</button>';
64
+ }
65
+
66
+ echo ( $this->cmp_selectedTheme() == $theme_slug ) ? ' <span class="italic">'.__('Active', 'cmp-coming-soon-maintenance').'</span>' : '';?>
67
+
68
+ <span class="theme-title"><?php echo ucwords(esc_html(str_replace('_', ' ', $theme_slug)));?></span>
69
 
70
  <span class="theme-version">ver. <?php echo esc_html( $version );?></span>
71
 
106
 
107
  $thumbnail = plugins_url('../../img/thumbnails/'. $theme_slug . '_thumbnail.jpg', __FILE__); ?>
108
 
109
+ <div class="theme-wrapper premium" data-security="<?php echo esc_attr($ajax_nonce);?>" data-slug="<?php echo esc_attr($theme_slug);?>" data-type="premium" data-buy="">
110
 
111
  <div class="thumbnail-holder theme-details" style="background-image:url('<?php echo esc_url( $thumbnail ); ?>')"></div>
112
 
113
  <div class="buttons-wrapper">
114
 
115
+ <a href="<?php echo 'https://niteothemes.com/cmp-coming-soon-maintenance/?theme='.$theme_slug.'&utm_source=cmp&utm_medium=referral&utm_campaign='.$theme_slug;?>" target="_blank" class="theme-preview button"><i class="fa fa-external-link" aria-hidden="true"></i><?php _e('PREVIEW', 'cmp-coming-soon-maintenance');?></a>
 
 
116
 
117
+ <a href="theme-details" class="theme-details button"><i class="fa fa-eye" aria-hidden="true"></i><?php _e('DETAILS', 'cmp-coming-soon-maintenance');?></a>
118
 
119
  </div>
120
 
121
  <div class="theme-inputs">
122
+ <a href="<?php echo esc_url ( $premium_theme['url'] );?>" target="_blank" class="cmp-purchase-theme"><i class="fa fa-download" aria-hidden="true"></i><?php echo sprintf(__('Get %s', 'cmp-coming-soon-maintenance'), ucwords( esc_html( str_replace('_', ' ', $theme_slug) ) ));?></a>
 
123
  </div>
124
  </div>
125
 
inc/settings/settings-typography.php CHANGED
@@ -11,14 +11,14 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
11
  <th><?php _e('Headings Font', 'cmp-coming-soon-maintenance');?></th>
12
  <td>
13
  <fieldset class="cmp-width-50">
14
- <label for="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Font Family from ', 'cmp-coming-soon-maintenance');?><a href="https://fonts.google.com" target="_blank"><?php _e('Google Fonts', 'cmp-coming-soon-maintenance');?></a></label><br>
15
  <select id="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>" class="headings-google-font" name="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>" data-type="heading">
16
  <option value="<?php echo esc_attr( $heading_font['family'] ); ?>" selected="selected"><?php echo esc_html( $heading_font['family'] ); ?></option>
17
  </select>
18
  </fieldset>
19
 
20
  <fieldset class="cmp-width-50">
21
- <label for="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></label><br>
22
  <select id="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>" class="headings-google-font-variant" name="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>">
23
  <option value="<?php echo esc_attr( $heading_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $heading_font['variant'] ) ); ?></option>
24
  </select>
@@ -28,13 +28,13 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
28
  if ( $this->cmp_selectedTheme() !== 'mercury' ) { ?>
29
 
30
  <fieldset class="cmp-width-33">
31
- <label for="niteoCS_font_headings_size_<?php echo esc_attr( $themeslug );?>"><?php _e('Font Size', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $heading_font['size'] ); ?></span>px</label><br>
32
  <input type="range" id="niteoCS_font_headings_size_<?php echo esc_attr( $themeslug );?>" name="niteoCS_font_headings_size_<?php echo esc_attr( $themeslug );?>" min="10" max="75" step="1" value="<?php echo esc_attr( $heading_font['size'] ); ?>" data-css="font-size" data-type="heading" />
33
  </fieldset>
34
  <?php } ?>
35
 
36
  <fieldset class="cmp-width-33">
37
- <label for="niteoCS_font_headings_spacing_<?php echo esc_attr( $themeslug );?>"><?php _e('Letter Spacing', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $heading_font['spacing'] ); ?></span>px</label><br>
38
  <input type="range" id="niteoCS_font_headings_spacing_<?php echo esc_attr( $themeslug );?>" name="niteoCS_font_headings_spacing_<?php echo esc_attr( $themeslug );?>" min="0" max="10" step="0.5" value="<?php echo esc_attr( $heading_font['spacing'] ); ?>" data-css="letter-spacing" data-type="heading" />
39
  </fieldset>
40
 
@@ -46,35 +46,35 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
46
  <td>
47
 
48
  <fieldset class="cmp-width-50">
49
- <label for="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Font Family from ', 'cmp-coming-soon-maintenance');?><a href="https://fonts.google.com" target="_blank">Google Fonts</a></label><br>
50
  <select id="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>" class="content-google-font" name="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>" data-type="content">
51
  <option value="<?php echo esc_attr( $content_font['family'] ); ?>" selected="selected"><?php echo esc_html( $content_font['family'] ); ?></option>
52
  </select>
53
  </fieldset>
54
 
55
  <fieldset class="cmp-width-50">
56
- <label for="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></label><br>
57
  <select id="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>" class="content-google-font-variant" name ="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>">
58
  <option value="<?php echo esc_attr( $content_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $content_font['variant'] ) ); ?></option>
59
  </select>
60
  </fieldset>
61
 
62
  <fieldset class="cmp-width-33">
63
- <label for="niteoCS_font_content_size_<?php echo esc_attr( $themeslug );?>"><?php _e('Font Size', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $content_font['size'] ); ?></span>px</label><br>
64
  <input id="niteoCS_font_content_size_<?php echo esc_attr( $themeslug );?>" type="range" name="niteoCS_font_content_size_<?php echo esc_attr( $themeslug );?>" min="10" max="50" step="1" value="<?php echo esc_attr( $content_font['size'] ); ?>" data-css="font-size" data-type="content" />
65
  </fieldset>
66
 
67
  <fieldset class="cmp-width-33">
68
- <label for="niteoCS_font_content_spacing_<?php echo esc_attr( $themeslug );?>"><?php _e('Letter Spacing', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $content_font['spacing'] ); ?></span>px</label><br>
69
  <input id="niteoCS_font_content_spacing_<?php echo esc_attr( $themeslug );?>" type="range" name="niteoCS_font_content_spacing_<?php echo esc_attr( $themeslug );?>" min="0" max="10" step="0.5" value="<?php echo esc_attr( $content_font['spacing'] ); ?>" data-css="letter-spacing" data-type="content" />
70
  </fieldset>
71
 
72
  <fieldset class="cmp-width-33">
73
- <label for="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>"><?php _e('Line Height', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $content_font['line-height'] ); ?></span></label><br>
74
  <input id="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>" type="range" name="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>" min="1.3" max="3.0" step="0.1" value="<?php echo esc_attr( $content_font['line-height'] ); ?>" data-css="line-height" data-type="content" />
75
  </fieldset>
76
 
77
- <p style="margin-bottom:0;width:100%"><?php _e('Fonts preview', 'cmp-coming-soon-maintenance');?></p>
78
  <div id="font-example-wrapper">
79
  <h3 id="heading-example" class="animated <?php echo esc_attr($niteoCS_heading_animation);?>" style="font-size:<?php echo esc_attr( $heading_font['size'] );?>px;letter-spacing:<?php echo esc_attr( $heading_font['spacing'] );?>px">Hello, I am your Headings font!</h3>
80
  <p id="content-example" class="animated <?php echo esc_attr($niteoCS_content_animation);?>" style="font-size:<?php echo esc_attr( $content_font['size'] );?>px;letter-spacing:<?php echo esc_attr( $content_font['spacing'] );?>px;line-height:<?php echo esc_attr( $content_font['line-height'] );?>">And this is a long paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
@@ -85,8 +85,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
85
  if ( in_array( $this->cmp_selectedTheme(), $this->cmp_font_animation_themes() ) ) { ?>
86
 
87
  <fieldset class="cmp-width-50">
88
- <label for="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Heading Animation', 'cmp-coming-soon-maintenance');?></label><br>
89
- <select id="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>" name="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>" class="heading-animation">
90
  <option value="none" <?php if ( $niteoCS_heading_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
91
  <option value="fadeInDown" <?php if ( $niteoCS_heading_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
92
  <option value="fadeInUp" <?php if ( $niteoCS_heading_animation == 'fadeInUp' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Up', 'cmp-coming-soon-maintenance');?></option>
@@ -96,7 +95,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
96
  </fieldset>
97
 
98
  <fieldset class="cmp-width-50">
99
- <label for="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Content Animation', 'cmp-coming-soon-maintenance');?></label><br>
100
  <select id="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" name="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" class="content-animation">
101
  <option value="none" <?php if ( $niteoCS_content_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
102
  <option value="fadeInDown" <?php if ( $niteoCS_content_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
11
  <th><?php _e('Headings Font', 'cmp-coming-soon-maintenance');?></th>
12
  <td>
13
  <fieldset class="cmp-width-50">
14
+ <h4 for="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Font Family from ', 'cmp-coming-soon-maintenance');?><a href="https://fonts.google.com" target="_blank"><?php _e('Google Fonts', 'cmp-coming-soon-maintenance');?></a></h4>
15
  <select id="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>" class="headings-google-font" name="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>" data-type="heading">
16
  <option value="<?php echo esc_attr( $heading_font['family'] ); ?>" selected="selected"><?php echo esc_html( $heading_font['family'] ); ?></option>
17
  </select>
18
  </fieldset>
19
 
20
  <fieldset class="cmp-width-50">
21
+ <h4 for="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></h4>
22
  <select id="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>" class="headings-google-font-variant" name="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>">
23
  <option value="<?php echo esc_attr( $heading_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $heading_font['variant'] ) ); ?></option>
24
  </select>
28
  if ( $this->cmp_selectedTheme() !== 'mercury' ) { ?>
29
 
30
  <fieldset class="cmp-width-33">
31
+ <h4 for="niteoCS_font_headings_size_<?php echo esc_attr( $themeslug );?>"><?php _e('Font Size', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $heading_font['size'] ); ?></span>px</h4>
32
  <input type="range" id="niteoCS_font_headings_size_<?php echo esc_attr( $themeslug );?>" name="niteoCS_font_headings_size_<?php echo esc_attr( $themeslug );?>" min="10" max="75" step="1" value="<?php echo esc_attr( $heading_font['size'] ); ?>" data-css="font-size" data-type="heading" />
33
  </fieldset>
34
  <?php } ?>
35
 
36
  <fieldset class="cmp-width-33">
37
+ <h4 for="niteoCS_font_headings_spacing_<?php echo esc_attr( $themeslug );?>"><?php _e('Letter Spacing', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $heading_font['spacing'] ); ?></span>px</h4>
38
  <input type="range" id="niteoCS_font_headings_spacing_<?php echo esc_attr( $themeslug );?>" name="niteoCS_font_headings_spacing_<?php echo esc_attr( $themeslug );?>" min="0" max="10" step="0.5" value="<?php echo esc_attr( $heading_font['spacing'] ); ?>" data-css="letter-spacing" data-type="heading" />
39
  </fieldset>
40
 
46
  <td>
47
 
48
  <fieldset class="cmp-width-50">
49
+ <h4 for="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Font Family from ', 'cmp-coming-soon-maintenance');?><a href="https://fonts.google.com" target="_blank">Google Fonts</a></h4>
50
  <select id="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>" class="content-google-font" name="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>" data-type="content">
51
  <option value="<?php echo esc_attr( $content_font['family'] ); ?>" selected="selected"><?php echo esc_html( $content_font['family'] ); ?></option>
52
  </select>
53
  </fieldset>
54
 
55
  <fieldset class="cmp-width-50">
56
+ <h4 for="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></h4>
57
  <select id="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>" class="content-google-font-variant" name ="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>">
58
  <option value="<?php echo esc_attr( $content_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $content_font['variant'] ) ); ?></option>
59
  </select>
60
  </fieldset>
61
 
62
  <fieldset class="cmp-width-33">
63
+ <h4 for="niteoCS_font_content_size_<?php echo esc_attr( $themeslug );?>"><?php _e('Font Size', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $content_font['size'] ); ?></span>px</h4>
64
  <input id="niteoCS_font_content_size_<?php echo esc_attr( $themeslug );?>" type="range" name="niteoCS_font_content_size_<?php echo esc_attr( $themeslug );?>" min="10" max="50" step="1" value="<?php echo esc_attr( $content_font['size'] ); ?>" data-css="font-size" data-type="content" />
65
  </fieldset>
66
 
67
  <fieldset class="cmp-width-33">
68
+ <h4 for="niteoCS_font_content_spacing_<?php echo esc_attr( $themeslug );?>"><?php _e('Letter Spacing', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $content_font['spacing'] ); ?></span>px</h4>
69
  <input id="niteoCS_font_content_spacing_<?php echo esc_attr( $themeslug );?>" type="range" name="niteoCS_font_content_spacing_<?php echo esc_attr( $themeslug );?>" min="0" max="10" step="0.5" value="<?php echo esc_attr( $content_font['spacing'] ); ?>" data-css="letter-spacing" data-type="content" />
70
  </fieldset>
71
 
72
  <fieldset class="cmp-width-33">
73
+ <h4 for="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>"><?php _e('Line Height', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $content_font['line-height'] ); ?></span></h4>
74
  <input id="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>" type="range" name="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>" min="1.3" max="3.0" step="0.1" value="<?php echo esc_attr( $content_font['line-height'] ); ?>" data-css="line-height" data-type="content" />
75
  </fieldset>
76
 
77
+ <h4 style="margin-top:1em;width:100%"><?php _e('Fonts preview', 'cmp-coming-soon-maintenance');?></h4>
78
  <div id="font-example-wrapper">
79
  <h3 id="heading-example" class="animated <?php echo esc_attr($niteoCS_heading_animation);?>" style="font-size:<?php echo esc_attr( $heading_font['size'] );?>px;letter-spacing:<?php echo esc_attr( $heading_font['spacing'] );?>px">Hello, I am your Headings font!</h3>
80
  <p id="content-example" class="animated <?php echo esc_attr($niteoCS_content_animation);?>" style="font-size:<?php echo esc_attr( $content_font['size'] );?>px;letter-spacing:<?php echo esc_attr( $content_font['spacing'] );?>px;line-height:<?php echo esc_attr( $content_font['line-height'] );?>">And this is a long paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
85
  if ( in_array( $this->cmp_selectedTheme(), $this->cmp_font_animation_themes() ) ) { ?>
86
 
87
  <fieldset class="cmp-width-50">
88
+ <h4 for="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Heading Animation', 'cmp-coming-soon-maintenance');?></h4>nimation">
 
89
  <option value="none" <?php if ( $niteoCS_heading_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
90
  <option value="fadeInDown" <?php if ( $niteoCS_heading_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
91
  <option value="fadeInUp" <?php if ( $niteoCS_heading_animation == 'fadeInUp' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Up', 'cmp-coming-soon-maintenance');?></option>
95
  </fieldset>
96
 
97
  <fieldset class="cmp-width-50">
98
+ <h4 for="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Content Animation', 'cmp-coming-soon-maintenance');?></h4>
99
  <select id="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" name="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" class="content-animation">
100
  <option value="none" <?php if ( $niteoCS_content_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
101
  <option value="fadeInDown" <?php if ( $niteoCS_content_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
js/settings.js CHANGED
@@ -938,23 +938,6 @@ jQuery(document).ready(function($) {
938
  });
939
  });
940
 
941
- // theme-selector scripts
942
- // select theme by click on thumbnail or select button
943
- jQuery(".cmp-coming-soon-maintenance .theme-select").click(function() {
944
- jQuery(this)
945
- .parent()
946
- .find('input[name="niteoCS_select_theme"]')
947
- .prop("checked", true)
948
- .trigger("change");
949
- jQuery(".cmp-coming-soon-maintenance .theme-select").removeClass(
950
- "selected"
951
- );
952
- jQuery(this)
953
- .parent()
954
- .find(".theme-select")
955
- .addClass("selected");
956
- });
957
-
958
  // theme update via theme button
959
  jQuery(".cmp-coming-soon-maintenance .theme-update.button").one(
960
  "click",
@@ -1003,7 +986,8 @@ jQuery(document).ready(function($) {
1003
  );
1004
 
1005
  // display theme details overlay
1006
- jQuery(".cmp-coming-soon-maintenance .theme-details").click(function() {
 
1007
  var $this = $(this),
1008
  $wrapper = $this.closest(".theme-wrapper"),
1009
  slug = $wrapper.data("slug"),
@@ -1021,7 +1005,6 @@ jQuery(document).ready(function($) {
1021
  };
1022
 
1023
  $.post(ajaxurl, data, function(response) {
1024
- var buttonDisabled = "";
1025
  var buyButton = "";
1026
  var versionInfo = "";
1027
  var noticeHtml = "";
@@ -1039,8 +1022,7 @@ jQuery(document).ready(function($) {
1039
 
1040
  // if premium and not installed, display buy button
1041
  if (purchased != "1" && type == "premium") {
1042
- var buttonDisabled = "disabled ";
1043
- var buyURL = $wrapper.find("a").attr("href");
1044
  var buyButton =
1045
  '<button type="button" class="theme-purchase button hide"><a href="' +
1046
  buyURL +
938
  });
939
  });
940
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
941
  // theme update via theme button
942
  jQuery(".cmp-coming-soon-maintenance .theme-update.button").one(
943
  "click",
986
  );
987
 
988
  // display theme details overlay
989
+ jQuery(".cmp-coming-soon-maintenance .theme-details").click(function(e) {
990
+ e.preventDefault();
991
  var $this = $(this),
992
  $wrapper = $this.closest(".theme-wrapper"),
993
  slug = $wrapper.data("slug"),
1005
  };
1006
 
1007
  $.post(ajaxurl, data, function(response) {
 
1008
  var buyButton = "";
1009
  var versionInfo = "";
1010
  var noticeHtml = "";
1022
 
1023
  // if premium and not installed, display buy button
1024
  if (purchased != "1" && type == "premium") {
1025
+ var buyURL = $wrapper.find('.cmp-purchase-theme').attr("href");
 
1026
  var buyButton =
1027
  '<button type="button" class="theme-purchase button hide"><a href="' +
1028
  buyURL +
js/settings.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){var n=document.location.hash.substring(1),a=jQuery("#csoptions").attr("action"),t=e("#csoptions fieldset:not(.skip-preview-validation *)").serialize();wp.codeEditor&&wp.codeEditor.initialize("niteoCS_custom_css"),navtab=function(e){jQuery(".cmp-coming-soon-maintenance .nav-tab-wrapper .nav-tab").removeClass("nav-tab-active"),jQuery(".nav-tab-wrapper ."+e).addClass("nav-tab-active"),jQuery(".cmp-coming-soon-maintenance .table-wrapper."+e).css("display","block"),jQuery(".cmp-coming-soon-maintenance .table-wrapper-css."+e).css("display","block"),jQuery(".cmp-coming-soon-maintenance .comingsoon."+e).css("display","block"),jQuery(".cmp-coming-soon-maintenance .table-wrapper:not(."+e+")").css("display","none"),jQuery(".cmp-coming-soon-maintenance .table-wrapper-css:not(."+e).css("display","none"),jQuery(".cmp-coming-soon-maintenance .comingsoon:not(."+e+")").css("display","none"),"install"==e?(jQuery(".cmp-coming-soon-maintenance .submit").css("display","none"),jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action",a)):(jQuery(".cmp-coming-soon-maintenance .submit").css("display","block"),jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action",a+"#"+e))},""!=n?navtab(n):jQuery(".cmp-coming-soon-maintenance .table-wrapper-css").css("display","none"),window.onhashchange=function(){n=document.location.hash.substring(1),navtab(n)},e(".cmp-coming-soon-maintenance .nav-tab:not(.theme-preview)").click(function(a){a.preventDefault(),n=e(this).data("tab"),document.location.hash=n}),p(".cmp-coming-soon-maintenance .blur-range","span","html"),p(".cmp-coming-soon-maintenance .background-overlay-opacity","span","html"),p("#logo_size_slider","#niteoCS_logo_size","val"),p("#niteoCS_logo_size","#logo_size_slider","val"),l("logo",!1,"image","img"),l("favicon",!1,"image","img"),l("seo_img",!1,"image","img"),l("images",!0,"image","img"),l("pattern",!1,"image","background"),l("video-thumb",!1,"image","img"),l("video-local",!1,"video","video"),m("analytics"),m("contact-form"),m("subscribe"),m("background-effect"),m("special-effect"),m("cmp-logo"),m("background-type"),m("counter"),m("overlay-text"),m("cmp-logo-size"),u("counter-action"),u("subscribe-method"),u("background-overlay"),u("banner-video-source"),jQuery(".cmp-coming-soon-maintenance select:not(.headings-google-font):not(.content-google-font )").select2({width:"100%",minimumResultsForSearch:-1,placeholder:"Click to select.."}),jQuery(".cmp-coming-soon-maintenance #cmp-status").click(function(){jQuery(".cmp-coming-soon-maintenance .cmp-status input[type=radio]").prop("disabled",function(e,n){return!n}),jQuery("#cmp-toggle-adminbar").toggleClass("status-1"),jQuery(".cmp-status-pages").fadeToggle()}),jQuery(".cmp-status-pages input[type=radio]").change(function(){jQuery(".cmp-status-pages input[type=radio]").parent().removeClass("active"),jQuery(this).parent().addClass("active")}),jQuery(".cmp-coming-soon-maintenance .cmp-status.switch:not(.disabled)").click(function(){if(0!=jQuery(".cmp-coming-soon-maintenance #cmp-status").prop("checked")){var e=jQuery(this).children("input");e.prop("checked",!0),jQuery(".cmp-coming-soon-maintenance .cmp-status.switch").removeClass("active"),jQuery(this).addClass("active"),e.trigger("change"),"3"==e.val()?jQuery(".cmp-coming-soon-maintenance .redirect-inputs").fadeIn("fast"):jQuery(".cmp-coming-soon-maintenance .redirect-inputs").fadeOut("fast")}}),jQuery(".cmp-coming-soon-maintenance .table-wrapper h3").click(function(){jQuery(this).parent().toggleClass("closed")}),jQuery(".cmp-coming-soon-maintenance #test-unsplash").click(function(n){n.preventDefault();var a=jQuery(".cmp-coming-soon-maintenance #unsplash-media"),t=jQuery('.cmp-coming-soon-maintenance .unsplash_banner select[name^="unsplash_feed"] option:selected').val(),i="",o=jQuery(this).data("security");if(0==t){switch(t){case"0":i=jQuery(".cmp-coming-soon-maintenance #niteoCS-unsplash-0").val()}if(3==t||""!=i){var r={feed:t,url:i,feat:"",custom_str:""};jQuery(this).prop("disabled",!0),jQuery(this).html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span> loading..</span>');var c={action:"niteo_unsplash",security:o,params:r};e.post(ajaxurl,c,function(e){var n=JSON.parse(e);jQuery("#unsplash_img").remove();var t=setTimeout(function(){jQuery("#test-unsplash").prop("disabled",!1),jQuery("#test-unsplash").text("Display Unsplash Photo"),jQuery("#unsplash-media").html('<p>It seems <a href="https://status.unsplash.com/" target="_blank">Unsplash API</a> is not responding. Please try again later.</p>')},5e3);if("200"==n.response){if((n=jQuery.parseJSON(n.body))[0])var i=n[0].urls.raw+"?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&fit=max&w=588",o=n[0].user.name,r=n[0].user.links.html,c=n[0].links.html,s=n[0].id;else i=n.urls.raw+"?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&fit=max&w=588",o=n.user.name,r=n.user.links.html,c=n.links.html,s=n.id;jQuery("<img />",{src:i,id:"unsplash_img"}).one("load",function(){jQuery(this).appendTo(a),jQuery(this).fadeIn(),jQuery("#test-unsplash").prop("disabled",!1),jQuery("#test-unsplash").text("Display Unsplash Photo"),jQuery(".unsplash-id").html('<a href="'+c+'" target="_blank">Photo</a> (ID: '+s+') by <a href="'+r+'" target="_blank">'+o+'</a> / <a href="https://unsplash.com/" target="_blank">Unsplash</a>'),jQuery(".blur-range").trigger("input"),clearTimeout(t)})}else jQuery(".cmp-coming-soon-maintenance #test-unsplash").prop("disabled",!1),jQuery(".cmp-coming-soon-maintenance #test-unsplash").text("Display Unsplash Photo"),jQuery(".cmp-coming-soon-maintenance #unsplash-media").html("<p>Error "+n.response+': <span style="text-transform:lowercase;">'+JSON.parse(n.body).errors+"</span></p>"),clearTimeout(t)})}else jQuery(".cmp-coming-soon-maintenance #unsplash_img").remove()}}),videoPreview=function(){if("5"==jQuery(".cmp-coming-soon-maintenance .background-type:checked").val()){var n=e(".cmp-coming-soon-maintenance .banner-video-source").val();if("youtube"==n){var a=e(".cmp-coming-soon-maintenance #niteoCS-youtube-url").val();if(""!=a){var t=a.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);if(t&&11==t[7].length){jQuery(".cmp-coming-soon-maintenance .video-yt-wrapper .video-yt-thumb-wrapper").html("");var i="https://img.youtube.com/vi/"+t[7]+"/maxresdefault.jpg";jQuery(".cmp-coming-soon-maintenance .video-yt-wrapper .video-yt-thumb-wrapper").append('<img src="'+i+'" alt=""/>'),jQuery(".cmp-coming-soon-maintenance .blur-range").trigger("input")}else jQuery(".cmp-coming-soon-maintenance .video-yt-wrapper .video-yt-thumb-wrapper").html("")}}if("local"==n){var o=jQuery("#niteoCS-video-local-id").data("url");""!=o&&e(".cmp-coming-soon-maintenance .video-local-wrapper").html('<video width="600" height="400" controls><source src="'+o+'" type="video/mp4">Your browser does not support the video tag.</video>')}}},videoPreview(),jQuery(".cmp-coming-soon-maintenance .background-type").on("change",function(){videoPreview()}),jQuery(".cmp-coming-soon-maintenance #niteoCS-youtube-url").on("keyup",function(){videoPreview()}),jQuery(".cmp-coming-soon-maintenance .banner-video-source").on("change",function(){videoPreview()});var i=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val();function o(e){switch(e){case"solid-color":jQuery(".thumbnail-overlay").css("background",jQuery("#niteoCS_overlay_color").val());break;case"gradient":jQuery(".cmp-coming-soon-maintenance select.overlay-gradient").trigger("change");break;case"disabled":jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css("background","none")}}jQuery(".unsplash-feed-"+i).css("display","block"),jQuery('.unsplash_banner select[name^="unsplash_feed"]').on("change",function(){i=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val(),jQuery(".unsplash-feed").css("display","none"),jQuery(".unsplash-feed-"+i).css("display","block"),jQuery("#test-unsplash").trigger("click")}),1==jQuery("#csoptions .niteoCS_banner:checked").val()&&jQuery("#test-unsplash").trigger("click"),jQuery(".cmp-coming-soon-maintenance select.background-gradient").on("change",function(){var e=jQuery(".cmp-coming-soon-maintenance select.background-gradient option:selected").val();"custom"==e?(jQuery(".cmp-coming-soon-maintenance .custom-gradient").css("display","block"),jQuery(".cmp-coming-soon-maintenance .gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"linear-gradient(135deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)"})):(colors=e.split(":"),jQuery(".cmp-coming-soon-maintenance .custom-gradient").css("display","none"),jQuery(".cmp-coming-soon-maintenance .gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"-webkit-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"linear-gradient(135deg, "+colors[0]+" 0%, "+colors[1]+" 100%)"}))}).trigger("change"),jQuery(".cmp-coming-soon-maintenance #niteoCS_banner_color").wpColorPicker({change:function(e,n){jQuery(".color-preview").css("background-color",n.color.toString())}}),jQuery(".cmp-coming-soon-maintenance #niteoCS_gradient_one").wpColorPicker({change:function(e,n){jQuery(".gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"linear-gradient(135deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)"})}}),jQuery(".cmp-coming-soon-maintenance #niteoCS_gradient_two").wpColorPicker({change:function(e,n){jQuery(".gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"linear-gradient(135deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)"})}}),jQuery(".cmp-coming-soon-maintenance #niteoCS_overlay_color").wpColorPicker({change:function(e,n){jQuery(".thumbnail-overlay").css("background",n.color.toString())}}),jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css("background",jQuery("#niteoCS_overlay_color").val()),jQuery(".cmp-coming-soon-maintenance select.overlay-gradient").on("change",function(){var e=jQuery("select.overlay-gradient option:selected").val();if("custom"==e){jQuery(".cmp-coming-soon-maintenance .custom-overlay-gradient").css("display","block");var n=jQuery("#niteoCS_overlay_gradient_one").val(),a=jQuery("#niteoCS_overlay_gradient_two").val();jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+n+" 0%, "+a+" 100%)",background:"-webkit-linear-gradient(-45deg, "+n+" 0%, "+a+" 100%)",background:"linear-gradient(135deg, "+n+" 0%, "+a+" 100%)"})}else colors=e.split(":"),jQuery(".cmp-coming-soon-maintenance .custom-overlay-gradient").css("display","none"),jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"-webkit-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"linear-gradient(135deg, "+colors[0]+" 0%, "+colors[1]+" 100%)"})}),jQuery("#niteoCS_overlay_gradient_one").wpColorPicker({change:function(e,n){jQuery(".thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_overlay_gradient_two").val()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_overlay_gradient_two").val()+" 100%)",background:"linear-gradient(135deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_overlay_gradient_two").val()+" 100%)"})}}),jQuery("#niteoCS_overlay_gradient_two").wpColorPicker({change:function(e,n){jQuery(".thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+jQuery("#niteoCS_overlay_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+jQuery("#niteoCS_overlay_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"linear-gradient(135deg, "+jQuery("#niteoCS_overlay_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)"})}}),jQuery(".background-overlay-opacity").on("input",function(){var e=jQuery(this).val();jQuery(".thumbnail-overlay").css("opacity",e)}).trigger("input"),o(jQuery(".cmp-coming-soon-maintenance .background-overlay").val()),jQuery(".cmp-coming-soon-maintenance .background-overlay").on("change",function(){o(jQuery(this).val())}),jQuery(".cmp-coming-soon-maintenance .blur-range").on("input",function(){var e=jQuery(this).val();jQuery(".cmp-coming-soon-maintenance .background-thumb-wrapper img:not(.no-blur)").css("filter","blur("+e+"px)")}).trigger("input"),jQuery('.cmp-coming-soon-maintenance select[name^="niteoCS_banner_pattern"]').on("change",function(){var e=jQuery('.cmp-coming-soon-maintenance select[name^="niteoCS_banner_pattern"] option:selected').val();if("custom"!=e){var n=jQuery(this).data("url");jQuery(".cmp-coming-soon-maintenance #add-pattern").css("display","none"),jQuery(".cmp-coming-soon-maintenance .pattern-wrapper").css("background-image","url('"+n+e+".png')")}else{n=jQuery(".cmp-coming-soon-maintenance #niteoCS_banner_pattern_custom").val();jQuery(".cmp-coming-soon-maintenance #add-pattern").css("display","block"),jQuery(".cmp-coming-soon-maintenance .pattern-wrapper").css("background-image","url('"+n+"')")}}),jQuery(".cmp-coming-soon-maintenance .heading-animation").on("change",function(){heading_anim=jQuery(".cmp-coming-soon-maintenance .heading-animation option:selected").val(),jQuery(".cmp-coming-soon-maintenance #heading-example").removeClass().addClass("animated "+heading_anim)}),jQuery(".cmp-coming-soon-maintenance .content-animation").on("change",function(){heading_anim=jQuery(".cmp-coming-soon-maintenance .content-animation option:selected").val(),jQuery(".cmp-coming-soon-maintenance #content-example").removeClass().addClass("animated "+heading_anim)});var r=function(n,a,t){var i=e(".cmp-coming-soon-maintenance #niteoCS_socialmedia").attr("value");i=e.parseJSON(i),e.each(i,function(e,i){i.name==n&&(i[a]=t)}),e(".cmp-coming-soon-maintenance #niteoCS_socialmedia").attr("value",JSON.stringify(i))};if(!/Mobi/.test(navigator.userAgent)){var c=e(".cmp-coming-soon-maintenance .social-inputs"),s=function(n,a){var t=c.find('input[type="text"]');a.item.index();t.each(function(n,a){var t=e(a).data("name");r(t,"order",n)})};c.sortable({stop:s}),c.on("sortchange",s)}function l(e,n,a,t){var i,o=jQuery("."+e+"-wrapper"),r=jQuery("#add-"+e),c=jQuery("#delete-"+e),s="",l=e.replace("-"," ");l=l[0].toUpperCase()+l.slice(1),""!=jQuery("#niteoCS-"+e+"-id").val()&&c.css("display","block"),r.click(function(r){if(r.preventDefault(),m)m.open();else var m=wp.media({title:"Select "+l,button:{text:"Insert "+l},multiple:n,library:{type:[a]}}).on("select",function(){var n=m.state().get("selection").toJSON();n.length>0&&(o.find("img").remove(),o.attr("class",e+"-wrapper custom-gallery"),o.addClass("gallery-"+n.length),jQuery(n).each(function(e){switch(i=n[e].sizes&&n[e].sizes.large?n[e].sizes.large.url:n[e].url,s+=(0===e?"":",")+n[e].id,t){case"video":o.append('<video width="600" height="400" controls><source src="'+i+'" type="video/mp4">Your browser does not support the video tag.</video>');break;case"background":o.css("background-image","url('"+i+"')");break;case"img":default:n.length>1&&0==e?jQuery(".big-thumb").append('<img src="'+i+'" alt=""/>'):n.length>1&&0!==e?o.append('<img src="'+i+'" alt="" class="no-blur"/>'):o.find(".big-thumb").length?jQuery(".big-thumb").append('<img src="'+i+'" alt=""/>'):o.append('<img src="'+i+'" alt=""/>'),jQuery(".blur-range").trigger("input")}}),c.css("display","block")),jQuery("#niteoCS-"+e+"-id").val(s).trigger("change")}).open()}),c.click(function(n){jQuery(this).css("display","none"),o.find("img").remove(),jQuery("#niteoCS-"+e+"-id").val(""),jQuery("#niteoCS-"+e+"-id").trigger("change")})}function m(e){jQuery(".cmp-coming-soon-maintenance ."+e).change(function(){var n=jQuery(".cmp-coming-soon-maintenance ."+e+":checked").val();n=void 0===(n=jQuery.isNumeric(n)?"x"+n:n)?"off":n,jQuery(".cmp-coming-soon-maintenance ."+e+"-switch."+n).css("display","block"),jQuery(".cmp-coming-soon-maintenance ."+e+"-switch:not(."+n+")").css("display","none")}),jQuery(".cmp-coming-soon-maintenance ."+e).first().trigger("change")}function u(e){jQuery(".cmp-coming-soon-maintenance ."+e).change(function(){var n=jQuery("."+e).val();n=jQuery.isNumeric(n)?"x"+n:n,jQuery(".cmp-coming-soon-maintenance ."+e+"."+n).css("display","block"),jQuery(".cmp-coming-soon-maintenance ."+e+":not(."+n+")").css("display","none")}),jQuery("."+e).first().trigger("change")}function p(e,n,a){jQuery(e).on("input",function(){var e=jQuery(this).val();"html"===a&&jQuery(this).parent().find(n).html(e),"val"===a&&jQuery(this).parent().find(n).val(e)})}!function(e){e.fn.toggleDisabled=function(){return this.each(function(){var n,a=e(this),t=a.data("name");a.attr("disabled")?(a.prop("disabled",!1),n="1"):(a.prop("disabled",!0),n="0"),r(t,"active",n)})}}(jQuery),jQuery('.cmp-coming-soon-maintenance .social-inputs input[type="text"]').focusout(function(){var e=jQuery(this).data("name"),n=jQuery(this).attr("value");r(e,"url",n)}),jQuery('.cmp-coming-soon-maintenance .social-inputs input[type="checkbox"]').click(function(n){e(this).siblings('input[type="text"]').toggleDisabled()}),jQuery(".cmp-coming-soon-maintenance .social-media i").click(function(){var e=jQuery(this).data("name");jQuery(this).toggleClass("active"),jQuery(".cmp-coming-soon-maintenance .social-inputs li."+e).toggleClass("active"),jQuery(".cmp-coming-soon-maintenance .social-inputs li."+e+" input").trigger("change"),jQuery(this).hasClass("active")?r(e,"hidden","0"):r(e,"hidden","1"),jQuery(".cmp-coming-soon-maintenance .social-media i.active").length?jQuery(".social-inputs .label").css("display","block"):jQuery(".cmp-coming-soon-maintenance .social-inputs .label").css("display","none")}),jQuery(".cmp-coming-soon-maintenance .social-media i.active").length&&jQuery(".cmp-coming-soon-maintenance .social-inputs .label").css("display","block"),jQuery(".cmp.update-theme").click(function(n){n.preventDefault();var a=e(this),t=a.parents(".notice"),i=a.data("security"),o=a.data("slug"),r=a.data("name"),c={action:"cmp_theme_update_install",security:i,file:{name:o,tmp_name:"",url:jQuery(this).data("remote_url")+"?action=download&slug="+o}};t.find(".message").html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span class="sr-only">Updating heme...</span><span> working hard on updating Theme...</span>'),e.post(ajaxurl,c,function(n){if("success"==(n=n.trim()))setTimeout(function(){t.removeClass("notice-warning").addClass("notice-success"),t.find(".message").html("<span> "+r+' CMP theme was updated sucessfully! You can enjoy latest features now :) </span><i class="fa fa-smile-o" aria-hidden="true"></i>')},1500);else{n=n.slice(0,-1);var a=e("p",e(n)).text();t.removeClass("notice-warning").addClass("notice-error"),t.find(".message").html('<i class="fa fa-frown-o" aria-hidden="true"></i><span> '+a+"</span>")}})}),jQuery(".cmp-coming-soon-maintenance .theme-select").click(function(){jQuery(this).parent().find('input[name="niteoCS_select_theme"]').prop("checked",!0).trigger("change"),jQuery(".cmp-coming-soon-maintenance .theme-select").removeClass("selected"),jQuery(this).parent().find(".theme-select").addClass("selected")}),jQuery(".cmp-coming-soon-maintenance .theme-update.button").one("click",function(n){n.preventDefault();var a=e(this),t=a.closest(".theme-wrapper"),i=t.data("security"),o=t.data("slug"),r={action:"cmp_theme_update_install",security:i,file:{name:o,tmp_name:"",url:t.data("remote_url")+"?action=download&slug="+o}};a.html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span>Updating..</span>'),e.post(ajaxurl,r,function(e){"success"==e?setTimeout(function(){a.html('<i class="fa fa-smile-o" aria-hidden="true"></i><span>Updated!</span>'),setTimeout(function(){a.fadeOut()},1500)},1500):(e=e.slice(0,-1),a.html('<i class="fa fa-frown-o" aria-hidden="true"></i><span>Update Failed!</span>'))})}),jQuery(".cmp-coming-soon-maintenance .theme-details").click(function(){var n=e(this).closest(".theme-wrapper"),a=n.data("slug"),t=n.data("version"),i=n.data("type"),o=n.data("purchased"),r=0,c={action:"niteo_themeinfo",security:jQuery(".theme-wrapper").data("security"),theme_slug:jQuery(this).parents(".theme-wrapper").data("slug")};e.post(ajaxurl,c,function(c){var s="",l="";if("true"==(c=jQuery.parseJSON(c)).result){if(jQuery("body").addClass("modal-open"),"1"==o&&(l='<span class="theme-version">Installed version: '+t+"</span>"),"1"!=o&&"premium"==i)s='<button type="button" class="theme-purchase button hide"><a href="'+n.find("a").attr("href")+'" target="_blank"><i class="fa fa-cart-arrow-down" aria-hidden="true"></i>Get Theme</a></button>';var m=c.screenshots,u="";Object.keys(m).length>1&&(u='<div class="screenshots-nav"><div class="left"><i class="fa fa-chevron-left" aria-hidden="true"></i></div><div class="right"><i class="fa fa-chevron-right" aria-hidden="true"></i></div></div>');var p=e(['<div class="theme-backdrop">','\t<div class="theme-wrap">','\t\t<div class="theme-header">','\t\t\t<button class="close dashicons dashicons-no"><span class="screen-reader-text">Close details dialog</span></button>',"\t\t</div>",'\t\t<div class="theme-about">','\t\t\t<div class="theme-screenshots">','\t\t\t\t<div class="screenshot" style="background-image:url(\''+m[0]+"')\">"+u+"</div>","\t\t\t</div>",'\t\t\t<div class="theme-info">','\t\t\t\t<h2 class="theme-name">'+c.name+l+"</h2>",'\t\t\t\t<p class="theme-author">By <a href="'+c.author_homepage+'" target="_blank">'+c.author+"</a></p>","",s,'\t\t\t\t<div class="theme-description">'+c.description+"</div>","\t\t\t</div>","\t\t</div>",'\t\t<div class="theme-actions">','\t\t\t<a href="https://niteothemes.com/cmp-coming-soon-maintenance/?theme='+a+"&utm_source=cmp&utm_medium=referral&utm_campaign="+a+'" class="button cmp-preview" target="_blank" aria-label="Preview '+c.name+'">Live Preview</a>',"\t\t</div>","\t</div>","</div>"].join("\n"));jQuery(".theme-overlay.cmp").append(p),jQuery(".theme-overlay.cmp .close").click(function(e){e.preventDefault(),jQuery("body").removeClass("modal-open"),jQuery(".theme-overlay.cmp .theme-backdrop").fadeOut("fast")}),jQuery(".screenshots-nav .right").click(function(){++r==Object.keys(m).length&&(r=0),r in m&&jQuery(".screenshot").css("background-image","url('"+m[r]+"')")}),jQuery(".screenshots-nav .left").click(function(){--r<0&&(r=Object.keys(m).length-1),r in m&&jQuery(".screenshot").css("background-image","url('"+m[r]+"')")})}})}),jQuery(".cmp-coming-soon-maintenance #connect-mailchimp").click(function(n){n.preventDefault();var a=jQuery('.cmp-coming-soon-maintenance input[name="niteoCS_mailchimp_apikey"]').val(),t=jQuery(this).data("security"),i=jQuery(this);if(""!=a){var o={apikey:a,security:t};jQuery(this).prop("disabled",!0),jQuery(this).html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span> retrieving lists..</span>');var r={action:"cmp_mailchimp_list_ajax",security:t,params:o};e.post(ajaxurl,r,function(n){var a=JSON.parse(n);200==a.response?(e("#niteoCS_mailchimp_list").empty().prop("disabled",!1),e.each(a.lists,function(n,a){e("#niteoCS_mailchimp_list").append('<option value="'+a.id+'">'+a.name+"</option>")})):e("#niteoCS_mailchimp_list").empty().prop("disabled",!0).html('<option value="error">'+a.message+"</option>").trigger("change"),i.html("Retrieve Lists"),i.prop("disabled",!1)}).fail(function(){i.html("Retrieve Lists"),i.prop("disabled",!1)})}}),jQuery(".cmp-coming-soon-maintenance .table-wrapper.theme-setup h4").each(function(){if("Overlay Color"==jQuery(this).html())return jQuery(this).parents("tr").remove(),!1}),e(".nav-tab-wrapper").on("click",".theme-preview",function(n){return!(e("#csoptions fieldset:not(.skip-preview-validation *)").serialize()!=t&&!confirm("You have made changes that will not be visible in the preview until you save them. Please save changes first.\nContinue anyway?"))||(n.preventDefault(),!1)})});
1
+ jQuery(document).ready(function(e){var n=document.location.hash.substring(1),a=jQuery("#csoptions").attr("action"),t=e("#csoptions fieldset:not(.skip-preview-validation *)").serialize();wp.codeEditor&&wp.codeEditor.initialize("niteoCS_custom_css"),navtab=function(e){jQuery(".cmp-coming-soon-maintenance .nav-tab-wrapper .nav-tab").removeClass("nav-tab-active"),jQuery(".nav-tab-wrapper ."+e).addClass("nav-tab-active"),jQuery(".cmp-coming-soon-maintenance .table-wrapper."+e).css("display","block"),jQuery(".cmp-coming-soon-maintenance .table-wrapper-css."+e).css("display","block"),jQuery(".cmp-coming-soon-maintenance .comingsoon."+e).css("display","block"),jQuery(".cmp-coming-soon-maintenance .table-wrapper:not(."+e+")").css("display","none"),jQuery(".cmp-coming-soon-maintenance .table-wrapper-css:not(."+e).css("display","none"),jQuery(".cmp-coming-soon-maintenance .comingsoon:not(."+e+")").css("display","none"),"install"==e?(jQuery(".cmp-coming-soon-maintenance .submit").css("display","none"),jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action",a)):(jQuery(".cmp-coming-soon-maintenance .submit").css("display","block"),jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action",a+"#"+e))},""!=n?navtab(n):jQuery(".cmp-coming-soon-maintenance .table-wrapper-css").css("display","none"),window.onhashchange=function(){n=document.location.hash.substring(1),navtab(n)},e(".cmp-coming-soon-maintenance .nav-tab:not(.theme-preview)").click(function(a){a.preventDefault(),n=e(this).data("tab"),document.location.hash=n}),p(".cmp-coming-soon-maintenance .blur-range","span","html"),p(".cmp-coming-soon-maintenance .background-overlay-opacity","span","html"),p("#logo_size_slider","#niteoCS_logo_size","val"),p("#niteoCS_logo_size","#logo_size_slider","val"),l("logo",!1,"image","img"),l("favicon",!1,"image","img"),l("seo_img",!1,"image","img"),l("images",!0,"image","img"),l("pattern",!1,"image","background"),l("video-thumb",!1,"image","img"),l("video-local",!1,"video","video"),u("analytics"),u("contact-form"),u("subscribe"),u("background-effect"),u("special-effect"),u("cmp-logo"),u("background-type"),u("counter"),u("overlay-text"),u("cmp-logo-size"),m("counter-action"),m("subscribe-method"),m("background-overlay"),m("banner-video-source"),jQuery(".cmp-coming-soon-maintenance select:not(.headings-google-font):not(.content-google-font )").select2({width:"100%",minimumResultsForSearch:-1,placeholder:"Click to select.."}),jQuery(".cmp-coming-soon-maintenance #cmp-status").click(function(){jQuery(".cmp-coming-soon-maintenance .cmp-status input[type=radio]").prop("disabled",function(e,n){return!n}),jQuery("#cmp-toggle-adminbar").toggleClass("status-1"),jQuery(".cmp-status-pages").fadeToggle()}),jQuery(".cmp-status-pages input[type=radio]").change(function(){jQuery(".cmp-status-pages input[type=radio]").parent().removeClass("active"),jQuery(this).parent().addClass("active")}),jQuery(".cmp-coming-soon-maintenance .cmp-status.switch:not(.disabled)").click(function(){if(0!=jQuery(".cmp-coming-soon-maintenance #cmp-status").prop("checked")){var e=jQuery(this).children("input");e.prop("checked",!0),jQuery(".cmp-coming-soon-maintenance .cmp-status.switch").removeClass("active"),jQuery(this).addClass("active"),e.trigger("change"),"3"==e.val()?jQuery(".cmp-coming-soon-maintenance .redirect-inputs").fadeIn("fast"):jQuery(".cmp-coming-soon-maintenance .redirect-inputs").fadeOut("fast")}}),jQuery(".cmp-coming-soon-maintenance .table-wrapper h3").click(function(){jQuery(this).parent().toggleClass("closed")}),jQuery(".cmp-coming-soon-maintenance #test-unsplash").click(function(n){n.preventDefault();var a=jQuery(".cmp-coming-soon-maintenance #unsplash-media"),t=jQuery('.cmp-coming-soon-maintenance .unsplash_banner select[name^="unsplash_feed"] option:selected').val(),i="",o=jQuery(this).data("security");if(0==t){switch(t){case"0":i=jQuery(".cmp-coming-soon-maintenance #niteoCS-unsplash-0").val()}if(3==t||""!=i){var r={feed:t,url:i,feat:"",custom_str:""};jQuery(this).prop("disabled",!0),jQuery(this).html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span> loading..</span>');var c={action:"niteo_unsplash",security:o,params:r};e.post(ajaxurl,c,function(e){var n=JSON.parse(e);jQuery("#unsplash_img").remove();var t=setTimeout(function(){jQuery("#test-unsplash").prop("disabled",!1),jQuery("#test-unsplash").text("Display Unsplash Photo"),jQuery("#unsplash-media").html('<p>It seems <a href="https://status.unsplash.com/" target="_blank">Unsplash API</a> is not responding. Please try again later.</p>')},5e3);if("200"==n.response){if((n=jQuery.parseJSON(n.body))[0])var i=n[0].urls.raw+"?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&fit=max&w=588",o=n[0].user.name,r=n[0].user.links.html,c=n[0].links.html,s=n[0].id;else i=n.urls.raw+"?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&fit=max&w=588",o=n.user.name,r=n.user.links.html,c=n.links.html,s=n.id;jQuery("<img />",{src:i,id:"unsplash_img"}).one("load",function(){jQuery(this).appendTo(a),jQuery(this).fadeIn(),jQuery("#test-unsplash").prop("disabled",!1),jQuery("#test-unsplash").text("Display Unsplash Photo"),jQuery(".unsplash-id").html('<a href="'+c+'" target="_blank">Photo</a> (ID: '+s+') by <a href="'+r+'" target="_blank">'+o+'</a> / <a href="https://unsplash.com/" target="_blank">Unsplash</a>'),jQuery(".blur-range").trigger("input"),clearTimeout(t)})}else jQuery(".cmp-coming-soon-maintenance #test-unsplash").prop("disabled",!1),jQuery(".cmp-coming-soon-maintenance #test-unsplash").text("Display Unsplash Photo"),jQuery(".cmp-coming-soon-maintenance #unsplash-media").html("<p>Error "+n.response+': <span style="text-transform:lowercase;">'+JSON.parse(n.body).errors+"</span></p>"),clearTimeout(t)})}else jQuery(".cmp-coming-soon-maintenance #unsplash_img").remove()}}),videoPreview=function(){if("5"==jQuery(".cmp-coming-soon-maintenance .background-type:checked").val()){var n=e(".cmp-coming-soon-maintenance .banner-video-source").val();if("youtube"==n){var a=e(".cmp-coming-soon-maintenance #niteoCS-youtube-url").val();if(""!=a){var t=a.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);if(t&&11==t[7].length){jQuery(".cmp-coming-soon-maintenance .video-yt-wrapper .video-yt-thumb-wrapper").html("");var i="https://img.youtube.com/vi/"+t[7]+"/maxresdefault.jpg";jQuery(".cmp-coming-soon-maintenance .video-yt-wrapper .video-yt-thumb-wrapper").append('<img src="'+i+'" alt=""/>'),jQuery(".cmp-coming-soon-maintenance .blur-range").trigger("input")}else jQuery(".cmp-coming-soon-maintenance .video-yt-wrapper .video-yt-thumb-wrapper").html("")}}if("local"==n){var o=jQuery("#niteoCS-video-local-id").data("url");""!=o&&e(".cmp-coming-soon-maintenance .video-local-wrapper").html('<video width="600" height="400" controls><source src="'+o+'" type="video/mp4">Your browser does not support the video tag.</video>')}}},videoPreview(),jQuery(".cmp-coming-soon-maintenance .background-type").on("change",function(){videoPreview()}),jQuery(".cmp-coming-soon-maintenance #niteoCS-youtube-url").on("keyup",function(){videoPreview()}),jQuery(".cmp-coming-soon-maintenance .banner-video-source").on("change",function(){videoPreview()});var i=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val();function o(e){switch(e){case"solid-color":jQuery(".thumbnail-overlay").css("background",jQuery("#niteoCS_overlay_color").val());break;case"gradient":jQuery(".cmp-coming-soon-maintenance select.overlay-gradient").trigger("change");break;case"disabled":jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css("background","none")}}jQuery(".unsplash-feed-"+i).css("display","block"),jQuery('.unsplash_banner select[name^="unsplash_feed"]').on("change",function(){i=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val(),jQuery(".unsplash-feed").css("display","none"),jQuery(".unsplash-feed-"+i).css("display","block"),jQuery("#test-unsplash").trigger("click")}),1==jQuery("#csoptions .niteoCS_banner:checked").val()&&jQuery("#test-unsplash").trigger("click"),jQuery(".cmp-coming-soon-maintenance select.background-gradient").on("change",function(){var e=jQuery(".cmp-coming-soon-maintenance select.background-gradient option:selected").val();"custom"==e?(jQuery(".cmp-coming-soon-maintenance .custom-gradient").css("display","block"),jQuery(".cmp-coming-soon-maintenance .gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"linear-gradient(135deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)"})):(colors=e.split(":"),jQuery(".cmp-coming-soon-maintenance .custom-gradient").css("display","none"),jQuery(".cmp-coming-soon-maintenance .gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"-webkit-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"linear-gradient(135deg, "+colors[0]+" 0%, "+colors[1]+" 100%)"}))}).trigger("change"),jQuery(".cmp-coming-soon-maintenance #niteoCS_banner_color").wpColorPicker({change:function(e,n){jQuery(".color-preview").css("background-color",n.color.toString())}}),jQuery(".cmp-coming-soon-maintenance #niteoCS_gradient_one").wpColorPicker({change:function(e,n){jQuery(".gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)",background:"linear-gradient(135deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_gradient_two").val()+" 100%)"})}}),jQuery(".cmp-coming-soon-maintenance #niteoCS_gradient_two").wpColorPicker({change:function(e,n){jQuery(".gradient-preview").css({background:"-moz-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"linear-gradient(135deg, "+jQuery("#niteoCS_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)"})}}),jQuery(".cmp-coming-soon-maintenance #niteoCS_overlay_color").wpColorPicker({change:function(e,n){jQuery(".thumbnail-overlay").css("background",n.color.toString())}}),jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css("background",jQuery("#niteoCS_overlay_color").val()),jQuery(".cmp-coming-soon-maintenance select.overlay-gradient").on("change",function(){var e=jQuery("select.overlay-gradient option:selected").val();if("custom"==e){jQuery(".cmp-coming-soon-maintenance .custom-overlay-gradient").css("display","block");var n=jQuery("#niteoCS_overlay_gradient_one").val(),a=jQuery("#niteoCS_overlay_gradient_two").val();jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+n+" 0%, "+a+" 100%)",background:"-webkit-linear-gradient(-45deg, "+n+" 0%, "+a+" 100%)",background:"linear-gradient(135deg, "+n+" 0%, "+a+" 100%)"})}else colors=e.split(":"),jQuery(".cmp-coming-soon-maintenance .custom-overlay-gradient").css("display","none"),jQuery(".cmp-coming-soon-maintenance .thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"-webkit-linear-gradient(-45deg, "+colors[0]+" 0%, "+colors[1]+" 100%)",background:"linear-gradient(135deg, "+colors[0]+" 0%, "+colors[1]+" 100%)"})}),jQuery("#niteoCS_overlay_gradient_one").wpColorPicker({change:function(e,n){jQuery(".thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_overlay_gradient_two").val()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_overlay_gradient_two").val()+" 100%)",background:"linear-gradient(135deg, "+n.color.toString()+" 0%, "+jQuery("#niteoCS_overlay_gradient_two").val()+" 100%)"})}}),jQuery("#niteoCS_overlay_gradient_two").wpColorPicker({change:function(e,n){jQuery(".thumbnail-overlay").css({background:"-moz-linear-gradient(-45deg, "+jQuery("#niteoCS_overlay_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"-webkit-linear-gradient(-45deg, "+jQuery("#niteoCS_overlay_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)",background:"linear-gradient(135deg, "+jQuery("#niteoCS_overlay_gradient_one").val()+" 0%, "+n.color.toString()+" 100%)"})}}),jQuery(".background-overlay-opacity").on("input",function(){var e=jQuery(this).val();jQuery(".thumbnail-overlay").css("opacity",e)}).trigger("input"),o(jQuery(".cmp-coming-soon-maintenance .background-overlay").val()),jQuery(".cmp-coming-soon-maintenance .background-overlay").on("change",function(){o(jQuery(this).val())}),jQuery(".cmp-coming-soon-maintenance .blur-range").on("input",function(){var e=jQuery(this).val();jQuery(".cmp-coming-soon-maintenance .background-thumb-wrapper img:not(.no-blur)").css("filter","blur("+e+"px)")}).trigger("input"),jQuery('.cmp-coming-soon-maintenance select[name^="niteoCS_banner_pattern"]').on("change",function(){var e=jQuery('.cmp-coming-soon-maintenance select[name^="niteoCS_banner_pattern"] option:selected').val();if("custom"!=e){var n=jQuery(this).data("url");jQuery(".cmp-coming-soon-maintenance #add-pattern").css("display","none"),jQuery(".cmp-coming-soon-maintenance .pattern-wrapper").css("background-image","url('"+n+e+".png')")}else{n=jQuery(".cmp-coming-soon-maintenance #niteoCS_banner_pattern_custom").val();jQuery(".cmp-coming-soon-maintenance #add-pattern").css("display","block"),jQuery(".cmp-coming-soon-maintenance .pattern-wrapper").css("background-image","url('"+n+"')")}}),jQuery(".cmp-coming-soon-maintenance .heading-animation").on("change",function(){heading_anim=jQuery(".cmp-coming-soon-maintenance .heading-animation option:selected").val(),jQuery(".cmp-coming-soon-maintenance #heading-example").removeClass().addClass("animated "+heading_anim)}),jQuery(".cmp-coming-soon-maintenance .content-animation").on("change",function(){heading_anim=jQuery(".cmp-coming-soon-maintenance .content-animation option:selected").val(),jQuery(".cmp-coming-soon-maintenance #content-example").removeClass().addClass("animated "+heading_anim)});var r=function(n,a,t){var i=e(".cmp-coming-soon-maintenance #niteoCS_socialmedia").attr("value");i=e.parseJSON(i),e.each(i,function(e,i){i.name==n&&(i[a]=t)}),e(".cmp-coming-soon-maintenance #niteoCS_socialmedia").attr("value",JSON.stringify(i))};if(!/Mobi/.test(navigator.userAgent)){var c=e(".cmp-coming-soon-maintenance .social-inputs"),s=function(n,a){var t=c.find('input[type="text"]');a.item.index();t.each(function(n,a){var t=e(a).data("name");r(t,"order",n)})};c.sortable({stop:s}),c.on("sortchange",s)}function l(e,n,a,t){var i,o=jQuery("."+e+"-wrapper"),r=jQuery("#add-"+e),c=jQuery("#delete-"+e),s="",l=e.replace("-"," ");l=l[0].toUpperCase()+l.slice(1),""!=jQuery("#niteoCS-"+e+"-id").val()&&c.css("display","block"),r.click(function(r){if(r.preventDefault(),u)u.open();else var u=wp.media({title:"Select "+l,button:{text:"Insert "+l},multiple:n,library:{type:[a]}}).on("select",function(){var n=u.state().get("selection").toJSON();n.length>0&&(o.find("img").remove(),o.attr("class",e+"-wrapper custom-gallery"),o.addClass("gallery-"+n.length),jQuery(n).each(function(e){switch(i=n[e].sizes&&n[e].sizes.large?n[e].sizes.large.url:n[e].url,s+=(0===e?"":",")+n[e].id,t){case"video":o.append('<video width="600" height="400" controls><source src="'+i+'" type="video/mp4">Your browser does not support the video tag.</video>');break;case"background":o.css("background-image","url('"+i+"')");break;case"img":default:n.length>1&&0==e?jQuery(".big-thumb").append('<img src="'+i+'" alt=""/>'):n.length>1&&0!==e?o.append('<img src="'+i+'" alt="" class="no-blur"/>'):o.find(".big-thumb").length?jQuery(".big-thumb").append('<img src="'+i+'" alt=""/>'):o.append('<img src="'+i+'" alt=""/>'),jQuery(".blur-range").trigger("input")}}),c.css("display","block")),jQuery("#niteoCS-"+e+"-id").val(s).trigger("change")}).open()}),c.click(function(n){jQuery(this).css("display","none"),o.find("img").remove(),jQuery("#niteoCS-"+e+"-id").val(""),jQuery("#niteoCS-"+e+"-id").trigger("change")})}function u(e){jQuery(".cmp-coming-soon-maintenance ."+e).change(function(){var n=jQuery(".cmp-coming-soon-maintenance ."+e+":checked").val();n=void 0===(n=jQuery.isNumeric(n)?"x"+n:n)?"off":n,jQuery(".cmp-coming-soon-maintenance ."+e+"-switch."+n).css("display","block"),jQuery(".cmp-coming-soon-maintenance ."+e+"-switch:not(."+n+")").css("display","none")}),jQuery(".cmp-coming-soon-maintenance ."+e).first().trigger("change")}function m(e){jQuery(".cmp-coming-soon-maintenance ."+e).change(function(){var n=jQuery("."+e).val();n=jQuery.isNumeric(n)?"x"+n:n,jQuery(".cmp-coming-soon-maintenance ."+e+"."+n).css("display","block"),jQuery(".cmp-coming-soon-maintenance ."+e+":not(."+n+")").css("display","none")}),jQuery("."+e).first().trigger("change")}function p(e,n,a){jQuery(e).on("input",function(){var e=jQuery(this).val();"html"===a&&jQuery(this).parent().find(n).html(e),"val"===a&&jQuery(this).parent().find(n).val(e)})}!function(e){e.fn.toggleDisabled=function(){return this.each(function(){var n,a=e(this),t=a.data("name");a.attr("disabled")?(a.prop("disabled",!1),n="1"):(a.prop("disabled",!0),n="0"),r(t,"active",n)})}}(jQuery),jQuery('.cmp-coming-soon-maintenance .social-inputs input[type="text"]').focusout(function(){var e=jQuery(this).data("name"),n=jQuery(this).attr("value");r(e,"url",n)}),jQuery('.cmp-coming-soon-maintenance .social-inputs input[type="checkbox"]').click(function(n){e(this).siblings('input[type="text"]').toggleDisabled()}),jQuery(".cmp-coming-soon-maintenance .social-media i").click(function(){var e=jQuery(this).data("name");jQuery(this).toggleClass("active"),jQuery(".cmp-coming-soon-maintenance .social-inputs li."+e).toggleClass("active"),jQuery(".cmp-coming-soon-maintenance .social-inputs li."+e+" input").trigger("change"),jQuery(this).hasClass("active")?r(e,"hidden","0"):r(e,"hidden","1"),jQuery(".cmp-coming-soon-maintenance .social-media i.active").length?jQuery(".social-inputs .label").css("display","block"):jQuery(".cmp-coming-soon-maintenance .social-inputs .label").css("display","none")}),jQuery(".cmp-coming-soon-maintenance .social-media i.active").length&&jQuery(".cmp-coming-soon-maintenance .social-inputs .label").css("display","block"),jQuery(".cmp.update-theme").click(function(n){n.preventDefault();var a=e(this),t=a.parents(".notice"),i=a.data("security"),o=a.data("slug"),r=a.data("name"),c={action:"cmp_theme_update_install",security:i,file:{name:o,tmp_name:"",url:jQuery(this).data("remote_url")+"?action=download&slug="+o}};t.find(".message").html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span class="sr-only">Updating heme...</span><span> working hard on updating Theme...</span>'),e.post(ajaxurl,c,function(n){if("success"==(n=n.trim()))setTimeout(function(){t.removeClass("notice-warning").addClass("notice-success"),t.find(".message").html("<span> "+r+' CMP theme was updated sucessfully! You can enjoy latest features now :) </span><i class="fa fa-smile-o" aria-hidden="true"></i>')},1500);else{n=n.slice(0,-1);var a=e("p",e(n)).text();t.removeClass("notice-warning").addClass("notice-error"),t.find(".message").html('<i class="fa fa-frown-o" aria-hidden="true"></i><span> '+a+"</span>")}})}),jQuery(".cmp-coming-soon-maintenance .theme-update.button").one("click",function(n){n.preventDefault();var a=e(this),t=a.closest(".theme-wrapper"),i=t.data("security"),o=t.data("slug"),r={action:"cmp_theme_update_install",security:i,file:{name:o,tmp_name:"",url:t.data("remote_url")+"?action=download&slug="+o}};a.html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span>Updating..</span>'),e.post(ajaxurl,r,function(e){"success"==e?setTimeout(function(){a.html('<i class="fa fa-smile-o" aria-hidden="true"></i><span>Updated!</span>'),setTimeout(function(){a.fadeOut()},1500)},1500):(e=e.slice(0,-1),a.html('<i class="fa fa-frown-o" aria-hidden="true"></i><span>Update Failed!</span>'))})}),jQuery(".cmp-coming-soon-maintenance .theme-details").click(function(n){n.preventDefault();var a=e(this).closest(".theme-wrapper"),t=a.data("slug"),i=a.data("version"),o=a.data("type"),r=a.data("purchased"),c=0,s={action:"niteo_themeinfo",security:jQuery(".theme-wrapper").data("security"),theme_slug:jQuery(this).parents(".theme-wrapper").data("slug")};e.post(ajaxurl,s,function(n){var s="",l="";if("true"==(n=jQuery.parseJSON(n)).result){if(jQuery("body").addClass("modal-open"),"1"==r&&(l='<span class="theme-version">Installed version: '+i+"</span>"),"1"!=r&&"premium"==o)s='<button type="button" class="theme-purchase button hide"><a href="'+a.find(".cmp-purchase-theme").attr("href")+'" target="_blank"><i class="fa fa-cart-arrow-down" aria-hidden="true"></i>Get Theme</a></button>';var u=n.screenshots,m="";Object.keys(u).length>1&&(m='<div class="screenshots-nav"><div class="left"><i class="fa fa-chevron-left" aria-hidden="true"></i></div><div class="right"><i class="fa fa-chevron-right" aria-hidden="true"></i></div></div>');var p=e(['<div class="theme-backdrop">','\t<div class="theme-wrap">','\t\t<div class="theme-header">','\t\t\t<button class="close dashicons dashicons-no"><span class="screen-reader-text">Close details dialog</span></button>',"\t\t</div>",'\t\t<div class="theme-about">','\t\t\t<div class="theme-screenshots">','\t\t\t\t<div class="screenshot" style="background-image:url(\''+u[0]+"')\">"+m+"</div>","\t\t\t</div>",'\t\t\t<div class="theme-info">','\t\t\t\t<h2 class="theme-name">'+n.name+l+"</h2>",'\t\t\t\t<p class="theme-author">By <a href="'+n.author_homepage+'" target="_blank">'+n.author+"</a></p>","",s,'\t\t\t\t<div class="theme-description">'+n.description+"</div>","\t\t\t</div>","\t\t</div>",'\t\t<div class="theme-actions">','\t\t\t<a href="https://niteothemes.com/cmp-coming-soon-maintenance/?theme='+t+"&utm_source=cmp&utm_medium=referral&utm_campaign="+t+'" class="button cmp-preview" target="_blank" aria-label="Preview '+n.name+'">Live Preview</a>',"\t\t</div>","\t</div>","</div>"].join("\n"));jQuery(".theme-overlay.cmp").append(p),jQuery(".theme-overlay.cmp .close").click(function(e){e.preventDefault(),jQuery("body").removeClass("modal-open"),jQuery(".theme-overlay.cmp .theme-backdrop").fadeOut("fast")}),jQuery(".screenshots-nav .right").click(function(){++c==Object.keys(u).length&&(c=0),c in u&&jQuery(".screenshot").css("background-image","url('"+u[c]+"')")}),jQuery(".screenshots-nav .left").click(function(){--c<0&&(c=Object.keys(u).length-1),c in u&&jQuery(".screenshot").css("background-image","url('"+u[c]+"')")})}})}),jQuery(".cmp-coming-soon-maintenance #connect-mailchimp").click(function(n){n.preventDefault();var a=jQuery('.cmp-coming-soon-maintenance input[name="niteoCS_mailchimp_apikey"]').val(),t=jQuery(this).data("security"),i=jQuery(this);if(""!=a){var o={apikey:a,security:t};jQuery(this).prop("disabled",!0),jQuery(this).html('<i class="fa fa-cog fa-spin fa-1x fa-fw"></i><span> retrieving lists..</span>');var r={action:"cmp_mailchimp_list_ajax",security:t,params:o};e.post(ajaxurl,r,function(n){var a=JSON.parse(n);200==a.response?(e("#niteoCS_mailchimp_list").empty().prop("disabled",!1),e.each(a.lists,function(n,a){e("#niteoCS_mailchimp_list").append('<option value="'+a.id+'">'+a.name+"</option>")})):e("#niteoCS_mailchimp_list").empty().prop("disabled",!0).html('<option value="error">'+a.message+"</option>").trigger("change"),i.html("Retrieve Lists"),i.prop("disabled",!1)}).fail(function(){i.html("Retrieve Lists"),i.prop("disabled",!1)})}}),jQuery(".cmp-coming-soon-maintenance .table-wrapper.theme-setup h4").each(function(){if("Overlay Color"==jQuery(this).html())return jQuery(this).parents("tr").remove(),!1}),e(".nav-tab-wrapper").on("click",".theme-preview",function(n){return!(e("#csoptions fieldset:not(.skip-preview-validation *)").serialize()!=t&&!confirm("You have made changes that will not be visible in the preview until you save them. Please save changes first.\nContinue anyway?"))||(n.preventDefault(),!1)})});
niteo-cmp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
- Version: 3.6.11
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
@@ -64,13 +64,14 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
64
 
65
  private function constants() {
66
  // define constants
67
- $this->define( 'CMP_VERSION', '3.6.11' );
68
  $this->define( 'CMP_DEBUG', FALSE );
69
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
70
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
71
  $this->define( 'CMP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
72
  $this->define( 'CMP_PREMIUM_THEMES_DIR', plugin_dir_path( __DIR__ ) . 'cmp-premium-themes/' );
73
  $this->define( 'CMP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
 
74
  CMP_DEBUG === TRUE ? $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates-test/' ) : $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates/' );
75
  }
76
 
@@ -79,8 +80,8 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
79
  */
80
  public function init() {
81
  add_action( 'template_redirect', array( $this, 'cmp_displayPage' ), 1 );
82
- add_action( 'login_init', array( $this, 'cmp_admin_override' ) );
83
- add_action( 'admin_init', array( $this, 'cmp_admin_override' ) );
84
  add_action( 'admin_init', array( $this, 'cmp_adminInit' ) ) ;
85
  add_action( 'admin_init', array( $this, 'cmp_update_process' ), 0 );
86
  add_action( 'admin_menu', array( $this, 'cmp_adminMenu' ), 10 );
@@ -177,16 +178,19 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
177
  }
178
 
179
  public function cmp_theme_supports( $themeslug, $supports ) {
 
180
  if ( file_exists($this->cmp_theme_dir( $themeslug ).$themeslug.'/'.$themeslug . '-defaults.php') ) {
181
  require $this->cmp_theme_dir( $themeslug ).$themeslug.'/'.$themeslug . '-defaults.php';
 
 
182
 
183
- if ( in_array($supports, $theme_supports) ) {
184
- return true;
 
185
  }
186
  }
187
 
188
  return false;
189
-
190
  }
191
 
192
  /**
@@ -231,7 +235,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
231
  array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
232
  array_push( $premium_themes, array('name' => 'fifty', 'url' => 'https://niteothemes.com/downloads/cmp-fifty-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=fifty', 'price' => '10') );
233
  array_push( $premium_themes, array('name' => 'hardwork_premium', 'url' => 'https://niteothemes.com/downloads/cmp-hardwork-premium/?utm_source=cmp&utm_medium=referral&utm_campaign=hardwork_premium', 'price' => '10') );
234
- array_push( $premium_themes, array('name' => 'delta', 'url' => 'https://niteothemes.com/downloads/cmp-delta-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=delta', 'price' => '10') );
235
  array_push( $premium_themes, array('name' => 'libra', 'url' => 'https://niteothemes.com/downloads/cmp-libra-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=libra', 'price' => '10') );
236
  array_push( $premium_themes, array('name' => 'tempie', 'url' => 'https://niteothemes.com/downloads/cmp-tempie-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=tempie', 'price' => '10') );
237
  array_push( $premium_themes, array('name' => 'timex', 'url' => 'https://niteothemes.com/downloads/cmp-timex-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=timex', 'price' => '15') );
@@ -345,9 +348,8 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
345
  $prefix.'_page_cmp-subscribers',
346
  $prefix.'_page_cmp-translate',
347
  $prefix.'_page_cmp-upload-theme',
348
- $prefix.'_page_cmp-help',
349
  $prefix.'_page_cmp-themes-manager',
350
- $prefix.'_page_cmp-divi-addon',
351
  );
352
 
353
  if ( in_array( $hook, $cmp_pages ) ) {
@@ -393,8 +395,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
393
 
394
  add_submenu_page('cmp-settings', __('Upload CMP Theme', 'cmp-coming-soon-maintenance'), __('Upload CMP Theme', 'cmp-coming-soon-maintenance'), 'manage_options', 'cmp-upload-theme', array($this, 'cmp_upload_page') );
395
 
396
- add_submenu_page('cmp-settings', __('CMP Help', 'cmp-coming-soon-maintenance'), __('CMP Help', 'cmp-coming-soon-maintenance'), 'manage_options', 'cmp-help', array($this, 'cmp_help_page') );
397
-
398
  /* Using registered $page handle to hook script load */
399
  add_action('admin_print_scripts-'.$page, array($this, 'cmp_admin_scripts'));
400
 
@@ -462,13 +462,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
462
  require_once ('cmp-upload.php');
463
  }
464
 
465
- /**
466
- * Render CMP Help and About Sub Page
467
- */
468
- public function cmp_help_page() {
469
- require_once ('cmp-help.php');
470
- }
471
-
472
  /**
473
  * Load text domain
474
  */
@@ -545,6 +538,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
545
  }
546
  }
547
 
 
548
  if ( $this->cmp_active() === '0' || $this->cmp_roles_filter() || !$this->cmp_page_filter() ) {
549
  return;
550
  }
@@ -587,12 +581,14 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
587
 
588
  }
589
 
590
- // if themes with countdown timer
591
- if ( $this->cmp_theme_supports($theme, 'counter') ) {
592
 
 
 
 
593
  // if counter is enabled - default yes
594
  if ( get_option('niteoCS_counter', '1') == '1' ) {
595
-
596
  // if countdown date is set - default 24 hours
597
  if ( get_option('niteoCS_counter_date' ) && get_option('niteoCS_counter_date' ) != '' ) {
598
 
@@ -600,9 +596,10 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
600
  if ( get_option('niteoCS_counter_date' ) < time() ) {
601
 
602
  $action = get_option('niteoCS_countdown_action', 'no-action');
603
-
604
  // send notification email if email transient is not set
605
- if ( get_option('niteoCS_countdown_notification', '1') == '1' && get_transient('cmp_counter_email') !== TRUE ) {
 
606
  switch ( $action ) {
607
  case 'no-action':
608
  $message = __('Counter expired but it is set to make no action - you should login to your Wordpress Admin and adjust the expired timer or disable Coming Soon / Maintenance Mode.', 'cmp-coming-soon-maintenance');
@@ -627,7 +624,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
627
  // send email
628
  wp_mail( $to, $subject, $body, $headers );
629
  // set email transient
630
- set_transient( 'cmp_counter_email', TRUE, 0 );
631
 
632
  }
633
 
@@ -667,7 +664,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
667
  die();
668
  }
669
 
670
-
671
  }
672
 
673
  // function to toggle CMP activation for admin menu icon
@@ -1898,6 +1894,8 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
1898
  // since 2.2
1899
  public function cmp_page_filter() {
1900
  global $wp;
 
 
1901
 
1902
  $current_url = trailingslashit( (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" );
1903
 
@@ -1913,6 +1911,13 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
1913
  return false;
1914
  }
1915
 
 
 
 
 
 
 
 
1916
  // get current page IDs
1917
  if ( is_front_page() && is_home() ) {
1918
  // default homepage
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
+ Version: 3.6.12
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
64
 
65
  private function constants() {
66
  // define constants
67
+ $this->define( 'CMP_VERSION', '3.6.12' );
68
  $this->define( 'CMP_DEBUG', FALSE );
69
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
70
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
71
  $this->define( 'CMP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
72
  $this->define( 'CMP_PREMIUM_THEMES_DIR', plugin_dir_path( __DIR__ ) . 'cmp-premium-themes/' );
73
  $this->define( 'CMP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
74
+ CMP_DEBUG === TRUE ? $this->define( 'CMP_LICENSE_SERVER_URL', 'https://niteothemes.com/dev2/' ) : $this->define( 'CMP_LICENSE_SERVER_URL', 'https://niteothemes.com/' );
75
  CMP_DEBUG === TRUE ? $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates-test/' ) : $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates/' );
76
  }
77
 
80
  */
81
  public function init() {
82
  add_action( 'template_redirect', array( $this, 'cmp_displayPage' ), 1 );
83
+ // add_action( 'login_init', array( $this, 'cmp_admin_override' ) );
84
+ // add_action( 'admin_init', array( $this, 'cmp_admin_override' ) );
85
  add_action( 'admin_init', array( $this, 'cmp_adminInit' ) ) ;
86
  add_action( 'admin_init', array( $this, 'cmp_update_process' ), 0 );
87
  add_action( 'admin_menu', array( $this, 'cmp_adminMenu' ), 10 );
178
  }
179
 
180
  public function cmp_theme_supports( $themeslug, $supports ) {
181
+
182
  if ( file_exists($this->cmp_theme_dir( $themeslug ).$themeslug.'/'.$themeslug . '-defaults.php') ) {
183
  require $this->cmp_theme_dir( $themeslug ).$themeslug.'/'.$themeslug . '-defaults.php';
184
+
185
+ foreach ($theme_supports as $key => $value ) {
186
 
187
+ if ( $key === $supports ) {
188
+ return $value;
189
+ }
190
  }
191
  }
192
 
193
  return false;
 
194
  }
195
 
196
  /**
235
  array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
236
  array_push( $premium_themes, array('name' => 'fifty', 'url' => 'https://niteothemes.com/downloads/cmp-fifty-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=fifty', 'price' => '10') );
237
  array_push( $premium_themes, array('name' => 'hardwork_premium', 'url' => 'https://niteothemes.com/downloads/cmp-hardwork-premium/?utm_source=cmp&utm_medium=referral&utm_campaign=hardwork_premium', 'price' => '10') );
 
238
  array_push( $premium_themes, array('name' => 'libra', 'url' => 'https://niteothemes.com/downloads/cmp-libra-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=libra', 'price' => '10') );
239
  array_push( $premium_themes, array('name' => 'tempie', 'url' => 'https://niteothemes.com/downloads/cmp-tempie-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=tempie', 'price' => '10') );
240
  array_push( $premium_themes, array('name' => 'timex', 'url' => 'https://niteothemes.com/downloads/cmp-timex-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=timex', 'price' => '15') );
348
  $prefix.'_page_cmp-subscribers',
349
  $prefix.'_page_cmp-translate',
350
  $prefix.'_page_cmp-upload-theme',
 
351
  $prefix.'_page_cmp-themes-manager',
352
+ $prefix.'_page_cmp-addons',
353
  );
354
 
355
  if ( in_array( $hook, $cmp_pages ) ) {
395
 
396
  add_submenu_page('cmp-settings', __('Upload CMP Theme', 'cmp-coming-soon-maintenance'), __('Upload CMP Theme', 'cmp-coming-soon-maintenance'), 'manage_options', 'cmp-upload-theme', array($this, 'cmp_upload_page') );
397
 
 
 
398
  /* Using registered $page handle to hook script load */
399
  add_action('admin_print_scripts-'.$page, array($this, 'cmp_admin_scripts'));
400
 
462
  require_once ('cmp-upload.php');
463
  }
464
 
 
 
 
 
 
 
 
465
  /**
466
  * Load text domain
467
  */
538
  }
539
  }
540
 
541
+ // return if CMP is disabled, user bypass by role or page is whitelisted
542
  if ( $this->cmp_active() === '0' || $this->cmp_roles_filter() || !$this->cmp_page_filter() ) {
543
  return;
544
  }
581
 
582
  }
583
 
584
+
 
585
 
586
+ // if themes with countdown timer
587
+ if ( $this->cmp_theme_supports( $theme, 'counter' ) ) {
588
+
589
  // if counter is enabled - default yes
590
  if ( get_option('niteoCS_counter', '1') == '1' ) {
591
+
592
  // if countdown date is set - default 24 hours
593
  if ( get_option('niteoCS_counter_date' ) && get_option('niteoCS_counter_date' ) != '' ) {
594
 
596
  if ( get_option('niteoCS_counter_date' ) < time() ) {
597
 
598
  $action = get_option('niteoCS_countdown_action', 'no-action');
599
+
600
  // send notification email if email transient is not set
601
+ if ( get_option('niteoCS_countdown_notification', '1') == '1' && get_transient('cmp_counter_email') !== 'email_sent' ) {
602
+
603
  switch ( $action ) {
604
  case 'no-action':
605
  $message = __('Counter expired but it is set to make no action - you should login to your Wordpress Admin and adjust the expired timer or disable Coming Soon / Maintenance Mode.', 'cmp-coming-soon-maintenance');
624
  // send email
625
  wp_mail( $to, $subject, $body, $headers );
626
  // set email transient
627
+ set_transient( 'cmp_counter_email', 'email_sent', 0 );
628
 
629
  }
630
 
664
  die();
665
  }
666
 
 
667
  }
668
 
669
  // function to toggle CMP activation for admin menu icon
1894
  // since 2.2
1895
  public function cmp_page_filter() {
1896
  global $wp;
1897
+
1898
+
1899
 
1900
  $current_url = trailingslashit( (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" );
1901
 
1911
  return false;
1912
  }
1913
 
1914
+ // WPS HIDE login integration
1915
+ if ( defined('WPS_HIDE_LOGIN_BASENAME') ) {
1916
+ if ( fnmatch('*'.get_option( 'whl_page' ), $current_url) ) {
1917
+ return false;
1918
+ }
1919
+ }
1920
+
1921
  // get current page IDs
1922
  if ( is_front_page() && is_home() ) {
1923
  // default homepage
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: coming soon, landing page, launch page, maintenance mode, under constructi
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.3
8
- Stable tag: 3.6.11
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -51,6 +51,7 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
51
  <li><a href="https://wordpress.org/plugins/mailpoet/" target="_blank>MailPoet – Emails and Newsletters in WordPress</a> fully integrated.</li>
52
  <li><a href="https://mailster.co/" target="_blank>Mailster – The Ultimate Newsletter Plugin for WordPress</a> fully integrated.</li>
53
  <li><a href="https://wordpress.org/plugins/mailoptin/" target="_blank>MailOptin – WordPress Popup, Optin Form, Email Newsletter Plugin</a> fully integrated.</li>
 
54
  <li>We are working on more plugins to be compatible with CMP - feel free to send us suggestions what plugin you might need together with CMP.</li>
55
  </ul>
56
 
@@ -148,10 +149,18 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
148
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
149
 
150
  == Changelog ==
 
 
 
 
 
 
 
151
  <h4>CMP 3.6.11 - 30-Dec-19</h4>
152
  <ul>
153
- <li>Ajax URL whitelisted as well.</li>
154
  </ul>
 
155
  <h4>CMP 3.6.10 - 30-Dec-19</h4>
156
  <ul>
157
  <li>After recieveing few complaints that last update locked out admin screens, wp-admin.php has been whitelisted without home_url in a case WordPress URLs misconfiguration.</li>
@@ -248,7 +257,7 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
248
 
249
  <h4>CMP 3.5.5 - 13-Jun-19</h4>
250
  <ul>
251
- <li>YouTube brand name corrected - @khpro!</li>
252
  </ul>
253
 
254
  <h4>CMP 3.5.4 - 12-Jun-19</h4>
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.3
8
+ Stable tag: 3.6.12
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
51
  <li><a href="https://wordpress.org/plugins/mailpoet/" target="_blank>MailPoet – Emails and Newsletters in WordPress</a> fully integrated.</li>
52
  <li><a href="https://mailster.co/" target="_blank>Mailster – The Ultimate Newsletter Plugin for WordPress</a> fully integrated.</li>
53
  <li><a href="https://wordpress.org/plugins/mailoptin/" target="_blank>MailOptin – WordPress Popup, Optin Form, Email Newsletter Plugin</a> fully integrated.</li>
54
+ <li><a href="https://wordpress.org/plugins/wps-hide-login/" target="_blank>WPS Hide Login full automatic compatibility.</li>
55
  <li>We are working on more plugins to be compatible with CMP - feel free to send us suggestions what plugin you might need together with CMP.</li>
56
  </ul>
57
 
149
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
150
 
151
  == Changelog ==
152
+ <h4>CMP 3.6.12 - 08-Jan-20</h4>
153
+ <ul>
154
+ <li>Resolved issue with spamming emails about expired Countdown Timer.</li>
155
+ <li>Added 100% compatibility with WPS Hide Login plugin.</li>
156
+ <li>Added Activate button to installed CMP themes to resolve issue that in some cases the toolbar buttons on thumbnail hover did not display correctly.</li>
157
+ </ul>
158
+
159
  <h4>CMP 3.6.11 - 30-Dec-19</h4>
160
  <ul>
161
+ <li>WordPress Ajax URL added to Whitelist.</li>
162
  </ul>
163
+
164
  <h4>CMP 3.6.10 - 30-Dec-19</h4>
165
  <ul>
166
  <li>After recieveing few complaints that last update locked out admin screens, wp-admin.php has been whitelisted without home_url in a case WordPress URLs misconfiguration.</li>
257
 
258
  <h4>CMP 3.5.5 - 13-Jun-19</h4>
259
  <ul>
260
+ <li>YouTube brand name corrected - @khpro!</li>
261
  </ul>
262
 
263
  <h4>CMP 3.5.4 - 12-Jun-19</h4>