-
+
-
-
- GOLS Control
-
+
+
+
+
+ Golscontrols
+
+
+ Sistema ERP
+
+
@@ -67,29 +150,69 @@ defineExpose({ toggleSidebar });
-
+
{{ item.label }}
-
+
-
-
- {{ item.label }}
-
-
+
+
+
+
+
+
@@ -100,9 +223,10 @@ defineExpose({ toggleSidebar });
@@ -114,5 +238,57 @@ aside {
height: 100vh;
position: sticky;
top: 0;
+ z-index: 40;
+}
+
+/* Animación para submenús */
+.submenu-enter-active,
+.submenu-leave-active {
+ transition: height 0.3s ease, opacity 0.3s ease;
+ overflow: hidden;
+}
+
+.submenu-enter-from,
+.submenu-leave-to {
+ height: 0;
+ opacity: 0;
+}
+
+.submenu-enter-to,
+.submenu-leave-from {
+ opacity: 1;
+}
+
+/* Animación de rotación para el chevron */
+.rotate-180 {
+ transform: rotate(180deg);
+}
+
+/* Efecto de sombra en item activo */
+.shadow-sm {
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
+}
+
+/* Scroll suave */
+nav {
+ scrollbar-width: thin;
+ scrollbar-color: rgba(155, 155, 155, 0.5) transparent;
+}
+
+nav::-webkit-scrollbar {
+ width: 6px;
+}
+
+nav::-webkit-scrollbar-track {
+ background: transparent;
+}
+
+nav::-webkit-scrollbar-thumb {
+ background-color: rgba(155, 155, 155, 0.5);
+ border-radius: 3px;
+}
+
+nav::-webkit-scrollbar-thumb:hover {
+ background-color: rgba(155, 155, 155, 0.7);
}
diff --git a/src/components/layout/TopBar.vue b/src/components/layout/TopBar.vue
index af6c9f6..5e2dc8a 100644
--- a/src/components/layout/TopBar.vue
+++ b/src/components/layout/TopBar.vue
@@ -1,32 +1,100 @@