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
527 lines
12 KiB
CSS
527 lines
12 KiB
CSS
.Select {
|
|
position: relative;
|
|
}
|
|
.Select input::-webkit-contacts-auto-fill-button,
|
|
.Select input::-webkit-credentials-auto-fill-button {
|
|
display: none !important;
|
|
}
|
|
.Select input::-ms-clear {
|
|
display: none !important;
|
|
}
|
|
.Select input::-ms-reveal {
|
|
display: none !important;
|
|
}
|
|
.Select,
|
|
.Select div,
|
|
.Select input,
|
|
.Select span {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.Select.is-disabled .Select-arrow-zone {
|
|
cursor: default;
|
|
pointer-events: none;
|
|
opacity: 0.35;
|
|
}
|
|
.Select.is-disabled > .Select-control {
|
|
background-color: #f9f9f9;
|
|
}
|
|
.Select.is-disabled > .Select-control:hover {
|
|
box-shadow: none;
|
|
}
|
|
.Select.is-open > .Select-control {
|
|
border-bottom-right-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
background: #fff;
|
|
border-color: #b3b3b3 #ccc #d9d9d9;
|
|
}
|
|
.Select.is-open > .Select-control .Select-arrow {
|
|
top: -2px;
|
|
border-color: transparent transparent #999;
|
|
border-width: 0 5px 5px;
|
|
}
|
|
.Select.is-searchable.is-open > .Select-control {
|
|
cursor: text;
|
|
}
|
|
.Select.is-searchable.is-focused:not(.is-open) > .Select-control {
|
|
cursor: text;
|
|
}
|
|
.Select.is-focused > .Select-control {
|
|
background: #fff;
|
|
}
|
|
.Select.is-focused:not(.is-open) > .Select-control {
|
|
border-color: #007eff;
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
|
|
0 0 0 3px rgba(0, 126, 255, 0.1);
|
|
background: #fff;
|
|
}
|
|
.Select.has-value.is-clearable.Select--single > .Select-control .Select-value {
|
|
padding-right: 42px;
|
|
}
|
|
.Select.has-value.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
.Select-value-label,
|
|
.Select.has-value.is-pseudo-focused.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
.Select-value-label {
|
|
color: #333;
|
|
}
|
|
.Select.has-value.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label,
|
|
.Select.has-value.is-pseudo-focused.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label {
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
.Select.has-value.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label:focus,
|
|
.Select.has-value.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label:hover,
|
|
.Select.has-value.is-pseudo-focused.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label:focus,
|
|
.Select.has-value.is-pseudo-focused.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label:hover {
|
|
color: #007eff;
|
|
outline: 0;
|
|
text-decoration: underline;
|
|
}
|
|
.Select.has-value.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label:focus,
|
|
.Select.has-value.is-pseudo-focused.Select--single
|
|
> .Select-control
|
|
.Select-value
|
|
a.Select-value-label:focus {
|
|
background: #fff;
|
|
}
|
|
.Select.has-value.is-pseudo-focused .Select-input {
|
|
opacity: 0;
|
|
}
|
|
.Select .Select-arrow-zone:hover > .Select-arrow,
|
|
.Select.is-open .Select-arrow {
|
|
border-top-color: #666;
|
|
}
|
|
.Select.Select--rtl {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
.Select-control {
|
|
background-color: #fff;
|
|
border-color: #d9d9d9 #ccc #b3b3b3;
|
|
border-radius: 4px;
|
|
border: 1px solid #8d96a0;
|
|
color: #333;
|
|
cursor: default;
|
|
display: table;
|
|
border-spacing: 0;
|
|
border-collapse: separate;
|
|
height: 28px;
|
|
outline: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 100%;
|
|
margin-bottom: 8px;
|
|
}
|
|
.Select-control:hover {
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
|
|
}
|
|
.Select-control .Select-input:focus {
|
|
outline: 0;
|
|
background: #fff;
|
|
}
|
|
.Select--single > .Select-control .Select-value,
|
|
.Select-placeholder {
|
|
bottom: 0;
|
|
color: #aaa;
|
|
left: 0;
|
|
line-height: 28px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.Select-input {
|
|
height: 20px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
.Select-input > input {
|
|
width: 100%;
|
|
background: none transparent;
|
|
border: 0 none;
|
|
box-shadow: none;
|
|
cursor: default;
|
|
display: inline-block;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
margin: 0;
|
|
outline: 0;
|
|
line-height: 17px;
|
|
padding: 8px 0 12px;
|
|
-webkit-appearance: none;
|
|
}
|
|
.is-focused .Select-input > input {
|
|
cursor: text;
|
|
}
|
|
.has-value.is-pseudo-focused .Select-input {
|
|
opacity: 0;
|
|
}
|
|
.Select-control:not(.is-searchable) > .Select-input {
|
|
outline: 0;
|
|
}
|
|
.Select-loading-zone {
|
|
cursor: pointer;
|
|
display: table-cell;
|
|
position: relative;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 16px;
|
|
}
|
|
.Select-loading {
|
|
-webkit-animation: Select-animation-spin 0.4s infinite linear;
|
|
-o-animation: Select-animation-spin 0.4s infinite linear;
|
|
animation: Select-animation-spin 0.4s infinite linear;
|
|
width: 16px;
|
|
height: 16px;
|
|
box-sizing: border-box;
|
|
border-radius: 50%;
|
|
border: 2px solid #ccc;
|
|
border-right-color: #333;
|
|
display: inline-block;
|
|
position: relative;
|
|
vertical-align: middle;
|
|
}
|
|
.Select-clear-zone {
|
|
-webkit-animation: Select-animation-fadeIn 0.2s;
|
|
-o-animation: Select-animation-fadeIn 0.2s;
|
|
animation: Select-animation-fadeIn 0.2s;
|
|
color: #999;
|
|
cursor: pointer;
|
|
display: table-cell;
|
|
position: relative;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 17px;
|
|
}
|
|
.Select-clear-zone:hover {
|
|
color: #d0021b;
|
|
}
|
|
.Select-clear {
|
|
display: inline-block;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
.Select--multi .Select-clear-zone {
|
|
width: 17px;
|
|
}
|
|
.Select-arrow-zone {
|
|
cursor: pointer;
|
|
display: table-cell;
|
|
position: relative;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 25px;
|
|
padding-right: 5px;
|
|
}
|
|
.Select--rtl .Select-arrow-zone {
|
|
padding-right: 0;
|
|
padding-left: 5px;
|
|
}
|
|
.Select-arrow {
|
|
border-color: #999 transparent transparent;
|
|
border-style: solid;
|
|
border-width: 5px 5px 2.5px;
|
|
display: inline-block;
|
|
height: 0;
|
|
width: 0;
|
|
position: relative;
|
|
}
|
|
.Select-control > :last-child {
|
|
padding-right: 5px;
|
|
}
|
|
.Select--multi .Select-multi-value-wrapper {
|
|
display: inline-block;
|
|
}
|
|
.Select .Select-aria-only {
|
|
position: absolute;
|
|
display: inline-block;
|
|
height: 1px;
|
|
width: 1px;
|
|
margin: -1px;
|
|
clip: rect(0, 0, 0, 0);
|
|
overflow: hidden;
|
|
float: left;
|
|
}
|
|
@-webkit-keyframes Select-animation-fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@keyframes Select-animation-fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.Select-menu-outer {
|
|
border-bottom-right-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
border-top-color: #e6e6e6;
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
|
|
box-sizing: border-box;
|
|
margin-top: -1px;
|
|
max-height: 200px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 100%;
|
|
width: 100%;
|
|
z-index: 1;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.Select-menu {
|
|
max-height: 198px;
|
|
overflow-y: auto;
|
|
}
|
|
.Select-option {
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
color: #666;
|
|
cursor: pointer;
|
|
display: block;
|
|
padding: 8px 10px;
|
|
}
|
|
.Select-option:last-child {
|
|
border-bottom-right-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
}
|
|
.Select-option.is-selected {
|
|
background-color: #f5faff;
|
|
background-color: rgba(0, 126, 255, 0.04);
|
|
color: #333;
|
|
}
|
|
.Select-option.is-focused {
|
|
background-color: #ebf5ff;
|
|
background-color: rgba(0, 126, 255, 0.08);
|
|
color: #333;
|
|
}
|
|
.Select-option.is-disabled {
|
|
color: #ccc;
|
|
cursor: default;
|
|
}
|
|
.Select-noresults {
|
|
box-sizing: border-box;
|
|
color: #999;
|
|
cursor: default;
|
|
display: block;
|
|
padding: 8px 10px;
|
|
}
|
|
.Select--multi .Select-input {
|
|
vertical-align: middle;
|
|
margin-left: 10px;
|
|
padding: 0;
|
|
}
|
|
.Select--multi.Select--rtl .Select-input {
|
|
margin-left: 0;
|
|
margin-right: 10px;
|
|
}
|
|
.Select--multi.has-value .Select-input {
|
|
margin-left: 5px;
|
|
}
|
|
.Select--multi .Select-value {
|
|
background-color: #ebf5ff;
|
|
background-color: rgba(0, 126, 255, 0.08);
|
|
border-radius: 2px;
|
|
border: 1px solid #c2e0ff;
|
|
border: 1px solid rgba(0, 126, 255, 0.24);
|
|
color: #007eff;
|
|
display: inline-block;
|
|
font-size: 0.9em;
|
|
line-height: 1.4;
|
|
margin-left: 5px;
|
|
margin-top: 5px;
|
|
vertical-align: top;
|
|
}
|
|
.Select--multi .Select-value-icon,
|
|
.Select--multi .Select-value-label {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
.Select--multi .Select-value-label {
|
|
border-bottom-right-radius: 2px;
|
|
border-top-right-radius: 2px;
|
|
cursor: default;
|
|
padding: 2px 5px;
|
|
}
|
|
.Select--multi a.Select-value-label {
|
|
color: #007eff;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
.Select--multi a.Select-value-label:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.Select--multi .Select-value-icon {
|
|
cursor: pointer;
|
|
border-bottom-left-radius: 2px;
|
|
border-top-left-radius: 2px;
|
|
border-right: 1px solid #c2e0ff;
|
|
border-right: 1px solid rgba(0, 126, 255, 0.24);
|
|
padding: 1px 5px 3px;
|
|
}
|
|
.Select--multi .Select-value-icon:focus,
|
|
.Select--multi .Select-value-icon:hover {
|
|
background-color: #d8eafd;
|
|
background-color: rgba(0, 113, 230, 0.08);
|
|
color: #0071e6;
|
|
}
|
|
.Select--multi .Select-value-icon:active {
|
|
background-color: #c2e0ff;
|
|
background-color: rgba(0, 126, 255, 0.24);
|
|
}
|
|
.Select--multi.Select--rtl .Select-value {
|
|
margin-left: 0;
|
|
margin-right: 5px;
|
|
}
|
|
.Select--multi.Select--rtl .Select-value-icon {
|
|
border-right: none;
|
|
border-left: 1px solid #c2e0ff;
|
|
border-left: 1px solid rgba(0, 126, 255, 0.24);
|
|
}
|
|
.Select--multi.is-disabled .Select-value {
|
|
background-color: #fcfcfc;
|
|
border: 1px solid #e3e3e3;
|
|
color: #333;
|
|
}
|
|
.Select--multi.is-disabled .Select-value-icon {
|
|
cursor: not-allowed;
|
|
border-right: 1px solid #e3e3e3;
|
|
}
|
|
.Select--multi.is-disabled .Select-value-icon:active,
|
|
.Select--multi.is-disabled .Select-value-icon:focus,
|
|
.Select--multi.is-disabled .Select-value-icon:hover {
|
|
background-color: #fcfcfc;
|
|
}
|
|
@keyframes Select-animation-spin {
|
|
to {
|
|
transform: rotate(1turn);
|
|
}
|
|
}
|
|
@-webkit-keyframes Select-animation-spin {
|
|
to {
|
|
-webkit-transform: rotate(1turn);
|
|
}
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|