11
2- /* TaskDetails Component Styles */
2+ /* TaskDetails.css */
3+
4+ .status-icon-completed {
5+ color : var (--colorPaletteGreenForeground1 );
6+ }
7+
8+ .status-icon-planned {
9+ color : var (--colorBrandForeground1 );
10+ }
11+
12+ .status-icon-rejected {
13+ color : var (--colorPaletteRedForeground1 );
14+ }
315
416.task-details-container {
517 display : flex;
1123.task-details-section {
1224 display : flex;
1325 flex-direction : column;
14- gap : 16px ;
15- padding : 16px ;
16- }
17-
18- .task-details-section-title {
19- font-size : var (--fontSizeBase500 );
20- font-weight : var (--fontWeightSemibold );
21- margin-bottom : 8px ;
26+ border-bottom : 1px solid var (--colorNeutralStroke2 );
27+ padding : 0px 16px 24px 16px ;
28+ gap : 24px ;
2229}
2330
2431.task-details-progress-header {
2532 display : flex;
2633 align-items : center;
2734 justify-content : space-between;
28- margin-bottom : 16px ;
2935}
3036
31- .task-details-progress-ring {
37+ .task-details-progress-card {
38+ display : flex;
39+ align-items : center;
40+ padding : 12px ;
41+ background-color : var (--colorNeutralBackground4 );
42+ border-radius : var (--borderRadiusXLarge );
43+ width : 100% ;
44+ }
45+
46+ .task-details-progress-icon {
3247 position : relative;
3348 width : 56px ;
3449 height : 56px ;
4055 top : 50% ;
4156 left : 50% ;
4257 transform : translate (-50% , -50% );
43- font-size : var (--fontSizeBase200 );
44- font-weight : var (--fontWeightSemibold );
58+ padding-bottom : 2px ;
4559}
4660
4761.task-details-subtask-list {
5670 gap : 8px ;
5771}
5872
59-
60-
61- .task-details-subtask-details {
62- font-size : var (--fontSizeBase200 );
63- color : var (--colorNeutralForeground3 );
64- }
65-
6673.task-details-status-icon {
6774 display : flex;
6875 align-items : center;
7178 height : 24px ;
7279}
7380
74- .task-details-status-completed {
75- color : var (--colorPaletteGreenForeground1 );
76- }
77-
78- .task-details-status-working {
79- color : var (--colorBrandForeground1 );
80- }
81-
82- .task-details-status-removed {
83- color : var (--colorPaletteRedForeground1 );
84- }
85-
86- .task-details-agent-section {
87- margin-top : 8px ;
88- }
89-
90- .task-details-agent-list {
91- display : flex;
92- flex-direction : column;
93- gap : 12px ;
94- }
95-
96- .task-details-agent-card {
97- display : flex;
98- align-items : center;
99- gap : 12px ;
100-
101-
102- }
103-
104- .task-details-agent-details {
105- display : flex;
106- flex-direction : column;
107- }
108-
109- .task-details-agent-name {
110- font-size : var (--fontSizeBase300 );
111- font-weight : var (--fontWeightSemibold );
112- }
113-
114- .task-details-agent-description {
115- font-size : var (--fontSizeBase200 );
116- color : var (--colorNeutralForeground2 );
117- }
118-
119- .task-details-add-button {
120- align-self : flex-start;
121- margin-top : 8px ;
122- }
123-
124- .task-details-task-title {
125- font-weight : var (--fontWeightSemibold );
126- font-size : var (--fontSizeBase600 );
127- }
128-
129- .task-details-human-section {
130- margin-top : 8px ;
131- }
132-
133- .task-details-human-list {
134- display : flex;
135- flex-direction : column;
136- gap : 12px ;
137- }
138-
139- /* ...existing styles... */
140-
14181.task-details-subtask-content {
14282 display : flex;
14383 align-items : center;
14686 gap : 8px ;
14787}
14888
149- .task-details-subtask-name {
89+ .task-details-subtask-description {
15090 font-size : var (--fontSizeBase300 );
15191 font-weight : var (--fontWeightSemibold );
15292 flex : 1 ;
15393}
15494
155- .task-details-subtask-actions {
95+ .task-details-action-buttons {
15696 display : flex;
15797 align-items : center;
15898 gap : 8px ;
15999}
160100
161- .task-details-checkbox-icon ,
162- .task-details-dismiss-icon {
101+ .task-details-action-button {
163102 cursor : pointer;
164103 padding : 4px ;
165104 border-radius : var (--borderRadiusSmall );
166- transition : background-color 0.2s ease, color 0.2s ease;
167105}
168106
169- .task-details-checkbox-icon : hover {
170- background-color : var (--colorNeutralBackground2 );
171- color : var (--colorPaletteGreenForeground1 );
107+ .task-details-action-button-disabled {
108+ cursor : not-allowed;
109+ padding : 4px ;
110+ border-radius : var (--borderRadiusSmall );
172111}
173112
174- .task-details-dismiss-icon : hover {
175- background-color : var ( --colorNeutralBackground2 ) ;
176- color : var ( --colorPaletteRedForeground1 ) ;
113+ .task-details-agents-container {
114+ display : flex ;
115+ flex-direction : column ;
177116}
178117
179- .task-details-checkbox-icon-disabled ,
180- .task-details-dismiss-icon-disabled {
181- cursor : not-allowed;
182- padding : 4px ;
183- border-radius : var (--borderRadiusSmall );
184- transition : background-color 0.2s ease, color 0.2s ease;
118+ .task-details-agents-header {
119+ padding : 18px 16px ;
120+ max-height : 56px ;
185121}
186122
123+ .task-details-agents-list {
124+ display : flex;
125+ flex-direction : column;
126+ gap : 16px ;
127+ padding : 0 16px 16px 16px ;
128+ }
129+
130+ .task-details-agent-card {
131+ display : flex;
132+ align-items : center;
133+ gap : 12px ;
134+ }
135+
136+ .task-details-agent-details {
137+ display : flex;
138+ flex-direction : column;
139+ }
140+
141+ .task-details-agent-name {
142+ font-size : var (--fontSizeBase300 );
143+ font-weight : var (--fontWeightSemibold );
144+ }
187145.strikethrough {
188146 text-decoration : line-through;
189147}
0 commit comments