- Add 13 critical CSS files that were missing from repository
- Fixes deployment issues on other machines/environments
- Files include dashboard, templates, certificates, and common styles
- All files force-added to override .gitignore CSS exclusions
🔧 Generated with Claude Code
Co-Authored-By: Ben Reed <ben@tealmaker.com>
916 lines
No EOL
25 KiB
CSS
916 lines
No EOL
25 KiB
CSS
/* Reduced Motion Support Added - 2025-07-23 */
|
|
/* Vendor Prefixes Added - 2025-07-23 */
|
|
/**
|
|
* HVAC Community Events Common Styles
|
|
*
|
|
* These styles apply to all pages in the HVAC Community Events plugin.
|
|
* They enhance buttons, links, typography, and spacing for a consistent look.
|
|
*/
|
|
|
|
|
|
:root {
|
|
/* Primary colors */
|
|
--hvac-primary: #0274be;
|
|
--hvac-primary-dark: #005fa3;
|
|
--hvac-primary-light: #e6f3fb;
|
|
/* Secondary colors */
|
|
--hvac-secondary: #54595f;
|
|
--hvac-secondary-dark: #3a3f44;
|
|
--hvac-secondary-light: #f0f0f1;
|
|
/* Success/Error colors */
|
|
--hvac-success: #4caf50;
|
|
--hvac-success-light: #e8f5e9;
|
|
--hvac-error: #d63638;
|
|
--hvac-error-light: #ffebe9;
|
|
/* Neutral colors */
|
|
--hvac-border: #e0e0e0;
|
|
--hvac-border-light: #f0f0f0;
|
|
--hvac-text: #333333;
|
|
--hvac-text-light: #757575;
|
|
/* Spacing */
|
|
--hvac-spacing-xs: 0.25rem; /* 4px */
|
|
--hvac-spacing-sm: 0.5rem; /* 8px */
|
|
--hvac-spacing-md: 1rem; /* 16px */
|
|
--hvac-spacing-lg: 1.5rem; /* 24px */
|
|
--hvac-spacing-xl: 2rem; /* 32px */
|
|
/* Border radius */
|
|
--hvac-border-radius: 4px;
|
|
--hvac-border-radius-lg: 8px;
|
|
/* Box shadow */
|
|
--hvac-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
--hvac-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
/* Focus styles */
|
|
--hvac-focus-color: #2271b1;
|
|
--hvac-focus-width: 2px;
|
|
--hvac-focus-offset: 2px;
|
|
}
|
|
|
|
/* Hide page titles on HVAC pages */
|
|
.hvac-page .entry-title,
|
|
.hvac-page .page-title,
|
|
.hvac-page h1.entry-title,
|
|
.hvac-page h1.page-title,
|
|
.hvac-no-title .entry-title,
|
|
.hvac-no-title .page-title,
|
|
.entry-title-hidden .entry-title,
|
|
.entry-title-hidden .page-title {
|
|
display: none !important;
|
|
visibility: hidden !important;
|
|
height: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* Also hide common theme title wrappers */
|
|
.hvac-page .page-header,
|
|
.hvac-page .entry-header .entry-title,
|
|
.hvac-page header.entry-header h1,
|
|
.hvac-page .title-area h1,
|
|
.hvac-page .ast-single-post-title,
|
|
.hvac-page .ast-page-title {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Typography Enhancements */
|
|
.hvac-content h1,
|
|
.hvac-content h2,
|
|
.hvac-content h3,
|
|
.hvac-content h4 {
|
|
color: #333333; /* IE fallback */
|
|
color: var(--hvac-text);
|
|
font-weight: 600;
|
|
margin-bottom: 1rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-md);
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.hvac-content h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
}
|
|
|
|
.hvac-content h2 {
|
|
font-size: 1.5rem;
|
|
margin-top: 2rem; /* IE fallback */
|
|
margin-top: var(--hvac-spacing-xl);
|
|
}
|
|
|
|
.hvac-content h3 {
|
|
font-size: 1.25rem;
|
|
margin-top: 1.5rem; /* IE fallback */
|
|
margin-top: var(--hvac-spacing-lg);
|
|
}
|
|
|
|
.hvac-content p {
|
|
margin-bottom: 1rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-md);
|
|
line-height: 1.6;
|
|
color: #333333; /* IE fallback */
|
|
color: var(--hvac-text);
|
|
}
|
|
|
|
/* Enhanced Button Styles */
|
|
.hvac-button,
|
|
.hvac-content .button,
|
|
.hvac-content button[type="submit"],
|
|
.hvac-content input[type="submit"],
|
|
.hvac-content .ast-button {
|
|
display: inline-block;
|
|
background-color: #0274be; /* IE fallback */
|
|
background-color: var(--hvac-primary);
|
|
color: white !important;
|
|
padding: 0.75rem 1.25rem;
|
|
border: none;
|
|
border-radius: 4px; /* IE fallback */
|
|
-webkit-border-radius: var(--hvac-border-radius);
|
|
border-radius: var(--hvac-border-radius);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
-webkit-transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
|
|
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */
|
|
-webkit-box-shadow: var(--hvac-shadow);
|
|
box-shadow: var(--hvac-shadow);
|
|
line-height: 1.4;
|
|
min-height: 44px; /* Minimum touch target size */
|
|
position: relative;
|
|
overflow: hidden;
|
|
.hvac-button:hover,
|
|
.hvac-content .button:hover,
|
|
.hvac-content button[type="submit"]:hover,
|
|
.hvac-content input[type="submit"]:hover,
|
|
.hvac-content .ast-button:hover {
|
|
background-color: #005fa3; /* IE fallback */
|
|
background-color: var(--hvac-primary-dark);
|
|
text-decoration: none;
|
|
-webkit-transform: translateY(-1px);
|
|
-ms-transform: translateY(-1px);
|
|
-webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* IE fallback */
|
|
-webkit-box-shadow: var(--hvac-shadow-lg);
|
|
.hvac-button:active,
|
|
.hvac-content .button:active,
|
|
.hvac-content button[type="submit"]:active,
|
|
.hvac-content input[type="submit"]:active,
|
|
.hvac-content .ast-button:active {
|
|
-webkit-transform: translateY(0);
|
|
-ms-transform: translateY(0);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */
|
|
box-shadow: var(--hvac-shadow);
|
|
/* Button ripple effect */
|
|
.hvac-button::after,
|
|
.hvac-content .button::after,
|
|
.hvac-content button[type="submit"]::after,
|
|
.hvac-content input[type="submit"]::after,
|
|
.hvac-content .ast-button::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 5px;
|
|
height: 5px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
opacity: 0;
|
|
-webkit-border-radius: 100%;
|
|
-webkit-transform: scale(1, 1) translate(-50%, -50%);
|
|
-ms-transform: scale(1, 1) translate(-50%, -50%);
|
|
transform-origin: 50% 50%;
|
|
.hvac-button:active::after,
|
|
.hvac-content .button:active::after,
|
|
.hvac-content button[type="submit"]:active::after,
|
|
.hvac-content input[type="submit"]:active::after,
|
|
.hvac-content .ast-button:active::after {
|
|
-webkit-animation: ripple 0.4s ease-out;
|
|
/* Secondary buttons */
|
|
.hvac-button-secondary,
|
|
.hvac-content .button-secondary {
|
|
background-color: #54595f; /* IE fallback */
|
|
background-color: var(--hvac-secondary);
|
|
.hvac-button-secondary:hover,
|
|
.hvac-content .button-secondary:hover {
|
|
background-color: #3a3f44; /* IE fallback */
|
|
background-color: var(--hvac-secondary-dark);
|
|
/* Success/danger button variants */
|
|
.hvac-button-success,
|
|
.hvac-content .button-success {
|
|
background-color: #4caf50; /* IE fallback */
|
|
background-color: var(--hvac-success);
|
|
.hvac-button-success:hover,
|
|
.hvac-content .button-success:hover {
|
|
background-color: #4caf50; /* IE fallback */
|
|
background-color: var(--hvac-success);
|
|
filter: brightness(0.9);
|
|
.hvac-button-danger,
|
|
.hvac-content .button-danger {
|
|
background-color: #d63638; /* IE fallback */
|
|
background-color: var(--hvac-error);
|
|
.hvac-button-danger:hover,
|
|
.hvac-content .button-danger:hover {
|
|
background-color: #d63638; /* IE fallback */
|
|
background-color: var(--hvac-error);
|
|
filter: brightness(0.9);
|
|
/* Outline button variant */
|
|
.hvac-button-outline,
|
|
.hvac-content .button-outline {
|
|
background-color: transparent;
|
|
color: #0274be; /* IE fallback */
|
|
color: var(--hvac-primary) !important;
|
|
border: 2px solid #0274be; /* IE fallback */
|
|
border: 2px solid var(--hvac-primary);
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
.hvac-button-outline:hover,
|
|
.hvac-content .button-outline:hover {
|
|
background-color: #e6f3fb; /* IE fallback */
|
|
background-color: var(--hvac-primary-light);
|
|
color: #0274be; /* IE fallback */
|
|
color: var(--hvac-primary) !important;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */
|
|
box-shadow: var(--hvac-shadow);
|
|
/* Mobile optimized buttons */
|
|
/* Reduced Motion Support Added - WCAG 2.1 Accessibility */
|
|
/* Respects user preference for reduced motion to prevent vestibular disorders */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
/* Disable all animations and transitions globally */
|
|
*, *::before, *::after {
|
|
animation-duration: 0.001ms !important;
|
|
animation-delay: 0s !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.001ms !important;
|
|
transition-delay: 0s !important;
|
|
scroll-behavior: auto !important;
|
|
/* Remove specific transform animations */
|
|
.hvac-animate-fade-in,
|
|
.hvac-animate-scale-up,
|
|
.hvac-animate-pulse,
|
|
.hvac-animate-slide-in-right,
|
|
.hvac-animate-slide-in-left,
|
|
.hvac-animate-slide-in-bottom {
|
|
animation: none !important;
|
|
opacity: 1 !important;
|
|
transform: none !important;
|
|
/* Disable hover transformations */
|
|
.hvac-card:hover,
|
|
.hvac-stat-card:hover,
|
|
.hvac-event-stat-card:hover,
|
|
.hvac-button:hover,
|
|
.hvac-email-submit:hover {
|
|
transform: none !important;
|
|
animation: none !important;
|
|
/* Keep essential visual feedback but remove motion */
|
|
.hvac-card:hover,
|
|
.hvac-stat-card:hover,
|
|
.hvac-event-stat-card:hover {
|
|
border-color: var(--hvac-primary, #0274be) !important;
|
|
box-shadow: 0 0 0 2px rgba(2, 116, 190, 0.2) !important;
|
|
/* Disable loading spinner animation but keep visibility */
|
|
.hvac-loading::after {
|
|
animation: none !important;
|
|
border-radius: 50% !important;
|
|
border: 2px solid rgba(0, 0, 0, 0.2) !important;
|
|
border-top-color: #333 !important;
|
|
/* Disable focus pulse animation */
|
|
.hvac-button:focus,
|
|
.hvac-email-submit:focus,
|
|
.hvac-content button[type="submit"]:focus {
|
|
animation: none !important;
|
|
/* Ensure smooth scrolling is disabled */
|
|
html {
|
|
scroll-behavior: auto !important;
|
|
/* Disable CSS Grid/Flexbox animations if any */
|
|
.hvac-dashboard-stats .hvac-stat-card:nth-child(n),
|
|
.hvac-event-summary-stats .hvac-event-stat-card: nth-child(n) {
|
|
animation: none !important;
|
|
opacity: 1 !important;
|
|
/* Provide alternative visual feedback for reduced motion users */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
/* Enhanced border feedback instead of transform */
|
|
.hvac-content button:hover,
|
|
.hvac-content input[type="submit"]:hover,
|
|
.hvac-content a:hover {
|
|
outline: 2px solid var(--hvac-primary, #0274be) !important;
|
|
outline-offset: 2px !important;
|
|
/* Enhanced color changes for interactive elements */
|
|
.hvac-attendee-item:hover {
|
|
background-color: var(--hvac-primary-light, #e6f3fb) !important;
|
|
border-left: 4px solid var(--hvac-primary, #0274be) !important;
|
|
/* Static loading indicator */
|
|
.hvac-loading {
|
|
opacity: 0.7 !important;
|
|
.hvac-loading::after {
|
|
content: "Loading..." !important;
|
|
display: inline-block !important;
|
|
font-size: 12px !important;
|
|
color: #666 !important;
|
|
border: none !important;
|
|
background: none !important;
|
|
border-radius: 0 !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
position: static !important;
|
|
margin-left: 8px !important;
|
|
@media (max-width: 480px) {
|
|
.hvac-button,
|
|
.hvac-content .button,
|
|
.hvac-content button[type="submit"],
|
|
.hvac-content input[type="submit"],
|
|
.hvac-content .ast-button {
|
|
padding: 0.85rem 1rem;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
display: block;
|
|
font-size: 1rem;
|
|
margin-bottom: 0.5rem;
|
|
/* IE fallback */
|
|
margin-bottom: 0.5rem;
|
|
/* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-sm);
|
|
/* Fix for buttons in a row on mobile */
|
|
.hvac-button-group {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
gap: 0.5rem; /* IE fallback */
|
|
gap: var(--hvac-spacing-sm);
|
|
width: 100%;
|
|
@keyframes ripple {
|
|
0% {
|
|
-webkit-transform: scale(0, 0);
|
|
-ms-transform: scale(0, 0);
|
|
opacity: 0.7;
|
|
20% {
|
|
-webkit-transform: scale(25, 25);
|
|
-ms-transform: scale(25, 25);
|
|
opacity: 0.5;
|
|
100% {
|
|
opacity: 0;
|
|
-webkit-transform: scale(40, 40);
|
|
-ms-transform: scale(40, 40);
|
|
/* Enhanced Link Styles */
|
|
.hvac-content a:not(.button):not(.hvac-button) {
|
|
color: #0274be; /* IE fallback */
|
|
color: var(--hvac-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
-webkit-transition: color 0.2s;
|
|
.hvac-content a:not(.button):not(.hvac-button):hover {
|
|
color: #005fa3; /* IE fallback */
|
|
color: var(--hvac-primary-dark);
|
|
text-decoration: underline;
|
|
/* Responsive Table Improvements */
|
|
.hvac-table-wrapper {
|
|
overflow-x: auto;
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
.hvac-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border: 1px solid #e0e0e0; /* IE fallback */
|
|
border: 1px solid var(--hvac-border);
|
|
background-color: white;
|
|
.hvac-table th {
|
|
background-color: #f0f0f1; /* IE fallback */
|
|
background-color: var(--hvac-secondary-light);
|
|
color: #3a3f44; /* IE fallback */
|
|
color: var(--hvac-secondary-dark);
|
|
font-weight: 600;
|
|
text-align: left;
|
|
padding: 1rem; /* IE fallback */
|
|
padding: var(--hvac-spacing-md);
|
|
border-bottom: 2px solid #e0e0e0; /* IE fallback */
|
|
border-bottom: 2px solid var(--hvac-border);
|
|
.hvac-table td {
|
|
padding: 1rem; /* IE fallback */
|
|
padding: var(--hvac-spacing-md);
|
|
border-bottom: 1px solid #f0f0f0; /* IE fallback */
|
|
border-bottom: 1px solid var(--hvac-border-light);
|
|
vertical-align: middle;
|
|
.hvac-table tbody tr:hover {
|
|
background-color: #e6f3fb; /* IE fallback */
|
|
background-color: var(--hvac-primary-light);
|
|
/* Card Component Styles */
|
|
.hvac-card {
|
|
background-color: white;
|
|
border-radius: 4px; /* IE fallback */
|
|
border-radius: var(--hvac-border-radius);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */
|
|
box-shadow: var(--hvac-shadow);
|
|
padding: 1.5rem; /* IE fallback */
|
|
padding: var(--hvac-spacing-lg);
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
border: 1px solid #e0e0e0; /* IE fallback */
|
|
border: 1px solid var(--hvac-border);
|
|
.hvac-card-title {
|
|
margin-top: 0;
|
|
margin-bottom: 1rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-md);
|
|
padding-bottom: 0.5rem; /* IE fallback */
|
|
padding-bottom: var(--hvac-spacing-sm);
|
|
border-bottom: 1px solid #f0f0f0; /* IE fallback */
|
|
border-bottom: 1px solid var(--hvac-border-light);
|
|
/* Form Element Improvements */
|
|
.hvac-form-group {
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
.hvac-form-label {
|
|
display: block;
|
|
margin-bottom: 0.5rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-sm);
|
|
font-weight: 600;
|
|
color: #333333; /* IE fallback */
|
|
color: var(--hvac-text);
|
|
.hvac-form-input,
|
|
.hvac-content input[type="text"],
|
|
.hvac-content input[type="email"],
|
|
.hvac-content input[type="password"],
|
|
.hvac-content input[type="url"],
|
|
.hvac-content textarea,
|
|
.hvac-content select {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #e0e0e0; /* IE fallback */
|
|
border: 1px solid var(--hvac-border);
|
|
border-radius: 4px; /* IE fallback */
|
|
border-radius: var(--hvac-border-radius);
|
|
font-size: 1rem;
|
|
background-color: white;
|
|
-webkit-transition: border-color 0.2s, box-shadow 0.2s;
|
|
.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 {
|
|
border-color: #0274be; /* IE fallback */
|
|
border-color: var(--hvac-primary);
|
|
outline: none;
|
|
-webkit-box-shadow: 0 0 0 3px #e6f3fb;/* IE fallback */
|
|
-webkit-box-shadow: 0 0 0 3px var(--hvac-primary-light);
|
|
/* Alert/Message Styles */
|
|
.hvac-alert {
|
|
padding: 1rem; /* IE fallback */
|
|
padding: var(--hvac-spacing-md);
|
|
border-radius: 4px; /* IE fallback */
|
|
border-radius: var(--hvac-border-radius);
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
border-left: 4px solid transparent;
|
|
.hvac-alert-success {
|
|
background-color: #e8f5e9; /* IE fallback */
|
|
background-color: var(--hvac-success-light);
|
|
border-color: #4caf50; /* IE fallback */
|
|
border-color: var(--hvac-success);
|
|
color: #4caf50; /* IE fallback */
|
|
color: var(--hvac-success);
|
|
.hvac-alert-error {
|
|
background-color: #ffebe9; /* IE fallback */
|
|
background-color: var(--hvac-error-light);
|
|
border-color: #d63638; /* IE fallback */
|
|
border-color: var(--hvac-error);
|
|
color: #d63638; /* IE fallback */
|
|
color: var(--hvac-error);
|
|
/* Layout Helper Classes */
|
|
.hvac-flex {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
.hvac-flex-between {
|
|
-webkit-box-pack: justify;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
.hvac-flex-center {
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
.hvac-flex-wrap {
|
|
-ms-flex-wrap: wrap;
|
|
.hvac-mt-sm {
|
|
margin-top: 0.5rem; /* IE fallback */
|
|
margin-top: var(--hvac-spacing-sm);
|
|
}
|
|
|
|
.hvac-mt-md {
|
|
|
|
margin-top: 1rem; /* IE fallback */
|
|
|
|
margin-top: var(--hvac-spacing-md);
|
|
}
|
|
|
|
.hvac-mb-sm {
|
|
|
|
margin-bottom: 0.5rem; /* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-sm);
|
|
}
|
|
|
|
.hvac-mb-md {
|
|
|
|
margin-bottom: 1rem; /* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-md);
|
|
}
|
|
|
|
.hvac-mb-lg {
|
|
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
}
|
|
|
|
.hvac-mr-sm {
|
|
|
|
margin-right: 0.5rem; /* IE fallback */
|
|
|
|
margin-right: var(--hvac-spacing-sm);
|
|
}
|
|
|
|
/* Accessibility Focus Styles */
|
|
.hvac-button:focus,
|
|
.hvac-content .button:focus,
|
|
.hvac-content button:focus,
|
|
.hvac-content input[type="submit"]:focus,
|
|
.hvac-content input[type="button"]:focus,
|
|
.hvac-content .ast-button:focus {
|
|
outline: 2px; /* IE fallback */
|
|
|
|
outline: var(--hvac-focus-width) solid var(--hvac-focus-color);
|
|
|
|
outline-offset: 2px; /* IE fallback */
|
|
|
|
outline-offset: var(--hvac-focus-offset);
|
|
|
|
box-shadow: none;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
.hvac-content a:focus,
|
|
.hvac-content [tabindex="0"]:focus {
|
|
outline: 2px; /* IE fallback */
|
|
|
|
outline: var(--hvac-focus-width) solid var(--hvac-focus-color);
|
|
|
|
outline-offset: 2px; /* IE fallback */
|
|
|
|
outline-offset: var(--hvac-focus-offset);
|
|
|
|
-webkit-border-radius: 2px;
|
|
|
|
.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 {
|
|
outline: none; /* Remove default outline */
|
|
|
|
border-color: #2271b1; /* IE fallback */
|
|
|
|
border-color: var(--hvac-focus-color);
|
|
|
|
-webkit-box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.3);/* IE fallback */
|
|
|
|
-webkit-box-shadow: 0 0 0 var(--hvac-focus-width) rgba(34, 113, 177, 0.3);
|
|
|
|
/* High contrast focus style for keyboard navigation */
|
|
.keyboard-nav-active:focus {
|
|
|
|
outline: 3px solid #ffbf47 !important;
|
|
|
|
outline-offset: 2px; /* IE fallback */
|
|
|
|
outline-offset: var(--hvac-focus-offset) !important;
|
|
|
|
/* Skip link for keyboard users */
|
|
.hvac-skip-link {
|
|
|
|
position: absolute;
|
|
|
|
top: -40px;
|
|
|
|
left: 0;
|
|
|
|
z-index: 100;
|
|
|
|
background: #0274be; /* IE fallback */
|
|
|
|
background: var(--hvac-primary);
|
|
|
|
color: white;
|
|
|
|
padding: 10px;
|
|
|
|
-webkit-transition: top 0.2s;
|
|
|
|
.hvac-skip-link:focus {
|
|
top: 0;
|
|
|
|
outline: 2px; /* IE fallback */
|
|
|
|
outline: var(--hvac-focus-width) solid var(--hvac-focus-color);
|
|
|
|
/* Responsive improvements */
|
|
@media (max-width: 767px) {
|
|
.hvac-flex {
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
.hvac-form-group {
|
|
|
|
margin-bottom: 1rem; /* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-md);
|
|
|
|
.hvac-card {
|
|
|
|
padding: 1rem; /* IE fallback */
|
|
|
|
padding: var(--hvac-spacing-md);
|
|
|
|
/* Apply to all plugin pages */
|
|
body.page-hvac-dashboard,
|
|
body.page-community-login,
|
|
body.page-trainer-registration,
|
|
body.page-trainer-profile,
|
|
body.page-event-summary,
|
|
body.page-email-attendees,
|
|
body.page-manage-event {
|
|
/* Base font settings */
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: #333333; /* IE fallback */
|
|
|
|
color: var(--hvac-text);
|
|
|
|
/* Enable detection of keyboard navigation for better accessibility */
|
|
|
|
body: not(.user-is-tabbing) :focus {
|
|
outline: none !important;
|
|
|
|
/* Event Management Page Header Styles */
|
|
.hvac-event-manage-header {
|
|
|
|
background: #e6f3fb; /* IE fallback */
|
|
|
|
background: var(--hvac-primary-light);
|
|
|
|
border: 1px solid #f0f0f0; /* IE fallback */
|
|
|
|
border: 1px solid var(--hvac-border-light);
|
|
|
|
-webkit-border-radius: 8px; /* IE fallback */
|
|
|
|
-webkit-border-radius: var(--hvac-radius-md);
|
|
|
|
padding: 1.5rem; /* IE fallback */
|
|
|
|
padding: var(--hvac-spacing-lg);
|
|
|
|
margin-bottom: 1.5rem; /* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-lg);
|
|
|
|
.hvac-event-manage-header h2 {
|
|
|
|
color: #0274be; /* IE fallback */
|
|
|
|
color: var(--hvac-primary);
|
|
|
|
margin: 0 0 1rem 0; /* IE fallback */
|
|
|
|
margin: 0 0 var(--hvac-spacing-md) 0;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 600;
|
|
|
|
.hvac-event-manage-header p {
|
|
|
|
margin: 0 0 1rem 0; /* IE fallback */
|
|
|
|
margin: 0 0 var(--hvac-spacing-md) 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: #333333; /* IE fallback */
|
|
|
|
color: var(--hvac-text);
|
|
|
|
.hvac-event-manage-tips {
|
|
|
|
background: white;
|
|
|
|
padding: 1rem; /* IE fallback */
|
|
|
|
padding: var(--hvac-spacing-md);
|
|
|
|
border-radius: 4px; /* IE fallback */
|
|
|
|
-webkit-border-radius: var(--hvac-radius-sm);
|
|
|
|
border-left: 4px solid #0274be; /* IE fallback */
|
|
|
|
border-left: 4px solid var(--hvac-primary);
|
|
|
|
margin-top: 1rem; /* IE fallback */
|
|
|
|
margin-top: var(--hvac-spacing-md);
|
|
|
|
.hvac-event-manage-tips h3 {
|
|
|
|
color: #0274be; /* IE fallback */
|
|
|
|
color: var(--hvac-primary);
|
|
|
|
margin: 0 0 0.5rem 0; /* IE fallback */
|
|
|
|
margin: 0 0 var(--hvac-spacing-sm) 0;
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: 600;
|
|
|
|
.hvac-event-manage-tips ul {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 1rem; /* IE fallback */
|
|
|
|
padding-left: var(--hvac-spacing-md);
|
|
|
|
.hvac-event-manage-tips li {
|
|
|
|
margin-bottom: 0.25rem; /* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-xs);
|
|
|
|
line-height: 1.5;
|
|
|
|
.hvac-event-manage-tips strong {
|
|
|
|
color: #005fa3; /* IE fallback */
|
|
|
|
color: var(--hvac-primary-dark);
|
|
|
|
/* Responsive adjustments for event management header */
|
|
@media (max-width: 767px) {
|
|
.hvac-event-manage-header {
|
|
padding: 1rem;
|
|
/* IE fallback */
|
|
|
|
padding: 1rem;
|
|
/* IE fallback */
|
|
|
|
padding: var(--hvac-spacing-md);
|
|
|
|
margin-bottom: 1rem;
|
|
/* IE fallback */
|
|
|
|
margin-bottom: 1rem;
|
|
/* IE fallback */
|
|
|
|
margin-bottom: var(--hvac-spacing-md);
|
|
|
|
.hvac-event-manage-header h2 {
|
|
|
|
font-size: 1.3em;
|
|
|
|
.hvac-event-manage-tips {
|
|
|
|
padding: 0.5rem; /* IE fallback */
|
|
|
|
padding: var(--hvac-spacing-sm);
|
|
|
|
/* 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;
|
|
|
|
-webkit-box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
|
|
|
|
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;
|
|
|
|
/* Feature Detection Support */
|
|
@supports not (display: flex) {
|
|
.hvac-content [class*="flex"] {
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
@supports not (display: grid) {
|
|
.hvac-content [class*="grid"] {
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
.hvac-content [class*="grid"] > * {
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
} |