@apptegy/nuxt-navigation 0.1.53 → 0.1.55
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.
package/dist/module.json
CHANGED
|
@@ -13,7 +13,7 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
|
|
|
13
13
|
<template>
|
|
14
14
|
<component :is="component" class="a-navbar-item" :class="{expanded, active}">
|
|
15
15
|
<slot name="icon">
|
|
16
|
-
<a-icon :icon="icon" font-size="24px"/>
|
|
16
|
+
<a-icon class="icon" :icon="icon" font-size="24px"/>
|
|
17
17
|
</slot>
|
|
18
18
|
<slot v-if="expanded" />
|
|
19
19
|
</component>
|
|
@@ -33,10 +33,6 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
|
|
|
33
33
|
border-radius: 8px;
|
|
34
34
|
user-select: none;
|
|
35
35
|
}
|
|
36
|
-
.a-navbar-item svg {
|
|
37
|
-
margin-right: 12px;
|
|
38
|
-
margin-left: 8px;
|
|
39
|
-
}
|
|
40
36
|
.a-navbar-item:focus-visible {
|
|
41
37
|
outline: var(--orange) auto 2px;
|
|
42
38
|
outline-offset: 0px;
|
|
@@ -49,8 +45,6 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
|
|
|
49
45
|
}
|
|
50
46
|
.a-navbar-item.active svg path, .a-navbar-item.nuxt-link-exact-active svg path, .a-navbar-item.router-link-exact-active svg path {
|
|
51
47
|
stroke-width: 1.5px;
|
|
52
|
-
margin-right: 12px;
|
|
53
|
-
margin-left: 8px;
|
|
54
48
|
}
|
|
55
49
|
.a-navbar-item:hover {
|
|
56
50
|
background-color: var(--nav-icon-background, #F7F5F9);
|
|
@@ -63,4 +57,9 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
|
|
|
63
57
|
.a-navbar-item:last-child {
|
|
64
58
|
margin-bottom: 8px;
|
|
65
59
|
}
|
|
60
|
+
|
|
61
|
+
.icon {
|
|
62
|
+
margin-right: 12px;
|
|
63
|
+
margin-left: 8px;
|
|
64
|
+
}
|
|
66
65
|
</style>
|