File: /home/royaltuning/public_html/public/wp-content/plugins/wp-performance-optimizer/css/frontend.css
/**
* WP Performance Optimizer - Frontend Styles
* Version: 2.1.4
* Author: Performance Solutions Inc.
*/
/* Performance optimization styles */
.wppo-optimized {
will-change: transform;
backface-visibility: hidden;
perspective: 1000px;
}
/* Lazy loading placeholder */
.wppo-lazy-placeholder {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: wppo-loading 1.5s infinite;
border-radius: 4px;
}
@keyframes wppo-loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* Performance indicator (hidden by default) */
.wppo-perf-indicator {
position: fixed;
top: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 5px 10px;
border-radius: 4px;
font-size: 11px;
z-index: 999999;
display: none;
}
.wppo-perf-indicator.show {
display: block;
}
/* Cache warming indicator */
.wppo-cache-warming {
position: fixed;
bottom: 20px;
left: 20px;
background: #667eea;
color: white;
padding: 10px 15px;
border-radius: 6px;
font-size: 12px;
z-index: 999999;
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease;
}
.wppo-cache-warming.show {
opacity: 1;
transform: translateY(0);
}
/* Performance metrics overlay (debug mode) */
.wppo-debug-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 20px;
z-index: 999999;
display: none;
overflow-y: auto;
}
.wppo-debug-overlay.show {
display: block;
}
.wppo-debug-content {
max-width: 800px;
margin: 0 auto;
background: #333;
padding: 20px;
border-radius: 8px;
}
.wppo-debug-title {
font-size: 18px;
margin-bottom: 15px;
color: #667eea;
}
.wppo-debug-metric {
display: flex;
justify-content: space-between;
padding: 8px 0;
border-bottom: 1px solid #555;
}
.wppo-debug-metric:last-child {
border-bottom: none;
}
.wppo-debug-label {
color: #ccc;
}
.wppo-debug-value {
color: #46b450;
font-weight: bold;
}
/* Mobile optimizations */
@media (max-width: 768px) {
.wppo-perf-indicator {
top: 5px;
right: 5px;
font-size: 10px;
padding: 3px 6px;
}
.wppo-cache-warming {
bottom: 10px;
left: 10px;
font-size: 11px;
padding: 8px 12px;
}
}
/* Print optimizations */
@media print {
.wppo-perf-indicator,
.wppo-cache-warming,
.wppo-debug-overlay {
display: none !important;
}
}