feat(ui): enhance styling and layout across various components

- Updated button and icon colors in ListSpaceSidebar and OrganizationList for improved visual consistency.
- Adjusted font sizes, line heights, and letter spacing in AgentList, KnowledgeBase, KnowledgeBaseList, and OrganizationList to enhance readability.
- Modified card styles in KnowledgeBase to improve layout and responsiveness, including grid adjustments and hover effects.
- Replaced organization icons with updated SVGs for better visual representation in OrganizationList.

This update improves the overall user interface by ensuring consistent styling and enhancing the readability of text elements across components.
This commit is contained in:
wizardchen
2026-02-05 18:35:52 +08:00
committed by lyingbug
parent ab1f15c97d
commit c88cf5fc63
5 changed files with 99 additions and 104 deletions
+12 -8
View File
@@ -196,16 +196,20 @@ onMounted(() => {
align-items: center;
justify-content: center;
}
:deep(.t-button .t-icon),
:deep(.t-button .btn-icon-wrapper) {
color: #07c05f;
}
:deep(.t-button:hover .t-icon),
:deep(.t-button:hover .btn-icon-wrapper) {
color: #07c05f;
}
:deep(.t-button .t-icon + .t-button__text:not(:empty)) {
margin-left: 0;
}
:deep(.sidebar-org-icon) {
width: 16px;
height: 16px;
filter: brightness(0) saturate(100%) invert(55%);
}
:deep(.t-button:hover .sidebar-org-icon) {
filter: brightness(0) saturate(100%) invert(40%);
}
}
@@ -228,7 +232,7 @@ onMounted(() => {
color: #4e5969;
cursor: pointer;
transition: all 0.2s ease;
font-size: 12px;
font-size: 13px;
.item-left {
display: flex;
@@ -286,16 +290,16 @@ onMounted(() => {
&.active {
background: #e6f7ec;
color: #00a870;
color: #07c05f;
font-weight: 500;
.item-icon {
color: #00a870;
color: #07c05f;
}
.item-count {
background: #b8f0d3;
color: #00a870;
color: #07c05f;
font-weight: 600;
}