Rename plugin to wp-seoprostack-plugin, update file structure

This commit is contained in:
Marcus Quinn
2025-03-24 02:48:06 +00:00
parent 18b0a2c246
commit aee3cb91e2
35 changed files with 5455 additions and 655 deletions

View File

@ -803,4 +803,575 @@ input:checked + .wp-toggle-slider:before {
.wpa-pro-plugin .button {
width: 100%;
}
}
/**
* SEO Pro Stack Admin CSS
*
* Styles for the admin settings pages
*
* @package SEO_Pro_Stack
*/
/* Main Settings Container */
.seoprostack-wrap {
max-width: none;
margin: 0;
padding-right: 20px;
}
/* Header Section */
.seoprostack-header {
background: #fff;
border-bottom: 1px solid #c3c4c7;
box-shadow: 0 1px 0 rgba(0,0,0,.04);
margin: 0 -20px 0 -20px;
padding: 20px;
display: flex;
align-items: center;
justify-content: space-between;
width: auto;
position: relative;
}
.seoprostack-header h1 {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 0;
line-height: 1.3;
color: #1d2327;
}
.seoprostack-header-actions {
display: flex;
align-items: center;
gap: 10px;
}
.seoprostack-version {
color: #d35400; /* Dark orange */
font-size: 13px;
font-weight: 400;
}
.seoprostack-description {
margin-top: 5px;
color: #757575;
font-size: 14px;
}
/* Navigation Tabs */
.nav-tab-wrapper,
.wrap h2.nav-tab-wrapper {
border-bottom: 1px solid #c3c4c7;
margin: 0 -20px;
padding: 0 20px;
background: #fff;
position: sticky;
top: 32px;
z-index: 100;
}
.nav-tab {
background: #f7f7f7;
border-color: #c3c4c7;
color: #555;
margin-bottom: -1px;
margin-right: 5px;
}
.nav-tab:hover,
.nav-tab:focus {
background: #fff;
color: #d35400;
}
.nav-tab-active,
.nav-tab-active:hover,
.nav-tab-active:focus {
background: #fff;
border-bottom-color: #fff;
color: #d35400;
}
/* Settings Container */
.seoprostack-settings-container {
margin-top: 20px;
display: flex;
flex-direction: column;
}
.seoprostack-settings-content {
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
padding: 20px;
margin-bottom: 20px;
}
/* Setting Sections */
.seoprostack-setting-section {
margin-bottom: 30px;
}
.seoprostack-setting-section h2 {
font-size: 18px;
font-weight: 600;
margin-top: 0;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.seoprostack-setting-section h3 {
font-size: 16px;
font-weight: 600;
margin-top: 20px;
margin-bottom: 10px;
}
.seoprostack-setting-section p.description {
color: #757575;
font-size: 13px;
margin-bottom: 15px;
max-width: 760px;
}
/* Setting Rows */
.seoprostack-setting-row {
margin-bottom: 15px;
padding: 10px;
border-radius: 4px;
transition: background-color 0.3s;
}
.seoprostack-setting-row:hover {
background-color: #f9f9f9;
}
.seoprostack-setting-row label {
display: block;
margin-bottom: 8px;
font-size: 14px;
font-weight: 600;
}
.seoprostack-setting-row input[type="text"],
.seoprostack-setting-row input[type="number"],
.seoprostack-setting-row select,
.seoprostack-setting-row textarea {
width: 100%;
max-width: 500px;
}
.seoprostack-setting-row .description {
display: block;
margin-top: 5px;
color: #757575;
font-size: 13px;
}
/* Toggle Sections */
.seoprostack-toggle {
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 15px;
overflow: hidden;
}
.seoprostack-toggle-header {
background: #f9f9f9;
padding: 15px;
cursor: pointer;
border-bottom: 1px solid #ddd;
transition: background-color 0.3s;
}
.seoprostack-toggle-header:hover {
background: #f5f5f5;
}
.seoprostack-toggle-header.active {
background: #e9e9e9;
}
.seoprostack-toggle-main {
display: flex;
justify-content: space-between;
align-items: center;
}
.seoprostack-toggle-left h3 {
margin: 0;
font-size: 15px;
font-weight: 600;
}
.seoprostack-toggle-left p {
margin: 5px 0 0;
color: #757575;
font-size: 13px;
}
.seoprostack-toggle-settings {
padding: 15px;
background: #fff;
}
/* Toggle Switch */
.wp-toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.wp-toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-label {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 24px;
}
.toggle-label:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .toggle-label {
background-color: #d35400;
}
input:focus + .toggle-label {
box-shadow: 0 0 1px #d35400;
}
input:checked + .toggle-label:before {
transform: translateX(26px);
}
/* Checkbox Styling */
.seoprostack-checkbox-label {
display: flex;
align-items: center;
font-weight: 600;
margin-bottom: 5px;
}
.seoprostack-checkbox-label input[type="checkbox"] {
margin-right: 8px;
}
/* Action Buttons */
.seoprostack-setting-actions {
margin-top: 20px;
display: flex;
align-items: center;
}
.seoprostack-setting-actions .button-primary {
background: #d35400;
border-color: #aa4400;
}
.seoprostack-setting-actions .button-primary:hover,
.seoprostack-setting-actions .button-primary:focus {
background: #aa4400;
border-color: #803300;
}
.seoprostack-setting-actions .spinner {
float: none;
margin-left: 10px;
}
/* Notices */
.seoprostack-notice {
padding: 10px 15px;
margin: 15px 0;
border-radius: 4px;
border-left: 4px solid;
}
.seoprostack-notice-success {
background-color: #f0fff1;
border-left-color: #46b450;
}
.seoprostack-notice-error {
background-color: #ffeaea;
border-left-color: #dc3232;
}
.seoprostack-notice-warning {
background-color: #fef8ee;
border-left-color: #ffb900;
}
.seoprostack-notice-info {
background-color: #f0f6fc;
border-left-color: #00a0d2;
}
/* Theme Cards */
.seoprostack-theme-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}
.seoprostack-theme-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.seoprostack-theme-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.seoprostack-theme-card-header {
height: 200px;
overflow: hidden;
}
.seoprostack-theme-card-header img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.seoprostack-theme-card:hover .seoprostack-theme-card-header img {
transform: scale(1.05);
}
.seoprostack-theme-card-content {
padding: 15px;
}
.seoprostack-theme-card-content h4 {
margin: 0 0 10px;
font-size: 16px;
font-weight: 600;
}
.seoprostack-theme-card-content p {
margin: 0 0 15px;
color: #666;
font-size: 14px;
line-height: 1.5;
}
/* Hosting Cards */
.seoprostack-hosting-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}
.seoprostack-hosting-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.seoprostack-hosting-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.seoprostack-hosting-card-header {
padding: 15px;
text-align: center;
border-bottom: 1px solid #eee;
}
.seoprostack-hosting-card-header img {
max-width: 160px;
max-height: 60px;
}
.seoprostack-hosting-card-content {
padding: 15px;
}
.seoprostack-hosting-card-content h4 {
margin: 0 0 10px;
font-size: 16px;
font-weight: 600;
}
.seoprostack-hosting-card-content p {
margin: 0 0 15px;
color: #666;
font-size: 14px;
line-height: 1.5;
}
/* Server Info */
.seoprostack-info-table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
.seoprostack-info-table th,
.seoprostack-info-table td {
padding: 10px;
border-bottom: 1px solid #eee;
text-align: left;
}
.seoprostack-info-table th {
font-weight: 600;
width: 20%;
}
.seoprostack-info-note {
color: #666;
font-size: 13px;
}
.seoprostack-status-icon {
display: inline-block;
width: 16px;
height: 16px;
border-radius: 50%;
margin-left: 5px;
vertical-align: middle;
}
.seoprostack-status-good {
background-color: #46b450;
}
.seoprostack-status-warning {
background-color: #ffb900;
}
.seoprostack-status-bad {
background-color: #dc3232;
}
/* Tools Grid */
.seoprostack-tools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}
.seoprostack-tool-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.seoprostack-tool-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.seoprostack-tool-card-header {
padding: 20px;
text-align: center;
background: #f7f7f7;
}
.seoprostack-tool-card-header .dashicons {
font-size: 32px;
width: 32px;
height: 32px;
color: #d35400;
}
.seoprostack-tool-card-content {
padding: 15px;
}
.seoprostack-tool-card-content h3 {
margin: 0 0 10px;
font-size: 16px;
font-weight: 600;
}
.seoprostack-tool-card-content p {
margin: 0 0 15px;
color: #666;
font-size: 14px;
line-height: 1.5;
}
/* DB Actions */
.seoprostack-db-actions {
margin-top: 15px;
display: flex;
align-items: center;
}
.seoprostack-db-actions .spinner {
float: none;
margin-left: 10px;
}
/* Loading States */
.loading::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255,255,255,0.7);
z-index: 1;
}
/* Responsive */
@media screen and (max-width: 782px) {
.seoprostack-theme-grid,
.seoprostack-hosting-grid,
.seoprostack-tools-grid {
grid-template-columns: 1fr;
}
.seoprostack-header {
flex-direction: column;
align-items: flex-start;
}
.seoprostack-header-actions {
margin-top: 10px;
}
}