PluginProbe
The Innovative Form Builder – IvyForms / 0.5
The Innovative Form Builder – IvyForms v0.5
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / frontend / src / views / _components / menu / IvyMenu.vue

IvyMenu.vue in The Innovative Form Builder – IvyForms 0.5, at frontend/src/views/_components/menu/IvyMenu.vue

48 lines 864 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <template>
2 <div class="ivyforms-menu-wrapper">
3 <ElMenu class="ivyforms-menu" v-bind="{ ...$props, ...$attrs }">
4 <slot />
5 </ElMenu>
6 </div>
7 </template>
8
9 <script setup lang="ts"></script>
10 <style lang="scss">
11 // Menu Wrapper
12 .ivyforms-menu-wrapper {
13 display: flex;
14 //overflow-y: auto;
15 width: 100%;
16
17 // Menu
18 .ivyforms-menu {
19 // Element Menu
20 &.el-menu {
21 border-right: none;
22 background-color: transparent;
23 display: flex;
24 flex-direction: column;
25 align-items: center;
26 gap: 8px;
27 flex-shrink: 0;
28 flex-grow: 1;
29 }
30
31 // Horizontal Menu
32 &.el-menu--horizontal {
33 flex-direction: row;
34 height: auto;
35 border-bottom: none;
36 }
37
38 // Vertical Menu
39 &.el-menu--vertical {
40 .el-menu-item {
41 width: 100%;
42 margin: unset;
43 }
44 }
45 }
46 }
47 </style>
48