mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
wip(vscode-ide-companion): timelint
This commit is contained in:
@@ -16,38 +16,33 @@
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
/* Timeline connector line using ::after pseudo-element */
|
||||
/* Default: full height connector for middle items */
|
||||
/* Default timeline connector line */
|
||||
.toolcall-container::after {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
background-color: var(--app-primary-border-color);
|
||||
opacity: 0.4;
|
||||
z-index: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* First item: connector starts from bullet point position */
|
||||
/* First item: connector starts from status point position */
|
||||
.toolcall-container:first-child::after {
|
||||
top: 12px; /* Start from around the bullet point position (8px padding + 4px offset) */
|
||||
top: 24px;
|
||||
}
|
||||
|
||||
/* Last item: connector ends at bullet point position */
|
||||
/* Last item: connector shows only upper part */
|
||||
.toolcall-container:last-child::after {
|
||||
bottom: 12px; /* End at around the bullet point position */
|
||||
}
|
||||
|
||||
/* First and last are the same item (single item): no connector */
|
||||
.toolcall-container:first-child:last-child::after {
|
||||
content: none;
|
||||
height: calc(100% - 24px);
|
||||
top: 0;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
/* Status-specific styles using ::before pseudo-element for bullet points */
|
||||
.toolcall-container.toolcall-status-default::before {
|
||||
content: "\25cf";
|
||||
content: '\25cf';
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
padding-top: 2px;
|
||||
@@ -57,17 +52,16 @@
|
||||
}
|
||||
|
||||
.toolcall-container.toolcall-status-success::before {
|
||||
content: "\25cf";
|
||||
content: '\25cf';
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
padding-top: 2px;
|
||||
font-size: 10px;
|
||||
color: #74c991;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.toolcall-container.toolcall-status-error::before {
|
||||
content: "\25cf";
|
||||
content: '\25cf';
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
padding-top: 2px;
|
||||
@@ -77,7 +71,7 @@
|
||||
}
|
||||
|
||||
.toolcall-container.toolcall-status-warning::before {
|
||||
content: "\25cf";
|
||||
content: '\25cf';
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
padding-top: 2px;
|
||||
@@ -87,7 +81,7 @@
|
||||
}
|
||||
|
||||
.toolcall-container.toolcall-status-loading::before {
|
||||
content: "\25cf";
|
||||
content: '\25cf';
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
padding-top: 2px;
|
||||
@@ -158,4 +152,9 @@
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Flex container with margin bottom */
|
||||
.toolcall-header {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user