upskill-event-manager/assets/css/hvac-tec-tickets.css
ben 6039be6fb9 fix: resolve event form field rendering issues and JavaScript compatibility
- Fix missing CSS file causing 404 error (hvac-tec-tickets.css)
- Add custom field type handling in HVAC_Event_Form_Builder for venue/organizer/categories
- Restore missing form fields (venue, organizer, category dropdowns now populated)
- Fix cross-browser JavaScript loading restrictions (was Safari-only)
- Add jQuery noConflict mode compatibility for WordPress
- Add missing hvacToggleAdvancedOptions function for advanced options toggle
- Increment plugin version to 2.0.1 for cache busting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 09:12:56 -03:00

186 lines
No EOL
3.1 KiB
CSS

/*
* HVAC TEC Tickets CSS
* Styling for event ticketing and registration forms
*/
/* ===== RESPONSIVE FIELD GROUPING ===== */
.form-row-group {
display: flex;
gap: 20px;
width: 100%;
margin-bottom: 15px;
}
.form-row-half {
flex: 1;
min-width: 0;
}
.datetime-group .form-row-half,
.price-capacity-group .form-row-half,
.sales-dates-group .form-row-half {
display: flex;
flex-direction: column;
}
@media (max-width: 768px) {
.form-row-group {
flex-direction: column;
gap: 15px;
}
.form-row-half {
width: 100%;
}
}
/* ===== TOGGLE SWITCHES ===== */
.toggle-field-wrapper {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 20px;
padding: 15px;
background: #f8f9fa;
border-radius: 6px;
border: 1px solid #e9ecef;
}
.toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
flex-shrink: 0;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: 0.3s;
border-radius: 24px;
}
.toggle-slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: 0.3s;
border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
background-color: #007cba;
}
.toggle-switch input:checked + .toggle-slider:before {
transform: translateX(26px);
}
.toggle-label {
flex: 1;
}
.toggle-label strong {
display: block;
margin-bottom: 4px;
color: #333;
}
.toggle-description {
margin: 0;
color: #666;
font-size: 14px;
line-height: 1.4;
}
/* ===== FORM SECTIONS ===== */
.form-section {
border: 1px solid #e0e0e0;
padding: 20px;
margin-top: 20px;
background: #f8f8f8;
border-radius: 4px;
}
.registration-type-selection {
background: white;
padding: 15px;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 20px;
}
.rsvp-container {
background: white;
padding: 15px;
border: 1px solid #ddd;
border-radius: 4px;
margin-top: 15px;
}
.tickets-container {
border: 1px solid #ddd;
padding: 20px;
margin-top: 20px;
background: #f9f9f9;
}
.tickets-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.ticket-subform {
background: white;
border: 1px solid #ddd;
padding: 15px;
margin-bottom: 15px;
border-radius: 4px;
}
.ticket-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.attendee-fields-config {
display: flex;
gap: 30px;
margin-top: 15px;
}
.field-checkbox {
display: block;
margin-bottom: 8px;
}
.advanced-ticket-options {
margin-top: 15px;
}
.advanced-ticket-options summary {
cursor: pointer;
font-weight: 600;
margin-bottom: 15px;
}