Remove lazy loading and minification features
- Remove CSS minifier and speed functions\n- Remove lazy loading functionality\n- Update plugin description and README\n- Simplify plugin to focus on auto upload feature\n- Rename files from wpa-superstar to wp-allstars
This commit is contained in:
125
admin/css/wp-allstars-admin.css
Normal file
125
admin/css/wp-allstars-admin.css
Normal file
@ -0,0 +1,125 @@
|
||||
.wp-allstars-wrap {
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.wp-allstars-header {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
box-shadow: 0 1px 0 rgba(0,0,0,.04);
|
||||
margin: 0 -20px 20px -20px;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.wp-allstars-header h1 {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.3;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.wp-allstars-header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.wp-allstars-version {
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.wp-allstars-toggle {
|
||||
margin: 15px 0;
|
||||
padding: 16px 20px;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,0.02);
|
||||
transition: all .15s ease-in-out;
|
||||
}
|
||||
|
||||
.wp-allstars-toggle:hover {
|
||||
border-color: #4caf50;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
.wp-allstars-toggle label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
font-weight: 500;
|
||||
color: #1d2327;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wp-allstars-toggle .description {
|
||||
margin: 6px 0 0 52px;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.wp-allstars-loading-overlay {
|
||||
position: fixed;
|
||||
top: 32px;
|
||||
left: 160px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
z-index: 100000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wp-allstars-plugin-filters {
|
||||
margin: 0 0 20px;
|
||||
padding: 0 0 12px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.wp-allstars-settings-container {
|
||||
padding: 0 20px;
|
||||
max-width: 1100px;
|
||||
}
|
||||
|
||||
.wp-allstars-settings-content {
|
||||
margin-top: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-allstars-toggle-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-allstars-toggle-settings {
|
||||
margin-top: 15px;
|
||||
padding-top: 15px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.wp-allstars-setting-row {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.wp-allstars-expand-settings {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 4px;
|
||||
cursor: pointer;
|
||||
color: #787c82;
|
||||
transition: color .15s ease-in-out;
|
||||
}
|
@ -1,328 +0,0 @@
|
||||
.wpa-superstar-wrap {
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.wpa-superstar-header {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
box-shadow: 0 1px 0 rgba(0,0,0,.04);
|
||||
margin: 0 -20px 20px -20px;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.wpa-superstar-header h1 {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.3;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.wpa-superstar-header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.wpa-superstar-version {
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.wpa-settings-container {
|
||||
padding: 0 20px;
|
||||
max-width: 1100px;
|
||||
}
|
||||
|
||||
/* RankMath-style Tabs */
|
||||
.nav-tab-wrapper {
|
||||
margin: 0;
|
||||
padding-top: 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
line-height: inherit;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.nav-tab {
|
||||
margin: 0 6px 0 0;
|
||||
padding: 12px 20px;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
font-weight: 500;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
color: #646970;
|
||||
transition: all .2s ease;
|
||||
}
|
||||
|
||||
.nav-tab:hover,
|
||||
.nav-tab:focus {
|
||||
background: transparent;
|
||||
color: #2271b1;
|
||||
border-bottom-color: rgba(34, 113, 177, 0.4);
|
||||
}
|
||||
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:focus,
|
||||
.nav-tab-active:focus:active,
|
||||
.nav-tab-active:hover {
|
||||
background: transparent;
|
||||
color: #2271b1;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #2271b1;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* RankMath-style toggle switches */
|
||||
.wpa-superstar-toggle {
|
||||
margin: 15px 0;
|
||||
padding: 16px 20px;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,0.02);
|
||||
transition: all .15s ease-in-out;
|
||||
}
|
||||
|
||||
.wpa-superstar-toggle:hover {
|
||||
border-color: #4caf50;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
.wpa-superstar-toggle label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
font-weight: 500;
|
||||
color: #1d2327;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wpa-superstar-toggle .description {
|
||||
margin: 6px 0 0 52px;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* RankMath-style Toggle Switch */
|
||||
.wpa-toggle-switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.wpa-toggle-switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wpa-toggle-slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #b5bfc9;
|
||||
transition: .15s ease-in-out;
|
||||
border-radius: 100px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.wpa-toggle-slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
left: 2px;
|
||||
bottom: 2px;
|
||||
background-color: white;
|
||||
transition: .15s ease-in-out;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.wpa-toggle-switch input:checked + .wpa-toggle-slider {
|
||||
background-color: #4caf50;
|
||||
}
|
||||
|
||||
.wpa-toggle-switch input:checked + .wpa-toggle-slider:before {
|
||||
transform: translateX(20px);
|
||||
}
|
||||
|
||||
.wpa-toggle-switch input:focus + .wpa-toggle-slider {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(76, 175, 80, 0.25);
|
||||
}
|
||||
|
||||
.wpa-toggle-switch:hover .wpa-toggle-slider:before {
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
/* Plugin filters */
|
||||
.wpa-plugin-filters {
|
||||
margin: 0 0 20px;
|
||||
padding: 0 0 12px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.wpa-plugin-filters .button {
|
||||
margin: 0 8px 8px 0;
|
||||
padding: 4px 10px;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
/* Settings content spacing */
|
||||
.wpa-settings-content {
|
||||
margin-top: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Loading overlay */
|
||||
.wpa-loading-overlay {
|
||||
position: fixed;
|
||||
top: 32px;
|
||||
left: 160px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
z-index: 100000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wp-list-table-container {
|
||||
position: relative;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.wp-list-table-container .spinner {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wpa-superstar-workflow-toggle {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
.wpa-superstar-workflow-toggle label {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
.wpa-superstar-workflow-toggle .description {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
/* Toggle switch styles */
|
||||
.switch {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
.switch input {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
.slider {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
.slider:before {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
input:checked + .slider {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
/* Remove these style blocks entirely */
|
||||
}
|
||||
|
||||
/* Active tab styles */
|
||||
.nav-tab-active {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
|
||||
.wpa-toggle-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wpa-expand-settings {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 4px;
|
||||
cursor: pointer;
|
||||
color: #787c82;
|
||||
transition: color .15s ease-in-out;
|
||||
}
|
||||
|
||||
.wpa-expand-settings:hover {
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.wpa-expand-settings .dashicons {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.wpa-toggle-settings {
|
||||
margin-top: 15px;
|
||||
padding-top: 15px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.wpa-setting-row {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.wpa-setting-row:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wpa-setting-row label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.wpa-setting-row input[type="text"],
|
||||
.wpa-setting-row input[type="number"],
|
||||
.wpa-setting-row textarea {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.wpa-setting-row textarea {
|
||||
min-height: 80px;
|
||||
}
|
||||
|
||||
.wpa-setting-row .description {
|
||||
margin-top: 5px;
|
||||
margin-left: 0;
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
}
|
Reference in New Issue
Block a user