style(fe): apply KBX Design System Side Navigation standards (Expanded 220px, Collapsed 56px, max 2-depth)
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 84 KiB |
@@ -68,8 +68,8 @@
|
||||
|
||||
/* KBX v60 Shell Compact Dimensions */
|
||||
--ks-shell-header-height: 38px; /* Global Header 38px */
|
||||
--ks-shell-sidebar-width: 200px; /* Side Nav Expanded 200px */
|
||||
--ks-shell-sidebar-collapsed: 44px; /* Side Nav Collapsed 44px */
|
||||
--ks-shell-sidebar-width: 220px; /* Side Nav Expanded 220px (§5) */
|
||||
--ks-shell-sidebar-collapsed: 56px; /* Side Nav Collapsed 56px (§5) */
|
||||
--ks-shell-tabs-height: 32px; /* Workspace Tabs 32px */
|
||||
--ks-shell-pageheader-height: 36px; /* Page Header 36px */
|
||||
--ks-shell-commandbar-height: 34px; /* Command Bar 34px */
|
||||
|
||||
@@ -214,9 +214,9 @@ const sidebarClass = computed(() => ({
|
||||
|
||||
<style scoped>
|
||||
.ks-sidebar {
|
||||
width: var(--ks-shell-sidebar-width, 200px);
|
||||
background-color: var(--color-background-secondary);
|
||||
border-right: 1px solid var(--color-border-primary);
|
||||
width: var(--ks-shell-sidebar-width, 220px);
|
||||
background-color: var(--ks-color-surface);
|
||||
border-right: 1px solid var(--ks-color-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
@@ -226,7 +226,7 @@ const sidebarClass = computed(() => ({
|
||||
}
|
||||
|
||||
.ks-sidebar--collapsed {
|
||||
width: var(--ks-shell-sidebar-collapsed, 44px);
|
||||
width: var(--ks-shell-sidebar-collapsed, 56px);
|
||||
}
|
||||
|
||||
.ks-sidebar__header {
|
||||
|
||||
Reference in New Issue
Block a user