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
244 lines
6 KiB
CSS
244 lines
6 KiB
CSS
.customize-control-ast-row-layout .ast-responsive-btns {
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
|
|
.customize-control-ast-radio-image label {
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.ast-divide-four label {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.customize-control-ast-radio-image input {
|
|
display: none;
|
|
}
|
|
|
|
.customize-control-ast-radio-image input:checked + label svg {
|
|
background: var(--ast-customizer-color-1);
|
|
border-radius: 0;
|
|
box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67);
|
|
}
|
|
|
|
.customize-control-ast-radio-image input:checked + label svg path {
|
|
color: var(--ast-customizer-color-10);
|
|
}
|
|
|
|
.customize-control-ast-radio-image .modern-layout input:checked + label svg,
|
|
.components-button-group.ahfb-radio-container-control .active-radio.ast-radio-img-svg svg {
|
|
background-color: var(--ast-customizer-color-1);
|
|
border-color: transparent;
|
|
box-shadow: 0px 12px 20px -8px rgba(30, 41, 59, 0.16);
|
|
border-bottom-color: #f0f0f1;
|
|
}
|
|
|
|
.ast-divide-four input:checked + label svg {
|
|
box-shadow: none;
|
|
color: var(--ast-customizer-color-3);
|
|
}
|
|
|
|
.customize-control-ast-radio-image input + label .image-clickable {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.customize-control-ast-radio-image:not(#customize-control-astra-settings-header-trigger-icon) > .image {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-column-gap: 5px;
|
|
grid-row-gap: 5px;
|
|
}
|
|
|
|
.customize-control-ast-radio-image:not(#customize-control-astra-settings-header-trigger-icon) > .modern-layout, .components-button-group.ahfb-radio-container-control {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-column-gap: 23px;
|
|
grid-row-gap: 23px;
|
|
}
|
|
|
|
.customize-control-ast-radio-image:not(#customize-control-astra-settings-header-trigger-icon) > .ast-divide-four {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
grid-column-gap: 14px;
|
|
grid-row-gap: 10px;
|
|
}
|
|
|
|
.customize-control-ast-radio-image .ast-radio-img-svg svg {
|
|
width: 75px;
|
|
height: 50px;
|
|
}
|
|
|
|
.customize-control-ast-radio-image .modern-layout .ast-radio-img-svg svg,
|
|
.components-button-group.ahfb-radio-container-control .ast-radio-img-svg svg {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
background-color: rgba(221,224,226,0.5);
|
|
border: 1px solid var(--ast-customizer-color-7);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.ast-divide-four .ast-radio-img-svg svg {
|
|
color: var(--ast-customizer-color-7);
|
|
width: 100%;
|
|
height: 93%;
|
|
}
|
|
|
|
.ast-divide-four .ast-radio-img-svg svg path {
|
|
color: var(--ast-customizer-color-8);
|
|
}
|
|
|
|
/* Image tooltip */
|
|
.image-clickable[data-title]::after {
|
|
text-transform: none;
|
|
font-size: .9em;
|
|
line-height: 1;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
display: none;
|
|
opacity: 0;
|
|
left: 50%;
|
|
transform: translate(-50%, -.5em);
|
|
}
|
|
|
|
.image-clickable[data-title]::after {
|
|
content: attr(data-title);
|
|
min-width: 3em;
|
|
max-width: 21em;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding: 1ch 1.5ch;
|
|
border-radius: .3ch;
|
|
box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
|
|
background: var(--ast-customizer-color-12);
|
|
color: var(--ast-customizer-color-10);
|
|
z-index: 9;
|
|
bottom: calc(100% + 5px);
|
|
text-align: center;
|
|
animation: tooltips-vert 300ms ease-out forwards;
|
|
}
|
|
|
|
/* Make the tooltips respond to hover */
|
|
.image-clickable[data-title]:hover::after {
|
|
display: block;
|
|
}
|
|
|
|
/* don't show empty tooltips */
|
|
.image-clickable[data-title='']::after {
|
|
display: none !important;
|
|
}
|
|
|
|
/* KEYFRAMES */
|
|
@keyframes tooltips-vert {
|
|
to {
|
|
opacity: .9;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
}
|
|
|
|
@keyframes tooltips-horz {
|
|
to {
|
|
opacity: .9;
|
|
transform: translate(0, -50%);
|
|
}
|
|
}
|
|
|
|
.ast-upgrade-trigger:hover .image-clickable[data-title]::after {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|