upskill-event-manager/assets/css/wpforms-stripe.min.css
Ben Reed cdc5ea85f4 feat: Add comprehensive CSS, JavaScript and theme asset infrastructure
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
2025-08-11 16:20:31 -03:00

86 lines
12 KiB
CSS

.wpforms-form .wpforms-field-stripe-credit-card .StripeElement{margin-bottom:5px}.wpforms-form .wpforms-field-stripe-credit-card .StripeElement .__PrivateStripeElement iframe{margin:0 0 0 -4px !important}.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-placeholder-preview{display:flex;position:absolute;width:fit-content;height:36px;line-height:36px;padding:0 0 0 10px;top:0;left:0;bottom:0}.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-placeholder-preview svg{width:24px;fill:#000000;margin-right:10px}.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-placeholder-preview span{opacity:0.5;font-size:16px;color:#333333}.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-expcvc-preview{display:block;position:absolute;width:fit-content;height:36px;line-height:36px;padding:0 10px 0 0;font-size:16px;top:0;right:0;bottom:0;color:#333333;opacity:0.5}.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-row{container-type:inline-size;container-name:wpforms-field-row-small wpforms-field-row-responsive}@container wpforms-field-row-small (max-width: 200px){.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-row .wpforms-stripe-payment-element-cvc-preview svg,.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-row .wpforms-stripe-payment-element-cardnumber-preview,.wpforms-form .wpforms-field-stripe-credit-card .wpforms-field-row .wpforms-field-stripe-credit-card-number-expcvc-preview{display:none}}.wpforms-lead-forms-container.wpforms-container .wpforms-field-stripe-credit-card .wpforms-field-row{margin-left:0;margin-right:0}.wpforms-lead-forms-container.wpforms-container .wpforms-field-stripe-credit-card .wpforms-field-row .StripeElement{width:calc( 100% + 8px)}.wpforms-lead-forms-container.wpforms-container .wpforms-field-stripe-credit-card .wpforms-field-row select{max-width:100%}.wpforms-lead-forms-container.wpforms-container .wpforms-field-stripe-credit-card-number-placeholder-preview{height:46px;line-height:46px;color:rgba(var(--wpforms-lead-forms-secondary-text-color), 1)}.wpforms-lead-forms-container.wpforms-container .wpforms-field-stripe-credit-card-number-placeholder-preview span{color:rgba(var(--wpforms-lead-forms-secondary-text-color), 1)}.wpforms-lead-forms-container.wpforms-container .wpforms-field-stripe-credit-card-number-expcvc-preview{height:46px;line-height:46px;color:rgba(var(--wpforms-lead-forms-secondary-text-color), 0.5)}.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=date],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=datetime],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=datetime-local],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=email],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=month],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=number],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=password],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=range],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=search],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=tel],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=text],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=time],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=url],.wpforms-lead-forms-container.wpforms-container .wpforms-field input[type=week],.wpforms-lead-forms-container.wpforms-container .wpforms-field select,.wpforms-lead-forms-container.wpforms-container .wpforms-field textarea{opacity:1;background-color:transparent}.wpforms-lead-forms-container.wpforms-container .wpforms-field .wpforms-field-row.wpforms-no-columns{display:block}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-cardnumber{background-color:var(--wpforms-field-background-color);box-sizing:border-box;border-radius:var(--wpforms-field-border-radius);color:var(--wpforms-field-text-color);display:flex;align-items:center;justify-content:center;font-size:var(--wpforms-field-size-font-size);border-width:var(--wpforms-field-border-size);border-style:var(--wpforms-field-border-style);border-color:var(--wpforms-field-border-color);padding:0 var(--wpforms-field-size-padding-h);height:var(--wpforms-field-size-input-height);width:100%;line-height:1}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-cardnumber.wpforms-stripe-element-focus{border-width:var(--wpforms-field-border-size, 0);border-style:solid;border-color:var(--wpforms-button-background-color);box-shadow:0 0 0 1px var(--wpforms-button-background-color),0px 1px 2px rgba(0,0,0,0.15);outline:none}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-cardnumber.wpforms-stripe-element-invalid{border-width:var(--wpforms-field-border-size);border-style:solid;border-color:var(--wpforms-label-error-color)}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-cardnumber.wpforms-stripe-element-invalid:hover{border-width:var(--wpforms-field-border-size);border-style:solid;border-color:var(--wpforms-label-error-color);box-shadow:0 0 2px 0 var(--wpforms-label-error-color)}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-cardnumber.wpforms-stripe-element-invalid.wpforms-stripe-element-focus{border-width:var(--wpforms-field-border-size);border-style:solid;border-color:var(--wpforms-label-error-color);box-shadow:0 0 0 1px var(--wpforms-label-error-color)}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-cardnumber>.__PrivateStripeElement{width:100%;height:calc( var( --wpforms-field-size-font-size ) + 4px)}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-sublabel+.wpforms-error{margin-top:calc( 1.5 * var( --wpforms-field-size-sublabel-spacing ))}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-placeholder-preview{display:flex;position:absolute;width:100%;height:var(--wpforms-field-size-input-height);line-height:var(--wpforms-field-size-input-height);padding:0 0 0 var(--wpforms-field-size-padding-h);top:0;left:0;bottom:0;overflow-x:hidden}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-placeholder-preview svg{width:24px;fill:#000000}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-placeholder-preview span{opacity:0.5;font-size:var(--wpforms-field-size-font-size);color:var(--wpforms-field-text-color);white-space:nowrap}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-stripe-credit-card-number-expcvc-preview{display:block;position:absolute;width:fit-content;height:var(--wpforms-field-size-input-height);line-height:var(--wpforms-field-size-input-height);padding:0 calc( var( --wpforms-field-size-padding-h ) * 2) 0 0;font-size:var(--wpforms-field-size-font-size);top:0;right:0;bottom:0;color:var(--wpforms-field-text-color);opacity:0.5}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-row{container-type:inline-size;container-name:wpforms-field-row-small}@container wpforms-field-row-small (max-width: 300px){div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-field-row .wpforms-field-stripe-credit-card-number-expcvc-preview{display:none}}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-stripe-payment-element-cvc-preview svg{position:absolute !important;bottom:calc( ( var( --wpforms-field-size-input-height ) - 24px ) / 2);right:var(--wpforms-field-size-padding-h)}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-stripe-payment-element .wpforms-field-row{container-type:inline-size;container-name:wpforms-field-row-xs wpforms-field-row-s wpforms-field-row-m wpforms-field-row-responsive}@container wpforms-field-row-m (max-width: 320px){div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-stripe-payment-element .wpforms-field-row .wpforms-stripe-payment-element-cardnumber-preview{width:64px}}@container wpforms-field-row-s (max-width: 240px){div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-stripe-payment-element .wpforms-field-row .wpforms-stripe-payment-element-cardnumber-preview{width:32px}}@container wpforms-field-row-xs (max-width: 210px){div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-stripe-payment-element .wpforms-field-row .wpforms-stripe-payment-element-cardnumber-preview{display:none}}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .wpforms-stripe-payment-element-cardnumber-preview{position:absolute;bottom:calc( ( var( --wpforms-field-size-input-height ) - 20px ) / 2);right:var(--wpforms-field-size-padding-h);width:136px;height:20px;background-image:url("../../../images/integrations/stripe/cc-preview.png");background-repeat:no-repeat;background-size:136px 20px}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .StripeElement{margin:0 4px var(--wpforms-field-size-input-spacing) -4px}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .StripeElement:last-of-type{margin-bottom:0}div.wpforms-container.wpforms-render-modern .wpforms-field-stripe-credit-card .StripeElement .__PrivateStripeElement iframe{margin:0 !important}
/* 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;
}