@nixweb/nixloc-ui 0.0.60 → 0.0.61
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/package.json
CHANGED
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
@click.prevent="navegarPara('dashboard')"
|
|
8
8
|
:class="sessaoDestaque('home')"
|
|
9
9
|
>
|
|
10
|
-
<
|
|
11
|
-
|
|
10
|
+
<div class="div-icone lado-a-lado" :style="'background-color:' + corBase">
|
|
11
|
+
<i class="fa fa-home icone" aria-hidden="true"></i>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="lado-a-lado titulo">Dashboard</div>
|
|
12
14
|
</a>
|
|
13
15
|
</li>
|
|
14
16
|
|
|
@@ -18,9 +20,13 @@
|
|
|
18
20
|
@click.prevent="abrirSubMenu(item.modulo)"
|
|
19
21
|
:class="sessaoDestaque(item.modulo)"
|
|
20
22
|
>
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
<div class="div-icone lado-a-lado" :style="'background-color:' + corBase">
|
|
24
|
+
<i :class="item.icone" class="icone" aria-hidden="true"></i>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="lado-a-lado titulo">{{ item.modulo }}</div>
|
|
27
|
+
<div class="lado-a-lado seta menu__arrow-icon">
|
|
28
|
+
<i class="fa fa-chevron-right" aria-hidden="true"></i>
|
|
29
|
+
</div>
|
|
24
30
|
</a>
|
|
25
31
|
</li>
|
|
26
32
|
</ul>
|
|
@@ -62,6 +68,12 @@ import { mapState } from "vuex";
|
|
|
62
68
|
|
|
63
69
|
export default {
|
|
64
70
|
name: "Menu",
|
|
71
|
+
props: {
|
|
72
|
+
corBase: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: "#4680A5",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
65
77
|
data() {
|
|
66
78
|
return {
|
|
67
79
|
modulo: "",
|
|
@@ -116,3 +128,25 @@ export default {
|
|
|
116
128
|
},
|
|
117
129
|
};
|
|
118
130
|
</script>
|
|
131
|
+
|
|
132
|
+
<style scoped>
|
|
133
|
+
.div-icone {
|
|
134
|
+
width: 30px;
|
|
135
|
+
height: 30px;
|
|
136
|
+
padding-left: 6px;
|
|
137
|
+
padding-top: 3px;
|
|
138
|
+
border-radius: 8px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.icone {
|
|
142
|
+
color: white;
|
|
143
|
+
font-size: 16px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.titulo {
|
|
147
|
+
margin-left: 15px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.seta {
|
|
151
|
+
}
|
|
152
|
+
</style>
|