updated plugin W3 Total Cache
version 2.7.1
This commit is contained in:
@ -173,7 +173,7 @@
|
||||
text-align: center;
|
||||
padding: 7px 5px;
|
||||
background: #69BCC3;
|
||||
color: #fff;
|
||||
color: #3c434a;
|
||||
}
|
||||
|
||||
.w3tc-card-ribbon-new b {
|
||||
|
@ -1209,7 +1209,7 @@ td .w3tc-control-after span {
|
||||
}
|
||||
#w3tc-footer .button-buy-plugin,
|
||||
#w3tc-footer .w3tc-gopro-button {
|
||||
margin-top: 10px;
|
||||
margin: 10px 10px 0;
|
||||
white-space: normal;
|
||||
float: left;
|
||||
clear: both;
|
||||
@ -1222,17 +1222,15 @@ td .w3tc-control-after span {
|
||||
|
||||
#w3tc-footer .w3tc-footer-column-1 {
|
||||
width: 20%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#w3tc-footer .w3tc-footer-column-2 {
|
||||
width: 40%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#w3tc-footer .w3tc-footer-inner-column-50 {
|
||||
width: 50%;
|
||||
padding-right: 15px;
|
||||
padding-right: 5px;
|
||||
float: left;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@ -1248,6 +1246,104 @@ td .w3tc-control-after span {
|
||||
}
|
||||
|
||||
|
||||
#w3tc-footer .w3tc-bunnycdn-logo,
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-logo {
|
||||
width: 150px;
|
||||
height: 50px;
|
||||
background: url('../img/w3tc_bunnycdn_logo.svg') 0 8px no-repeat;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn,
|
||||
#w3tc-bunnycdn-ad-general {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn {
|
||||
background: linear-gradient(to bottom, #FCFDFF, #E7F1FF);
|
||||
border: 1px solid #c3c4c7;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-general {
|
||||
background: #12193B;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-icon-bunny-rocket {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn strong {
|
||||
color: #3E497E;
|
||||
font-weight: 700;
|
||||
margin: 5px 10px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-general strong {
|
||||
color: #FFFFFF;
|
||||
font-weight: 700;
|
||||
margin: 5px 10px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-promotion-button {
|
||||
margin: 5px 10px;
|
||||
padding: 5px 10px;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
background-color: #242958;
|
||||
border-color: #242958;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-promotion-button:hover {
|
||||
background-color: #4965B6;
|
||||
border-color: #4965B6;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-promotion-button {
|
||||
margin: 5px 10px;
|
||||
padding: 5px 10px;
|
||||
color: #12193B;
|
||||
font-weight: 700;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 5px;
|
||||
background-image: linear-gradient(to right, #E97B4F, #ECB22B);
|
||||
background-clip: padding-box, border-box;
|
||||
transition: background-image 0.3s ease;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-promotion-button:hover {
|
||||
background-image: linear-gradient(to right, #FFA681, #FFE072);
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-logo {
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-icon-white {
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn strong,
|
||||
#w3tc-bunnycdn-ad-general strong {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-promotion-button,
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-promotion-button {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Button Save Dropdown
|
||||
*/
|
||||
@ -1430,6 +1526,31 @@ td .w3tc-control-after span {
|
||||
.w3tc_form_bar .w3tc-button-control-container .w3tc-button-save-dropdown {
|
||||
float: unset;
|
||||
}
|
||||
#w3tc-footer .button-buy-plugin,
|
||||
#w3tc-footer .w3tc-bunnycdn-logo {
|
||||
float: none;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn,
|
||||
#w3tc-bunnycdn-ad-general {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-icon-bunny-rocket,
|
||||
#w3tc-bunnycdn-ad-cdn strong,
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-promotion-button,
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-logo,
|
||||
#w3tc-bunnycdn-ad-general strong,
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-promotion-button,
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-icon-white {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
#w3tc-bunnycdn-ad-cdn .w3tc-bunnycdn-promotion-button,
|
||||
#w3tc-bunnycdn-ad-general .w3tc-bunnycdn-promotion-button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
@ -1455,6 +1576,7 @@ td .w3tc-control-after span {
|
||||
#w3tc-footer .w3tc-footer-column-2 {
|
||||
width: 100%;
|
||||
padding: 0 10px;
|
||||
text-align: center;
|
||||
}
|
||||
#w3tc-footer .logo-link h2.logo {
|
||||
background-position: center;
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 161 KiB |
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
@ -4,7 +4,7 @@
|
||||
* @link https://www.gstatic.com/charts/loader.js
|
||||
* @file Google Charts loader.
|
||||
* @author Google.
|
||||
* @since X.X.X
|
||||
* @since 2.7.0
|
||||
*/
|
||||
|
||||
(function(){/*
|
||||
|
@ -434,6 +434,10 @@ function w3tc_lightbox_upgrade(nonce, data_src, renew_key) {
|
||||
}
|
||||
|
||||
function w3tc_lightbox_buy_plugin(nonce, data_src, renew_key, client_id) {
|
||||
if (window.w3tc_ga) {
|
||||
client_id = w3tc_ga_cid;
|
||||
}
|
||||
|
||||
var minWidth = jQuery(window).width() - 30;
|
||||
var minHeight = jQuery(window).height() - 30;
|
||||
|
||||
@ -526,11 +530,45 @@ jQuery(function() {
|
||||
}
|
||||
var renew_key = jQuery(this).data('renew-key');
|
||||
|
||||
if (window.w3tc_ga) {
|
||||
w3tc_ga(
|
||||
'event',
|
||||
'button',
|
||||
{
|
||||
eventCategory: 'click',
|
||||
eventLabel: 'license_upgrade_' + data_src
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
w3tc_lightbox_upgrade(nonce, data_src, renew_key);
|
||||
jQuery('#w3tc-license-instruction').show();
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('.button-renew-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');
|
||||
|
||||
if (window.w3tc_ga) {
|
||||
w3tc_ga(
|
||||
'event',
|
||||
'button',
|
||||
{
|
||||
eventCategory: 'click',
|
||||
eventLabel: 'license_renew_' + data_src
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
w3tc_lightbox_buy_plugin(nonce, data_src, renew_key);
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('body').on('click', '.w3tc_lightbox_close', function() {
|
||||
W3tc_Lightbox.close();
|
||||
});
|
||||
|
@ -325,7 +325,7 @@ function w3tc_csp_reference() {
|
||||
*
|
||||
* Prevent enabling Bunny CDN ("bunnycdn" engine) for both CDN and CDNFSD.
|
||||
*
|
||||
* @since X.X.X
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @returns null
|
||||
*/
|
||||
@ -1577,6 +1577,7 @@ jQuery(function() {
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
jQuery('body').on('click', 'input[type="submit"]', function() {
|
||||
var name = jQuery(this).attr('name');
|
||||
var id = jQuery(this).attr('id');
|
||||
@ -1626,6 +1627,20 @@ jQuery(function() {
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
// Log if the admin notice containing the renew license button is present.
|
||||
if (jQuery('.button-renew-plugin').length > 0) {
|
||||
if (window.w3tc_ga) {
|
||||
w3tc_ga(
|
||||
'event',
|
||||
'w3tc_error',
|
||||
{
|
||||
eventCategory: 'w3tc_renew_notice',
|
||||
eventLabel: 'Renew Now'
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
jQuery("a").on('click', function(event) {
|
||||
|
Reference in New Issue
Block a user