Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

feat: enhance sidebar functionality and UI responsiveness

wizardchen5d90019fd0d2
diff --git a/frontend/src/assets/theme/theme.css b/frontend/src/assets/theme/theme.css
index d160474b1..9cb90a56a 100644
--- a/frontend/src/assets/theme/theme.css
+++ b/frontend/src/assets/theme/theme.css
@@ -115,4 +115,17 @@
}
:root[theme-mode="dark"] .more-wrap:hover .more-icon {
opacity: 0.9;
+}
+
+/* 覆盖浏览器自动填充的背景色(Chrome 会强制加浅蓝/浅黄底色) */
+input:-webkit-autofill,
+input:-webkit-autofill:hover,
+input:-webkit-autofill:focus,
+input:-webkit-autofill:active,
+textarea:-webkit-autofill,
+select:-webkit-autofill {
+ -webkit-box-shadow: 0 0 0 1000px var(--td-bg-color-container) inset !important;
+ -webkit-text-fill-color: var(--td-text-color-primary) !important;
+ caret-color: var(--td-text-color-primary) !important;
+ transition: background-color 5000s ease-in-out 0s;
}
\ No newline at end of file
diff --git a/frontend/src/components/UserMenu.vue b/frontend/src/components/UserMenu.vue
index 5819654ed..f5a1d7266 100644
--- a/frontend/src/components/UserMenu.vue
+++ b/frontend/src/components/UserMenu.vue
@@ -1,16 +1,18 @@
<template>
- <div class="user-menu" ref="menuRef">
+ <div class="user-menu" :class="{ 'user-menu--collapsed': uiStore.sidebarCollapsed }" ref="menuRef">
<!-- 用户按钮 -->
<div class="user-button" @click="toggleMenu">
<div class="user-avatar">
<img v-if="userAvatar" :src="userAvatar" :alt="$t('common.avatar')" />
<span v-else class="avatar-placeholder">{{ userInitial }}</span>
</div>
- <div class="user-info">
- <div class="user-name">{{ userName }}</div>
- <div class="user-email">{{ userEmail }}</div>
- </div>
- <t-icon :name="menuVisible ? 'chevron-up' : 'chevron-down'" class="dropdown-icon" />
+ <template v-if="!uiStore.sidebarCollapsed">
+ <div class="user-info">
+ <div class="user-name">{{ userName }}</div>
+ <div class="user-email">{{ userEmail }}</div>
+ </div>
+ <t-icon :name="menuVisible ? 'chevron-up' : 'chevron-down'" class="dropdown-icon" />
+ </template>
</div>
<!-- 下拉菜单 -->
@@ -256,6 +258,30 @@ onUnmounted(() => {
.user-menu {
position: relative;
width: 100%;
+
+ &--collapsed {
+ .user-button {
+ justify-content: center;
+ padding: 8px;
+ gap: 0;
+ }
+
+ .user-avatar {
+ width: 32px;
+ height: 32px;
+
+ .avatar-placeholder {
+ font-size: 13px;
+ }
+ }
+
+ .user-dropdown {
+ left: calc(100% + 8px);
+ bottom: 0;
+ right: auto;
+ min-width: 200px;
+ }
+ }
}
.user-button {
@@ -287,6 +313,7 @@ onUnmounted(() => {
display: flex;
align-items: center;
justify-content: center;
+ transition: width 0.2s ease, height 0.2s ease;
img {
width: 100%;
diff --git a/frontend/src/components/menu.vue b/frontend/src/components/menu.vue
index 476df6fc3..cda694131 100644
--- a/frontend/src/components/menu.vue
+++ b/frontend/src/components/menu.vue
@@ -1,15 +1,48 @@
<template>
- <div class="aside_box">
- <div class="logo_box" @click="router.push('/platform/knowledge-bases')" style="cursor: pointer;">
- <img class="logo" src="@/assets/img/weknora.png" alt="">
+ <div class="aside_box" :class="{ 'aside_box--collapsed': uiStore.sidebarCollapsed }">
+ <!-- 展开时:Logo + 折叠按钮同行 -->
+ <div class="logo_row" v-if="!uiStore.sidebarCollapsed">
+ <div class="logo_box" @click="router.push('/platform/knowledge-bases')" style="cursor: pointer;">
+ <img class="logo" src="@/assets/img/weknora.png" alt="">
+ </div>
+ <div class="sidebar-toggle"
+ @click="uiStore.toggleSidebar"
+ :title="t('menu.collapseSidebar')">
+ <svg viewBox="0 0 20 20" width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <rect x="1.5" y="1.5" width="17" height="17" rx="3" stroke="currentColor" stroke-width="1.2" />
+ <line x1="7.5" y1="1.5" x2="7.5" y2="18.5" stroke="currentColor" stroke-width="1.2" />
+ <line x1="4" y1="7.5" x2="4" y2="12.5" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" />
+ </svg>
+ </div>
</div>
+ <!-- 折叠时:展开按钮 -->
+ <t-tooltip v-else :content="t('menu.expandSidebar')" placement="right">
+ <div class="menu_item sidebar-toggle-item" @click="uiStore.toggleSidebar">
+ <div class="menu_item-box">
+ <div class="menu_icon">
+ <svg class="icon" viewBox="0 0 20 20" width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <rect x="1.5" y="1.5" width="17" height="17" rx="3" stroke="currentColor" stroke-width="1.2" />
+ <line x1="7.5" y1="1.5" x2="7.5" y2="18.5" stroke="currentColor" stroke-width="1.2" />
+ <line x1="5" y1="10" x2="3" y2="8" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" />
+ <line x1="5" y1="10" x2="3" y2="12" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </t-tooltip>
<!-- 租户选择器:仅在用户可切换租户时显示 -->
- <TenantSelector v-if="canAccessAllTenants" />
+ <TenantSelector v-if="canAccessAllTenants && !uiStore.sidebarCollapsed" />
+
+ <!-- 折叠时右侧拖拽展开手柄 -->
+ <div v-if="uiStore.sidebarCollapsed"
+ class="sidebar-drag-handle"
+ @mousedown="onDragHandleMouseDown" />
<!-- 上半部分:知识库和对话 -->
<div class="menu_top">
<div class="menu_box" :class="{ 'has-submenu': item.children }" v-for="(item, index) in topMenuItems" :key="index">
+ <t-tooltip :content="item.title" placement="right" :disabled="!uiStore.sidebarCollapsed">
<div @click="handleMenuClick(item.path)"
@mouseenter="mouseenteMenu(item.path)" @mouseleave="mouseleaveMenu(item.path)"
:class="['menu_item', item.childrenPath && item.childrenPath == currentpath ? 'menu_item_c_active' : isMenuItemActive(item.path) ? 'menu_item_active' : '']">
@@ -17,13 +50,16 @@
<div class="menu_icon">
<img class="icon" :src="getImgSrc(item.icon == 'zhishiku' ? knowledgeIcon : item.icon == 'search' ? searchIcon : item.icon == 'agent' ? agentIcon : item.icon == 'organization' ? organizationIcon : item.icon == 'logout' ? logoutIcon : item.icon == 'setting' ? settingIcon : prefixIcon)" alt="">
</div>
- <span class="menu_title" :title="item.title">{{ item.title }}</span>
- <span v-if="item.path === 'organizations' && orgStore.totalPendingJoinRequestCount > 0" class="menu-pending-badge" :title="t('organization.settings.pendingJoinRequestsBadge')">{{ orgStore.totalPendingJoinRequestCount }}</span>
- <span v-if="item.path === 'creatChat' && batchMode" class="batch-cancel-hint" @click.stop="exitBatchMode">{{ t('batchManage.cancel') }}</span>
- <t-icon v-else-if="item.path === 'creatChat'" name="add" class="menu-create-hint" />
+ <template v-if="!uiStore.sidebarCollapsed">
+ <span class="menu_title" :title="item.title">{{ item.title }}</span>
+ <span v-if="item.path === 'organizations' && orgStore.totalPendingJoinRequestCount > 0" class="menu-pending-badge" :title="t('organization.settings.pendingJoinRequestsBadge')">{{ orgStore.totalPendingJoinRequestCount }}</span>
+ <span v-if="item.path === 'creatChat' && batchMode" class="batch-cancel-hint" @click.stop="exitBatchMode">{{ t('batchManage.cancel') }}</span>
+ <t-icon v-else-if="item.path === 'creatChat'" name="add" class="menu-create-hint" />
+ </template>
</div>
</div>
- <div ref="submenuscrollContainer" @scroll="handleScroll" class="submenu" v-if="item.children">
+ </t-tooltip>
+ <div ref="submenuscrollContainer" @scroll="handleScroll" class="submenu" v-if="item.children && !uiStore.sidebarCollapsed">
<template v-for="(group, groupIndex) in groupedSessions" :key="groupIndex">
<div class="timeline_header">{{ group.label }}</div>
<div class="submenu_item_p" v-for="(subitem, subindex) in group.items" :key="subitem.id">
@@ -53,7 +89,7 @@
</div>
</template>
</div>
- <div v-if="batchMode && item.path === 'creatChat'" class="batch-inline-footer">
+ <div v-if="batchMode && item.path === 'creatChat' && !uiStore.sidebarCollapsed" class="batch-inline-footer">
<div class="batch-footer-left">
<t-checkbox
:checked="isAllBatchSelected"
@@ -670,11 +706,32 @@ const mouseenteMenu = (path: string) => {
const mouseleaveMenu = (path: string) => {
}
+const onDragHandleMouseDown = (e: MouseEvent) => {
+ e.preventDefault()
+ const startX = e.clientX
+ const expandThreshold = 40
+
+ const onMouseMove = (ev: MouseEvent) => {
+ if (ev.clientX - startX > expandThreshold) {
+ uiStore.expandSidebar()
+ cleanup()
+ }
+ }
+ const onMouseUp = () => cleanup()
+ const cleanup = () => {
+ document.removeEventListener('mousemove', onMouseMove)
+ document.removeEventListener('mouseup', onMouseUp)
+ }
+ document.addEventListener('mousemove', onMouseMove)
+ document.addEventListener('mouseup', onMouseUp)
+}
+
</script>
<style lang="less" scoped>
.aside_box {
min-width: 260px;
+ width: 260px;
padding: 8px;
background: var(--td-bg-color-sidebar);
box-sizing: border-box;
@@ -682,18 +739,85 @@ const mouseleaveMenu = (path: string) => {
overflow: hidden;
display: flex;
flex-direction: column;
- /* 与右侧内容区统一的细分界,减少割裂感 */
border-right: 1px solid var(--td-component-stroke);
box-shadow: 1px 0 0 rgba(0, 0, 0, 0.02);
+ transition: width 0.25s ease, min-width 0.25s ease;
+ position: relative;
+
+ &--collapsed {
+ min-width: 60px;
+ width: 60px;
+ padding: 8px 4px;
+ overflow: visible;
+
+ .menu_item {
+ justify-content: center;
+ padding: 13px 0;
+ .menu_item-box {
+ justify-content: center;
+ width: auto;
+ }
+ .menu_icon {
+ margin-right: 0;
+ }
+ }
+
+ .menu_bottom {
+ align-items: center;
+ }
+ }
+
+ .logo_row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 56px;
+ flex-shrink: 0;
+ padding: 0 8px 0 16px;
+ }
+
+ .sidebar-toggle {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 36px;
+ height: 36px;
+ flex-shrink: 0;
+ cursor: pointer;
+ color: var(--td-text-color-secondary);
+ border-radius: 4px;
+ transition: background-color 0.2s ease;
+ box-sizing: border-box;
+
+ &:hover {
+ background: var(--td-bg-color-container-hover);
+ color: var(--td-text-color-primary);
+ }
+ }
+
+ .sidebar-drag-handle {
+ position: absolute;
+ top: 0;
+ right: -3px;
+ width: 6px;
+ height: 100%;
+ cursor: ew-resize;
+ z-index: 10;
+
+ &:hover {
+ background: var(--td-brand-color-light);
+ }
+ }
.logo_box {
- height: 80px;
display: flex;
align-items: center;
+ flex: 1;
+ min-width: 0;
+ overflow: hidden;
.logo{
width: 134px;
height: auto;
- margin-left: 24px;
}
}
@@ -1121,20 +1245,20 @@ html[theme-mode="dark"] .aside_box .logo_box .logo {
}
// Dark mode: make SVG icons match text color (loaded via <img>, currentColor won't work)
-html[theme-mode="dark"] .aside_box .menu_icon .icon {
+html[theme-mode="dark"] .aside_box .menu_icon img.icon {
filter: invert(1);
opacity: 0.55;
}
// Hover state: brighter icon like text
-html[theme-mode="dark"] .aside_box .menu_item:hover .menu_icon .icon {
+html[theme-mode="dark"] .aside_box .menu_item:hover .menu_icon img.icon {
opacity: 0.9;
}
// menu_item_c_active: text is primary, so icon should match
-html[theme-mode="dark"] .aside_box .menu_item_c_active .menu_icon .icon {
+html[theme-mode="dark"] .aside_box .menu_item_c_active .menu_icon img.icon {
opacity: 0.9;
}
// Active (green) icons should not be inverted
-html[theme-mode="dark"] .aside_box .menu_item_active .menu_icon .icon {
+html[theme-mode="dark"] .aside_box .menu_item_active .menu_icon img.icon {
filter: none;
opacity: 1;
}
diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts
index b9e4d9196..30125bd9c 100755
--- a/frontend/src/i18n/locales/en-US.ts
+++ b/frontend/src/i18n/locales/en-US.ts
@@ -15,6 +15,8 @@ export default {
confirmLogout: 'Are you sure you want to logout?',
systemInfo: 'System Information',
knowledgeSearch: 'Knowledge Search',
+ collapseSidebar: 'Collapse Sidebar',
+ expandSidebar: 'Expand Sidebar',
},
batchManage: {
title: 'Manage Conversations',
diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts
index b211b8c76..e45fb1f0c 100755
--- a/frontend/src/i18n/locales/ko-KR.ts
+++ b/frontend/src/i18n/locales/ko-KR.ts
@@ -15,6 +15,8 @@ export default {
confirmLogout: "정말 로그아웃 하시겠습니까?",
systemInfo: "시스템 정보",
knowledgeSearch: "지식 검색",
+ collapseSidebar: "사이드바 접기",
+ expandSidebar: "사이드바 펼치기",
},
batchManage: {
title: "대화 관리",
diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts
index 903e83f16..01905cf2d 100755
--- a/frontend/src/i18n/locales/ru-RU.ts
+++ b/frontend/src/i18n/locales/ru-RU.ts
@@ -13,6 +13,8 @@ export default {
confirmLogout: 'Вы уверены, что хотите выйти?',
systemInfo: 'Информация о системе',
knowledgeSearch: 'Поиск знаний',
+ collapseSidebar: 'Свернуть боковую панель',
+ expandSidebar: 'Развернуть боковую панель',
},
batchManage: {
title: 'Управление диалогами',
diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts
index 10c81ec12..da18aeb61 100755
--- a/frontend/src/i18n/locales/zh-CN.ts
+++ b/frontend/src/i18n/locales/zh-CN.ts
@@ -15,6 +15,8 @@ export default {
confirmLogout: "确定要退出登录吗?",
systemInfo: "系统信息",
knowledgeSearch: "知识搜索",
+ collapseSidebar: "收起侧边栏",
+ expandSidebar: "展开侧边栏",
},
batchManage: {
title: "管理对话记录",
diff --git a/frontend/src/stores/ui.ts b/frontend/src/stores/ui.ts
index 20f17bffe..867e781a4 100644
--- a/frontend/src/stores/ui.ts
+++ b/frontend/src/stores/ui.ts
@@ -19,7 +19,8 @@ export const useUIStore = defineStore('ui', {
manualEditorInitialTitle: '',
manualEditorInitialContent: '',
manualEditorInitialStatus: 'draft' as 'draft' | 'publish',
- manualEditorOnSuccess: null as null | ((payload: { kbId: string; knowledgeId: string; status: 'draft' | 'publish' }) => void)
+ manualEditorOnSuccess: null as null | ((payload: { kbId: string; knowledgeId: string; status: 'draft' | 'publish' }) => void),
+ sidebarCollapsed: localStorage.getItem('sidebar_collapsed') === 'true'
}),
actions: {
@@ -108,6 +109,21 @@ export const useUIStore = defineStore('ui', {
// 设置当前选中的分类ID
setSelectedTagId(tagId: string) {
this.selectedTagId = tagId
+ },
+
+ toggleSidebar() {
+ this.sidebarCollapsed = !this.sidebarCollapsed
+ localStorage.setItem('sidebar_collapsed', String(this.sidebarCollapsed))
+ },
+
+ collapseSidebar() {
+ this.sidebarCollapsed = true
+ localStorage.setItem('sidebar_collapsed', 'true')
+ },
+
+ expandSidebar() {
+ this.sidebarCollapsed = false
+ localStorage.setItem('sidebar_collapsed', 'false')
}
}
})
diff --git a/frontend/src/views/agent/AgentList.vue b/frontend/src/views/agent/AgentList.vue
index 5172f4145..e1d503f24 100644
--- a/frontend/src/views/agent/AgentList.vue
+++ b/frontend/src/views/agent/AgentList.vue
@@ -1211,7 +1211,6 @@ defineExpose({
// 普通模式样式
&.agent-mode-normal {
background: linear-gradient(135deg, var(--td-bg-color-container) 0%, rgba(7, 192, 95, 0.04) 100%);
- border-color: var(--td-success-color-focus);
&:hover {
border-color: var(--td-brand-color);
@@ -1230,7 +1229,6 @@ defineExpose({
// Agent 模式样式
&.agent-mode-agent {
background: linear-gradient(135deg, var(--td-bg-color-container) 0%, rgba(124, 77, 255, 0.04) 100%);
- border-color: var(--td-brand-color-focus);
&:hover {
border-color: var(--td-brand-color);
diff --git a/frontend/src/views/auth/Login.vue b/frontend/src/views/auth/Login.vue
index ca8356d0a..c6f0fd177 100755
--- a/frontend/src/views/auth/Login.vue
+++ b/frontend/src/views/auth/Login.vue
@@ -1611,3 +1611,110 @@ onMounted(() => {
}
}
</style>
+
+<style lang="less">
+html[theme-mode="dark"] {
+ // 整体背景:更深的绿色渐变
+ .login-layout {
+ background: linear-gradient(225deg, #011a14 0%, #032e22 15%, #043a2c 25%, #05503d 38%, #046647 50%, #038a56 65%, #049b60 78%, #06a06a 90%, #07b074 100%);
+
+ &::before {
+ background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
+ radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
+ }
+ }
+
+ // 知识图谱节点:降低发光强度
+ .knowledge-node {
+ background: rgba(255, 255, 255, 0.1);
+ border-color: rgba(255, 255, 255, 0.2);
+ box-shadow:
+ 0 0 10px rgba(255, 255, 255, 0.2),
+ 0 0 20px rgba(16, 185, 129, 0.2),
+ inset 0 0 10px rgba(255, 255, 255, 0.05);
+ }
+
+ .knowledge-node:hover {
+ box-shadow:
+ 0 0 15px rgba(255, 255, 255, 0.3),
+ 0 0 30px rgba(16, 185, 129, 0.3),
+ inset 0 0 15px rgba(255, 255, 255, 0.1);
+ }
+
+ .connection-line {
+ stroke: rgba(255, 255, 255, 0.3);
+ }
+
+ // Logo 反色
+ .header-logo .logo-image {
+ filter: invert(1) hue-rotate(180deg) brightness(1.1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
+ }
+
+ .header-logo:hover .logo-image {
+ filter: invert(1) hue-rotate(180deg) brightness(1.2) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
+ }
+
+ // 顶部链接按钮:降低玻璃效果亮度
+ .header-link {
+ background: rgba(255, 255, 255, 0.12);
+ border-color: rgba(255, 255, 255, 0.15);
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.2);
+ border-color: rgba(255, 255, 255, 0.25);
+ }
+ }
+
+ .language-switch button {
+ background: rgba(255, 255, 255, 0.12);
+ border-color: rgba(255, 255, 255, 0.15);
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.2);
+ border-color: rgba(255, 255, 255, 0.25);
+ }
+ }
+
+ // 语言下拉菜单
+ .language-dropdown {
+ background: rgba(36, 36, 36, 0.95) !important;
+ border-color: var(--td-component-stroke) !important;
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
+ }
+
+ // 特性标签:降低白色亮度
+ .tag {
+ background: rgba(255, 255, 255, 0.12);
+ }
+
+ // 表单卡片
+ .form-card {
+ background: rgba(36, 36, 36, 0.92) !important;
+ box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
+ }
+
+ // 表单输入框:确保深色背景下有边框对比
+ .form-content .t-input {
+ background: var(--td-bg-color-page) !important;
+ border-color: rgba(255, 255, 255, 0.1) !important;
+
+ &:hover {
+ border-color: var(--td-brand-color) !important;
+ }
+
+ &:focus-within {
+ border-color: var(--td-brand-color) !important;
+ }
+ }
+
+ // 轮播分页:深色模式下用白色圆点确保可见
+ .screenshot-swiper .swiper-pagination-bullet-active {
+ background: rgba(255, 255, 255, 0.9) !important;
+ }
+
+ // 特性列表图标背景
+ .login-features .feature-icon {
+ background: rgba(6, 176, 77, 0.15);
+ }
+}
+</style>
diff --git a/frontend/src/views/knowledge/KnowledgeBaseList.vue b/frontend/src/views/knowledge/KnowledgeBaseList.vue
index cc9078a45..0d2630f70 100644
--- a/frontend/src/views/knowledge/KnowledgeBaseList.vue
+++ b/frontend/src/views/knowledge/KnowledgeBaseList.vue
@@ -1439,7 +1439,6 @@ const handleUploadFinishedEvent = (event: Event) => {
// 共享知识库根据类型显示不同样式
&.kb-type-document {
background: linear-gradient(135deg, var(--td-bg-color-container) 0%, rgba(7, 192, 95, 0.04) 100%) !important;
- border-color: var(--td-success-color-focus) !important;
&:hover {
border-color: var(--td-brand-color) !important;
@@ -1454,7 +1453,6 @@ const handleUploadFinishedEvent = (event: Event) => {
&.kb-type-faq {
background: linear-gradient(135deg, var(--td-bg-color-container) 0%, rgba(0, 82, 217, 0.04) 100%) !important;
- border-color: var(--td-brand-color-focus) !important;
&:hover {
border-color: var(--td-brand-color) !important;
@@ -1614,7 +1612,6 @@ const handleUploadFinishedEvent = (event: Event) => {
// 文档类型样式
&.kb-type-document {
background: linear-gradient(135deg, var(--td-bg-color-container) 0%, rgba(7, 192, 95, 0.04) 100%);
- border-color: var(--td-success-color-focus);
&:hover {
border-color: var(--td-brand-color);
@@ -1639,7 +1636,6 @@ const handleUploadFinishedEvent = (event: Event) => {
// 问答类型样式
&.kb-type-faq {
background: linear-gradient(135deg, var(--td-bg-color-container) 0%, rgba(0, 82, 217, 0.04) 100%);
- border-color: var(--td-brand-color-focus);
&:hover {
border-color: var(--td-brand-color);