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
461 lines
11 KiB
CSS
461 lines
11 KiB
CSS
|
|
#customize-control-astra-color-palettes .color-button-wrap {
|
|
display: unset;
|
|
position: relative;
|
|
right: unset;
|
|
top: unset;
|
|
vertical-align: sub;
|
|
z-index: 10;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .astra-color-picker-wrap {
|
|
position: absolute;
|
|
z-index: 1;
|
|
right: 0;
|
|
width: 100%;
|
|
display: none;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .astra-color-picker-wrap.picker-open{
|
|
display: block;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-color-palette-label {
|
|
width: 65%;
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-color-palette-label input {
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-color-palette-label input:focus {
|
|
border: 1px solid black;
|
|
outline: none;
|
|
box-shadow: none;
|
|
background: white;
|
|
}
|
|
|
|
.ast-color-palette-wrapper .ast-single-palette-wrap {
|
|
display: grid;
|
|
grid-template-columns: repeat(9, 1fr);
|
|
align-items: center;
|
|
position: relative;
|
|
gap: 2px;
|
|
}
|
|
|
|
.ast-single-palette-wrap
|
|
.components-button.astra-color-icon-indicate
|
|
.component-color-indicator.astra-advanced-color-indicate {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes
|
|
.ast-color-palette-wrapper
|
|
.ast-color-picker-wrap:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes
|
|
.ast-color-palette-wrapper
|
|
.ast-color-picker-wrap {
|
|
margin-top: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-reset-btn:disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-palette-presets-inner-wrap .ast-preset-label-wrap {
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
color: var(--ast-customizer-color-4);
|
|
text-align: left;
|
|
}
|
|
.ast-color-preset-container {
|
|
max-height: 425px;
|
|
overflow: scroll;
|
|
overflow-x: hidden;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #d8d8d8 #f1f1f1;
|
|
}
|
|
.ast-color-preset-container::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
.ast-color-preset-container::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
}
|
|
.ast-color-preset-container::-webkit-scrollbar-thumb {
|
|
background: #d8d8d8;
|
|
}
|
|
.ast-color-palette-container {
|
|
width: 100%;
|
|
display: inline-grid;
|
|
grid-template-columns: repeat( 2,1fr );
|
|
column-gap: 16px;
|
|
row-gap: 16px;
|
|
margin-top: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.ast-color-palette-wrap {
|
|
transition: all 0.2s;
|
|
background: #fff;
|
|
}
|
|
#customize-control-astra-color-palettes .ast-color-palette-wrap > section {
|
|
text-align: center;
|
|
outline: none;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 0 0 1px #ddd;
|
|
}
|
|
#customize-control-astra-color-palettes .ast-single-color-container {
|
|
width: 20%;
|
|
height: 48px;
|
|
display: inline-block;
|
|
}
|
|
.ast-palette-label-wrap {
|
|
display: block;
|
|
text-align: center;
|
|
color: #9CA3AF;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
transition: .15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: 10px;
|
|
line-height: 24px;
|
|
letter-spacing: 1.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ast-palette-label-wrap .edit-icon.dashicons {
|
|
line-height: inherit;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ast-color-palette-wrap.active {
|
|
box-shadow: 0px 12px 20px -8px rgb(30 41 59 / 16%);
|
|
}
|
|
#customize-control-astra-color-palettes .ast-color-palette-wrap.active > section {
|
|
box-shadow: 0 0 0 1px var(--ast-customizer-color-5);
|
|
}
|
|
.ast-color-palette-wrap.active .ast-palette-label-wrap {
|
|
color: var( --ast-global-color-secondary, --ast-global-color-5 );
|
|
letter-spacing: 1.5px;
|
|
}
|
|
.ast-color-palette-wrap .ast-single-color-container:first-child {
|
|
border-top-left-radius: 3px;
|
|
}
|
|
.ast-color-palette-wrap .ast-single-color-container:nth-child(5) {
|
|
border-top-right-radius: 3px;
|
|
}
|
|
.ast-palette-individual-item {
|
|
height: 21px;
|
|
width: 21px;
|
|
display: block;
|
|
box-shadow: 0px 0px 0px 15px inset;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: rgb(146, 155, 164);
|
|
border-image: initial;
|
|
border-radius: 50%;
|
|
transition: box-shadow 100ms ease 0s;
|
|
}
|
|
|
|
.ast-palette-individual-item-wrap:not(:last-child) {
|
|
margin-right: 4px;
|
|
}
|
|
.components-button.ast-preset-palette-item {
|
|
width: 100%;
|
|
padding: 0;
|
|
margin-top: 4px;
|
|
}
|
|
.ast-palette-presets-inner-wrap:last-child .ast-preset-palette-item {
|
|
margin-bottom: 0;
|
|
}
|
|
.components-button.ast-preset-palette-item:hover {
|
|
border: none;
|
|
box-shadow: none;
|
|
outline: none;
|
|
}
|
|
.customize-control-ast-color-palette .ast-field-settings-modal::before {
|
|
right: 12px;
|
|
}
|
|
section.ast-palette-presets-inner-wrap {
|
|
padding: 12px 10px 8px;
|
|
transition: all 0.2s;
|
|
}
|
|
section.ast-palette-presets-inner-wrap:last-child {
|
|
padding-bottom: 12px;
|
|
}
|
|
.ast-palette-presets-inner-wrap:hover {
|
|
background: #F3F5F7;
|
|
border-radius: 3px;
|
|
}
|
|
.ast-color-preset-container .components-button.ast-preset-palette-item:focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
#customize-control-astra-color-palettes .ast-color-palette-wrapper {
|
|
clear: both;
|
|
}
|
|
|
|
#customize-controls .customize-section-title.is-in-view.is-sticky {
|
|
z-index: 99;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-palette-selection-wrapper {
|
|
overflow: hidden;
|
|
padding: 2px;
|
|
}
|
|
|
|
@media (min-width: 1800px) {
|
|
#customize-control-astra-color-palettes .astra-color-picker-wrap {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-field-settings-modal {
|
|
margin-left: -8px;
|
|
margin-right: -8px;
|
|
display: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.astra-advanced-color-indicate .global-color{
|
|
display: none;
|
|
}
|
|
|
|
.color-button-wrap.has-global-palette-color .astra-advanced-color-indicate .global-color{
|
|
color: #fff;
|
|
display: block;
|
|
opacity: 1;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
display: block;
|
|
text-align: center;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.color-button-wrap.has-global-palette-color .astra-advanced-color-indicate .global-color svg{
|
|
width: 10px;
|
|
height: 10px;
|
|
transform: scale(1.5);
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-adv-toggle-icon {
|
|
top: -5px;
|
|
}
|
|
|
|
.ast-color-picker-custom-tooltip {
|
|
position: absolute;
|
|
top: -30px;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.ast-color-picker-custom-tooltip[data-title]::after {
|
|
content: attr(data-title);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding: 1ch 1.5ch;
|
|
border-radius: 0.3ch;
|
|
box-shadow: 0 1em 2em -0.5em rgb(0 0 0 / 35%);
|
|
background: var(--ast-customizer-color-12);
|
|
color: var(--ast-customizer-color-10);
|
|
z-index: 1000;
|
|
bottom: calc(100% + 5px);
|
|
text-align: center;
|
|
animation: tooltips-vert .3s ease-out forwards;
|
|
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%,-0.5em);
|
|
}
|
|
|
|
.ast-single-palette-wrap > :last-child .ast-color-picker-custom-tooltip[data-title]::after {
|
|
left: -16px;
|
|
}
|
|
|
|
.ast-color-picker-custom-tooltip-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.ast-color-picker-wrap:hover + .ast-color-picker-custom-tooltip-wrapper .ast-color-picker-custom-tooltip[data-title]::after{
|
|
display: flex;
|
|
white-space: break-spaces;
|
|
inline-size: max-content;
|
|
}
|
|
|
|
.ast-color-palette .components-popover.components-tooltip {
|
|
position: relative !important;
|
|
left: 5px !important;
|
|
top: -35px !important;
|
|
transform: unset !important;
|
|
}
|
|
.customize-control .components-tooltip {
|
|
z-index: 8 !important;
|
|
}
|
|
.ast-color-palette .components-popover .components-popover__content {
|
|
bottom: calc(100% + 5px);
|
|
animation: tooltips-vert .3s ease-out forwards;
|
|
left: 50%;
|
|
transform: translate(-50%,-0.5em);
|
|
}
|
|
|
|
/* Palette Rename CSS */
|
|
.palette-name-input {
|
|
border: 0;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
min-height: 20px;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.ast-color-palette-wrap.active {
|
|
box-shadow: 0 0 0 1px var(--ast-customizer-color-8);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#customize-control-astra-color-palettes .ast-color-palette-wrap.active>section, #customize-control-astra-color-palettes .ast-color-palette-wrap>section {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.customize-control .ast-palette-label-wrap .palette-name-input {
|
|
box-shadow: none;
|
|
border-color: transparent;
|
|
letter-spacing: 1.5px;
|
|
text-transform: uppercase;
|
|
color: #9CA3AF;
|
|
}
|
|
|
|
.ast-palette-label-wrap input[type="text"] {
|
|
min-height: 22px;
|
|
padding: 0;
|
|
}
|
|
|
|
.ast-color-palette-wrap:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ast-adv-toggle-icon[data-control="astra-color-palettes"] {
|
|
color: var(--ast-customizer-color-1);
|
|
font-size: 14px !important;
|
|
background: transparent;
|
|
transition: color 0.3s ease;
|
|
padding: 0;
|
|
}
|
|
|
|
.ast-adv-toggle-icon[data-control="astra-color-palettes"]:hover {
|
|
color: #03699d;
|
|
}
|
|
|
|
.ast-adv-toggle-icon[data-control="astra-color-palettes"]:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|