.project-tab-container { display: grid; height: 100%; min-height: 0; /* 允许在flex容器内收缩 */ } .left-panel, .middle-panel, .right-panel { height: 100%; padding: 16px; } .left-panel, .right-panel { overflow-y: auto; } .middle-panel { overflow: auto; /* 允许滚动,由内部容器处理 */ display: flex; flex-direction: column; } .left-panel { background: #f8f9fa; display: flex; flex-direction: column; gap: 16px; min-height: 0; } .middle-panel { background: #ffffff; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; } .right-panel { background: #fafafa; } .project-info-card { margin-bottom: 8px; } .agent-chip { display: inline-block; background: #e3f2fd; color: #1976d2; padding: 2px 8px; border-radius: 12px; font-size: 12px; margin-right: 8px; } .status-chip { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 12px; } .status-requirement_document { background: #fff3e0; color: #f57c00; } .status-technical_document { background: #e8f5e8; color: #388e3c; } .status-code { background: #e3f2fd; color: #1976d2; } .status-test { background: #f3e5f5; color: #7b1fa2; } .status-release { background: #e8f5e8; color: #388e3c; } .project-description { color: #666; line-height: 1.5; margin: 12px 0; } .project-meta { display: flex; gap: 16px; margin: 12px 0; color: #888; font-size: 14px; } .meta-item { display: flex; align-items: center; gap: 4px; } .meta-item mat-icon { font-size: 16px; height: 16px; width: 16px; } .progress-section { margin: 16px 0; } .progress-label { font-size: 14px; color: #666; margin-bottom: 4px; } .progress-text { font-size: 12px; color: #888; text-align: right; margin-top: 4px; } .latest-log { background: #f5f5f5; border-radius: 4px; padding: 12px; margin-top: 16px; } .log-header { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; margin-bottom: 8px; } .log-content { font-size: 12px; color: #888; } .steps-accordion { flex: 0; min-height: 0; overflow-y: auto; max-height: 300px; } .step-content { padding: 12px 0; } .current-step { color: #1976d2; font-weight: 500; } .step-status { display: inline-block; background: #f5f5f5; padding: 4px 8px; border-radius: 4px; font-size: 12px; color: #666; } .no-project { text-align: center; padding: 40px 20px; color: #666; } .splitter { background: #f0f0f0; cursor: col-resize; display: flex; align-items: center; justify-content: center; position: relative; } .splitter:hover, .splitter.dragging { background: #e0e0e0; } .splitter-handle { width: 4px; height: 40px; background: #ccc; border-radius: 2px; } .splitter.dragging .splitter-handle { background: #007bff; } .conversation-wrapper { flex: 1; display: flex; flex-direction: column; min-height: 0; /* 允许flex容器缩小 */ overflow: auto; /* 允许滚动 */ } .ai-response-wrapper { height: 100%; display: flex; flex-direction: column; } .placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #999; text-align: center; padding: 40px 20px; } .placeholder mat-icon { font-size: 48px; height: 48px; width: 48px; margin-bottom: 16px; color: #ccc; } .placeholder p { font-size: 14px; color: #888; } .document-list-section { margin-top: 16px; flex: 1; min-height: 0; display: flex; flex-direction: column; app-document-list { flex: 1; min-height: 0; } }