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
424 lines
9.3 KiB
CSS
424 lines
9.3 KiB
CSS
.wpforms-admin-page .wpforms-alert {
|
|
background-color: #ffffff;
|
|
border: none;
|
|
border-inline-start: 4px solid #dddddd;
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
|
|
color: #444444;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
margin-bottom: 20px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible {
|
|
align-content: stretch;
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin: 30px 15px 20px 15px;
|
|
max-height: 100px;
|
|
opacity: 1;
|
|
overflow: hidden;
|
|
transition-property: all;
|
|
transition-duration: 0.25s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible.out {
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
max-height: 0;
|
|
opacity: 0;
|
|
padding-bottom: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible h4 {
|
|
margin: 0 0 2px 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible p {
|
|
color: #444444;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-buttons {
|
|
display: flex;
|
|
margin-inline-start: auto;
|
|
padding-inline-start: 10px;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-buttons .wpforms-dismiss-button {
|
|
color: rgba(68, 68, 68, 0.35);
|
|
margin-inline-start: 7px;
|
|
margin-inline-end: -3px;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-buttons .wpforms-dismiss-button:hover {
|
|
color: rgba(68, 68, 68, 0.75);
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert h4 {
|
|
color: #444444;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 18px;
|
|
margin: 0 0 3px 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p {
|
|
line-height: 18px;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p:last-of-type {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p.wpforms-alert-heading {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
margin-bottom: 3px !important;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p.wpforms-alert-content {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-nomargin {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-success {
|
|
border-inline-start-color: #00a32a;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-info {
|
|
border-inline-start-color: #036aab;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-warning {
|
|
border-inline-start-color: #ffb900;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-danger {
|
|
border-inline-start-color: #d63638;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-ai {
|
|
border-inline-start-color: #7a30e2;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-field-requirements .wpforms-alert-buttons {
|
|
padding: 10px 0 0 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert .wpforms-aside-left {
|
|
float: left;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert .wpforms-aside-right {
|
|
float: right;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert {
|
|
box-shadow: none;
|
|
overflow: auto;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-success {
|
|
background-color: #edfaef;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-info {
|
|
background-color: #f1f6fa;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-warning {
|
|
background-color: #fcf9e8;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-danger {
|
|
background-color: #fcf0f1;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice {
|
|
background: #036aab;
|
|
cursor: default;
|
|
height: 100%;
|
|
min-width: 0;
|
|
padding: 0 20px;
|
|
overflow: scroll;
|
|
position: fixed;
|
|
z-index: 100110;
|
|
text-align: center;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice img {
|
|
height: 130px;
|
|
width: 130px;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice img.sullie-icon {
|
|
background-color: #f1f1f1;
|
|
border: 5px solid #ffffff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.wpforms-fullscreen-notice h3 {
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
margin: 25px 0 5px 0;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice p {
|
|
color: #cce0ed;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
line-height: 22px;
|
|
margin: 0;
|
|
max-width: 640px;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice a {
|
|
color: #cce0ed;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice a:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 25px;
|
|
/* Gap is unsupported in IE, but we have only one button on IE notice. */
|
|
justify-content: center;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button {
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
height: auto;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
text-shadow: none;
|
|
transition-property: all;
|
|
transition-duration: 0.05s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-primary {
|
|
background-color: #e27730;
|
|
border: 2px solid #e27730;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-primary:hover {
|
|
background-color: #cd6622;
|
|
border-color: #cd6622;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-secondary {
|
|
background-color: transparent;
|
|
border: 2px solid #ffffff;
|
|
color: #ffffff;
|
|
opacity: .5;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-secondary:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .close,
|
|
.wpforms-fullscreen-notice .dismiss {
|
|
background-color: transparent;
|
|
background-image: url("../../images/times-circle.svg");
|
|
border: none;
|
|
color: #81b5d5;
|
|
cursor: pointer;
|
|
height: 31px;
|
|
opacity: .5;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
inset-inline-end: 20px;
|
|
top: 20px;
|
|
width: 31px;
|
|
transition-property: all;
|
|
transition-duration: 0.05s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .close:hover,
|
|
.wpforms-fullscreen-notice .dismiss:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .close:focus,
|
|
.wpforms-fullscreen-notice .dismiss:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice-light {
|
|
background: #e8e8e8;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice-light h3 {
|
|
color: #444444;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice-light p {
|
|
color: #777777;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice img {
|
|
height: auto;
|
|
width: auto;
|
|
max-width: 120px;
|
|
}
|
|
|
|
@supports (display: grid) {
|
|
#wpforms-builder-ie-notice {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#wpforms-builder-abort-message h3 {
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#wpforms-builder-abort-message img {
|
|
width: 400px;
|
|
height: auto;
|
|
margin: 30px 30px 0 30px;
|
|
}
|
|
|
|
#wpforms-builder-abort-message .wpforms-fullscreen-notice-button {
|
|
text-transform: initial;
|
|
}
|
|
|
|
#wpforms-builder-abort-message .waving-hand-emoji {
|
|
display: inline-block;
|
|
background-image: url("../../images/empty-states/waving-hand-emoji.png");
|
|
background-repeat: no-repeat;
|
|
background-size: 24px 24px;
|
|
background-position: 0 0;
|
|
padding-left: 34px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
#wpforms-builder-abort-message img {
|
|
width: 250px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
#wpforms-builder-mobile-notice {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
/* 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;
|
|
}
|