• Add user role field to registration, profile display, and profile edit - 10 role options: technician, installer, supervisor, manager, trainer, consultant, sales rep, engineer, business owner, other - Required field with server-side validation - Radio buttons in registration, dropdown in profile edit - Displays in profile with proper capitalization • Implement advanced certification tracking system - Date Certified: HTML5 date picker with validation (no future dates) - Certification Type: dropdown with "Certified measureQuick Trainer" and "Certified measureQuick Champion" - Certification Status: color-coded status badges (Active/Expired/Pending/Disabled) • Add sophisticated role-based access control - Regular trainers: read-only access to certification fields - Administrators & master trainers: full edit access to certification fields - Visual indicators for read-only fields - Server-side permission validation • Enhance plugin activation system - Initialize all 36 user meta fields for existing users - Smart default assignment based on user capabilities - Backward compatibility maintained • Add professional UI styling - Blue-bordered certification section with trophy icon - Color-coded status badges with proper contrast - Read-only field styling with visual indicators - Enhanced form controls with focus states • Comprehensive testing and documentation - E2E test coverage with visual verification - Updated API reference with new meta fields - Access control patterns documented - 100% test pass rate on staging environment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			211 lines
		
	
	
		
			No EOL
		
	
	
		
			4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			211 lines
		
	
	
		
			No EOL
		
	
	
		
			4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| /**
 | |
|  * HVAC Breadcrumbs Styles
 | |
|  * 
 | |
|  * Clean, modern breadcrumb styling that matches the HVAC trainer interface
 | |
|  * 
 | |
|  * @package HVAC_Community_Events
 | |
|  * @since 2.0.0
 | |
|  */
 | |
| 
 | |
| /* Breadcrumb Container */
 | |
| .hvac-breadcrumbs {
 | |
|     margin: 0 0 20px 0;
 | |
|     padding: 10px 0;
 | |
|     border-bottom: 1px solid #e9ecef;
 | |
|     background: transparent;
 | |
| }
 | |
| 
 | |
| /* Breadcrumb List */
 | |
| .hvac-breadcrumb-list {
 | |
|     list-style: none;
 | |
|     margin: 0;
 | |
|     padding: 0;
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     flex-wrap: wrap;
 | |
|     gap: 0;
 | |
| }
 | |
| 
 | |
| /* Breadcrumb Items */
 | |
| .hvac-breadcrumb-item {
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     margin: 0;
 | |
|     padding: 0;
 | |
|     font-size: 14px;
 | |
|     line-height: 1.4;
 | |
| }
 | |
| 
 | |
| .hvac-breadcrumb-item:not(:last-child) {
 | |
|     margin-right: 8px;
 | |
| }
 | |
| 
 | |
| /* Breadcrumb Links */
 | |
| .hvac-breadcrumb-item a {
 | |
|     color: #007cba;
 | |
|     text-decoration: none;
 | |
|     padding: 4px;
 | |
|     border-radius: 3px;
 | |
|     transition: all 0.2s ease;
 | |
| }
 | |
| 
 | |
| .hvac-breadcrumb-item a:hover {
 | |
|     color: #005a87;
 | |
|     background-color: rgba(0, 124, 186, 0.1);
 | |
|     text-decoration: none;
 | |
| }
 | |
| 
 | |
| .hvac-breadcrumb-item a:focus {
 | |
|     outline: 2px solid #007cba;
 | |
|     outline-offset: 1px;
 | |
| }
 | |
| 
 | |
| /* Current Page (Last Item) */
 | |
| .hvac-breadcrumb-current .hvac-breadcrumb-current-text {
 | |
|     color: #495057;
 | |
|     font-weight: 600;
 | |
|     padding: 4px;
 | |
| }
 | |
| 
 | |
| /* Separators */
 | |
| .hvac-breadcrumb-separator {
 | |
|     color: #6c757d;
 | |
|     margin: 0 8px;
 | |
|     font-weight: normal;
 | |
|     user-select: none;
 | |
| }
 | |
| 
 | |
