File: /mnt/data/doccure-io/wp-content/plugins/wp-performance-optimizer/css/admin.css
/**
* WP Performance Optimizer - Admin Styles
* Version: 2.1.4
* Author: Performance Solutions Inc.
*/
.wppo-admin-wrap {
max-width: 1200px;
margin: 20px 0;
}
.wppo-admin-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
}
.wppo-admin-header h1 {
margin: 0;
font-size: 28px;
font-weight: 300;
}
.wppo-admin-header p {
margin: 5px 0 0 0;
opacity: 0.9;
}
.wppo-metrics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.wppo-metric-card {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}
.wppo-metric-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.wppo-metric-title {
font-size: 14px;
color: #666;
margin: 0 0 10px 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.wppo-metric-value {
font-size: 32px;
font-weight: bold;
color: #333;
margin: 0;
}
.wppo-metric-change {
font-size: 12px;
margin-top: 5px;
}
.wppo-metric-change.positive {
color: #46b450;
}
.wppo-metric-change.negative {
color: #dc3232;
}
.wppo-status-indicator {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 8px;
}
.wppo-status-indicator.active {
background-color: #46b450;
box-shadow: 0 0 0 2px rgba(70, 180, 80, 0.3);
}
.wppo-status-indicator.inactive {
background-color: #dc3232;
}
.wppo-chart-container {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
}
.wppo-chart-title {
font-size: 18px;
margin: 0 0 20px 0;
color: #333;
}
.wppo-fake-chart {
height: 200px;
background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
background-size: 20px 20px;
background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
border-radius: 4px;
position: relative;
overflow: hidden;
}
.wppo-fake-chart::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg,
rgba(102, 126, 234, 0.1) 0%,
rgba(118, 75, 162, 0.1) 50%,
rgba(102, 126, 234, 0.1) 100%);
animation: wppo-chart-animation 3s ease-in-out infinite;
}
@keyframes wppo-chart-animation {
0%, 100% { opacity: 0.3; }
50% { opacity: 0.7; }
}
.wppo-settings-section {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
}
.wppo-settings-title {
font-size: 18px;
margin: 0 0 15px 0;
color: #333;
border-bottom: 2px solid #667eea;
padding-bottom: 10px;
}
.wppo-form-group {
margin-bottom: 20px;
}
.wppo-form-group label {
display: block;
margin-bottom: 5px;
font-weight: 600;
color: #333;
}
.wppo-form-group input,
.wppo-form-group select {
width: 100%;
max-width: 400px;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.wppo-form-group input:focus,
.wppo-form-group select:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}
.wppo-button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: transform 0.2s ease;
}
.wppo-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}
.wppo-button:active {
transform: translateY(0);
}
.wppo-notice {
padding: 12px 16px;
border-radius: 4px;
margin-bottom: 20px;
}
.wppo-notice.success {
background-color: #d4edda;
border: 1px solid #c3e6cb;
color: #155724;
}
.wppo-notice.warning {
background-color: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
}
.wppo-notice.error {
background-color: #f8d7da;
border: 1px solid #f5c6cb;
color: #721c24;
}
.wppo-footer {
text-align: center;
padding: 20px;
color: #666;
font-size: 12px;
border-top: 1px solid #eee;
margin-top: 40px;
}
/* Responsive Design */
@media (max-width: 768px) {
.wppo-metrics-grid {
grid-template-columns: 1fr;
}
.wppo-admin-header h1 {
font-size: 24px;
}
.wppo-metric-value {
font-size: 24px;
}
}