Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

project-tab.component.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. .project-tab-container {
  2. display: grid;
  3. height: 100%;
  4. min-height: 0; /* 允许在flex容器内收缩 */
  5. }
  6. .left-panel, .middle-panel, .right-panel {
  7. height: 100%;
  8. padding: 16px;
  9. }
  10. .left-panel, .right-panel {
  11. overflow-y: auto;
  12. }
  13. .middle-panel {
  14. overflow: auto; /* 允许滚动,由内部容器处理 */
  15. display: flex;
  16. flex-direction: column;
  17. }
  18. .left-panel {
  19. background: #f8f9fa;
  20. display: flex;
  21. flex-direction: column;
  22. gap: 16px;
  23. min-height: 0;
  24. }
  25. .middle-panel {
  26. background: #ffffff;
  27. border-left: 1px solid #e0e0e0;
  28. border-right: 1px solid #e0e0e0;
  29. }
  30. .right-panel {
  31. background: #fafafa;
  32. }
  33. .project-info-card {
  34. margin-bottom: 8px;
  35. }
  36. .agent-chip {
  37. display: inline-block;
  38. background: #e3f2fd;
  39. color: #1976d2;
  40. padding: 2px 8px;
  41. border-radius: 12px;
  42. font-size: 12px;
  43. margin-right: 8px;
  44. }
  45. .status-chip {
  46. display: inline-block;
  47. padding: 2px 8px;
  48. border-radius: 12px;
  49. font-size: 12px;
  50. }
  51. .status-requirement_document { background: #fff3e0; color: #f57c00; }
  52. .status-technical_document { background: #e8f5e8; color: #388e3c; }
  53. .status-code { background: #e3f2fd; color: #1976d2; }
  54. .status-test { background: #f3e5f5; color: #7b1fa2; }
  55. .status-release { background: #e8f5e8; color: #388e3c; }
  56. .project-description {
  57. color: #666;
  58. line-height: 1.5;
  59. margin: 12px 0;
  60. }
  61. .project-meta {
  62. display: flex;
  63. gap: 16px;
  64. margin: 12px 0;
  65. color: #888;
  66. font-size: 14px;
  67. }
  68. .meta-item {
  69. display: flex;
  70. align-items: center;
  71. gap: 4px;
  72. }
  73. .meta-item mat-icon {
  74. font-size: 16px;
  75. height: 16px;
  76. width: 16px;
  77. }
  78. .progress-section {
  79. margin: 16px 0;
  80. }
  81. .progress-label {
  82. font-size: 14px;
  83. color: #666;
  84. margin-bottom: 4px;
  85. }
  86. .progress-text {
  87. font-size: 12px;
  88. color: #888;
  89. text-align: right;
  90. margin-top: 4px;
  91. }
  92. .latest-log {
  93. background: #f5f5f5;
  94. border-radius: 4px;
  95. padding: 12px;
  96. margin-top: 16px;
  97. }
  98. .log-header {
  99. display: flex;
  100. align-items: center;
  101. gap: 8px;
  102. font-size: 14px;
  103. color: #666;
  104. margin-bottom: 8px;
  105. }
  106. .log-content {
  107. font-size: 12px;
  108. color: #888;
  109. }
  110. .steps-accordion {
  111. flex: 0;
  112. min-height: 0;
  113. overflow-y: auto;
  114. max-height: 300px;
  115. }
  116. .step-content {
  117. padding: 12px 0;
  118. }
  119. .current-step {
  120. color: #1976d2;
  121. font-weight: 500;
  122. }
  123. .step-status {
  124. display: inline-block;
  125. background: #f5f5f5;
  126. padding: 4px 8px;
  127. border-radius: 4px;
  128. font-size: 12px;
  129. color: #666;
  130. }
  131. .no-project {
  132. text-align: center;
  133. padding: 40px 20px;
  134. color: #666;
  135. }
  136. .splitter {
  137. background: #f0f0f0;
  138. cursor: col-resize;
  139. display: flex;
  140. align-items: center;
  141. justify-content: center;
  142. position: relative;
  143. }
  144. .splitter:hover, .splitter.dragging {
  145. background: #e0e0e0;
  146. }
  147. .splitter-handle {
  148. width: 4px;
  149. height: 40px;
  150. background: #ccc;
  151. border-radius: 2px;
  152. }
  153. .splitter.dragging .splitter-handle {
  154. background: #007bff;
  155. }
  156. .conversation-wrapper {
  157. flex: 1;
  158. display: flex;
  159. flex-direction: column;
  160. min-height: 0; /* 允许flex容器缩小 */
  161. overflow: auto; /* 允许滚动 */
  162. }
  163. .ai-response-wrapper {
  164. height: 100%;
  165. display: flex;
  166. flex-direction: column;
  167. }
  168. .placeholder {
  169. flex: 1;
  170. display: flex;
  171. flex-direction: column;
  172. align-items: center;
  173. justify-content: center;
  174. color: #999;
  175. text-align: center;
  176. padding: 40px 20px;
  177. }
  178. .placeholder mat-icon {
  179. font-size: 48px;
  180. height: 48px;
  181. width: 48px;
  182. margin-bottom: 16px;
  183. color: #ccc;
  184. }
  185. .placeholder p {
  186. font-size: 14px;
  187. color: #888;
  188. }
  189. .document-list-section {
  190. margin-top: 16px;
  191. flex: 1;
  192. min-height: 0;
  193. display: flex;
  194. flex-direction: column;
  195. app-document-list {
  196. flex: 1;
  197. min-height: 0;
  198. }
  199. }