| /* Home Breadcrumb Special Styling */
 | |
| .hvac-breadcrumb-home a {
 | |
|     display: inline-flex;
 | |
|     align-items: center;
 | |
| }
 | |
| 
 | |
| .hvac-breadcrumb-home a::before {
 | |
|     content: '🏠';
 | |
|     margin-right: 4px;
 | |
|     font-size: 12px;
 | |
| }
 | |
| 
 | |
| /* Responsive Design */
 | |
| @media (max-width: 768px) {
 | |
|     .hvac-breadcrumbs {
 | |
|         margin: 0 0 15px 0;
 | |
|         padding: 8px 0;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-item {
 | |
|         font-size: 13px;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-list {
 | |
|         gap: 0;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-separator {
 | |
|         margin: 0 6px;
 | |
|     }
 | |
|     
 | |
|     /* Stack breadcrumbs on very small screens if needed */
 | |
|     @media (max-width: 480px) {
 | |
|         .hvac-breadcrumb-list {
 | |
|             flex-wrap: wrap;
 | |
|         }
 | |
|         
 | |
|         .hvac-breadcrumb-item {
 | |
|             font-size: 12px;
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| /* Dark Mode Support (if theme supports it) */
 | |
| @media (prefers-color-scheme: dark) {
 | |
|     .hvac-breadcrumbs {
 | |
|         border-bottom-color: #495057;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-item a {
 | |
|         color: #66b3ff;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-item a:hover {
 | |
|         color: #99ccff; 
 | |
|         background-color: rgba(102, 179, 255, 0.1);
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-current .hvac-breadcrumb-current-text {
 | |
|         color: #f8f9fa;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-separator {
 | |
|         color: #adb5bd;
 | |
|     }
 | |
| }
 | |
| 
 | |
| /* High Contrast Mode Support */
 | |
| @media (prefers-contrast: high) {
 | |
|     .hvac-breadcrumb-item a {
 | |
|         border: 1px solid transparent;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-item a:hover,
 | |
|     .hvac-breadcrumb-item a:focus {
 | |
|         border-color: currentColor;
 | |
|         background-color: transparent;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-separator {
 | |
|         font-weight: bold;
 | |
|     }
 | |
| }
 | |
| 
 | |
| /* Print Styles */
 | |
| @media print {
 | |
|     .hvac-breadcrumbs {
 | |
|         border-bottom: 1px solid #000;
 | |
|         margin-bottom: 20px;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-item a {
 | |
|         color: #000;
 | |
|         text-decoration: underline;
 | |
|     }
 | |
|     
 | |
|     .hvac-breadcrumb-separator {
 | |
|         color: #000;
 | |
|     }
 | |
| }
 | |
| 
 | |
| /* Animation for dynamic breadcrumb updates */
 | |
| @keyframes breadcrumbFadeIn {
 | |
|     from {
 | |
|         opacity: 0;
 | |
|         transform: translateY(-5px);
 | |
|     }
 | |
|     to {
 | |
|         opacity: 1;
 | |
|         transform: translateY(0);
 | |
|     }
 | |
| }
 | |
| 
 | |
| .hvac-breadcrumbs.hvac-breadcrumbs-updated {
 | |
|     animation: breadcrumbFadeIn 0.3s ease-out;
 | |
| }
 | |
| 
 | |
| /* Integration with existing HVAC styles */
 | |
| .hvac-page-wrapper .hvac-breadcrumbs {
 | |
|     margin-left: 0;
 | |
|     margin-right: 0;
 | |
|     padding-left: 0;
 | |
|     padding-right: 0;
 | |
| }
 | |
| 
 | |
| .hvac-container .hvac-breadcrumbs {
 | |
|     margin-top: -10px;
 | |
|     margin-bottom: 30px;
 | |
| }
 | |
| 
 | |
| /* Ensure proper spacing with menu system */
 | |
| .hvac-trainer-menu-wrapper + .hvac-breadcrumbs {
 | |
|     margin-top: 20px;
 | |
| } |