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
460 lines
9.8 KiB
CSS
460 lines
9.8 KiB
CSS
/*---------- Media Query min-width Structure ----------*/
|
|
/*---------- Media Query max-width Structure ----------*/
|
|
/*---------- Break-point min-width Structure ----------*/
|
|
/*---------- Break-point max-width Structure ----------*/
|
|
/**
|
|
* Quick View Style
|
|
*/
|
|
/*=======================
|
|
* MODAL POPUP STYLE
|
|
========================*/
|
|
html.ast-quick-view-is-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
html.ast-quick-view-is-open body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
html.ast-quick-view-is-open .main-header-bar.ast-sticky-active, html.ast-quick-view-is-open .ast-above-header.ast-sticky-active, html.ast-quick-view-is-open .ast-below-header.ast-sticky-active {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ast-quick-view-bg {
|
|
position: fixed;
|
|
visibility: hidden;
|
|
overflow: hidden;
|
|
background: #0b0b0b;
|
|
opacity: 0;
|
|
transition: opacity .25s;
|
|
z-index: 1042;
|
|
}
|
|
|
|
.ast-quick-view-loader {
|
|
z-index: 1000;
|
|
border: none;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0px;
|
|
right: 0px;
|
|
position: absolute;
|
|
}
|
|
|
|
.ast-quick-view-loader.blockUI.blockOverlay::before {
|
|
content: "";
|
|
background: none !important;
|
|
width: 48px;
|
|
height: 48px;
|
|
display: block;
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 50%;
|
|
border: 3px solid white;
|
|
margin: 0 auto;
|
|
border-radius: 50%;
|
|
border-right-color: transparent;
|
|
border-left-color: transparent;
|
|
animation: ast-qv-spin 575ms infinite linear;
|
|
}
|
|
|
|
@keyframes ast-qv-spin {
|
|
100% {
|
|
transform: rotate(-360deg);
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
100% {
|
|
transform: rotate(-360deg);
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
|
|
.ast-quick-view-bg-ready {
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0.6;
|
|
visibility: visible;
|
|
}
|
|
|
|
body #ast-quick-view-modal div.product .flex-viewport {
|
|
width: 100%;
|
|
float: none;
|
|
}
|
|
|
|
#ast-quick-view-modal {
|
|
position: fixed;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1400;
|
|
text-align: center;
|
|
transition: all 0.3s;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#ast-quick-view-content div.images {
|
|
min-width: 400px;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-content-main-wrapper {
|
|
position: absolute;
|
|
border-radius: 3px;
|
|
top: 50%;
|
|
right: 50%;
|
|
transform: translate(50%, -50%);
|
|
width: max(80%, 800px);
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-content-main-wrapper:before {
|
|
content: '';
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
height: 100%;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-content-main {
|
|
position: relative;
|
|
pointer-events: none;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
max-width: 100%;
|
|
margin: 0 auto;
|
|
text-align: right;
|
|
z-index: 1045;
|
|
transform: translateY(-30px);
|
|
opacity: 0;
|
|
transition: transform .5s, opacity .3s;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-content-main:after, #ast-quick-view-modal .ast-content-main:before {
|
|
content: '';
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-lightbox-content {
|
|
display: table;
|
|
pointer-events: auto;
|
|
background-color: var(--ast-global-color-5);
|
|
margin: 0 auto;
|
|
box-shadow: -3px 3px 20px 0 rgba(0, 0, 0, 0.15);
|
|
position: relative;
|
|
}
|
|
|
|
#ast-quick-view-modal.open {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
#ast-quick-view-modal.open .ast-content-main {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider {
|
|
position: relative;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .ast-qv-slides li {
|
|
list-style: none;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-control-nav {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
position: absolute;
|
|
bottom: 10px;
|
|
text-align: center;
|
|
z-index: 2;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-control-nav li {
|
|
margin: 0 6px;
|
|
display: inline-block;
|
|
zoom: 1;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-control-paging li a {
|
|
width: 11px;
|
|
height: 11px;
|
|
display: block;
|
|
background: #666;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
cursor: pointer;
|
|
text-indent: -9999px;
|
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-control-paging li a.flex-active {
|
|
background: #000;
|
|
background: rgba(0, 0, 0, 0.9);
|
|
cursor: default;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-direction-nav {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-direction-nav a {
|
|
text-decoration: none;
|
|
display: block;
|
|
margin: -20px 0 0;
|
|
position: absolute;
|
|
top: 50%;
|
|
z-index: 10;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
text-shadow: -1px 1px 0 rgba(255, 255, 255, 0.3);
|
|
transition: all 0.3s ease-in-out;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-direction-nav .flex-prev:before, #ast-quick-view-modal .ast-qv-image-slider .flex-direction-nav .flex-next:before {
|
|
speak: none;
|
|
font-size: 20px;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
position: absolute;
|
|
visibility: visible;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-direction-nav .flex-prev {
|
|
right: -50px;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider .flex-direction-nav .flex-next {
|
|
left: -50px;
|
|
text-align: left;
|
|
}
|
|
|
|
#ast-quick-view-modal .ast-qv-image-slider:hover .flex-direction-nav .flex-prev, #ast-quick-view-modal .ast-qv-image-slider:hover .flex-direction-nav .flex-next {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
#ast-quick-view-content {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#ast-quick-view-content div.product {
|
|
padding: 0;
|
|
display: inline-block;
|
|
width: 100%;
|
|
vertical-align: middle;
|
|
overflow: hidden;
|
|
max-width: 1000px;
|
|
}
|
|
|
|
#ast-quick-view-content div.images {
|
|
opacity: 1 !important;
|
|
margin: 0;
|
|
width: 50%;
|
|
min-width: 400px;
|
|
display: inline-block;
|
|
float: right;
|
|
}
|
|
|
|
#ast-quick-view-content div.summary {
|
|
margin: 0;
|
|
padding: 30px;
|
|
width: 50%;
|
|
min-width: 400px;
|
|
float: right;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#ast-quick-view-content .ast-woocommerce-accordion {
|
|
display: none;
|
|
}
|
|
|
|
.open .ast-quick-view-loader {
|
|
opacity: 0;
|
|
}
|
|
|
|
.stick-add-to-cart #ast-quick-view-content div.summary {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
#ast-quick-view-content div.summary .added_to_cart {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
#ast-quick-view-content div.woocommerce-product-rating:after, #ast-quick-view-content div.woocommerce-product-rating:before {
|
|
content: '';
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
#ast-quick-view-content div.woocommerce-product-rating a.woocommerce-review-link {
|
|
display: none;
|
|
}
|
|
|
|
#ast-quick-view-content .onsale {
|
|
top: 15px;
|
|
right: 15px;
|
|
left: auto;
|
|
}
|
|
|
|
#ast-quick-view-close {
|
|
position: absolute;
|
|
font-size: 1em;
|
|
top: -15px;
|
|
left: -15px;
|
|
width: 22px;
|
|
height: 22px;
|
|
line-height: 22px;
|
|
text-align: center;
|
|
z-index: 4;
|
|
background: #fff;
|
|
color: #000;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 4px #4c4c4c;
|
|
}
|
|
|
|
#ast-quick-view-close:hover {
|
|
opacity: 1;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
/* Button On Page and Image */
|
|
.astra-shop-thumbnail-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.ast-quick-view-text {
|
|
position: absolute;
|
|
opacity: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
min-height: 2em;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
color: #fff;
|
|
}
|
|
|
|
.ast-quick-view-text:hover {
|
|
background: #000000;
|
|
color: #fff;
|
|
}
|
|
|
|
.astra-shop-thumbnail-wrap:hover .ast-quick-view-text {
|
|
opacity: 1;
|
|
}
|
|
|
|
.woocommerce #ast-quick-view-modal div.product form.cart .button.single_add_to_cart_button {
|
|
padding: 10px 20px;
|
|
height: 40px;
|
|
}
|
|
|
|
.woocommerce #ast-quick-view-modal div.product form.cart .button.single_add_to_cart_button.loading {
|
|
padding-left: 40px;
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|