Version Description
Download this release
Release Info
Developer | niteo |
Plugin | CMP – Coming Soon & Maintenance Plugin by NiteoThemes |
Version | 2.8.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.8.9 to 2.8.9.1
- cmp-settings.php +27 -43
- css/cmp-settings-style.css +5 -7
- css/cmp-settings-style.min.css +1 -1
- inc/class-cmp-render_html.php +7 -5
- inc/settings/settings-background.php +28 -26
- inc/settings/settings-counter.php +9 -50
- inc/settings/settings-subscribe.php +1 -1
- js/settings.js +8 -5
- js/settings.min.js +1 -1
- niteo-cmp.php +3 -3
- readme.txt +8 -8
- themes/coder.txt +0 -6
- themes/construct/construct-defaults.php +1 -1
- themes/countdown/countdown-defaults.php +6 -6
- themes/countdown/style.css +20 -68
- themes/eclipse.txt +2 -2
- themes/hardwork/hardwork-defaults.php +15 -13
- themes/hardwork/hardwork-settings.php +1 -1
cmp-settings.php
CHANGED
@@ -507,34 +507,26 @@ add_thickbox();
|
|
507 |
<tr>
|
508 |
<th><?php _e('Mode', 'cmp-coming-soon-maintenance');?></th>
|
509 |
<td>
|
510 |
-
<fieldset class="cmp-status">
|
|
|
|
|
511 |
|
512 |
-
<legend title="cmp" <?php echo ($this->cmp_status() == 2) ? 'class="active"' : '';?>>
|
513 |
-
<input type="radio" name="cmp-activate" value="2" <?php checked( '2', get_option('niteoCS_activation', '2') ); ?> <?php disabled( '', get_option('niteoCS_status', '') ); ?>> <?php _e('Coming Soon & Landing Page', 'cmp-coming-soon-maintenance');?><br>
|
514 |
-
<span class="info"><?php _e('Returns standard 200 HTTP OK response code to indexing robots. Set this option if you want to use our plugin as "Coming Soon" page.','cmp-coming-soon-maintenance')?></span>
|
515 |
-
</legend><br>
|
516 |
</fieldset>
|
517 |
|
518 |
-
<fieldset class="cmp-status">
|
|
|
|
|
519 |
|
520 |
-
<legend title="maintanance" <?php echo ( $this->cmp_status() == 1 ) ? 'class="active"' : '';?>>
|
521 |
-
<input type="radio" name="cmp-activate" value="1" <?php checked( '1', get_option('niteoCS_activation', '2') ); ?> <?php disabled( '', get_option('niteoCS_status', '') ); ?>> <?php _e('Maintanance Mode', 'cmp-coming-soon-maintenance');?><br>
|
522 |
-
<span class="info"><?php _e('Returns 503 HTTP Service unavailable code to indexing robots. Set this option if your site is down due to maintanance and you want to display Maintanance page.','cmp-coming-soon-maintenance')?></span>
|
523 |
-
</legend><br>
|
524 |
</fieldset>
|
525 |
|
526 |
-
<fieldset class="cmp-status">
|
527 |
-
|
528 |
-
<
|
529 |
-
|
530 |
-
<
|
531 |
-
<
|
532 |
-
|
533 |
-
|
534 |
-
<input type="text" id="niteoCS_redirect_time" name="niteoCS_redirect_time" value="<?php echo esc_attr( $niteoCS_redirect_time ); ?>" class="regular-text code"><br>
|
535 |
-
</div>
|
536 |
-
</legend>
|
537 |
-
|
538 |
</fieldset>
|
539 |
</td>
|
540 |
</tr>
|
@@ -737,14 +729,7 @@ add_thickbox();
|
|
737 |
require (dirname(__FILE__) . '/inc/settings/settings-contact_form.php');
|
738 |
}
|
739 |
|
740 |
-
}
|
741 |
-
if ( file_exists(dirname(__FILE__) . '/inc/settings/settings-contact_form-disabled.php') ) {
|
742 |
-
require (dirname(__FILE__) . '/inc/settings/settings-contact_form-disabled.php');
|
743 |
-
}
|
744 |
-
|
745 |
-
}
|
746 |
-
|
747 |
-
?>
|
748 |
|
749 |
<div class="table-wrapper content" id="social-section">
|
750 |
<h3><?php _e('Social Media', 'cmp-coming-soon-maintenance');?></h3>
|
@@ -949,27 +934,27 @@ add_thickbox();
|
|
949 |
<th><?php _e('Headings Font', 'cmp-coming-soon-maintenance');?></th>
|
950 |
<td>
|
951 |
<fieldset>
|
952 |
-
<label for="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>"><?php _e('Font Family from ', 'cmp-coming-soon-maintenance');?><a href="https://fonts.google.com" target="_blank"
|
953 |
-
<select class="headings-google-font" name
|
954 |
<option value="<?php echo esc_attr( $heading_font['family'] ); ?>" selected="selected"><?php echo esc_html( $heading_font['family'] ); ?></option>
|
955 |
</select>
|
956 |
</fieldset>
|
957 |
|
958 |
<fieldset>
|
959 |
<label for="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></label><br>
|
960 |
-
<select class="headings-google-font-variant" name
|
961 |
<option value="<?php echo esc_attr( $heading_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $heading_font['variant'] ) ); ?></option>
|
962 |
</select>
|
963 |
</fieldset>
|
964 |
|
965 |
<fieldset>
|
966 |
<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>
|
967 |
-
<input type="range" 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" />
|
968 |
</fieldset>
|
969 |
|
970 |
<fieldset>
|
971 |
<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>
|
972 |
-
<input type="range" 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" />
|
973 |
</fieldset>
|
974 |
|
975 |
<?php
|
@@ -978,7 +963,7 @@ add_thickbox();
|
|
978 |
|
979 |
<fieldset>
|
980 |
<label for="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Animation', 'cmp-coming-soon-maintenance');?></label><br>
|
981 |
-
<select name="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>" class="heading-animation">
|
982 |
<option value="none" <?php if ( $niteoCS_heading_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
|
983 |
<option value="fadeInDown" <?php if ( $niteoCS_heading_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
|
984 |
<option value="fadeInUp" <?php if ( $niteoCS_heading_animation == 'fadeInUp' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Up', 'cmp-coming-soon-maintenance');?></option>
|
@@ -998,32 +983,31 @@ add_thickbox();
|
|
998 |
|
999 |
<fieldset>
|
1000 |
<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>
|
1001 |
-
|
1002 |
-
<select class="content-google-font" name ="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>">
|
1003 |
<option value="<?php echo esc_attr( $content_font['family'] ); ?>" selected="selected"><?php echo esc_html( $content_font['family'] ); ?></option>
|
1004 |
</select>
|
1005 |
</fieldset>
|
1006 |
|
1007 |
<fieldset>
|
1008 |
<label for="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></label><br>
|
1009 |
-
<select class="content-google-font-variant" name ="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>">
|
1010 |
<option value="<?php echo esc_attr( $content_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $content_font['variant'] ) ); ?></option>
|
1011 |
</select>
|
1012 |
</fieldset>
|
1013 |
|
1014 |
<fieldset>
|
1015 |
<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>
|
1016 |
-
<input 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" />
|
1017 |
</fieldset>
|
1018 |
|
1019 |
<fieldset>
|
1020 |
<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>
|
1021 |
-
<input 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" />
|
1022 |
</fieldset>
|
1023 |
|
1024 |
<fieldset>
|
1025 |
<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>
|
1026 |
-
<input type="range" name="niteoCS_font_content_lineheight_<?php echo esc_attr( $themeslug );?>" min="1.3" max="3" step="0.1" value="<?php echo esc_attr( $content_font['line-height'] ); ?>" data-css="line-height" data-type="content" />
|
1027 |
</fieldset>
|
1028 |
<?php
|
1029 |
// include theme animation settings
|
@@ -1031,7 +1015,7 @@ add_thickbox();
|
|
1031 |
|
1032 |
<fieldset>
|
1033 |
<label for="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Animation', 'cmp-coming-soon-maintenance');?></label><br>
|
1034 |
-
<select name="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" class="content-animation">
|
1035 |
<option value="none" <?php if ( $niteoCS_content_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
|
1036 |
<option value="fadeInDown" <?php if ( $niteoCS_content_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
|
1037 |
<option value="fadeInUp" <?php if ( $niteoCS_content_animation == 'fadeInUp' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Up', 'cmp-coming-soon-maintenance');?></option>
|
507 |
<tr>
|
508 |
<th><?php _e('Mode', 'cmp-coming-soon-maintenance');?></th>
|
509 |
<td>
|
510 |
+
<fieldset class="cmp-status switch<?php echo ($this->cmp_status() == 2) ? ' active' : '';?>">
|
511 |
+
<input type="radio" name="cmp-activate" value="2" <?php checked( '2', get_option('niteoCS_activation', '2') ); ?> <?php disabled( '', get_option('niteoCS_status', '') ); ?>> <?php _e('Coming Soon & Landing Page', 'cmp-coming-soon-maintenance');?><br>
|
512 |
+
<span class="info"><?php _e('Returns standard 200 HTTP OK response code to indexing robots. Set this option if you want to use our plugin as "Coming Soon" page.','cmp-coming-soon-maintenance')?></span>
|
513 |
|
|
|
|
|
|
|
|
|
514 |
</fieldset>
|
515 |
|
516 |
+
<fieldset class="cmp-status switch<?php echo ($this->cmp_status() == 1) ? ' active' : '';?>">
|
517 |
+
<input type="radio" name="cmp-activate" value="1" <?php checked( '1', get_option('niteoCS_activation', '2') ); ?> <?php disabled( '', get_option('niteoCS_status', '') ); ?>> <?php _e('Maintanance Mode', 'cmp-coming-soon-maintenance');?><br>
|
518 |
+
<span class="info"><?php _e('Returns 503 HTTP Service unavailable code to indexing robots. Set this option if your site is down due to maintanance and you want to display Maintanance page.','cmp-coming-soon-maintenance')?></span>
|
519 |
|
|
|
|
|
|
|
|
|
520 |
</fieldset>
|
521 |
|
522 |
+
<fieldset class="cmp-status switch<?php echo ($this->cmp_status() == 3) ? ' active' : '';?>">
|
523 |
+
<input type="radio" name="cmp-activate" value="3" <?php checked( '3', get_option('niteoCS_activation', '2') ); ?> <?php disabled( '', get_option('niteoCS_status', '') ); ?>> <?php _e('Redirect Mode', 'cmp-coming-soon-maintenance');?><br>
|
524 |
+
<span class="info redirect"><?php _e('Choose Redirect Mode if you want to redirect your website to another URL.','cmp-coming-soon-maintenance')?></span>
|
525 |
+
<div class="redirect-inputs" <?php echo ( $this->cmp_status() == 3 ) ? 'style="display: block"' : 'style="display: none"';?>>
|
526 |
+
<input type="text" id="niteoCS_URL_redirect" name="niteoCS_URL_redirect" value="<?php echo esc_url( $niteoCS_URL_redirect ); ?>" class="regular-text code"><br>
|
527 |
+
<label for="niteoCS_redirect_time"><?php _e('Delay Time in Seconds', 'cmp-coming-soon-maintenance');?></label>
|
528 |
+
<input type="text" id="niteoCS_redirect_time" name="niteoCS_redirect_time" value="<?php echo esc_attr( $niteoCS_redirect_time ); ?>" class="regular-text code"><br>
|
529 |
+
</div>
|
|
|
|
|
|
|
|
|
530 |
</fieldset>
|
531 |
</td>
|
532 |
</tr>
|
729 |
require (dirname(__FILE__) . '/inc/settings/settings-contact_form.php');
|
730 |
}
|
731 |
|
732 |
+
} ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
733 |
|
734 |
<div class="table-wrapper content" id="social-section">
|
735 |
<h3><?php _e('Social Media', 'cmp-coming-soon-maintenance');?></h3>
|
934 |
<th><?php _e('Headings Font', 'cmp-coming-soon-maintenance');?></th>
|
935 |
<td>
|
936 |
<fieldset>
|
937 |
+
<label for="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>"><?php _e('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>
|
938 |
+
<select id="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>" class="headings-google-font" name="niteoCS_font_headings_<?php echo esc_attr( $themeslug );?>">
|
939 |
<option value="<?php echo esc_attr( $heading_font['family'] ); ?>" selected="selected"><?php echo esc_html( $heading_font['family'] ); ?></option>
|
940 |
</select>
|
941 |
</fieldset>
|
942 |
|
943 |
<fieldset>
|
944 |
<label for="niteoCS_font_headings_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></label><br>
|
945 |
+
<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 );?>">
|
946 |
<option value="<?php echo esc_attr( $heading_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $heading_font['variant'] ) ); ?></option>
|
947 |
</select>
|
948 |
</fieldset>
|
949 |
|
950 |
<fieldset>
|
951 |
<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>
|
952 |
+
<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" />
|
953 |
</fieldset>
|
954 |
|
955 |
<fieldset>
|
956 |
<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>
|
957 |
+
<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" />
|
958 |
</fieldset>
|
959 |
|
960 |
<?php
|
963 |
|
964 |
<fieldset>
|
965 |
<label for="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Animation', 'cmp-coming-soon-maintenance');?></label><br>
|
966 |
+
<select id="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>" name="niteoCS_heading_animation_<?php echo esc_attr( $themeslug );?>" class="heading-animation">
|
967 |
<option value="none" <?php if ( $niteoCS_heading_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
|
968 |
<option value="fadeInDown" <?php if ( $niteoCS_heading_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
|
969 |
<option value="fadeInUp" <?php if ( $niteoCS_heading_animation == 'fadeInUp' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Up', 'cmp-coming-soon-maintenance');?></option>
|
983 |
|
984 |
<fieldset>
|
985 |
<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>
|
986 |
+
<select id="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>" class="content-google-font" name="niteoCS_font_content_<?php echo esc_attr( $themeslug );?>">
|
|
|
987 |
<option value="<?php echo esc_attr( $content_font['family'] ); ?>" selected="selected"><?php echo esc_html( $content_font['family'] ); ?></option>
|
988 |
</select>
|
989 |
</fieldset>
|
990 |
|
991 |
<fieldset>
|
992 |
<label for="niteoCS_font_content_variant_<?php echo esc_attr( $themeslug );?>"><?php _e('Variant', 'cmp-coming-soon-maintenance');?></label><br>
|
993 |
+
<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 );?>">
|
994 |
<option value="<?php echo esc_attr( $content_font['variant'] ); ?>" selected="selected"><?php echo esc_html( $this->cmp_google_variant_title( $content_font['variant'] ) ); ?></option>
|
995 |
</select>
|
996 |
</fieldset>
|
997 |
|
998 |
<fieldset>
|
999 |
<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>
|
1000 |
+
<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" />
|
1001 |
</fieldset>
|
1002 |
|
1003 |
<fieldset>
|
1004 |
<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>
|
1005 |
+
<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" />
|
1006 |
</fieldset>
|
1007 |
|
1008 |
<fieldset>
|
1009 |
<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>
|
1010 |
+
<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" />
|
1011 |
</fieldset>
|
1012 |
<?php
|
1013 |
// include theme animation settings
|
1015 |
|
1016 |
<fieldset>
|
1017 |
<label for="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Animation', 'cmp-coming-soon-maintenance');?></label><br>
|
1018 |
+
<select id="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" name="niteoCS_content_animation_<?php echo esc_attr( $themeslug );?>" class="content-animation">
|
1019 |
<option value="none" <?php if ( $niteoCS_content_animation == 'none' ) { echo ' selected="selected"'; } ?>><?php _e('No animation', 'cmp-coming-soon-maintenance');?></option>
|
1020 |
<option value="fadeInDown" <?php if ( $niteoCS_content_animation == 'fadeInDown' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Down', 'cmp-coming-soon-maintenance');?></option>
|
1021 |
<option value="fadeInUp" <?php if ( $niteoCS_content_animation == 'fadeInUp' ) { echo ' selected="selected"'; } ?>><?php _e('Fade In Up', 'cmp-coming-soon-maintenance');?></option>
|
css/cmp-settings-style.css
CHANGED
@@ -61,7 +61,7 @@
|
|
61 |
-webkit-appearance: none;
|
62 |
background-color: #dedede;
|
63 |
width: 100%;
|
64 |
-
height:
|
65 |
border-radius: 5px;
|
66 |
margin: 10px auto 0;
|
67 |
outline: 0
|
@@ -93,8 +93,6 @@
|
|
93 |
width: 100%
|
94 |
}
|
95 |
|
96 |
-
.cmp-coming-soon-maintenance #niteoCS_countdown_redirect,
|
97 |
-
.cmp-coming-soon-maintenance #niteoCS_countdown_text,
|
98 |
.cmp-coming-soon-maintenance .table-wrapper.content,
|
99 |
.cmp-coming-soon-maintenance .table-wrapper.install,
|
100 |
.cmp-coming-soon-maintenance .table-wrapper.seo,
|
@@ -107,13 +105,13 @@
|
|
107 |
display: block
|
108 |
}
|
109 |
|
110 |
-
.cmp-coming-soon-maintenance .cmp-status
|
111 |
width: 95%;
|
112 |
padding: 10px;
|
113 |
cursor: pointer
|
114 |
}
|
115 |
|
116 |
-
.cmp-coming-soon-maintenance .cmp-status
|
117 |
background-color: #ddd
|
118 |
}
|
119 |
|
@@ -461,14 +459,14 @@
|
|
461 |
grid-template-columns: 1fr 1fr 1fr;
|
462 |
-ms-grid-rows: 1fr auto;
|
463 |
grid-template-rows: 1fr auto;
|
464 |
-
|
465 |
grid-gap: 10px;
|
466 |
}
|
467 |
|
468 |
.cmp-coming-soon-maintenance .custom-gallery.gallery-3 {
|
469 |
-ms-grid-columns: 1fr 1fr!important;
|
470 |
grid-template-columns: 1fr 1fr!important;
|
471 |
-
|
472 |
|
473 |
}
|
474 |
|
61 |
-webkit-appearance: none;
|
62 |
background-color: #dedede;
|
63 |
width: 100%;
|
64 |
+
height: 12px;
|
65 |
border-radius: 5px;
|
66 |
margin: 10px auto 0;
|
67 |
outline: 0
|
93 |
width: 100%
|
94 |
}
|
95 |
|
|
|
|
|
96 |
.cmp-coming-soon-maintenance .table-wrapper.content,
|
97 |
.cmp-coming-soon-maintenance .table-wrapper.install,
|
98 |
.cmp-coming-soon-maintenance .table-wrapper.seo,
|
105 |
display: block
|
106 |
}
|
107 |
|
108 |
+
.cmp-coming-soon-maintenance .cmp-status {
|
109 |
width: 95%;
|
110 |
padding: 10px;
|
111 |
cursor: pointer
|
112 |
}
|
113 |
|
114 |
+
.cmp-coming-soon-maintenance .cmp-status.active {
|
115 |
background-color: #ddd
|
116 |
}
|
117 |
|
459 |
grid-template-columns: 1fr 1fr 1fr;
|
460 |
-ms-grid-rows: 1fr auto;
|
461 |
grid-template-rows: 1fr auto;
|
462 |
+
grid-template-areas: "Big Big Big" "small-3 small-2 small-1";
|
463 |
grid-gap: 10px;
|
464 |
}
|
465 |
|
466 |
.cmp-coming-soon-maintenance .custom-gallery.gallery-3 {
|
467 |
-ms-grid-columns: 1fr 1fr!important;
|
468 |
grid-template-columns: 1fr 1fr!important;
|
469 |
+
grid-template-areas: "Big Big" "small-2 small-1"!important;
|
470 |
|
471 |
}
|
472 |
|
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:1em}.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;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.03);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:5px;border-radius:5px;margin:10px auto 0;outline:0}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#0085ba;width:17px;height:17px;border-radius:50%;border:1px solid #d4d4d4;cursor:pointer;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb:hover{background-color:#006799;border:2px solid #0085ba}.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 #niteoCS_countdown_redirect,.cmp-coming-soon-maintenance #niteoCS_countdown_text,.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 legend{width:95%;padding:10px;cursor:pointer}.cmp-coming-soon-maintenance .cmp-status .active{background-color:#ddd}.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;max-width:920px}.cmp-coming-soon-maintenance div.custom_css{padding-bottom:2em;padding-right:3em;background:#fff;border:1px solid #dedede}.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:920px;min-width:920px}.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 .background-media td fieldset,.cmp-coming-soon-maintenance .cmp-logo-switch.graphic{margin-top:1em}.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:90%}.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:600px;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 #delete-banner,.cmp-coming-soon-maintenance #delete-favicon,.cmp-coming-soon-maintenance #delete-logo,.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;-webkit-box-shadow: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.5em;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_img,.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-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}.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 .banner-wrapper,.cmp-coming-soon-maintenance .favicon-wrapper,.cmp-coming-soon-maintenance .logo-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{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}.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}.cmp-coming-soon-maintenance .font-selector fieldset{padding:.5em 0}.cmp-coming-soon-maintenance .theme-wrapper{display:inline-block;margin:2em 1em 2em 0;width:calc(33.33% - 1.5em + 6px);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%;-webkit-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{float:left;text-transform:uppercase}.cmp-coming-soon-maintenance .theme-version{float:right}.cmp-coming-soon-maintenance .theme-wrapper .hide:not(.selected){opacity:0;-webkit-transition:opacity .1s,background-color .1s;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-wrapper:hover .hide{opacity:1;-webkit-transition:opacity .1s,background-color .1s;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-inputs{position:absolute;bottom:-36px;right:0;left:0;padding:5px 10px 5px 5px;height:2em;background:#656565;line-height:2em;color:#fff}.cmp-coming-soon-maintenance .active .theme-inputs{background:#27ae60}.cmp-coming-soon-maintenance .theme-inputs .italic{font-style:italic}.cmp-coming-soon-maintenance .theme-wrapper .buttons-wrapper{position:absolute;top:50%;left:0;right:0;-webkit-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;-webkit-transition:background-color .5s;transition:background-color .5s;border:none!important;box-shadow:none;-webkit-box-shadow:none;text-shadow:none;text-transform:uppercase}.cmp-coming-soon-maintenance .cmp-button.submit,.cmp-coming-soon-maintenance .theme-actions .activate{background-color:#c0392b;color:#fff;border:none;-webkit-transition:background-color .5s;transition:background-color .5s}.cmp-coming-soon-maintenance .theme-wrapper a.button:focus,.cmp-coming-soon-maintenance .theme-wrapper a.button:visited{background:0 0;-webkit-box-shadow:none;box-shadow:none}.cmp-coming-soon-maintenance .theme-wrapper a.button.theme-purchase{background-color:#ff3284}.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:#e74c3c;color:#fff;border:none}.cmp-coming-soon-maintenance .theme-wrapper .button{border:2px solid #fff!important;background:0 0;width:180px;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;-webkit-box-shadow:none;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{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:#32b2ff}.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{-webkit-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;-webkit-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:200px;height:30px;font-weight:600;background:0 0;border:2px solid #f1f1f1;-webkit-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:30px;font-size:14px;z-index:2;-webkit-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:#c0392b;width:90px;height:24px;top:3px;left:5px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-transform:translateX(0);transform:translateX(0);border-radius:10px 0 0 10px}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle .toggle_handler{width:90px;-webkit-transform:translateX(100px);transform:translateX(100px);background:#27ae60;border-radius:0 10px 10px 0}.cmp-coming-soon-maintenance .toggle-wrapper:hover .toggle_handler{background:#e74c3c}.cmp-coming-soon-maintenance .toggle-wrapper:hover .toggle-checkbox:checked+.toggle .toggle_handler{background:#2ecc71}.cmp-coming-soon-maintenance .toggle:before{content:"Disabled";left:22px;color:#fff}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle:before,.cmp-coming-soon-maintenance .toggle:after{color:#23282d}.cmp-coming-soon-maintenance .toggle:after{content:"Enabled";right:26px}.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 - 920px);max-width:350px;min-width:300px;margin-left:1em;padding-top:0;vertical-align:top;text-align:center}.content-settings .cmp-sidebar-wrapper{margin-top:58px}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:2em;border:1px solid #dedede;background:#fff}.cmp-coming-soon-maintenance .widget.donate img{max-width:50px}.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}@media screen and (max-width:1450px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{min-width:70%}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{width:calc(30% - 2em + 7px);margin:0}.cmp-coming-soon-maintenance .theme-wrapper,.cmp-coming-soon-maintenance .theme-wrapper.premium{width:calc(50% - 3em - 5px)}}@media screen and (max-width:1270px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{min-width:100%}}@media screen and (max-width:1110px){.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}}@media screen and (max-width:1024px){.cmp-coming-soon-maintenance .table-wrapper table{width:100%}.cmp-coming-soon-maintenance .table-wrapper th{width:140px}}@media screen and (max-width:782px){.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}}@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:1em}.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:#0085ba;width:17px;height:17px;border-radius:50%;border:1px solid #d4d4d4;cursor:pointer;transition:.3s ease-in-out}.cmp-coming-soon-maintenance input[type=range]::-webkit-slider-thumb:hover{background-color:#006799;border:2px solid #0085ba}.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.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;cursor:pointer}.cmp-coming-soon-maintenance .cmp-status.active{background-color:#ddd}.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;max-width:920px}.cmp-coming-soon-maintenance div.custom_css{padding-bottom:2em;padding-right:3em;background:#fff;border:1px solid #dedede}.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:920px;min-width:920px}.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 .background-media td fieldset,.cmp-coming-soon-maintenance .cmp-logo-switch.graphic{margin-top:1em}.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:90%}.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:600px;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 #delete-banner,.cmp-coming-soon-maintenance #delete-favicon,.cmp-coming-soon-maintenance #delete-logo,.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.5em;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_img,.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-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}.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 .banner-wrapper,.cmp-coming-soon-maintenance .favicon-wrapper,.cmp-coming-soon-maintenance .logo-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{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}.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}.cmp-coming-soon-maintenance .font-selector fieldset{padding:.5em 0}.cmp-coming-soon-maintenance .theme-wrapper{display:inline-block;margin:2em 1em 2em 0;width:calc(33.33% - 1.5em + 6px);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%;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{float:left;text-transform:uppercase}.cmp-coming-soon-maintenance .theme-version{float:right}.cmp-coming-soon-maintenance .theme-wrapper .hide:not(.selected){opacity:0;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-wrapper:hover .hide{opacity:1;transition:opacity .1s,background-color .1s}.cmp-coming-soon-maintenance .theme-inputs{position:absolute;bottom:-36px;right:0;left:0;padding:5px 10px 5px 5px;height:2em;background:#656565;line-height:2em;color:#fff}.cmp-coming-soon-maintenance .active .theme-inputs{background:#27ae60}.cmp-coming-soon-maintenance .theme-inputs .italic{font-style:italic}.cmp-coming-soon-maintenance .theme-wrapper .buttons-wrapper{position:absolute;top:50%;left:0;right:0;-webkit-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;transition:background-color .5s;border:none!important;box-shadow:none;-webkit-box-shadow:none;text-shadow:none;text-transform:uppercase}.cmp-coming-soon-maintenance .cmp-button.submit,.cmp-coming-soon-maintenance .theme-actions .activate{background-color:#c0392b;color:#fff;border:none;transition:background-color .5s}.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-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:#e74c3c;color:#fff;border:none}.cmp-coming-soon-maintenance .theme-wrapper .button{border:2px solid #fff!important;background:0 0;width:180px;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{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:#32b2ff}.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{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;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:200px;height:30px;font-weight:600;background:0 0;border:2px solid #f1f1f1;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:30px;font-size:14px;z-index:2;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:#c0392b;width:90px;height:24px;top:3px;left:5px;transition:all .2s ease-in-out;-webkit-transform:translateX(0);transform:translateX(0);border-radius:10px 0 0 10px}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle .toggle_handler{width:90px;-webkit-transform:translateX(100px);transform:translateX(100px);background:#27ae60;border-radius:0 10px 10px 0}.cmp-coming-soon-maintenance .toggle-wrapper:hover .toggle_handler{background:#e74c3c}.cmp-coming-soon-maintenance .toggle-wrapper:hover .toggle-checkbox:checked+.toggle .toggle_handler{background:#2ecc71}.cmp-coming-soon-maintenance .toggle:before{content:"Disabled";left:22px;color:#fff}.cmp-coming-soon-maintenance .toggle-checkbox:checked+.toggle:before,.cmp-coming-soon-maintenance .toggle:after{color:#23282d}.cmp-coming-soon-maintenance .toggle:after{content:"Enabled";right:26px}.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 - 920px);max-width:350px;min-width:300px;margin-left:1em;padding-top:0;vertical-align:top;text-align:center}.content-settings .cmp-sidebar-wrapper{margin-top:58px}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper .widget{padding:2em;border:1px solid #dedede;background:#fff}.cmp-coming-soon-maintenance .widget.donate img{max-width:50px}.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}@media screen and (max-width:1450px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{min-width:70%}.cmp-coming-soon-maintenance .cmp-sidebar-wrapper{width:calc(30% - 2em + 7px);margin:0}.cmp-coming-soon-maintenance .theme-wrapper,.cmp-coming-soon-maintenance .theme-wrapper.premium{width:calc(50% - 3em - 5px)}}@media screen and (max-width:1270px){.cmp-coming-soon-maintenance #csoptions,.cmp-coming-soon-maintenance .cmp-inputs-wrapper{min-width:100%}}@media screen and (max-width:1110px){.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}}@media screen and (max-width:1024px){.cmp-coming-soon-maintenance .table-wrapper table{width:100%}.cmp-coming-soon-maintenance .table-wrapper th{width:140px}}@media screen and (max-width:782px){.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}}@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/class-cmp-render_html.php
CHANGED
@@ -197,7 +197,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
|
|
197 |
case '6':
|
198 |
// Gradient
|
199 |
$background_class = 'gradient';
|
200 |
-
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#
|
201 |
if ( $niteoCS_gradient == 'custom' ) {
|
202 |
$niteoCS_gradient_one = get_option('niteoCS_banner_gradient_one['.$themeslug.']', '#e5e5e5');
|
203 |
$niteoCS_gradient_two = get_option('niteoCS_banner_gradient_two['.$themeslug.']', '#e5e5e5');
|
@@ -214,9 +214,11 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
|
|
214 |
break;
|
215 |
}
|
216 |
|
217 |
-
|
218 |
-
|
219 |
-
|
|
|
|
|
220 |
|
221 |
return $html;
|
222 |
}
|
@@ -941,7 +943,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
|
|
941 |
|
942 |
$subset = array_unique( array_merge( $heading_subsets, $content_subsets ) );
|
943 |
|
944 |
-
return '<link href="https://fonts.googleapis.com/css?family='. esc_attr( str_replace(' ', '+', $heading_font['family']) ) .':400,'. esc_attr(str_replace('italic', 'i', $heading_font['variant'] )) .'%7C'. esc_attr( str_replace(' ', '+', $content_font['family']) ) .':400,'. esc_attr(str_replace('italic', '', $content_font['variant'] )) .','. esc_attr(str_replace('italic', '', $content_font['variant'] )) .'i&subset=' . implode(',', $subset) . '" rel="stylesheet">';
|
945 |
}
|
946 |
|
947 |
/**
|
197 |
case '6':
|
198 |
// Gradient
|
199 |
$background_class = 'gradient';
|
200 |
+
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#1A2980:#26D0CE');
|
201 |
if ( $niteoCS_gradient == 'custom' ) {
|
202 |
$niteoCS_gradient_one = get_option('niteoCS_banner_gradient_one['.$themeslug.']', '#e5e5e5');
|
203 |
$niteoCS_gradient_two = get_option('niteoCS_banner_gradient_two['.$themeslug.']', '#e5e5e5');
|
214 |
break;
|
215 |
}
|
216 |
|
217 |
+
// add overlay to images/videos
|
218 |
+
if ( $niteoCS_banner != '4' && $niteoCS_banner != '6' ) {
|
219 |
+
$overlay = $this->background_overlay( $themeslug );
|
220 |
+
$html .= $overlay;
|
221 |
+
}
|
222 |
|
223 |
return $html;
|
224 |
}
|
943 |
|
944 |
$subset = array_unique( array_merge( $heading_subsets, $content_subsets ) );
|
945 |
|
946 |
+
return '<link href="https://fonts.googleapis.com/css?family='. esc_attr( str_replace(' ', '+', $heading_font['family']) ) .':400,700,'. esc_attr(str_replace('italic', 'i', $heading_font['variant'] )) .'%7C'. esc_attr( str_replace(' ', '+', $content_font['family']) ) .':400,400i,700,'. esc_attr(str_replace('italic', '', $content_font['variant'] )) .','. esc_attr(str_replace('italic', '', $content_font['variant'] )) .'i&subset=' . implode(',', $subset) . '" rel="stylesheet">';
|
947 |
}
|
948 |
|
949 |
/**
|
inc/settings/settings-background.php
CHANGED
@@ -154,7 +154,7 @@ $gradient_array = array(
|
|
154 |
<fieldset class="background-type-switch unsplash_banner x1">
|
155 |
|
156 |
<label for="unsplash_feed_<?php echo esc_attr( $themeslug );?>"><?php _e('Choose Unsplash Feed', 'cmp-coming-soon-maintenance');?></label><br>
|
157 |
-
<select name="unsplash_feed_<?php echo esc_attr( $themeslug );?>">
|
158 |
|
159 |
<option value="3" <?php selected( '3', $niteoCS_unsplash_feed ); ?>><?php _e('Random Photo', 'cmp-coming-soon-maintenance');?></option>
|
160 |
|
@@ -167,8 +167,9 @@ $gradient_array = array(
|
|
167 |
</select>
|
168 |
|
169 |
<p class="unsplash-feed unsplash-feed-0">
|
170 |
-
<label
|
171 |
-
|
|
|
172 |
<br><br>
|
173 |
<button id="test-unsplash" class="button" data-security="<?php echo esc_attr( $ajax_nonce );?>"><?php _e('Display Unsplash Photo', 'cmp-coming-soon-maintenance');?></button>
|
174 |
</p>
|
@@ -183,20 +184,23 @@ $gradient_array = array(
|
|
183 |
</div>
|
184 |
|
185 |
<p class="unsplash-feed unsplash-feed-2">
|
186 |
-
<label
|
187 |
<input type="text" class="widefat" id="niteoCS-unsplash-2" name="niteoCS_unsplash_2_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_2 ); ?>" />
|
|
|
188 |
</p>
|
189 |
|
190 |
<p class="unsplash-feed unsplash-feed-3">
|
191 |
-
<label
|
192 |
<input type="text" class="widefat" id="niteoCS-unsplash-3" name="niteoCS_unsplash_3_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_3 ); ?>" />
|
|
|
193 |
|
194 |
<input type="checkbox" name="niteoCS_unsplash_feat_<?php echo esc_attr( $themeslug );?>" id="niteoCS_unsplash_feat" value="1" <?php checked( '1', get_option( 'niteoCS_unsplash_feat['.esc_attr( $themeslug ).']', '0' ) ); ?> class="regular-text code"><label for="niteoCS_unsplash_feat"><?php _e('Only Unsplash Featured Photos', 'cmp-coming-soon-maintenance');?></label>
|
195 |
</p>
|
196 |
|
197 |
<p class="unsplash-feed unsplash-feed-1">
|
198 |
-
<label
|
199 |
<input type="text" class="widefat" id="niteoCS-unsplash-1" name="niteoCS_unsplash_1_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_1 ); ?>" placeholder="@"/>
|
|
|
200 |
</p>
|
201 |
|
202 |
<p class="unplash-description"><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>
|
@@ -208,7 +212,7 @@ $gradient_array = array(
|
|
208 |
<fieldset class="background-type-switch video_banner x5">
|
209 |
<label for="niteoCS_banner_video_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Video Source', 'cmp-coming-soon-maintenance');?></label><br>
|
210 |
|
211 |
-
<select name="niteoCS_banner_video_<?php echo esc_attr( $themeslug );?>" class="banner-video-source">
|
212 |
<option value="youtube" <?php selected( 'youtube', $niteoCS_banner_video ); ?>><?php _e('YouTube', 'cmp-coming-soon-maintenance');?></option>
|
213 |
<option value="local" <?php selected( 'local', $niteoCS_banner_video ); ?>><?php _e('Custom Video File', 'cmp-coming-soon-maintenance');?></option>
|
214 |
<option disabled value="vimeo" <?php selected( 'vimeo', $niteoCS_banner_video ); ?>><?php _e('Vimeo (coming soon...)', 'cmp-coming-soon-maintenance');?></option>
|
@@ -216,18 +220,18 @@ $gradient_array = array(
|
|
216 |
|
217 |
|
218 |
<p class="banner-video-source youtube">
|
219 |
-
<label for="
|
220 |
<input type="text" class="widefat" id="niteoCS-youtube-url" name="niteoCS_youtube_url_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_youtube_url ); ?>" />
|
221 |
|
222 |
</p>
|
223 |
|
224 |
<p class="banner-video-source vimeo">
|
225 |
-
<label for="
|
226 |
<input type="text" class="widefat" id="niteoCS-vimeo-url" name="niteoCS_vimeo_url_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_vimeo_url ); ?>" />
|
227 |
</p>
|
228 |
|
229 |
<p class="banner-video-source local">
|
230 |
-
<label for="
|
231 |
<input id="add-video-local" type="button" class="button" value="Media Library"/>
|
232 |
<input type="hidden" class="widefat" id="niteoCS-video-local-id" name="niteoCS_video_file_url<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_video_file_url ); ?>" data-url="<?php echo esc_url( wp_get_attachment_url( $niteoCS_video_file_url ) ); ?>"/>
|
233 |
</p>
|
@@ -281,7 +285,7 @@ $gradient_array = array(
|
|
281 |
<!-- PATTERN BACKGROUND -->
|
282 |
<fieldset class="background-type-switch graphic_pattern x3">
|
283 |
<label for="niteoCS_banner_pattern_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Pattern', 'cmp-coming-soon-maintenance');?></label><br>
|
284 |
-
<select name="niteoCS_banner_pattern_<?php echo esc_attr( $themeslug );?>" data-url="<?php echo esc_url(WP_PLUGIN_URL . '/cmp-coming-soon-maintenance/img/patterns/');?>">
|
285 |
<?php
|
286 |
foreach ( $patterns as $pattern ) { ?>
|
287 |
<option value="<?php echo esc_attr( $pattern );?>" <?php selected( $pattern, $niteoCS_banner_pattern ); ?>><?php echo esc_html(ucfirst(str_replace('_', ' ', $pattern)));?></option>
|
@@ -301,7 +305,7 @@ $gradient_array = array(
|
|
301 |
|
302 |
<!-- SOLID COLOR BACKGROUND -->
|
303 |
<fieldset class="background-type-switch solid_color x4">
|
304 |
-
<label for="
|
305 |
<input type="text" name="niteoCS_banner_color_<?php echo esc_attr( $themeslug );?>" id="niteoCS_banner_color" value="<?php echo esc_attr( $niteoCS_banner_color ); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
306 |
<div class="color-preview" style="background-color:<?php echo esc_attr( $niteoCS_banner_color); ?>"></div>
|
307 |
</fieldset>
|
@@ -309,9 +313,9 @@ $gradient_array = array(
|
|
309 |
<!-- GRADIENT BACKGROUND -->
|
310 |
<fieldset class="background-type-switch gradient_background x6">
|
311 |
|
312 |
-
<label for="
|
313 |
|
314 |
-
<select name="niteoCS_gradient_<?php echo esc_attr( $themeslug );?>" class="background-gradient">
|
315 |
<?php
|
316 |
|
317 |
foreach ( $gradient_array as $color => $name ) { ?>
|
@@ -324,9 +328,10 @@ $gradient_array = array(
|
|
324 |
</select><br>
|
325 |
|
326 |
<p class="custom-gradient" style="display:<?php echo ( $niteoCS_gradient == 'custom' ) ? 'block' : 'none'; ?>">
|
327 |
-
<label for="
|
328 |
<input type="text" name="niteoCS_banner_gradient_one_<?php echo esc_attr( $themeslug );?>" id="niteoCS_gradient_one" value="<?php echo esc_attr( $niteoCS_gradient_one_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
329 |
-
|
|
|
330 |
<input type="text" name="niteoCS_banner_gradient_two_<?php echo esc_attr( $themeslug );?>" id="niteoCS_gradient_two" value="<?php echo esc_attr( $niteoCS_gradient_two_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
331 |
</p>
|
332 |
|
@@ -342,9 +347,9 @@ $gradient_array = array(
|
|
342 |
<span><?php _e('Background Overlay', 'cmp-coming-soon-maintenance');?></span>
|
343 |
</legend>
|
344 |
|
345 |
-
<label for="
|
346 |
|
347 |
-
<select name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>" id="
|
348 |
|
349 |
<option value="solid-color" <?php selected( 'solid-color', $overlay ); ?>><?php _e('Solid Color', 'cmp-coming-soon-maintenance');?></option>
|
350 |
|
@@ -368,7 +373,7 @@ $gradient_array = array(
|
|
368 |
|
369 |
<label for="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_gradient"><?php _e('Select Gradient Overlay', 'cmp-coming-soon-maintenance');?></label><br>
|
370 |
|
371 |
-
<select name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_gradient" class="overlay-gradient">
|
372 |
<?php
|
373 |
|
374 |
foreach ( $gradient_array as $color => $name ) { ?>
|
@@ -382,12 +387,10 @@ $gradient_array = array(
|
|
382 |
|
383 |
<p class="custom-overlay-gradient" style="display:<?php echo ( $overlay_gradient == 'custom' ) ? 'block' : 'none'; ?>">
|
384 |
|
385 |
-
<label for="
|
386 |
-
|
387 |
<input type="text" name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_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>
|
388 |
|
389 |
-
<label for="
|
390 |
-
|
391 |
<input type="text" name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_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>
|
392 |
|
393 |
</p>
|
@@ -396,14 +399,13 @@ $gradient_array = array(
|
|
396 |
|
397 |
<fieldset class="background-overlay solid-color gradient">
|
398 |
<label for="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_opacity"><?php _e('Background Overlay Opacity', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $overlay_opa ); ?></span></label><br>
|
399 |
-
<input type="range" class="background-overlay-opacity" name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_opacity" min="0" max="1" step="0.1" value="<?php echo esc_attr( $overlay_opa ); ?>" />
|
400 |
</fieldset>
|
401 |
|
402 |
|
403 |
<fieldset class="background-effect blur">
|
404 |
-
|
405 |
<label for="niteoCS_effect_blur_<?php echo esc_attr( $themeslug );?>"><?php _e('Background Blur Amount', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $effect_blur ); ?></span>px</label><br>
|
406 |
-
<input type="range" class="blur-range" name="niteoCS_effect_blur_<?php echo esc_attr( $themeslug );?>" min="0.0" max="10" step="0.5" value="<?php echo esc_attr( $effect_blur ); ?>" />
|
407 |
</fieldset>
|
408 |
|
409 |
</div>
|
154 |
<fieldset class="background-type-switch unsplash_banner x1">
|
155 |
|
156 |
<label for="unsplash_feed_<?php echo esc_attr( $themeslug );?>"><?php _e('Choose Unsplash Feed', 'cmp-coming-soon-maintenance');?></label><br>
|
157 |
+
<select name="unsplash_feed_<?php echo esc_attr( $themeslug );?>" id="unsplash_feed_<?php echo esc_attr( $themeslug );?>">
|
158 |
|
159 |
<option value="3" <?php selected( '3', $niteoCS_unsplash_feed ); ?>><?php _e('Random Photo', 'cmp-coming-soon-maintenance');?></option>
|
160 |
|
167 |
</select>
|
168 |
|
169 |
<p class="unsplash-feed unsplash-feed-0">
|
170 |
+
<label><?php _e('Enter Unsplash Photo URL or Unsplash Photo ID', 'cmp-coming-soon-maintenance');?>
|
171 |
+
<input type="text" class="widefat" id="niteoCS-unsplash-0" name="niteoCS_unsplash_0_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_0 ); ?>" />
|
172 |
+
</label>
|
173 |
<br><br>
|
174 |
<button id="test-unsplash" class="button" data-security="<?php echo esc_attr( $ajax_nonce );?>"><?php _e('Display Unsplash Photo', 'cmp-coming-soon-maintenance');?></button>
|
175 |
</p>
|
184 |
</div>
|
185 |
|
186 |
<p class="unsplash-feed unsplash-feed-2">
|
187 |
+
<label><?php printf(__('Enter <a href="%s">Unsplash Collection</a> URL or Collection ID.', 'cmp-coming-soon-maintenance'), 'https://unsplash.com/collections/');?>
|
188 |
<input type="text" class="widefat" id="niteoCS-unsplash-2" name="niteoCS_unsplash_2_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_2 ); ?>" />
|
189 |
+
</label>
|
190 |
</p>
|
191 |
|
192 |
<p class="unsplash-feed unsplash-feed-3">
|
193 |
+
<label><?php _e('Limit photos to specific keyword (fashion, nature, technology..)', 'cmp-coming-soon-maintenance');?>
|
194 |
<input type="text" class="widefat" id="niteoCS-unsplash-3" name="niteoCS_unsplash_3_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_3 ); ?>" />
|
195 |
+
</label>
|
196 |
|
197 |
<input type="checkbox" name="niteoCS_unsplash_feat_<?php echo esc_attr( $themeslug );?>" id="niteoCS_unsplash_feat" value="1" <?php checked( '1', get_option( 'niteoCS_unsplash_feat['.esc_attr( $themeslug ).']', '0' ) ); ?> class="regular-text code"><label for="niteoCS_unsplash_feat"><?php _e('Only Unsplash Featured Photos', 'cmp-coming-soon-maintenance');?></label>
|
198 |
</p>
|
199 |
|
200 |
<p class="unsplash-feed unsplash-feed-1">
|
201 |
+
<label><?php _e('Enter Unsplash User ID', 'cmp-coming-soon-maintenance');?>
|
202 |
<input type="text" class="widefat" id="niteoCS-unsplash-1" name="niteoCS_unsplash_1_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_unsplash_1 ); ?>" placeholder="@"/>
|
203 |
+
</label>
|
204 |
</p>
|
205 |
|
206 |
<p class="unplash-description"><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>
|
212 |
<fieldset class="background-type-switch video_banner x5">
|
213 |
<label for="niteoCS_banner_video_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Video Source', 'cmp-coming-soon-maintenance');?></label><br>
|
214 |
|
215 |
+
<select name="niteoCS_banner_video_<?php echo esc_attr( $themeslug );?>" id="niteoCS_banner_video_<?php echo esc_attr( $themeslug );?>" class="banner-video-source">
|
216 |
<option value="youtube" <?php selected( 'youtube', $niteoCS_banner_video ); ?>><?php _e('YouTube', 'cmp-coming-soon-maintenance');?></option>
|
217 |
<option value="local" <?php selected( 'local', $niteoCS_banner_video ); ?>><?php _e('Custom Video File', 'cmp-coming-soon-maintenance');?></option>
|
218 |
<option disabled value="vimeo" <?php selected( 'vimeo', $niteoCS_banner_video ); ?>><?php _e('Vimeo (coming soon...)', 'cmp-coming-soon-maintenance');?></option>
|
220 |
|
221 |
|
222 |
<p class="banner-video-source youtube">
|
223 |
+
<label for="niteoCS-youtube-url"><?php _e('Enter Youtube URL', 'cmp-coming-soon-maintenance');?></label>
|
224 |
<input type="text" class="widefat" id="niteoCS-youtube-url" name="niteoCS_youtube_url_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_youtube_url ); ?>" />
|
225 |
|
226 |
</p>
|
227 |
|
228 |
<p class="banner-video-source vimeo">
|
229 |
+
<label for="niteoCS-vimeo-url"><?php _e('Enter Vimeo URL', 'cmp-coming-soon-maintenance');?></label>
|
230 |
<input type="text" class="widefat" id="niteoCS-vimeo-url" name="niteoCS_vimeo_url_<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_vimeo_url ); ?>" />
|
231 |
</p>
|
232 |
|
233 |
<p class="banner-video-source local">
|
234 |
+
<label for="add-video-local"><?php _e('Select or Upload custom Video file', 'cmp-coming-soon-maintenance');?></label>
|
235 |
<input id="add-video-local" type="button" class="button" value="Media Library"/>
|
236 |
<input type="hidden" class="widefat" id="niteoCS-video-local-id" name="niteoCS_video_file_url<?php echo esc_attr( $themeslug );?>" value="<?php echo esc_attr( $niteoCS_video_file_url ); ?>" data-url="<?php echo esc_url( wp_get_attachment_url( $niteoCS_video_file_url ) ); ?>"/>
|
237 |
</p>
|
285 |
<!-- PATTERN BACKGROUND -->
|
286 |
<fieldset class="background-type-switch graphic_pattern x3">
|
287 |
<label for="niteoCS_banner_pattern_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Pattern', 'cmp-coming-soon-maintenance');?></label><br>
|
288 |
+
<select name="niteoCS_banner_pattern_<?php echo esc_attr( $themeslug );?>" id="niteoCS_banner_pattern_<?php echo esc_attr( $themeslug );?>" data-url="<?php echo esc_url(WP_PLUGIN_URL . '/cmp-coming-soon-maintenance/img/patterns/');?>">
|
289 |
<?php
|
290 |
foreach ( $patterns as $pattern ) { ?>
|
291 |
<option value="<?php echo esc_attr( $pattern );?>" <?php selected( $pattern, $niteoCS_banner_pattern ); ?>><?php echo esc_html(ucfirst(str_replace('_', ' ', $pattern)));?></option>
|
305 |
|
306 |
<!-- SOLID COLOR BACKGROUND -->
|
307 |
<fieldset class="background-type-switch solid_color x4">
|
308 |
+
<label for="niteoCS_banner_color"><?php _e('Select Color', 'cmp-coming-soon-maintenance');?></label><br>
|
309 |
<input type="text" name="niteoCS_banner_color_<?php echo esc_attr( $themeslug );?>" id="niteoCS_banner_color" value="<?php echo esc_attr( $niteoCS_banner_color ); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
310 |
<div class="color-preview" style="background-color:<?php echo esc_attr( $niteoCS_banner_color); ?>"></div>
|
311 |
</fieldset>
|
313 |
<!-- GRADIENT BACKGROUND -->
|
314 |
<fieldset class="background-type-switch gradient_background x6">
|
315 |
|
316 |
+
<label for="niteoCS_gradient"><?php _e('Select Gradient Background', 'cmp-coming-soon-maintenance');?></label><br>
|
317 |
|
318 |
+
<select name="niteoCS_gradient_<?php echo esc_attr( $themeslug );?>" id="niteoCS_gradient" class="background-gradient">
|
319 |
<?php
|
320 |
|
321 |
foreach ( $gradient_array as $color => $name ) { ?>
|
328 |
</select><br>
|
329 |
|
330 |
<p class="custom-gradient" style="display:<?php echo ( $niteoCS_gradient == 'custom' ) ? 'block' : 'none'; ?>">
|
331 |
+
<label for="niteoCS_gradient_one"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
332 |
<input type="text" name="niteoCS_banner_gradient_one_<?php echo esc_attr( $themeslug );?>" id="niteoCS_gradient_one" value="<?php echo esc_attr( $niteoCS_gradient_one_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
333 |
+
|
334 |
+
<label for="niteoCS_gradient_two"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
335 |
<input type="text" name="niteoCS_banner_gradient_two_<?php echo esc_attr( $themeslug );?>" id="niteoCS_gradient_two" value="<?php echo esc_attr( $niteoCS_gradient_two_custom); ?>" data-default-color="#e5e5e5" class="regular-text code"><br>
|
336 |
</p>
|
337 |
|
347 |
<span><?php _e('Background Overlay', 'cmp-coming-soon-maintenance');?></span>
|
348 |
</legend>
|
349 |
|
350 |
+
<label for="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>"><?php _e('Select Background Overlay', 'cmp-coming-soon-maintenance');?></label><br>
|
351 |
|
352 |
+
<select name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>" id="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>" class="background-overlay">
|
353 |
|
354 |
<option value="solid-color" <?php selected( 'solid-color', $overlay ); ?>><?php _e('Solid Color', 'cmp-coming-soon-maintenance');?></option>
|
355 |
|
373 |
|
374 |
<label for="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_gradient"><?php _e('Select Gradient Overlay', 'cmp-coming-soon-maintenance');?></label><br>
|
375 |
|
376 |
+
<select name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_gradient" id="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_gradient" class="overlay-gradient">
|
377 |
<?php
|
378 |
|
379 |
foreach ( $gradient_array as $color => $name ) { ?>
|
387 |
|
388 |
<p class="custom-overlay-gradient" style="display:<?php echo ( $overlay_gradient == 'custom' ) ? 'block' : 'none'; ?>">
|
389 |
|
390 |
+
<label for="niteoCS_overlay_gradient_one"><?php _e('Select first gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
|
|
391 |
<input type="text" name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_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>
|
392 |
|
393 |
+
<label for="niteoCS_overlay_gradient_two"><?php _e('Select second gradient color:', 'cmp-coming-soon-maintenance');?></label><br>
|
|
|
394 |
<input type="text" name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_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>
|
395 |
|
396 |
</p>
|
399 |
|
400 |
<fieldset class="background-overlay solid-color gradient">
|
401 |
<label for="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_opacity"><?php _e('Background Overlay Opacity', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $overlay_opa ); ?></span></label><br>
|
402 |
+
<input type="range" id="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_opacity" class="background-overlay-opacity" name="niteoCS_overlay_<?php echo esc_attr( $themeslug );?>_opacity" min="0" max="1" step="0.1" value="<?php echo esc_attr( $overlay_opa ); ?>" />
|
403 |
</fieldset>
|
404 |
|
405 |
|
406 |
<fieldset class="background-effect blur">
|
|
|
407 |
<label for="niteoCS_effect_blur_<?php echo esc_attr( $themeslug );?>"><?php _e('Background Blur Amount', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $effect_blur ); ?></span>px</label><br>
|
408 |
+
<input type="range" id="niteoCS_effect_blur_<?php echo esc_attr( $themeslug );?>" class="blur-range" name="niteoCS_effect_blur_<?php echo esc_attr( $themeslug );?>" min="0.0" max="10" step="0.5" value="<?php echo esc_attr( $effect_blur ); ?>" />
|
409 |
</fieldset>
|
410 |
|
411 |
</div>
|
inc/settings/settings-counter.php
CHANGED
@@ -13,10 +13,6 @@ if (isset($_POST['niteoCS_countdown_action'])) {
|
|
13 |
update_option('niteoCS_countdown_action', sanitize_text_field($_POST['niteoCS_countdown_action']));
|
14 |
}
|
15 |
|
16 |
-
if (isset($_POST['niteoCS_countdown_text'])) {
|
17 |
-
update_option('niteoCS_countdown_text', sanitize_text_field($_POST['niteoCS_countdown_text']));
|
18 |
-
}
|
19 |
-
|
20 |
if (isset($_POST['niteoCS_countdown_redirect'])) {
|
21 |
update_option('niteoCS_countdown_redirect', esc_url_raw($_POST['niteoCS_countdown_redirect']));
|
22 |
}
|
@@ -33,7 +29,6 @@ wp_enqueue_style( 'countdown_flatpicker_css');
|
|
33 |
$niteoCS_counter = get_option('niteoCS_counter', '1');
|
34 |
$niteoCS_counter_date = get_option('niteoCS_counter_date', time()+86400);
|
35 |
$niteoCS_countdown_action = get_option('niteoCS_countdown_action', 'no-action');
|
36 |
-
$niteoCS_countdown_text = get_option('niteoCS_countdown_text');
|
37 |
$niteoCS_countdown_redirect = get_option('niteoCS_countdown_redirect');
|
38 |
$niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, WE ARE LAUNCHING SOON...');
|
39 |
|
@@ -52,30 +47,30 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
|
|
52 |
|
53 |
<p>
|
54 |
<label title="Enabled">
|
55 |
-
<input type="radio" name="niteoCS_counter" value="1"<?php if ( $niteoCS_counter == 1) { echo ' checked="checked"'; } ?>> <?php _e('Enabled', 'cmp-coming-soon-maintenance');?>
|
56 |
</label>
|
57 |
</p>
|
58 |
|
59 |
<p>
|
60 |
<label title="Disabled">
|
61 |
-
<input type="radio" name="niteoCS_counter" value="0"<?php if ( $niteoCS_counter == 0) { echo ' checked="checked"'; } ?>> <?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
|
62 |
</label>
|
63 |
</p>
|
64 |
|
65 |
</fieldset>
|
66 |
</th>
|
67 |
|
68 |
-
<td id="counter-disabled">
|
69 |
<p><?php _e('Countdown Timer is disabled.', 'cmp-coming-soon-maintenance');?></p>
|
70 |
</td>
|
71 |
|
72 |
-
<td id="counter-enabled">
|
73 |
|
74 |
<?php if ( $this->cmp_selectedTheme() == 'eclipse' ) :
|
75 |
// heading used in Eclipse theme ?>
|
76 |
<fieldset>
|
77 |
<label for="niteoCS_counter_heading"><?php _e('Counter Heading', 'cmp-coming-soon-maintenance');?>
|
78 |
-
<input type="text" name="niteoCS_counter_heading" value="<?php echo esc_attr( $niteoCS_counter_heading ); ?>" class="regular-text code"><br>
|
79 |
</label>
|
80 |
</fieldset>
|
81 |
<?php endif;?>
|
@@ -91,20 +86,16 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
|
|
91 |
|
92 |
<label for="niteoCS_countdown_action"><?php _e('Countdown action:', 'cmp-coming-soon-maintenance');?></label>
|
93 |
|
94 |
-
<select name="niteoCS_countdown_action">
|
95 |
|
96 |
<option value="no-action" <?php if ( $niteoCS_countdown_action == 'no-action' ) { echo ' selected="selected"'; } ?>><?php _e('No action', 'cmp-coming-soon-maintenance');?></option>
|
97 |
-
<option value="disable-cmp" <?php if ( $niteoCS_countdown_action == 'disable-cmp' ) { echo ' selected="selected"'; } ?>><?php _e('Disable CMP Plugin
|
98 |
<option value="redirect" <?php if ( $niteoCS_countdown_action == 'redirect' ) { echo ' selected="selected"'; } ?>><?php _e('URL redirect', 'cmp-coming-soon-maintenance');?></option>
|
99 |
|
100 |
</select>
|
101 |
|
102 |
-
<label for="
|
103 |
-
<input type="text" name="
|
104 |
-
</label>
|
105 |
-
|
106 |
-
<label for="niteoCS_countdown_redirect" id="niteoCS_countdown_redirect"><?php _e('Enter redirect URL', 'cmp-coming-soon-maintenance');?>
|
107 |
-
<input type="text" name="niteoCS_countdown_redirect" value="<?php echo esc_url( $niteoCS_countdown_redirect); ?>" class="regular-text code"><br>
|
108 |
</label>
|
109 |
|
110 |
</fieldset>
|
@@ -119,38 +110,6 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
|
|
119 |
|
120 |
<script>
|
121 |
jQuery(document).ready(function($){
|
122 |
-
|
123 |
-
// enable-disable counter
|
124 |
-
$('#csoptions input[name="niteoCS_counter"]').bind('change', function(){
|
125 |
-
if ( jQuery('#csoptions input[name="niteoCS_counter"]:checked' ).val() == 0 ) {
|
126 |
-
jQuery('#counter-disabled').css('display','block');
|
127 |
-
jQuery('#counter-enabled').css('display','none');
|
128 |
-
|
129 |
-
} else if ( jQuery('#csoptions input[name="niteoCS_counter"]:checked' ).val() == 1 ) {
|
130 |
-
jQuery('#counter-disabled').css('display','none');
|
131 |
-
jQuery('#counter-enabled').css('display','block');
|
132 |
-
}
|
133 |
-
});
|
134 |
-
|
135 |
-
|
136 |
-
// set countdown action
|
137 |
-
$('#csoptions select[name="niteoCS_countdown_action"]').bind('change', function(){
|
138 |
-
if ( jQuery('#csoptions select[name="niteoCS_countdown_action"]' ).val() == 'display-text' ) {
|
139 |
-
jQuery('#niteoCS_countdown_text').css('display','block');
|
140 |
-
jQuery('#niteoCS_countdown_redirect').css('display','none');
|
141 |
-
|
142 |
-
} else if ( jQuery('#csoptions select[name="niteoCS_countdown_action"]' ).val() == 'redirect' ) {
|
143 |
-
jQuery('#niteoCS_countdown_text').css('display','none');
|
144 |
-
jQuery('#niteoCS_countdown_redirect').css('display','block');
|
145 |
-
} else {
|
146 |
-
jQuery('#niteoCS_countdown_text').css('display','none');
|
147 |
-
jQuery('#niteoCS_countdown_redirect').css('display','none')
|
148 |
-
}
|
149 |
-
});
|
150 |
-
|
151 |
-
jQuery('#csoptions input[name="niteoCS_counter"]').trigger('change');
|
152 |
-
jQuery('#csoptions select[name="niteoCS_countdown_action"]').trigger('change');
|
153 |
-
|
154 |
<?php
|
155 |
if ( $niteoCS_counter_date != '') { ?>
|
156 |
var date = new Date(<?php echo esc_attr($niteoCS_counter_date);?>*1000);
|
13 |
update_option('niteoCS_countdown_action', sanitize_text_field($_POST['niteoCS_countdown_action']));
|
14 |
}
|
15 |
|
|
|
|
|
|
|
|
|
16 |
if (isset($_POST['niteoCS_countdown_redirect'])) {
|
17 |
update_option('niteoCS_countdown_redirect', esc_url_raw($_POST['niteoCS_countdown_redirect']));
|
18 |
}
|
29 |
$niteoCS_counter = get_option('niteoCS_counter', '1');
|
30 |
$niteoCS_counter_date = get_option('niteoCS_counter_date', time()+86400);
|
31 |
$niteoCS_countdown_action = get_option('niteoCS_countdown_action', 'no-action');
|
|
|
32 |
$niteoCS_countdown_redirect = get_option('niteoCS_countdown_redirect');
|
33 |
$niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, WE ARE LAUNCHING SOON...');
|
34 |
|
47 |
|
48 |
<p>
|
49 |
<label title="Enabled">
|
50 |
+
<input type="radio" name="niteoCS_counter" class="counter" value="1"<?php if ( $niteoCS_counter == 1) { echo ' checked="checked"'; } ?>> <?php _e('Enabled', 'cmp-coming-soon-maintenance');?>
|
51 |
</label>
|
52 |
</p>
|
53 |
|
54 |
<p>
|
55 |
<label title="Disabled">
|
56 |
+
<input type="radio" name="niteoCS_counter" class="counter" value="0"<?php if ( $niteoCS_counter == 0) { echo ' checked="checked"'; } ?>> <?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
|
57 |
</label>
|
58 |
</p>
|
59 |
|
60 |
</fieldset>
|
61 |
</th>
|
62 |
|
63 |
+
<td id="counter-disabled" class="counter-switch x0">
|
64 |
<p><?php _e('Countdown Timer is disabled.', 'cmp-coming-soon-maintenance');?></p>
|
65 |
</td>
|
66 |
|
67 |
+
<td id="counter-enabled" class="counter-switch x1">
|
68 |
|
69 |
<?php if ( $this->cmp_selectedTheme() == 'eclipse' ) :
|
70 |
// heading used in Eclipse theme ?>
|
71 |
<fieldset>
|
72 |
<label for="niteoCS_counter_heading"><?php _e('Counter Heading', 'cmp-coming-soon-maintenance');?>
|
73 |
+
<input type="text" id="niteoCS_counter_heading" name="niteoCS_counter_heading" value="<?php echo esc_attr( $niteoCS_counter_heading ); ?>" class="regular-text code"><br>
|
74 |
</label>
|
75 |
</fieldset>
|
76 |
<?php endif;?>
|
86 |
|
87 |
<label for="niteoCS_countdown_action"><?php _e('Countdown action:', 'cmp-coming-soon-maintenance');?></label>
|
88 |
|
89 |
+
<select name="niteoCS_countdown_action" id="niteoCS_countdown_action" class="counter-action">
|
90 |
|
91 |
<option value="no-action" <?php if ( $niteoCS_countdown_action == 'no-action' ) { echo ' selected="selected"'; } ?>><?php _e('No action', 'cmp-coming-soon-maintenance');?></option>
|
92 |
+
<option value="disable-cmp" <?php if ( $niteoCS_countdown_action == 'disable-cmp' ) { echo ' selected="selected"'; } ?>><?php _e('Disable CMP Plugin and Display my WordPress Theme', 'cmp-coming-soon-maintenance');?></option>
|
93 |
<option value="redirect" <?php if ( $niteoCS_countdown_action == 'redirect' ) { echo ' selected="selected"'; } ?>><?php _e('URL redirect', 'cmp-coming-soon-maintenance');?></option>
|
94 |
|
95 |
</select>
|
96 |
|
97 |
+
<label for="niteoCS_countdown_redirect" class="counter-action redirect" style="padding-top:1em"><?php _e('Enter redirect URL', 'cmp-coming-soon-maintenance');?>
|
98 |
+
<input type="text" id="niteoCS_countdown_redirect" name="niteoCS_countdown_redirect" value="<?php echo esc_url( $niteoCS_countdown_redirect); ?>" class="regular-text code"><br>
|
|
|
|
|
|
|
|
|
99 |
</label>
|
100 |
|
101 |
</fieldset>
|
110 |
|
111 |
<script>
|
112 |
jQuery(document).ready(function($){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
<?php
|
114 |
if ( $niteoCS_counter_date != '') { ?>
|
115 |
var date = new Date(<?php echo esc_attr($niteoCS_counter_date);?>*1000);
|
inc/settings/settings-subscribe.php
CHANGED
@@ -132,7 +132,7 @@ $mailchimp_lists = json_decode(get_option('niteoCS_mailchimp_lists', false),
|
|
132 |
|
133 |
<label for="niteoCS_mailchimp_list"><?php _e('Select MailChimp List to store emails.', 'cmp-coming-soon-maintenance');?>
|
134 |
|
135 |
-
<select name="niteoCS_mailchimp_list_selected" id="
|
136 |
<?php
|
137 |
if ( is_array( $mailchimp_lists ) ) {
|
138 |
|
132 |
|
133 |
<label for="niteoCS_mailchimp_list"><?php _e('Select MailChimp List to store emails.', 'cmp-coming-soon-maintenance');?>
|
134 |
|
135 |
+
<select name="niteoCS_mailchimp_list_selected" id="niteoCS_mailchimp_list">
|
136 |
<?php
|
137 |
if ( is_array( $mailchimp_lists ) ) {
|
138 |
|
js/settings.js
CHANGED
@@ -64,6 +64,9 @@ jQuery(document).ready(function($){
|
|
64 |
toggle_settings( 'special-effect' );
|
65 |
toggle_settings( 'cmp-logo' );
|
66 |
toggle_settings( 'background-type' );
|
|
|
|
|
|
|
67 |
toggle_select( 'subscribe-method' );
|
68 |
toggle_select( 'background-overlay' );
|
69 |
toggle_select( 'banner-video-source');
|
@@ -84,13 +87,13 @@ jQuery(document).ready(function($){
|
|
84 |
function cmp_status_inputs() {
|
85 |
|
86 |
// Make clickable status radio buttons
|
87 |
-
jQuery('.cmp-coming-soon-maintenance .cmp-status
|
88 |
if ( jQuery('.cmp-coming-soon-maintenance #cmp-status').prop('checked') == false ) {
|
89 |
return;
|
90 |
}
|
91 |
var $children = jQuery(this).children('input');
|
92 |
$children.prop("checked", true);
|
93 |
-
jQuery('.cmp-coming-soon-maintenance .cmp-status
|
94 |
jQuery(this).addClass('active');
|
95 |
|
96 |
$children.trigger('change');
|
@@ -956,13 +959,13 @@ jQuery(document).ready(function($){
|
|
956 |
|
957 |
if ( lists.response == 200 ) {
|
958 |
|
959 |
-
$('#
|
960 |
$.each(lists.lists, function(i,val) {
|
961 |
-
$('#
|
962 |
});
|
963 |
|
964 |
} else {
|
965 |
-
$('#
|
966 |
}
|
967 |
|
968 |
button.html('Retrieve Lists');
|
64 |
toggle_settings( 'special-effect' );
|
65 |
toggle_settings( 'cmp-logo' );
|
66 |
toggle_settings( 'background-type' );
|
67 |
+
toggle_settings( 'counter' );
|
68 |
+
|
69 |
+
toggle_select( 'counter-action' );
|
70 |
toggle_select( 'subscribe-method' );
|
71 |
toggle_select( 'background-overlay' );
|
72 |
toggle_select( 'banner-video-source');
|
87 |
function cmp_status_inputs() {
|
88 |
|
89 |
// Make clickable status radio buttons
|
90 |
+
jQuery('.cmp-coming-soon-maintenance .cmp-status.switch:not(.disabled)').click(function(){
|
91 |
if ( jQuery('.cmp-coming-soon-maintenance #cmp-status').prop('checked') == false ) {
|
92 |
return;
|
93 |
}
|
94 |
var $children = jQuery(this).children('input');
|
95 |
$children.prop("checked", true);
|
96 |
+
jQuery('.cmp-coming-soon-maintenance .cmp-status.switch').removeClass('active');
|
97 |
jQuery(this).addClass('active');
|
98 |
|
99 |
$children.trigger('change');
|
959 |
|
960 |
if ( lists.response == 200 ) {
|
961 |
|
962 |
+
$('#niteoCS_mailchimp_list').empty().prop('disabled', false);
|
963 |
$.each(lists.lists, function(i,val) {
|
964 |
+
$('#niteoCS_mailchimp_list').append('<option value="'+val.id+'">'+val.name+'</option>');
|
965 |
});
|
966 |
|
967 |
} else {
|
968 |
+
$('#niteoCS_mailchimp_list').empty().prop('disabled', true).html('<option value="error">'+lists.message+'</option>').trigger('change');
|
969 |
}
|
970 |
|
971 |
button.html('Retrieve Lists');
|
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");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"),p(".cmp-coming-soon-maintenance .background-overlay-opacity"),l("logo",!1,"image","img"),l("favicon",!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"),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}),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-coming-soon-maintenance .cmp-status legend: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 legend").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;">'+n.body+"</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 t=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val();function i(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-"+t).css("display","block"),jQuery('.unsplash_banner select[name^="unsplash_feed"]').on("change",function(){t=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val(),jQuery(".unsplash-feed").css("display","none"),jQuery(".unsplash-feed-"+t).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"),i(jQuery(".cmp-coming-soon-maintenance .background-overlay").val()),jQuery(".cmp-coming-soon-maintenance .background-overlay").on("change",function(){i(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 o,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=jQuery.isNumeric(n)?"x"+n: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){jQuery(e).on("input",function(){var e=jQuery(this).val();jQuery(this).parent().find("span").html(e)})}(o=jQuery).fn.toggleDisabled=function(){return this.each(function(){var e,n=o(this),a=n.data("name");n.attr("disabled")?(n.prop("disabled",!1),e="1"):(n.prop("disabled",!0),e="0"),r(a,"active",e)})},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),a=n.closest(".theme-wrapper"),t=a.data("slug"),i=a.data("version"),o=a.data("remote_url"),r=a.data("type"),c=a.data("purchased"),s=(a.data("freebie"),jQuery(".update-theme").data("security")),l=(a.data("price"),0),u={action:"niteo_themeinfo",security:jQuery(".theme-wrapper").data("security"),theme_slug:jQuery(this).parents(".theme-wrapper").data("slug")};e.post(ajaxurl,u,function(u){var m="",p="",d="",g="";if("true"==(u=jQuery.parseJSON(u)).result){if(jQuery("body").addClass("modal-open"),"1"==c&&(d='<span class="theme-version">Version: '+i+"</span>",g='<div class="notice notice-success notice-alt notice-large"><p>Theme is up to date.</p></div>',jQuery(".update-theme").length)){var y=jQuery(".update-theme").data("slug");if(t==y){var h=jQuery(".update-theme").data("new_ver");g='<div class="notice notice-warning notice-alt notice-large"><h3 class="notice-title">Update Available</h3><p class="message"><strong>There is a new version of '+u.name+' theme available. <a href="'+o+"readme/"+t+'-readme.php" class="view-release">View update '+h+' notes</a> or <a href="'+window.location.href+"&action=update-cmp-theme&theme="+t+'" class="update-theme" data-security="'+s+'" data-slug="'+t+'" data-remote_url="'+o+'">Update now.</a></strong></p><div class="release-note"></div></div>'}}if("1"!=c&&"premium"==r)m="disabled ",p='<button type="button" class="theme-purchase button hide"><a href="'+a.find("a").attr("href")+'" target="_blank"><i class="fa fa-cart-arrow-down" aria-hidden="true"></i>Get Theme</a></button>';var v=u.screenshots,j="";Object.keys(v).length>1&&(j='<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 Q=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(\''+v[0]+"')\">"+j+"</div>","\t\t\t</div>",'\t\t\t<div class="theme-info">','\t\t\t\t<h2 class="theme-name">'+u.name+d+"</h2>",'\t\t\t\t<p class="theme-author">By <a href="'+u.author_homepage+'" target="_blank">'+u.author+"</a></p>",g,p,'\t\t\t\t<div class="theme-description">'+u.description+"</div>","\t\t\t</div>","\t\t</div>",'\t\t<div class="theme-actions">','\t\t\t<button type="submit" '+m+'class="button activate" name="Submit" aria-label="Select '+u.name+'">Activate</button>','\t\t\t<a href="http://cmp.niteothemes.com/?cmp_preview=true&selector=true&theme='+t+"&utm_source=cmp&utm_medium=referral&utm_campaign="+t+'" class="button cmp-preview" target="_blank" aria-label="Preview '+u.name+'">Live Preview</a>',"\t\t</div>","\t</div>","</div>"].join("\n"));jQuery(".theme-overlay.cmp").append(Q),jQuery(".theme-overlay.cmp .view-release").click(function(e){e.preventDefault();var a=(n=jQuery(this)).attr("href");jQuery.get(a,function(e){n.closest(".notice").find(".release-note .notes").remove(),n.closest(".notice").find(".release-note").append('<div class="notes">'+e+"</div>")}).fail(function(){n.closest(".notice").find(".release-note p").remove(),n.closest(".notice").find(".release-note").append("<p>There was an error loading release notes. Please try again later.</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(".theme-overlay.cmp .activate").click(function(e){e.preventDefault(),jQuery('.cmp-coming-soon-maintenance input[name="niteoCS_select_theme"]').each(function(){jQuery(this).val()==t&&(jQuery(this).prop("checked",!0),jQuery(".theme-select").removeClass("selected"),jQuery(this).parent().addClass("selected"))}),jQuery(this).submit()}),jQuery(".screenshots-nav .right").click(function(){++l==Object.keys(v).length&&(l=0),l in v&&jQuery(".screenshot").css("background-image","url('"+v[l]+"')")}),jQuery(".screenshots-nav .left").click(function(){--l<0&&(l=Object.keys(v).length-1),l in v&&jQuery(".screenshot").css("background-image","url('"+v[l]+"')")})}})}),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("#mailchimp-lists-select").empty().prop("disabled",!1),e.each(a.lists,function(n,a){e("#mailchimp-lists-select").append('<option value="'+a.id+'">'+a.name+"</option>")})):e("#mailchimp-lists-select").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}),wp.codeEditor&&wp.codeEditor.initialize("niteoCS_custom_css")});
|
1 |
+
jQuery(document).ready(function(e){var n=document.location.hash.substring(1),a=jQuery("#csoptions").attr("action");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"),p(".cmp-coming-soon-maintenance .background-overlay-opacity"),l("logo",!1,"image","img"),l("favicon",!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"),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}),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-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;">'+n.body+"</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 t=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val();function i(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-"+t).css("display","block"),jQuery('.unsplash_banner select[name^="unsplash_feed"]').on("change",function(){t=jQuery('.unsplash_banner select[name^="unsplash_feed"] option:selected').val(),jQuery(".unsplash-feed").css("display","none"),jQuery(".unsplash-feed-"+t).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"),i(jQuery(".cmp-coming-soon-maintenance .background-overlay").val()),jQuery(".cmp-coming-soon-maintenance .background-overlay").on("change",function(){i(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 o,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=jQuery.isNumeric(n)?"x"+n: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){jQuery(e).on("input",function(){var e=jQuery(this).val();jQuery(this).parent().find("span").html(e)})}(o=jQuery).fn.toggleDisabled=function(){return this.each(function(){var e,n=o(this),a=n.data("name");n.attr("disabled")?(n.prop("disabled",!1),e="1"):(n.prop("disabled",!0),e="0"),r(a,"active",e)})},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),a=n.closest(".theme-wrapper"),t=a.data("slug"),i=a.data("version"),o=a.data("remote_url"),r=a.data("type"),c=a.data("purchased"),s=(a.data("freebie"),jQuery(".update-theme").data("security")),l=(a.data("price"),0),u={action:"niteo_themeinfo",security:jQuery(".theme-wrapper").data("security"),theme_slug:jQuery(this).parents(".theme-wrapper").data("slug")};e.post(ajaxurl,u,function(u){var m="",p="",d="",g="";if("true"==(u=jQuery.parseJSON(u)).result){if(jQuery("body").addClass("modal-open"),"1"==c&&(d='<span class="theme-version">Version: '+i+"</span>",g='<div class="notice notice-success notice-alt notice-large"><p>Theme is up to date.</p></div>',jQuery(".update-theme").length)){var y=jQuery(".update-theme").data("slug");if(t==y){var h=jQuery(".update-theme").data("new_ver");g='<div class="notice notice-warning notice-alt notice-large"><h3 class="notice-title">Update Available</h3><p class="message"><strong>There is a new version of '+u.name+' theme available. <a href="'+o+"readme/"+t+'-readme.php" class="view-release">View update '+h+' notes</a> or <a href="'+window.location.href+"&action=update-cmp-theme&theme="+t+'" class="update-theme" data-security="'+s+'" data-slug="'+t+'" data-remote_url="'+o+'">Update now.</a></strong></p><div class="release-note"></div></div>'}}if("1"!=c&&"premium"==r)m="disabled ",p='<button type="button" class="theme-purchase button hide"><a href="'+a.find("a").attr("href")+'" target="_blank"><i class="fa fa-cart-arrow-down" aria-hidden="true"></i>Get Theme</a></button>';var v=u.screenshots,j="";Object.keys(v).length>1&&(j='<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 Q=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(\''+v[0]+"')\">"+j+"</div>","\t\t\t</div>",'\t\t\t<div class="theme-info">','\t\t\t\t<h2 class="theme-name">'+u.name+d+"</h2>",'\t\t\t\t<p class="theme-author">By <a href="'+u.author_homepage+'" target="_blank">'+u.author+"</a></p>",g,p,'\t\t\t\t<div class="theme-description">'+u.description+"</div>","\t\t\t</div>","\t\t</div>",'\t\t<div class="theme-actions">','\t\t\t<button type="submit" '+m+'class="button activate" name="Submit" aria-label="Select '+u.name+'">Activate</button>','\t\t\t<a href="http://cmp.niteothemes.com/?cmp_preview=true&selector=true&theme='+t+"&utm_source=cmp&utm_medium=referral&utm_campaign="+t+'" class="button cmp-preview" target="_blank" aria-label="Preview '+u.name+'">Live Preview</a>',"\t\t</div>","\t</div>","</div>"].join("\n"));jQuery(".theme-overlay.cmp").append(Q),jQuery(".theme-overlay.cmp .view-release").click(function(e){e.preventDefault();var a=(n=jQuery(this)).attr("href");jQuery.get(a,function(e){n.closest(".notice").find(".release-note .notes").remove(),n.closest(".notice").find(".release-note").append('<div class="notes">'+e+"</div>")}).fail(function(){n.closest(".notice").find(".release-note p").remove(),n.closest(".notice").find(".release-note").append("<p>There was an error loading release notes. Please try again later.</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(".theme-overlay.cmp .activate").click(function(e){e.preventDefault(),jQuery('.cmp-coming-soon-maintenance input[name="niteoCS_select_theme"]').each(function(){jQuery(this).val()==t&&(jQuery(this).prop("checked",!0),jQuery(".theme-select").removeClass("selected"),jQuery(this).parent().addClass("selected"))}),jQuery(this).submit()}),jQuery(".screenshots-nav .right").click(function(){++l==Object.keys(v).length&&(l=0),l in v&&jQuery(".screenshot").css("background-image","url('"+v[l]+"')")}),jQuery(".screenshots-nav .left").click(function(){--l<0&&(l=Object.keys(v).length-1),l in v&&jQuery(".screenshot").css("background-image","url('"+v[l]+"')")})}})}),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}),wp.codeEditor&&wp.codeEditor.initialize("niteoCS_custom_css")});
|
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: 2.8.9
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
@@ -66,7 +66,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
66 |
private function constants() {
|
67 |
|
68 |
// define constants
|
69 |
-
$this->define( 'CMP_VERSION', '2.8.9' );
|
70 |
$this->define( 'CMP_DEBUG', FALSE );
|
71 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
72 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
@@ -560,7 +560,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
560 |
|
561 |
// check selected theme
|
562 |
public function cmp_selectedTheme() {
|
563 |
-
return get_option('niteoCS_theme', '
|
564 |
}
|
565 |
|
566 |
|
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: 2.8.9.1
|
7 |
Author: NiteoThemes
|
8 |
Author URI: https://www.niteothemes.com
|
9 |
Text Domain: cmp-coming-soon-maintenance
|
66 |
private function constants() {
|
67 |
|
68 |
// define constants
|
69 |
+
$this->define( 'CMP_VERSION', '2.8.9.1' );
|
70 |
$this->define( 'CMP_DEBUG', FALSE );
|
71 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
72 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
560 |
|
561 |
// check selected theme
|
562 |
public function cmp_selectedTheme() {
|
563 |
+
return get_option('niteoCS_theme', 'countdown');
|
564 |
}
|
565 |
|
566 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KV2JF
|
|
4 |
Tags: coming soon, landing page, launch page, maintenance mode, under construction
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.8.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -23,22 +23,22 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
|
|
23 |
|
24 |
<h3>Features</h3>
|
25 |
<ul>
|
26 |
-
<li>You can choose from
|
27 |
<li>Our Plugin works with any WordPress Theme and on all desktop or mobile devices (yes it is 100% responsive).</li>
|
28 |
<li>Some of CMP themes supports custom Subscribe Form to store emails in your database or you can use your MailChimp account via MailChimp API integration.</li>
|
29 |
<li>Fullscreen background media supports Video (YouTube, custom file video), Images or Image Slider (Unsplash library, custom images), Patterns, Color Gradients or Solid Colors.</li>
|
30 |
<li>You can search from more than million of free beautiful professional photos from most popular <a href="http://unsplash.com" target="_blank">Unsplash source</a> with built-in search API (random images, search by keyword, category, etc).</li>
|
31 |
<li>You can set custom Logo, choose from 100 most popular Google fonts and customize Font Weight, Letter Spacing and Line Height.</li>
|
32 |
<li>Display beautiful icons for any Social network on your website.</li>
|
33 |
-
<li>
|
34 |
-
<li>Landing page can be
|
35 |
-
<li>Customizable WordPress roles to bypass CMP.</li>
|
36 |
-
<li>You can generate bypass URL parameter to bypass CMP page for your customers.</li>
|
37 |
<li>Configurable Countdown Action - disable plugin or redirect to another website.</li>
|
38 |
<li>Customize SEO meta tags to search engines and editable favicon.</li>
|
39 |
<li>Set response code to search engines (200 OK, 503 Maintenance).</li>
|
40 |
-
<li>Redirect Mode to redirect your website to another website
|
41 |
-
<li>Insert Google Analytics Code or any
|
42 |
<li>Insert any custom CSS code.</li>
|
43 |
<li>Plugin is fully translatable.</li>
|
44 |
</ul>
|
4 |
Tags: coming soon, landing page, launch page, maintenance mode, under construction
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.8.9.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
23 |
|
24 |
<h3>Features</h3>
|
25 |
<ul>
|
26 |
+
<li>You can choose from 3 bundled Themes (many more downloadable - freebies and premium) with completely different design. We try to develop new CPM Theme every month for you!</li>
|
27 |
<li>Our Plugin works with any WordPress Theme and on all desktop or mobile devices (yes it is 100% responsive).</li>
|
28 |
<li>Some of CMP themes supports custom Subscribe Form to store emails in your database or you can use your MailChimp account via MailChimp API integration.</li>
|
29 |
<li>Fullscreen background media supports Video (YouTube, custom file video), Images or Image Slider (Unsplash library, custom images), Patterns, Color Gradients or Solid Colors.</li>
|
30 |
<li>You can search from more than million of free beautiful professional photos from most popular <a href="http://unsplash.com" target="_blank">Unsplash source</a> with built-in search API (random images, search by keyword, category, etc).</li>
|
31 |
<li>You can set custom Logo, choose from 100 most popular Google fonts and customize Font Weight, Letter Spacing and Line Height.</li>
|
32 |
<li>Display beautiful icons for any Social network on your website.</li>
|
33 |
+
<li>Background 3D effects on selected Themes.</li>
|
34 |
+
<li>CMP Landing page can be enabled on specific pages only (Blacklist and Whitelist) if required.</li>
|
35 |
+
<li>Customizable WordPress roles to bypass CMP and display your full website.</li>
|
36 |
+
<li>You can generate bypass URL parameter to bypass CMP page for your customers for website preview.</li>
|
37 |
<li>Configurable Countdown Action - disable plugin or redirect to another website.</li>
|
38 |
<li>Customize SEO meta tags to search engines and editable favicon.</li>
|
39 |
<li>Set response code to search engines (200 OK, 503 Maintenance).</li>
|
40 |
+
<li>Redirect Mode to redirect your website to another website.</li>
|
41 |
+
<li>Insert Google Analytics Code or any 3rd party tracking code.</li>
|
42 |
<li>Insert any custom CSS code.</li>
|
43 |
<li>Plugin is fully translatable.</li>
|
44 |
</ul>
|
themes/coder.txt
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
Theme Name: Coder
|
3 |
-
Description: <p>Hardwork is our default theme for CMP plugin. By default it is set to modern white screen with only one heading to display clear message: "This website is under construction, please come back later".</p><p>Set a fullscreen custom image or use any from thousands Unsplash Library media, set social icons, add custom texts with overlay color and you have beautiful colorful landing page both for Under construction or Coming soon page.</p><h4>Supported Features</h4><ul><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Logo</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Fade in/out Text Effects</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Content</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Graphic Background including videos</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Graphic Image Slider Background</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Countdown Timer</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Subscribe Form</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Social Media</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Colors</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Fonts</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Footer Content</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Responsive Design</li></ul>
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
themes/construct/construct-defaults.php
CHANGED
@@ -46,7 +46,7 @@ $content_font = array(
|
|
46 |
'variant' => get_option('niteoCS_font_content_variant['.$themeslug.']', 'regular'),
|
47 |
'size' => get_option('niteoCS_font_content_size['.$themeslug.']', '17'),
|
48 |
'spacing' => get_option('niteoCS_font_content_spacing['.$themeslug.']', '0'),
|
49 |
-
'line-height' => get_option('niteoCS_font_content_lineheight['.$themeslug.']', '1.
|
50 |
);
|
51 |
|
52 |
$heading_font['variant'] = ($heading_font['variant'] =='regular') ? '400' : $heading_font['variant'];
|
46 |
'variant' => get_option('niteoCS_font_content_variant['.$themeslug.']', 'regular'),
|
47 |
'size' => get_option('niteoCS_font_content_size['.$themeslug.']', '17'),
|
48 |
'spacing' => get_option('niteoCS_font_content_spacing['.$themeslug.']', '0'),
|
49 |
+
'line-height' => get_option('niteoCS_font_content_lineheight['.$themeslug.']', '1.6'),
|
50 |
);
|
51 |
|
52 |
$heading_font['variant'] = ($heading_font['variant'] =='regular') ? '400' : $heading_font['variant'];
|
themes/countdown/countdown-defaults.php
CHANGED
@@ -28,26 +28,26 @@ if (isset($_POST['niteoCS_social_location']) && $_POST['niteoCS_social_location'
|
|
28 |
|
29 |
|
30 |
// get theme defaults
|
31 |
-
$banner_type = get_option('niteoCS_banner['.$themeslug.']', '
|
32 |
-
|
33 |
-
$active_color = get_option('niteoCS_active_color['.$themeslug.']', '#
|
34 |
$font_color = get_option('niteoCS_font_color['.$themeslug.']', '#ffffff');
|
35 |
|
36 |
$social_location = get_option('niteoCS_social_location', 'footer');
|
37 |
|
38 |
$heading_font = array(
|
39 |
-
'family' => get_option('niteoCS_font_headings['.$themeslug.']', '
|
40 |
'variant' => get_option('niteoCS_font_headings_variant['.$themeslug.']', '700'),
|
41 |
'size' => get_option('niteoCS_font_headings_size['.$themeslug.']', '40'),
|
42 |
'spacing' => get_option('niteoCS_font_headings_spacing['.$themeslug.']', '0'),
|
43 |
);
|
44 |
|
45 |
$content_font = array(
|
46 |
-
'family' => get_option('niteoCS_font_content['.$themeslug.']', '
|
47 |
'variant' => get_option('niteoCS_font_content_variant['.$themeslug.']', 'regular'),
|
48 |
'size' => get_option('niteoCS_font_content_size['.$themeslug.']', '17'),
|
49 |
'spacing' => get_option('niteoCS_font_content_spacing['.$themeslug.']', '0'),
|
50 |
-
'line-height' => get_option('niteoCS_font_content_lineheight['.$themeslug.']', '1.
|
51 |
);
|
52 |
|
53 |
|
28 |
|
29 |
|
30 |
// get theme defaults
|
31 |
+
$banner_type = get_option('niteoCS_banner['.$themeslug.']', '6');
|
32 |
+
$niteoCS_gradient = get_option('niteoCS_gradient['.$themeslug.']', '#1A2980:#26D0CE');
|
33 |
+
$active_color = get_option('niteoCS_active_color['.$themeslug.']', '#e82e1e');
|
34 |
$font_color = get_option('niteoCS_font_color['.$themeslug.']', '#ffffff');
|
35 |
|
36 |
$social_location = get_option('niteoCS_social_location', 'footer');
|
37 |
|
38 |
$heading_font = array(
|
39 |
+
'family' => get_option('niteoCS_font_headings['.$themeslug.']', 'Source Sans Pro'),
|
40 |
'variant' => get_option('niteoCS_font_headings_variant['.$themeslug.']', '700'),
|
41 |
'size' => get_option('niteoCS_font_headings_size['.$themeslug.']', '40'),
|
42 |
'spacing' => get_option('niteoCS_font_headings_spacing['.$themeslug.']', '0'),
|
43 |
);
|
44 |
|
45 |
$content_font = array(
|
46 |
+
'family' => get_option('niteoCS_font_content['.$themeslug.']', 'Maven Pro'),
|
47 |
'variant' => get_option('niteoCS_font_content_variant['.$themeslug.']', 'regular'),
|
48 |
'size' => get_option('niteoCS_font_content_size['.$themeslug.']', '17'),
|
49 |
'spacing' => get_option('niteoCS_font_content_spacing['.$themeslug.']', '0'),
|
50 |
+
'line-height' => get_option('niteoCS_font_content_lineheight['.$themeslug.']', '1.6'),
|
51 |
);
|
52 |
|
53 |
|
themes/countdown/style.css
CHANGED
@@ -64,8 +64,7 @@ template {
|
|
64 |
|
65 |
a {
|
66 |
background-color: transparent;
|
67 |
-
text-decoration: none
|
68 |
-
-webkit-transition: color .3s ease-in-out;
|
69 |
transition: color .3s ease-in-out;
|
70 |
|
71 |
}
|
@@ -125,8 +124,7 @@ figure {
|
|
125 |
}
|
126 |
|
127 |
hr {
|
128 |
-
|
129 |
-
box-sizing: content-box;
|
130 |
height: 0;
|
131 |
}
|
132 |
|
@@ -204,8 +202,7 @@ input {
|
|
204 |
|
205 |
input[type="checkbox"],
|
206 |
input[type="radio"] {
|
207 |
-
|
208 |
-
box-sizing: border-box;
|
209 |
padding: 0;
|
210 |
}
|
211 |
|
@@ -216,8 +213,7 @@ input[type="number"]::-webkit-outer-spin-button {
|
|
216 |
|
217 |
input[type="search"] {
|
218 |
-webkit-appearance: textfield;
|
219 |
-
|
220 |
-
box-sizing: content-box;
|
221 |
}
|
222 |
|
223 |
input[type="search"]::-webkit-search-cancel-button,
|
@@ -226,7 +222,6 @@ input[type="search"]::-webkit-search-decoration {
|
|
226 |
}
|
227 |
|
228 |
fieldset {
|
229 |
-
border: 1px solid #c0c0c0;
|
230 |
margin: 0 2px;
|
231 |
padding: 0.35em 0.625em 0.75em;
|
232 |
}
|
@@ -271,15 +266,10 @@ h1,h2,h3,h4,h5,h6 {
|
|
271 |
position: relative;
|
272 |
display: -moz-flex;
|
273 |
display: -o-flex;
|
274 |
-
display: -webkit-box;
|
275 |
-
display: -ms-flexbox;
|
276 |
display: flex;
|
277 |
min-height: 100vh;
|
278 |
padding: 0 1em;
|
279 |
-moz-flex-direction: column;
|
280 |
-
-webkit-box-orient: vertical;
|
281 |
-
-webkit-box-direction: normal;
|
282 |
-
-ms-flex-direction: column;
|
283 |
flex-direction: column;
|
284 |
text-align: center;
|
285 |
}
|
@@ -287,7 +277,6 @@ h1,h2,h3,h4,h5,h6 {
|
|
287 |
|
288 |
#background-image {
|
289 |
opacity: 0;
|
290 |
-
-webkit-transition: opacity .5s;
|
291 |
transition: opacity .5s;
|
292 |
}
|
293 |
|
@@ -298,7 +287,6 @@ h1,h2,h3,h4,h5,h6 {
|
|
298 |
|
299 |
.video-banner iframe,
|
300 |
.video-banner video {
|
301 |
-
-webkit-transition: opacity 1500ms;
|
302 |
transition: opacity 1500ms;
|
303 |
}
|
304 |
|
@@ -337,30 +325,20 @@ h1,h2,h3,h4,h5,h6 {
|
|
337 |
footer {
|
338 |
display: -moz-flex;
|
339 |
display: -o-flex;
|
340 |
-
display: -webkit-box;
|
341 |
-
display: -ms-flexbox;
|
342 |
display: flex;
|
343 |
max-width: 768px;
|
344 |
width: 768px;
|
345 |
margin: 0 auto;
|
346 |
padding: 0;
|
347 |
-moz-flex-direction: column;
|
348 |
-
-webkit-box-orient: vertical;
|
349 |
-
-webkit-box-direction: normal;
|
350 |
-
-ms-flex-direction: column;
|
351 |
flex-direction: column;
|
352 |
-
-
|
353 |
-
|
354 |
-
flex-grow: 1;
|
355 |
-
-ms-flex-negative: 0;
|
356 |
-
flex-shrink: 0;
|
357 |
-webkit-flex-grow: 1;
|
358 |
-webkit-flex-shrink: 0;
|
359 |
-moz-flex-grow: 1;
|
360 |
-moz-flex-shrink: 0;
|
361 |
-
-
|
362 |
-
-ms-flex-pack: center;
|
363 |
-
justify-content: center;
|
364 |
-moz-justify-content: center;
|
365 |
-webkit-justify-content: center;
|
366 |
text-align: center;
|
@@ -374,19 +352,10 @@ footer {
|
|
374 |
|
375 |
|
376 |
footer {
|
377 |
-
-
|
378 |
-
-ms-flex-pack: end;
|
379 |
-
justify-content: flex-end;
|
380 |
-
display: -webkit-box;
|
381 |
-
display: -ms-flexbox;
|
382 |
display: flex;
|
383 |
-
-
|
384 |
-
-
|
385 |
-
-ms-flex-direction: column;
|
386 |
-
flex-direction: column;
|
387 |
-
-webkit-box-flex: 0;
|
388 |
-
-ms-flex-positive: 0;
|
389 |
-
flex-grow: 0;
|
390 |
-webkit-flex-grow: 0;
|
391 |
}
|
392 |
|
@@ -400,7 +369,7 @@ footer {
|
|
400 |
}
|
401 |
|
402 |
.social-wrapper.body {
|
403 |
-
margin-top: -3em
|
404 |
margin-bottom: 3em;
|
405 |
}
|
406 |
|
@@ -425,17 +394,16 @@ footer {
|
|
425 |
width: 2em;
|
426 |
line-height: 2em;
|
427 |
background: transparent;
|
428 |
-
-webkit-transition: background 300ms linear;
|
429 |
transition: background 300ms linear;
|
430 |
-
}
|
|
|
|
|
431 |
.social-list i{
|
432 |
-
-webkit-transition: all 300ms linear;
|
433 |
transition: all 300ms linear;
|
434 |
}
|
435 |
|
436 |
.body .social-list i{
|
437 |
font-size: 2em;
|
438 |
-
-webkit-transition: all 300ms linear;
|
439 |
transition: all 300ms linear;
|
440 |
}
|
441 |
|
@@ -446,11 +414,6 @@ footer {
|
|
446 |
.social-list.body i {
|
447 |
color: #ffffff;
|
448 |
}
|
449 |
-
/* .social-list a:hover i {
|
450 |
-
-webkit-animation: spin 300ms linear;
|
451 |
-
-moz-animation: spin 300ms linear;
|
452 |
-
animation: spin 300ms linear;
|
453 |
-
} */
|
454 |
|
455 |
.social-list.footer {
|
456 |
padding-bottom: 5px;
|
@@ -477,19 +440,12 @@ footer {
|
|
477 |
}
|
478 |
|
479 |
.cmp-subscribe {
|
480 |
-
display: -webkit-box;
|
481 |
-
display: -ms-flexbox;
|
482 |
display: flex;
|
483 |
-
-
|
484 |
-
-webkit-box-direction: normal;
|
485 |
-
-ms-flex-direction: column;
|
486 |
-
flex-direction: column;
|
487 |
}
|
488 |
|
489 |
.cmp-form-inputs {
|
490 |
-
|
491 |
-
-ms-flex-order: 1;
|
492 |
-
order: 1;
|
493 |
}
|
494 |
|
495 |
.copyright {
|
@@ -511,8 +467,7 @@ input {
|
|
511 |
display: inline-block;
|
512 |
line-height: 3em;
|
513 |
height: 3em;
|
514 |
-
|
515 |
-
box-sizing: border-box;
|
516 |
vertical-align: middle;
|
517 |
margin-bottom: 10px;
|
518 |
}
|
@@ -545,16 +500,14 @@ input[type="email"].subscribe-input {
|
|
545 |
padding-left: 5px;
|
546 |
}
|
547 |
|
548 |
-
|
549 |
-
border: 1px solid #ffffff;
|
550 |
-
}
|
551 |
input[type="email"],
|
552 |
input[type="text"] {
|
553 |
width: 100%;
|
554 |
background-color: rgba(0, 0, 0, 0.5);
|
555 |
text-indent: 15px;
|
556 |
font-style: italic;
|
557 |
-
border:
|
558 |
border-radius: 5px;
|
559 |
}
|
560 |
|
@@ -572,7 +525,7 @@ input[type="submit"] {
|
|
572 |
border-radius: 5px;
|
573 |
color: white;
|
574 |
font-weight:700;
|
575 |
-
border:
|
576 |
border-left: none;
|
577 |
letter-spacing: 1px;
|
578 |
cursor:pointer;
|
@@ -603,7 +556,6 @@ div.wpcf7-response-output { border:none;margin: 0; padding: 0;}
|
|
603 |
display: inline-block;
|
604 |
width: calc(25% - 22px);
|
605 |
background-color: rgba(0, 0, 0, 0.5);
|
606 |
-
border: 1px solid rgba(255,255,255,0.3);
|
607 |
border-radius: 5px;
|
608 |
}
|
609 |
|
64 |
|
65 |
a {
|
66 |
background-color: transparent;
|
67 |
+
/*text-decoration: none;*/
|
|
|
68 |
transition: color .3s ease-in-out;
|
69 |
|
70 |
}
|
124 |
}
|
125 |
|
126 |
hr {
|
127 |
+
box-sizing: content-box;
|
|
|
128 |
height: 0;
|
129 |
}
|
130 |
|
202 |
|
203 |
input[type="checkbox"],
|
204 |
input[type="radio"] {
|
205 |
+
box-sizing: border-box;
|
|
|
206 |
padding: 0;
|
207 |
}
|
208 |
|
213 |
|
214 |
input[type="search"] {
|
215 |
-webkit-appearance: textfield;
|
216 |
+
box-sizing: content-box;
|
|
|
217 |
}
|
218 |
|
219 |
input[type="search"]::-webkit-search-cancel-button,
|
222 |
}
|
223 |
|
224 |
fieldset {
|
|
|
225 |
margin: 0 2px;
|
226 |
padding: 0.35em 0.625em 0.75em;
|
227 |
}
|
266 |
position: relative;
|
267 |
display: -moz-flex;
|
268 |
display: -o-flex;
|
|
|
|
|
269 |
display: flex;
|
270 |
min-height: 100vh;
|
271 |
padding: 0 1em;
|
272 |
-moz-flex-direction: column;
|
|
|
|
|
|
|
273 |
flex-direction: column;
|
274 |
text-align: center;
|
275 |
}
|
277 |
|
278 |
#background-image {
|
279 |
opacity: 0;
|
|
|
280 |
transition: opacity .5s;
|
281 |
}
|
282 |
|
287 |
|
288 |
.video-banner iframe,
|
289 |
.video-banner video {
|
|
|
290 |
transition: opacity 1500ms;
|
291 |
}
|
292 |
|
325 |
footer {
|
326 |
display: -moz-flex;
|
327 |
display: -o-flex;
|
|
|
|
|
328 |
display: flex;
|
329 |
max-width: 768px;
|
330 |
width: 768px;
|
331 |
margin: 0 auto;
|
332 |
padding: 0;
|
333 |
-moz-flex-direction: column;
|
|
|
|
|
|
|
334 |
flex-direction: column;
|
335 |
+
flex-grow: 1;
|
336 |
+
flex-shrink: 0;
|
|
|
|
|
|
|
337 |
-webkit-flex-grow: 1;
|
338 |
-webkit-flex-shrink: 0;
|
339 |
-moz-flex-grow: 1;
|
340 |
-moz-flex-shrink: 0;
|
341 |
+
justify-content: center;
|
|
|
|
|
342 |
-moz-justify-content: center;
|
343 |
-webkit-justify-content: center;
|
344 |
text-align: center;
|
352 |
|
353 |
|
354 |
footer {
|
355 |
+
justify-content: flex-end;
|
|
|
|
|
|
|
|
|
356 |
display: flex;
|
357 |
+
flex-direction: column;
|
358 |
+
flex-grow: 0;
|
|
|
|
|
|
|
|
|
|
|
359 |
-webkit-flex-grow: 0;
|
360 |
}
|
361 |
|
369 |
}
|
370 |
|
371 |
.social-wrapper.body {
|
372 |
+
/*margin-top: -3em;*/
|
373 |
margin-bottom: 3em;
|
374 |
}
|
375 |
|
394 |
width: 2em;
|
395 |
line-height: 2em;
|
396 |
background: transparent;
|
|
|
397 |
transition: background 300ms linear;
|
398 |
+
}
|
399 |
+
|
400 |
+
.social-list a:hover i {-webkit-animation: spin 300ms linear;animation: spin 300ms linear;color:#fff;}
|
401 |
.social-list i{
|
|
|
402 |
transition: all 300ms linear;
|
403 |
}
|
404 |
|
405 |
.body .social-list i{
|
406 |
font-size: 2em;
|
|
|
407 |
transition: all 300ms linear;
|
408 |
}
|
409 |
|
414 |
.social-list.body i {
|
415 |
color: #ffffff;
|
416 |
}
|
|
|
|
|
|
|
|
|
|
|
417 |
|
418 |
.social-list.footer {
|
419 |
padding-bottom: 5px;
|
440 |
}
|
441 |
|
442 |
.cmp-subscribe {
|
|
|
|
|
443 |
display: flex;
|
444 |
+
flex-direction: column;
|
|
|
|
|
|
|
445 |
}
|
446 |
|
447 |
.cmp-form-inputs {
|
448 |
+
order: 1;
|
|
|
|
|
449 |
}
|
450 |
|
451 |
.copyright {
|
467 |
display: inline-block;
|
468 |
line-height: 3em;
|
469 |
height: 3em;
|
470 |
+
box-sizing: border-box;
|
|
|
471 |
vertical-align: middle;
|
472 |
margin-bottom: 10px;
|
473 |
}
|
500 |
padding-left: 5px;
|
501 |
}
|
502 |
|
503 |
+
|
|
|
|
|
504 |
input[type="email"],
|
505 |
input[type="text"] {
|
506 |
width: 100%;
|
507 |
background-color: rgba(0, 0, 0, 0.5);
|
508 |
text-indent: 15px;
|
509 |
font-style: italic;
|
510 |
+
border: none;
|
511 |
border-radius: 5px;
|
512 |
}
|
513 |
|
525 |
border-radius: 5px;
|
526 |
color: white;
|
527 |
font-weight:700;
|
528 |
+
border: none;
|
529 |
border-left: none;
|
530 |
letter-spacing: 1px;
|
531 |
cursor:pointer;
|
556 |
display: inline-block;
|
557 |
width: calc(25% - 22px);
|
558 |
background-color: rgba(0, 0, 0, 0.5);
|
|
|
559 |
border-radius: 5px;
|
560 |
}
|
561 |
|
themes/eclipse.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
/*
|
2 |
-
Theme Name:
|
3 |
-
Description: <p>
|
1 |
/*
|
2 |
+
Theme Name: Eclipse
|
3 |
+
Description: <p>Eclipse is freebie theme with scrolling content. Big hero image or video is displayed first and if you scroll down, content will appear after smooth hero animation. Eclipse supports Counter, extended footer with your details and subscribe form.</p><h4>Main Features</h4><ul><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Logo</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Fade in/out Text Effects</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Content</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Graphic Background including videos</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Graphic Image Slider Background</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Countdown Timer</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Subscribe Form</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Social Media</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Colors</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Fonts</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Footer Content</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Background Blur Effect</li><li class="not-supported"><i class="fa fa-times" aria-hidden="true"></i> Background Special Effects</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Responsive Design</li></ul>
|
themes/hardwork/hardwork-defaults.php
CHANGED
@@ -1,28 +1,30 @@
|
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
3 |
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
update_option('niteoCS_font_color['.$themeslug.']', sanitize_hex_color($_POST['niteoCS_font_color_'.$themeslug]));
|
6 |
}
|
7 |
|
8 |
-
if ( isset($_POST['niteoCS_footer_background_'.$themeslug]) ) {
|
9 |
update_option('niteoCS_footer_background['.$themeslug.']', sanitize_hex_color( $_POST['niteoCS_footer_background_'.$themeslug]) );
|
10 |
}
|
11 |
|
12 |
|
13 |
-
if ( isset($_POST['niteoCS_footer_background_opacity_'.$themeslug]) ) {
|
14 |
update_option('niteoCS_footer_background_opacity['.$themeslug.']', sanitize_text_field( $_POST['niteoCS_footer_background_opacity_'.$themeslug]) );
|
15 |
}
|
16 |
|
17 |
-
$theme_supports = array(
|
18 |
-
'logo' => true,
|
19 |
-
'slider' => false,
|
20 |
-
'counter' => false,
|
21 |
-
'subscribe' => false,
|
22 |
-
'social' => true,
|
23 |
-
'footer' => false,
|
24 |
-
'special_effects' => false,
|
25 |
-
);
|
26 |
|
27 |
$banner_type = get_option('niteoCS_banner['.$themeslug.']', '4');
|
28 |
|
@@ -44,7 +46,7 @@ $content_font = array(
|
|
44 |
'variant' => get_option('niteoCS_font_content_variant['.$themeslug.']', 'regular'),
|
45 |
'size' => get_option('niteoCS_font_content_size['.$themeslug.']', '17'),
|
46 |
'spacing' => get_option('niteoCS_font_content_spacing['.$themeslug.']', '0'),
|
47 |
-
'line-height' => get_option('niteoCS_font_content_lineheight['.$themeslug.']', '1.
|
48 |
);
|
49 |
|
50 |
$heading_font['variant'] = ($heading_font['variant'] =='regular') ? '400' : $heading_font['variant'];
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
3 |
|
4 |
+
$theme_supports = array(
|
5 |
+
'logo' => true,
|
6 |
+
'slider' => false,
|
7 |
+
'counter' => false,
|
8 |
+
'subscribe' => false,
|
9 |
+
'social' => true,
|
10 |
+
'footer' => false,
|
11 |
+
'special_effects' => false,
|
12 |
+
);
|
13 |
+
|
14 |
+
|
15 |
+
if ( isset( $_POST['niteoCS_font_color_'.$themeslug] ) ) {
|
16 |
update_option('niteoCS_font_color['.$themeslug.']', sanitize_hex_color($_POST['niteoCS_font_color_'.$themeslug]));
|
17 |
}
|
18 |
|
19 |
+
if ( isset( $_POST['niteoCS_footer_background_'.$themeslug] ) ) {
|
20 |
update_option('niteoCS_footer_background['.$themeslug.']', sanitize_hex_color( $_POST['niteoCS_footer_background_'.$themeslug]) );
|
21 |
}
|
22 |
|
23 |
|
24 |
+
if ( isset( $_POST['niteoCS_footer_background_opacity_'.$themeslug] ) ) {
|
25 |
update_option('niteoCS_footer_background_opacity['.$themeslug.']', sanitize_text_field( $_POST['niteoCS_footer_background_opacity_'.$themeslug]) );
|
26 |
}
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
$banner_type = get_option('niteoCS_banner['.$themeslug.']', '4');
|
30 |
|
46 |
'variant' => get_option('niteoCS_font_content_variant['.$themeslug.']', 'regular'),
|
47 |
'size' => get_option('niteoCS_font_content_size['.$themeslug.']', '17'),
|
48 |
'spacing' => get_option('niteoCS_font_content_spacing['.$themeslug.']', '0'),
|
49 |
+
'line-height' => get_option('niteoCS_font_content_lineheight['.$themeslug.']', '1.6'),
|
50 |
);
|
51 |
|
52 |
$heading_font['variant'] = ($heading_font['variant'] =='regular') ? '400' : $heading_font['variant'];
|
themes/hardwork/hardwork-settings.php
CHANGED
@@ -30,7 +30,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
30 |
<fieldset>
|
31 |
<label for="niteoCS_footer_background_opacity_<?php echo esc_attr( $themeslug );?>"><?php _e('Footer Background Opacity', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $footer_opacity ); ?></span></label><br>
|
32 |
|
33 |
-
<input type="range" class="footer-opacity-<?php echo esc_attr( $themeslug );?>" name="niteoCS_footer_background_opacity_<?php echo esc_attr( $themeslug );?>" min="0" max="1" step="0.1"value="<?php echo esc_attr( $footer_opacity ); ?>" />
|
34 |
</fieldset>
|
35 |
</td>
|
36 |
|
30 |
<fieldset>
|
31 |
<label for="niteoCS_footer_background_opacity_<?php echo esc_attr( $themeslug );?>"><?php _e('Footer Background Opacity', 'cmp-coming-soon-maintenance');?>: <span><?php echo esc_attr( $footer_opacity ); ?></span></label><br>
|
32 |
|
33 |
+
<input type="range" class="footer-opacity-<?php echo esc_attr( $themeslug );?>" name="niteoCS_footer_background_opacity_<?php echo esc_attr( $themeslug );?>" min="0" max="1" step="0.1" value="<?php echo esc_attr( $footer_opacity ); ?>" />
|
34 |
</fieldset>
|
35 |
</td>
|
36 |
|