dec6446d7d
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
746 lines
12 KiB
CSS
746 lines
12 KiB
CSS
/* Reset and Base Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #2563eb;
|
|
--secondary-color: #64748b;
|
|
--success-color: #22c55e;
|
|
--danger-color: #ef4444;
|
|
--warning-color: #f59e0b;
|
|
--bg-color: #f8fafc;
|
|
--card-bg: #ffffff;
|
|
--text-color: #1e293b;
|
|
--text-muted: #64748b;
|
|
--border-color: #e2e8f0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-color);
|
|
background-color: var(--bg-color);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
@media (min-width: 1400px) {
|
|
.container {
|
|
max-width: none;
|
|
padding: 0 40px;
|
|
}
|
|
}
|
|
|
|
/* Navigation */
|
|
.navbar {
|
|
background-color: var(--card-bg);
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
padding: 1rem 0;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.sticky-navbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
background-color: var(--card-bg);
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.navbar .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Main Content */
|
|
main {
|
|
flex: 1;
|
|
padding-bottom: 2rem;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background-color: var(--card-bg);
|
|
border-top: 1px solid var(--border-color);
|
|
padding: 1.5rem 0;
|
|
margin-top: auto;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Flash Messages */
|
|
.flash-messages {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.flash-message {
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
margin-bottom: 0.5rem;
|
|
background-color: #fef3c7;
|
|
border-left: 4px solid var(--warning-color);
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #1d4ed8;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--secondary-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #475569;
|
|
}
|
|
|
|
.btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid var(--primary-color);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: var(--success-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: var(--danger-color);
|
|
color: white;
|
|
}
|
|
|
|
.btn-block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.35rem 1rem;
|
|
font-size: 0.875rem;
|
|
line-height: 1.2;
|
|
box-sizing: border-box;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
text-align: center;
|
|
padding: 3rem 0;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
/* Cards */
|
|
.event-card, .feature-card, .connection-card, .attendee-card {
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.event-card h3, .connection-card h4 {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.event-date, .event-location {
|
|
color: var(--text-muted);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.event-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.event-card-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.event-card-actions .btn,
|
|
.event-card-actions form .btn {
|
|
width: 160px;
|
|
min-height: 44px;
|
|
height: auto;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
justify-content: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
white-space: normal;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.event-card-actions form {
|
|
display: flex !important;
|
|
width: 160px;
|
|
min-height: 44px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.event-card-actions form .btn {
|
|
width: 100%;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
font-weight: 500;
|
|
line-height: inherit;
|
|
}
|
|
|
|
/* Grids */
|
|
.events-grid, .features-grid, .connections-grid, .attendees-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
/* Auth Forms */
|
|
.auth-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 60vh;
|
|
}
|
|
|
|
.auth-box {
|
|
background-color: var(--card-bg);
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.auth-box h2 {
|
|
text-align: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.user-type-tabs {
|
|
display: flex;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.tab-btn {
|
|
flex: 1;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--border-color);
|
|
background: var(--bg-color);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.tab-btn:first-child {
|
|
border-radius: 6px 0 0 6px;
|
|
}
|
|
|
|
.tab-btn:last-child {
|
|
border-radius: 0 6px 6px 0;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.auth-footer {
|
|
text-align: center;
|
|
margin-top: 1.5rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Forms */
|
|
.form-group {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea,
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
/* reCAPTCHA */
|
|
.recaptcha-container {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.recaptcha-container .g-recaptcha {
|
|
transform-origin: left top;
|
|
}
|
|
|
|
/* Tables */
|
|
.attendees-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background-color: var(--card-bg);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.attendees-table th,
|
|
.attendees-table td {
|
|
padding: 1rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.attendees-table th {
|
|
background-color: var(--bg-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.attendees-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Badges */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.badge-success {
|
|
background-color: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.badge-pending {
|
|
background-color: #fef3c7;
|
|
color: #92400e;
|
|
}
|
|
|
|
.badge-rejected {
|
|
background-color: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
|
|
/* Dashboard */
|
|
.dashboard h1 {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.dashboard-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.events-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.event-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: var(--card-bg);
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.event-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Badges Print Page */
|
|
.badges-page {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.badges-header {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 2px solid var(--border-color);
|
|
}
|
|
|
|
.badges-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.badge-card {
|
|
border: 2px solid #333;
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
background: white;
|
|
}
|
|
|
|
.badge-header {
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 0.75rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.badge-header h3 {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.badge-body {
|
|
min-height: 80px;
|
|
}
|
|
|
|
.badge-org {
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.badge-role {
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.badge-intro {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.badge-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 0.75rem;
|
|
border-top: 1px solid var(--border-color);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.badge-check {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.badge-check.checked-in {
|
|
color: var(--success-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Profile Page */
|
|
.profile-page h1 {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.profile-container {
|
|
display: grid;
|
|
grid-template-columns: 250px 1fr;
|
|
gap: 2rem;
|
|
background-color: var(--card-bg);
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.profile-photo-section {
|
|
text-align: center;
|
|
}
|
|
|
|
.current-photo {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.profile-img {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.no-photo {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 50%;
|
|
background-color: var(--bg-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
font-size: 2rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.photo-upload-form {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Attendees Page */
|
|
.attendees-page h1 {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.attendees-page > p {
|
|
color: var(--text-muted);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.attendee-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.attendee-photo {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.attendee-photo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.attendee-photo .no-photo {
|
|
width: 80px;
|
|
height: 80px;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.attendee-info h3 {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.attendee-org {
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.attendee-role {
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.attendee-intro {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.attendee-actions {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Profile Page */
|
|
.profile-page h1 {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Appointments & Connections */
|
|
.pending-section, .connections-section, .appointments-section {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.pending-section h2, .connections-section h2, .appointments-section h2 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.pending-list, .appointments-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.pending-item, .appointment-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: var(--card-bg);
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.inline-form {
|
|
display: inline-block;
|
|
}
|
|
|
|
.pending-info, .apt-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.pending-actions, .apt-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.section-actions {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.no-data {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Event Meta Box */
|
|
.event-meta-box, .event-description-box {
|
|
background-color: var(--card-bg);
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.event-meta-box p, .event-description-box p {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Event Detail Page */
|
|
.event-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.event-header h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
.event-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.profile-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.event-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.attendees-table {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.attendees-table th,
|
|
.attendees-table td {
|
|
padding: 0.75rem 0.5rem;
|
|
}
|
|
}
|