imetting_frontend/src/pages/MeetingDetails.css

2049 lines
34 KiB
CSS

.meeting-details-page {
background-color: #f8fafc;
min-height: 100vh;
padding: 2rem;
}
.details-header {
max-width: 1400px;
margin: 0 auto 1.5rem auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.meeting-actions {
display: flex;
gap: 0.5rem;
}
.action-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border: none;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
}
.summary-btn {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
}
.summary-btn:hover {
background: linear-gradient(135deg, #5a67d8, #6b46c1);
transform: translateY(-1px);
}
.edit-btn {
background: #f59e0b;
color: white;
}
.edit-btn:hover {
background: #d97706;
transform: translateY(-1px);
}
.delete-btn {
background: #ef4444;
color: white;
}
.delete-btn:hover {
background: #dc2626;
transform: translateY(-1px);
}
.details-layout {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 400px;
gap: 2rem;
}
.main-content {
min-height: 0;
}
.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;
}
.details-content-card {
background: white;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
overflow: hidden;
}
.detail-card-header {
display: block;
padding: 2rem;
background: linear-gradient(135deg, #f5f7fa, #eef2f7);
border-bottom: 1px solid #e2e8f0;
}
.meeting-header-title {
margin-bottom: 1.5rem;
}
.detail-card-header h1 {
font-size: 2rem;
font-weight: 700;
color: #1e293b;
margin: 0;
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
line-height: 1.2;
}
.detail-card-header h1 .inline-title-tags {
margin: 0;
}
.detail-card-header h1 .inline-title-tags .tag-item {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
font-size: 12px;
padding: 4px 10px;
border-radius: 14px;
}
.meta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.meta-item {
display: flex;
align-items: center;
gap: 0.75rem;
color: #334155;
}
.meta-item svg {
color: #667eea;
}
.meta-item strong {
font-weight: 600;
}
.card-section {
padding: 2rem;
border-bottom: 1px solid #e2e8f0;
}
.card-section:last-child {
border-bottom: none;
}
.card-section h2 {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.25rem;
font-weight: 600;
color: #334155;
margin: 0 0 1rem 0;
}
.summary-content {
line-height: 1.7;
color: #475569;
white-space: normal;
}
/* Markdown content styling */
.markdown-content {
font-size: 1rem;
line-height: 1.6;
}
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
margin: 0.8rem 0 0.4rem 0;
font-weight: 600;
color: #1e293b;
}
.markdown-content h1:first-child,
.markdown-content h2:first-child,
.markdown-content h3:first-child,
.markdown-content h4:first-child,
.markdown-content h5:first-child,
.markdown-content h6:first-child {
margin-top: 0;
}
.markdown-content h1 { font-size: 1.5rem; }
.markdown-content h2 { font-size: 1.25rem; }
.markdown-content h3 { font-size: 1.1rem; }
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 { font-size: 1rem; }
.markdown-content p {
margin: 0.3rem 0;
}
.markdown-content p:first-child {
margin-top: 0;
}
.markdown-content p:last-child {
margin-bottom: 0;
}
.markdown-content ul,
.markdown-content ol {
margin: 0.4rem 0;
padding-left: 1.5rem;
}
.markdown-content li {
margin: 0.1rem 0;
}
.markdown-content li p {
margin: 0.1rem 0;
}
.markdown-content strong {
font-weight: 600;
color: #1e293b;
}
.markdown-content em {
font-style: italic;
}
.markdown-content code {
background: #f1f5f9;
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.9rem;
color: #dc2626;
}
.markdown-content pre {
background: #f8fafc;
padding: 1rem;
border-radius: 8px;
overflow-x: auto;
border: 1px solid #e2e8f0;
}
.markdown-content pre code {
background: none;
padding: 0;
color: #334155;
}
.markdown-content blockquote {
border-left: 4px solid #667eea;
padding-left: 1rem;
margin: 1rem 0;
font-style: italic;
color: #64748b;
background: #f8fafc;
padding: 1rem;
border-radius: 0 8px 8px 0;
}
.markdown-content table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.markdown-content th,
.markdown-content td {
border: 1px solid #e2e8f0;
padding: 0.5rem;
text-align: left;
}
.markdown-content th {
background: #f8fafc;
font-weight: 600;
}
.markdown-content hr {
border: none;
height: 1px;
background: #e2e8f0;
margin: 2rem 0;
}
.attendees-list {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.attendee-chip {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background-color: #f1f5f9;
color: #475569;
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: 500;
}
/* Audio file info */
.audio-file-info {
margin-bottom: 1rem;
padding: 0.5rem 0.75rem;
background: #f8fafc;
border-radius: 6px;
border-left: 3px solid #667eea;
}
.audio-file-name {
font-size: 0.9rem;
color: #475569;
font-weight: 500;
}
/* Audio Player Styles */
.audio-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.section-header-with-menu {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.audio-section h2 {
color: white;
margin-bottom: 0;
}
/* Audio Menu Button */
.audio-menu-button {
background: none;
border: none;
color: white;
cursor: pointer;
padding: 8px;
outline: none;
border-radius: 6px;
transition: background-color 0.2s ease;
}
.audio-menu-button:hover {
background: rgba(255, 255, 255, 0.1);
}
.audio-menu-button:focus {
outline: none;
}
.audio-menu-button:active {
background: rgba(255, 255, 255, 0.2);
outline: none;
}
.selected-file-info {
margin: 1rem 0;
padding: 0.75rem;
background: #f1f5f9;
border-radius: 6px;
font-size: 0.875rem;
color: #475569;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.selected-file-info .file-size {
font-size: 0.75rem;
color: #64748b;
}
.audio-player {
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.5rem;
backdrop-filter: blur(10px);
}
/* 转录状态显示样式 - 一行显示 */
.transcription-status {
margin: 1rem 0;
padding: 0.75rem 1rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.status-content-inline {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
.status-header-inline {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
flex-shrink: 0;
}
.status-pending-inline,
.status-processing-inline,
.status-completed-inline,
.status-failed-inline {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
}
.status-processing-inline {
gap: 0.75rem;
}
.status-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
animation: pulse 2s infinite;
}
.status-indicator.pending {
background-color: #fbbf24;
}
.status-indicator.processing {
background-color: #3b82f6;
}
.status-indicator.completed {
background-color: #10b981;
animation: none;
}
.status-indicator.failed {
background-color: #ef4444;
animation: none;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.progress-bar-small {
width: 80px;
height: 4px;
background: rgba(255, 255, 255, 0.2);
border-radius: 2px;
overflow: hidden;
}
.progress-fill-small {
height: 100%;
background: linear-gradient(90deg, #3b82f6, #1d4ed8);
border-radius: 2px;
transition: width 0.3s ease;
}
.progress-text {
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.7);
min-width: 28px;
text-align: right;
}
.error-message-inline {
font-size: 0.75rem;
color: #fca5a5;
margin-left: 0.25rem;
}
.player-controls {
display: flex;
align-items: center;
gap: 1rem;
margin-top: 1rem;
}
.play-button {
background: rgba(255, 255, 255, 0.2);
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
color: white;
cursor: pointer;
transition: all 0.3s ease;
}
.play-button:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.05);
}
.time-info {
font-size: 0.9rem;
font-weight: 500;
min-width: 50px;
text-align: center;
}
.progress-container {
flex: 1;
height: 40px;
display: flex;
align-items: center;
cursor: pointer;
padding: 0 1rem;
margin: 0 0.5rem;
user-select: none;
}
.progress-bar {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.3);
border-radius: 3px;
position: relative;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: rgba(255, 255, 255, 0.9);
border-radius: 3px;
transition: width 0.1s ease;
position: relative;
}
.progress-fill::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background: white;
border-radius: 50%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
opacity: 0;
transition: opacity 0.2s ease;
}
.progress-container:hover .progress-fill::after {
opacity: 1;
}
.volume-control {
display: flex;
align-items: center;
gap: 0.5rem;
}
.volume-slider {
width: 80px;
height: 4px;
background: rgba(255, 255, 255, 0.2);
outline: none;
border-radius: 2px;
cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
appearance: none;
width: 16px;
height: 16px;
background: white;
border-radius: 50%;
cursor: pointer;
}
/* Meeting Summary Section */
.summary-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.summary-header h2 {
margin: 0;
color: #334155;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.25rem;
}
.export-pdf-btn-main {
display: flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border: none;
padding: 10px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.export-pdf-btn-main svg {
color: white;
}
.export-pdf-btn-main:hover {
background: linear-gradient(135deg, #5a67d8, #6b46c1);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.summary-content {
background: #fafbfc;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 0;
min-height: 200px;
overflow: hidden;
}
.markdown-content {
padding: 2rem;
background: white;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
color: #1e293b;
margin-top: 1.5rem;
margin-bottom: 0.75rem;
}
.markdown-content h1 { font-size: 1.5rem; }
.markdown-content h2 { font-size: 1.375rem; }
.markdown-content h3 { font-size: 1.25rem; }
.markdown-content h4 { font-size: 1.125rem; }
.markdown-content p {
line-height: 1.6;
color: #475569;
margin-bottom: 1rem;
}
.markdown-content ul,
.markdown-content ol {
margin: 1rem 0;
padding-left: 1.5rem;
}
.markdown-content li {
margin-bottom: 0.5rem;
line-height: 1.5;
color: #475569;
}
.markdown-content strong {
color: #1e293b;
font-weight: 600;
}
.markdown-content code {
background: #f1f5f9;
padding: 2px 6px;
border-radius: 4px;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 0.875rem;
color: #be185d;
}
.no-summary {
display: flex;
align-items: center;
justify-content: center;
min-height: 200px;
padding: 2rem;
}
.no-summary-content {
text-align: center;
color: #64748b;
}
.no-summary-content svg {
color: #cbd5e1;
}
.no-summary-content h3 {
margin: 0 0 0.5rem 0;
color: #475569;
font-size: 1.125rem;
}
.no-summary-content p {
margin: 0 0 1.5rem 0;
color: #64748b;
}
.generate-summary-cta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border: none;
padding: 10px 18px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
min-height: 40px;
text-align: left;
vertical-align: middle;
}
.generate-summary-cta svg {
flex-shrink: 0;
display: block;
}
.generate-summary-cta span {
display: block;
line-height: 1.2;
}
.generate-summary-cta:hover {
background: linear-gradient(135deg, #5a67d8, #6b46c1);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
/* Transcript Sidebar */
.transcript-sidebar {
background: white;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
height: calc(100vh - 120px);
min-height: 600px;
display: flex;
flex-direction: column;
}
.transcript-header {
padding: 1.5rem;
border-bottom: 1px solid #e2e8f0;
display: flex;
justify-content: space-between;
align-items: center;
}
.transcript-controls {
display: flex;
gap: 8px;
align-items: center;
}
.transcript-header h3 {
display: flex;
align-items: center;
gap: 12px;
}
.sync-scroll-icon {
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: auto;
color: #64748b;
cursor: pointer;
transition: all 0.2s ease;
padding: 2px;
}
.sync-scroll-icon:hover {
color: #3b82f6;
transform: scale(1.1);
}
.auto-scroll-btn {
display: flex;
align-items: center;
justify-content: center;
padding: 4px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: opacity 0.2s;
background: transparent;
color: #64748b;
min-width: 24px;
height: 24px;
margin-left: auto;
}
.auto-scroll-btn:hover {
opacity: 0.7;
}
.edit-speakers-btn,
.ai-summary-btn {
display: flex;
align-items: center;
gap: 4px;
padding: 6px 12px;
border: none;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
transition: background-color 0.2s;
}
.edit-speakers-btn {
background: #007bff;
color: white;
}
.edit-speakers-btn:hover {
background: #0056b3;
}
.ai-summary-btn {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
}
.ai-summary-btn:hover {
background: linear-gradient(135deg, #5a67d8, #6b46c1);
}
.transcript-header h3 {
margin: 0;
color: #334155;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.1rem;
}
.transcript-content {
padding: 1rem;
overflow-y: auto;
flex: 1;
}
.transcript-item {
margin-bottom: 1.5rem;
padding: 1rem;
background: #f8fafc;
border-radius: 8px;
border-left: 3px solid transparent;
transition: all 0.3s ease;
}
.transcript-item.active {
background: #eff6ff;
border-left-color: #667eea;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
transform: translateX(2px);
}
.transcript-item:hover {
background: #f1f5f9;
cursor: pointer;
transition: background-color 0.3s ease;
}
.transcript-header-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.transcript-item-actions {
display: flex;
align-items: center;
gap: 8px;
}
.clickable {
cursor: pointer;
}
.clickable:hover {
opacity: 0.7;
}
.speaker-name {
font-weight: 700;
color: #1e293b;
font-size: 0.95rem;
background: #f1f5f9;
padding: 4px 10px;
border-radius: 12px;
border: 1px solid #e2e8f0;
display: flex;
align-items: center;
gap: 4px;
}
.speaker-index {
font-weight: 500;
font-size: 0.75rem;
color: #64748b;
background: #e2e8f0;
padding: 2px 6px;
border-radius: 8px;
margin-left: 4px;
}
.timestamp {
font-size: 0.8rem;
font-weight: 500;
color: #64748b;
}
.transcript-text {
color: #475569;
line-height: 1.6;
font-size: 0.95rem;
}
/* No Audio Display */
.no-audio {
text-align: center;
padding: 3rem 2rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
backdrop-filter: blur(10px);
}
.no-audio-icon {
margin-bottom: 1rem;
opacity: 0.7;
}
.no-audio-message {
font-size: 1.1rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
color: white;
}
.no-audio-hint {
font-size: 0.9rem;
margin: 0;
color: rgba(255, 255, 255, 0.8);
}
/* Meeting Actions */
.meeting-actions {
display: flex;
gap: 0.75rem;
align-items: center;
}
.action-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 500;
text-decoration: none;
border: none;
cursor: pointer;
transition: all 0.3s ease;
min-width: 100px;
justify-content: center;
}
.edit-btn {
background: #667eea;
color: white;
box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}
.edit-btn:hover {
background: #5a67d8;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
color: white;
}
.delete-btn {
background: #ef4444;
color: white;
box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}
.delete-btn:hover {
background: #dc2626;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}
.export-btn {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}
.export-btn:hover {
background: linear-gradient(135deg, #5a67d8, #6b46c1);
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
color: white;
}
/* Delete 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;
}
.btn-cancel, .btn-delete {
padding: 0.5rem 1rem;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
border: none;
}
.btn-cancel {
background: #f1f5f9;
color: #475569;
}
.btn-cancel:hover {
background: #e2e8f0;
}
.btn-delete {
background: #ef4444;
color: white;
}
.btn-delete:hover {
background: #dc2626;
}
/* Speaker Edit Modal Styles */
.speaker-edit-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.speaker-edit-modal {
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow: hidden;
display: flex;
flex-direction: column;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid #e2e8f0;
background: #f8fafc;
}
.modal-header h3 {
margin: 0;
color: #1e293b;
font-size: 1.2rem;
font-weight: 600;
}
.close-btn {
background: none;
border: none;
color: #64748b;
cursor: pointer;
padding: 8px;
border-radius: 6px;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.close-btn:hover {
background: #e2e8f0;
color: #1e293b;
}
.speaker-edit-content {
flex: 1;
overflow-y: auto;
padding: 20px 24px;
}
.modal-description {
color: #64748b;
margin-bottom: 24px;
font-size: 14px;
line-height: 1.5;
}
.speaker-list {
display: flex;
flex-direction: column;
gap: 16px;
margin-bottom: 8px;
}
.no-speakers-message {
text-align: center;
padding: 40px 20px;
color: #64748b;
}
.no-speakers-message p {
margin: 0;
font-size: 14px;
}
.speaker-edit-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px;
background: #f8fafc;
border-radius: 8px;
border: 1px solid #e2e8f0;
transition: all 0.2s ease;
}
.speaker-edit-item:hover {
background: #f1f5f9;
border-color: #cbd5e1;
}
.speaker-info {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 160px;
}
.speaker-id {
font-weight: 600;
color: #1e293b;
font-size: 15px;
}
.segment-count {
font-size: 13px;
color: #64748b;
}
.speaker-tag-input {
flex: 1;
padding: 10px 14px;
border: 1px solid #d1d5db;
border-radius: 6px;
font-size: 14px;
margin-left: 20px;
min-width: 220px;
transition: all 0.2s ease;
}
.speaker-tag-input:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
background: #fff;
}
.modal-actions {
padding: 20px 24px;
border-top: 1px solid #e2e8f0;
background: #f8fafc;
display: flex;
gap: 12px;
justify-content: flex-end;
}
.btn-save {
display: flex;
align-items: center;
gap: 8px;
background: #10b981;
color: white;
border: none;
padding: 12px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}
.btn-save:hover {
background: #059669;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}
.btn-cancel {
padding: 12px 20px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid #d1d5db;
background: white;
color: #374151;
}
.btn-cancel:hover {
background: #f9fafb;
border-color: #9ca3af;
}
/* AI Summary Modal Styles */
.summary-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;
}
.summary-modal {
background: white;
border-radius: 12px;
width: 90%;
max-width: 800px;
max-height: 90vh;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.summary-modal-content {
padding: 0 24px 24px;
max-height: calc(90vh - 120px);
overflow-y: auto;
}
.summary-input-section {
margin-bottom: 2rem;
}
.summary-input-section h4 {
margin: 0 0 1rem 0;
color: #1e293b;
font-size: 1.125rem;
}
.input-description {
color: #64748b;
font-size: 0.875rem;
margin-bottom: 1rem;
}
.user-prompt-input {
width: 100%;
padding: 12px 16px;
border: 1px solid #d1d5db;
border-radius: 8px;
font-size: 14px;
font-family: inherit;
margin-bottom: 1rem;
resize: vertical;
transition: all 0.2s ease;
}
.user-prompt-input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.generate-summary-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border: none;
padding: 10px 18px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
min-height: 40px;
text-align: left;
vertical-align: middle;
}
.generate-summary-btn svg {
flex-shrink: 0;
display: block;
}
.generate-summary-btn span {
display: block;
line-height: 1.2;
}
.generate-summary-btn:hover:not(:disabled) {
background: linear-gradient(135deg, #5a67d8, #6b46c1);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.generate-summary-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.loading-spinner.small {
width: 16px;
height: 16px;
}
.summary-result-section,
.summary-history-section {
border-top: 1px solid #e2e8f0;
padding-top: 2rem;
margin-top: 2rem;
}
.summary-result-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.summary-result-section h4,
.summary-history-section h4 {
margin: 0;
color: #1e293b;
font-size: 1.125rem;
}
.export-pdf-btn {
display: flex;
align-items: center;
gap: 6px;
background: #059669;
color: white;
border: none;
padding: 8px 14px;
border-radius: 6px;
cursor: pointer;
font-size: 12px;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
}
.export-pdf-btn svg {
color: white;
}
.export-pdf-btn:hover {
background: #047857;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(5, 150, 105, 0.4);
}
.summary-result-content {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 1.5rem;
max-height: 400px;
overflow-y: auto;
}
.summary-history-list {
display: flex;
flex-direction: column;
gap: 1rem;
max-height: 300px;
overflow-y: auto;
}
.summary-history-item {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 1rem;
transition: all 0.2s ease;
}
.summary-history-item:hover {
background: #f1f5f9;
border-color: #cbd5e1;
}
.summary-history-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.summary-date {
color: #64748b;
font-size: 0.875rem;
}
.user-prompt-tag {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 0.75rem;
font-weight: 500;
}
.user-prompt-display {
background: white;
border-left: 3px solid #667eea;
padding: 8px 12px;
margin-bottom: 0.5rem;
border-radius: 4px;
font-size: 0.875rem;
}
.summary-content-preview {
color: #475569;
font-size: 0.875rem;
line-height: 1.5;
}
/* Responsive Design */
@media (max-width: 1200px) {
.details-layout {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.transcript-sidebar {
max-height: 500px;
}
}
@media (max-width: 768px) {
.meeting-details-page {
padding: 1rem;
}
.details-header {
flex-direction: column;
gap: 1rem;
align-items: stretch;
}
.meeting-actions {
justify-content: center;
gap: 0.5rem;
}
.action-btn {
padding: 0.4rem 0.8rem;
font-size: 0.8rem;
min-width: 80px;
}
.action-btn.icon-only span {
display: none;
}
.player-controls {
flex-wrap: wrap;
gap: 0.75rem;
}
.progress-container {
order: 3;
flex-basis: 100%;
}
.volume-control {
order: 4;
}
.speaker-edit-modal {
max-width: 95%;
max-height: 90vh;
margin: 20px;
}
.speaker-edit-item {
flex-direction: column;
align-items: stretch;
gap: 12px;
}
.speaker-tag-input {
margin-left: 0;
min-width: auto;
width: 100%;
}
.transcript-controls {
flex-direction: column;
gap: 8px;
}
.edit-speakers-btn {
font-size: 12px;
padding: 6px 10px;
}
.modal-actions {
flex-direction: column;
gap: 8px;
}
.btn-save, .btn-cancel {
width: 100%;
justify-content: center;
}
}
/* Transcript Edit Modal */
.transcript-edit-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;
}
.transcript-edit-modal {
background: white;
border-radius: 12px;
width: 90%;
max-width: 800px;
max-height: 90vh;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.transcript-edit-content {
padding: 20px;
max-height: calc(90vh - 120px);
overflow-y: auto;
}
.modal-description {
margin-bottom: 20px;
color: #64748b;
font-size: 14px;
}
.transcript-edit-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.transcript-edit-item {
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 16px;
background: #f8fafc;
}
.transcript-edit-item.current {
border-color: #3b82f6;
background: #eff6ff;
}
.transcript-edit-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 12px;
}
.current-indicator {
background: #3b82f6;
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
}
.transcript-edit-textarea {
width: 100%;
min-height: 80px;
border: 1px solid #d1d5db;
border-radius: 6px;
font-family: inherit;
font-size: 14px;
line-height: 1.5;
resize: vertical;
}
.transcript-edit-textarea:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
/* Audio Divider and Subtitle Display */
.audio-divider {
margin: 20px 0;
height: 1px;
background: rgba(255, 255, 255, 0.2);
border-radius: 1px;
}
.subtitle-display {
margin-top: 20px;
min-height: 80px;
padding: 15px;
background: rgba(0, 0, 0, 0.2);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.subtitle-content {
display: flex;
flex-direction: column;
gap: 8px;
}
.subtitle-text {
color: white;
font-size: 1rem;
line-height: 1.5;
text-align: left;
}
.speaker-indicator {
font-weight: 600;
color: #fbbf24;
font-size: 0.9rem;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
align-self: flex-start;
margin-bottom: 4px;
}
.subtitle-placeholder {
display: flex;
align-items: center;
justify-content: center;
height: 60px;
}
.placeholder-text {
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
font-style: italic;
text-align: center;
}
/* AI总结进度条样式 */
.summary-progress-section {
margin: 20px 0;
padding: 20px;
background: #f8fafc;
border-radius: 12px;
border: 1px solid #e5e7eb;
}
.progress-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.progress-title {
font-size: 14px;
font-weight: 500;
color: #374151;
}
.progress-percentage {
font-size: 14px;
font-weight: 600;
color: #2563eb;
}
.progress-bar-container {
height: 8px;
background: #e5e7eb;
border-radius: 4px;
overflow: hidden;
position: relative;
}
.progress-bar-fill {
height: 100%;
background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
border-radius: 4px;
transition: width 0.3s ease;
position: relative;
overflow: hidden;
}
.progress-bar-animate {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.3) 50%,
rgba(255, 255, 255, 0) 100%
);
animation: progress-shine 1.5s linear infinite;
}
@keyframes progress-shine {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
.progress-message {
display: flex;
align-items: center;
gap: 8px;
margin-top: 12px;
font-size: 13px;
color: #6b7280;
}
.progress-message .status-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
animation: pulse 1.5s ease-in-out infinite;
}
.progress-message .status-indicator.processing {
background: #3b82f6;
}
.success-message {
display: flex;
align-items: center;
gap: 8px;
margin: 20px 0;
padding: 12px 16px;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
border-left: 4px solid #3b82f6;
border-radius: 8px;
font-size: 14px;
color: #1e40af;
animation: slideInFromTop 0.3s ease-out;
}
.success-message svg {
color: #3b82f6;
animation: sparkle 0.5s ease-in-out;
}
@keyframes slideInFromTop {
0% {
opacity: 0;
transform: translateY(-10px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes sparkle {
0%, 100% {
transform: scale(1) rotate(0deg);
}
50% {
transform: scale(1.2) rotate(180deg);
}
}
/* 更新生成按钮在加载时的样式 */
.generate-summary-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
background: #94a3b8;
}
.generate-summary-btn:disabled:hover {
transform: none;
box-shadow: none;
}
/* New styles for Tabs and MindMap */
.summary-tabs-section .ant-tabs-nav {
margin-bottom: 1.5rem !important;
}
.summary-tabs-section .ant-tabs-tab {
font-size: 1rem;
color: #475569;
padding: 12px 16px;
}
.summary-tabs-section .ant-tabs-tab .ant-tabs-tab-btn {
display: flex;
align-items: center;
gap: 8px;
}
.summary-tabs-section .ant-tabs-tab-active .ant-tabs-tab-btn {
color: #667eea;
}
.summary-tabs-section .ant-tabs-ink-bar {
background: #667eea;
height: 3px;
}
.mindmap-container {
padding: 1rem;
}
.mindmap-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.mindmap-header h3 {
margin: 0;
color: #334155;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.25rem;
}
.markmap-render-area {
height: 600px;
width: 100%;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #f8fafc;
}
.markmap-render-area svg {
width: 100%;
height: 100%;
}
.mindmap-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 600px;
color: #64748b;
}
.mindmap-loading .animate-spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Icon-only action buttons */
.action-btn.icon-only {
padding: 0.6rem;
min-width: auto;
gap: 0;
width: 40px;
height: 40px;
justify-content: center;
}
.action-btn.icon-only span {
display: none;
}
.action-btn.qr-btn {
background: #10b981;
color: white;
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}
.action-btn.qr-btn:hover {
background: #059669;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}
/* Enhanced transcript control buttons */
.edit-speakers-btn,
.ai-summary-btn {
padding: 8px 16px;
font-size: 14px;
font-weight: 600;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
}
.edit-speakers-btn {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.edit-speakers-btn:hover {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
.ai-summary-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}
.ai-summary-btn:hover {
background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}