adminforth 2.4.0-next.200 → 2.4.0-next.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}"
|
|
14
14
|
aria-label="Sidebar"
|
|
15
15
|
>
|
|
16
|
-
<div class="h-full px-3 pb-4 bg-lightSidebar dark:bg-darkSidebar border-r border-lightSidebarBorder dark:border-darkSidebarBorder sidebar-scroll">
|
|
16
|
+
<div class="h-full px-3 pb-4 bg-lightSidebar dark:bg-darkSidebar border-r border-lightSidebarBorder dark:border-darkSidebarBorder" :class="{'sidebar-scroll':!isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering)}">
|
|
17
17
|
<div class="af-logo-title-wrapper flex ms-2 relative transition-all duration-300 ease-in-out h-8 items-center" :class="{'my-4 ': isSidebarIconOnly && !isSidebarHovering, 'm-4': !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering)}">
|
|
18
18
|
<img v-if="coreStore.config?.showBrandLogoInSidebar !== false && (!iconOnlySidebarEnabled || !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering))" :src="loadFile(coreStore.config?.brandLogo || '@/assets/logo.svg')" :alt="`${ coreStore.config?.brandName } Logo`" class="af-logo h-8 me-3" />
|
|
19
19
|
<img v-if="coreStore.config?.showBrandLogoInSidebar !== false && coreStore.config?.iconOnlySidebar?.logo && iconOnlySidebarEnabled && isSidebarIconOnly && !isSidebarHovering" :src="loadFile(coreStore.config?.iconOnlySidebar?.logo || '')" :alt="`${ coreStore.config?.brandName } Logo`" class="af-sidebar-icon-only-logo h-8 me-3" />
|
|
@@ -188,14 +188,14 @@
|
|
|
188
188
|
<style lang="scss" scoped>
|
|
189
189
|
/* Sidebar width animations */
|
|
190
190
|
.sidebar-container {
|
|
191
|
-
width:
|
|
191
|
+
width: 16.5rem; /* Default expanded width (w-64) */
|
|
192
192
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
193
193
|
overflow: hidden; /* Prevent content from showing during animation */
|
|
194
194
|
will-change: width, transform;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
.sidebar-collapsed {
|
|
198
|
-
width: 5rem; /* Collapsed width (w-18) */
|
|
198
|
+
width: 4.5rem; /* Collapsed width (w-18) */
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.sidebar-expanded {
|