Add massive collection of CSS, JavaScript and theme assets that were previously excluded: **CSS Files (681 total):** - HVAC plugin-specific styles (hvac-*.css): 34 files including dashboard, certificates, registration, mobile nav, accessibility fixes, animations, and welcome popup - Theme framework files (Astra, builder systems, layouts): 200+ files - Plugin compatibility styles (WooCommerce, WPForms, Elementor, Contact Form 7): 150+ files - WordPress core and editor styles: 50+ files - Responsive and RTL language support: 200+ files **JavaScript Files (400+ total):** - HVAC plugin functionality (hvac-*.js): 27 files including menu systems, dashboard enhancements, profile sharing, mobile responsive features, accessibility, and animations - Framework and library files: jQuery plugins, GSAP, AOS, Swiper, Chart.js, Lottie, Isotope - Plugin compatibility scripts: WPForms, WooCommerce, Elementor, Contact Form 7, LifterLMS - WordPress core functionality: customizer, admin, block editor compatibility - Third-party integrations: Stripe, SMTP, analytics, search functionality **Assets:** - Certificate background images and logos - Comprehensive theme styling infrastructure - Mobile-responsive design systems - Cross-browser compatibility assets - Performance-optimized minified versions **Updated .gitignore:** - Fixed asset directory whitelisting patterns to properly include CSS/JS/images - Added proper directory structure recognition (!/assets/css/, !/assets/js/, etc.) - Maintains security by excluding sensitive files while including essential assets This commit provides the complete frontend infrastructure needed for: - Full theme functionality and styling - Plugin feature implementations - Mobile responsiveness and accessibility - Cross-browser compatibility - Performance optimization - Developer workflow support
652 lines
12 KiB
CSS
652 lines
12 KiB
CSS
/**
|
|
* HVAC Help System Styles
|
|
* Styles for welcome guide, tooltips, and documentation
|
|
*/
|
|
|
|
/* Welcome Modal Styles */
|
|
.hvac-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
animation: hvacFadeIn 0.3s ease-out forwards;
|
|
}
|
|
|
|
.hvac-modal-content {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
|
|
max-width: 600px;
|
|
width: 90%;
|
|
max-height: 80vh;
|
|
overflow: hidden;
|
|
transform: scale(0.9);
|
|
animation: hvacSlideUp 0.3s ease-out forwards;
|
|
}
|
|
|
|
.hvac-modal-header {
|
|
background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
|
|
color: white;
|
|
padding: 24px 32px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.hvac-modal-header h2 {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.hvac-modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.hvac-modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Welcome Cards */
|
|
.hvac-welcome-cards {
|
|
position: relative;
|
|
height: 320px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hvac-welcome-card {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 40px 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
|
|
.hvac-welcome-card.active {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
.hvac-welcome-card.hidden {
|
|
transform: translateX(-100%);
|
|
opacity: 0;
|
|
}
|
|
|
|
.hvac-card-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 24px;
|
|
box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.hvac-card-icon i {
|
|
font-size: 32px;
|
|
color: white;
|
|
}
|
|
|
|
.hvac-card-content h3 {
|
|
color: #2c5aa0;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.hvac-card-content p {
|
|
color: #555;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
max-width: 400px;
|
|
}
|
|
|
|
/* Modal Navigation */
|
|
.hvac-modal-navigation {
|
|
padding: 24px 32px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.hvac-nav-btn {
|
|
background: #2c5aa0;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.hvac-nav-btn:hover:not(:disabled) {
|
|
background: #1e4080;
|
|
}
|
|
|
|
.hvac-nav-btn:disabled {
|
|
background: #ccc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.hvac-card-indicators {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.hvac-indicator {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: #ddd;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.hvac-indicator.active {
|
|
background: #2c5aa0;
|
|
}
|
|
|
|
.hvac-indicator:hover {
|
|
background: #4CAF50;
|
|
}
|
|
|
|
/* Modal Footer */
|
|
.hvac-modal-footer {
|
|
padding: 24px 32px;
|
|
background: #f9f9f9;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.hvac-dismiss-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hvac-primary-btn {
|
|
background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.hvac-primary-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
/* Tooltip Styles */
|
|
.hvac-tooltip-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper:hover::after {
|
|
content: attr(data-tooltip);
|
|
position: absolute;
|
|
background: #333;
|
|
color: white;
|
|
padding: 8px 12px;
|
|
border-radius: 4px;
|
|
font-size: 0.85rem;
|
|
white-space: nowrap;
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
animation: hvacTooltipShow 0.2s ease-out 0.3s forwards;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper:hover::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border: 5px solid transparent;
|
|
z-index: 1001;
|
|
opacity: 0;
|
|
animation: hvacTooltipShow 0.2s ease-out 0.3s forwards;
|
|
}
|
|
|
|
/* Tooltip positions */
|
|
.hvac-tooltip-wrapper[data-position="top"]:hover::after {
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="top"]:hover::before {
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-bottom: 3px;
|
|
border-top-color: #333;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="bottom"]:hover::after {
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="bottom"]:hover::before {
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-top: 3px;
|
|
border-bottom-color: #333;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="left"]:hover::after {
|
|
right: 100%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="left"]:hover::before {
|
|
right: 100%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
margin-right: 3px;
|
|
border-left-color: #333;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="right"]:hover::after {
|
|
left: 100%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.hvac-tooltip-wrapper[data-position="right"]:hover::before {
|
|
left: 100%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
margin-left: 3px;
|
|
border-right-color: #333;
|
|
}
|
|
|
|
/* Documentation Page Styles */
|
|
.hvac-documentation {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 32px 16px;
|
|
}
|
|
|
|
.hvac-doc-header {
|
|
text-align: center;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.hvac-doc-header h1 {
|
|
color: #2c5aa0;
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.hvac-doc-subtitle {
|
|
color: #666;
|
|
font-size: 1.2rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.hvac-doc-navigation {
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
margin-bottom: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.hvac-doc-nav {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
}
|
|
|
|
.hvac-doc-link {
|
|
color: #2c5aa0;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.hvac-doc-link:hover {
|
|
background: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hvac-doc-section {
|
|
margin-bottom: 48px;
|
|
padding: 32px;
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hvac-doc-section h2 {
|
|
color: #2c5aa0;
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
margin: 0 0 24px 0;
|
|
padding-bottom: 12px;
|
|
border-bottom: 3px solid #4CAF50;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.hvac-doc-section h2 i {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.hvac-doc-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.hvac-doc-card {
|
|
background: #f8f9fa;
|
|
padding: 24px;
|
|
border-radius: 8px;
|
|
border-left: 4px solid #4CAF50;
|
|
}
|
|
|
|
.hvac-doc-card h3 {
|
|
color: #2c5aa0;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.hvac-doc-card p {
|
|
color: #555;
|
|
line-height: 1.6;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.hvac-doc-btn {
|
|
background: #4CAF50;
|
|
color: white;
|
|
padding: 10px 16px;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
display: inline-block;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.hvac-doc-btn:hover {
|
|
background: #45a049;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hvac-feature-list {
|
|
display: grid;
|
|
gap: 24px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.hvac-feature {
|
|
background: #f8f9fa;
|
|
padding: 24px;
|
|
border-radius: 8px;
|
|
border-left: 4px solid #2c5aa0;
|
|
}
|
|
|
|
.hvac-feature h3 {
|
|
color: #2c5aa0;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.hvac-feature p, .hvac-feature ul, .hvac-feature ol {
|
|
color: #555;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
}
|
|
|
|
.hvac-feature ul li, .hvac-feature ol li {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.hvac-faq-list {
|
|
display: grid;
|
|
gap: 16px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.hvac-faq-item {
|
|
background: #f8f9fa;
|
|
padding: 24px;
|
|
border-radius: 8px;
|
|
border-left: 4px solid #4CAF50;
|
|
}
|
|
|
|
.hvac-faq-item h3 {
|
|
color: #2c5aa0;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.hvac-faq-item p {
|
|
color: #555;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes hvacFadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes hvacSlideUp {
|
|
from {
|
|
transform: scale(0.9) translateY(20px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: scale(1) translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes hvacTooltipShow {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.hvac-modal-content {
|
|
width: 95%;
|
|
margin: 16px;
|
|
}
|
|
|
|
.hvac-modal-header,
|
|
.hvac-modal-navigation,
|
|
.hvac-modal-footer {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.hvac-welcome-card {
|
|
padding: 32px 20px;
|
|
}
|
|
|
|
.hvac-modal-header h2 {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.hvac-card-content h3 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.hvac-card-content p {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.hvac-modal-footer {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.hvac-primary-btn {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.hvac-doc-nav {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.hvac-doc-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.hvac-documentation {
|
|
padding: 16px 8px;
|
|
}
|
|
|
|
.hvac-doc-section {
|
|
padding: 20px;
|
|
}
|
|
|
|
.hvac-doc-header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
/* Focus Management Styles - WCAG 2.1 Compliance */
|
|
/* Added for keyboard accessibility and screen reader support */
|
|
|
|
/* Button Focus Styles */
|
|
.hvac-button:focus,
|
|
.hvac-content .button:focus,
|
|
.hvac-content button:focus,
|
|
.hvac-content input[type="submit"]:focus,
|
|
.hvac-email-submit:focus,
|
|
.hvac-filter-submit:focus,
|
|
.hvac-certificate-actions button:focus,
|
|
.hvac-certificate-actions a:focus {
|
|
outline: 2px solid #005fcc;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Input Focus Styles */
|
|
.hvac-form-input:focus,
|
|
.hvac-content input[type="text"]:focus,
|
|
.hvac-content input[type="email"]:focus,
|
|
.hvac-content input[type="password"]:focus,
|
|
.hvac-content input[type="url"]:focus,
|
|
.hvac-content textarea:focus,
|
|
.hvac-content select:focus,
|
|
.hvac-email-form-row input:focus,
|
|
.hvac-email-form-row textarea:focus,
|
|
.hvac-filter-group input:focus,
|
|
.hvac-filter-group select:focus {
|
|
outline: 2px solid #005fcc;
|
|
outline-offset: 2px;
|
|
border-color: #005fcc;
|
|
box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
|
|
}
|
|
|
|
/* Link Focus Styles */
|
|
.hvac-content a:focus,
|
|
.hvac-event-link:focus,
|
|
.hvac-certificate-link:focus,
|
|
.hvac-attendee-profile-icon:focus,
|
|
.hvac-dashboard-nav a:focus,
|
|
.hvac-email-navigation a:focus {
|
|
outline: 2px solid #005fcc;
|
|
outline-offset: 2px;
|
|
text-decoration: underline;
|
|
background-color: rgba(0, 95, 204, 0.1);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Interactive Element Focus Styles */
|
|
.hvac-attendee-checkbox:focus,
|
|
.hvac-select-all-container input[type="checkbox"]:focus,
|
|
.hvac-modal-close:focus,
|
|
.hvac-certificate-table tr:focus {
|
|
outline: 2px solid #005fcc;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
|
|
}
|
|
|
|
/* High Contrast Mode Support */
|
|
@media (prefers-contrast: high) {
|
|
.hvac-content *:focus {
|
|
outline: 3px solid #000000;
|
|
outline-offset: 2px;
|
|
background-color: #ffff00;
|
|
color: #000000;
|
|
}
|
|
}
|
|
|
|
/* Focus-visible polyfill support */
|
|
|
|
/* Reset focus for mouse users while preserving keyboard accessibility */
|
|
.js-focus-visible :focus:not(.focus-visible) {
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Ensure focus is visible for keyboard users */
|
|
.js-focus-visible .focus-visible {
|
|
outline: 2px solid #005fcc;
|
|
outline-offset: 2px;
|
|
}
|