updated plugin W3 Total Cache version 2.7.0

This commit is contained in:
2024-03-28 09:40:06 +00:00
committed by Gitium
parent 60de585044
commit 218272bbcb
140 changed files with 3054 additions and 3013 deletions

View File

@ -384,14 +384,19 @@ fieldset[disabled] .btn {
background-image: url(../img/overlay/overlay-logo.png);
}
.w3tc-overlay .lightbox-close {
height: 20px;
width: 20px;
margin-right: -20px;
padding-top: 5px;
.lightbox-close {
background-repeat: no-repeat;
background-position: 0 5px;
background-image: url(../img/overlay/overlay-close.png);
background-color: #f1f1f1;
border-radius: 50%;
padding: 0;
background-position: 8px;
margin: 0;
top: -12px;
right: -12px;
width: 25px;
height: 25px;
}
.w3tchelp_content {
@ -498,26 +503,14 @@ a.w3tc-palette-tp {
*/
#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;
border-radius: 6px 6px 0 0;
color: #fff;
height: 75px;
position: relative;
@ -544,7 +537,36 @@ a.w3tc-palette-tp {
/* Ensure a consistent background with the iframe and the modal elements. */
.w3tc-overlay-upgrade,
.w3tc_overlay_upgrade_header,
.w3tc-overlay-upgrade .lightbox-close {
.w3tc_overlay_upgrade_header {
background-color: #f1f1f1;
}
.w3tc_upgrade_content p {
position: relative;
z-index: 1;
}
.w3tc_upgrade_footer {
background: #fdfdfd;
padding: 15px;
border-top: 1px dashed #C0C0C0;
border-radius: 0 0 6px 6px;
text-align: right;
}
.w3tc_upgrade_footer .btn {
border: none;
color: #ffffff;
background: #2271B1;
}
.w3tc_upgrade_footer .btn:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
}
.w3tc_upgrade_footer .btn:hover,
.w3tc_upgrade_footer .btn:focus {
background: #135e96;
border-color: #135e96;
color: #fff;
}

View File

@ -9,9 +9,22 @@
margin: 1em auto 0;
}
#wpbody-content>.wrap {
margin: unset;
}
#wpbody-content>.update-nag,
#wpbody-content>.notice,
#wpbody-content>.error {
#wpbody-content>.updated,
#wpbody-content>.error,
#wpbody-content>.info,
#wpbody-content>.warning,
#wpbody-content>.wrap>.update-nag,
#wpbody-content>.wrap>.notice,
#wpbody-content>.wrap>.updated,
#wpbody-content>.wrap>.error,
#wpbody-content>.wrap>.info,
#wpbody-content>.wrap>.warning {
max-width: 1200px;
margin: 0 auto 5px !important;
padding: 10px 12px !important;
@ -21,14 +34,32 @@
#wpbody-content>.update-nag p,
#wpbody-content>.notice p,
#wpbody-content>.error p {
#wpbody-content>.updated p,
#wpbody-content>.error p,
#wpbody-content>.info p,
#wpbody-content>.warning p,
#wpbody-content>.wrap>.update-nag p,
#wpbody-content>.wrap>.notice p,
#wpbody-content>.wrap>.updated p,
#wpbody-content>.wrap>.error p,
#wpbody-content>.wrap>.info p,
#wpbody-content>.wrap>.warning p {
padding: 0 !important;
margin: 0 !important;
}
#wpbody-content>.update-nag.is-dismissible p,
#wpbody-content>.notice.is-dismissible p,
#wpbody-content>.error.is-dismissible p {
#wpbody-content>.updated.is-dismissible p,
#wpbody-content>.error.is-dismissible p,
#wpbody-content>.info.is-dismissible p,
#wpbody-content>.warning.is-dismissible p,
#wpbody-content>.wrap>.update-nag.is-dismissible p,
#wpbody-content>.wrap>.notice.is-dismissible p,
#wpbody-content>.wrap>.updated.is-dismissible p,
#wpbody-content>.wrap>.error.is-dismissible p,
#wpbody-content>.wrap>.info.is-dismissible p,
#wpbody-content>.wrap>.warning.is-dismissible p {
padding: 0 29px 0 0 !important;
}
@ -297,18 +328,21 @@ textarea.w3tc-error {
#mobile_groups th,
#referrer_groups th,
.w3tc_cachegroups th,
.w3tc_remove_cssjs_singles th,
#mobile_groups td,
#referrer_groups td,
.w3tc_cachegroups td,
.w3tc_remove_cssjs_singles td,
#cachegroups_form .form-table th {
padding: 10px 10px 10px 15px;
}
#mobile_groups li,
#referrer_groups li,
.w3tc_cachegroups li {
.w3tc_cachegroups li,
.w3tc_remove_cssjs_singles li {
cursor: ns-resize;
list-style: none;
list-style: none !important;
background: #f9f9f9;
margin-bottom: 1em;
border-radius: 8px;
@ -316,15 +350,21 @@ textarea.w3tc-error {
-moz-border-radius: 8px;
}
.w3tc_remove_cssjs_singles li {
cursor: default;
}
#mobile_groups li:hover,
#referrer_groups li:hover,
.w3tc_cachegroups li:hover {
.w3tc_cachegroups li:hover,
.w3tc_remove_cssjs_singles li:hover {
background: #f5f5f5;
}
#mobile_groups li table,
#referrer_groups li table,
.w3tc_cachegroups li table {
.w3tc_cachegroups li table,
.w3tc_remove_cssjs_singles li table {
margin: 0;
}

View File

@ -52,16 +52,29 @@
margin-left: 30px;
}
#w3tc-dashboard-widgets #normal-sortables .postbox {
width:360px;
.widgets-container .meta-box-sortables {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
justify-content: center;
}
#w3tc-dashboard-widgets #side-sortables .postbox {
border:none;
box-shadow:none;
-webkit-box-shadow: none;
-webkit-border-radius: 0;
border-radius: 0;
/* 1/3 width widget column - calc(33.33% - 13.5px)*/
.widgets-container .meta-box-sortables .postbox {
width: calc(33.33% - 13.5px);
min-height: 300px;
box-sizing: border-box;
margin: 0;
}
/* 1/2 width widget column - calc(50% - 10.5px)*/
/* 2/3 width widget column - calc(66.66% - 7px)*/
.widgets-container .meta-box-sortables #w3tc_settings,
.widgets-container .meta-box-sortables #w3tc_pagespeed {
width: calc(66.66% - 7px);
}
#w3tc-dashboard-widgets .handle-actions {
@ -72,16 +85,6 @@
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
@ -92,6 +95,14 @@
font-weight: 700
}
#normal-sortables #w3tc_new_relic {
width: 360px;
@media only screen and (max-width: 1200px) {
.widgets-container .meta-box-sortables .postbox {
width: calc(50% - 10.5px) !important;
}
}
@media only screen and (max-width: 782px) {
.widgets-container .meta-box-sortables .postbox {
width: 100% !important;
}
}