- Refactored registration form:
* Moved Application Details to Personal Information section
* Renamed Business Information to Training Organization Information
* Added required Organization Logo upload with media library integration
* Added Headquarters location fields (City, State/Province, Country)
* Moved training-related fields into Organization section
* Created conditional Training Venue Information section with auto-population
- Created comprehensive venue management system:
* Training Venues List page (/trainer/venue/list) with filtering and pagination
* Manage Venue page (/trainer/venue/manage) for create/edit operations
* Full integration with The Events Calendar venue post type
* AJAX-powered forms with real-time validation
- Created trainer profile system:
* Trainer Profile view page (/trainer/profile) with stats and certifications
* Profile Edit page (/trainer/profile/edit) with photo upload
* Years of experience tracking and professional information
* Integration with user meta and custom fields
- Created training organizers management:
* Organizers List page (/trainer/organizer/list) with search functionality
* Manage Organizer page (/trainer/organizer/manage) for CRUD operations
* Organization logo upload and headquarters tracking
* Full integration with The Events Calendar organizer post type
- Technical improvements:
* Modular PHP class architecture for each feature
* Comprehensive AJAX handlers with security nonces
* Responsive CSS design for all new pages
* JavaScript form validation and dynamic behavior
* Proper WordPress and TEC API integration
All new features follow hierarchical URL structure and include breadcrumb navigation.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
357 lines
No EOL
5.9 KiB
CSS
357 lines
No EOL
5.9 KiB
CSS
/**
|
|
* HVAC Venues Styles
|
|
*
|
|
* @package HVAC_Community_Events
|
|
* @version 2.0.0
|
|
*/
|
|
|
|
/* Page Layout */
|
|
.hvac-venues-list,
|
|
.hvac-venue-manage {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
/* Page Header */
|
|
.hvac-page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.hvac-page-header h1 {
|
|
margin: 0;
|
|
color: #0274be;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
/* Breadcrumb */
|
|
.hvac-breadcrumb {
|
|
margin-bottom: 1.5rem;
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.hvac-breadcrumb a {
|
|
color: #0274be;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hvac-breadcrumb a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Filters */
|
|
.hvac-venues-filters {
|
|
background-color: #f5f5f5;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.hvac-filter-form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.hvac-filter-group {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.hvac-filter-group input,
|
|
.hvac-filter-group select {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Table */
|
|
.hvac-venues-table-wrapper {
|
|
overflow-x: auto;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.hvac-venues-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background-color: white;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hvac-venues-table th {
|
|
background-color: #f8f9fa;
|
|
padding: 1rem;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: #333;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.hvac-venues-table td {
|
|
padding: 1rem;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.hvac-venues-table tbody tr:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.hvac-no-results {
|
|
text-align: center;
|
|
color: #666;
|
|
font-style: italic;
|
|
padding: 3rem !important;
|
|
}
|
|
|
|
/* Badges */
|
|
.hvac-badge {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 3px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.hvac-badge-owner {
|
|
background-color: #e3f2fd;
|
|
color: #1976d2;
|
|
}
|
|
|
|
/* Buttons */
|
|
.hvac-button {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.hvac-button-primary {
|
|
background-color: #0274be;
|
|
color: white;
|
|
}
|
|
|
|
.hvac-button-primary:hover {
|
|
background-color: #005fa3;
|
|
}
|
|
|
|
.hvac-button-secondary {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.hvac-button-secondary:hover {
|
|
background-color: #5a6268;
|
|
}
|
|
|
|
.hvac-button-danger {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.hvac-button-danger:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
.hvac-button-small {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.hvac-text-muted {
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Pagination */
|
|
.hvac-pagination {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.hvac-pagination a,
|
|
.hvac-pagination span {
|
|
padding: 0.5rem 1rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
color: #333;
|
|
}
|
|
|
|
.hvac-pagination a:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.hvac-pagination .current {
|
|
background-color: #0274be;
|
|
color: white;
|
|
border-color: #0274be;
|
|
}
|
|
|
|
/* Form Styles */
|
|
.hvac-form {
|
|
background-color: white;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hvac-form-section {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 2rem;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.hvac-form-section:last-child {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.hvac-form-section h3 {
|
|
margin-bottom: 1.5rem;
|
|
color: #333;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.hvac-form-row {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hvac-form-row label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.hvac-form-row input,
|
|
.hvac-form-row select,
|
|
.hvac-form-row textarea {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hvac-form-row input:focus,
|
|
.hvac-form-row select:focus,
|
|
.hvac-form-row textarea:focus {
|
|
outline: none;
|
|
border-color: #0274be;
|
|
box-shadow: 0 0 0 3px rgba(2, 116, 190, 0.1);
|
|
}
|
|
|
|
.hvac-form-row-half {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.hvac-form-row-half > div {
|
|
flex: 1;
|
|
}
|
|
|
|
.hvac-form-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 2rem;
|
|
padding-top: 2rem;
|
|
border-top: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.hvac-form-actions .hvac-button-danger {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.hvac-venues-list,
|
|
.hvac-venue-manage {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.hvac-page-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.hvac-filter-form {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hvac-filter-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.hvac-form-row-half {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.hvac-form-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hvac-form-actions .hvac-button-danger {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.hvac-venues-table {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.hvac-venues-table th,
|
|
.hvac-venues-table td {
|
|
padding: 0.5rem;
|
|
}
|
|
}
|
|
|
|
/* Messages */
|
|
.hvac-message {
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 4px;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hvac-message-success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.hvac-message-error {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
/* Form Error Styles */
|
|
.hvac-form-error {
|
|
border-color: #dc3545 !important;
|
|
}
|
|
|
|
.hvac-error-message {
|
|
display: block;
|
|
color: #dc3545;
|
|
font-size: 0.875rem;
|
|
margin-top: 0.25rem;
|
|
} |