Version Description
Download this release
Release Info
Developer | niteo |
Plugin | CMP – Coming Soon & Maintenance Plugin by NiteoThemes |
Version | 2.8.7 |
Comparing to | |
See all releases |
Code changes from version 2.8.6 to 2.8.7
- cmp-settings.php +3 -6
- css/animate.min.css +1 -1
- css/cmp-settings-style.css +25 -6
- css/cmp-settings-style.min.css +1 -1
- img/thumbnails/coder_thumbnail.jpg +0 -0
- inc/class-cmp-render_html.php +12 -8
- inc/cmp-update-process.php +160 -0
- niteo-cmp.php +25 -170
- readme.txt +6 -2
- themes/countdown/style.css +13 -44
cmp-settings.php
CHANGED
@@ -365,7 +365,7 @@ $niteoCS_video_file_url = get_option('niteoCS_video_file_url['.$themeslug.']')
|
|
365 |
|
366 |
// create default social media if they do not exists
|
367 |
if ( !get_option('niteoCS_socialmedia') ) {
|
368 |
-
$social_icons = array('facebook', 'google-plus', 'twitter', 'instagram', 'skype', '500px', 'deviantart', 'behance', 'dribbble', 'pinterest', 'linkedin', 'tumblr', 'youtube', 'vimeo', 'flickr', 'soundcloud', 'vk','envelope-o', 'whatsapp', 'phone', 'telegram');
|
369 |
$i = 0;
|
370 |
$socialmedia = array();
|
371 |
foreach ( $social_icons as $social ) {
|
@@ -380,20 +380,18 @@ if ( !get_option('niteoCS_socialmedia') ) {
|
|
380 |
$i++;
|
381 |
}
|
382 |
|
383 |
-
$niteoCS_socialmedia = json_encode( $socialmedia);
|
384 |
|
385 |
} else {
|
386 |
-
$niteoCS_socialmedia = stripslashes(get_option('niteoCS_socialmedia'));
|
387 |
$socialmedia = json_decode( $niteoCS_socialmedia, true );
|
388 |
}
|
389 |
|
390 |
-
|
391 |
//include theme defaults
|
392 |
if (file_exists($this->cmp_themePath($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-defaults.php')) {
|
393 |
include ( $this->cmp_themePath($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-defaults.php' );
|
394 |
}
|
395 |
|
396 |
-
|
397 |
// get logo url from id
|
398 |
if ( $niteoCS_logo_id != '' ) {
|
399 |
$logo_url = wp_get_attachment_image_src($niteoCS_logo_id, 'medium');
|
@@ -402,7 +400,6 @@ if ( $niteoCS_logo_id != '' ) {
|
|
402 |
}
|
403 |
}
|
404 |
|
405 |
-
|
406 |
// get favicon url from id
|
407 |
if ( $niteoCS_favicon_id != '' ) {
|
408 |
$niteoCS_favicon_url = wp_get_attachment_image_src($niteoCS_favicon_id, 'thumbnail');
|
365 |
|
366 |
// create default social media if they do not exists
|
367 |
if ( !get_option('niteoCS_socialmedia') ) {
|
368 |
+
$social_icons = array('facebook', 'google-plus', 'twitter', 'instagram', 'skype', '500px', 'deviantart', 'behance', 'dribbble', 'pinterest', 'linkedin', 'tumblr', 'youtube', 'vimeo', 'flickr', 'soundcloud', 'vk','envelope-o', 'whatsapp', 'phone', 'telegram', 'xing');
|
369 |
$i = 0;
|
370 |
$socialmedia = array();
|
371 |
foreach ( $social_icons as $social ) {
|
380 |
$i++;
|
381 |
}
|
382 |
|
383 |
+
$niteoCS_socialmedia = json_encode( $socialmedia );
|
384 |
|
385 |
} else {
|
386 |
+
$niteoCS_socialmedia = stripslashes( get_option('niteoCS_socialmedia') );
|
387 |
$socialmedia = json_decode( $niteoCS_socialmedia, true );
|
388 |
}
|
389 |
|
|
|
390 |
//include theme defaults
|
391 |
if (file_exists($this->cmp_themePath($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-defaults.php')) {
|
392 |
include ( $this->cmp_themePath($this->cmp_selectedTheme()).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-defaults.php' );
|
393 |
}
|
394 |
|
|
|
395 |
// get logo url from id
|
396 |
if ( $niteoCS_logo_id != '' ) {
|
397 |
$logo_url = wp_get_attachment_image_src($niteoCS_logo_id, 'medium');
|
400 |
}
|
401 |
}
|
402 |
|
|
|
403 |
// get favicon url from id
|
404 |
if ( $niteoCS_favicon_id != '' ) {
|
405 |
$niteoCS_favicon_url = wp_get_attachment_image_src($niteoCS_favicon_id, 'thumbnail');
|
css/animate.min.css
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
* Licensed under the MIT license - http://opensource.org/licenses/MIT
|
5 |
*
|
6 |
* Copyright (c) 2017 Daniel Eden
|
7 |
-
*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.delay-small{animation-delay:.3s}.delay-big{animation-delay:.6s}@-webkit-keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-50px,0,0);transform:translate3d(-50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-50px,0,0);transform:translate3d(-50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}
|
4 |
* Licensed under the MIT license - http://opensource.org/licenses/MIT
|
5 |
*
|
6 |
* Copyright (c) 2017 Daniel Eden
|
7 |
+
*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.delay-small{-webkit-animation-delay:.3s;animation-delay:.3s}.delay-big{-webkit-animation-delay:.6s;animation-delay:.6s}@-webkit-keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-50px,0);transform:translate3d(0,-50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-50px,0,0);transform:translate3d(-50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-50px,0,0);transform:translate3d(-50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(50px,0,0);transform:translate3d(50px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0,50px,0);transform:translate3d(0,50px,0)}to{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}
|
css/cmp-settings-style.css
CHANGED
@@ -37,7 +37,8 @@
|
|
37 |
border-radius: 4px;
|
38 |
line-height: 2.5em;
|
39 |
height: 2.5em;
|
40 |
-
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03)
|
|
|
41 |
}
|
42 |
|
43 |
.cmp-coming-soon-maintenance .select2-container .select2-selection--single {
|
@@ -75,6 +76,7 @@
|
|
75 |
border-radius: 50%;
|
76 |
border: 1px solid #d4d4d4;
|
77 |
cursor: pointer;
|
|
|
78 |
transition: .3s ease-in-out
|
79 |
}
|
80 |
|
@@ -142,6 +144,10 @@
|
|
142 |
border-right: 1px solid #dedede;
|
143 |
}
|
144 |
|
|
|
|
|
|
|
|
|
145 |
.cmp-coming-soon-maintenance .custom_css .cmp-submit {
|
146 |
padding-left: 1em;
|
147 |
border-top: 1px solid #dedede;
|
@@ -277,7 +283,8 @@
|
|
277 |
|
278 |
.cmp-coming-soon-maintenance #niteoCS-text-logo {
|
279 |
border: none;
|
280 |
-
box-shadow: none;
|
|
|
281 |
font-size: 3em
|
282 |
}
|
283 |
|
@@ -453,14 +460,14 @@
|
|
453 |
grid-template-columns: 1fr 1fr 1fr;
|
454 |
-ms-grid-rows: 1fr auto;
|
455 |
grid-template-rows: 1fr auto;
|
456 |
-
|
457 |
grid-gap: 10px;
|
458 |
}
|
459 |
|
460 |
.cmp-coming-soon-maintenance .custom-gallery.gallery-3 {
|
461 |
-ms-grid-columns: 1fr 1fr!important;
|
462 |
grid-template-columns: 1fr 1fr!important;
|
463 |
-
|
464 |
|
465 |
}
|
466 |
|
@@ -529,6 +536,7 @@
|
|
529 |
content: '';
|
530 |
display: block;
|
531 |
padding-top: 56.25%;
|
|
|
532 |
transition: background-color .1s;
|
533 |
border-top-left-radius: 5px;
|
534 |
border-top-right-radius: 5px;
|
@@ -555,11 +563,13 @@
|
|
555 |
|
556 |
.cmp-coming-soon-maintenance .theme-wrapper .hide:not(.selected) {
|
557 |
opacity: 0;
|
|
|
558 |
transition: opacity .1s, background-color .1s;
|
559 |
}
|
560 |
|
561 |
.cmp-coming-soon-maintenance .theme-wrapper:hover .hide {
|
562 |
opacity: 1;
|
|
|
563 |
transition: opacity .1s, background-color .1s;
|
564 |
}
|
565 |
|
@@ -606,6 +616,7 @@
|
|
606 |
color: #fff!important;
|
607 |
-moz-appearance: none;
|
608 |
-webkit-appearance: none;
|
|
|
609 |
transition: background-color .5s;
|
610 |
border: none!important;
|
611 |
box-shadow: none;
|
@@ -619,13 +630,15 @@
|
|
619 |
background-color: #c0392b;
|
620 |
color: #fff;
|
621 |
border: none;
|
|
|
622 |
transition: background-color .5s
|
623 |
}
|
624 |
|
625 |
.cmp-coming-soon-maintenance .theme-wrapper a.button:visited,
|
626 |
.cmp-coming-soon-maintenance .theme-wrapper a.button:focus {
|
627 |
background: transparent;
|
628 |
-
box-shadow: none;
|
|
|
629 |
}
|
630 |
|
631 |
.cmp-coming-soon-maintenance .theme-wrapper a.button.theme-purchase {
|
@@ -655,7 +668,8 @@
|
|
655 |
background: transparent;
|
656 |
border: none;
|
657 |
outline: none;
|
658 |
-
box-shadow: none;
|
|
|
659 |
}
|
660 |
|
661 |
.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]::before {
|
@@ -752,6 +766,7 @@
|
|
752 |
}
|
753 |
|
754 |
.cmp-coming-soon-maintenance .theme-overlay .screenshot {
|
|
|
755 |
transition: background-image .2s ease-in-out
|
756 |
}
|
757 |
|
@@ -769,6 +784,7 @@
|
|
769 |
background-color: #000;
|
770 |
line-height: 40px;
|
771 |
opacity: .7;
|
|
|
772 |
transition: opacity .5s
|
773 |
}
|
774 |
|
@@ -824,6 +840,7 @@
|
|
824 |
font-weight: 600;
|
825 |
background: 0 0;
|
826 |
border: 2px solid #f1f1f1;
|
|
|
827 |
transition: all .2s ease-in-out;
|
828 |
border-radius: 15px
|
829 |
}
|
@@ -834,6 +851,7 @@
|
|
834 |
line-height: 30px;
|
835 |
font-size: 14px;
|
836 |
z-index: 2;
|
|
|
837 |
transition: all .2s ease-in-out
|
838 |
}
|
839 |
|
@@ -850,6 +868,7 @@
|
|
850 |
height: 24px;
|
851 |
top: 3px;
|
852 |
left: 5px;
|
|
|
853 |
transition: all .2s ease-in-out;
|
854 |
-webkit-transform: translateX(0);
|
855 |
transform: translateX(0);
|
37 |
border-radius: 4px;
|
38 |
line-height: 2.5em;
|
39 |
height: 2.5em;
|
40 |
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03);
|
41 |
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03)
|
42 |
}
|
43 |
|
44 |
.cmp-coming-soon-maintenance .select2-container .select2-selection--single {
|
76 |
border-radius: 50%;
|
77 |
border: 1px solid #d4d4d4;
|
78 |
cursor: pointer;
|
79 |
+
-webkit-transition: .3s ease-in-out;
|
80 |
transition: .3s ease-in-out
|
81 |
}
|
82 |
|
144 |
border-right: 1px solid #dedede;
|
145 |
}
|
146 |
|
147 |
+
.cmp-coming-soon-maintenance .CodeMirror-wrap pre {
|
148 |
+
/* margin-left: 50px; */
|
149 |
+
}
|
150 |
+
|
151 |
.cmp-coming-soon-maintenance .custom_css .cmp-submit {
|
152 |
padding-left: 1em;
|
153 |
border-top: 1px solid #dedede;
|
283 |
|
284 |
.cmp-coming-soon-maintenance #niteoCS-text-logo {
|
285 |
border: none;
|
286 |
+
-webkit-box-shadow: none;
|
287 |
+
box-shadow: none;
|
288 |
font-size: 3em
|
289 |
}
|
290 |
|
460 |
grid-template-columns: 1fr 1fr 1fr;
|
461 |
-ms-grid-rows: 1fr auto;
|
462 |
grid-template-rows: 1fr auto;
|
463 |
+
grid-template-areas: "Big Big Big" "small-3 small-2 small-1";
|
464 |
grid-gap: 10px;
|
465 |
}
|
466 |
|
467 |
.cmp-coming-soon-maintenance .custom-gallery.gallery-3 {
|
468 |
-ms-grid-columns: 1fr 1fr!important;
|
469 |
grid-template-columns: 1fr 1fr!important;
|
470 |
+
grid-template-areas: "Big Big" "small-2 small-1"!important;
|
471 |
|
472 |
}
|
473 |
|
536 |
content: '';
|
537 |
display: block;
|
538 |
padding-top: 56.25%;
|
539 |
+
-webkit-transition: background-color .1s;
|
540 |
transition: background-color .1s;
|
541 |
border-top-left-radius: 5px;
|
542 |
border-top-right-radius: 5px;
|
563 |
|
564 |
.cmp-coming-soon-maintenance .theme-wrapper .hide:not(.selected) {
|
565 |
opacity: 0;
|
566 |
+
-webkit-transition: opacity .1s, background-color .1s;
|
567 |
transition: opacity .1s, background-color .1s;
|
568 |
}
|
569 |
|
570 |
.cmp-coming-soon-maintenance .theme-wrapper:hover .hide {
|
571 |
opacity: 1;
|
572 |
+
-webkit-transition: opacity .1s, background-color .1s;
|
573 |
transition: opacity .1s, background-color .1s;
|
574 |
}
|
575 |
|
616 |
color: #fff!important;
|
617 |
-moz-appearance: none;
|
618 |
-webkit-appearance: none;
|
619 |
+
-webkit-transition: background-color .5s;
|
620 |
transition: background-color .5s;
|
621 |
border: none!important;
|
622 |
box-shadow: none;
|
630 |
background-color: #c0392b;
|
631 |
color: #fff;
|
632 |
border: none;
|
633 |
+
-webkit-transition: background-color .5s;
|
634 |
transition: background-color .5s
|
635 |
}
|
636 |
|
637 |
.cmp-coming-soon-maintenance .theme-wrapper a.button:visited,
|
638 |
.cmp-coming-soon-maintenance .theme-wrapper a.button:focus {
|
639 |
background: transparent;
|
640 |
+
-webkit-box-shadow: none;
|
641 |
+
box-shadow: none;
|
642 |
}
|
643 |
|
644 |
.cmp-coming-soon-maintenance .theme-wrapper a.button.theme-purchase {
|
668 |
background: transparent;
|
669 |
border: none;
|
670 |
outline: none;
|
671 |
+
-webkit-box-shadow: none;
|
672 |
+
box-shadow: none;
|
673 |
}
|
674 |
|
675 |
.cmp-coming-soon-maintenance .theme-wrapper .button.theme-select input[type=radio]::before {
|
766 |
}
|
767 |
|
768 |
.cmp-coming-soon-maintenance .theme-overlay .screenshot {
|
769 |
+
-webkit-transition: background-image .2s ease-in-out;
|
770 |
transition: background-image .2s ease-in-out
|
771 |
}
|
772 |
|
784 |
background-color: #000;
|
785 |
line-height: 40px;
|
786 |
opacity: .7;
|
787 |
+
-webkit-transition: opacity .5s;
|
788 |
transition: opacity .5s
|
789 |
}
|
790 |
|
840 |
font-weight: 600;
|
841 |
background: 0 0;
|
842 |
border: 2px solid #f1f1f1;
|
843 |
+
-webkit-transition: all .2s ease-in-out;
|
844 |
transition: all .2s ease-in-out;
|
845 |
border-radius: 15px
|
846 |
}
|
851 |
line-height: 30px;
|
852 |
font-size: 14px;
|
853 |
z-index: 2;
|
854 |
+
-webkit-transition: all .2s ease-in-out;
|
855 |
transition: all .2s ease-in-out
|
856 |
}
|
857 |
|
868 |
height: 24px;
|
869 |
top: 3px;
|
870 |
left: 5px;
|
871 |
+
-webkit-transition: all .2s ease-in-out;
|
872 |
transition: all .2s ease-in-out;
|
873 |
-webkit-transform: translateX(0);
|
874 |
transform: translateX(0);
|
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;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;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;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 .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 #subscribe-3rdparty fieldset,.cmp-coming-soon-maintenance .constellation{margin-top:1em}@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: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;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;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 .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 .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 #subscribe-3rdparty fieldset,.cmp-coming-soon-maintenance .constellation{margin-top:1em}@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)}}
|
img/thumbnails/coder_thumbnail.jpg
DELETED
Binary file
|
inc/class-cmp-render_html.php
CHANGED
@@ -747,38 +747,42 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
|
|
747 |
switch ( $theme_preview ) {
|
748 |
case 'hardwork':
|
749 |
case 'hardwork_premium':
|
750 |
-
|
751 |
break;
|
752 |
|
753 |
case 'countdown':
|
754 |
-
|
755 |
break;
|
756 |
|
757 |
case 'frame':
|
758 |
-
|
759 |
break;
|
760 |
|
761 |
case 'orbit':
|
762 |
-
|
763 |
break;
|
764 |
|
765 |
case 'fifty':
|
766 |
case 'element':
|
767 |
-
|
768 |
break;
|
769 |
|
770 |
case 'stylo':
|
771 |
-
|
772 |
break;
|
773 |
|
774 |
default:
|
775 |
-
|
776 |
break;
|
777 |
}
|
778 |
|
779 |
} else {
|
|
|
|
|
|
|
|
|
780 |
|
781 |
-
$body = wpautop( do_shortcode(
|
782 |
|
783 |
return $body;
|
784 |
}
|
747 |
switch ( $theme_preview ) {
|
748 |
case 'hardwork':
|
749 |
case 'hardwork_premium':
|
750 |
+
$body = '<p>Everti labores cu sea, ea eam choro semper, usu an quot vocibus euripidis. An vis porro insolens, ea graeci vulputate qui. Qui vidisse evertitur et, ea vis habemus fabellas. Everti labores cu sea, ea eam choro semper, usu an quot vocibus euripidis. An vis porro insolens, ea graeci vulputate qui. Qui vidisse evertitur et, ea vis habemus fabellas.</p>';
|
751 |
break;
|
752 |
|
753 |
case 'countdown':
|
754 |
+
$body = '<h2>We are currently improving our site</h2>';
|
755 |
break;
|
756 |
|
757 |
case 'frame':
|
758 |
+
$body = '<p>Stay tuned for new features!</p>';
|
759 |
break;
|
760 |
|
761 |
case 'orbit':
|
762 |
+
$body = '<p>Orbit is a modern and fun theme for your short maintenance mode. You can set custom background, social icons, footer message and of course the main content. We recommend to keep it simple by setting up only a gradient background.</p>';
|
763 |
break;
|
764 |
|
765 |
case 'fifty':
|
766 |
case 'element':
|
767 |
+
$body = '<p>Everti labores cu sea, ea eam choro semper, usu an quot vocibus euripidis. An vis porro insolens, ea graeci vulputate qui. Qui vidisse evertitur et, ea vis habemus fabellas.</p>';
|
768 |
break;
|
769 |
|
770 |
case 'stylo':
|
771 |
+
$body = '<p>You can use <a href="https://niteothemes.com/projects/cmp-stylo-theme/">Stylo</a> as a landing page, maintenance or coming soon page. It supports both subscriber and contact form, all CMP background options and big beautiful counter.</p>';
|
772 |
break;
|
773 |
|
774 |
default:
|
775 |
+
$body = wpautop( stripslashes( get_option('niteoCS_body', '') ) );
|
776 |
break;
|
777 |
}
|
778 |
|
779 |
} else {
|
780 |
+
$body = stripslashes( get_option('niteoCS_body', '') );
|
781 |
+
if ( isset($GLOBALS['wp_embed']) ) {
|
782 |
+
$body = $GLOBALS['wp_embed']->autoembed($body);
|
783 |
+
}
|
784 |
|
785 |
+
$body = wpautop( do_shortcode( $body ) );
|
786 |
|
787 |
return $body;
|
788 |
}
|
inc/cmp-update-process.php
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
4 |
+
|
5 |
+
// set option for plugin update process
|
6 |
+
if ( !get_option( 'niteoCS_version' ) ) {
|
7 |
+
update_option( 'niteoCS_version', CMP_VERSION );
|
8 |
+
}
|
9 |
+
|
10 |
+
if ( version_compare( get_option('niteoCS_version'), CMP_VERSION ) < 0 ) {
|
11 |
+
|
12 |
+
// migrate google analytics options
|
13 |
+
if ( get_option('niteoCS_analytics') && get_option('niteoCS_analytics') != '' ) {
|
14 |
+
update_option('niteoCS_analytics_status', 'google');
|
15 |
+
}
|
16 |
+
|
17 |
+
// add social icons to social settings
|
18 |
+
if ( get_option('niteoCS_socialmedia') ) {
|
19 |
+
$niteoCS_socialmedia = stripslashes( get_option('niteoCS_socialmedia') );
|
20 |
+
$socialmedia = json_decode( $niteoCS_socialmedia, true );
|
21 |
+
$update = false;
|
22 |
+
|
23 |
+
// add soundcloud and phone social media in 2.2 update
|
24 |
+
if ( !$this->niteo_in_array_r( 'soundcloud', $socialmedia, true ) ) {
|
25 |
+
$soundcloud = array(
|
26 |
+
'name' => 'soundcloud',
|
27 |
+
'url' => '',
|
28 |
+
'active' => '1',
|
29 |
+
'hidden' => '1',
|
30 |
+
'order' => '17',
|
31 |
+
);
|
32 |
+
array_push( $socialmedia, $soundcloud );
|
33 |
+
$update = true;
|
34 |
+
}
|
35 |
+
|
36 |
+
// add whatsapp and phone social media in 2.3 update
|
37 |
+
if ( !$this->niteo_in_array_r( 'whatsapp', $socialmedia, true ) ) {
|
38 |
+
$whatsapp = array(
|
39 |
+
'name' => 'whatsapp',
|
40 |
+
'url' => '',
|
41 |
+
'active' => '1',
|
42 |
+
'hidden' => '1',
|
43 |
+
'order' => '18',
|
44 |
+
);
|
45 |
+
array_push( $socialmedia, $whatsapp );
|
46 |
+
|
47 |
+
$phone = array(
|
48 |
+
'name' => 'phone',
|
49 |
+
'url' => '',
|
50 |
+
'active' => '1',
|
51 |
+
'hidden' => '1',
|
52 |
+
'order' => '19',
|
53 |
+
);
|
54 |
+
array_push( $socialmedia, $phone );
|
55 |
+
$update = true;
|
56 |
+
}
|
57 |
+
|
58 |
+
// add telegram social media in 2.6.6 update
|
59 |
+
if ( !$this->niteo_in_array_r( 'telegram', $socialmedia, true ) ) {
|
60 |
+
$telegram = array(
|
61 |
+
'name' => 'telegram',
|
62 |
+
'url' => '',
|
63 |
+
'active' => '1',
|
64 |
+
'hidden' => '1',
|
65 |
+
'order' => '20',
|
66 |
+
);
|
67 |
+
array_push( $socialmedia, $telegram );
|
68 |
+
$update = true;
|
69 |
+
}
|
70 |
+
|
71 |
+
// add telegram social media in 2.8.7 update
|
72 |
+
if ( !$this->niteo_in_array_r( 'xing', $socialmedia, true ) ) {
|
73 |
+
$telegram = array(
|
74 |
+
'name' => 'xing',
|
75 |
+
'url' => '',
|
76 |
+
'active' => '1',
|
77 |
+
'hidden' => '1',
|
78 |
+
'order' => '21',
|
79 |
+
);
|
80 |
+
array_push( $socialmedia, $telegram );
|
81 |
+
$update = true;
|
82 |
+
}
|
83 |
+
|
84 |
+
if ( $update == true ) {
|
85 |
+
update_option('niteoCS_socialmedia', json_encode( $socialmedia) );
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
// migrate overlay color and opacity settings after update 2.8
|
90 |
+
|
91 |
+
$current_theme = get_option('niteoCS_theme');
|
92 |
+
|
93 |
+
if ( $current_theme ) {
|
94 |
+
$overlay_color = get_option('niteoCS_overlay_color['.$current_theme.']');
|
95 |
+
$overlay_opacity = get_option('niteoCS_overlay_opacity['.$current_theme.']');
|
96 |
+
|
97 |
+
if ( $overlay_color ) {
|
98 |
+
update_option( 'niteoCS_overlay['.$current_theme.']', 'solid-color' );
|
99 |
+
update_option( 'niteoCS_overlay['.$current_theme.'][color]', $overlay_color );
|
100 |
+
}
|
101 |
+
|
102 |
+
if ( $overlay_opacity ) {
|
103 |
+
update_option( 'niteoCS_overlay['.$current_theme.'][opacity]', $overlay_opacity );
|
104 |
+
}
|
105 |
+
|
106 |
+
delete_option('niteoCS_overlay_color['.$current_theme.']');
|
107 |
+
delete_option('niteoCS_overlay_opacity['.$current_theme.']');
|
108 |
+
|
109 |
+
}
|
110 |
+
|
111 |
+
|
112 |
+
// check for < 1.8 version where subscriber ID was not set
|
113 |
+
if ( get_option('niteoCS_subscribers_list') ) {
|
114 |
+
$subscribe_list = get_option('niteoCS_subscribers_list');
|
115 |
+
|
116 |
+
if ( is_array( $subscribe_list ) && count( $subscribe_list ) > 0 && !array_key_exists ('id', $subscribe_list[0]) ) {
|
117 |
+
$i = 1;
|
118 |
+
foreach( $subscribe_list as &$sub ){
|
119 |
+
$sub['id'] = $i;
|
120 |
+
$sub = array('id' => $sub['id']) + $sub;
|
121 |
+
// check if ip address is set
|
122 |
+
if (!array_key_exists('ip_address', $sub)) {
|
123 |
+
$sub['ip_address'] = 'nodata';
|
124 |
+
}
|
125 |
+
$i++;
|
126 |
+
}
|
127 |
+
update_option('niteoCS_subscribers_list', $subscribe_list);
|
128 |
+
}
|
129 |
+
}
|
130 |
+
|
131 |
+
// delete transients for theme updates, to ensure the updates for latest cmp versions runs again
|
132 |
+
foreach ( $this->cmp_premium_themes_installed() as $theme_slug ) {
|
133 |
+
delete_transient( $theme_slug.'_updatecheck' );
|
134 |
+
}
|
135 |
+
|
136 |
+
// migrate overlay color and opacity settings after update 2.8
|
137 |
+
|
138 |
+
$current_theme = get_option('niteoCS_theme');
|
139 |
+
|
140 |
+
if ( $current_theme ) {
|
141 |
+
$overlay_color = get_option('niteoCS_overlay_color['.$current_theme.']');
|
142 |
+
$overlay_opacity = get_option('niteoCS_overlay_opacity['.$current_theme.']');
|
143 |
+
|
144 |
+
if ( $overlay_color ) {
|
145 |
+
update_option( 'niteoCS_overlay['.$current_theme.']', 'color' );
|
146 |
+
update_option( 'niteoCS_overlay['.$current_theme.'][color]', $overlay_color );
|
147 |
+
}
|
148 |
+
|
149 |
+
if ( $overlay_opacity ) {
|
150 |
+
update_option( 'niteoCS_overlay['.$current_theme.'][opacity]', $overlay_opacity );
|
151 |
+
}
|
152 |
+
|
153 |
+
delete_option('niteoCS_overlay_color['.$current_theme.']');
|
154 |
+
delete_option('niteoCS_overlay_opacity['.$current_theme.']');
|
155 |
+
|
156 |
+
}
|
157 |
+
|
158 |
+
// bump version for next udpate check
|
159 |
+
update_option( 'niteoCS_version', CMP_VERSION );
|
160 |
+
}
|
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.
|
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.
|
70 |
$this->define( 'CMP_DEBUG', FALSE );
|
71 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
72 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
@@ -76,11 +76,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
76 |
$this->define( 'CMP_PLUGIN_FILE', __FILE__ );
|
77 |
( CMP_DEBUG === TRUE ) ? $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates-test/' ) : $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates/' );
|
78 |
|
79 |
-
// set option for plugin update process
|
80 |
-
if ( !get_option( 'niteoCS_version' ) ) {
|
81 |
-
update_option( 'niteoCS_version', CMP_VERSION );
|
82 |
-
}
|
83 |
-
|
84 |
}
|
85 |
|
86 |
/**
|
@@ -102,17 +97,15 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
102 |
add_action( 'admin_menu', array( $this, 'cmp_adminMenu' ), 10 );
|
103 |
add_action( 'admin_init', array( $this, 'cmp_adminInit' ) ) ;
|
104 |
add_action( 'admin_init', array( $this, 'cmp_admin_override' ) );
|
|
|
105 |
add_action( 'admin_enqueue_scripts', array( $this,'cmp_add_admin_style' ) );
|
106 |
add_action( 'wp_enqueue_scripts', array( $this,'cmp_add_admin_style' ) );
|
107 |
-
add_action( 'upgrader_process_complete', array( $this, 'cmp_plugin_update' ), 10, 2 );
|
108 |
|
109 |
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array( $this,'add_action_links' ) );
|
110 |
|
111 |
register_activation_hook( __FILE__, array( $this, 'cmp_activate' ) );
|
112 |
register_deactivation_hook( __FILE__, array( $this, 'cmp_deactivate' ) );
|
113 |
|
114 |
-
// include feedback class
|
115 |
-
require_once( 'inc/class-cmp-feedback.php' );
|
116 |
require_once( dirname( __FILE__) . '/inc/class-cmp-render_html.php' );
|
117 |
}
|
118 |
|
@@ -134,8 +127,13 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
134 |
public function cmp_adminInit() {
|
135 |
|
136 |
if ( current_user_can('administrator') ) {
|
|
|
|
|
|
|
|
|
137 |
// ini render-settings class
|
138 |
require_once('inc/class-cmp-render_settings.php');
|
|
|
139 |
$this->render_settings = new cmp_render_settings();
|
140 |
|
141 |
if ( function_exists( 'wp_enqueue_code_editor' ) ) {
|
@@ -158,6 +156,15 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
158 |
|
159 |
}
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
/**
|
162 |
* Define Bundled CMP themes and return them in array
|
163 |
*
|
@@ -431,6 +438,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
431 |
|
432 |
}
|
433 |
|
|
|
434 |
// finally render theme preview cmp_preview=true
|
435 |
if ( file_exists( $this->cmp_themePath( $this->cmp_selectedTheme() ).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
|
436 |
require_once ( $this->cmp_themePath( $this->cmp_selectedTheme() ).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php' );
|
@@ -597,7 +605,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
597 |
}
|
598 |
|
599 |
// CMP PLUGIN ACTIVATION AND STATUS CHANGE SETTINGS!
|
600 |
-
if ( $_SERVER['REQUEST_METHOD'] == 'POST' && ( get_current_screen() && get_current_screen()->id == 'toplevel_page_cmp-settings' ) ) {
|
601 |
|
602 |
// verify nonce and user rights
|
603 |
if ( !wp_verify_nonce($_POST['save_options_field'], 'save_options') || !current_user_can('publish_pages') ) {
|
@@ -704,6 +712,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
704 |
//store the options all in one record, in case we ever reactivate the plugin
|
705 |
update_option('niteoCS_archive', $options);
|
706 |
|
|
|
707 |
//delete the separate ones
|
708 |
foreach ( $options as $option ) {
|
709 |
delete_option($option['name']);
|
@@ -712,11 +721,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
712 |
|
713 |
}
|
714 |
|
715 |
-
// clean plugin stuff when plugin is deleted
|
716 |
-
public function cmp_plugin_delete() {
|
717 |
-
delete_option('niteoCS_archive');
|
718 |
-
}
|
719 |
-
|
720 |
// returns list of premium themes => manually defined
|
721 |
public function cmp_premium_themes() {
|
722 |
|
@@ -1671,159 +1675,6 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
|
|
1671 |
}
|
1672 |
|
1673 |
|
1674 |
-
public function cmp_plugin_update(\WP_Upgrader $upgrader, array $hook_extra) {
|
1675 |
-
if ( is_array($hook_extra) && array_key_exists('action', $hook_extra) && array_key_exists('type', $hook_extra) && array_key_exists('plugins', $hook_extra) ) {
|
1676 |
-
if ( $hook_extra['action'] == 'update' && $hook_extra['type'] == 'plugin' && is_array($hook_extra['plugins']) && !empty($hook_extra['plugins']) ) {
|
1677 |
-
$this_plugin = plugin_basename(__FILE__);
|
1678 |
-
foreach ( $hook_extra['plugins'] as $key => $plugin ) {
|
1679 |
-
if ( $this_plugin == $plugin ) {
|
1680 |
-
$this_plugin_updated = true;
|
1681 |
-
break;
|
1682 |
-
}
|
1683 |
-
}// endforeach;
|
1684 |
-
unset( $key, $plugin, $this_plugin );
|
1685 |
-
|
1686 |
-
if ( isset( $this_plugin_updated ) && $this_plugin_updated === true ) {
|
1687 |
-
|
1688 |
-
// migrate google analytics options
|
1689 |
-
if ( get_option('niteoCS_analytics') && get_option('niteoCS_analytics') != '' ) {
|
1690 |
-
update_option('niteoCS_analytics_status', 'google');
|
1691 |
-
}
|
1692 |
-
|
1693 |
-
// add social icons to social settings
|
1694 |
-
if ( get_option('niteoCS_socialmedia') ) {
|
1695 |
-
$niteoCS_socialmedia = stripslashes( get_option('niteoCS_socialmedia') );
|
1696 |
-
$socialmedia = json_decode( $niteoCS_socialmedia, true );
|
1697 |
-
$update = false;
|
1698 |
-
|
1699 |
-
// add soundcloud and phone social media in 2.2 update
|
1700 |
-
if ( !$this->niteo_in_array_r( 'soundcloud', $socialmedia, true ) ) {
|
1701 |
-
$soundcloud = array(
|
1702 |
-
'name' => 'soundcloud',
|
1703 |
-
'url' => '',
|
1704 |
-
'active' => '1',
|
1705 |
-
'hidden' => '1',
|
1706 |
-
'order' => '17',
|
1707 |
-
);
|
1708 |
-
array_push( $socialmedia, $soundcloud );
|
1709 |
-
$update = true;
|
1710 |
-
}
|
1711 |
-
|
1712 |
-
// add whatsapp and phone social media in 2.3 update
|
1713 |
-
if ( !$this->niteo_in_array_r( 'whatsapp', $socialmedia, true ) ) {
|
1714 |
-
$whatsapp = array(
|
1715 |
-
'name' => 'whatsapp',
|
1716 |
-
'url' => '',
|
1717 |
-
'active' => '1',
|
1718 |
-
'hidden' => '1',
|
1719 |
-
'order' => '18',
|
1720 |
-
);
|
1721 |
-
array_push( $socialmedia, $whatsapp );
|
1722 |
-
|
1723 |
-
$phone = array(
|
1724 |
-
'name' => 'phone',
|
1725 |
-
'url' => '',
|
1726 |
-
'active' => '1',
|
1727 |
-
'hidden' => '1',
|
1728 |
-
'order' => '19',
|
1729 |
-
);
|
1730 |
-
array_push( $socialmedia, $phone );
|
1731 |
-
$update = true;
|
1732 |
-
}
|
1733 |
-
|
1734 |
-
// add telegram social media in 2.6.6 update
|
1735 |
-
if ( !$this->niteo_in_array_r( 'telegram', $socialmedia, true ) ) {
|
1736 |
-
$telegram = array(
|
1737 |
-
'name' => 'telegram',
|
1738 |
-
'url' => '',
|
1739 |
-
'active' => '1',
|
1740 |
-
'hidden' => '1',
|
1741 |
-
'order' => '20',
|
1742 |
-
);
|
1743 |
-
array_push( $socialmedia, $telegram );
|
1744 |
-
$update = true;
|
1745 |
-
}
|
1746 |
-
|
1747 |
-
if ( $update == true ) {
|
1748 |
-
update_option('niteoCS_socialmedia', json_encode( $socialmedia) );
|
1749 |
-
}
|
1750 |
-
}
|
1751 |
-
|
1752 |
-
// migrate overlay color and opacity settings after update 2.8
|
1753 |
-
|
1754 |
-
$current_theme = get_option('niteoCS_theme');
|
1755 |
-
|
1756 |
-
if ( $current_theme ) {
|
1757 |
-
$overlay_color = get_option('niteoCS_overlay_color['.$current_theme.']');
|
1758 |
-
$overlay_opacity = get_option('niteoCS_overlay_opacity['.$current_theme.']');
|
1759 |
-
|
1760 |
-
if ( $overlay_color ) {
|
1761 |
-
update_option( 'niteoCS_overlay['.$current_theme.']', 'solid-color' );
|
1762 |
-
update_option( 'niteoCS_overlay['.$current_theme.'][color]', $overlay_color );
|
1763 |
-
}
|
1764 |
-
|
1765 |
-
if ( $overlay_opacity ) {
|
1766 |
-
update_option( 'niteoCS_overlay['.$current_theme.'][opacity]', $overlay_opacity );
|
1767 |
-
}
|
1768 |
-
|
1769 |
-
delete_option('niteoCS_overlay_color['.$current_theme.']');
|
1770 |
-
delete_option('niteoCS_overlay_opacity['.$current_theme.']');
|
1771 |
-
|
1772 |
-
}
|
1773 |
-
|
1774 |
-
|
1775 |
-
// check for < 1.8 version where subscriber ID was not set
|
1776 |
-
if ( get_option('niteoCS_subscribers_list') ) {
|
1777 |
-
$subscribe_list = get_option('niteoCS_subscribers_list');
|
1778 |
-
|
1779 |
-
if ( is_array( $subscribe_list ) && count( $subscribe_list ) > 0 && !array_key_exists ('id', $subscribe_list[0]) ) {
|
1780 |
-
$i = 1;
|
1781 |
-
foreach( $subscribe_list as &$sub ){
|
1782 |
-
$sub['id'] = $i;
|
1783 |
-
$sub = array('id' => $sub['id']) + $sub;
|
1784 |
-
// check if ip address is set
|
1785 |
-
if (!array_key_exists('ip_address', $sub)) {
|
1786 |
-
$sub['ip_address'] = 'nodata';
|
1787 |
-
}
|
1788 |
-
$i++;
|
1789 |
-
}
|
1790 |
-
update_option('niteoCS_subscribers_list', $subscribe_list);
|
1791 |
-
}
|
1792 |
-
}
|
1793 |
-
|
1794 |
-
// delete transients for theme updates, to ensure the updates for latest cmp versions runs again
|
1795 |
-
foreach ( $this->cmp_premium_themes_installed() as $theme_slug ) {
|
1796 |
-
delete_transient( $theme_slug.'_updatecheck' );
|
1797 |
-
}
|
1798 |
-
|
1799 |
-
// migrate overlay color and opacity settings after update 2.8
|
1800 |
-
|
1801 |
-
$current_theme = get_option('niteoCS_theme');
|
1802 |
-
|
1803 |
-
if ( $current_theme ) {
|
1804 |
-
$overlay_color = get_option('niteoCS_overlay_color['.$current_theme.']');
|
1805 |
-
$overlay_opacity = get_option('niteoCS_overlay_opacity['.$current_theme.']');
|
1806 |
-
|
1807 |
-
if ( $overlay_color ) {
|
1808 |
-
update_option( 'niteoCS_overlay['.$current_theme.']', 'color' );
|
1809 |
-
update_option( 'niteoCS_overlay['.$current_theme.'][color]', $overlay_color );
|
1810 |
-
}
|
1811 |
-
|
1812 |
-
if ( $overlay_opacity ) {
|
1813 |
-
update_option( 'niteoCS_overlay['.$current_theme.'][opacity]', $overlay_opacity );
|
1814 |
-
}
|
1815 |
-
|
1816 |
-
delete_option('niteoCS_overlay_color['.$current_theme.']');
|
1817 |
-
delete_option('niteoCS_overlay_opacity['.$current_theme.']');
|
1818 |
-
|
1819 |
-
}
|
1820 |
-
|
1821 |
-
}// endif; $this_plugin_updated
|
1822 |
-
}// endif update plugin and plugins not empty.
|
1823 |
-
}// endif; $hook_extra
|
1824 |
-
}// updatePlugin
|
1825 |
-
|
1826 |
-
|
1827 |
public function add_action_links ( $links ) {
|
1828 |
$settings = array(
|
1829 |
'<a href="' . admin_url( 'admin.php?page=cmp-settings' ) . '">CMP Settings</a>',
|
@@ -2150,8 +2001,12 @@ function cmp_coming_soon_and_maintenance() {
|
|
2150 |
// Get the things running
|
2151 |
cmp_coming_soon_and_maintenance();
|
2152 |
|
|
|
2153 |
|
2154 |
-
|
|
|
|
|
|
|
2155 |
|
2156 |
|
2157 |
|
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.7
|
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.7' );
|
70 |
$this->define( 'CMP_DEBUG', FALSE );
|
71 |
$this->define( 'CMP_AUTHOR', 'NiteoThemes' );
|
72 |
$this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
|
76 |
$this->define( 'CMP_PLUGIN_FILE', __FILE__ );
|
77 |
( CMP_DEBUG === TRUE ) ? $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates-test/' ) : $this->define( 'CMP_UPDATE_URL', 'https://niteothemes.com/updates/' );
|
78 |
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
|
81 |
/**
|
97 |
add_action( 'admin_menu', array( $this, 'cmp_adminMenu' ), 10 );
|
98 |
add_action( 'admin_init', array( $this, 'cmp_adminInit' ) ) ;
|
99 |
add_action( 'admin_init', array( $this, 'cmp_admin_override' ) );
|
100 |
+
add_action( 'admin_init', array( $this, 'cmp_update_process' ), 0 );
|
101 |
add_action( 'admin_enqueue_scripts', array( $this,'cmp_add_admin_style' ) );
|
102 |
add_action( 'wp_enqueue_scripts', array( $this,'cmp_add_admin_style' ) );
|
|
|
103 |
|
104 |
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array( $this,'add_action_links' ) );
|
105 |
|
106 |
register_activation_hook( __FILE__, array( $this, 'cmp_activate' ) );
|
107 |
register_deactivation_hook( __FILE__, array( $this, 'cmp_deactivate' ) );
|
108 |
|
|
|
|
|
109 |
require_once( dirname( __FILE__) . '/inc/class-cmp-render_html.php' );
|
110 |
}
|
111 |
|
127 |
public function cmp_adminInit() {
|
128 |
|
129 |
if ( current_user_can('administrator') ) {
|
130 |
+
|
131 |
+
// include feedback class
|
132 |
+
require_once( 'inc/class-cmp-feedback.php' );
|
133 |
+
|
134 |
// ini render-settings class
|
135 |
require_once('inc/class-cmp-render_settings.php');
|
136 |
+
|
137 |
$this->render_settings = new cmp_render_settings();
|
138 |
|
139 |
if ( function_exists( 'wp_enqueue_code_editor' ) ) {
|
156 |
|
157 |
}
|
158 |
|
159 |
+
/**
|
160 |
+
* Add CMP updater proceess
|
161 |
+
*
|
162 |
+
* @since 2.8.7
|
163 |
+
*/
|
164 |
+
public function cmp_update_process() {
|
165 |
+
require_once('inc/cmp-update-process.php');
|
166 |
+
}
|
167 |
+
|
168 |
/**
|
169 |
* Define Bundled CMP themes and return them in array
|
170 |
*
|
438 |
|
439 |
}
|
440 |
|
441 |
+
|
442 |
// finally render theme preview cmp_preview=true
|
443 |
if ( file_exists( $this->cmp_themePath( $this->cmp_selectedTheme() ).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
|
444 |
require_once ( $this->cmp_themePath( $this->cmp_selectedTheme() ).$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php' );
|
605 |
}
|
606 |
|
607 |
// CMP PLUGIN ACTIVATION AND STATUS CHANGE SETTINGS!
|
608 |
+
if ( $_SERVER['REQUEST_METHOD'] == 'POST' && ( function_exists('get_current_screen') && get_current_screen() && get_current_screen()->id == 'toplevel_page_cmp-settings' ) ) {
|
609 |
|
610 |
// verify nonce and user rights
|
611 |
if ( !wp_verify_nonce($_POST['save_options_field'], 'save_options') || !current_user_can('publish_pages') ) {
|
712 |
//store the options all in one record, in case we ever reactivate the plugin
|
713 |
update_option('niteoCS_archive', $options);
|
714 |
|
715 |
+
|
716 |
//delete the separate ones
|
717 |
foreach ( $options as $option ) {
|
718 |
delete_option($option['name']);
|
721 |
|
722 |
}
|
723 |
|
|
|
|
|
|
|
|
|
|
|
724 |
// returns list of premium themes => manually defined
|
725 |
public function cmp_premium_themes() {
|
726 |
|
1675 |
}
|
1676 |
|
1677 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1678 |
public function add_action_links ( $links ) {
|
1679 |
$settings = array(
|
1680 |
'<a href="' . admin_url( 'admin.php?page=cmp-settings' ) . '">CMP Settings</a>',
|
2001 |
// Get the things running
|
2002 |
cmp_coming_soon_and_maintenance();
|
2003 |
|
2004 |
+
register_uninstall_hook( __FILE__, 'cmp_plugin_delete' );
|
2005 |
|
2006 |
+
// And here goes the uninstallation function:
|
2007 |
+
function cmp_plugin_delete() {
|
2008 |
+
delete_option('niteoCS_archive');
|
2009 |
+
}
|
2010 |
|
2011 |
|
2012 |
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -114,7 +114,11 @@ Packed with functions like Whitelist/Blacklist to enable CMP only on specific pa
|
|
114 |
<p>Everyone loves supports and great feedback! If you find our plugin helpful, you can go to wordpress.org and rate it! alternatively you can click on Donate button :)</p>
|
115 |
|
116 |
== Changelog ==
|
117 |
-
|
|
|
|
|
|
|
|
|
118 |
<h4>CMP 2.8.6 update</h4>
|
119 |
<ul>
|
120 |
<li>Resolved issue with CMP admin bar icon showing of disabled Coming soon even when enabled in reality.</li>
|
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.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
114 |
<p>Everyone loves supports and great feedback! If you find our plugin helpful, you can go to wordpress.org and rate it! alternatively you can click on Donate button :)</p>
|
115 |
|
116 |
== Changelog ==
|
117 |
+
<h4>CMP 2.8.7 update</h4>
|
118 |
+
<ul>
|
119 |
+
<li>Fixed uninstall hook - CMP plugin will now delete all it`s options after deletiton.</li>
|
120 |
+
<li>XING Social Icon added - requested by @spieler.</li>
|
121 |
+
</ul>
|
122 |
<h4>CMP 2.8.6 update</h4>
|
123 |
<ul>
|
124 |
<li>Resolved issue with CMP admin bar icon showing of disabled Coming soon even when enabled in reality.</li>
|
themes/countdown/style.css
CHANGED
@@ -65,7 +65,6 @@ template {
|
|
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,
|
@@ -270,16 +266,11 @@ h1,h2,h3,h4,h5,h6 {
|
|
270 |
.inner-wrap {
|
271 |
position: relative;
|
272 |
display: -moz-flex;
|
273 |
-
display: -ms-flexbox;
|
274 |
display: -o-flex;
|
275 |
-
display: -webkit-box;
|
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 +278,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 +288,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 |
|
@@ -336,31 +325,21 @@ h1,h2,h3,h4,h5,h6 {
|
|
336 |
.inner-content,
|
337 |
footer {
|
338 |
display: -moz-flex;
|
339 |
-
display: -ms-flexbox;
|
340 |
display: -o-flex;
|
341 |
-
display: -webkit-box;
|
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 +353,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 |
|
@@ -425,17 +395,14 @@ 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 |
|
@@ -476,6 +443,9 @@ footer {
|
|
476 |
}
|
477 |
|
478 |
.inner-content form {
|
|
|
|
|
|
|
479 |
text-align: left;
|
480 |
}
|
481 |
|
@@ -487,8 +457,7 @@ input {
|
|
487 |
display: inline-block;
|
488 |
line-height: 3em;
|
489 |
height: 3em;
|
490 |
-
|
491 |
-
box-sizing: border-box;
|
492 |
vertical-align: middle;
|
493 |
margin-bottom: 10px;
|
494 |
}
|
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,
|
266 |
.inner-wrap {
|
267 |
position: relative;
|
268 |
display: -moz-flex;
|
|
|
269 |
display: -o-flex;
|
|
|
270 |
display: flex;
|
271 |
min-height: 100vh;
|
272 |
padding: 0 1em;
|
273 |
-moz-flex-direction: column;
|
|
|
|
|
|
|
274 |
flex-direction: column;
|
275 |
text-align: center;
|
276 |
}
|
278 |
|
279 |
#background-image {
|
280 |
opacity: 0;
|
|
|
281 |
transition: opacity .5s;
|
282 |
}
|
283 |
|
288 |
|
289 |
.video-banner iframe,
|
290 |
.video-banner video {
|
|
|
291 |
transition: opacity 1500ms;
|
292 |
}
|
293 |
|
325 |
.inner-content,
|
326 |
footer {
|
327 |
display: -moz-flex;
|
|
|
328 |
display: -o-flex;
|
|
|
329 |
display: flex;
|
330 |
max-width: 768px;
|
331 |
width: 768px;
|
332 |
margin: 0 auto;
|
333 |
padding: 0;
|
334 |
-moz-flex-direction: column;
|
|
|
|
|
|
|
335 |
flex-direction: column;
|
336 |
+
flex-grow: 1;
|
337 |
+
flex-shrink: 0;
|
|
|
|
|
|
|
338 |
-webkit-flex-grow: 1;
|
339 |
-webkit-flex-shrink: 0;
|
340 |
-moz-flex-grow: 1;
|
341 |
-moz-flex-shrink: 0;
|
342 |
+
justify-content: center;
|
|
|
|
|
343 |
-moz-justify-content: center;
|
344 |
-webkit-justify-content: center;
|
345 |
text-align: center;
|
353 |
|
354 |
|
355 |
footer {
|
356 |
+
justify-content: flex-end;
|
|
|
|
|
|
|
|
|
357 |
display: flex;
|
358 |
+
flex-direction: column;
|
359 |
+
flex-grow: 0;
|
|
|
|
|
|
|
|
|
|
|
360 |
-webkit-flex-grow: 0;
|
361 |
}
|
362 |
|
395 |
width: 2em;
|
396 |
line-height: 2em;
|
397 |
background: transparent;
|
|
|
398 |
transition: background 300ms linear;
|
399 |
}
|
400 |
.social-list i{
|
|
|
401 |
transition: all 300ms linear;
|
402 |
}
|
403 |
|
404 |
.body .social-list i{
|
405 |
font-size: 2em;
|
|
|
406 |
transition: all 300ms linear;
|
407 |
}
|
408 |
|
443 |
}
|
444 |
|
445 |
.inner-content form {
|
446 |
+
max-width: 400px;
|
447 |
+
margin: 0 auto;
|
448 |
+
width: 100%;
|
449 |
text-align: left;
|
450 |
}
|
451 |
|
457 |
display: inline-block;
|
458 |
line-height: 3em;
|
459 |
height: 3em;
|
460 |
+
box-sizing: border-box;
|
|
|
461 |
vertical-align: middle;
|
462 |
margin-bottom: 10px;
|
463 |
}
|