style: update AgentStreamDisplay component for improved UI consistency
This commit is contained in:
@@ -1848,21 +1848,19 @@ const handleAddToKnowledge = (answerEvent: any) => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 5px 12px;
|
padding: 6px 14px;
|
||||||
font-size: 13px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 6px;
|
border-radius: 8px;
|
||||||
background: linear-gradient(135deg, rgba(7, 192, 95, 0.06) 0%, rgba(7, 192, 95, 0.02) 50%, transparent 100%);
|
background-color: var(--td-bg-color-container);
|
||||||
border: 1px solid rgba(7, 192, 95, 0.12);
|
border: .5px solid var(--td-component-stroke);
|
||||||
backdrop-filter: blur(8px);
|
box-shadow: 0 2px 4px rgba(7, 192, 95, 0.08);
|
||||||
color: var(--td-text-color-primary);
|
color: var(--td-text-color-primary);
|
||||||
transition: all 0.25s ease;
|
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(135deg, rgba(7, 192, 95, 0.10) 0%, rgba(7, 192, 95, 0.04) 50%, transparent 100%);
|
background-color: rgba(7, 192, 95, 0.04);
|
||||||
border-color: rgba(7, 192, 95, 0.22);
|
|
||||||
box-shadow: 0 2px 8px rgba(7, 192, 95, 0.08);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1871,14 +1869,16 @@ const handleAddToKnowledge = (answerEvent: any) => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 14px;
|
width: 16px;
|
||||||
height: 14px;
|
height: 16px;
|
||||||
margin-right: 7px;
|
color: var(--td-brand-color);
|
||||||
|
fill: currentColor;
|
||||||
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 13px;
|
font-size: 12px;
|
||||||
|
|
||||||
:deep(strong) {
|
:deep(strong) {
|
||||||
color: var(--td-brand-color);
|
color: var(--td-brand-color);
|
||||||
|
|||||||
Reference in New Issue
Block a user