- 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>
825 lines
13 KiB
CSS
825 lines
13 KiB
CSS
/* Reduced Motion Support Added - 2025-07-23 */
|
|
/* Vendor Prefixes Added - 2025-07-23 */
|
|
/**
|
|
* HVAC Attendee Profile Styles
|
|
* Harmonized with existing plugin styles
|
|
*/
|
|
|
|
.hvac-attendee-profile {
|
|
|
|
max-width: 1200px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px;
|
|
|
|
/* Profile Header */
|
|
.hvac-profile-header {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-pack: justify;
|
|
|
|
-ms-flex-pack: justify;
|
|
|
|
justify-content: space-between;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
.hvac-profile-title h1 {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
color: #333;
|
|
|
|
font-size: 1.8rem;
|
|
|
|
font-weight: 600;
|
|
|
|
.hvac-profile-subtitle {
|
|
|
|
color: #666;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
.hvac-profile-actions {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
.hvac-profile-actions a,
|
|
.hvac-profile-actions button {
|
|
|
|
min-width: 120px;
|
|
|
|
text-align: center;
|
|
|
|
/* Statistics Row - Matching Dashboard Styles */
|
|
.hvac-stats-row {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
margin: -10px;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
-webkit-box-pack: justify;
|
|
|
|
-ms-flex-pack: justify;
|
|
|
|
justify-content: space-between;
|
|
|
|
-webkit-box-align: stretch;
|
|
|
|
-ms-flex-align: stretch;
|
|
|
|
align-items: stretch;
|
|
|
|
.hvac-stat-col {
|
|
|
|
-webkit-box-flex: 1;
|
|
|
|
-ms-flex: 1;
|
|
|
|
min-width: 160px;
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
.hvac-stat-card {
|
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 1.5em;
|
|
|
|
background: white;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
height: 100%;
|
|
|
|
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
|
|
-webkit-transition: transform 0.2s, box-shadow 0.2s;
|
|
|
|
.hvac-stat-card:hover {
|
|
-webkit-transform: translateY(-2px);
|
|
|
|
-ms-transform: translateY(-2px);
|
|
|
|
-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.15);
|
|
|
|
.hvac-stat-card h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
font-size: 1.1em;
|
|
|
|
color: #007cba;
|
|
|
|
font-weight: 600;
|
|
|
|
.stat-value {
|
|
|
|
font-size: 2.4em;
|
|
|
|
font-weight: 700;
|
|
|
|
color: #333;
|
|
|
|
line-height: 1;
|
|
|
|
/* Content Sections */
|
|
.hvac-content-section {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding: 1.5em;
|
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: white;
|
|
|
|
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
|
|
|
.hvac-content-section h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
color: #333;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
|
|
|
/* Info Table */
|
|
.hvac-info-table {
|
|
|
|
overflow-x: auto;
|
|
|
|
.hvac-table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
.hvac-table td {
|
|
|
|
padding: 0.75em 1em;
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
|
|
|
.hvac-table;
|
|
|
|
tr: last-child td {
|
|
border-bottom: none;
|
|
|
|
.hvac-label {
|
|
|
|
font-weight: 600;
|
|
|
|
color: #666;
|
|
|
|
width: 150px;
|
|
|
|
.hvac-table a {
|
|
|
|
color: #007cba;
|
|
|
|
text-decoration: none;
|
|
|
|
.hvac-table;
|
|
|
|
.a:hover {
|
|
text-decoration: underline;
|
|
|
|
/* Timeline */
|
|
.hvac-no-activity {
|
|
|
|
text-align: center;
|
|
|
|
color: #666;
|
|
|
|
padding: 2em;
|
|
|
|
background: #f9f9f9;
|
|
|
|
border-radius: 5px;
|
|
|
|
.hvac-timeline {
|
|
|
|
position: relative;
|
|
|
|
padding-left: 40px;
|
|
|
|
.hvac-timeline-item {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-align: start;
|
|
|
|
-ms-flex-align: start;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 20px;
|
|
|
|
.hvac-timeline-date {
|
|
|
|
flex: 0 0 150px;
|
|
|
|
text-align: right;
|
|
|
|
padding-top: 5px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #333;
|
|
|
|
font-size: 14px;
|
|
|
|
.hvac-timeline-time {
|
|
|
|
display: block;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #999;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-top: 2px;
|
|
|
|
.hvac-timeline-marker {
|
|
|
|
position: absolute;
|
|
|
|
left: 168px;
|
|
|
|
top: 0;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
-webkit-border-radius: 50%;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
justify-content: center;
|
|
|
|
color: #fff;
|
|
|
|
z-index: 2;
|
|
|
|
-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
|
|
.hvac-timeline-marker i {
|
|
|
|
font-size: 16px;
|
|
|
|
.hvac-timeline-connector {
|
|
|
|
position: absolute;
|
|
|
|
left: 187px;
|
|
|
|
top: 40px;
|
|
|
|
width: 2px;
|
|
|
|
height: calc(100% + 20px);
|
|
|
|
background: #e0e0e0;
|
|
|
|
z-index: 1;
|
|
|
|
.hvac-timeline-content {
|
|
|
|
-webkit-box-flex: 1;
|
|
|
|
-ms-flex: 1;
|
|
|
|
background: #fff;
|
|
|
|
padding: 1.5em;
|
|
|
|
border-radius: 5px;
|
|
|
|
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
margin-left: 40px;
|
|
|
|
.hvac-timeline-content h4 {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
color: #333;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
.hvac-checkin-status {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 12px;
|
|
|
|
-webkit-border-radius: 20px;
|
|
|
|
border-radius: 20px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-right: 10px;
|
|
|
|
.hvac-checkin-status.checked-in {
|
|
|
|
background: #d4edda;
|
|
|
|
color: #155724;
|
|
|
|
.hvac-checkin-status.not-checked-in {
|
|
|
|
background: #f3f4f6;
|
|
|
|
color: #6b7280;
|
|
|
|
.hvac-certificate-number {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 12px;
|
|
|
|
background: #fff3cd;
|
|
|
|
color: #856404;
|
|
|
|
border-radius: 20px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-right: 10px;
|
|
|
|
.hvac-event-link {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 10px;
|
|
|
|
color: #007cba;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
.hvac-event-link:hover {
|
|
text-decoration: underline;
|
|
|
|
.hvac-event-link i {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 5px;
|
|
|
|
/* Icon for profile links */
|
|
.hvac-attendee-profile-icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
color: #007cba;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
.hvac-attendee-profile-icon:hover {
|
|
color: #005a87;
|
|
|
|
/* Responsive Design */
|
|
|
|
/* 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: 768px) {
|
|
.hvac-profile-header {
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
-webkit-box-align: start;
|
|
|
|
-ms-flex-align: start;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 1em;
|
|
|
|
.hvac-profile-actions {
|
|
|
|
width: 100%;
|
|
|
|
.hvac-profile-actions a,
|
|
.hvac-profile-actions button {
|
|
|
|
-webkit-box-flex: 1;
|
|
|
|
-ms-flex: 1;
|
|
|
|
min-width: auto;
|
|
|
|
.hvac-stats-row {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
.hvac-stat-col {
|
|
|
|
width: 100%;
|
|
|
|
padding: 5px 0;
|
|
|
|
.hvac-timeline {
|
|
|
|
padding-left: 20px;
|
|
|
|
.hvac-timeline-date {
|
|
|
|
flex: 0 0 100px;
|
|
|
|
font-size: 12px;
|
|
|
|
.hvac-timeline-marker {
|
|
|
|
left: 118px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
.hvac-timeline-connector {
|
|
|
|
left: 132px;
|
|
|
|
.hvac-timeline-content {
|
|
|
|
margin-left: 20px;
|
|
|
|
padding: 1em;
|
|
|
|
/* Print Styles */
|
|
|
|
/* 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);
|
|
|
|
-webkit-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);
|
|
|
|
-webkit-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;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
/* Ensure focus is visible for keyboard users */
|
|
.js-focus-visible .focus-visible {
|
|
|
|
outline: 2px solid #005fcc;
|
|
|
|
outline-offset: 2px;
|
|
|
|
@media print {
|
|
.hvac-profile-actions,
|
|
.ast-button {
|
|
|
|
display: none !important;
|
|
|
|
.hvac-attendee-profile {
|
|
|
|
padding: 0;
|
|
|
|
.hvac-content-section {
|
|
|
|
box-shadow: none;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
.hvac-timeline-item {
|
|
|
|
page-break-inside: avoid;
|
|
|
|
/* 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%;
|
|
|