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
204 lines
No EOL
4.6 KiB
CSS
204 lines
No EOL
4.6 KiB
CSS
/**
|
|
* HVAC Menu System Styles
|
|
* WordPress-compliant navigation styling
|
|
*/
|
|
|
|
/* Increase specificity to override theme styles */
|
|
.hvac-page-wrapper .hvac-trainer-menu-wrapper,
|
|
.hvac-trainer-menu-wrapper {
|
|
background: #ffffff !important;
|
|
border-bottom: 1px solid #e0e0e0 !important;
|
|
margin-bottom: 20px !important;
|
|
padding: 0 !important;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
|
|
width: 100% !important;
|
|
display: block !important;
|
|
}
|
|
|
|
.hvac-trainer-nav {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.hvac-page-wrapper .hvac-trainer-menu,
|
|
.hvac-trainer-menu {
|
|
display: flex !important;
|
|
list-style: none !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
align-items: center !important;
|
|
flex-wrap: wrap !important;
|
|
flex-direction: row !important;
|
|
}
|
|
|
|
/* Position help menu item to the far right */
|
|
.hvac-trainer-menu .hvac-help-menu-item {
|
|
margin-left: auto !important;
|
|
order: 999 !important; /* Ensure it's always last */
|
|
}
|
|
|
|
/* Style the help menu icon */
|
|
.hvac-trainer-menu .hvac-help-menu-item a {
|
|
padding: 15px 10px !important;
|
|
font-size: 18px !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
min-width: 40px !important;
|
|
}
|
|
|
|
.hvac-trainer-menu .hvac-help-menu-item .dashicons {
|
|
font-size: 18px !important;
|
|
}
|
|
|
|
.hvac-page-wrapper .hvac-trainer-menu .menu-item,
|
|
.hvac-trainer-menu .menu-item {
|
|
position: relative !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
display: inline-flex !important;
|
|
list-style: none !important;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item > a,
|
|
.hvac-trainer-menu .menu-item > .menu-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 15px 20px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
border: none;
|
|
background: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item > a:hover,
|
|
.hvac-trainer-menu .menu-item > .menu-toggle:hover {
|
|
background-color: #f8f9fa;
|
|
color: #007cba;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item.has-children > .menu-toggle {
|
|
position: relative;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item .dashicons {
|
|
margin-right: 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.hvac-trainer-menu .dropdown-arrow {
|
|
margin-left: 8px;
|
|
font-size: 12px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item.has-children.open .dropdown-arrow {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.hvac-trainer-menu .sub-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
background: #ffffff;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 4px;
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 8px 0;
|
|
min-width: 200px;
|
|
z-index: 9999;
|
|
display: none;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item.has-children.open .sub-menu {
|
|
display: block;
|
|
}
|
|
|
|
.hvac-trainer-menu .sub-menu .menu-item {
|
|
width: 100%;
|
|
}
|
|
|
|
.hvac-trainer-menu .sub-menu .menu-item > a {
|
|
padding: 12px 20px;
|
|
font-weight: 400;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hvac-trainer-menu .sub-menu .menu-item > a:hover {
|
|
background-color: #f8f9fa;
|
|
color: #007cba;
|
|
}
|
|
|
|
.hvac-trainer-menu .sub-menu .sub-menu {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 100%;
|
|
margin-left: 1px;
|
|
}
|
|
|
|
/* Special styling for logout */
|
|
.hvac-trainer-menu .menu-item-logout {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item-logout > a {
|
|
color: #d63638;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item-logout > a:hover {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
/* Mobile responsive */
|
|
@media (max-width: 768px) {
|
|
.hvac-trainer-menu {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item {
|
|
width: 100%;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item > a,
|
|
.hvac-trainer-menu .menu-item > .menu-toggle {
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.hvac-trainer-menu .sub-menu {
|
|
position: static;
|
|
box-shadow: none;
|
|
border: none;
|
|
border-left: 3px solid #007cba;
|
|
margin-left: 20px;
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item-logout {
|
|
margin-left: 0;
|
|
border-top: 2px solid #e0e0e0;
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
}
|
|
}
|
|
|
|
/* Active page highlighting */
|
|
.hvac-trainer-menu .menu-item.current-menu-item > a,
|
|
.hvac-trainer-menu .menu-item.current-menu-parent > a {
|
|
background-color: #007cba;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.hvac-trainer-menu .menu-item.current-menu-item > a:hover,
|
|
.hvac-trainer-menu .menu-item.current-menu-parent > a:hover {
|
|
background-color: #005a87;
|
|
} |