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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user