upskill-event-manager/assets/css/astra-advanced-hooks-admin-list.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

471 lines
10 KiB
CSS

/* admin custom layout design */
/* Quick View popup styles */
.ast-custom-layout-switch {
position: relative;
width: 42px;
margin: inherit;
height: 22px;
cursor: pointer;
border-radius: 100px;
box-sizing: border-box;
border: 2px solid #555d66;
opacity: 0.7;
transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.ast-custom-layout-switch:before {
opacity: 0;
top: 5px;
left: 7px;
width: 2px;
height: 6px;
background: #fff;
}
.ast-custom-layout-switch:after {
top: 4px;
right: 4px;
width: 8px;
height: 8px;
border-radius: 100%;
box-sizing: border-box;
border: 2px solid #555d66;
transform: scale3d(0.8, 0.8, 1);
}
.ast-custom-layout-switch > span {
-js-display: flex;
display: flex;
width: 16px;
height: 16px;
background: #555d66;
border-radius: inherit;
transform: translate3d(2px, 1px, 0);
transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.ast-custom-layout-switch.ast-active {
background: #1c81c8;
border-color: #1c81c8;
opacity: 1;
}
.ast-custom-layout-switch.ast-active:before {
opacity: 1;
}
.ast-custom-layout-switch.ast-active:after {
opacity: 0;
}
.ast-custom-layout-switch.ast-active span {
background: #fff;
transform: translate3d(20px, 1px, 0);
}
.ast-shrotcut {
-js-display: flex;
display: flex;
align-items: center;
}
.ast-shrotcut input {
width: 100%;
}
th.column-enable_disable, th.column-advanced_hook_shortcode, th.column-advanced_hook_quick_view, td.advanced_hook_quick_view,
.type-astra-advanced-hook .column-enable_disable, .type-astra-advanced-hook .advanced_hook_shortcode {
text-align: center;
}
td.enable_disable.column-enable_disable .ast-custom-layout-switch {
margin: 0 auto;
}
#enable_disable, #advanced_hook_quick_view {
width: 250px;
}
.ast-custom-layout-tabs-wrapper {
margin: 2em 0;
}
.ast-cl-priority .post-attributes-label-wrapper {
margin-bottom: unset;
}
.ast-custom-layout-sidebar.ast-custom-layout-sidebar.components-panel__body.is-opened {
padding: 14px;
}
.ast-advanced-hook-heading-help.dashicons.dashicons-editor-help {
vertical-align: middle;
margin-left: 5px;
color: #b3b3b3;
font-size: 18px;
cursor: help;
}
tfoot .ast-advanced-hook-heading-help {
display: none;
}
.advanced_hook_data_trigger {
padding: 5px;
}
.ast-layout-modal * {
box-sizing: border-box;
}
.ast-layout-modal .ast-layout-modal-content {
position: fixed;
left: 50%;
top: 50%;
border-radius: 2px;
transform: translate(-50%, -50%);
width: 100%;
max-width: 550px;
background: #fff;
z-index: 100000;
}
.ast-layout-modal .ast-layout-modal-content article {
overflow: auto;
max-height: 400px;
}
.advanced_hook_data_trigger.requesting .dashicons {
animation: rotation 2s infinite linear;
}
.advanced_hook_data_trigger.requesting .dashicons:before {
content: "\f463";
}
.ast-layout-modal-backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
min-height: 360px;
background: rgba(0, 0, 0, 0.35);
z-index: 99900;
}
.ast-layout-modal-main {
padding-bottom: 60px;
}
.ast-layout-modal-main .ast-layout-modal-header {
height: auto;
background: #fff;
padding: 14px 10px 14px 20px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
box-shadow: 0px 6px 8px -3px rgba(0, 0, 0, 0.05), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.ast-layout-modal-main .ast-layout-modal-header h1 {
margin: 0;
font-size: 18px;
font-weight: 700;
line-height: 1.5em;
padding-right: 150px;
}
.ast-layout-modal-main .ast-layout-modal-header .modal-close-link {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
width: 30px;
height: 30px;
padding: 0;
border: 0;
font-size: 30px;
line-height: 30px;
background-color: transparent;
color: #6B7280;
cursor: pointer;
}
.ast-layout-modal-main article,
.ast-layout-modal-main header {
display: block;
position: relative;
}
.ast-layout-modal-main footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
padding: 1em 1.5em;
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
background: #fff;
box-shadow: 0px -6px 8px -3px rgba(0, 0, 0, 0.05), 0px -4px 6px -2px rgba(0, 0, 0, 0.05);
}
.ast-layout-modal-main footer .inner {
-js-display: flex;
display: flex;
align-items: center;
justify-content: space-between;
line-height: 23px;
}
.ast-data-preview .layout-status {
margin-right: 72px;
position: absolute;
right: 0;
top: 12px;
}
.ast-data-preview .ast-layout-preview-addresses {
overflow: hidden;
padding-bottom: 1.5em;
}
.ast-data-preview .ast-layout-preview-addresses .ast-data-preview-rules {
width: 50%;
float: left;
padding: 0 1.5em 0;
box-sizing: border-box;
word-wrap: break-word;
}
.ast-data-preview footer .ast-layout-action-button-group {
color: #1F2937;
}
.ast-data-preview footer .button.button-large {
background-color: #007CBA;
}
.layout-status {
-js-display: inline-flex;
display: inline-flex;
line-height: 2.5em;
color: #777;
background: #e5e5e5;
border-radius: 4px;
cursor: inherit !important;
white-space: nowrap;
max-width: 100%;
}
.layout-status > span {
padding: 0 1em;
border-radius: 2px;
overflow: hidden;
text-overflow: ellipsis;
background-color: #F0F0F1;
box-shadow: none;
}
.ast-data-rule-group h2 {
margin-top: 1.5em;
}
.ast-layout-preview-row {
-js-display: flex;
display: flex;
flex-wrap: wrap;
}
.ast-layout-preview-col {
width: 50%;
padding: 20px;
padding-right: 10px;
border-bottom: 1px solid #DDDDDD;
color: #1F2937;
}
.ast-layout-preview-col h3 {
margin: 0;
font-size: 13px;
line-height: 17px;
font-weight: 500;
}
.ast-layout-preview-col ul {
list-style-type: disc;
margin-left: 15px;
margin-top: 0;
margin-bottom: 0;
color: #1F2937;
}
.ast-layout-preview-col ul li:nth-last-child(1) {
margin-bottom: 0;
}
.ast-layout-preview-col.right {
padding-left: 32px;
border-left: 1px solid #DDDDDD;
}
.ast-advanced-hook-relative-time-duration-wrap p {
display: inline-block;
margin-bottom: 0;
margin-top: 5px;
}
.ast-advanced-hook-relative-time-duration-wrap .layout-time-field, .ast-advanced-hook-time-duration-wrap .layout-time-field {
display: block;
}
.ast-advanced-hook-relative-time-duration-wrap strong, .ast-advanced-hook-time-duration-wrap strong {
font-weight: 500;
}
.ast-advanced-hook-time-duration-wrap p {
display: inline-block;
margin-bottom: 0;
margin-top: 5px;
}
.ast-advanced-hook-time-duration-wrap .dashicons-yes-alt {
color: #52A400;
}
.ast-advanced-hook-time-duration-wrap .dashicons-no {
color: #f44336;
}
.ast-advance-hook-visibility-icon {
display: inline-block;
margin: 0;
}
.ast-advance-hook-visibility-icon .dashicons {
position: relative;
top: -1px;
left: 3px;
}
.ast-advanced-hook-display-devices-wrap {
display: inline-block;
margin-bottom: 0;
margin-top: 5px;
}
.ast-advanced-hook-display-devices-wrap ul {
-js-display: flex;
display: flex;
flex-wrap: wrap;
position: relative;
margin-left: 0;
list-style: none;
}
.ast-advanced-hook-display-devices-wrap li {
display: inline-block;
position: relative;
padding-left: 15px;
margin-bottom: 0;
}
.ast-advanced-hook-display-devices-wrap li:nth-child(1) {
padding-left: 0;
}
.ast-advanced-hook-display-devices-wrap li:nth-child(1)::after {
display: none;
}
.ast-advanced-hook-display-devices-wrap li::after {
content: "";
position: absolute;
left: 7px;
top: 3px;
width: 2px;
height: 1em;
background-color: #1F2937;
}
.ast-desktop {
order: 1;
}
.ast-tablet {
order: 2;
}
.ast-mobile {
order: 3;
}
.ast-copy-layout-shortcode {
display: none;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.ast-copy-layout-shortcode:focus {
box-shadow: none;
outline: none;
}
.column-advanced_hook_shortcode:hover .ast-copy-layout-shortcode {
display: inline-block;
}
.ast-copy-layout-shortcode.shortcode-copied .dashicons:before {
color: #2271b1;
content: "\f147";
width: 25px;
height: 25px;
font-size: 25px;
margin-left: -5px;
}
.advanced_hook_shortcode .layout-status {
border: 1px solid #8C8F94;
font-size: 14px;
font-weight: 500;
background-color: #F0F0F1;
overflow: hidden;
text-overflow: ellipsis;
justify-content: center;
}
.advanced_hook_shortcode .layout-status span {
border-radius: 0;
line-height: 33px;
font-weight: 500;
}
.advanced_hook_shortcode > div {
position: relative;
display: inline-block;
padding-right: 28px;
max-width: 240px;
width: 100%;
}
.advanced_hook_quick_view .dashicons {
color: #404040;
font-size: 18px;
}
/* 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;
}