feat: enhance sidebar functionality and UI responsiveness
- Implemented sidebar collapse and expand functionality, allowing users to toggle the sidebar visibility for a more streamlined interface. - Updated the `uiStore` to manage sidebar state, persisting the collapsed state in local storage for user preference. - Enhanced the `menu.vue` and `UserMenu.vue` components to adapt their layout based on the sidebar state, improving usability. - Added corresponding translations for sidebar actions in English, Korean, Russian, and Chinese, ensuring accessibility for diverse users. - Refined CSS styles to support the new sidebar behavior, enhancing overall UI consistency and responsiveness. These changes significantly improve the user experience by providing a more flexible and user-friendly navigation system.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user