deleted file object-cache.php
(after deactivation of W3 Total Cache
version 2.7.0)
@ -1,49 +0,0 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #464646;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
body, input {
|
||||
font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #21759B;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #D54E21;
|
||||
}
|
||||
|
||||
.button, input[type="button"], input[type="submit"] {
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
background: #f2f2f2 url(../img/white-grad.png) repeat-x scroll left top;
|
||||
border: 1px solid #bbb;
|
||||
color: #464646;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
cursor: pointer;
|
||||
padding: 2px 8px;
|
||||
border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
-moz-border-radius: 11px;
|
||||
}
|
||||
|
||||
.button:hover, input[type="button"]:hover, input[type="submit"]:hover {
|
||||
border-color: #666;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.button:active, input[type="button"]:active, input[type="submit"]:active {
|
||||
background: #f2f2f2 url(../img/white-grad-active.png) repeat-x scroll left top;
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
#wp-admin-bar-w3tc > a .awaiting-mod,
|
||||
#wp-admin-bar-w3tc_feature_showcase a .awaiting-mod {
|
||||
background-color: #d63638;
|
||||
border-radius: 9px;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
height: 18px;
|
||||
min-width: 18px;
|
||||
padding: 0 5px;
|
||||
}
|
@ -1,192 +0,0 @@
|
||||
@media screen and (max-width: 900px) {
|
||||
.w3tc-card-container {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 560px) {
|
||||
.w3tc-card-container {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.w3tc-card-container-new {
|
||||
grid-template-columns: 1fr;
|
||||
row-gap: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 560px) {
|
||||
.w3tc-card-container-new {
|
||||
grid-template-columns: repeat(auto-fit, minmax(275px, .4fr));
|
||||
grid-gap: 3em 4%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 900px) {
|
||||
.w3tc-card-container {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
.w3tc-card-container-new {
|
||||
grid-gap: 3.75em 5%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1400px) {
|
||||
.w3tc-card-container {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
.w3tc-card-container-new {
|
||||
grid-gap: 6em 7%;
|
||||
}
|
||||
}
|
||||
|
||||
.w3tc-page-container {
|
||||
max-width: 1234px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#w3tc_dashboard_banner {
|
||||
max-width: 1234px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.w3tc-card-container-divider {
|
||||
border-top-color: #CFCFD0;
|
||||
}
|
||||
|
||||
.w3tc-card-container {
|
||||
display: grid;
|
||||
grid-gap: 2em;
|
||||
}
|
||||
|
||||
.w3tc-card-container-new {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.w3tc-card-container,
|
||||
.w3tc-card-container-new {
|
||||
margin-top: 5em;
|
||||
margin-bottom: 5em;
|
||||
}
|
||||
|
||||
.w3tc-card-container-title {
|
||||
text-align: center;
|
||||
font-weight: 600 !important;
|
||||
font-size: 30px !important;
|
||||
margin: 10px 0 1em !important;
|
||||
box-shadow: 0 1px 1px -1px #888;
|
||||
background: #fff;
|
||||
background-image: none;
|
||||
background-image: none;
|
||||
padding: 33px 10px !important;
|
||||
background-image: linear-gradient( to right, #f9f9f9, #f9f9f9, #f9f9f9, #f0f0f0, #e7f3f3, #56bec1, #16252c);
|
||||
position: relative;
|
||||
padding-right: 280px;
|
||||
border: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
.w3tc-card-container-title::after {
|
||||
background-image: url("../img/transparent-comet.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: top right;
|
||||
background-size: 100% 100%;
|
||||
content: "";
|
||||
width: 251px;
|
||||
height: 104px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.w3tc-card {
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.w3tc-card-container-new .w3tc-card {
|
||||
box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.w3tc-card-title {
|
||||
height: 2.5em;
|
||||
}
|
||||
|
||||
.w3tc-card-title.w3tc-card-premium {
|
||||
background-color: #2d4149;
|
||||
}
|
||||
|
||||
.w3tc-card-title.w3tc-card-premium>p {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.w3tc-card-title.w3tc-card-premium>p.w3tc-card-pro {
|
||||
color: #30bec3;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.w3tc-card-title>p:first-child {
|
||||
font-size: 1.3em;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.w3tc-card-body {
|
||||
flex-grow: 10;
|
||||
}
|
||||
|
||||
.w3tc-card-title,
|
||||
.w3tc-card-body {
|
||||
padding: 10px 10px 15px 10px;
|
||||
}
|
||||
|
||||
.w3tc-card-icon {
|
||||
border-top: 3px solid #000;
|
||||
border-bottom: 1px solid #ddd;
|
||||
height: 60px;
|
||||
padding: 20px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.w3tc-card-icon .dashicons {
|
||||
font-size: 60px;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.w3tc-card-icon-inactive {
|
||||
border-top-color: #aaa;
|
||||
}
|
||||
|
||||
.w3tc-card-icon img {
|
||||
max-height: 60px;
|
||||
}
|
||||
|
||||
.w3tc-card-upgrade {
|
||||
background: #e7e7e7;
|
||||
}
|
||||
|
||||
.w3tc-card-ribbon-new {
|
||||
text-align: center;
|
||||
padding: 7px 5px;
|
||||
background: #69BCC3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.w3tc-card-ribbon-new b {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.w3tc-card-footer {
|
||||
margin: 0 0 20px 10px;
|
||||
}
|
||||
|
||||
.w3tc-card-footer>div {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
width: 50%;
|
||||
}
|
@ -1,550 +0,0 @@
|
||||
#w3tc_lightbox_content .metabox-holder {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* make mismatch in popup resizing invisible, border shows them well */
|
||||
#w3tc_lightbox_content .postbox {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#overlay {
|
||||
background: #666;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
.ui-widget-overlay {
|
||||
background-color: #666;
|
||||
position: absolute;
|
||||
opacity: 0.6;
|
||||
top:0;
|
||||
left:0;
|
||||
}
|
||||
|
||||
.lightbox,.ui-dialog {
|
||||
position: absolute;
|
||||
background: #fdfdfd;
|
||||
padding: 20px;
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
-moz-border-radius: 11px;
|
||||
}
|
||||
|
||||
.lightbox h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.lightbox-close,.ui-dialog-titlebar-close {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
text-decoration: underline;
|
||||
right: 20px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.lightbox-loader {
|
||||
background: url(../img/wpspin_light.gif) no-repeat center center;
|
||||
}
|
||||
|
||||
.lightbox-content {
|
||||
position: relative;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
#recom_container {
|
||||
top: 90px;
|
||||
bottom: 120px;
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#recom_container_bottom {
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#recom_container_bottom p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#recom_container_bottom fieldset {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
th.minify-files-add, td.minify-files-add {
|
||||
width: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#w3tc-self-test {
|
||||
top: 170px;
|
||||
bottom: 40px;
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#w3tc-self-test ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#w3tc-self-test-bottom {
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.w3tc-self-test-hint {
|
||||
font-size: 0.8em;
|
||||
font-style: italic;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/**
|
||||
###################
|
||||
## Overlays
|
||||
###################
|
||||
*/
|
||||
.w3tc-overlay {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.w3tc-overlay .content {
|
||||
padding: 10px 10px 10px 10px;
|
||||
}
|
||||
.w3tc-overlay p, .w3tc-overlay label, .w3tc-overlay option {
|
||||
font-family:Arial, Verdana,sans-serif;
|
||||
}
|
||||
|
||||
.w3tc-overlay p {
|
||||
line-height: 1.72222;
|
||||
margin: 0 0 15px;
|
||||
}
|
||||
|
||||
.w3tc-overlay label {
|
||||
line-height: 1.9986363100000002em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.w3tc-overlay .btn {
|
||||
border: none;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
line-height: 1.4;
|
||||
border-radius: 4px;
|
||||
padding: 10px 15px;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
-webkit-transition: 0.25s linear;
|
||||
transition: 0.25s linear;
|
||||
color: #ffffff;
|
||||
}
|
||||
.w3tc-overlay .btn:hover,
|
||||
.w3tc-overlay .btn:focus {
|
||||
color: #ffffff;
|
||||
}
|
||||
.w3tc-overlay .btn:active,
|
||||
.w3tc-overlay .btn.active {
|
||||
outline: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.w3tc-overlay .btn.disabled,
|
||||
.w3tc-overlay .btn[disabled],
|
||||
fieldset[disabled] .btn {
|
||||
background-color: #bdc3c7;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
opacity: 0.7;
|
||||
filter: alpha(opacity=70);
|
||||
}
|
||||
.w3tc-overlay .btn > [class^="fui-"] {
|
||||
margin: 0 1px;
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
top: 1px;
|
||||
}
|
||||
.w3tc-overlay .btn-xs.btn > [class^="fui-"] {
|
||||
font-size: 11px;
|
||||
top: 0;
|
||||
}
|
||||
.w3tc-overlay .btn-hg.btn > [class^="fui-"] {
|
||||
top: 2px;
|
||||
}
|
||||
.w3tc-overlay .btn-default {
|
||||
color: #ffffff;
|
||||
background-color: #bdc3c7;
|
||||
}
|
||||
|
||||
.w3tc-overlay .btn-primary {
|
||||
color: #ffffff;
|
||||
background-color: #1abc9c;
|
||||
}
|
||||
|
||||
#w3tc-support-us ul {margin:0;padding:0;}
|
||||
#w3tc-support-us li { display: inline-block; margin-right: 15px;}
|
||||
.w3tc-overlay .image {
|
||||
/*background-color: transparent; /* make the button transparent */
|
||||
background-repeat: no-repeat; /* make the background image appear only once */
|
||||
background-position: 10px 6px; /* equivalent to 'top left' */
|
||||
border: none; /* assuming we don't want any borders */
|
||||
cursor: pointer; /* make the cursor like hovering over an <a> element */
|
||||
padding-left: 16px; /* make text start to the right of the image */
|
||||
vertical-align: middle; /* align the text vertically centered */
|
||||
}
|
||||
.w3tc-overlay .w3tc-support-us h3 {
|
||||
font-size: 16pt;
|
||||
}
|
||||
.w3tc-overlay .font-palette-dark-skies {
|
||||
color:#666
|
||||
}
|
||||
.w3tc-overlay .btn {
|
||||
border-bottom:solid 2px #000;
|
||||
font-weight:bolder;
|
||||
|
||||
}
|
||||
.w3tc-overlay .form-control.w3tc-size {
|
||||
height:32px;
|
||||
line-height:26px;
|
||||
margin:0;
|
||||
padding:0 5px 0 5px;
|
||||
}
|
||||
|
||||
.w3tc-overlay input[type=button] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.w3tc-overlay input[type=text].form-control {
|
||||
width:425px;
|
||||
}
|
||||
.w3tc-overlay select.w3tc-size {
|
||||
height:32px;
|
||||
width:250px;
|
||||
margin:0;
|
||||
padding:0px 5px 0px 5px;
|
||||
font-weight: normal;
|
||||
border: 2px solid #bdc3c7;
|
||||
color: #34495e;
|
||||
font-size: 15px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-transition: border .25s linear, color .25s linear, background-color .25s linear;
|
||||
transition: border .25s linear, color .25s linear, background-color .25s linear;
|
||||
}
|
||||
|
||||
.w3tc-overlay .btn.w3tc-size {
|
||||
margin:0;
|
||||
padding:5px 10px 5px 10px;
|
||||
}
|
||||
.w3tc-overlay .btn.palette-light-grey {
|
||||
background-color: #cccccc;
|
||||
border-bottom-color: #aeaeae;
|
||||
}
|
||||
.w3tc-overlay .btn-default.palette-twitter:active,
|
||||
.w3tc-overlay .btn-default.palette-twitter.active,
|
||||
.w3tc-overlay .btn.palette-twitter {
|
||||
background-color: #00acee;
|
||||
color: #fff;
|
||||
border-bottom-color: #0092cb;
|
||||
padding:5px 10px 5px 37px;
|
||||
background-image: url(../img/overlay/twitter-bird-dark-bgs.png);
|
||||
}
|
||||
.w3tc-overlay .btn-default.palette-wordpress:active,
|
||||
.w3tc-overlay .btn-default.palette-wordpress.active,
|
||||
.w3tc-overlay .btn.palette-wordpress{
|
||||
background-color: #1585b6;
|
||||
color: #fff;
|
||||
border-bottom-color: #12719b;
|
||||
padding:5px 10px 5px 37px;
|
||||
background-image: url(../img/overlay/wordpress-logo-simplified-rgb.png);
|
||||
}
|
||||
.w3tc-overlay .btn.save:active,
|
||||
.w3tc-overlay .btn.save.active,
|
||||
.w3tc-overlay .btn.save {
|
||||
background-position: 10px 5px; /* equivalent to 'top left' */
|
||||
padding:5px 10px 5px 37px;
|
||||
background-image: url(../img/overlay/save-close.png);
|
||||
}
|
||||
|
||||
.w3tc-overlay .btn.secure:active,
|
||||
.w3tc-overlay .btn.secure.active,
|
||||
.w3tc-overlay .btn.secure {
|
||||
background-position: 10px 5px; /* equivalent to 'top left' */
|
||||
padding:5px 10px 5px 37px;
|
||||
background-image: url(../img/overlay/save-close.png);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.w3tc-overlay btn.palette-turquoise {
|
||||
border-bottom-color: #1abc9c;
|
||||
}
|
||||
|
||||
.w3tc-overlay input[type=checkbox].css-checkbox {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
height:1px;
|
||||
width:1px;
|
||||
margin:-1px;
|
||||
padding:0;
|
||||
border:0;
|
||||
}
|
||||
|
||||
.w3tc-overlay input[type=checkbox].css-checkbox + label.css-label {
|
||||
padding-left:20px;
|
||||
height:17px;
|
||||
display:inline-block;
|
||||
line-height:18px;
|
||||
background-repeat:no-repeat;
|
||||
background-position: 0 0;
|
||||
font-size:15px;
|
||||
vertical-align:middle;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.w3tc-overlay input[type=checkbox].css-checkbox:checked + label.css-label {
|
||||
background-position: 0 -17px;
|
||||
}
|
||||
|
||||
.w3tc-overlay .css-label{ background-image:url(../img/overlay/gray-check.png); }
|
||||
.w3tc-overlay {
|
||||
position: absolute;
|
||||
background: #fdfdfd;
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 6px;
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
}
|
||||
|
||||
.w3tc-overlay header {
|
||||
background-color: #f3f3f3;
|
||||
color: #cacaca;
|
||||
height:20px;
|
||||
border-bottom: dashed 1px #c0c0c0;
|
||||
|
||||
border-top-left-radius: 6px;
|
||||
border-top-right-radius: 6px;
|
||||
-webkit-border-top-left-radius: 6px;
|
||||
-webkit-border-top-right-radius: 6px;
|
||||
|
||||
-moz-border-top-left-radius: 6px;
|
||||
-moz-border-top-right-radius: 6px;
|
||||
}
|
||||
|
||||
.w3tc-overlay #w3tc-support-us header {
|
||||
height:100px;
|
||||
background-repeat:no-repeat;
|
||||
background-position: 10px 7px;
|
||||
background-image: url(../img/overlay/ceo.png);
|
||||
}
|
||||
|
||||
.w3tc-overlay #w3tc-support-us header h2, header h3 {
|
||||
margin:0;padding:0;
|
||||
}
|
||||
.w3tc-overlay #w3tc-support-us header div.left h2 {
|
||||
font-size:20px;
|
||||
color: #7b7b7b;
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.w3tc-overlay #w3tc-support-us header div.left {
|
||||
margin-top:10px;
|
||||
padding-right:20px;
|
||||
margin-left:110px;
|
||||
border-right:solid 2px #FFF;
|
||||
height:80px;
|
||||
}
|
||||
|
||||
.w3tc-overlay #w3tc-support-us div.right {
|
||||
margin-top: 5px;
|
||||
line-height: 100px;
|
||||
height: 100px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
.w3tc-overlay .w3tc-support-us header h3 {
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
.w3tc-overlay .palette-turquoise {
|
||||
background-color: #1abc9c;
|
||||
border-bottom-color: #16a085;
|
||||
}
|
||||
|
||||
.w3tc_signup_email {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.w3tc-overlay-logo {
|
||||
margin-top: -57px;
|
||||
height:57px;
|
||||
width:94px;
|
||||
background-repeat:no-repeat;
|
||||
background-position: 0 0;
|
||||
background-image: url(../img/overlay/overlay-logo.png);
|
||||
|
||||
}
|
||||
.w3tc-overlay .lightbox-close {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin-right: -20px;
|
||||
padding-top: 5px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 5px;
|
||||
background-image: url(../img/overlay/overlay-close.png);
|
||||
}
|
||||
|
||||
.w3tchelp_content {
|
||||
padding: 10px 20px 20px 20px;
|
||||
}
|
||||
|
||||
.w3tchelp_content li {
|
||||
font-family: Arial, Verdana,sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
/* isolated styles */
|
||||
.w3tc_overlay_footer {
|
||||
padding: 0 10px 10px 10px;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.w3tc_overlay_content {
|
||||
padding: 10px 10px 10px 10px;
|
||||
}
|
||||
.w3tc_overlay_upgrade_header {
|
||||
background-color: #f3f3f3;
|
||||
color: #cacaca;
|
||||
height: calc(100% - 80px);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.w3tc_overlay_upgrade_content_l {
|
||||
width: 290px;
|
||||
float:left;
|
||||
}
|
||||
.w3tc_overlay_upgrade_content_r {
|
||||
width: calc(100% - 310px);
|
||||
padding-left: 20px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.w3tc_overlay_upgrade_description {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.w3tc_overlay_upgrade_left_h {
|
||||
font-weight: bold;
|
||||
font-size: 1.4em;
|
||||
float: left;
|
||||
margin: 1em 0;
|
||||
color: #23282d;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.w3tc_overlay_upgrade_right_h {
|
||||
font-weight: bold;
|
||||
float: right;
|
||||
margin: 1em 0;
|
||||
color: #23282d;
|
||||
font-size: 2.0em;
|
||||
}
|
||||
|
||||
.w3tc_overlay_upgrade_right_text {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.w3tc_change_label {
|
||||
color:black;
|
||||
font-weight:inherit;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
.w3tc_overlay_upgrade_content_l {
|
||||
display: none;
|
||||
}
|
||||
.w3tc_overlay_upgrade_content_r {
|
||||
width: inherit;
|
||||
padding: none;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Colors.
|
||||
*/
|
||||
|
||||
/* "tp" is Turquoise Pearl, courtesty of https://hexcolor.co/hex/30bec4. */
|
||||
input.w3tc-palette-tp,
|
||||
a.w3tc-palette-tp {
|
||||
background-color: #30bec4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* A button with an icon gauge to the right. */
|
||||
#w3tc_upgrade_header .w3tc-gauge-tp {
|
||||
background-image: url(../img/overlay/gauge-bg-tp.png);
|
||||
background-position: calc(100% - 15px) center;
|
||||
background-repeat: no-repeat;
|
||||
text-decoration: none;
|
||||
padding: 7px 60px 7px 12px;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Upgrade modal.
|
||||
*/
|
||||
|
||||
#w3tc-upgrade {
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* The close button will be different for the upgrade modal. */
|
||||
.w3tc-overlay-upgrade .lightbox-close {
|
||||
border-radius: 50%;
|
||||
padding: 0;
|
||||
background-position: 8px;
|
||||
margin: 0;
|
||||
top: -12px;
|
||||
right: -12px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
#w3tc_upgrade_header {
|
||||
display: flex;
|
||||
background: #000;
|
||||
border-bottom: 5px solid #30bec4;
|
||||
color: #fff;
|
||||
height: 75px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#w3tc_upgrade_header > div {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#w3tc_upgrade_header > div:first-child div {
|
||||
position: absolute;
|
||||
top: 17px;
|
||||
left: 90px;
|
||||
font-size: 20px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
/* Go faster now button. It could be an anchor or an input. */
|
||||
#w3tc_upgrade_header > div:nth-child(2) > *:first-child {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 90px;
|
||||
}
|
||||
|
||||
/* Ensure a consistent background with the iframe and the modal elements. */
|
||||
.w3tc-overlay-upgrade,
|
||||
.w3tc_overlay_upgrade_header,
|
||||
.w3tc-overlay-upgrade .lightbox-close {
|
||||
background-color: #f1f1f1;
|
||||
}
|
@ -1,322 +0,0 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1em;
|
||||
background: #fff;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body, td, textarea, input, select {
|
||||
font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: normal;
|
||||
font-size: 23px;
|
||||
line-height: 29px;
|
||||
margin: 0 0 1em 0;
|
||||
text-shadow: 0 1px 0 #FFFFFF;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #21759B;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #D54E21;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.button, input[type="button"], input[type="submit"] {
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
background: #f2f2f2 url(../img/white-grad.png) repeat-x scroll left top;
|
||||
border: 1px solid #bbb;
|
||||
color: #464646;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
cursor: pointer;
|
||||
padding: 2px 8px;
|
||||
border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
-moz-border-radius: 11px;
|
||||
}
|
||||
|
||||
.button:hover, input[type="button"]:hover, input[type="submit"]:hover {
|
||||
border-color: #666;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.button:active, input[type="button"]:active, input[type="submit"]:active {
|
||||
background: #F2F2F2 url(../img/white-grad-active.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
input.button-primary {
|
||||
background: url(../img/button-grad.png) repeat-x scroll left top #21759B;
|
||||
border-color: #298CBA;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
input.button-primary:active, button.button-primary:active, a.button-primary:active {
|
||||
background: url(../img/button-grad-active.png) repeat-x scroll left top #21759B;
|
||||
color: #EAF2FA;
|
||||
}
|
||||
|
||||
input.button-primary:hover, button.button-primary:hover, a.button-primary:hover, a.button-primary:focus, a.button-primary:active {
|
||||
border-color: #13455B;
|
||||
color: #EAF2FA;
|
||||
}
|
||||
|
||||
.log {
|
||||
border: 1px solid #464646;
|
||||
height: 279px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.log div {
|
||||
padding: 3px;
|
||||
border-bottom: 1px solid #464646;
|
||||
}
|
||||
|
||||
.log-success {
|
||||
background: #bfb;
|
||||
}
|
||||
|
||||
.log-error {
|
||||
background: #f99;
|
||||
}
|
||||
|
||||
.empty {
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.table td, th {
|
||||
border: 1px solid #ccc;
|
||||
padding: 3px 2px;
|
||||
}
|
||||
|
||||
.table th {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.queue td {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.updated, .error {
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid;
|
||||
padding: 0 0.6em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.updated {
|
||||
background: #ffffe0;
|
||||
border-color: #e6db55;
|
||||
}
|
||||
|
||||
.error {
|
||||
background-color: #ffebe8;
|
||||
border-color: #cc0000;
|
||||
}
|
||||
|
||||
.updated p, .error p {
|
||||
line-height: 1;
|
||||
margin: 0.5em 0;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.tab-selected {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.rules {
|
||||
width: 100%;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.ps-rules {
|
||||
margin: 1em 0;
|
||||
background: #fff url(../img/ps_bar.gif) repeat-y;
|
||||
}
|
||||
|
||||
.ps-rules a {
|
||||
color: #00f;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ps-rules li,
|
||||
.ps-rules p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ps-rule {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.ps-rule {
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.ps-rule:hover {
|
||||
background: #eee url(../img/ps_bar.gif) repeat-y;
|
||||
}
|
||||
|
||||
.ps-icon {
|
||||
width: 31px;
|
||||
height: 20px;
|
||||
position: relative;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ps-icon div {
|
||||
display: block;
|
||||
background: url(../img/ps_scores.png);
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
left: 8px;
|
||||
}
|
||||
|
||||
.ps-priority-high .ps-icon div {
|
||||
background-position: 0;
|
||||
}
|
||||
|
||||
.ps-priority-medium .ps-icon div {
|
||||
background-position: -14px;
|
||||
}
|
||||
|
||||
.ps-priority-low .ps-icon div {
|
||||
background-position: -28px;
|
||||
}
|
||||
|
||||
.ps-expand {
|
||||
float: left;
|
||||
width: 30px;
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ps-expand a {
|
||||
color: #66d;
|
||||
}
|
||||
|
||||
.ps-expander {
|
||||
display: none;
|
||||
background: #fff url(../img/ps_grad.gif) repeat-x;
|
||||
margin-left: 31px;
|
||||
padding: 10px 0 10px 30px;
|
||||
}
|
||||
|
||||
.ps-blocks {
|
||||
}
|
||||
|
||||
.ps-block p {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.ps-urls {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.ps-url {
|
||||
list-style: disc inside;
|
||||
}
|
||||
|
||||
.media-item .filename {
|
||||
line-height: 36px;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
}
|
||||
.media-item {
|
||||
min-height: 36px;
|
||||
position: relative;
|
||||
margin-top: -1px;
|
||||
width: 100%;
|
||||
}
|
||||
.progress {
|
||||
line-height: 2em;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
margin-bottom: 2px;
|
||||
border: 1px solid #d1d1d1;
|
||||
background: #f7f7f7;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#f7f7f7));
|
||||
background-image: -webkit-linear-gradient(bottom, #fff, #f7f7f7);
|
||||
background-image: -moz-linear-gradient(bottom, #fff, #f7f7f7);
|
||||
background-image: -o-linear-gradient(bottom, #fff, #f7f7f7);
|
||||
background-image: linear-gradient(to top, #fff, #f7f7f7);
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.bar {
|
||||
z-index: 9;
|
||||
width: 0;
|
||||
background-color: #8cc1e9;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, from(#72a7cf), to(#8cc1e9));
|
||||
background-image: -webkit-linear-gradient(bottom, #72a7cf, #8cc1e9);
|
||||
background-image: -moz-linear-gradient(bottom, #72a7cf, #8cc1e9);
|
||||
background-image: -o-linear-gradient(bottom, #72a7cf, #8cc1e9);
|
||||
background-image: linear-gradient(to top, #72a7cf, #8cc1e9);
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
|
||||
box-shadow: 0 0 3px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.progress .percent {
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
width: 200px;
|
||||
padding: 0 8px;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.4);
|
||||
color: rgba(0,0,0,0.6);
|
||||
}
|
||||
|
||||
.original {
|
||||
position: relative;
|
||||
height: 34px;
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
.w3tc-setupguide-table th,
|
||||
.w3tc-setupguide-table td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#w3tc-dbc-table th,
|
||||
#w3tc-objcache-table th,
|
||||
#w3tc-browsercache-table td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.w3tc-option-disabled {
|
||||
color: darkgray;
|
||||
}
|
||||
|
||||
#w3tc-browsercache-table tr {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.w3tc-option-recommended {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#w3tc-options-menu {
|
||||
max-width: 155px;
|
||||
}
|
||||
|
||||
#w3tc-options-menu li {
|
||||
hyphens: auto;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
p#w3tc-breadcrumb {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.w3tc-wizard-slides p {
|
||||
line-height: 1.2em !important;
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
.w3tc-manual-link {
|
||||
background-color: #efefef;
|
||||
}
|
||||
.w3tc-manual-link p {
|
||||
margin: 10px;
|
||||
padding:0;
|
||||
font-size:12px;
|
||||
}
|
||||
#w3tc-dashboard-widgets ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#w3tc-dashboard-widgets li {
|
||||
list-style-type: none;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets ul.w3tc-visible-ul li {
|
||||
list-style-type: disc;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets #normal-sortables #w3tc_spreadtheword label{
|
||||
display: block;
|
||||
width: 70px;
|
||||
float: left;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets h3.hndle img {
|
||||
vertical-align: middle;
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
.w3tc_generic_widgetservice_label {
|
||||
font-weight: bold;
|
||||
margin-left: 10px;
|
||||
display: inline-block;
|
||||
width: 270px;
|
||||
}
|
||||
|
||||
.w3tc_generic_widgetservice_radio_outer {
|
||||
float: left;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
#w3tc_spreadtheword .inside {
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
#w3tc_services p {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets #normal-sortables .postbox {
|
||||
width:360px;
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets #side-sortables .postbox {
|
||||
border:none;
|
||||
box-shadow:none;
|
||||
-webkit-box-shadow: none;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets .handle-actions {
|
||||
display: none; /* WP 5.5 - Dashboard widget reordering not working, so disable. */
|
||||
}
|
||||
|
||||
#w3tc-dashboard-widgets .hndle {
|
||||
display: block; /* WP 5.5 */
|
||||
}
|
||||
|
||||
#postbox-container-right {
|
||||
width: 196px;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin-left: -200px;
|
||||
}
|
||||
#w3tc-dashboard-widgets #postbox-container-3 {
|
||||
width: 100%;white-space: normal;
|
||||
}
|
||||
.w3tc-enabled {
|
||||
color: #090;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.w3tc-disabled {
|
||||
color: #f00;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
#normal-sortables #w3tc_new_relic {
|
||||
width: 360px;
|
||||
}
|
@ -1,199 +0,0 @@
|
||||
/* Main container */
|
||||
|
||||
#w3tc-wizard-container {
|
||||
background: #fff;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
|
||||
/* Header */
|
||||
|
||||
#w3tc_wizard_header {
|
||||
background: #0e1920;
|
||||
border-bottom: 6px solid #cdeae7;
|
||||
height: 6em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/* Main title */
|
||||
|
||||
#w3tc_wizard_title {
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Title text: "TOTAL CACHE:" */
|
||||
|
||||
#w3tc_wizard_title>span:nth-of-type(1),
|
||||
#w3tc_wizard_title>span:nth-of-type(2),
|
||||
#w3tc_wizard_title>span:nth-of-type(3) {
|
||||
font-size: 2.5em;
|
||||
}
|
||||
|
||||
|
||||
/* Title text: "CACHE" */
|
||||
|
||||
#w3tc_wizard_title>span:nth-of-type(2) {
|
||||
color: #30bec4;
|
||||
}
|
||||
|
||||
|
||||
/* Title text: "$this->config['title']" */
|
||||
|
||||
#w3tc_wizard_title>span:nth-of-type(4) {
|
||||
font-size: 2.1em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
/* Wizard icon (w3 cube with shadow) */
|
||||
|
||||
#w3tc_wizard_icon {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: -2px;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Left nav / steps.
|
||||
*/
|
||||
|
||||
ul#w3tc-options-menu {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 30px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#w3tc-options-menu li {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
#w3tc-options-menu li:last-of-type {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
|
||||
/* Active step */
|
||||
|
||||
#w3tc-options-menu li.is-active {
|
||||
background-color: #0073aa;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
/* Wizard content */
|
||||
|
||||
#w3tc_wizard_content {
|
||||
background-image: url(../img/moon-bottom-left.png), url(../img/moon-bottom-right.png);
|
||||
background-size: 15% !Important;
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
background-position: bottom left, bottom right;
|
||||
background-size: auto, auto 60%;
|
||||
min-height: 545px;
|
||||
padding-right: 160px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/* Wizard content slides */
|
||||
|
||||
#w3tc_wizard_content .w3tc-wizard-slides {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
|
||||
/* Footer */
|
||||
|
||||
#w3tc_wizard_footer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* Buttons */
|
||||
|
||||
#w3tc-wizard-buttons {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#w3tc-wizard-buttons>span {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
||||
/* All buttons. */
|
||||
|
||||
#w3tc-wizard-buttons>span>button {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
padding: 10px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
/* Next and Dashboard buttons. */
|
||||
|
||||
#w3tc-wizard-next:enabled,
|
||||
#w3tc-wizard-dashboard {
|
||||
background-color: #825772;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
/* Miscellaneous */
|
||||
|
||||
#w3tc_wizard_title,
|
||||
#w3tc_wizard_content {
|
||||
padding-left: 160px;
|
||||
}
|
||||
|
||||
.w3tc-overlay {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* Spinner */
|
||||
|
||||
.spinner.inline {
|
||||
float: none;
|
||||
visibility: visible;
|
||||
vertical-align: top;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.spinner.spinner-left {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
|
||||
/* Notices */
|
||||
|
||||
.w3tc-notice-recommended {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.w3tc-notice-recommended .dashicons-lightbulb {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
#w3tc-dbcache-recommended {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
|
||||
/* Tables */
|
||||
|
||||
.widefat thead th,
|
||||
.widefat td {
|
||||
line-height: 1em;
|
||||
}
|
@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 16 16"><defs><path id="bEaEbzNdf" d="M10.39 6.69C10.79 6.9 11.26 6.9 11.67 6.7C12.35 6.36 13.75 5.68 14.43 5.34C14.71 5.2 14.71 4.8 14.43 4.65C13.12 3.96 9.87 2.25 8.56 1.57C8.11 1.33 7.57 1.3 7.09 1.49C6.33 1.8 4.85 2.4 4.11 2.7C3.78 2.84 3.76 3.29 4.07 3.46C5.46 4.17 8.97 5.96 10.39 6.69Z"/><path id="aSR8reqKk" d="M9.02 14.58C8.7 14.76 8.33 14.45 8.46 14.11C8.97 12.77 10.26 9.32 10.81 7.87C10.92 7.57 11.13 7.33 11.41 7.19C12.17 6.8 13.89 5.92 14.62 5.54C14.83 5.44 15.06 5.64 14.99 5.86C14.55 7.17 13.45 10.49 13.02 11.79C12.89 12.19 12.62 12.53 12.25 12.73C11.42 13.21 9.78 14.15 9.02 14.58Z"/><path id="b5dPBHXJfL" d="M3.95 3.7L10.24 6.91L10.39 7.01L10.5 7.13L10.58 7.28L10.62 7.45L10.62 7.62L10.58 7.79L8.23 14.02L8.14 14.18L8.02 14.3L7.87 14.37L7.7 14.41L7.53 14.39L7.36 14.33L1.64 10.97L1.39 10.78L1.2 10.55L1.07 10.28L1 9.99L1 9.68L1.07 9.38L3.04 4.06L3.13 3.89L3.26 3.76L3.42 3.67L3.59 3.63L3.77 3.64L3.95 3.7ZM3.76 9.39L4.66 8.34L4.66 9.93L5.06 10.11L6.23 8.91L7.38 9.51L6.79 9.86L6.91 10.05L6.98 10.2L7.02 10.33L7.01 10.42L6.95 10.49L6.84 10.53L6.74 10.51L6.62 10.43L6.48 10.29L6.3 10.11L6.15 10.11L6.01 10.1L5.89 10.1L5.79 10.11L5.7 10.11L6.1 10.65L6.47 11.04L6.82 11.27L7.15 11.35L7.45 11.28L7.76 11.03L7.88 10.74L7.86 10.47L7.75 10.24L7.61 10.11L7.7 10.04L7.82 9.94L7.97 9.82L8.17 9.68L8.39 9.51L6.18 8.19L5.22 9.16L5.13 7.66L4.73 7.44L3.9 8.42L3.9 6.9L3.28 6.58L3.28 9.09L3.76 9.39Z"/></defs><g><g><g><use fill="#000" fill-opacity="1" opacity="1" xlink:href="#bEaEbzNdf"/></g><g><use fill="#000" fill-opacity="1" opacity="1" xlink:href="#aSR8reqKk"/></g><g><use fill="#000" fill-opacity="1" opacity="1" xlink:href="#b5dPBHXJfL"/></g></g></g></svg>
|
Before Width: | Height: | Size: 1.8 KiB |
@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"><metadata>Generated by IcoMoon</metadata><defs><font id="w3tc" horiz-adv-x="1024"><font-face ascent="960" descent="-64" units-per-em="1024"/><glyph horiz-adv-x="512"/><glyph d="M664.96 531.84c25.6-13.44 55.68-13.44 81.92-0.64 43.52 21.76 133.12 65.28 176.64 87.040 17.92 8.96 17.92 34.56 0 44.16-83.84 44.16-291.84 153.6-375.68 197.12-28.8 15.36-63.36 17.28-94.080 5.12-48.64-19.84-143.36-58.24-190.72-77.44-21.12-8.96-22.4-37.76-2.56-48.64 88.96-45.44 313.6-160 404.48-206.72zM577.28 26.88c-20.48-11.52-44.16 8.32-35.84 30.080 32.64 85.76 115.2 306.56 150.4 399.36 7.040 19.2 20.48 34.56 38.4 43.52 48.64 24.96 158.72 81.28 205.44 105.6 13.44 6.4 28.16-6.4 23.68-20.48-28.16-83.84-98.56-296.32-126.080-379.52-8.32-25.6-25.6-47.36-49.28-60.16-53.12-30.72-158.080-90.88-206.72-118.4zM252.8 723.2l402.56-205.44 9.6-6.4 7.040-7.68 5.12-9.6 2.56-10.88v-10.88l-2.56-10.88-150.4-398.72-5.76-10.24-7.68-7.68-9.6-4.48-10.88-2.56-10.88 1.28-10.88 3.84-366.080 215.040-16 12.16-12.16 14.72-8.32 17.28-4.48 18.56v19.84l4.48 19.2 126.080 340.48 5.76 10.88 8.32 8.32 10.24 5.76 10.88 2.56 11.52-0.64 11.52-3.84zM240.64 359.040l57.6 67.2v-101.76l25.6-11.52 74.88 76.8 73.6-38.4-37.76-22.4 7.68-12.16 4.48-9.6 2.56-8.32-0.64-5.76-3.84-4.48-7.040-2.56-6.4 1.28-7.68 5.12-20.48 20.48h-9.6l-8.96 0.64h-7.68l-6.4-0.64h-5.76l25.6-34.56 23.68-24.96 22.4-14.72 21.12-5.12 19.2 4.48 19.84 16 7.68 18.56-1.28 17.28-7.040 14.72-8.96 8.32 5.76 4.48 7.68 6.4 9.6 7.68 12.8 8.96 14.080 10.88-141.44 84.48-61.44-62.080-5.76 96-25.6 14.080-53.12-62.72v97.28l-39.68 20.48v-160.64l30.72-19.2z" glyph-name="menu-icon" unicode="A"/></font></defs></svg>
|
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 86 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 136 B |
Before Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 397 B |
Before Width: | Height: | Size: 38 B |
Before Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 120 B |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 4.9 KiB |
@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="149px" height="43px" viewBox="0 0 149 43" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 59 (86127) - https://sketch.com -->
|
||||
<title>bunnynet-light</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<linearGradient x1="29.4352883%" y1="45.3176687%" x2="80.6309178%" y2="58.7602308%" id="linearGradient-1">
|
||||
<stop stop-color="#FEBE2D" offset="0%"></stop>
|
||||
<stop stop-color="#F85E23" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="-33.9398264%" y1="50.04095%" x2="153.690572%" y2="50.04095%" id="linearGradient-2">
|
||||
<stop stop-color="#FBAA19" offset="0%"></stop>
|
||||
<stop stop-color="#EF3E23" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="32.8908646%" y1="96.6666487%" x2="67.1130842%" y2="3.11111053%" id="linearGradient-3">
|
||||
<stop stop-color="#F78D1E" offset="0%"></stop>
|
||||
<stop stop-color="#F37121" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="14.4028408%" y1="75.177305%" x2="63.2274953%" y2="12.4480313%" id="linearGradient-4">
|
||||
<stop stop-color="#FEBE2D" offset="0%"></stop>
|
||||
<stop stop-color="#F04E23" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="69.8803244%" y1="3.21352923%" x2="33.1012862%" y2="81.5809617%" id="linearGradient-5">
|
||||
<stop stop-color="#EA4425" offset="0%"></stop>
|
||||
<stop stop-color="#FDBB27" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="-40.1271778%" y1="49.9893198%" x2="144.708119%" y2="49.9893198%" id="linearGradient-6">
|
||||
<stop stop-color="#F47920" offset="0%"></stop>
|
||||
<stop stop-color="#E93825" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="-143.227273%" y1="49.9166667%" x2="243.363636%" y2="49.9166667%" id="linearGradient-7">
|
||||
<stop stop-color="#FDCA0B" offset="0%"></stop>
|
||||
<stop stop-color="#F5841F" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="39.6769732%" y1="-25.0126839%" x2="63.8868118%" y2="131.608321%" id="linearGradient-8">
|
||||
<stop stop-color="#E73C25" offset="0%"></stop>
|
||||
<stop stop-color="#FAA21B" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="-562.993864%" y1="49.9979816%" x2="562.904684%" y2="49.9979816%" id="linearGradient-9">
|
||||
<stop stop-color="#FDBA12" offset="0%"></stop>
|
||||
<stop stop-color="#F7921E" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
<linearGradient x1="1.98261285%" y1="41.5011038%" x2="106.167127%" y2="60.0441501%" id="linearGradient-10">
|
||||
<stop stop-color="#FEBE2D" offset="0%"></stop>
|
||||
<stop stop-color="#F04E23" offset="100%"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="bunnynet-light">
|
||||
<path d="M125.05,30.91 C124.518166,30.9565037 124.096504,31.3781664 124.05,31.91 C123.97,32.5 124.29,32.91 124.8,32.91 C125.328244,32.855872 125.745872,32.438244 125.8,31.91 C125.869942,31.6721932 125.822688,31.4152993 125.672701,31.2179474 C125.522713,31.0205954 125.287851,30.9062836 125.04,30.91 L125.05,30.91 Z M132.41,25.2 C131.302177,25.175309 130.263866,25.7382026 129.68,26.68 L129.88,25.28 L128.17,25.28 L127.08,32.81 L128.79,32.81 L129.33,29.11 C129.384558,27.9425258 130.313081,27.0053651 131.48,26.94 C132.48,26.94 132.95,27.59 132.8,28.64 L132.2,32.81 L133.92,32.81 L134.6,28.11 C134.86,26.32 134.03,25.2 132.41,25.2 L132.41,25.2 Z M139.62,25.2 C137.461113,25.2377633 135.678985,26.8990689 135.49,29.05 C135.17,31.31 136.37,32.86 138.56,32.86 C139.738178,32.8729989 140.871234,32.407508 141.7,31.57 L140.93,30.57 C140.395352,31.0955617 139.679582,31.3961851 138.93,31.41 C138.464676,31.4352649 138.00996,31.2649522 137.675728,30.9402155 C137.341496,30.6154788 137.158153,30.1658589 137.17,29.7 L142.36,29.7 C142.93,26.96 142.11,25.23 139.64,25.23 L139.62,25.2 Z M137.29,28.44 C137.497188,27.4117835 138.381857,26.6594015 139.43,26.62 C139.910353,26.570951 140.384163,26.7609266 140.697575,27.1282375 C141.010987,27.4955484 141.124031,27.9933518 141,28.46 L137.29,28.44 Z M147.12,31 C146.812403,31.1730344 146.471536,31.2787031 146.12,31.31 C145.66,31.31 145.42,31.07 145.52,30.31 L146.01,26.91 L148.01,26.91 L148.2,25.58 L146.2,25.58 L146.5,23.5 L144.81,23.5 L144.51,25.58 L143.51,25.58 L143.33,26.91 L144.33,26.91 L143.8,30.63 C143.57,32.18 144.39,32.89 145.54,32.89 C146.191356,32.8737148 146.826556,32.683845 147.38,32.34 L147.12,31 Z" id="Shape" fill="url(#linearGradient-1)"></path>
|
||||
<path d="M44.62,22.83 C45.1588263,22.8259486 45.6468532,23.1474113 45.8558665,23.6440637 C46.0648797,24.1407162 45.9535722,24.7144053 45.5739942,25.0968589 C45.1944162,25.4793125 44.6215835,25.5949465 44.1233677,25.3896875 C43.625152,25.1844284 43.3,24.6988415 43.3,24.16 C43.3,23.4293489 43.8893695,22.8354936 44.62,22.83 L44.62,22.83 Z M57.83,19.14 C58.9551033,18.281581 60.3250401,17.8050813 61.74,17.78 C63.4161637,17.7558263 65.0194182,18.464326 66.13,19.72 C67.4152379,21.3588232 67.9161107,23.4793065 67.5,25.52 C67.1623114,28.9990404 64.8129084,31.9553726 61.5,33.07 C60.8263376,33.2600615 60.1299562,33.3576222 59.43,33.36 C57.8816051,33.4313238 56.4050754,32.7024996 55.52,31.43 L55.34,32.71 C55.3164857,32.8301195 55.2123754,32.9175722 55.09,32.92 L52,32.92 C51.9355875,32.924029 51.8728997,32.8982164 51.83,32.85 C51.8055468,32.7924915 51.8055468,32.7275085 51.83,32.67 L52.9,25.29 L48.9,25.29 C48.2781817,25.284569 47.775431,24.7818183 47.77,24.16 L47.77,24.16 C47.7575313,23.5562663 48.2180121,23.0475446 48.82,23 L57.44,23 C56.8400906,23.7351644 56.4527724,24.6204631 56.32,25.56 C56.01,27.71 57.08,29.72 59.41,29.72 C61.7284521,29.610167 63.621276,27.8276871 63.87,25.52 L63.87,25.52 C64.17,23.41 62.96,21.41 60.72,21.41 L50.89,21.41 C50.2643041,21.4045112 49.7599759,20.89572 49.76,20.27 L49.76,20.27 C49.765431,19.6481817 50.2681817,19.145431 50.89,19.14 L53.74,19.14 L54.55,13.48 C54.5735143,13.3598805 54.6776246,13.2724278 54.8,13.27 L58,13.27 C58.0602316,13.2724121 58.11735,13.2974014 58.16,13.34 C58.1844532,13.3975085 58.1844532,13.4624915 58.16,13.52 L57.35,19.14 L57.83,19.14 Z M77.39,31.62 C76.3368829,32.7860409 74.8199241,33.4236033 73.25,33.36 C69.31,33.36 68.25,30.47 68.74,27.05 L70,18.44 C70.0228017,18.3178878 70.1259798,18.2270911 70.25,18.22 L73.4,18.22 C73.4625924,18.2214819 73.521259,18.2508153 73.56,18.3 C73.5839618,18.3541336 73.5839618,18.4158664 73.56,18.47 L72.44,26.22 C72.18,28.06 72.44,29.72 74.59,29.71 C76.74,29.7 77.59,28.23 77.92,26.29 L79.05,18.44 C79.0728017,18.3178878 79.1759798,18.2270911 79.3,18.22 L82.47,18.22 C82.5325924,18.2214819 82.591259,18.2508153 82.63,18.3 C82.6539618,18.3541336 82.6539618,18.4158664 82.63,18.47 L80.63,32.71 C80.6064857,32.8301195 80.5023754,32.9175722 80.38,32.92 L77.38,32.92 C77.3155875,32.924029 77.2528997,32.8982164 77.21,32.85 C77.1686193,32.7997753 77.1504517,32.7343716 77.16,32.67 L77.31,31.62 L77.39,31.62 Z M88.25,19.51 C89.3060183,18.3610798 90.8103096,17.7294235 92.37,17.78 C96.28,17.78 97.37,20.66 96.85,24.12 L95.61,32.71 C95.5947951,32.8307149 95.491665,32.9209538 95.37,32.92 L92.2,32.92 C92.1384675,32.9240125 92.0788145,32.8979143 92.04,32.85 C91.9946134,32.8019485 91.9758988,32.7345759 91.99,32.67 L93.1,25 C93.36,23.19 93.17,21.47 90.98,21.48 C88.79,21.49 87.98,22.99 87.68,24.9 L86.54,32.76 C86.5208281,32.8785613 86.4200571,32.966736 86.3,32.97 L83.13,32.97 C83.0658326,32.9725973 83.0037338,32.9470272 82.96,32.9 C82.9343315,32.8427453 82.9343315,32.7772547 82.96,32.72 L84.96,18.49 C84.979274,18.3659182 85.0844746,18.2733416 85.21,18.27 L88.21,18.27 C88.2733359,18.2683216 88.3333412,18.2983242 88.37,18.35 C88.4153367,18.3939706 88.4343118,18.4584857 88.42,18.52 L88.27,19.52 L88.25,19.51 Z M103.14,19.51 C104.196018,18.3610798 105.70031,17.7294235 107.26,17.78 C111.17,17.78 112.26,20.66 111.74,24.12 L110.5,32.71 C110.480828,32.8285613 110.380057,32.916736 110.26,32.92 L107.09,32.92 C107.028468,32.9240125 106.968814,32.8979143 106.93,32.85 C106.884613,32.8019485 106.865899,32.7345759 106.88,32.67 L108,25 C108.26,23.19 108.07,21.47 105.88,21.48 C103.69,21.49 102.88,22.99 102.57,24.9 L101.44,32.76 C101.420828,32.8785613 101.320057,32.966736 101.2,32.97 L98,32.97 C97.9358326,32.9725973 97.8737338,32.9470272 97.83,32.9 C97.8043315,32.8427453 97.8043315,32.7772547 97.83,32.72 L99.83,18.49 C99.8485019,18.3694548 99.9483039,18.2779697 100.07,18.27 L103.07,18.27 C103.133336,18.2683216 103.193341,18.2983242 103.23,18.35 C103.270929,18.3965159 103.289228,18.458732 103.28,18.52 L103.13,19.52 L103.14,19.51 Z M115.54,32.13 L112.54,18.52 C112.506216,18.4576135 112.506216,18.3823865 112.54,18.32 C112.58406,18.258616 112.654456,18.2215656 112.73,18.2199645 L116.11,18.2199645 C116.212,18.2181356 116.300585,18.2898471 116.32,18.39 L118.07,27.2 L122.33,18.37 C122.36633,18.2801743 122.453111,18.2210058 122.55,18.2199645 L126,18.2199645 C126.076031,18.2194709 126.145787,18.2620992 126.18,18.33 C126.219299,18.3980682 126.219299,18.4819318 126.18,18.55 L116.4,37.76 C116.360626,37.8459108 116.274501,37.9007177 116.18,37.9001527 L112.79,37.9001527 C112.713286,37.9030681 112.642265,37.8596661 112.61,37.79 C112.570701,37.7219318 112.570701,37.6380682 112.61,37.57 L115.54,32.13 Z" id="Shape" fill="#183D6D"></path>
|
||||
<path d="M21,6.85 L30.87,12.21 L21.75,0 C20.2759177,1.97822822 19.9888984,4.59967135 21,6.85 L21,6.85 Z" id="Path" fill="url(#linearGradient-2)"></path>
|
||||
<path d="M16.54,26.73 C17.7800264,26.730049 18.7862599,27.7333715 18.789911,28.9733925 C18.7935429,30.2134136 17.7932196,31.2226286 16.5532149,31.23 C15.3132102,31.2372927 14.3010225,30.2399774 14.29,29 C14.2846647,28.3998052 14.5193602,27.8223574 14.9418967,27.396065 C15.3644332,26.9697726 15.9397815,26.73 16.54,26.73 L16.54,26.73 Z" id="Path" fill="url(#linearGradient-3)"></path>
|
||||
<path d="M9.67,1.79 L37.31,16.79 C37.7711606,17.0143241 38.0638473,17.4821741 38.0638473,17.995 C38.0638473,18.5078259 37.7711606,18.9756759 37.31,19.2 C35.2195524,20.4579157 32.9301642,21.3506757 30.54,21.84 L24.79,33.64 C24.79,33.64 22.97,37.78 17.96,36.19 C20.06,34.09 22.6,32.19 22.6,28.96 C22.6,25.6076316 19.8823684,22.8900001 16.53,22.8900001 C13.1776316,22.8900001 10.46,25.6076316 10.46,28.96 C10.46,33.18 14.62,34.96 16.93,37.89 C17.9703951,39.3627359 17.832531,41.363854 16.6,42.68 C13.73,39.84 8.18,35.05 5.9,31.91 C4.65347852,30.3269066 3.96762686,28.3748672 3.95,26.36 C4.17432898,21.9678993 7.12448134,18.1862677 11.33,16.9 C12.5891396,16.5332363 13.8997077,16.3744819 15.21,16.43 C17.0369827,16.5684111 18.8116805,17.1042333 20.41,18 C22.86,19.44 24.05,19.06 25.74,17.64 C26.74,16.82 27.83,14.15 26.14,13.53 C25.587447,13.3497251 25.022661,13.2093641 24.45,13.11 C21.31,12.5 15.82,11.92 13.8,10.77 C10.59,9 8.43,5.35 9.67,1.79 Z" id="Path" fill="url(#linearGradient-4)"></path>
|
||||
<path d="M22.55,28.99 C23.83,22.26 17,15.84 11.76,16.8 L12.11,16.72 C11.83,16.78 11.56,16.85 11.3,16.93 C7.09448134,18.2162677 4.14432898,21.9978993 3.92,26.39 C3.95187229,28.4107619 4.65553172,30.3634168 5.92,31.94 C8.2,35.08 13.75,39.87 16.62,42.71 C17.852531,41.393854 17.9903951,39.3927359 16.95,37.92 C14.59,35 10.43,33.21 10.43,29 C10.43,25.6476316 13.1476316,22.93 16.5,22.93 C19.8523684,22.93 22.57,25.6476316 22.57,29 L22.55,28.99 Z" id="Shape" fill="url(#linearGradient-5)"></path>
|
||||
<path d="M9.67,1.79 L30.67,13.23 L30.67,13.23 L31.27,13.56 C31.77,13.95 32.27,14.73 31.62,16.17 C30.62,18.32 26.62,20.4 22.01,18.77 C23.45,19.19 24.43,18.71 25.69,17.65 C26.69,16.83 27.78,14.16 26.09,13.54 C25.537447,13.3597251 24.972661,13.2193641 24.4,13.12 C21.26,12.51 15.77,11.93 13.75,10.78 C10.59,9 8.43,5.35 9.67,1.79 Z" id="Path" fill="url(#linearGradient-6)"></path>
|
||||
<path d="M9.67,1.79 C11.84,9.79 25.05,10.45 31.67,13.79 L9.67,1.79 Z" id="Path" fill="url(#linearGradient-7)"></path>
|
||||
<path d="M16.9,37.92 C14.59,35 10.43,33.21 10.43,29 C10.4418178,25.946602 12.7199738,23.3772532 15.75,23 C10.9243431,23.0164606 7.0164606,26.9243431 6.99998539,31.75 C6.99890621,32.3413162 7.05922982,32.9311471 7.18,33.51 C9.09,35.67 11.85,38.22 14.18,40.38 C15.09,41.23 15.93,42.03 16.62,42.71 C17.1941689,42.0447548 17.544076,41.2154751 17.62,40.34 L17.62,40.34 C17.6746432,39.473467 17.4194484,38.6157289 16.9,37.92 L16.9,37.92 Z" id="Path" fill="url(#linearGradient-8)"></path>
|
||||
<path d="M22.52,29.71 C22.5515717,29.4712681 22.5682706,29.2308043 22.57,28.99 C23.83,22.26 17,15.84 11.76,16.8 C12.878886,16.5296125 14.0297792,16.4151962 15.18,16.46 C22.05,16.74 23.97,24.08 22.52,29.71 Z" id="Path" fill="url(#linearGradient-9)"></path>
|
||||
<path d="M2.26,14.84 L2.26,14.84 C3.50977937,14.8455057 4.52,15.8602085 4.52,17.11 L4.52,19.37 L2.26,19.37 C1.01183647,19.37 0,18.3581635 0,17.11 L0,17.11 C0,15.8602085 1.01022063,14.8455057 2.26,14.84 L2.26,14.84 Z" id="Path" fill="url(#linearGradient-10)"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 855 B |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Logo" x="0" y="0" viewBox="0 0 174 24" xml:space="preserve" style="enable-background:new 0 0 174 24"><style type="text/css">.st0{fill:#000}.st1{fill:url(#SVGID_1_)}.st2{fill:url(#SVGID_2_)}</style><g><g><g><path d="M73.379,15.362l0.03,0.092c-0.102,2.639-0.876,4.651-2.322,6.043c-1.446,1.39-3.544,2.085-6.292,2.085 c-2.759,0-5.004-0.855-6.73-2.565c-1.728-1.709-2.59-3.93-2.59-6.658V9.663c0-2.721,0.829-4.936,2.489-6.653 c1.661-1.714,3.82-2.572,6.478-2.572c2.82,0,4.977,0.717,6.468,2.148c1.493,1.431,2.336,3.467,2.53,6.103l-0.031,0.093h-5.043 c-0.071-1.462-0.396-2.55-0.973-3.26c-0.579-0.711-1.562-1.066-2.951-1.066c-1.176,0-2.101,0.476-2.775,1.429 c-0.674,0.954-1.011,2.202-1.011,3.746v4.729c0,1.555,0.368,2.812,1.104,3.769c0.736,0.958,1.748,1.437,3.036,1.437 c1.246,0,2.13-0.334,2.651-1.005c0.522-0.669,0.819-1.734,0.891-3.198H73.379z" class="st0"/><path d="M13.187,17.275c0-0.793-0.261-1.406-0.781-1.839c-0.521-0.432-1.457-0.89-2.806-1.375 c-2.82-0.896-4.91-1.855-6.269-2.882c-1.359-1.024-2.039-2.505-2.039-4.441c0-1.885,0.809-3.41,2.43-4.573 C5.342,1,7.397,0.418,9.892,0.418c2.473,0,4.499,0.641,6.078,1.923c1.578,1.282,2.342,2.934,2.291,4.952L18.23,7.386h-5.027 c0-0.895-0.302-1.626-0.906-2.186c-0.603-0.561-1.435-0.842-2.499-0.842c-1.042,0-1.86,0.232-2.453,0.696 C6.754,5.517,6.458,6.088,6.458,6.768c0,0.66,0.298,1.188,0.896,1.585c0.599,0.396,1.719,0.893,3.364,1.491 c2.535,0.762,4.444,1.699,5.726,2.811c1.282,1.112,1.923,2.643,1.923,4.589c0,1.977-0.763,3.525-2.291,4.643 c-1.527,1.117-3.554,1.676-6.078,1.676c-2.535,0-4.726-0.641-6.575-1.923c-1.85-1.283-2.75-3.13-2.698-5.539l0.031-0.093h5.043 c0,1.297,0.347,2.225,1.042,2.78c0.695,0.557,1.748,0.834,3.158,0.834c1.074,0,1.872-0.216,2.4-0.648 C12.924,18.541,13.187,17.974,13.187,17.275" class="st0"/><polygon points="19.577 .567 19.577 5.016 25.685 5.016 25.685 23.37 30.323 23.37 30.323 5.016 36.393 5.016 36.393 .567" class="st0"/><polygon points="130.629 .567 130.629 5.016 136.737 5.016 136.737 23.37 141.375 23.37 141.375 5.016 147.445 5.016 147.445 .567" class="st0"/><polygon points="162.791 .567 162.791 9.728 155.248 9.728 155.248 .567 150.649 .567 150.649 23.37 155.248 23.37 155.248 14.173 162.791 14.173 162.791 23.37 167.39 23.37 167.39 .567" class="st0"/><path d="M101.775,15.549v7.815h-5.268V0.561h8.477c2.683,0,4.812,0.692,6.387,2.076 c1.574,1.384,2.362,3.192,2.362,5.427c0,2.244-0.789,4.054-2.362,5.426c-1.575,1.374-3.704,2.06-6.387,2.06H101.775z M101.775,11.478h3.209c1.14,0,2.007-0.315,2.603-0.947c0.596-0.631,0.894-1.443,0.894-2.434c0-1.014-0.298-1.843-0.894-2.492 c-0.595-0.646-1.462-0.97-2.603-0.97h-3.209V11.478z" class="st0"/><path d="M93.306,22.301c-2.66-3.08-6.816-7.855-8.989-10.408l8.989-10.445V0.567h-1.418h-3.799 c-2.413,2.851-4.79,5.589-7.203,8.436V0.567h-4.6V23.37h4.6v-8.437l7.24,8.437h3.763h1.418V22.301z" class="st0"/><polygon points="119.906 .566 112.062 23.369 116.964 23.369 124.997 .566" class="st0"/><polygon points="42.247 .566 34.402 23.369 39.304 23.369 47.337 .566" class="st0"/><g><linearGradient id="SVGID_1_" x1="58.064" x2="43.843" y1="15.344" y2="10.168" gradientUnits="userSpaceOnUse"><stop offset=".056" style="stop-color:#000"/><stop offset="1" style="stop-color:#000;stop-opacity:.2"/></linearGradient><polygon points="47.337 .567 44.883 7.533 47.337 14.554 42.41 14.554 40.844 18.998 48.732 18.998 50.24 23.369 55.143 23.369" class="st1"/></g><g><linearGradient id="SVGID_2_" x1="135.723" x2="121.502" y1="15.344" y2="10.168" gradientUnits="userSpaceOnUse"><stop offset=".056" style="stop-color:#000"/><stop offset="1" style="stop-color:#000;stop-opacity:.2"/></linearGradient><polygon points="124.996 .567 122.542 7.533 124.996 14.554 120.069 14.554 118.504 18.998 126.392 18.998 127.899 23.369 132.802 23.369" class="st2"/></g></g></g></g><path d="M170.618,0.945h-0.696v1.895h-0.469V0.945h-0.688V0.565h1.853V0.945z" class="st0"/><path d="M171.497,0.565l0.584,1.649l0.581-1.649h0.615v2.274h-0.47V2.218l0.047-1.073l-0.614,1.695h-0.321l-0.612-1.693 l0.047,1.072v0.622h-0.469V0.565H171.497z" class="st0"/></svg>
|
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 762 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 2.0 KiB |
@ -1,36 +0,0 @@
|
||||
/**
|
||||
* File: feature-counter.js
|
||||
*
|
||||
* JavaScript for feature counters.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @global W3TCFeatureShowcaseData
|
||||
*/
|
||||
|
||||
jQuery(function() {
|
||||
var $adminmenuTopItem = jQuery( '#wp-admin-bar-w3tc > a' ),
|
||||
$adminmenuItem = jQuery ( '#wp-admin-bar-w3tc_feature_showcase a' ),
|
||||
$menuItem = jQuery( '#toplevel_page_w3tc_dashboard.wp-not-current-submenu a[href="admin.php?page=w3tc_dashboard"] .wp-menu-name' ),
|
||||
$submenuItem = jQuery( '#toplevel_page_w3tc_dashboard a[href="admin.php?page=w3tc_feature_showcase"]' ),
|
||||
markup = ' <span class="awaiting-mod count-' +
|
||||
W3TCFeatureShowcaseData.unseenCount +
|
||||
'"><span class="feature-count">' +
|
||||
W3TCFeatureShowcaseData.unseenCount +
|
||||
'</span></span>';
|
||||
|
||||
if ( W3TCFeatureShowcaseData.unseenCount > 0 ) {
|
||||
if ( $adminmenuItem.length ) {
|
||||
$adminmenuTopItem.append( markup );
|
||||
$adminmenuItem.append( markup );
|
||||
}
|
||||
|
||||
if ( $menuItem.length ) {
|
||||
$menuItem.append( markup );
|
||||
}
|
||||
|
||||
if ( $submenuItem.length ) {
|
||||
$submenuItem.append( markup );
|
||||
}
|
||||
}
|
||||
});
|
@ -1,4 +0,0 @@
|
||||
lazyload version 12.2.0
|
||||
author
|
||||
https://www.andreaverlicchi.eu/lazyload/
|
||||
https://github.com/verlok/lazyload
|
@ -1,526 +0,0 @@
|
||||
var W3tc_Lightbox = {
|
||||
window: jQuery(window),
|
||||
container: null,
|
||||
options: null,
|
||||
|
||||
create: function() {
|
||||
var me = this;
|
||||
|
||||
this.container = jQuery('<div class="' + this.options.id + '"><div class="lightbox-close">' + this.options.close + '</div><div id="w3tc_lightbox_content" class="lightbox-content"></div></div>').css({
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: 0,
|
||||
height: 0,
|
||||
position: 'fixed',
|
||||
'z-index': 9991,
|
||||
display: 'none'
|
||||
});
|
||||
|
||||
jQuery('body').append(this.container);
|
||||
me.resize();
|
||||
this.window.resize(function() {
|
||||
me.resize();
|
||||
});
|
||||
|
||||
this.window.scroll(function() {
|
||||
me.resize();
|
||||
});
|
||||
|
||||
this.container.find('.lightbox-close').on( 'click', function() {
|
||||
me.close();
|
||||
});
|
||||
|
||||
jQuery(document).keyup(function(e) {
|
||||
if (e.keyCode == 27) { me.close(); } // esc
|
||||
});
|
||||
},
|
||||
|
||||
open: function(options) {
|
||||
this.options = jQuery.extend({
|
||||
id: 'lightbox',
|
||||
close: 'Close window',
|
||||
width: 0,
|
||||
height: 0,
|
||||
maxWidth: 0,
|
||||
maxHeight: 0,
|
||||
minWidth: 0,
|
||||
minHeight: 0,
|
||||
widthPercent: 0.6,
|
||||
heightPercent: 0.8,
|
||||
content: null,
|
||||
url: null,
|
||||
callback: null
|
||||
}, options);
|
||||
|
||||
this.create();
|
||||
this.resize();
|
||||
|
||||
if (this.options.content) {
|
||||
this.content(this.options.content);
|
||||
} else if (this.options.url) {
|
||||
this.load(this.options.url, this.options.callback);
|
||||
|
||||
if (window.w3tc_ga) {
|
||||
var w3tc_action = this.options.url.match(/w3tc_action=([^&]+)/);
|
||||
|
||||
if (! w3tc_action || ! w3tc_action[1]) {
|
||||
w3tc_action = this.options.url.match(/&(w3tc_[^&]+)&/);
|
||||
}
|
||||
|
||||
if (w3tc_action && w3tc_action[1]) {
|
||||
w3tc_ga(
|
||||
'event',
|
||||
'pageview',
|
||||
{
|
||||
eventLabel: 'overlays/' + w3tc_action[1]
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
W3tc_Overlay.show();
|
||||
this.container.show();
|
||||
},
|
||||
|
||||
close: function() {
|
||||
if (this.options.onClose)
|
||||
this.options.onClose();
|
||||
|
||||
this.container.remove();
|
||||
W3tc_Overlay.hide();
|
||||
},
|
||||
|
||||
resize: function() {
|
||||
var width = (this.options.width ? this.options.width : this.window.width() * this.options.widthPercent);
|
||||
var height = (this.options.height ? this.options.height : this.window.height() * this.options.heightPercent);
|
||||
|
||||
if (!this.options.maxWidth)
|
||||
this.options.maxWidth = this.window.width();
|
||||
if (!this.options.maxHeight)
|
||||
this.options.maxHeight = this.window.height();
|
||||
|
||||
if (this.options.maxWidth && width > this.options.maxWidth) {
|
||||
width = this.options.maxWidth;
|
||||
} else if (width < this.options.minWidth) {
|
||||
width = this.options.minWidth;
|
||||
}
|
||||
|
||||
if (this.options.maxHeight && height > this.options.maxHeight) {
|
||||
height = this.options.maxHeight;
|
||||
} else if (height < this.options.minHeight) {
|
||||
height = this.options.minHeight;
|
||||
}
|
||||
|
||||
this.container.css({
|
||||
width: width,
|
||||
height: height
|
||||
});
|
||||
|
||||
this.container.css({
|
||||
top: (this.window.height() / 2 - this.container.outerHeight() / 2)>=0 ? this.window.height() / 2 - this.container.outerHeight() / 2 : 0,
|
||||
left: (this.window.width() / 2 - this.container.outerWidth() / 2)>=0 ? this.window.width() / 2 - this.container.outerWidth() / 2 : 0
|
||||
});
|
||||
|
||||
jQuery('.lightbox-content', this.container).css({
|
||||
width: width,
|
||||
height: height
|
||||
});
|
||||
},
|
||||
|
||||
load: function(url, callback) {
|
||||
this.content('');
|
||||
this.loading(true);
|
||||
var me = this;
|
||||
jQuery.get(url, {}, function(content) {
|
||||
me.loading(false);
|
||||
if (content.substr(0, 9) === 'Location ') {
|
||||
w3tc_beforeupload_unbind();
|
||||
window.location = content.substr(9);
|
||||
return;
|
||||
}
|
||||
|
||||
me.content(content);
|
||||
if (callback) {
|
||||
callback.call(this, me);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* adds all controls of the form to the url
|
||||
*/
|
||||
load_form: function(url, form_selector, callback) {
|
||||
data = {};
|
||||
var v = jQuery(form_selector).find('input').each(function(i) {
|
||||
var name = jQuery(this).attr('name');
|
||||
var type = jQuery(this).attr('type');
|
||||
if (type == 'radio' || type == 'checkbox' ) {
|
||||
if (!jQuery(this).prop('checked'))
|
||||
return;
|
||||
}
|
||||
|
||||
if (name)
|
||||
data[name] = jQuery(this).val();
|
||||
});
|
||||
|
||||
this.content('');
|
||||
this.loading(true);
|
||||
var me = this;
|
||||
jQuery.post(url, data, function(content) {
|
||||
me.loading(false);
|
||||
if (content.substr(0, 9) === 'Location ') {
|
||||
w3tc_beforeupload_unbind();
|
||||
window.location = content.substr(9);
|
||||
return;
|
||||
}
|
||||
|
||||
me.content(content);
|
||||
if (callback) {
|
||||
callback.call(this, me);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
content: function(content) {
|
||||
return this.container.find('.lightbox-content').html(content);
|
||||
},
|
||||
|
||||
width: function(width) {
|
||||
if (width === undefined) {
|
||||
return this.container.width();
|
||||
} else {
|
||||
this.container.css('width', width);
|
||||
return this.resize();
|
||||
}
|
||||
},
|
||||
|
||||
height: function(height) {
|
||||
if (height === undefined) {
|
||||
return this.container.height();
|
||||
} else {
|
||||
this.container.css('height', height);
|
||||
return this.resize();
|
||||
}
|
||||
},
|
||||
|
||||
loading: function(loading) {
|
||||
if (loading)
|
||||
this.container.find('.lightbox-content').addClass('lightbox-loader');
|
||||
else
|
||||
this.container.find('.lightbox-content').removeClass('lightbox-loader');
|
||||
}
|
||||
};
|
||||
|
||||
var W3tc_Overlay = {
|
||||
window: jQuery(window),
|
||||
container: null,
|
||||
|
||||
create: function() {
|
||||
var me = this;
|
||||
|
||||
this.container = jQuery('<div id="overlay" />').css({
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: 0,
|
||||
height: 0,
|
||||
position: 'fixed',
|
||||
'z-index': 9990,
|
||||
display: 'none',
|
||||
opacity: 0.6
|
||||
});
|
||||
|
||||
jQuery('#w3tc').append(this.container);
|
||||
|
||||
this.window.resize(function() {
|
||||
me.resize();
|
||||
});
|
||||
|
||||
this.window.scroll(function() {
|
||||
me.resize();
|
||||
});
|
||||
},
|
||||
|
||||
show: function() {
|
||||
this.create();
|
||||
this.resize();
|
||||
this.container.show();
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
this.container.remove();
|
||||
},
|
||||
|
||||
resize: function() {
|
||||
this.container.css({
|
||||
width: this.window.width(),
|
||||
height: this.window.height()
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
var w3tc_minify_recommendations_checked = {};
|
||||
|
||||
function w3tc_lightbox_minify_recommendations(nonce) {
|
||||
W3tc_Lightbox.open({
|
||||
width: 1000,
|
||||
url: 'admin.php?page=w3tc_minify&w3tc_test_minify_recommendations&_wpnonce=' + nonce,
|
||||
callback: function(lightbox) {
|
||||
var theme = jQuery('#recom_theme').val();
|
||||
|
||||
if (jQuery.ui && jQuery.ui.sortable) {
|
||||
jQuery("#recom_js_files,#recom_css_files").sortable({
|
||||
axis: 'y',
|
||||
stop: function() {
|
||||
jQuery(this).find('li').each(function(index) {
|
||||
jQuery(this).find('td:eq(1)').html((index + 1) + '.');
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (w3tc_minify_recommendations_checked[theme] !== undefined) {
|
||||
jQuery('#recom_js_files :text,#recom_css_files :text').each(function() {
|
||||
var hash = jQuery(this).parents('li').find('[name=recom_js_template]').val() + ':' + jQuery(this).val();
|
||||
|
||||
if (w3tc_minify_recommendations_checked[theme][hash] !== undefined) {
|
||||
var checkbox = jQuery(this).parents('li').find(':checkbox');
|
||||
|
||||
if (w3tc_minify_recommendations_checked[theme][hash]) {
|
||||
checkbox.attr('checked', 'checked');
|
||||
} else {
|
||||
checkbox.removeAttr('checked');
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
jQuery('#recom_theme').change(function() {
|
||||
jQuery('#recom_js_files :checkbox,#recom_css_files :checkbox').each(function() {
|
||||
var li = jQuery(this).parents('li');
|
||||
var hash = li.find('[name=recom_js_template]').val() + ':' + li.find(':text').val();
|
||||
|
||||
if (w3tc_minify_recommendations_checked[theme] === undefined) {
|
||||
w3tc_minify_recommendations_checked[theme] = {};
|
||||
}
|
||||
|
||||
w3tc_minify_recommendations_checked[theme][hash] = jQuery(this).is(':checked');
|
||||
});
|
||||
|
||||
lightbox.load('admin.php?page=w3tc_minify&w3tc_test_minify_recommendations&theme_key=' + jQuery(this).val() + '&_wpnonce=' + nonce, lightbox.options.callback);
|
||||
});
|
||||
|
||||
jQuery('#recom_js_check').on( 'click', function() {
|
||||
if (jQuery('#recom_js_files :checkbox:checked').length) {
|
||||
jQuery('#recom_js_files :checkbox').removeAttr('checked');
|
||||
} else {
|
||||
jQuery('#recom_js_files :checkbox').attr('checked', 'checked');
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('#recom_css_check').on( 'click', function() {
|
||||
if (jQuery('#recom_css_files :checkbox:checked').length) {
|
||||
jQuery('#recom_css_files :checkbox').removeAttr('checked');
|
||||
} else {
|
||||
jQuery('#recom_css_files :checkbox').attr('checked', 'checked');
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('.recom_apply', lightbox.container).on( 'click', function() {
|
||||
var theme = jQuery('#recom_theme').val();
|
||||
|
||||
jQuery('#js_files li').each(function() {
|
||||
if (jQuery(this).find(':text').attr('name').indexOf('js_files[' + theme + ']') != -1) {
|
||||
jQuery(this).remove();
|
||||
}
|
||||
});
|
||||
|
||||
jQuery('#css_files li').each(function() {
|
||||
if (jQuery(this).find(':text').attr('name').indexOf('css_files[' + theme + ']') != -1) {
|
||||
jQuery(this).remove();
|
||||
}
|
||||
});
|
||||
|
||||
jQuery('#recom_js_files li').each(function() {
|
||||
if (jQuery(this).find(':checkbox:checked').length) {
|
||||
w3tc_minify_js_file_add(theme, jQuery(this).find('[name=recom_js_template]').val(), jQuery(this).find('[name=recom_js_location]').val(), jQuery(this).find('[name=recom_js_file]').val());
|
||||
}
|
||||
});
|
||||
|
||||
jQuery('#recom_css_files li').each(function() {
|
||||
if (jQuery(this).find(':checkbox:checked').length) {
|
||||
w3tc_minify_css_file_add(theme, jQuery(this).find('[name=recom_css_template]').val(), jQuery(this).find('[name=recom_css_file]').val());
|
||||
}
|
||||
});
|
||||
|
||||
w3tc_minify_js_theme(theme);
|
||||
w3tc_minify_css_theme(theme);
|
||||
|
||||
w3tc_input_enable('.js_enabled', jQuery('#minify_js_enable:checked').length);
|
||||
w3tc_input_enable('.css_enabled', jQuery('#minify_css_enable:checked').length);
|
||||
|
||||
lightbox.close();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function w3tc_lightbox_self_test(nonce) {
|
||||
W3tc_Lightbox.open({
|
||||
width: 800,
|
||||
minHeight: 300,
|
||||
url: 'admin.php?page=w3tc_dashboard&w3tc_test_self&_wpnonce=' + w3tc_nonce,
|
||||
callback: function(lightbox) {
|
||||
jQuery('.button-primary', lightbox.container).on( 'click', function() {
|
||||
lightbox.close();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function w3tc_lightbox_upgrade(nonce, data_src, renew_key) {
|
||||
var client_id = '';
|
||||
if (window.w3tc_ga) {
|
||||
client_id = w3tc_ga_cid;
|
||||
}
|
||||
|
||||
W3tc_Lightbox.open({
|
||||
id: 'w3tc-overlay',
|
||||
close: '',
|
||||
width: 800,
|
||||
height: 350,
|
||||
url: 'admin.php?page=w3tc_dashboard&w3tc_licensing_upgrade&_wpnonce=' +
|
||||
encodeURIComponent(nonce) + '&data_src=' + encodeURIComponent(data_src) +
|
||||
(renew_key ? '&renew_key=' + encodeURIComponent(renew_key) : '') +
|
||||
(client_id ? '&client_id=' + encodeURIComponent(client_id) : ''),
|
||||
callback: function(lightbox) {
|
||||
lightbox.options.height = jQuery('#w3tc-upgrade').outerHeight();
|
||||
|
||||
jQuery('.button-primary', lightbox.container).on( 'click', function() {
|
||||
lightbox.close();
|
||||
});
|
||||
jQuery('#w3tc-purchase', lightbox.container).on( 'click', function() {
|
||||
lightbox.close();
|
||||
w3tc_lightbox_buy_plugin(nonce, data_src, renew_key, client_id);
|
||||
});
|
||||
jQuery('#w3tc-purchase-link', lightbox.container).on( 'click', function() {
|
||||
lightbox.close();
|
||||
|
||||
if ( jQuery('#licensing').length ) {
|
||||
jQuery([document.documentElement, document.body]).animate({
|
||||
scrollTop: jQuery('#licensing').offset().top
|
||||
}, 2000);
|
||||
}
|
||||
});
|
||||
|
||||
// Allow for customizations of the "upgrade" overlay specifically.
|
||||
jQuery( '.w3tc-overlay' ).addClass( 'w3tc-overlay-upgrade' );
|
||||
|
||||
lightbox.resize();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function w3tc_lightbox_buy_plugin(nonce, data_src, renew_key, client_id) {
|
||||
W3tc_Lightbox.open({
|
||||
width: 800,
|
||||
minHeight: 350,
|
||||
maxWidth: jQuery(window).width() - 40,
|
||||
maxHeight: jQuery(window).height() - 40,
|
||||
url: 'admin.php?page=w3tc_dashboard&w3tc_licensing_buy_plugin' +
|
||||
'&_wpnonce=' + encodeURIComponent(nonce) +
|
||||
'&data_src=' + encodeURIComponent(data_src) +
|
||||
(renew_key ? '&renew_key=' + encodeURIComponent(renew_key) : '') +
|
||||
(client_id ? '&client_id=' + encodeURIComponent(client_id) : ''),
|
||||
callback: function(lightbox) {
|
||||
var w3tc_license_listener = function(event) {
|
||||
if (event.origin.substr(event.origin.length - 12) !== ".w3-edge.com")
|
||||
return;
|
||||
|
||||
var data = event.data.split(' ');
|
||||
if (data[0] === 'license') {
|
||||
// legacy purchase
|
||||
w3tc_lightbox_save_license_key(function() {
|
||||
lightbox.close();
|
||||
});
|
||||
} else if (data[0] === 'v2_license') {
|
||||
// reset default timeout
|
||||
var iframe = document.getElementById('buy_frame');
|
||||
if (iframe.contentWindow && iframe.contentWindow.postMessage)
|
||||
iframe.contentWindow.postMessage('v2_license_accepted', '*');
|
||||
|
||||
lightbox.options.onClose = function() {
|
||||
window.location = window.location + '&refresh';
|
||||
}
|
||||
|
||||
w3tc_lightbox_save_license_key(data[1], nonce, function() {
|
||||
jQuery('#buy_frame').attr('src', data[3]);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (window.addEventListener) {
|
||||
addEventListener("message", w3tc_license_listener, false)
|
||||
} else if (attachEvent) {
|
||||
attachEvent("onmessage", w3tc_license_listener);
|
||||
}
|
||||
|
||||
jQuery('.button-primary', lightbox.container).on( 'click', function() {
|
||||
lightbox.close();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function w3tc_lightbox_save_license_key(license_key, nonce, callback) {
|
||||
jQuery('#plugin_license_key').val(license_key);
|
||||
var params = {
|
||||
w3tc_default_save_license_key: 1,
|
||||
license_key: license_key,
|
||||
_wpnonce: ('array' === jQuery.type(nonce)) ? nonce[0] : nonce
|
||||
};
|
||||
|
||||
jQuery.post('admin.php?page=w3tc_dashboard', params, function(data) {
|
||||
callback();
|
||||
}, 'json').fail(callback);
|
||||
}
|
||||
|
||||
jQuery(function() {
|
||||
jQuery('.button-minify-recommendations').on( 'click', function() {
|
||||
var nonce = jQuery(this).metadata().nonce;
|
||||
w3tc_lightbox_minify_recommendations(nonce);
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('.button-self-test').on( 'click', function() {
|
||||
var nonce = jQuery(this).metadata().nonce;
|
||||
w3tc_lightbox_self_test(nonce);
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('.button-buy-plugin').on( 'click', function() {
|
||||
var data_src = jQuery(this).data('src');
|
||||
var nonce = jQuery(this).data('nonce');
|
||||
if (!nonce) {
|
||||
nonce = w3tc_nonce;
|
||||
}
|
||||
var renew_key = jQuery(this).data('renew-key');
|
||||
|
||||
w3tc_lightbox_upgrade(nonce, data_src, renew_key);
|
||||
jQuery('#w3tc-license-instruction').show();
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('body').on('click', '.w3tc_lightbox_close', function() {
|
||||
W3tc_Lightbox.close();
|
||||
});
|
||||
});
|
@ -1,140 +0,0 @@
|
||||
/*
|
||||
* Metadata - jQuery plugin for parsing metadata from elements
|
||||
*
|
||||
* Copyright (c) 2006 John Resig, Yehuda Katz, J<>örn Zaefferer, Paul McLanahan
|
||||
*
|
||||
* Dual licensed under the MIT and GPL licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl.html
|
||||
*
|
||||
* Revision: $Id: jquery.metadata.js 3640 2007-10-11 18:34:38Z pmclanahan $
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Sets the type of metadata to use. Metadata is encoded in JSON, and each property
|
||||
* in the JSON will become a property of the element itself.
|
||||
*
|
||||
* There are four supported types of metadata storage:
|
||||
*
|
||||
* attr: Inside an attribute. The name parameter indicates *which* attribute.
|
||||
*
|
||||
* class: Inside the class attribute, wrapped in curly braces: { }
|
||||
*
|
||||
* elem: Inside a child element (e.g. a script tag). The
|
||||
* name parameter indicates *which* element.
|
||||
* html5: Values are stored in data-* attributes.
|
||||
*
|
||||
* The metadata for an element is loaded the first time the element is accessed via jQuery.
|
||||
*
|
||||
* As a result, you can define the metadata type, use $(expr) to load the metadata into the elements
|
||||
* matched by expr, then redefine the metadata type and run another $(expr) for other elements.
|
||||
*
|
||||
* @name $.metadata.setType
|
||||
*
|
||||
* @example <p id="one" class="some_class {item_id: 1, item_label: 'Label'}">This is a p</p>
|
||||
* @before $.metadata.setType("class")
|
||||
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
||||
* @desc Reads metadata from the class attribute
|
||||
*
|
||||
* @example <p id="one" class="some_class" data="{item_id: 1, item_label: 'Label'}">This is a p</p>
|
||||
* @before $.metadata.setType("attr", "data")
|
||||
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
||||
* @desc Reads metadata from a "data" attribute
|
||||
*
|
||||
* @example <p id="one" class="some_class"><script>{item_id: 1, item_label: 'Label'}</script>This is a p</p>
|
||||
* @before $.metadata.setType("elem", "script")
|
||||
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
||||
* @desc Reads metadata from a nested script element
|
||||
*
|
||||
* @example <p id="one" class="some_class" data-item_id="1" data-item_label="Label">This is a p</p>
|
||||
* @before $.metadata.setType("html5")
|
||||
* @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label"
|
||||
* @desc Reads metadata from a series of data-* attributes
|
||||
*
|
||||
* @param String type The encoding type
|
||||
* @param String name The name of the attribute to be used to get metadata (optional)
|
||||
* @cat Plugins/Metadata
|
||||
* @descr Sets the type of encoding to be used when loading metadata for the first time
|
||||
* @type undefined
|
||||
* @see metadata()
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
|
||||
$.extend({
|
||||
metadata : {
|
||||
defaults : {
|
||||
type: 'class',
|
||||
name: 'metadata',
|
||||
cre: /({.*})/,
|
||||
single: 'metadata'
|
||||
},
|
||||
setType: function( type, name ){
|
||||
this.defaults.type = type;
|
||||
this.defaults.name = name;
|
||||
},
|
||||
get: function( elem, opts ){
|
||||
var settings = $.extend({},this.defaults,opts);
|
||||
// check for empty string in single property
|
||||
if ( !settings.single.length ) settings.single = 'metadata';
|
||||
|
||||
var data = $.data(elem, settings.single);
|
||||
// returned cached data if it already exists
|
||||
if ( data ) return data;
|
||||
|
||||
data = "{}";
|
||||
|
||||
var getObject = function(data) {
|
||||
if(typeof data != "string") return data;
|
||||
|
||||
data = eval("(" + data + ")");
|
||||
return data;
|
||||
};
|
||||
|
||||
if ( settings.type == "html5" ) {
|
||||
var object = {};
|
||||
$( elem.attributes ).each(function() {
|
||||
var name = this.nodeName;
|
||||
if(name.match(/^data-/)) name = name.replace(/^data-/, '');
|
||||
else return true;
|
||||
object[name] = getObject(this.nodeValue);
|
||||
});
|
||||
} else {
|
||||
if ( settings.type == "class" ) {
|
||||
var m = settings.cre.exec( elem.className );
|
||||
if ( m )
|
||||
data = m[1];
|
||||
} else if ( settings.type == "elem" ) {
|
||||
if( !elem.getElementsByTagName ) return;
|
||||
var e = elem.getElementsByTagName(settings.name);
|
||||
if ( e.length )
|
||||
data = $.trim(e[0].innerHTML);
|
||||
} else if ( elem.getAttribute != undefined ) {
|
||||
var attr = elem.getAttribute( settings.name );
|
||||
if ( attr )
|
||||
data = attr;
|
||||
}
|
||||
object = getObject(data.indexOf("{") < 0 ? "{" + data + "}" : data);
|
||||
}
|
||||
|
||||
$.data( elem, settings.single, object );
|
||||
return object;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Returns the metadata object for the first member of the jQuery object.
|
||||
*
|
||||
* @name metadata
|
||||
* @descr Returns element's metadata object
|
||||
* @param Object opts An object contianing settings to override the defaults
|
||||
* @type jQuery
|
||||
* @cat Plugins/Metadata
|
||||
*/
|
||||
$.fn.metadata = function( opts ){
|
||||
return $.metadata.get( this[0], opts );
|
||||
};
|
||||
|
||||
})(jQuery);
|
@ -1,22 +0,0 @@
|
||||
jQuery(document).ready(function() {
|
||||
jQuery('textarea[w3tc-data-validator="regexps"]').change(function() {
|
||||
var v = jQuery(this).val();
|
||||
var items = v.split("\n");
|
||||
|
||||
for (var n = 0; n < items.length; n++) {
|
||||
var regexp = items[n].trim();
|
||||
if (regexp.length > 0) {
|
||||
try {
|
||||
new RegExp(regexp);
|
||||
} catch(e) {
|
||||
var error = 'Contains invalid regexp ' + regexp +', please fix';
|
||||
console.log(error);
|
||||
jQuery(this)[0].setCustomValidity(error);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
jQuery(this)[0].setCustomValidity('');
|
||||
});
|
||||
});
|
@ -1,771 +0,0 @@
|
||||
function w3tc_seconds_to_string(seconds) {
|
||||
var string = '', days, hours, minutes;
|
||||
days = Math.floor(seconds / 86400);
|
||||
if (days) {
|
||||
seconds -= days * 86400;
|
||||
string += days + 'd ';
|
||||
}
|
||||
hours = Math.floor(seconds / 3600);
|
||||
if (hours) {
|
||||
seconds -= hours * 3600;
|
||||
string += hours + 'h ';
|
||||
}
|
||||
minutes = Math.floor(seconds / 60);
|
||||
if (minutes) {
|
||||
seconds -= minutes * 60;
|
||||
string += minutes + 'm ';
|
||||
}
|
||||
|
||||
if (seconds) {
|
||||
string += seconds + 's';
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
var W3tc_Popup_Cdn_Export_File = {
|
||||
paused: 0,
|
||||
limit: 25,
|
||||
retry_seconds: 10,
|
||||
seconds_elapsed: 0,
|
||||
timer: null,
|
||||
nonce: '',
|
||||
files: [],
|
||||
initialized: false,
|
||||
upload_files: [],
|
||||
|
||||
set_progress: function(percent) {
|
||||
jQuery('#cdn_export_file_progress .bar').width(percent + '%');
|
||||
jQuery('#cdn_export_file_progress .percent').html(percent + '%');
|
||||
},
|
||||
|
||||
set_status: function(status) {
|
||||
jQuery('#cdn_export_file_status').html(status);
|
||||
},
|
||||
|
||||
set_processed: function(processed) {
|
||||
jQuery('#cdn_export_file_processed').html(processed);
|
||||
},
|
||||
|
||||
set_button_text: function(text) {
|
||||
jQuery('#cdn_export_file_start').val(text);
|
||||
},
|
||||
|
||||
set_last_response: function() {
|
||||
var date = new Date();
|
||||
jQuery('#cdn_export_file_last_response').html(date.toLocaleTimeString() + ' ' + date.toLocaleDateString());
|
||||
},
|
||||
|
||||
set_elapsed: function(text) {
|
||||
jQuery('#cdn_export_file_elapsed').html(text);
|
||||
},
|
||||
|
||||
add_log: function(path, result, error) {
|
||||
jQuery('#cdn_export_file_log').prepend('<div class="log-' + (result == 1 ? 'success' : 'error') + '">' + path + ' <strong>' + error + '</strong></div>');
|
||||
},
|
||||
|
||||
clear_log: function() {
|
||||
jQuery('#cdn_export_file_log').html('');
|
||||
},
|
||||
|
||||
process: function() {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.initialized) {
|
||||
this.upload_files = this.files.slice(0);
|
||||
this.initialized = true;
|
||||
}
|
||||
|
||||
to_upload = this.upload_files.slice(0, this.limit);
|
||||
|
||||
var me = this;
|
||||
if (to_upload.length) {
|
||||
jQuery.ajax({
|
||||
type: 'POST',
|
||||
url: 'admin.php?page=w3tc_cdn',
|
||||
data: {
|
||||
w3tc_cdn_export_process: 1,
|
||||
'files[]': to_upload,
|
||||
_wpnonce: this.nonce
|
||||
},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
me.set_last_response();
|
||||
me.process_callback(data);
|
||||
},
|
||||
error: function() {
|
||||
me.set_last_response();
|
||||
me.retry(me.retry_seconds);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
retry: function(seconds) {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
this.set_status('request failed (retry in ' + seconds + 's)');
|
||||
if (seconds) {
|
||||
var me = this;
|
||||
setTimeout(function() {
|
||||
me.retry(--seconds);
|
||||
}, 1000);
|
||||
} else {
|
||||
this.set_status('processing');
|
||||
this.process();
|
||||
}
|
||||
},
|
||||
|
||||
process_callback: function(data) {
|
||||
var failed = false;
|
||||
for (var i = 0; i < data.results.length; i++) {
|
||||
var remote_path = data.results[i].file;
|
||||
for (var n = 0; n < this.upload_files.length; n++) {
|
||||
if (this.upload_files[n] == remote_path) {
|
||||
this.upload_files.splice(n, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
this.add_log(remote_path, data.results[i].result, data.results[i].error);
|
||||
if (data.results[i].result == -1) {
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
this.set_progress(0);
|
||||
this.set_processed(1);
|
||||
this.set_status('failed');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
} else {
|
||||
var count_processed = this.files.length - this.upload_files.length;
|
||||
this.set_progress((count_processed * 100 / this.files.length).toFixed(0));
|
||||
this.set_processed(count_processed);
|
||||
|
||||
if (this.upload_files.length) {
|
||||
this.process();
|
||||
} else {
|
||||
this.set_status('done');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
timer_callback: function() {
|
||||
this.seconds_elapsed++;
|
||||
this.set_elapsed(w3tc_seconds_to_string(this.seconds_elapsed));
|
||||
},
|
||||
|
||||
init: function() {
|
||||
var me = this;
|
||||
jQuery('#cdn_export_file_start').click(function() {
|
||||
if (this.value == 'Pause') {
|
||||
me.paused = 1;
|
||||
me.set_button_text('Resume');
|
||||
me.set_status('paused');
|
||||
clearInterval(me.timer);
|
||||
} else {
|
||||
if (this.value == 'Start') {
|
||||
me.seconds_elapsed = 0;
|
||||
me.initialized = false;
|
||||
me.clear_log();
|
||||
me.set_progress(0);
|
||||
me.set_processed(0);
|
||||
me.set_elapsed('-');
|
||||
}
|
||||
me.paused = 0;
|
||||
me.set_button_text('Pause');
|
||||
me.set_status('processing');
|
||||
me.timer = setInterval(function() {
|
||||
me.timer_callback();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
me.process();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var W3tc_Popup_Cdn_Export_Library = {
|
||||
paused: 0,
|
||||
limit: 25,
|
||||
offset: 0,
|
||||
retry_seconds: 10,
|
||||
seconds_elapsed: 0,
|
||||
timer: null,
|
||||
nonce: '',
|
||||
|
||||
set_progress: function(percent) {
|
||||
jQuery('#cdn_export_library_progress .bar').width(percent + '%');
|
||||
jQuery('#cdn_export_library_progress .percent').html(percent + '%');
|
||||
},
|
||||
|
||||
set_status: function(status) {
|
||||
jQuery('#cdn_export_library_status').html(status);
|
||||
},
|
||||
|
||||
set_processed: function(processed) {
|
||||
jQuery('#cdn_export_library_processed').html(processed);
|
||||
},
|
||||
|
||||
set_total: function(total) {
|
||||
jQuery('#cdn_export_library_total').html(total);
|
||||
},
|
||||
|
||||
set_button_text: function(text) {
|
||||
jQuery('#cdn_export_library_start').val(text);
|
||||
},
|
||||
|
||||
set_last_response: function() {
|
||||
var date = new Date();
|
||||
jQuery('#cdn_export_library_last_response').html(date.toLocaleTimeString() + ' ' + date.toLocaleDateString());
|
||||
},
|
||||
|
||||
set_elapsed: function(text) {
|
||||
jQuery('#cdn_export_library_elapsed').html(text);
|
||||
},
|
||||
|
||||
add_log: function(path, result, error) {
|
||||
jQuery('#cdn_export_library_log').prepend('<div class="log-' + (result == 1 ? 'success' : 'error') + '">' + path + ' <strong>' + error + '</strong></div>');
|
||||
},
|
||||
|
||||
clear_log: function() {
|
||||
jQuery('#cdn_export_library_log').html('');
|
||||
},
|
||||
|
||||
process: function() {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
|
||||
var me = this;
|
||||
jQuery.ajax({
|
||||
type: 'POST',
|
||||
url: 'admin.php?page=w3tc_cdn',
|
||||
data: {
|
||||
w3tc_cdn_export_library_process: 1,
|
||||
limit: this.limit,
|
||||
offset: this.offset,
|
||||
_wpnonce: this.nonce
|
||||
},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
me.set_last_response();
|
||||
me.process_callback(data);
|
||||
},
|
||||
error: function() {
|
||||
me.set_last_response();
|
||||
me.retry(me.retry_seconds);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
retry: function(seconds) {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
this.set_status('request failed (retry in ' + seconds + 's)');
|
||||
if (seconds) {
|
||||
var me = this;
|
||||
setTimeout(function() {
|
||||
me.retry(--seconds);
|
||||
}, 1000);
|
||||
} else {
|
||||
this.set_status('processing');
|
||||
this.process();
|
||||
}
|
||||
},
|
||||
|
||||
process_callback: function(data, status) {
|
||||
this.offset += data.count;
|
||||
|
||||
this.set_total(data.total);
|
||||
this.set_processed(this.offset);
|
||||
this.set_progress((this.offset * 100 / data.total).toFixed(0));
|
||||
|
||||
var failed = false;
|
||||
for (var i = 0; i < data.results.length; i++) {
|
||||
this.add_log(data.results[i].remote_path, data.results[i].result, data.results[i].error);
|
||||
if (data.results[i].result == -1) {
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
this.set_progress(0);
|
||||
this.set_processed(1);
|
||||
this.set_status('failed');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
} else {
|
||||
if (this.offset < data.total) {
|
||||
this.process();
|
||||
} else {
|
||||
this.set_status('done');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
timer_callback: function() {
|
||||
this.seconds_elapsed++;
|
||||
this.set_elapsed(w3tc_seconds_to_string(this.seconds_elapsed));
|
||||
},
|
||||
|
||||
init: function() {
|
||||
var me = this;
|
||||
jQuery('#cdn_export_library_start').click(function() {
|
||||
if (this.value == 'Pause') {
|
||||
me.paused = 1;
|
||||
me.set_status('paused');
|
||||
me.set_button_text('Resume');
|
||||
clearInterval(me.timer);
|
||||
} else {
|
||||
if (this.value == 'Start') {
|
||||
me.offset = 0;
|
||||
me.seconds_elapsed = 0;
|
||||
me.clear_log();
|
||||
me.set_progress(0);
|
||||
me.set_elapsed('-');
|
||||
}
|
||||
me.paused = 0;
|
||||
me.set_status('processing');
|
||||
me.set_button_text('Pause');
|
||||
me.timer = setInterval(function() {
|
||||
me.timer_callback();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
me.process();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var W3tc_Popup_Cdn_Import_Library = {
|
||||
paused: 0,
|
||||
limit: 5,
|
||||
offset: 0,
|
||||
retry_seconds: 10,
|
||||
seconds_elapsed: 0,
|
||||
timer: null,
|
||||
nonce: '',
|
||||
cdn_host: '',
|
||||
|
||||
set_progress: function(percent) {
|
||||
jQuery('#cdn_import_library_progress .bar').width(percent + '%');
|
||||
jQuery('#cdn_import_library_progress .percent').html(percent + '%');
|
||||
},
|
||||
|
||||
set_status: function(status) {
|
||||
jQuery('#cdn_import_library_status').html(status);
|
||||
},
|
||||
|
||||
set_processed: function(processed) {
|
||||
jQuery('#cdn_import_library_processed').html(processed);
|
||||
},
|
||||
|
||||
set_total: function(total) {
|
||||
jQuery('#cdn_import_library_total').html(total);
|
||||
},
|
||||
|
||||
set_button_text: function(text) {
|
||||
jQuery('#cdn_import_library_start').val(text);
|
||||
},
|
||||
|
||||
set_last_response: function() {
|
||||
var date = new Date();
|
||||
jQuery('#cdn_import_library_last_response').html(date.toLocaleTimeString() + ' ' + date.toLocaleDateString());
|
||||
},
|
||||
|
||||
set_elapsed: function(text) {
|
||||
jQuery('#cdn_import_library_elapsed').html(text);
|
||||
},
|
||||
|
||||
is_redirect_permanent: function() {
|
||||
return (jQuery('#cdn_import_library_redirect_permanent:checked').length > 0);
|
||||
},
|
||||
|
||||
is_redirect_cdn: function() {
|
||||
return (jQuery('#cdn_import_library_redirect_cdn:checked').length > 0);
|
||||
},
|
||||
|
||||
add_log: function(path, result, error) {
|
||||
jQuery('#cdn_import_library_log').prepend('<div class="log-' + (result == 1 ? 'success' : 'error') + '">' + path + ' <strong>' + error + '</strong></div>');
|
||||
},
|
||||
|
||||
clear_log: function() {
|
||||
jQuery('#cdn_import_library_log').html('');
|
||||
},
|
||||
|
||||
add_rule: function(src, dst) {
|
||||
if (/^https?:\/\//.test(src)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.is_redirect_cdn()) {
|
||||
dst = 'http://' + (this.cdn_host.length > 0 ? this.cdn_host : document.location.host) + '/' + dst;
|
||||
} else {
|
||||
dst = '/' + dst;
|
||||
}
|
||||
|
||||
if (src.indexOf('/') != 0) {
|
||||
src = '/' + src;
|
||||
}
|
||||
|
||||
var rules = jQuery('#cdn_import_library_rules');
|
||||
rules.val(rules.val() + 'Redirect ' + (this.is_redirect_permanent() ? '302 ' : '') + src + ' ' + dst + '\r\n');
|
||||
},
|
||||
|
||||
clear_rules: function() {
|
||||
jQuery('#cdn_import_library_rules').val('');
|
||||
},
|
||||
|
||||
process: function() {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
|
||||
var me = this;
|
||||
var cdn_import_external = jQuery("input#cdn_import_external").is(":checked");
|
||||
jQuery.ajax({
|
||||
type: 'POST',
|
||||
url: 'admin.php?page=w3tc_cdn',
|
||||
data: {
|
||||
w3tc_cdn_import_library_process: 1,
|
||||
limit: this.limit,
|
||||
offset: this.offset,
|
||||
_wpnonce: this.nonce,
|
||||
cdn_import_external: cdn_import_external
|
||||
},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
me.set_last_response();
|
||||
me.process_callback(data);
|
||||
},
|
||||
error: function() {
|
||||
me.set_last_response();
|
||||
me.retry(me.retry_seconds);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
retry: function(seconds) {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
this.set_status('request failed (retry in ' + seconds + 's)');
|
||||
if (seconds) {
|
||||
var me = this;
|
||||
setTimeout(function() {
|
||||
me.retry(--seconds);
|
||||
}, 1000);
|
||||
} else {
|
||||
this.set_status('processing');
|
||||
this.process();
|
||||
}
|
||||
},
|
||||
|
||||
process_callback: function(data) {
|
||||
this.offset += data.count;
|
||||
|
||||
this.set_total(data.total);
|
||||
this.set_processed(this.offset);
|
||||
this.set_progress((this.offset * 100 / data.total).toFixed(0));
|
||||
|
||||
var failed = false;
|
||||
for (var i = 0; i < data.results.length; i++) {
|
||||
this.add_log(data.results[i].src, data.results[i].result, data.results[i].error);
|
||||
if (data.results[i].result == 1) {
|
||||
this.add_rule(data.results[i].src, data.results[i].dst);
|
||||
} else if (data.results[i].result == -1) {
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
this.set_progress(0);
|
||||
this.set_processed(1);
|
||||
this.set_status('failed');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
} else {
|
||||
if (this.offset < data.total) {
|
||||
this.process();
|
||||
} else {
|
||||
this.set_status('done');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
timer_callback: function() {
|
||||
this.seconds_elapsed++;
|
||||
this.set_elapsed(w3tc_seconds_to_string(this.seconds_elapsed));
|
||||
},
|
||||
|
||||
init: function() {
|
||||
var me = this;
|
||||
jQuery('#cdn_import_library_start').click(function() {
|
||||
if (this.value == 'Pause') {
|
||||
me.paused = 1;
|
||||
me.set_button_text('Resume');
|
||||
me.set_status('paused');
|
||||
clearInterval(me.timer);
|
||||
} else {
|
||||
if (this.value == 'Start') {
|
||||
me.offset = 0;
|
||||
me.seconds_elapsed = 0;
|
||||
me.clear_log();
|
||||
me.set_progress(0);
|
||||
me.clear_rules();
|
||||
me.set_elapsed('-');
|
||||
}
|
||||
me.paused = 0;
|
||||
me.set_button_text('Pause');
|
||||
me.set_status('processing');
|
||||
me.timer = setInterval(function() {
|
||||
me.timer_callback();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
me.process();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var W3tc_Popup_Cdn_Rename_Domain = {
|
||||
paused: 0,
|
||||
limit: 25,
|
||||
offset: 0,
|
||||
retry_seconds: 10,
|
||||
seconds_elapsed: 0,
|
||||
timer: null,
|
||||
nonce: '',
|
||||
|
||||
set_progress: function(percent) {
|
||||
jQuery('#cdn_rename_domain_progress .bar').width(percent + '%');
|
||||
jQuery('#cdn_rename_domain_progress .percent').html(percent + '%');
|
||||
},
|
||||
|
||||
set_status: function(status) {
|
||||
jQuery('cdn_rename_domain_status').html(status);
|
||||
},
|
||||
|
||||
set_processed: function(processed) {
|
||||
jQuery('#cdn_rename_domain_processed').html(processed);
|
||||
},
|
||||
|
||||
set_total: function(total) {
|
||||
jQuery('#cdn_rename_domain_total').html(total);
|
||||
},
|
||||
|
||||
set_button_text: function(text) {
|
||||
jQuery('#cdn_rename_domain_start').val(text);
|
||||
},
|
||||
|
||||
set_last_response: function() {
|
||||
var date = new Date();
|
||||
jQuery('#cdn_rename_domain_last_response').html(date.toLocaleTimeString() + ' ' + date.toLocaleDateString());
|
||||
},
|
||||
|
||||
set_elapsed: function(text) {
|
||||
jQuery('#cdn_rename_domain_elapsed').html(text);
|
||||
},
|
||||
|
||||
add_log: function(path, result, error) {
|
||||
jQuery('#cdn_rename_domain_log').prepend('<div class="log-' + (result == 1 ? 'success' : 'error') + '">' + path + ' <strong>' + error + '</strong></div>');
|
||||
},
|
||||
|
||||
clear_log: function() {
|
||||
jQuery('#cdn_rename_domain_log').html('');
|
||||
},
|
||||
|
||||
get_domain_names: function() {
|
||||
return jQuery('#cdn_rename_domain_names').val();
|
||||
},
|
||||
|
||||
process: function() {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
|
||||
var me = this;
|
||||
jQuery.ajax({
|
||||
type: 'POST',
|
||||
url: 'admin.php?page=w3tc_cdn',
|
||||
data: {
|
||||
w3tc_cdn_rename_domain_process: 1,
|
||||
names: this.get_domain_names(),
|
||||
limit: this.limit,
|
||||
offset: this.offset,
|
||||
_wpnonce: this.nonce
|
||||
},
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
me.set_last_response();
|
||||
me.process_callback(data);
|
||||
},
|
||||
error: function() {
|
||||
me.set_last_response();
|
||||
me.retry(me.retry_seconds);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
retry: function(seconds) {
|
||||
if (this.paused) {
|
||||
return;
|
||||
}
|
||||
this.set_status('request failed (retry in ' + seconds + 's)');
|
||||
if (seconds) {
|
||||
var me = this;
|
||||
setTimeout(function() {
|
||||
me.retry(--seconds);
|
||||
}, 1000);
|
||||
} else {
|
||||
this.set_status('processing');
|
||||
this.process();
|
||||
}
|
||||
},
|
||||
|
||||
process_callback: function(data) {
|
||||
this.offset += data.count;
|
||||
|
||||
this.set_total(data.total);
|
||||
this.set_processed(this.offset);
|
||||
this.set_progress((this.offset * 100 / data.total).toFixed(0));
|
||||
|
||||
var failed = false;
|
||||
for (var i = 0; i < data.results.length; i++) {
|
||||
this.add_log(data.results[i].old, data.results[i].result, data.results[i].error);
|
||||
if (data.results[i].result == -1) {
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
this.set_progress(0);
|
||||
this.set_processed(1);
|
||||
this.set_status('failed');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
} else {
|
||||
if (this.offset < data.total) {
|
||||
this.process();
|
||||
} else {
|
||||
this.set_status('done');
|
||||
this.set_button_text('Start');
|
||||
clearInterval(this.timer);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
timer_callback: function() {
|
||||
this.seconds_elapsed++;
|
||||
this.set_elapsed(w3tc_seconds_to_string(this.seconds_elapsed));
|
||||
},
|
||||
|
||||
init: function(cdn_host) {
|
||||
var me = this;
|
||||
this.cdn_host = cdn_host;
|
||||
jQuery('#cdn_rename_domain_start').click(function() {
|
||||
if (this.value == 'Pause') {
|
||||
me.paused = 1;
|
||||
me.set_button_text('Resume');
|
||||
me.set_status('paused');
|
||||
clearInterval(me.timer);
|
||||
} else {
|
||||
if (this.value == 'Start') {
|
||||
if (!me.get_domain_names()) {
|
||||
alert('Empty domains to rename!');
|
||||
return;
|
||||
}
|
||||
me.offset = 0;
|
||||
me.seconds_elapsed = 0;
|
||||
me.clear_log();
|
||||
me.set_progress(0);
|
||||
me.set_elapsed('-');
|
||||
}
|
||||
me.paused = 0;
|
||||
me.set_button_text('Pause');
|
||||
me.set_status('processing');
|
||||
me.timer = setInterval(function() {
|
||||
me.timer_callback();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
me.process();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
function w3tc_ps_expand(expand) {
|
||||
jQuery('.ps-rule').each(function() {
|
||||
var e = jQuery(this).find('.ps-expander');
|
||||
var a = jQuery(this).find('.ps-expand a');
|
||||
|
||||
if (!expand) {
|
||||
e.hide();
|
||||
a.html('+');
|
||||
} else {
|
||||
e.show();
|
||||
a.html('-');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
jQuery(function() {
|
||||
jQuery('.tab').click(function() {
|
||||
jQuery('.tab').removeClass('tab-selected');
|
||||
jQuery('.tab-content').hide();
|
||||
jQuery(this).addClass('tab-selected');
|
||||
jQuery(this.rel).show();
|
||||
});
|
||||
|
||||
jQuery('.cdn_queue_delete').click(function() {
|
||||
return confirm('Are you sure you want to remove this file from the queue?');
|
||||
});
|
||||
|
||||
jQuery('.cdn_queue_empty').click(function() {
|
||||
return confirm('Are you sure you want to empty the queue?');
|
||||
});
|
||||
|
||||
jQuery('.ps-rule').click(function() {
|
||||
var e = jQuery(this).find('.ps-expander');
|
||||
var a = jQuery(this).find('.ps-expand a');
|
||||
|
||||
if (e.is(':visible')) {
|
||||
e.hide();
|
||||
a.html('+');
|
||||
} else {
|
||||
e.show();
|
||||
a.html('-');
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('.ps-rule p a,.ps-expander').click(function(event) {
|
||||
event.stopPropagation();
|
||||
});
|
||||
|
||||
jQuery('.ps-expand-all').click(function() {
|
||||
w3tc_ps_expand(1);
|
||||
});
|
||||
|
||||
jQuery('.ps-collapse-all').click(function() {
|
||||
w3tc_ps_expand(0);
|
||||
});
|
||||
});
|
@ -1,50 +0,0 @@
|
||||
jQuery(function() {
|
||||
var ajaxurl = window.ajaxurl;
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
var forumLoading = jQuery('#w3tc_latest').find('div.inside:visible').find('.widget-loading');
|
||||
if (forumLoading.length) {
|
||||
var forumLoadingParent = forumLoading.parent();
|
||||
setTimeout(function() {
|
||||
forumLoadingParent.load(
|
||||
ajaxurl + '?action=w3tc_widget_latest_ajax&_wpnonce=' +
|
||||
jQuery(forumLoading).metadata().nonce,
|
||||
function () {
|
||||
forumLoadingParent.hide().slideDown('normal',
|
||||
function() {
|
||||
jQuery(this).css('display', '');
|
||||
});
|
||||
});
|
||||
}, 500);
|
||||
}
|
||||
var newsLoading = jQuery('#w3tc_latest_news').find('div.inside:visible').find('.widget-loading');
|
||||
if (newsLoading.length) {
|
||||
var newsLoadingParent = newsLoading.parent();
|
||||
setTimeout(function() {
|
||||
newsLoadingParent.load(
|
||||
ajaxurl + '?action=w3tc_widget_latest_news_ajax&_wpnonce=' +
|
||||
jQuery(newsLoading).metadata().nonce,
|
||||
function () {
|
||||
newsLoadingParent.hide().slideDown('normal',
|
||||
function() {
|
||||
jQuery(this).css('display', '');
|
||||
});
|
||||
});
|
||||
}, 500);
|
||||
}
|
||||
|
||||
jQuery('.w3tc_generic_widgetservice_radio').click(function () {
|
||||
var o = jQuery(this);
|
||||
|
||||
jQuery('#w3tc_generic_widgetservices_name').val(o.data('name'));
|
||||
jQuery('#w3tc_generic_widgetservices_value').val(o.data('value'));
|
||||
jQuery('#w3tc_generic_widgetservices_form_hash').val(o.data('form_hash'));
|
||||
});
|
||||
|
||||
jQuery('#buy-w3-service-cancel').on('click', function () {
|
||||
jQuery('input:radio[name=service]:checked').prop('checked', false);
|
||||
jQuery('#buy-w3-service-area').empty();
|
||||
jQuery('#buy-w3-service').attr("disabled", "disabled");
|
||||
});
|
||||
});
|
||||
});
|
@ -1,129 +0,0 @@
|
||||
/**
|
||||
* File: wizard.js
|
||||
*
|
||||
* JavaScript for the wizard.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
|
||||
jQuery(function() {
|
||||
var $container = jQuery( '#w3tc-wizard-container'),
|
||||
$skipLink = $container.find( '#w3tc-wizard-skip-link '),
|
||||
$skipButton = $container.find( '#w3tc-wizard-skip '),
|
||||
$nextButton = $container.find( '#w3tc-wizard-next '),
|
||||
$previousButton = $container.find( '#w3tc-wizard-previous ');
|
||||
|
||||
$skipLink.on( 'click', skipFunction );
|
||||
$skipButton.on( 'click', skipFunction );
|
||||
|
||||
jQuery( window ).on( 'beforeunload', function() {
|
||||
var $previousSlide = $container.find( '.w3tc-wizard-slides:visible' ).prev( '.w3tc-wizard-slides' );
|
||||
if ( $previousSlide.length ) {
|
||||
return W3TC_Wizard.beforeunloadText;
|
||||
}
|
||||
});
|
||||
|
||||
// Listen for clicks to go to the W3TC Dashboard.
|
||||
$container.find( '#w3tc-wizard-dashboard' ).on( 'click', function () {
|
||||
jQuery( window ).off( 'beforeunload' );
|
||||
document.location = W3TC_SetupGuide.dashboardUrl;
|
||||
});
|
||||
|
||||
/**
|
||||
* Process the skip action.
|
||||
*
|
||||
* Saves and option to mark the wizard completed.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
function skipFunction() {
|
||||
var $this = jQuery( this ),
|
||||
nodeName = $this.prop('nodeName'),
|
||||
page = location.href.replace(/^.+page=/, '' );
|
||||
|
||||
jQuery( window ).off( 'beforeunload' );
|
||||
|
||||
if ( 'BUTTON' === nodeName ) {
|
||||
$this
|
||||
.prop( 'disabled', true )
|
||||
.css( 'color', '#000' )
|
||||
.text( 'Skipping...' );
|
||||
}
|
||||
|
||||
// GA.
|
||||
if ( window.w3tc_ga ) {
|
||||
w3tc_ga(
|
||||
'event',
|
||||
'button',
|
||||
{
|
||||
eventCategory: page,
|
||||
eventLabel: 'skip'
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
jQuery.ajax({
|
||||
method: 'POST',
|
||||
url: ajaxurl,
|
||||
data: {
|
||||
_wpnonce: $container.find( '[name="_wpnonce"]' ).val(),
|
||||
action: "w3tc_wizard_skip"
|
||||
}
|
||||
})
|
||||
.done(function( response ) {
|
||||
if ( 'BUTTON' === nodeName ) {
|
||||
$this.text( 'Redirecting...' );
|
||||
}
|
||||
|
||||
window.location.replace( location.href.replace(/page=.+$/, 'page=w3tc_dashboard') );
|
||||
})
|
||||
.fail(function() {
|
||||
if ( 'BUTTON' === nodeName ) {
|
||||
$this.text( 'Error with Ajax; reloading page...' );
|
||||
}
|
||||
|
||||
location.reload();
|
||||
});
|
||||
};
|
||||
|
||||
$previousButton.on( 'click', function() {
|
||||
var $currentSlide = $container.find( '.w3tc-wizard-slides:visible' ),
|
||||
$previousSlide = $currentSlide.prev( '.w3tc-wizard-slides' );
|
||||
|
||||
if ( $previousSlide.length ) {
|
||||
$currentSlide.hide();
|
||||
$previousSlide.show();
|
||||
$nextButton.prop( 'disabled', false );
|
||||
}
|
||||
|
||||
// Hide the previous button and show the skip button on the first slide.
|
||||
if ( 0 === $previousSlide.prev( '.w3tc-wizard-slides' ).length ) {
|
||||
$previousButton.closest( 'span' ).hide();
|
||||
$skipButton.closest( 'span' ).show();
|
||||
}
|
||||
|
||||
w3tc_wizard_actions( $previousSlide );
|
||||
});
|
||||
|
||||
$nextButton.on( 'click', function() {
|
||||
var $currentSlide = $container.find( '.w3tc-wizard-slides:visible' ),
|
||||
$nextSlide = $currentSlide.next( '.w3tc-wizard-slides' );
|
||||
|
||||
if ( $skipButton.is( ':visible' ) ) {
|
||||
$skipButton.closest( 'span' ).hide();
|
||||
$previousButton.closest( 'span' ).show();
|
||||
}
|
||||
|
||||
if ( $nextSlide.length ) {
|
||||
$currentSlide.hide();
|
||||
$nextSlide.show();
|
||||
}
|
||||
|
||||
// Disable the next button on the last slide.
|
||||
if ( 0 === $nextSlide.next( '.w3tc-wizard-slides' ).length ) {
|
||||
jQuery( this ).prop( 'disabled', 'disabled' );
|
||||
}
|
||||
|
||||
w3tc_wizard_actions( $nextSlide );
|
||||
});
|
||||
});
|
@ -1,58 +0,0 @@
|
||||
<?php
|
||||
|
||||
$message = file_get_contents( 'php://input' );
|
||||
|
||||
// switch blog before any action
|
||||
try {
|
||||
$message_object = json_decode( $message, true );
|
||||
} catch ( \Exception $e ) {
|
||||
echo 'Failed to parse message';
|
||||
exit();
|
||||
}
|
||||
|
||||
if ( isset( $message_object['Type'] ) && isset( $message_object['Message'] ) ) {
|
||||
if ( $message_object['Type'] == 'Notification' ) {
|
||||
$w3tc_message = $message_object['Message'];
|
||||
$w3tc_message_object = json_decode( $w3tc_message );
|
||||
|
||||
if ( isset( $w3tc_message_object->blog_id ) ) {
|
||||
global $w3_current_blog_id;
|
||||
$w3_current_blog_id = $w3tc_message_object->blog_id;
|
||||
}
|
||||
if ( isset( $w3tc_message_object->host ) && !is_null( $w3tc_message_object->host ) ) {
|
||||
$_SERVER['HTTP_HOST'] = $w3tc_message_object->host;
|
||||
}
|
||||
}
|
||||
else if ( $message_object['Type'] != 'SubscriptionConfirmation' ) {
|
||||
echo 'Unsupported message type';
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* W3 Total Cache SNS module
|
||||
*/
|
||||
define( 'W3TC_WP_LOADING', true );
|
||||
|
||||
if ( !defined( 'ABSPATH' ) ) {
|
||||
if ( file_exists( dirname( __FILE__ ) . '/../../../../wp-load.php' ) ) {
|
||||
require_once dirname( __FILE__ ) . '/../../../../wp-load.php';
|
||||
}
|
||||
else {
|
||||
require_once dirname( __FILE__ ) . '/../../w3tc-wp-loader.php';
|
||||
}
|
||||
}
|
||||
|
||||
if ( !defined( 'W3TC_DIR' ) ) {
|
||||
define( 'W3TC_DIR', realpath( dirname( __FILE__ ) . '/..' ) );
|
||||
}
|
||||
|
||||
if ( !@is_dir( W3TC_DIR ) || !file_exists( W3TC_DIR . '/w3-total-cache-api.php' ) ) {
|
||||
@header( 'X-Robots-Tag: noarchive, noodp, nosnippet' );
|
||||
echo sprintf( '<strong>W3 Total Cache Error:</strong> some files appear to be missing or out of place. Please re-install plugin or remove <strong>%s</strong>. <br />', dirname( __FILE__ ) );
|
||||
}
|
||||
|
||||
require_once W3TC_DIR . '/w3-total-cache-api.php';
|
||||
|
||||
$server = \W3TC\Dispatcher::component( 'Enterprise_SnsServer' );
|
||||
$server->process_message( $message_object );
|