mcp-demo/style.css.current
GoMrStone 1a7567231a feat: 录音素材管理系统 - 完整功能
- 视频分析: MiMo 2.5 大模型直接分析
- 场景检测: AI 视觉模型识别分镜头
- 语音识别: 每个场景单独 ASR
- 语音克隆: MiMo TTS 语音克隆
- 下载功能: 单文件/批量 ZIP 下载
- 系统设置: API 密钥配置
- 文件夹管理: 创建/移动/筛选
- 扁平化 UI: 简约按钮样式
2026-07-10 17:26:53 +08:00

1304 lines
30 KiB
Plaintext

/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
background: #f5f5f5;
color: #333;
height: 100vh;
overflow: hidden;
}
/* === App Layout === */
.app-layout {
display: flex;
height: 100vh;
}
/* === Sidebar === */
.sidebar {
width: 220px;
background: #fff;
border-right: 1px solid #e8e8e8;
display: flex;
flex-direction: column;
flex-shrink: 0;
transition: width 0.2s;
overflow: hidden;
}
.sidebar.collapsed { width: 0; border-right: none; }
.sidebar-header {
padding: 20px 16px 12px;
display: flex;
align-items: center;
gap: 10px;
border-bottom: 1px solid #f0f0f0;
}
.sidebar-logo { font-size: 24px; }
.sidebar-title { font-size: 16px; font-weight: 600; color: #222; }
.sidebar-nav {
flex: 1;
overflow-y: auto;
padding: 8px 0;
}
.nav-section { padding: 0 8px; }
.nav-section-title {
font-size: 12px;
color: #999;
padding: 8px 12px 4px;
font-weight: 500;
}
.nav-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
color: #555;
transition: all 0.15s;
}
.nav-item:hover { background: #f5f5f5; color: #222; }
.nav-item.active { background: #e8f4fd; color: #1a73e8; font-weight: 500; }
.nav-icon { font-size: 16px; width: 20px; text-align: center; }
.nav-label { flex: 1; }
.nav-count {
font-size: 12px;
color: #999;
background: #f0f0f0;
padding: 1px 6px;
border-radius: 8px;
}
.nav-item.active .nav-count { background: #c8e0f7; color: #1a73e8; }
.nav-divider { height: 1px; background: #f0f0f0; margin: 8px 16px; }
.sidebar-footer {
padding: 12px;
border-top: 1px solid #f0f0f0;
}
/* === Main Area === */
.main-area {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
min-width: 0;
}
/* === Top Bar === */
.topbar {
height: 56px;
background: #fff;
border-bottom: 1px solid #e8e8e8;
display: flex;
align-items: center;
padding: 0 16px;
gap: 16px;
flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-center { display: flex; align-items: center; }
.topbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-icon {
width: 32px; height: 32px;
border: none;
background: none;
font-size: 18px;
cursor: pointer;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
}
.btn-icon:hover { background: #f0f0f0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.breadcrumb-item { color: #666; cursor: pointer; }
.breadcrumb-item:hover { color: #222; }
.breadcrumb-item.active { color: #222; font-weight: 500; }
.breadcrumb-sep { color: #ccc; }
/* Slider */
.slider-group {
display: flex;
align-items: center;
gap: 8px;
}
.slider-label { font-size: 12px; color: #999; }
.slider-group input[type="range"] {
width: 120px;
accent-color: #1a73e8;
}
/* View Toggle */
.view-toggle { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.view-btn {
width: 32px; height: 30px;
border: none;
background: #fff;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.view-btn.active { background: #1a73e8; color: #fff; }
.view-btn:hover:not(.active) { background: #f5f5f5; }
.search-box input {
padding: 6px 12px;
border: 1px solid #ddd;
border-radius: 6px;
background: #f8f8f8;
font-size: 13px;
width: 220px;
}
.search-box input:focus { outline: none; border-color: #1a73e8; background: #fff; }
/* Buttons */
.btn {
padding: 6px 14px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
transition: all 0.15s;
white-space: nowrap;
}
.btn-upload { background: #1a73e8; color: #fff; }
.btn-upload:hover { background: #1557b0; }
.btn-block { width: 100%; text-align: center; padding: 10px; font-size: 14px; }
.btn-analyze { background: #f0f0f0; color: #333; border: 1px solid #ddd; }
.btn-analyze:hover { background: #e8e8e8; }
.btn-analyze:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-export { background: #34a853; color: #fff; }
.btn-export:hover { background: #2d8e47; }
.btn-analyze-selected { background: #f0f0f0; color: #333; border: 1px solid #ddd; }
.btn-delete-selected { background: #ea4335; color: #fff; }
.btn-delete-selected:hover { background: #d33426; }
.btn-restore { background: #34a853; color: #fff; }
.btn-restore:hover { background: #2d8e47; }
.btn-permanent-delete { background: #c62828; color: #fff; }
.btn-permanent-delete:hover { background: #a31f1f; }
.btn-clear { background: #f0f0f0; color: #333; }
.btn-clear:hover { background: #e8e8e8; }
/* === Filter Bar === */
.filterbar {
height: 40px;
background: #fff;
border-bottom: 1px solid #f0f0f0;
display: flex;
align-items: center;
padding: 0 16px;
gap: 16px;
font-size: 13px;
color: #666;
flex-shrink: 0;
}
.filter-group {
display: flex;
align-items: center;
gap: 4px;
}
.filter-group input, .filter-group select {
padding: 4px 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 13px;
background: #fff;
}
.filter-group input:focus, .filter-group select:focus { outline: none; border-color: #1a73e8; }
.filter-results { margin-left: auto; color: #999; font-size: 13px; }
.btn-select-all { background: #fff; border: 1px solid #ddd; color: #333; font-size: 13px; }
.btn-select-all:hover { border-color: #1a73e8; color: #1a73e8; }
/* === Content Area === */
.content-area {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.grid-container {
flex: 1;
overflow-y: auto;
padding: 16px;
}
/* === Grid === */
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 12px;
}
.empty-state {
text-align: center;
padding: 80px;
color: #999;
font-size: 16px;
}
/* === Card === */
.card {
background: #fff;
border-radius: 8px;
overflow: hidden;
border: 2px solid transparent;
cursor: pointer;
transition: all 0.15s;
position: relative;
}
.card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.card.selected { border-color: #1a73e8; box-shadow: 0 0 0 2px rgba(26,115,232,0.2); }
/* Thumbnail */
.card-thumb-wrapper {
position: relative;
aspect-ratio: 9/16;
background: #f0f0f0;
}
.card-thumb {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
background: #000;
}
.card-play {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 44px; height: 44px;
background: rgba(0,0,0,0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: #fff;
opacity: 0;
transition: opacity 0.2s;
pointer-events: none;
}
.card:hover .card-play { opacity: 1; }
/* Tags on thumbnail */
.card-tags-top {
position: absolute;
top: 6px;
left: 6px;
right: 6px;
display: flex;
justify-content: space-between;
pointer-events: none;
}
.card-tag {
padding: 2px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 500;
backdrop-filter: blur(4px);
}
.tag-category {
background: rgba(26,115,232,0.85);
color: #fff;
}
.tag-duration {
background: rgba(0,0,0,0.5);
color: #fff;
}
.tag-screener {
background: rgba(0,0,0,0.5);
color: #fff;
}
.tag-screener.keep { background: rgba(52,168,83,0.85); }
.tag-screener.review { background: rgba(251,188,4,0.85); }
.tag-screener.delete { background: rgba(234,67,53,0.85); }
/* Checkbox */
.card-check {
position: absolute;
bottom: 6px;
right: 6px;
width: 22px; height: 22px;
background: rgba(255,255,255,0.85);
border: 2px solid #ccc;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
z-index: 3;
cursor: pointer;
color: transparent;
transition: all 0.15s;
pointer-events: auto;
}
.card-check:hover { border-color: #1a73e8; }
.card-check.checked { background: #1a73e8; border-color: #1a73e8; color: #fff; }
/* Card Body */
.card-body { padding: 8px 10px; }
.card-title {
font-size: 13px;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #222;
margin-bottom: 2px;
}
.card-desc {
font-size: 11px;
color: #999;
line-height: 1.4;
max-height: 2.8em;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.card-meta {
display: flex;
gap: 8px;
font-size: 11px;
color: #aaa;
margin-top: 4px;
}
/* === List View === */
.grid.list-view {
grid-template-columns: 1fr;
gap: 4px;
}
.grid.list-view .card {
display: flex;
flex-direction: row;
border-radius: 6px;
}
.grid.list-view .card-thumb-wrapper {
width: 80px;
aspect-ratio: 9/16;
flex-shrink: 0;
}
.grid.list-view .card-body {
flex: 1;
display: flex;
align-items: center;
gap: 16px;
}
.grid.list-view .card-title { flex: 1; margin-bottom: 0; }
.grid.list-view .card-meta { flex-shrink: 0; }
/* === Pagination === */
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
padding: 12px;
border-top: 1px solid #f0f0f0;
background: #fff;
flex-shrink: 0;
}
.page-btn {
width: 32px; height: 32px;
border: 1px solid #ddd;
border-radius: 4px;
background: #fff;
color: #333;
cursor: pointer;
font-size: 13px;
display: flex;
align-items: center;
justify-content: center;
}
.page-btn:hover:not(:disabled) { border-color: #1a73e8; color: #1a73e8; }
.page-btn.active { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-info { font-size: 13px; color: #999; margin-right: 8px; }
/* === Selected Bar === */
.selected-bar {
position: fixed;
bottom: 0; left: 220px; right: 0;
background: #fff;
padding: 12px 20px;
display: flex;
align-items: center;
gap: 16px;
border-top: 2px solid #1a73e8;
box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
z-index: 100;
font-size: 14px;
}
/* === Modal === */
.modal {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
z-index: 200;
display: none;
align-items: center;
justify-content: center;
}
.modal.active { display: flex; }
.modal-overlay {
position: absolute;
inset: 0;
cursor: pointer;
}
.modal-content {
background: #fff;
border-radius: 12px;
overflow: hidden;
max-width: 900px;
width: 90%;
position: relative;
z-index: 10;
}
.modal-close {
position: absolute;
top: 10px; right: 14px;
background: none;
border: none;
color: #666;
font-size: 24px;
cursor: pointer;
z-index: 10;
width: 32px; height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.modal-close:hover { background: #f0f0f0; }
.modal-content video {
width: auto;
max-height: 75vh;
max-width: 45vh;
margin: 0 auto;
display: block;
background: #000;
aspect-ratio: 9/16;
}
/* Modal Tabs */
.modal-tabs {
display: flex;
border-bottom: 1px solid #e8e8e8;
}
.modal-tab {
flex: 1;
padding: 12px;
border: none;
background: none;
font-size: 14px;
color: #666;
cursor: pointer;
transition: all 0.15s;
border-bottom: 2px solid transparent;
}
.modal-tab:hover { color: #333; background: #f8f8f8; }
.modal-tab.active { color: #1a73e8; border-bottom-color: #1a73e8; font-weight: 500; }
.modal-tab-content { min-height: 200px; max-height: 70vh; overflow-y: auto; }
.modal-tab-content video { max-height: 60vh; }
/* Clip Toolbar */
.clip-toolbar {
background: #f8f9fa;
border-top: 1px solid #e8e8e8;
padding: 10px 16px;
}
.clip-timeline-wrapper {
margin-bottom: 10px;
}
.clip-timeline {
position: relative;
height: 32px;
background: #e0e0e0;
border-radius: 4px;
cursor: pointer;
overflow: hidden;
}
.clip-selection {
position: absolute;
top: 0;
height: 100%;
background: rgba(26, 115, 232, 0.3);
border-left: 2px solid #1a73e8;
border-right: 2px solid #1a73e8;
pointer-events: none;
}
.clip-marker {
position: absolute;
top: 0;
width: 12px;
height: 100%;
cursor: ew-resize;
z-index: 5;
}
.clip-marker-in {
left: 0;
background: #1a73e8;
border-radius: 4px 0 0 4px;
}
.clip-marker-out {
right: 0;
background: #1a73e8;
border-radius: 0 4px 4px 0;
}
.clip-playhead {
position: absolute;
top: 0;
width: 3px;
height: 100%;
background: #ea4335;
z-index: 10;
pointer-events: none;
}
.clip-played {
position: absolute;
top: 0;
height: 100%;
background: rgba(0,0,0,0.15);
pointer-events: none;
}
.clip-timeaxis {
display: flex;
justify-content: space-between;
font-size: 10px;
color: #999;
margin-top: 2px;
padding: 0 2px;
}
.clip-row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.clip-sep { color: #ccc; font-size: 16px; }
.clip-time {
font-family: monospace;
font-size: 13px;
color: #555;
background: #fff;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid #ddd;
min-width: 80px;
}
.clip-duration { font-size: 12px; color: #888; }
.btn-clip-set {
background: #fff;
border: 1px solid #ddd;
color: #333;
padding: 5px 12px;
font-size: 12px;
}
.btn-clip-set:hover { border-color: #1a73e8; color: #1a73e8; }
.btn-clip-split {
background: #fbbc04;
color: #333;
padding: 5px 14px;
font-size: 12px;
font-weight: 500;
}
.btn-clip-split:hover { background: #e6a800; }
.btn-clip-play {
background: #1a73e8;
color: #fff;
padding: 5px 14px;
font-size: 12px;
font-weight: 500;
}
.btn-clip-play:hover { background: #1557b0; }
.btn-clip-save {
background: #34a853;
color: #fff;
padding: 5px 14px;
font-size: 12px;
font-weight: 500;
}
.btn-clip-save:hover { background: #2d8e47; }
.btn-clip-add {
background: #fff;
border: 1px solid #ddd;
color: #333;
padding: 5px 14px;
font-size: 12px;
}
.btn-clip-add:hover { border-color: #1a73e8; color: #1a73e8; }
.clip-list {
margin-top: 8px;
max-height: 120px;
overflow-y: auto;
}
.clip-list-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 10px;
background: #fff;
border: 1px solid #e8e8e8;
border-radius: 4px;
margin-bottom: 4px;
font-size: 12px;
}
.clip-list-item .clip-info { color: #555; }
.clip-list-item .clip-remove { color: #ea4335; cursor: pointer; }
/* Report Container */
.report-container { padding: 20px 24px; }
.report-section { margin-bottom: 20px; }
.report-section-title {
font-size: 13px;
font-weight: 600;
color: #1a73e8;
margin-bottom: 10px;
padding-bottom: 6px;
border-bottom: 1px solid #e8e8e8;
}
.report-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
}
.report-item {
background: #f8f9fa;
border-radius: 8px;
padding: 12px;
}
.report-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.report-value { font-size: 16px; font-weight: 600; color: #333; }
.report-value.good { color: #34a853; }
.report-value.warn { color: #fbbc04; }
.report-value.bad { color: #ea4335; }
.report-bar {
height: 6px;
background: #e8e8e8;
border-radius: 3px;
margin-top: 6px;
overflow: hidden;
}
.report-bar-fill {
height: 100%;
border-radius: 3px;
transition: width 0.3s;
}
.report-decision {
text-align: center;
padding: 20px;
background: #f8f9fa;
border-radius: 10px;
margin-bottom: 16px;
}
.report-decision-badge {
display: inline-block;
padding: 8px 24px;
border-radius: 20px;
font-size: 18px;
font-weight: 600;
color: #fff;
}
.report-decision-badge.keep { background: #34a853; }
.report-decision-badge.review { background: #fbbc04; color: #333; }
.report-decision-badge.delete { background: #ea4335; }
.report-decision-score {
font-size: 36px;
font-weight: 700;
margin: 8px 0 4px;
}
.report-decision-reason { font-size: 13px; color: #666; }
.report-desc {
background: #f8f9fa;
border-radius: 8px;
padding: 12px 16px;
font-size: 14px;
color: #333;
line-height: 1.6;
}
.report-issues {
list-style: none;
padding: 0;
}
.report-issues li {
padding: 6px 0;
font-size: 13px;
color: #666;
border-bottom: 1px solid #f0f0f0;
}
.report-issues li:last-child { border-bottom: none; }
.report-issues li::before { content: "• "; color: #ea4335; }
.report-no-data {
text-align: center;
padding: 40px;
color: #999;
font-size: 14px;
}
/* Scene Analysis */
.scene-section { margin-top: 16px; }
.waste-stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
margin-bottom: 8px;
}
.waste-stat-item {
background: #f8f9fa;
border-radius: 8px;
padding: 12px;
text-align: center;
}
.waste-stat-num { font-size: 24px; font-weight: 700; }
.waste-stat-label { font-size: 12px; color: #888; margin-top: 2px; }
.waste-stat-num.total { color: #333; }
.waste-stat-num.keep { color: #34a853; }
.waste-stat-num.trim { color: #fbbc04; }
.waste-stat-num.waste { color: #ea4335; }
.scene-card.waste { border-left-color: #ea4335; background: #fef7f6; }
.scene-card.trim { border-left-color: #fbbc04; }
.scene-card.highlight { border-left-color: #34a853; background: #f0faf3; }
.scene-suggestion {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
}
.scene-suggestion.keep { background: #e6f4ea; color: #34a853; }
.scene-suggestion.highlight { background: #e6f4ea; color: #34a853; }
.scene-suggestion.waste { background: #fce8e6; color: #ea4335; }
.scene-suggestion.trim { background: #fef7e0; color: #b06000; }
.scene-card {
background: #f8f9fa;
border-radius: 8px;
padding: 16px;
margin-bottom: 12px;
border-left: 4px solid #1a73e8;
display: flex;
gap: 16px;
align-items: flex-start;
}
.scene-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.scene-title { font-weight: 600; font-size: 14px; color: #333; }
.scene-meta { display: flex; gap: 8px; font-size: 12px; color: #888; }
.scene-tag {
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 500;
}
.scene-tag.type { background: #e8f0fe; color: #1a73e8; }
.scene-tag.usage { background: #fef7e0; color: #b06000; }
.scene-tag.quality { background: #e6f4ea; color: #34a853; }
.scene-tag.quality.low { background: #fce8e6; color: #ea4335; }
.scene-desc { font-size: 13px; color: #555; line-height: 1.5; }
.scene-thumb-wrapper {
position: relative;
width: 90px;
height: 160px;
flex-shrink: 0;
border-radius: 6px;
overflow: hidden;
background: #f0f0f0;
}
.scene-thumb {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
background: #000;
}
.scene-thumb-play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 28px;
height: 28px;
background: rgba(0,0,0,0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: #fff;
opacity: 0;
transition: opacity 0.2s;
}
.scene-card:hover .scene-thumb-play { opacity: 1; }
.scene-loading {
text-align: center;
padding: 20px;
color: #999;
font-size: 13px;
}
.scene-loading::after {
content: "";
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid #ddd;
border-top-color: #1a73e8;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin-left: 8px;
vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-info {
padding: 16px 20px;
font-size: 14px;
color: #666;
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.modal-info .info-item { display: flex; align-items: center; gap: 4px; }
.modal-info .info-label { color: #999; }
.modal-info .info-value { color: #333; font-weight: 500; }
.modal-info .info-full { flex-basis: 100%; margin-top: 4px; }
.modal-actions {
padding: 12px 20px;
display: flex;
gap: 10px;
border-top: 1px solid #f0f0f0;
}
.btn-analyze-modal { background: #1a73e8; color: #fff; padding: 8px 20px; font-size: 14px; }
.btn-analyze-modal:hover { background: #1557b0; }
.btn-analyze-modal:disabled { background: #999; cursor: not-allowed; }
.btn-prev, .btn-next { background: #f0f0f0; color: #333; padding: 8px 16px; font-size: 14px; }
.btn-prev:hover, .btn-next:hover { background: #e8e8e8; }
/* === Upload Modal === */
.upload-header { padding: 20px 24px 0; }
.upload-header h2 { font-size: 18px; margin-bottom: 4px; }
.upload-header p { font-size: 13px; color: #999; }
.upload-body { padding: 16px 24px 24px; }
.upload-dropzone {
border: 2px dashed #ddd;
border-radius: 10px;
padding: 40px;
text-align: center;
cursor: pointer;
transition: all 0.2s;
margin-bottom: 16px;
position: relative;
}
.upload-dropzone:hover, .upload-dropzone.dragover {
border-color: #1a73e8;
background: rgba(26,115,232,0.03);
}
.dropzone-icon { font-size: 40px; margin-bottom: 8px; }
.upload-dropzone p { color: #999; font-size: 14px; }
.upload-link { color: #1a73e8; cursor: pointer; text-decoration: underline; }
.upload-category {
display: flex; align-items: center; gap: 8px;
margin-bottom: 16px; font-size: 14px;
}
.upload-category input {
flex: 1;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
}
.upload-category input:focus { outline: none; border-color: #1a73e8; }
.upload-filelist { max-height: 200px; overflow-y: auto; margin-bottom: 16px; }
.upload-file {
display: flex; align-items: center; justify-content: space-between;
padding: 8px 12px; background: #f8f8f8; border-radius: 6px;
margin-bottom: 4px; font-size: 13px;
}
.upload-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-file-size { color: #999; margin-left: 12px; white-space: nowrap; }
.upload-file-remove { color: #ea4335; cursor: pointer; margin-left: 12px; }
.upload-progress { margin-bottom: 16px; }
.upload-result { padding: 12px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.upload-result.success { background: #e6f4ea; color: #34a853; }
.upload-result.error { background: #fce8e6; color: #ea4335; }
.btn-upload-submit {
width: 100%; padding: 12px; background: #1a73e8; color: #fff;
font-size: 15px; font-weight: 500;
}
.btn-upload-submit:hover:not(:disabled) { background: #1557b0; }
.btn-upload-submit:disabled { background: #ddd; color: #999; cursor: not-allowed; }
/* === Task Panel === */
.task-panel {
position: fixed;
top: 0;
left: 220px;
width: 360px;
height: 100vh;
background: #fff;
border-right: 1px solid #e8e8e8;
box-shadow: 4px 0 16px rgba(0,0,0,0.08);
z-index: 280;
display: flex;
flex-direction: column;
}
.task-panel-header {
padding: 16px 20px;
border-bottom: 1px solid #e8e8e8;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 16px;
font-weight: 600;
}
.task-panel-body {
flex: 1;
overflow-y: auto;
padding: 12px;
}
.task-card {
background: #f8f9fa;
border-radius: 8px;
padding: 14px;
margin-bottom: 10px;
border-left: 4px solid #ddd;
}
.task-card.running { border-left-color: #1a73e8; background: #e8f0fe; }
.task-card.completed { border-left-color: #34a853; }
.task-card.failed { border-left-color: #ea4335; }
.task-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
.task-type { font-size: 13px; font-weight: 500; color: #333; }
.task-status {
font-size: 11px;
padding: 2px 8px;
border-radius: 10px;
font-weight: 500;
}
.task-status.running { background: #e8f0fe; color: #1a73e8; }
.task-status.completed { background: #e6f4ea; color: #34a853; }
.task-status.failed { background: #fce8e6; color: #ea4335; }
.task-progress {
height: 4px;
background: #e0e0e0;
border-radius: 2px;
margin: 8px 0;
overflow: hidden;
}
.task-progress-fill {
height: 100%;
background: #1a73e8;
border-radius: 2px;
transition: width 0.3s;
}
.task-detail { font-size: 12px; color: #888; }
.task-time { font-size: 11px; color: #bbb; margin-top: 4px; }
.task-empty { text-align: center; padding: 40px; color: #999; font-size: 14px; }
/* === Progress Overlay === */
.progress-overlay {
position: fixed;
top: 0; left: 220px; right: 0;
background: #fff;
padding: 12px 20px;
z-index: 290;
border-bottom: 1px solid #e8e8e8;
}
.progress-bar {
height: 4px;
background: #e8e8e8;
border-radius: 2px;
overflow: hidden;
margin-bottom: 6px;
}
.progress-fill {
height: 100%;
background: #1a73e8;
width: 0%;
transition: width 0.3s;
}
.progress-text { font-size: 13px; color: #666; }
/* Report Summary */
.report-summary {
display: flex;
gap: 16px;
padding: 16px;
background: #f8f9fa;
border-radius: 12px;
margin-bottom: 16px;
}
.report-summary-item {
flex: 1;
text-align: center;
padding: 12px 8px;
background: white;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.report-summary-item.highlight {
border-left: 3px solid #fbbc04;
}
.report-summary-item.waste {
border-left: 3px solid #ea4335;
}
.report-summary-num {
display: block;
font-size: 24px;
font-weight: 700;
color: #333;
line-height: 1.2;
}
.report-summary-item.highlight .report-summary-num {
color: #fbbc04;
}
.report-summary-item.waste .report-summary-num {
color: #ea4335;
}
.report-summary-label {
display: block;
font-size: 12px;
color: #666;
margin-top: 4px;
}
/* Scene Details */
.scene-details {
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid #f0f0f0;
}
.scene-detail {
display: flex;
gap: 8px;
margin-bottom: 4px;
font-size: 12px;
line-height: 1.5;
}
.scene-detail-label {
color: #999;
min-width: 36px;
flex-shrink: 0;
font-weight: 500;
}
.scene-detail-value {
color: #555;
flex: 1;
}
.scene-detail-value.dialogue {
color: #333;
font-style: italic;
background: #f8f9fa;
padding: 2px 6px;
border-radius: 4px;
border-left: 2px solid #4285f4;
}
.scene-detail-value.notes {
color: #e67e22;
font-weight: 500;
}
.scene-timecode {
font-size: 12px;
color: #999;
margin-bottom: 4px;
font-family: 'SF Mono', 'Consolas', monospace;
}
/* 备注编辑样式 */
.scene-detail-notes {
display: flex;
align-items: flex-start;
gap: 8px;
margin-bottom: 4px;
font-size: 12px;
line-height: 1.5;
}
.scene-detail-value-wrapper {
display: flex;
align-items: flex-start;
gap: 4px;
flex: 1;
}
.scene-notes-input {
width: 100%;
min-height: 60px;
padding: 6px 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 12px;
line-height: 1.5;
resize: vertical;
font-family: inherit;
}
.scene-notes-input:focus {
border-color: #4285f4;
outline: none;
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}
.btn-notes-edit,
.btn-notes-save,
.btn-notes-cancel {
padding: 2px 6px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
line-height: 1;
transition: background-color 0.2s;
}
.btn-notes-edit {
background: #f0f0f0;
color: #666;
}
.btn-notes-edit:hover {
background: #e0e0e0;
}
.btn-notes-save {
background: #34a853;
color: white;
}
.btn-notes-save:hover {
background: #2d9249;
}
.btn-notes-cancel {
background: #ea4335;
color: white;
}
.btn-notes-cancel:hover {
background: #d33426;
}
/* 通知样式 */
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slideOut {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(100%);
opacity: 0;
}
}
.notification {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* 文件夹管理样式 */
.move-menu {
position: absolute;
bottom: 100%;
left: 0;
right: 0;
background: white;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
z-index: 1000;
margin-bottom: 8px;
max-height: 300px;
overflow-y: auto;
}
.move-menu-header {
padding: 12px 16px;
font-weight: 600;
font-size: 13px;
color: #666;
border-bottom: 1px solid #eee;
}
.move-menu-item {
padding: 10px 16px;
cursor: pointer;
font-size: 14px;
transition: background 0.2s;
}
.move-menu-item:hover {
background: #f5f5f5;
}
.move-menu-divider {
height: 1px;
background: #eee;
margin: 4px 0;
}
.btn-move {
background: #4285f4;
color: white;
}
.btn-move:hover {
background: #3367d6;
}
/* === Report Transcription === */
.report-transcription {
margin: 16px 0;
padding: 16px;
background: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #1a73e8;
}
.report-transcription-title {
font-weight: 600;
font-size: 14px;
color: #333;
margin-bottom: 8px;
}
.report-transcription-content {
font-size: 13px;
color: #555;
line-height: 1.6;
white-space: pre-wrap;
}