diff --git a/nezha-fronted/src/assets/css/common.scss b/nezha-fronted/src/assets/css/common.scss
index d28dea540..aae8c34f0 100644
--- a/nezha-fronted/src/assets/css/common.scss
+++ b/nezha-fronted/src/assets/css/common.scss
@@ -110,6 +110,9 @@
.color23bf9a {
color: #23bf9a;
}
+.color969dea{
+ color: #969dea;
+}
.bgFFECD9{
background: $--color-primary !important;
}
diff --git a/nezha-fronted/src/assets/css/components/charts/chart-list.scss b/nezha-fronted/src/assets/css/components/charts/chart-list.scss
index 2f15e32a6..6488f8216 100644
--- a/nezha-fronted/src/assets/css/components/charts/chart-list.scss
+++ b/nezha-fronted/src/assets/css/components/charts/chart-list.scss
@@ -1,11 +1,11 @@
.charts__chart-list {
.chartBox {
- float:left;
+ float: left;
padding: 0 10px 10px 0;
- position:relative;
+ position: relative;
box-sizing: border-box;
}
- .no-data{
+ .no-data {
height: 1189px;
width: 100%;
position: relative;
@@ -26,13 +26,24 @@
font-weight: 400;
margin-left: -29px;
top: 52.5%;
- left: 50%
+ left: 50%;
}
}
- .list-width{
+ .list-width {
width: 100%;
padding: 0 10px 5px 10px;
box-sizing: border-box;
- overflow: hidden;/*避免鼠标第一次放到曲线时,x轴出现滚动条后消失*/
+ overflow: hidden; /*避免鼠标第一次放到曲线时,x轴出现滚动条后消失*/
+ }
+}
+.chart-list {
+ flex: 1;
+ height: auto !important;
+ width: 100%;
+ border-top: 1px solid transparent;
+ box-sizing: border-box;
+
+ .group-hide-header {
+ height: 40px !important;
}
}
diff --git a/nezha-fronted/src/assets/css/components/cli/webSSH.scss b/nezha-fronted/src/assets/css/components/cli/webSSH.scss
index 0b0ff2446..af98eb48f 100644
--- a/nezha-fronted/src/assets/css/components/cli/webSSH.scss
+++ b/nezha-fronted/src/assets/css/components/cli/webSSH.scss
@@ -334,3 +334,10 @@ div.sp-header{
background: #101010;
box-shadow: 0 1px 0 0 #303030;
}
+.console{
+ height: 100%;
+ // height:270px;
+ padding:5px 5px;
+ background-color: black;
+ position: relative;
+}
diff --git a/nezha-fronted/src/assets/css/components/common/login.scss b/nezha-fronted/src/assets/css/components/common/login.scss
index a7c6d5b13..dff8043bc 100644
--- a/nezha-fronted/src/assets/css/components/common/login.scss
+++ b/nezha-fronted/src/assets/css/components/common/login.scss
@@ -1,4 +1,11 @@
.login {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ position: relative;
+ background-image: url("../../assets/img/login-background.png");
+ background-size: cover;
.model {
height: 100%;
width: 100%;
@@ -362,3 +369,140 @@
border-color: $--border-color-light;
}
}
+.license-upload .el-upload-list{
+ display: none;
+}
+.cls-1{
+ fill: #150F29;
+}
+.cls-2{
+ fill: #201B33;
+}
+.star-cloud{
+ width: 70%;
+ height: 70%;
+ position: absolute;
+ opacity: 0.9;
+}
+.star-cloud1{
+ right: 0;
+ top: 0;
+ transform: translate(40%, -50%);
+}
+.star-cloud2{
+ left: 5%;
+ bottom: 0;
+ transform: translate(-60%, -10%);
+ width: 60%;
+ height: 60%;
+}
+.star-cloud3{
+ right: 0;
+ bottom: 0;
+ transform: translate(50%, 15%);
+}
+.constellation{
+ position: absolute;
+ transform-origin: 0 0;
+ /*transition: all 0.95s linear;*/
+ -webkit-animation: constellationAnimat var(--twinkle-duration) ease-in-out infinite;
+ animation: constellationAnimat var(--twinkle-duration) ease-in-out infinite;
+}
+.constellation1 {
+ -webkit-animation-delay: -1s;
+ animation-delay: -1s;
+}
+.constellation2 {
+ -webkit-animation-delay: -2s;
+ animation-delay: -2s;
+}
+.constellation3 {
+ -webkit-animation-delay: -3s;
+ animation-delay: -3s;
+}
+.constellation4 {
+ -webkit-animation-delay: -4s;
+ animation-delay: -4s;
+}
+:root {
+ --twinkle-duration: 4s;
+}
+.stars-wrapper {
+ position: absolute;
+ pointer-events: none;
+ width: 100vw;
+ height: 100vh;
+ /*background: -webkit-gradient(linear, left top, left bottom, from(#16161d), to(#07011D));*/
+ background: #07011D;
+ overflow: hidden;
+ z-index: 1;
+}
+.stars0,
+.stars1,
+.stars2,
+.stars3{
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ -webkit-animation: twinkle var(--twinkle-duration) ease-in-out infinite;
+ animation: twinkle var(--twinkle-duration) ease-in-out infinite;
+ z-index: 1;
+}
+.stars1 {
+ -webkit-animation-delay: -1s;
+ animation-delay: -1s;
+}
+.stars2 {
+ -webkit-animation-delay: -2s;
+ animation-delay: -2s;
+}
+.stars3 {
+ -webkit-animation-delay: -3s;
+ animation-delay: -3s;
+}
+@-webkit-keyframes twinkle {
+ 25% {
+ opacity: 0;
+ }
+}
+@keyframes twinkle {
+ 25% {
+ opacity: 0;
+ }
+}
+@-webkit-keyframes constellationAnimat {
+ 25% {
+ opacity: 0.5;
+ }
+}
+@keyframes constellationAnimat {
+ 25%{
+ opacity: 0.7;
+ }
+ /*50%{*/
+ /* opacity: 1;*/
+ /*}*/
+ /*75%{*/
+ /* opacity: 0.5;*/
+ /*}*/
+ /*100%{*/
+ /* opacity: 1;*/
+ /*}*/
+}
+.star {
+ fill: white;
+}
+.star:nth-child(3n) {
+ opacity: 0.8;
+}
+.star:nth-child(7n) {
+ opacity: 0.6;
+}
+.star:nth-child(13n) {
+ opacity: 0.4;
+}
+.star:nth-child(19n) {
+ opacity: 0.2;
+}
diff --git a/nezha-fronted/src/assets/css/components/common/table/settings/endpointTable.scss b/nezha-fronted/src/assets/css/components/common/table/settings/endpointTable.scss
new file mode 100644
index 000000000..32dfe238f
--- /dev/null
+++ b/nezha-fronted/src/assets/css/components/common/table/settings/endpointTable.scss
@@ -0,0 +1,54 @@
+#endpointTable {
+ .bagEF7458 {
+ background: #ef7458;
+ color: #fff;
+ }
+ .bag23BF9A {
+ background: #23bf9a;
+ color: #fff;
+ }
+ .configs-endpoint {
+ border-radius: 4px;
+ padding: 2px 7px;
+ color: #3c92f1;
+ position: relative;
+ display: inline-block;
+ cursor: pointer;
+ }
+ .configs-endpoint.metrics {
+ color: #3c92f1;
+ }
+ .configs-endpoint.logs {
+ color: #25bf9a;
+ }
+ .colorEF7458 {
+ color: #ef7458;
+ }
+ .color23BF9A {
+ color: #23bf9a;
+ }
+ .inline-block {
+ display: inline-block;
+ }
+ .pointer {
+ cursor: pointer;
+ }
+ .endpoint-cell-left {
+ margin-right: 5px;
+ }
+ .copy-value-content {
+ position: absolute;
+ right: 8px;
+ top: 4px;
+ }
+ .alert-label__border.alert-label {
+ width: auto !important;
+ }
+ .copy-value-content__pre {
+ width: auto;
+ height: 200px;
+ margin-top: 20px;
+ overflow-y: scroll;
+ overflow-x: scroll;
+ }
+}
diff --git a/nezha-fronted/src/assets/css/components/common/table/settings/userTable.scss b/nezha-fronted/src/assets/css/components/common/table/settings/userTable.scss
index 87b8b580a..ea5550fc2 100644
--- a/nezha-fronted/src/assets/css/components/common/table/settings/userTable.scss
+++ b/nezha-fronted/src/assets/css/components/common/table/settings/userTable.scss
@@ -40,4 +40,7 @@
color: #38cc20;
}
}
+ .endpoint-num, .alert-num{
+ cursor: pointer;
+ }
}
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 486af40eb..5cdd149ea 100644
--- a/nezha-fronted/src/assets/css/components/page/dashboard/panel.scss
+++ b/nezha-fronted/src/assets/css/components/page/dashboard/panel.scss
@@ -37,6 +37,17 @@
}
}
}
+ .view-mode{
+ margin-right: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ .view-mode .el-icon-monitor{
+ display: flex;
+ align-items: center;
+ font-size: 20px;
+ }
}
.panel {
diff --git a/nezha-fronted/src/components/chart/chartList.vue b/nezha-fronted/src/components/chart/chartList.vue
index 7b27c7bac..432d08f22 100644
--- a/nezha-fronted/src/components/chart/chartList.vue
+++ b/nezha-fronted/src/components/chart/chartList.vue
@@ -863,15 +863,3 @@ export default {
}
-
diff --git a/nezha-fronted/src/components/cli/console.vue b/nezha-fronted/src/components/cli/console.vue
index 5ec6a1260..8d07e1758 100644
--- a/nezha-fronted/src/components/cli/console.vue
+++ b/nezha-fronted/src/components/cli/console.vue
@@ -1,11 +1,3 @@
-