diff --git a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss
index 757dbc4a3..27e60897f 100644
--- a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss
+++ b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss
@@ -213,7 +213,7 @@
overflow-y: auto;
}
.resize-modal {
- width: calc(100% - 252px);
+ width: calc(100% - 240px);
opacity: 0.6;
background-color: #f5f9ff;
border: 1px solid #a7d0f7;
diff --git a/nezha-fronted/src/assets/css/components/layout/home.scss b/nezha-fronted/src/assets/css/components/layout/home.scss
index e51c3ec60..81801740d 100644
--- a/nezha-fronted/src/assets/css/components/layout/home.scss
+++ b/nezha-fronted/src/assets/css/components/layout/home.scss
@@ -4,7 +4,7 @@
background-color: $--background-color-empty;
.body {
flex: 1;
- width: calc(100% - 252px);
+ width: calc(100% - 240px);
height: 100%;
display: flex;
flex-direction: column;
diff --git a/nezha-fronted/src/assets/css/components/layout/leftMenu.scss b/nezha-fronted/src/assets/css/components/layout/leftMenu.scss
index ae304a303..eb4edfc48 100644
--- a/nezha-fronted/src/assets/css/components/layout/leftMenu.scss
+++ b/nezha-fronted/src/assets/css/components/layout/leftMenu.scss
@@ -7,13 +7,14 @@
.el-menu-item .nz-icon, .el-submenu .nz-icon {
display: inline-block;
vertical-align: middle;
- margin-right: 5px;
+ margin-right: 4px;
width: 24px;
text-align: center;
font-size: 18px;
+ color: #BEBEBE;
}
>.el-menu:not(.el-menu--collapse) {
- width: 252px;
+ width: 240px;
}
>.el-menu.menu-list {
height: calc(100% - 110px);
@@ -31,20 +32,26 @@
}
.el-submenu.is-active:not(.is-opened)>.el-submenu__title{
border-left: 3px $--color-primary solid;
+ i {
+ color: $--color-primary;
+ }
}
.el-menu-item.is-active {
border-left: 3px $--color-primary solid;
+ i {
+ color: $--color-primary;
+ }
}
.el-menu-item, .el-submenu__title {
- height: 46px;
- line-height: 46px;
+ height: 36px;
+ line-height: 36px;
font-size: 14px;
position: relative;
border-left: 3px transparent solid;
}
.el-submenu__icon-arrow {
position: absolute;
- top: 26px;
+ top: 20px;
right: 20px;
}
@@ -75,7 +82,7 @@
>.el-menu.header-logo {
border-right: none;
>.el-menu-item {
- padding: 13px 0 0 18px !important;
+ padding: 12px 0 0 22px !important;
height: 50px;
border-right: 1px solid $--left-menu-background-color-base;
box-sizing: border-box;
@@ -86,16 +93,23 @@
box-sizing: border-box;
.system-name {
- padding-left: 5px;
+ padding-left: 8px;
color: white;
- font-size: 12px;
+ font-size: 14px;
letter-spacing: 0;
line-height: 28px;
- font-weight: 400;
+ font-weight: 600;
}
}
}
}
+
+ .secondMenu.el-menu-item, .secondMenu.el-submenu>.el-submenu__title {
+ padding-left: 52px !important;
+ }
+ .thirdMenu{
+ padding-left: 72px !important;
+ }
}
.el-menu--popup.el-menu--popup-right-start {
background-color: $--left-menu-background-color;
@@ -110,7 +124,7 @@
position: fixed;
bottom: 0px;
left: 0;
- width: 252px;
+ width: 240px;
height: 52px;
box-sizing: border-box;
padding: 6px 0;
@@ -123,7 +137,7 @@
span{
display: block;
white-space: nowrap;
- font-size: 13px;
+ font-size: 12px;
color: $--color-text-secondary;
}
}
@@ -139,11 +153,10 @@
}
.collapse-icon{
position: absolute;
- top: 4px;
+ top: 6px;
right: 8px;
- font-size: 16px;
+ font-size: 20px;
color: $--color-text-secondary;
- transform: rotate(90deg);
}
&.isCollapse-btn{
width: 64px;
@@ -152,7 +165,7 @@
right: 0;
margin: auto;
text-align: center;
- transform: rotate(-90deg);
+ transform: rotateY(180deg);
}
}
}
diff --git a/nezha-fronted/src/assets/css/components/page/dashboard/panel.scss b/nezha-fronted/src/assets/css/components/page/dashboard/panel.scss
index 6a5c78fce..4b4a92b5b 100644
--- a/nezha-fronted/src/assets/css/components/page/dashboard/panel.scss
+++ b/nezha-fronted/src/assets/css/components/page/dashboard/panel.scss
@@ -142,7 +142,7 @@
/* end-chart list*/
.panel-loading {
position: fixed;
- left: 252px;
+ left: 240px;
top: 59px;
height: 100%;
width: 100%;
diff --git a/nezha-fronted/src/assets/img/logo.svg b/nezha-fronted/src/assets/img/logo.svg
new file mode 100644
index 000000000..59bffee66
--- /dev/null
+++ b/nezha-fronted/src/assets/img/logo.svg
@@ -0,0 +1,11 @@
+
+
\ No newline at end of file
diff --git a/nezha-fronted/src/components/layout/header.vue b/nezha-fronted/src/components/layout/header.vue
index e3467ef0a..1d627a3c8 100644
--- a/nezha-fronted/src/components/layout/header.vue
+++ b/nezha-fronted/src/components/layout/header.vue
@@ -12,7 +12,7 @@
-
+