641 lines
11 KiB
CSS
641 lines
11 KiB
CSS
/* Edit Meeting Page */
|
|
.edit-meeting-page {
|
|
background-color: #f8fafc;
|
|
min-height: 100vh;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.edit-header {
|
|
max-width: 800px;
|
|
margin: 0 auto 1.5rem auto;
|
|
}
|
|
|
|
.back-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: #475569;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.back-link:hover {
|
|
color: #667eea;
|
|
}
|
|
|
|
.edit-content {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.edit-card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.edit-card-header {
|
|
padding: 2rem;
|
|
background: linear-gradient(135deg, #fef3c7, #fde68a);
|
|
border-bottom: 1px solid #e2e8f0;
|
|
text-align: center;
|
|
}
|
|
|
|
.edit-card-header h1 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
margin: 0 0 0.5rem 0;
|
|
}
|
|
|
|
.edit-card-header p {
|
|
color: #64748b;
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.edit-form {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
margin-bottom: 0.75rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.form-group input[type="text"],
|
|
.form-group input[type="datetime-local"] {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
/* Summary Section */
|
|
.summary-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.regenerate-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: linear-gradient(135deg, #f59e0b, #d97706);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.regenerate-btn:hover:not(:disabled) {
|
|
transform: none;
|
|
box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.regenerate-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.summary-textarea {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
|
|
line-height: 1.6;
|
|
resize: vertical;
|
|
min-height: 300px;
|
|
transition: all 0.3s ease;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.summary-textarea:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.markdown-hint {
|
|
margin-top: 0.5rem;
|
|
color: #64748b;
|
|
}
|
|
|
|
/* Attendees Selection (reuse from CreateMeeting) */
|
|
.attendees-container {
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.selected-attendees {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.attendee-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: #667eea;
|
|
color: white;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 20px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.remove-attendee {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
transition: all 0.2s ease;
|
|
margin-left: 0.5rem;
|
|
padding: 2px;
|
|
border-radius: 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.remove-attendee:hover {
|
|
color: #ffffff;
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.user-search-container {
|
|
position: relative;
|
|
}
|
|
|
|
.user-search-input {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
font-size: 0.95rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.user-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: white;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 10;
|
|
}
|
|
|
|
.user-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1rem;
|
|
cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.user-option:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.user-name {
|
|
font-weight: 500;
|
|
color: #334155;
|
|
}
|
|
|
|
.user-username {
|
|
font-size: 0.8rem;
|
|
color: #64748b;
|
|
}
|
|
|
|
.no-users {
|
|
padding: 1rem;
|
|
text-align: center;
|
|
color: #64748b;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Error Message */
|
|
.error-message {
|
|
background: #fef2f2;
|
|
color: #ef4444;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid #fecaca;
|
|
font-size: 0.9rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Loading State */
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 50vh;
|
|
color: #64748b;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid #e2e8f0;
|
|
border-top: 3px solid #667eea;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Form Actions */
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: flex-end;
|
|
padding-top: 2rem;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.btn-cancel {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.75rem 1.5rem;
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
background: #e2e8f0;
|
|
}
|
|
|
|
.btn-submit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 2rem;
|
|
background: linear-gradient(135deg, #10b981, #059669);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.btn-submit:hover:not(:disabled) {
|
|
transform: none;
|
|
box-shadow: 0 3px 12px rgba(16, 185, 129, 0.32);
|
|
}
|
|
|
|
.btn-submit:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Error Message */
|
|
.error-message {
|
|
background: #fef2f2;
|
|
color: #ef4444;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid #fecaca;
|
|
font-size: 0.9rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
/* Audio Upload Section */
|
|
.audio-upload-section {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.show-upload-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.5rem;
|
|
background: linear-gradient(135deg, #f59e0b, #d97706);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.show-upload-btn:hover {
|
|
background: linear-gradient(135deg, #d97706, #b45309);
|
|
transform: none;
|
|
box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.upload-header {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.close-upload-btn {
|
|
background: #f1f5f9;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 0.5rem;
|
|
cursor: pointer;
|
|
color: #64748b;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.close-upload-btn:hover {
|
|
background: #e2e8f0;
|
|
color: #ef4444;
|
|
}
|
|
|
|
/* File Upload Styles */
|
|
.file-upload-container {
|
|
position: relative;
|
|
}
|
|
|
|
.file-input {
|
|
display: none;
|
|
}
|
|
|
|
.file-upload-label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 2rem;
|
|
border: 2px dashed #d1d5db;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.file-upload-label:hover {
|
|
border-color: #667eea;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.file-upload-label span {
|
|
font-weight: 500;
|
|
color: #334155;
|
|
}
|
|
|
|
.file-upload-label small {
|
|
color: #64748b;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.selected-file {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.75rem 1rem;
|
|
background: #f0f9ff;
|
|
border: 1px solid #bae6fd;
|
|
border-radius: 6px;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.remove-file {
|
|
background: none;
|
|
border: none;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
border-radius: 4px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.remove-file:hover {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.upload-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
padding: 0.75rem 1.5rem;
|
|
background: #667eea;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.upload-btn:hover:not(:disabled) {
|
|
background: #5a67d8;
|
|
transform: none;
|
|
}
|
|
|
|
.upload-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
/* Upload indicator */
|
|
.uploading-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: #f0f9ff;
|
|
border: 1px solid #bae6fd;
|
|
border-radius: 6px;
|
|
margin-top: 0.5rem;
|
|
color: #0369a1;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.uploading-indicator::before {
|
|
content: '';
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid #bae6fd;
|
|
border-top: 2px solid #0369a1;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.edit-meeting-page {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.edit-card-header {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.edit-form {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.form-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.summary-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.regenerate-btn {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.selected-attendees {
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.attendee-chip {
|
|
font-size: 0.8rem;
|
|
padding: 0.4rem 0.6rem;
|
|
}
|
|
|
|
.show-upload-btn {
|
|
padding: 0.6rem 1.2rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
/* Upload Confirmation Modal */
|
|
.delete-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.delete-modal {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 2rem;
|
|
max-width: 400px;
|
|
width: 90%;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.delete-modal h3 {
|
|
margin: 0 0 1rem 0;
|
|
color: #1e293b;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.delete-modal p {
|
|
margin: 0 0 2rem 0;
|
|
color: #64748b;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.modal-actions .btn-cancel, .modal-actions .btn-submit {
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border: none;
|
|
}
|
|
|
|
.modal-actions .btn-cancel {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
}
|
|
|
|
.modal-actions .btn-cancel:hover {
|
|
background: #e2e8f0;
|
|
}
|
|
|
|
.modal-actions .btn-submit {
|
|
background: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
.modal-actions .btn-submit:hover:not(:disabled) {
|
|
background: #2563eb;
|
|
}
|
|
|
|
.modal-actions .btn-submit:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|