upskill-event-manager/assets/css/admin-custom-rtl.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

330 lines
8.1 KiB
CSS

.ast-admin-top-bar-root {
font-family: Inter, sans-serif;
}
.mb-4 {
margin-bottom: 1rem;
}
.justify-items-end {
justify-items: end;
}
.w-\[350px\] {
max-width: 350px;
}
.w-max {
width: max-content;
}
.mt-4 {
margin-top: 1rem/* 16px */;
}
.pr-4 {
padding-left: 1rem/* 16px */;
}
.ml-8 {
margin-right: 2rem/* 32px */;
}
.astra-parent-field-false + .astra-child-field {
pointer-events: none;
opacity: 0.4;
}
.w-4\/5 {
width: 80%;
}
.text-right {
text-align: left;
}
.top-1\/2 {
top: 50%;
}
.-translate-y-1\/2 {
transform: translateY(-50%);
}
.left-3 {
right: 0.75rem;
}
.pl-3 {
padding-right: 0.75rem;
}
.pt-14 {
padding-top: 3.5rem/* 56px */;
}
.gap-6 {
gap: 1.5rem/* 24px */;
}
.-mb-11\.5 {
margin-bottom: -2.875rem/* 46px */;
}
.min-h-24 {
min-height: 6rem/* 96px */;
}
.border-r {
border-left-width: 1px;
}
.border-slate-200 {
--tw-border-opacity: 1;
border-color: rgb(226 232 240 / var(--tw-border-opacity));
}
a.bsf-core-license-form-btn {
text-decoration: underline;
color: #2271b1;
}
.ast-whitelabel-wrap .ast-admin_input-field {
border: 1px solid #CBD5E1;
padding: 6px 13px;
border-radius: 6px;
}
.ast-licensing-wrap .ast-admin_license-input-field {
border: 1px solid #CBD5E1;
padding: 6px 36px;
border-radius: 6px;
width: 28.3125rem;
}
.cursor-help {
cursor: help;
}
@media(max-width: 781px) {
.ast-admin_license-input-field {
width: 100%;
}
section.ast-whitelabel-wrap input,
section.ast-whitelabel-wrap textarea {
width: 100%;
}
div .tablet\:justify-items-start {
justify-items: start;
}
}
/* Rollback popup CSS compatibility. */
.ast-rollback__dialog {
z-index: 99999;
}
.backdrop-blur-sm {
--tw-backdrop-blur: blur(4px);
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.bg-gray-500 {
--tw-bg-opacity: 1;
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
}
.bg-opacity-75 {
--tw-bg-opacity: 0.75;
}
.bg-red-50 {
--tw-bg-opacity: 1;
background-color: rgb(254 242 242 / var(--tw-bg-opacity));
}
.stroke-red-600 {
stroke: #dc2626;
}
.min-h-screen {
min-height: 100vh;
}
.items-end {
align-items: flex-end;
}
.ast-rollback__dialog .bg-red-600 {
--tw-bg-opacity: 1;
background-color: rgb(220 38 38 / var(--tw-bg-opacity));
}
@media (min-width: 640px) {
.ast-rollback__dialog .sm\:mx-0 {
margin-right: 0px;
margin-left: 0px;
}
.ast-rollback__dialog .sm\:w-16 {
width: 4rem;
}
.ast-rollback__dialog .sm\:block {
display: block;
}
.sm\:align-middle {
vertical-align: middle;
}
.sm\:max-w-lg {
max-width: 32rem;
}
.sm\:w-full {
width: 100%;
}
.sm\:my-8 {
margin-top: 2rem;
margin-bottom: 2rem;
}
.sm\.pr-8 {
padding-left: 2rem;
}
.sm\:h-16 {
height: 4rem;
}
.sm\:text-left {
text-align: right;
}
.sm\:ml-4 {
margin-right: 1rem;
}
.sm\:ml-20 {
margin-right: 5rem;
}
.sm\:mr-3 {
margin-left: 0.75rem;
}
.sm\:inline-block {
display: inline-block;
}
.sm\:h-screen {
height: 100vh;
}
.sm\:pt-0 {
padding-top: 0;
}
.sm\:pb-0 {
padding-bottom: 0;
}
.sm\:min-h-15 {
min-height: 3.9375rem/* 63px */;
}
.sm\:mb-0 {
margin-bottom: 0;
}
}
/* Post types compatibility CSS */
.post-type-astra-advanced-hook #wpcontent #wpbody #wpbody-content .wrap h1.wp-heading-inline, .post-type-astra_adv_header #wpcontent #wpbody #wpbody-content h1.wp-heading-inline,
.post-type-astra-advanced-hook #wpcontent #wpbody #wpbody-content .wrap a.page-title-action, .post-type-astra_adv_header #wpcontent #wpbody #wpbody-content .wrap a.page-title-action {
display: none;
}
.post-type-astra-advanced-hook #posts-filter .search-box, .post-type-astra_adv_header #posts-filter .search-box {
display: flex;
}
.post-type-astra-advanced-hook .wrap, .post-type-astra_adv_header .wrap {
margin-top: 45px;
}
.post-type-astra_adv_header #wpcontent, .post-type-astra-advanced-hook #wpcontent {
padding-right: 0;
}
.post-type-astra-advanced-hook #wpbody-content, .post-type-astra_adv_header #wpbody-content {
padding: 0 20px 65px 0;
}
.post-type-astra-advanced-hook table.wp-list-table, .post-type-astra_adv_header table.wp-list-table {
position: relative;
}
.post-type-astra-advanced-hook .wrap div.notice:first-of-type, .post-type-astra_adv_header .wrap div.notice:first-of-type {
margin-top: 2.5rem;
}
.post-type-astra-advanced-hook .tablenav, .post-type-astra_adv_header .tablenav {
margin: 6px 0 9px;
}
.post-type-astra-advanced-hook #screen-options-wrap input:not([type=submit]),
.post-type-astra_adv_header #screen-options-wrap input:not([type=submit]),
table.wp-list-table input[type='checkbox'], table.wp-list-table input[type='radio'],
table.wp-list-table input[type='checkbox']:hover, table.wp-list-table input[type='radio']:hover,
table.wp-list-table input[type='checkbox']:focus, table.wp-list-table input[type='radio']:focus {
background-color: #ffff;
border: 1px solid #8c8f94;
}
table .type-astra_adv_header .title, table .type-astra-advanced-hook .title,
.post-type-astra_adv_header .subsubsub a, .post-type-astra-advanced-hook .subsubsub a,
.post-type-astra_adv_header table .column-title a, .post-type-astra-advanced-hook table .column-title a {
color: #2271b1;
}
.post-type-astra_adv_header .subsubsub a.current,
.post-type-astra-advanced-hook .subsubsub a.current {
color: #000;
}
.ast-addon-inactive a.customize-module,
.ast-addon-inactive a.advanced-module {
pointer-events: none;
}
.flex-wrap {
flex-wrap: wrap;
}
.text-red-400{
color: #f87171;
}
.ast-admin-top-bar-root a:focus, .ast-admin-top-bar-root a:active {
box-shadow: 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;
}