- 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>
942 lines
16 KiB
CSS
942 lines
16 KiB
CSS
/* Reduced Motion Support Added - 2025-07-23 */
|
|
/* Vendor Prefixes Added - 2025-07-23 */
|
|
/**
|
|
* Certificate Styles
|
|
*
|
|
* Styles for certificate-related pages and components.
|
|
*/
|
|
|
|
/* Certificate Tables */
|
|
.hvac-certificate-table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
.hvac-certificate-table th {
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
text-align: left;
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
font-weight: 600;
|
|
|
|
.hvac-certificate-table td {
|
|
|
|
padding: 12px 10px;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
vertical-align: middle;
|
|
|
|
.hvac-certificate-table;
|
|
|
|
tr: nth-child(even) {
|
|
background-color: #f9f9f9;
|
|
|
|
.hvac-certificate-table;
|
|
|
|
.tr:hover {
|
|
background-color: #f0f7ff;
|
|
|
|
/* Certificate Actions */
|
|
.hvac-certificate-actions {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
.hvac-certificate-actions button,
|
|
.hvac-certificate-actions a {
|
|
|
|
background-color: #fafafa;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
padding: 6px 10px;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 13px;
|
|
|
|
text-decoration: none;
|
|
|
|
-webkit-transition: all 0.2s ease;
|
|
|
|
color: #333;
|
|
|
|
.hvac-certificate-actions;
|
|
|
|
button:hover,
|
|
.hvac-certificate-actions a:hover {
|
|
background-color: #f0f0f0;
|
|
|
|
border-color: #ccc;
|
|
|
|
.hvac-view-certificate {
|
|
|
|
background-color: #e0f7fa \!important;
|
|
|
|
border-color: #80deea \!important;
|
|
|
|
color: #006064 \!important;
|
|
|
|
.hvac-view-certificate:hover {
|
|
background-color: #b2ebf2 \!important;
|
|
|
|
border-color: #4dd0e1 \!important;
|
|
|
|
.hvac-email-certificate {
|
|
|
|
background-color: #e8f5e9 \!important;
|
|
|
|
border-color: #a5d6a7 \!important;
|
|
|
|
color: #1b5e20 \!important;
|
|
|
|
.hvac-email-certificate:hover {
|
|
background-color: #c8e6c9 \!important;
|
|
|
|
border-color: #81c784 \!important;
|
|
|
|
.hvac-revoke-certificate {
|
|
|
|
background-color: #ffebee \!important;
|
|
|
|
border-color: #ffcdd2 \!important;
|
|
|
|
color: #b71c1c \!important;
|
|
|
|
.hvac-revoke-certificate:hover {
|
|
background-color: #ffcdd2 \!important;
|
|
|
|
border-color: #ef9a9a \!important;
|
|
|
|
/* Certificate status */
|
|
.hvac-status-active {
|
|
|
|
color: #2e7d32;
|
|
|
|
background-color: #e8f5e9;
|
|
|
|
padding: 3px 8px;
|
|
|
|
-webkit-border-radius: 12px;
|
|
|
|
border-radius: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
.hvac-status-revoked {
|
|
|
|
color: #b71c1c;
|
|
|
|
background-color: #ffebee;
|
|
|
|
padding: 3px 8px;
|
|
|
|
border-radius: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
/* Certificate filters */
|
|
.hvac-certificate-filters {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
gap: 10px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 15px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
-webkit-border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
.hvac-filter-group {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
gap: 5px;
|
|
|
|
min-width: 200px;
|
|
|
|
.hvac-filter-group label {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 14px;
|
|
|
|
.hvac-filter-group select,
|
|
.hvac-filter-group input {
|
|
|
|
padding: 8px 10px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 4px;
|
|
|
|
.hvac-filter-submit {
|
|
|
|
align-self: flex-end;
|
|
|
|
margin-top: auto;
|
|
|
|
/* Certificate modal */
|
|
.hvac-modal-overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
z-index: 1000;
|
|
|
|
display: none;
|
|
|
|
.hvac-certificate-modal {
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-webkit-transform: translate(-50%, -50%);
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
|
|
background-color: white;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 5px;
|
|
|
|
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
|
|
|
z-index: 1001;
|
|
|
|
max-width: 90vw;
|
|
|
|
max-height: 90vh;
|
|
|
|
width: 850px;
|
|
|
|
display: none;
|
|
|
|
.hvac-modal-close {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 15px;
|
|
|
|
font-size: 24px;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #999;
|
|
|
|
-webkit-transition: color 0.2s ease;
|
|
|
|
transition: color 0.2s ease;
|
|
|
|
.hvac-modal-close:hover {
|
|
color: #333;
|
|
|
|
.hvac-certificate-preview {
|
|
|
|
width: 100%;
|
|
|
|
height: 70vh;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
margin-top: 10px;
|
|
|
|
.hvac-modal-title {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
padding-right: 30px;
|
|
|
|
/* Button loading state */
|
|
.hvac-loading {
|
|
|
|
opacity: 0.7;
|
|
|
|
pointer-events: none;
|
|
|
|
position: relative;
|
|
|
|
.hvac-loading::after {
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border: 2px solid rgba(0, 0, 0, 0.2);
|
|
|
|
border-top-color: #333;
|
|
|
|
-webkit-border-radius: 50%;
|
|
|
|
-webkit-animation: hvac-spin 1s linear infinite;
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
top: calc(50% - 6px);
|
|
|
|
@keyframes hvac-spin {
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
-ms-transform: rotate(0deg);
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
-ms-transform: rotate(360deg);
|
|
|
|
/* Empty state message */
|
|
.hvac-no-certificates {
|
|
|
|
padding: 20px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-radius: 5px;
|
|
|
|
text-align: center;
|
|
|
|
margin: 20px 0;
|
|
|
|
/* Certificate link styling */
|
|
.hvac-certificate-link {
|
|
|
|
color: #28a745;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: 600;
|
|
|
|
transition: color 0.2s ease;
|
|
|
|
.hvac-certificate-link:hover {
|
|
color: #218838;
|
|
|
|
text-decoration: underline;
|
|
|
|
.hvac-certificate-link::after {
|
|
content: ' ↗';
|
|
|
|
font-size: 0.8em;
|
|
|
|
vertical-align: super;
|
|
|
|
/* Stats cards */
|
|
.hvac-certificate-stats {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
|
|
gap: 15px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
.hvac-stat-card {
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 15px;
|
|
|
|
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
|
|
|
.hvac-stat-card h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
color: #555;
|
|
|
|
.hvac-stat-value {
|
|
|
|
font-size: 28px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #333;
|
|
|
|
margin: 10px 0 5px;
|
|
|
|
/* Responsive tables */
|
|
|
|
/* 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-certificate-table {
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
|
|
|
.hvac-certificate-filters {
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
.hvac-filter-group {
|
|
|
|
width: 100%;
|
|
|
|
/* Enhanced certificate filter styles */
|
|
|
|
/* Enhanced search field styling */
|
|
#search_attendee {
|
|
|
|
padding-right: 30px;
|
|
|
|
background-image: url('data: image/svg+xml;
|
|
utf8,<svg xmlns=";
|
|
|
|
http: //www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: calc(100% - 8px) center;
|
|
|
|
background-size: 16px;
|
|
|
|
/* Search results indicator */
|
|
.hvac-search-results {
|
|
|
|
background-color: #f0f7ff;
|
|
|
|
/* Certificate Preview Modal */
|
|
#hvac-certificate-preview-modal {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
|
|
z-index: 10000;
|
|
|
|
#hvac-certificate-preview-modal .hvac-modal-content {
|
|
|
|
position: relative;
|
|
|
|
background-color: #fff;
|
|
|
|
margin: 3% auto;
|
|
|
|
width: 90%;
|
|
|
|
max-width: 1000px;
|
|
|
|
height: 85%;
|
|
|
|
-webkit-border-radius: 8px;
|
|
|
|
-webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
#hvac-certificate-preview-modal .hvac-modal-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;
|
|
|
|
padding: 15px 20px;
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
border-bottom: 1px solid #dee2e6;
|
|
|
|
#hvac-certificate-preview-modal .hvac-modal-header h3 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
color: #333;
|
|
|
|
#hvac-certificate-preview-modal .hvac-modal-close {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #999;
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 5px;
|
|
|
|
#hvac-certificate-preview-modal .hvac-modal-close:hover {
|
|
color: #333;
|
|
|
|
#hvac-certificate-preview-modal .hvac-modal-body {
|
|
|
|
-webkit-box-flex: 1;
|
|
|
|
-ms-flex: 1;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
#hvac-certificate-preview-iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
/* Certificate Preview Buttons */
|
|
.hvac-certificate-previews {
|
|
|
|
margin-top: 15px;
|
|
|
|
padding: 15px;
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
border-radius: 5px;
|
|
|
|
.hvac-certificate-previews h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
color: #333;
|
|
|
|
.hvac-preview-certificate {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
.hvac-search-results p {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
.hvac-search-results strong {
|
|
|
|
font-weight: 600;
|
|
|
|
color: #2271b1;
|
|
|
|
/* Enhanced attendee info display */
|
|
.attendee-info {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
.attendee-name {
|
|
|
|
font-weight: 600;
|
|
|
|
.attendee-email {
|
|
|
|
font-size: 13px;
|
|
|
|
color: #555;
|
|
|
|
margin-top: 2px;
|
|
|
|
/* Input hint text */
|
|
.hvac-input-hint {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #666;
|
|
|
|
margin-top: 4px;
|
|
|
|
/* Clear filters button */
|
|
.hvac-button.hvac-secondary {
|
|
|
|
background-color: #f0f0f1;
|
|
|
|
color: #2c3338;
|
|
|
|
border: 1px solid #c5c5c7;
|
|
|
|
.hvac-button.hvac-secondary:hover {
|
|
background-color: #e0e0e2;
|
|
|
|
/* 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);
|
|
|
|
-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;
|
|
|
|
/* Ensure focus is visible for keyboard users */
|
|
.js-focus-visible .focus-visible {
|
|
|
|
outline: 2px solid #005fcc;
|
|
|
|
outline-offset: 2px;
|
|
|
|
/* CSS Grid Fallbacks for IE */
|
|
.hvac-stats-row,
|
|
.hvac-dashboard-stats,
|
|
.hvac-certificate-stats {
|
|
|
|
display: -ms-grid;
|
|
|
|
-ms-grid-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
|
|
/* Progressive enhancement for modern browsers */
|
|
@supports (display: grid) {
|
|
.hvac-stats-row,
|
|
.hvac-dashboard-stats,
|
|
.hvac-certificate-stats {
|
|
display: grid;
|
|
|
|
/* 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%;
|
|
|