mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
add maintenance mode plugin
This commit is contained in:
parent
71f3ce6400
commit
b24415021e
50 changed files with 12512 additions and 0 deletions
0
objects/Object.php
Executable file → Normal file
0
objects/Object.php
Executable file → Normal file
52
plugin/MaintenanceMode/MaintenanceMode.php
Normal file
52
plugin/MaintenanceMode/MaintenanceMode.php
Normal file
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
global $global;
|
||||
require_once $global['systemRootPath'] . 'plugin/Plugin.abstract.php';
|
||||
|
||||
class MaintenanceMode extends PluginAbstract {
|
||||
|
||||
public function getDescription() {
|
||||
return "Put your site in Maintenance Mode";
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
return "MaintenanceMode";
|
||||
}
|
||||
|
||||
public function getUUID() {
|
||||
return "6dmaa392-7b14-44fb-aa33-51cba620d92e";
|
||||
}
|
||||
|
||||
public function getPluginVersion() {
|
||||
return "1.0";
|
||||
}
|
||||
|
||||
public function getStart() {
|
||||
global $global, $config;
|
||||
if(!User::isAdmin() && $_SERVER["SCRIPT_FILENAME"] !== $global['systemRootPath'].'view/user.php'){
|
||||
$obj = $this->getDataObject();
|
||||
include $global['systemRootPath'] . 'plugin/MaintenanceMode/index.php';
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
public function getEmptyDataObject() {
|
||||
global $global;
|
||||
$obj = new stdClass();
|
||||
$obj->text = 'Sorry for the inconvenience but we’re performing some maintenance at the moment. If you need to you can always <a href="mailto:{email}">contact us</a>, otherwise we’ll be back online shortly!';
|
||||
$obj->facebookLink = '';
|
||||
$obj->twitterLink = '';
|
||||
$obj->googleLink = '';
|
||||
$obj->endIn = date("Y-m-d H:i:s", strtotime("+1 week"));
|
||||
$obj->hideClock = false;
|
||||
$obj->backgroundImageURL = $global['webSiteRootURL']."plugin/MaintenanceMode/images/bg01.jpg";
|
||||
return $obj;
|
||||
}
|
||||
|
||||
public function getFooterCode() {
|
||||
$obj = $this->getDataObject();
|
||||
global $global;
|
||||
|
||||
include $global['systemRootPath'] . 'plugin/MaintenanceMode/footer.php';
|
||||
}
|
||||
|
||||
}
|
647
plugin/MaintenanceMode/css/main.css
Normal file
647
plugin/MaintenanceMode/css/main.css
Normal file
|
@ -0,0 +1,647 @@
|
|||
/*------------------------------------------------------------------
|
||||
Project: ComingSoon
|
||||
Version:
|
||||
Last change:
|
||||
Assigned to: Bach Le
|
||||
Primary use:
|
||||
-------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ FONT ]*/
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Regular;
|
||||
src: url('../fonts/Poppins/Poppins-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins-Bold;
|
||||
src: url('../fonts/Poppins/Poppins-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Lato-Regular;
|
||||
src: url('../fonts/Lato/Lato-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Lato-Bold;
|
||||
src: url('../fonts/Lato/Lato-Bold.ttf');
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ RS PLUGIN ]*/
|
||||
/*---------------------------------------------*/
|
||||
.container {max-width: 1200px;}
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Form ]*/
|
||||
|
||||
.contact100-form {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------
|
||||
[ Input ]*/
|
||||
|
||||
.wrap-input100 {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
height: 50px;
|
||||
border: 2px solid #e6e6e6;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.input100 {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
input.input100 {
|
||||
height: 100%;
|
||||
padding: 0 22px 0 22px;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------
|
||||
[ Focus Input ]*/
|
||||
|
||||
.focus-input100 {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: calc(100% + 4px);
|
||||
height: calc(100% + 4px);
|
||||
top: -2px;
|
||||
left: -2px;
|
||||
pointer-events: none;
|
||||
border: 2px solid #57b846;
|
||||
border-radius: 5px;
|
||||
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
|
||||
-webkit-transition: all 0.4s;
|
||||
-o-transition: all 0.4s;
|
||||
-moz-transition: all 0.4s;
|
||||
transition: all 0.4s;
|
||||
|
||||
-webkit-transform: scaleX(1.1) scaleY(1.2);
|
||||
-moz-transform: scaleX(1.1) scaleY(1.2);
|
||||
-ms-transform: scaleX(1.1) scaleY(1.2);
|
||||
-o-transform: scaleX(1.1) scaleY(1.2);
|
||||
transform: scaleX(1.1) scaleY(1.2);
|
||||
}
|
||||
|
||||
.input100:focus + .focus-input100 {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
|
||||
-webkit-transform: scale(1);
|
||||
-moz-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
-o-transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------
|
||||
[ Alert validate ]*/
|
||||
|
||||
.validate-input {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.alert-validate::before {
|
||||
content: attr(data-validate);
|
||||
position: absolute;
|
||||
max-width: 70%;
|
||||
background-color: #fff;
|
||||
border: 1px solid #c80000;
|
||||
border-radius: 2px;
|
||||
padding: 4px 25px 4px 10px;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-moz-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
-o-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
right: 12px;
|
||||
pointer-events: none;
|
||||
|
||||
font-family: Poppins-Regular;
|
||||
color: #c80000;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
text-align: left;
|
||||
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
|
||||
-webkit-transition: opacity 0.4s;
|
||||
-o-transition: opacity 0.4s;
|
||||
-moz-transition: opacity 0.4s;
|
||||
transition: opacity 0.4s;
|
||||
}
|
||||
|
||||
.alert-validate::after {
|
||||
content: "\f12a";
|
||||
font-family: FontAwesome;
|
||||
display: block;
|
||||
position: absolute;
|
||||
color: #c80000;
|
||||
font-size: 18px;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-moz-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
-o-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
right: 18px;
|
||||
}
|
||||
|
||||
.alert-validate:hover:before {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.alert-validate::before {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================
|
||||
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
|
||||
==================================================================*/
|
||||
|
||||
/*==================================================================
|
||||
[ Color ]*/
|
||||
.cl0 {color: #fff;}
|
||||
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ S-Text 0 - 15 ]*/
|
||||
|
||||
.s1-txt1 {}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.s2-txt1 {
|
||||
font-family: Lato-Bold;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
.s2-txt2 {
|
||||
font-family: Lato-Bold;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.s2-txt3 {
|
||||
font-family: Lato-Regular;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.s2-txt4 {
|
||||
font-family: Lato-Regular;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ M-Text 16 - 25 ]*/
|
||||
|
||||
.m1-txt1 {
|
||||
font-family: Poppins-Regular;
|
||||
font-size: 24px;
|
||||
line-height: 1.5;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
.m1-txt2 {
|
||||
font-family: Poppins-Bold;
|
||||
font-size: 24px;
|
||||
line-height: 1.5;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ L-Text >= 26 ]*/
|
||||
|
||||
.l1-txt1 {}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.l2-txt1 {
|
||||
font-family: Lato-Bold;
|
||||
font-size: 40px;
|
||||
line-height: 1;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*==================================================================
|
||||
SHAPE SHAPE SHAPE SHAPE SHAPE SHAPE SHAPE SHAPE SHAPE SHAPE SHAPE
|
||||
==================================================================*/
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Size ]*/
|
||||
.size1 {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.size2 {
|
||||
height: 100%;
|
||||
width: 71%;
|
||||
}
|
||||
|
||||
.size3 {
|
||||
max-width: 650px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.size4 {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.size5 {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.size6 {
|
||||
width: 155px;
|
||||
height: 155px;
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Width ]*/
|
||||
.wsize1 {
|
||||
max-width: 650px;
|
||||
}
|
||||
|
||||
.wsize2 {
|
||||
max-width: 380px;
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Height ]*/
|
||||
.hsize1 {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Background ]*/
|
||||
.bg0 {background-color: #fff;}
|
||||
.bg1 {background-color: #57b846;}
|
||||
.bg3 {background-color: #3b5998;}
|
||||
.bg4 {background-color: #1da1f2;}
|
||||
.bg5 {background-color: #cd201f;}
|
||||
|
||||
.bg-img1 {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Border ]*/
|
||||
/*---------------------------------------------*/
|
||||
.bo1 {border: 1px solid #ebebeb;}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.bor1 {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.bor2 {
|
||||
border: 1px solid rgba(255,255,255,0.3);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/*==================================================================
|
||||
WHERE WHERE WHERE WHERE WHERE WHERE WHERE WHERE WHERE WHERE WHERE
|
||||
==================================================================*/
|
||||
.where1-parent {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.where1 {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.where2 {
|
||||
padding: 50px 50px 150px 320px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================
|
||||
HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW HOW
|
||||
==================================================================*/
|
||||
.how1 {
|
||||
border-radius: 50%;
|
||||
font-size: 22px;
|
||||
color: #fff;
|
||||
}
|
||||
.how1:hover {
|
||||
background-color: #555555;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.parallax100 {
|
||||
background-attachment: fixed;
|
||||
background-position: center 0;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.parallax100 {
|
||||
background-attachment: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.placeholder0::-webkit-input-placeholder { color: #999999;}
|
||||
.placeholder0:-moz-placeholder { color: #999999;}
|
||||
.placeholder0::-moz-placeholder { color: #999999;}
|
||||
.placeholder0:-ms-input-placeholder { color: #999999;}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.overlay1 {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.overlay1::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: -3;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
.overlay1::after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: -2;
|
||||
top: 0;
|
||||
right: 100%;
|
||||
width: 10000px;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
transform-origin: bottom right;
|
||||
-webkit-transform: skewX(156deg);
|
||||
-moz-transform: skewX(156deg);
|
||||
-ms-transform: skewX(156deg);
|
||||
-o-transform: skewX(156deg);
|
||||
transform: skewX(156deg);
|
||||
}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.wrap-pic1 {
|
||||
width: 50%;
|
||||
}
|
||||
.wrap-pic1 img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ Pseudo ]*/
|
||||
|
||||
/*------------------------------------------------------------------
|
||||
[ Focus ]*/
|
||||
.focus-in0:focus::-webkit-input-placeholder { color:transparent; }
|
||||
.focus-in0:focus:-moz-placeholder { color:transparent; }
|
||||
.focus-in0:focus::-moz-placeholder { color:transparent; }
|
||||
.focus-in0:focus:-ms-input-placeholder { color:transparent; }
|
||||
|
||||
|
||||
/*------------------------------------------------------------------
|
||||
[ Hover ]*/
|
||||
.hov-cl0:hover {color: #fff;}
|
||||
.hov-bg0:hover {background-color: #fff;}
|
||||
/*---------------------------------------------*/
|
||||
.hov1:hover {
|
||||
background-color: #555555;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*==================================================================
|
||||
RESPONSIVE RESPONSIVE RESPONSIVE RESPONSIVE RESPONSIVE RESPONSIVE
|
||||
==================================================================*/
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ XXL ]*/
|
||||
@media (max-width: 1600px) {
|
||||
.respon1 {
|
||||
max-width: 38%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ XL ]*/
|
||||
@media (max-width: 1200px) {
|
||||
.m-0-xl {margin: 0;}
|
||||
.m-lr-0-xl {margin-left: 0; margin-right: 0;}
|
||||
.m-lr-15-xl {margin-left: 15px; margin-right: 15px;}
|
||||
.m-l-0-xl {margin-left: 0;}
|
||||
.m-r-0-xl {margin-right: 0;}
|
||||
.m-l-15-xl {margin-left: 15px;}
|
||||
.m-r-15-xl {margin-right: 15px;}
|
||||
|
||||
.p-0-xl {padding: 0;}
|
||||
.p-lr-0-xl {padding-left: 0; padding-right: 0;}
|
||||
.p-lr-15-xl {padding-left: 15px; padding-right: 15px;}
|
||||
.p-l-0-xl {padding-left: 0;}
|
||||
.p-r-0-xl {padding-right: 0;}
|
||||
.p-l-15-xl {padding-left: 15px;}
|
||||
.p-r-15-xl {padding-right: 15px;}
|
||||
|
||||
.w-full-xl {width: 100%;}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.respon1 {
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ LG ]*/
|
||||
@media (max-width: 992px) {
|
||||
.m-0-lg {margin: 0;}
|
||||
.m-lr-0-lg {margin-left: 0; margin-right: 0;}
|
||||
.m-lr-15-lg {margin-left: 15px; margin-right: 15px;}
|
||||
.m-l-0-lg {margin-left: 0;}
|
||||
.m-r-0-lg {margin-right: 0;}
|
||||
.m-l-15-lg {margin-left: 15px;}
|
||||
.m-r-15-lg {margin-right: 15px;}
|
||||
|
||||
.p-0-lg {padding: 0;}
|
||||
.p-lr-0-lg {padding-left: 0; padding-right: 0;}
|
||||
.p-lr-15-lg {padding-left: 15px; padding-right: 15px;}
|
||||
.p-l-0-lg {padding-left: 0;}
|
||||
.p-r-0-lg{padding-right: 0;}
|
||||
.p-l-15-lg {padding-left: 15px;}
|
||||
.p-r-15-lg {padding-right: 15px;}
|
||||
|
||||
.w-full-lg {width: 100%;}
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.respon1 {
|
||||
max-width: 650px;
|
||||
min-height: unset;
|
||||
padding-top: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
|
||||
/*---------------------------------------------*/
|
||||
.respon2 {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.respon2::after {
|
||||
top: 100%;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 10000px;
|
||||
transform-origin: top right;
|
||||
-webkit-transform: skew(180deg, 8deg);
|
||||
-moz-transform: skew(180deg, 8deg);
|
||||
-ms-transform: skew(180deg, 8deg);
|
||||
-o-transform: skew(180deg, 8deg);
|
||||
transform: skew(180deg, 8deg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ MD ]*/
|
||||
@media (max-width: 768px) {
|
||||
.m-0-md {margin: 0;}
|
||||
.m-lr-0-md {margin-left: 0; margin-right: 0;}
|
||||
.m-lr-15-md {margin-left: 15px; margin-right: 15px;}
|
||||
.m-l-0-md {margin-left: 0;}
|
||||
.m-r-0-md {margin-right: 0;}
|
||||
.m-l-15-md {margin-left: 15px;}
|
||||
.m-r-15-md {margin-right: 15px;}
|
||||
|
||||
.p-0-md {padding: 0;}
|
||||
.p-lr-0-md {padding-left: 0; padding-right: 0;}
|
||||
.p-lr-15-md {padding-left: 15px; padding-right: 15px;}
|
||||
.p-l-0-md {padding-left: 0;}
|
||||
.p-r-0-md{padding-right: 0;}
|
||||
.p-l-15-md {padding-left: 15px;}
|
||||
.p-r-15-md {padding-right: 15px;}
|
||||
|
||||
.w-full-md {width: 100%;}
|
||||
/*---------------------------------------------*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ SM ]*/
|
||||
@media (max-width: 576px) {
|
||||
.m-0-sm {margin: 0;}
|
||||
.m-lr-0-sm {margin-left: 0; margin-right: 0;}
|
||||
.m-lr-15-sm {margin-left: 15px; margin-right: 15px;}
|
||||
.m-l-0-sm {margin-left: 0;}
|
||||
.m-r-0-sm {margin-right: 0;}
|
||||
.m-l-15-sm {margin-left: 15px;}
|
||||
.m-r-15-sm {margin-right: 15px;}
|
||||
|
||||
.p-0-sm {padding: 0;}
|
||||
.p-lr-0-sm {padding-left: 0; padding-right: 0;}
|
||||
.p-lr-15-sm {padding-left: 15px; padding-right: 15px;}
|
||||
.p-l-0-sm {padding-left: 0;}
|
||||
.p-r-0-sm{padding-right: 0;}
|
||||
.p-l-15-sm {padding-left: 15px;}
|
||||
.p-r-15-sm {padding-right: 15px;}
|
||||
|
||||
.w-full-sm {width: 100%;}
|
||||
/*---------------------------------------------*/
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////
|
||||
[ SSM ]*/
|
||||
@media (max-width: 480px) {
|
||||
.m-0-ssm {margin: 0;}
|
||||
.m-lr-0-ssm {margin-left: 0; margin-right: 0;}
|
||||
.m-lr-15-ssm {margin-left: 15px; margin-right: 15px;}
|
||||
.m-l-0-ssm {margin-left: 0;}
|
||||
.m-r-0-ssm {margin-right: 0;}
|
||||
.m-l-15-ssm {margin-left: 15px;}
|
||||
.m-r-15-ssm {margin-right: 15px;}
|
||||
|
||||
.p-0-ssm {padding: 0;}
|
||||
.p-lr-0-ssm {padding-left: 0; padding-right: 0;}
|
||||
.p-lr-15-ssm {padding-left: 15px; padding-right: 15px;}
|
||||
.p-l-0-ssm {padding-left: 0;}
|
||||
.p-r-0-ssm{padding-right: 0;}
|
||||
.p-l-15-ssm {padding-left: 15px;}
|
||||
.p-r-15-ssm {padding-right: 15px;}
|
||||
|
||||
.w-full-ssm {width: 100%;}
|
||||
/*---------------------------------------------*/
|
||||
|
||||
}
|
2890
plugin/MaintenanceMode/css/util.css
Normal file
2890
plugin/MaintenanceMode/css/util.css
Normal file
File diff suppressed because it is too large
Load diff
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Black.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Black.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-BlackItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Bold.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Bold.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-BoldItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Hairline.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Hairline.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-HairlineItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-HairlineItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Italic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Italic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Light.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Light.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-LightItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-LightItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Regular.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Lato/Lato-Regular.ttf
Normal file
Binary file not shown.
93
plugin/MaintenanceMode/fonts/Lato/OFL.txt
Normal file
93
plugin/MaintenanceMode/fonts/Lato/OFL.txt
Normal file
|
@ -0,0 +1,93 @@
|
|||
Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Black.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Black.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-BlackItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Bold.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Bold.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-BoldItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ExtraBold.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ExtraBoldItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ExtraBoldItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ExtraLight.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ExtraLight.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Italic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Italic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Light.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Light.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-LightItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-LightItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Medium.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Medium.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-MediumItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Regular.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Regular.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-SemiBold.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-SemiBold.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-SemiBoldItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Thin.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-Thin.ttf
Normal file
Binary file not shown.
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ThinItalic.ttf
Normal file
BIN
plugin/MaintenanceMode/fonts/Poppins/Poppins-ThinItalic.ttf
Normal file
Binary file not shown.
11
plugin/MaintenanceMode/footer.php
Normal file
11
plugin/MaintenanceMode/footer.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!-- COOKIES -->
|
||||
<div class="alert alert-dismissible text-center cookiealert" role="alert">
|
||||
<div class="cookiealert-container">
|
||||
<?php echo $obj->text; ?>
|
||||
<button type="button" class="btn btn-primary btn-sm acceptcookies" aria-label="Close">
|
||||
<?php echo $obj->btnText; ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /COOKIES -->
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/CookieAlert/cookiealert-standalone.js"></script>
|
BIN
plugin/MaintenanceMode/images/bg01.jpg
Normal file
BIN
plugin/MaintenanceMode/images/bg01.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 266 KiB |
BIN
plugin/MaintenanceMode/images/icons/favicon.ico
Normal file
BIN
plugin/MaintenanceMode/images/icons/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
plugin/MaintenanceMode/images/icons/logo.png
Normal file
BIN
plugin/MaintenanceMode/images/icons/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
plugin/MaintenanceMode/images/icons/video-16-9.jpg
Normal file
BIN
plugin/MaintenanceMode/images/icons/video-16-9.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
149
plugin/MaintenanceMode/index.php
Normal file
149
plugin/MaintenanceMode/index.php
Normal file
|
@ -0,0 +1,149 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Coming Soon 1</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!--===============================================================================================-->
|
||||
<link href="<?php echo $global['webSiteRootURL']; ?>view/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||||
<!--===============================================================================================-->
|
||||
<link href="<?php echo $global['webSiteRootURL']; ?>view/css/fontawesome-free-5.5.0-web/css/all.min.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!--===============================================================================================-->
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/animate/animate.css">
|
||||
<!--===============================================================================================-->
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceModevendor/select2/select2.min.css">
|
||||
<!--===============================================================================================-->
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/css/util.css">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/css/main.css">
|
||||
<!--===============================================================================================-->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div class="size1 bg0 where1-parent">
|
||||
<!-- Coutdown -->
|
||||
<div class="flex-c-m bg-img1 size2 where1 overlay1 where2 respon2" style="background-image: url('<?php echo $obj->backgroundImageURL; ?>');">
|
||||
<?php
|
||||
if (empty($obj->hideClock) && !empty($obj->endIn)) {
|
||||
?>
|
||||
<div class="wsize2 flex-w flex-c-m cd100 js-tilt">
|
||||
<div class="flex-col-c-m size6 bor2 m-l-10 m-r-10 m-t-15">
|
||||
<span class="l2-txt1 p-b-9 days">35</span>
|
||||
<span class="s2-txt4">Days</span>
|
||||
</div>
|
||||
|
||||
<div class="flex-col-c-m size6 bor2 m-l-10 m-r-10 m-t-15">
|
||||
<span class="l2-txt1 p-b-9 hours">17</span>
|
||||
<span class="s2-txt4">Hours</span>
|
||||
</div>
|
||||
|
||||
<div class="flex-col-c-m size6 bor2 m-l-10 m-r-10 m-t-15">
|
||||
<span class="l2-txt1 p-b-9 minutes">50</span>
|
||||
<span class="s2-txt4">Minutes</span>
|
||||
</div>
|
||||
|
||||
<div class="flex-col-c-m size6 bor2 m-l-10 m-r-10 m-t-15">
|
||||
<span class="l2-txt1 p-b-9 seconds">39</span>
|
||||
<span class="s2-txt4">Seconds</span>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<!-- Form -->
|
||||
<div class="size3 flex-col-sb flex-w p-l-75 p-r-75 p-t-45 p-b-45 respon1">
|
||||
<div class="wrap-pic1">
|
||||
<img src="<?php echo $global['webSiteRootURL']; ?><?php echo $config->getLogo(); ?>" alt="LOGO">
|
||||
</div>
|
||||
|
||||
<div class="p-t-50 p-b-60">
|
||||
<p class="m1-txt1 p-b-36">
|
||||
<?php
|
||||
echo str_replace("{email}", $config->getContactEmail(), $obj->text);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="flex-w">
|
||||
<?php
|
||||
if (!empty($obj->facebookLink)) {
|
||||
?>
|
||||
<a href="<?php echo $obj->facebookLink; ?>" class="flex-c-m size5 bg3 how1 trans-04 m-r-5">
|
||||
<i class="fab fa-facebook-f"></i>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if (!empty($obj->twitterLink)) {
|
||||
?>
|
||||
<a href="<?php echo $obj->googleLink; ?>" class="flex-c-m size5 bg4 how1 trans-04 m-r-5">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if (!empty($obj->googleLink)) {
|
||||
?>
|
||||
<a href="<?php echo $obj->twitterLink; ?>" class="flex-c-m size5 bg5 how1 trans-04 m-r-5">
|
||||
<i class="fab fa-google-plus-g"></i>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<a href="<?php echo $global['webSiteRootURL']; ?>user" class="flex-c-m size5 bg1 how1 trans-04 m-r-5">
|
||||
<i class="fas fa-unlock"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--===============================================================================================-->
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>view/js/jquery-3.3.1.min.js" type="text/javascript"></script>
|
||||
<!--===============================================================================================-->
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/bootstrap/js/popper.js"></script>
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>view/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!--===============================================================================================-->
|
||||
<script src="vendor/select2/select2.min.js"></script>
|
||||
<!--===============================================================================================-->
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/countdowntime/moment.min.js"></script>
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/countdowntime/moment-timezone.min.js"></script>
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/countdowntime/moment-timezone-with-data.min.js"></script>
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/countdowntime/countdowntime.js"></script>
|
||||
<?php
|
||||
if (empty($obj->hideClock) && !empty($obj->endIn)) {
|
||||
?>
|
||||
<script>
|
||||
$('.cd100').countdown100({
|
||||
/*Set Endtime here*/
|
||||
/*Endtime must be > current time*/
|
||||
endtimeYear: <?php echo date("Y", strtotime($obj->endIn)); ?>,
|
||||
endtimeMonth: <?php echo date("m", strtotime($obj->endIn)); ?>,
|
||||
endtimeDate: <?php echo date("d", strtotime($obj->endIn)); ?>,
|
||||
endtimeHours: <?php echo date("H", strtotime($obj->endIn)); ?>,
|
||||
endtimeMinutes: <?php echo date("i", strtotime($obj->endIn)); ?>,
|
||||
endtimeSeconds: <?php echo date("s", strtotime($obj->endIn)); ?>,
|
||||
timeZone: ""
|
||||
// ex: timeZone: "America/New_York"
|
||||
//go to " http://momentjs.com/timezone/ " to get timezone
|
||||
});
|
||||
</script>
|
||||
<!--===============================================================================================-->
|
||||
<script src="<?php echo $global['webSiteRootURL']; ?>plugin/MaintenanceMode/vendor/tilt/tilt.jquery.min.js"></script>
|
||||
<script >
|
||||
$('.js-tilt').tilt({
|
||||
scale: 1.2
|
||||
})
|
||||
</script>
|
||||
<!--===============================================================================================-->
|
||||
<script src="js/main.js"></script>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
57
plugin/MaintenanceMode/js/main.js
Normal file
57
plugin/MaintenanceMode/js/main.js
Normal file
|
@ -0,0 +1,57 @@
|
|||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
/*==================================================================
|
||||
[ Validate ]*/
|
||||
var input = $('.validate-input .input100');
|
||||
|
||||
$('.validate-form').on('submit',function(){
|
||||
var check = true;
|
||||
|
||||
for(var i=0; i<input.length; i++) {
|
||||
if(validate(input[i]) == false){
|
||||
showValidate(input[i]);
|
||||
check=false;
|
||||
}
|
||||
}
|
||||
|
||||
return check;
|
||||
});
|
||||
|
||||
|
||||
$('.validate-form .input100').each(function(){
|
||||
$(this).focus(function(){
|
||||
hideValidate(this);
|
||||
});
|
||||
});
|
||||
|
||||
function validate (input) {
|
||||
if($(input).attr('type') == 'email' || $(input).attr('name') == 'email') {
|
||||
if($(input).val().trim().match(/^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{1,5}|[0-9]{1,3})(\]?)$/) == null) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if($(input).val().trim() == ''){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showValidate(input) {
|
||||
var thisAlert = $(input).parent();
|
||||
|
||||
$(thisAlert).addClass('alert-validate');
|
||||
}
|
||||
|
||||
function hideValidate(input) {
|
||||
var thisAlert = $(input).parent();
|
||||
|
||||
$(thisAlert).removeClass('alert-validate');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
})(jQuery);
|
1579
plugin/MaintenanceMode/vendor/animate/animate.css
vendored
Normal file
1579
plugin/MaintenanceMode/vendor/animate/animate.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
92
plugin/MaintenanceMode/vendor/countdowntime/countdowntime.js
vendored
Normal file
92
plugin/MaintenanceMode/vendor/countdowntime/countdowntime.js
vendored
Normal file
|
@ -0,0 +1,92 @@
|
|||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.extend({
|
||||
|
||||
countdown100: function(options) {
|
||||
var defaults = {
|
||||
timeZone: "",
|
||||
endtimeYear: 0,
|
||||
endtimeMonth: 0,
|
||||
endtimeDate: 0,
|
||||
endtimeHours: 0,
|
||||
endtimeMinutes: 0,
|
||||
endtimeSeconds: 0,
|
||||
}
|
||||
|
||||
var options = $.extend(defaults, options);
|
||||
|
||||
return this.each(function() {
|
||||
var obj = $(this);
|
||||
var timeNow = new Date();
|
||||
|
||||
var tZ = options.timeZone; console.log(tZ);
|
||||
var endYear = options.endtimeYear;
|
||||
var endMonth = options.endtimeMonth;
|
||||
var endDate = options.endtimeDate;
|
||||
var endHours = options.endtimeHours;
|
||||
var endMinutes = options.endtimeMinutes;
|
||||
var endSeconds = options.endtimeSeconds;
|
||||
|
||||
if(tZ == "") {
|
||||
var deadline = new Date(endYear, endMonth - 1, endDate, endHours, endMinutes, endSeconds);
|
||||
}
|
||||
else {
|
||||
var deadline = moment.tz([endYear, endMonth - 1, endDate, endHours, endMinutes, endSeconds], tZ).format();
|
||||
}
|
||||
|
||||
if(Date.parse(deadline) < Date.parse(timeNow)) {
|
||||
var deadline = new Date(Date.parse(new Date()) + endDate * 24 * 60 * 60 * 1000 + endHours * 60 * 60 * 1000);
|
||||
}
|
||||
|
||||
|
||||
initializeClock(deadline);
|
||||
|
||||
function getTimeRemaining(endtime) {
|
||||
var t = Date.parse(endtime) - Date.parse(new Date());
|
||||
var seconds = Math.floor((t / 1000) % 60);
|
||||
var minutes = Math.floor((t / 1000 / 60) % 60);
|
||||
var hours = Math.floor((t / (1000 * 60 * 60)) % 24);
|
||||
var days = Math.floor(t / (1000 * 60 * 60 * 24));
|
||||
return {
|
||||
'total': t,
|
||||
'days': days,
|
||||
'hours': hours,
|
||||
'minutes': minutes,
|
||||
'seconds': seconds
|
||||
};
|
||||
}
|
||||
|
||||
function initializeClock(endtime) {
|
||||
var daysSpan = $(obj).find('.days');
|
||||
var hoursSpan = $(obj).find('.hours');
|
||||
var minutesSpan = $(obj).find('.minutes');
|
||||
var secondsSpan = $(obj).find('.seconds');
|
||||
|
||||
function updateClock() {
|
||||
var t = getTimeRemaining(endtime);
|
||||
|
||||
daysSpan.html(t.days);
|
||||
hoursSpan.html(('0' + t.hours).slice(-2));
|
||||
minutesSpan.html(('0' + t.minutes).slice(-2));
|
||||
secondsSpan.html(('0' + t.seconds).slice(-2))
|
||||
|
||||
if (t.total <= 0) {
|
||||
clearInterval(timeinterval);
|
||||
}
|
||||
}
|
||||
|
||||
updateClock();
|
||||
var timeinterval = setInterval(updateClock, 1000);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
})(jQuery);
|
1
plugin/MaintenanceMode/vendor/countdowntime/moment-timezone-with-data.min.js
vendored
Normal file
1
plugin/MaintenanceMode/vendor/countdowntime/moment-timezone-with-data.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plugin/MaintenanceMode/vendor/countdowntime/moment-timezone.min.js
vendored
Normal file
1
plugin/MaintenanceMode/vendor/countdowntime/moment-timezone.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plugin/MaintenanceMode/vendor/countdowntime/moment.min.js
vendored
Normal file
1
plugin/MaintenanceMode/vendor/countdowntime/moment.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
484
plugin/MaintenanceMode/vendor/select2/select2.css
vendored
Normal file
484
plugin/MaintenanceMode/vendor/select2/select2.css
vendored
Normal file
|
@ -0,0 +1,484 @@
|
|||
.select2-container {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
vertical-align: middle; }
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 28px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
display: block;
|
||||
padding-left: 8px;
|
||||
padding-right: 20px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-selection--single .select2-selection__clear {
|
||||
position: relative; }
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 8px;
|
||||
padding-left: 20px; }
|
||||
.select2-container .select2-selection--multiple {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
min-height: 32px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding-left: 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-search--inline {
|
||||
float: left; }
|
||||
.select2-container .select2-search--inline .select2-search__field {
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
font-size: 100%;
|
||||
margin-top: 5px;
|
||||
padding: 0; }
|
||||
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
|
||||
.select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -100000px;
|
||||
width: 100%;
|
||||
z-index: 1051; }
|
||||
|
||||
.select2-results {
|
||||
display: block; }
|
||||
|
||||
.select2-results__options {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-results__option[aria-selected] {
|
||||
cursor: pointer; }
|
||||
|
||||
.select2-container--open .select2-dropdown {
|
||||
left: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--above {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--below {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-search--dropdown {
|
||||
display: block;
|
||||
padding: 4px; }
|
||||
.select2-search--dropdown .select2-search__field {
|
||||
padding: 4px;
|
||||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
.select2-search--dropdown.select2-search--hide {
|
||||
display: none; }
|
||||
|
||||
.select2-close-mask {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
opacity: 0;
|
||||
z-index: 99;
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0); }
|
||||
|
||||
.select2-hidden-accessible {
|
||||
border: 0 !important;
|
||||
clip: rect(0 0 0 0) !important;
|
||||
height: 1px !important;
|
||||
margin: -1px !important;
|
||||
overflow: hidden !important;
|
||||
padding: 0 !important;
|
||||
position: absolute !important;
|
||||
width: 1px !important; }
|
||||
|
||||
.select2-container--default .select2-selection--single {
|
||||
background-color: #fff;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
width: 100%; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
||||
list-style: none; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
|
||||
color: #999;
|
||||
margin-top: 5px;
|
||||
float: left; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #333; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
||||
float: right; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
||||
border: solid black 1px;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa; }
|
||||
|
||||
.select2-container--default .select2-search--inline .select2-search__field {
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
-webkit-appearance: textfield; }
|
||||
|
||||
.select2-container--default .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--default .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-disabled=true] {
|
||||
color: #999; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-selected=true] {
|
||||
background-color: #ddd; }
|
||||
|
||||
.select2-container--default .select2-results__option .select2-results__option {
|
||||
padding-left: 1em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
||||
padding-left: 0; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -1em;
|
||||
padding-left: 2em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -2em;
|
||||
padding-left: 3em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -3em;
|
||||
padding-left: 4em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -4em;
|
||||
padding-left: 5em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -5em;
|
||||
padding-left: 6em; }
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #5897fb;
|
||||
color: white; }
|
||||
|
||||
.select2-container--default .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic .select2-selection--single {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
outline: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-right: 10px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
||||
background-color: #ddd;
|
||||
border: none;
|
||||
border-left: 1px solid #aaa;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
border: none;
|
||||
border-right: 1px solid #aaa;
|
||||
border-radius: 0;
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--single {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
||||
background: transparent;
|
||||
border: none; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
||||
|
||||
.select2-container--classic .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text;
|
||||
outline: 0; }
|
||||
.select2-container--classic .select2-selection--multiple:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
||||
display: none; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #555; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
float: right; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
||||
border: 1px solid #5897fb; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--inline .select2-search__field {
|
||||
outline: 0;
|
||||
box-shadow: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid transparent; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--above {
|
||||
border-bottom: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--below {
|
||||
border-top: none; }
|
||||
|
||||
.select2-container--classic .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--classic .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
||||
color: grey; }
|
||||
|
||||
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #3875d7;
|
||||
color: white; }
|
||||
|
||||
.select2-container--classic .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-dropdown {
|
||||
border-color: #5897fb; }
|
6450
plugin/MaintenanceMode/vendor/select2/select2.js
vendored
Normal file
6450
plugin/MaintenanceMode/vendor/select2/select2.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
plugin/MaintenanceMode/vendor/select2/select2.min.css
vendored
Normal file
1
plugin/MaintenanceMode/vendor/select2/select2.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
3
plugin/MaintenanceMode/vendor/select2/select2.min.js
vendored
Normal file
3
plugin/MaintenanceMode/vendor/select2/select2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plugin/MaintenanceMode/vendor/tilt/tilt.jquery.min.js
vendored
Normal file
1
plugin/MaintenanceMode/vendor/tilt/tilt.jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue