mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
add menu item
This commit is contained in:
parent
a080fab1f1
commit
efbee533d1
|
@ -127,6 +127,12 @@
|
||||||
|
|
||||||
<MenuItemsIterator :items="sidebarMenuBottomItems" :root="true"/>
|
<MenuItemsIterator :items="sidebarMenuBottomItems" :root="true"/>
|
||||||
|
|
||||||
|
<div class="foot-menu-items">
|
||||||
|
<el-menu-item index="updates" class="updates">
|
||||||
|
<i><font-awesome-icon icon="gift"/></i>
|
||||||
|
<span slot="title" class="item-title-root">Updates available</span>
|
||||||
|
</el-menu-item>
|
||||||
|
</div>
|
||||||
</el-menu>
|
</el-menu>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -570,6 +576,33 @@ a.logo {
|
||||||
&.expanded {
|
&.expanded {
|
||||||
width: $--sidebar-expanded-width;
|
width: $--sidebar-expanded-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.foot-menu-items {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-menu-item.updates {
|
||||||
|
color: $--sidebar-inactive-color;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $--sidebar-active-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
i:after {
|
||||||
|
content: "\2022";
|
||||||
|
color: $--sidebar-active-color;
|
||||||
|
font-size: 30px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -62,6 +62,7 @@ import {
|
||||||
faFileImport,
|
faFileImport,
|
||||||
faFilePdf,
|
faFilePdf,
|
||||||
faFolderOpen,
|
faFolderOpen,
|
||||||
|
faGift,
|
||||||
faHdd,
|
faHdd,
|
||||||
faHome,
|
faHome,
|
||||||
faHourglass,
|
faHourglass,
|
||||||
|
@ -151,6 +152,7 @@ library.add(faFileExport);
|
||||||
library.add(faFileImport);
|
library.add(faFileImport);
|
||||||
library.add(faFilePdf);
|
library.add(faFilePdf);
|
||||||
library.add(faFolderOpen);
|
library.add(faFolderOpen);
|
||||||
|
library.add(faGift);
|
||||||
library.add(faHdd);
|
library.add(faHdd);
|
||||||
library.add(faHome);
|
library.add(faHome);
|
||||||
library.add(faHourglass);
|
library.add(faHourglass);
|
||||||
|
|
|
@ -44,8 +44,12 @@ $--custom-input-border-shadow: 1px solid $--custom-input-border-color;
|
||||||
|
|
||||||
$--header-height: 65px;
|
$--header-height: 65px;
|
||||||
|
|
||||||
|
// sidebar
|
||||||
$--sidebar-width: 65px;
|
$--sidebar-width: 65px;
|
||||||
$--sidebar-expanded-width: 200px;
|
$--sidebar-expanded-width: 200px;
|
||||||
|
$--sidebar-inactive-color: #909399;
|
||||||
|
$--sidebar-active-color: $--color-primary;
|
||||||
|
|
||||||
$--tags-manager-min-height: 300px;
|
$--tags-manager-min-height: 300px;
|
||||||
|
|
||||||
// based on element.io breakpoints
|
// based on element.io breakpoints
|
||||||
|
|
Loading…
Reference in a new issue