| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- .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;
- }
- }
|