From 93c86880bb21f913891aaed556e4fc6f390a18d0 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Sun, 28 Jun 2020 18:57:31 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E5=88=A0=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99css=E4=BB=A3=E7=A0=81=EF=BC=8C=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E9=BB=91=E7=AA=97=E5=8F=A3=E5=AD=97=E4=BD=93=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart.scss | 18 ------------------ nezha-fronted/src/components/cli/webSSH.scss | 3 +++ nezha-fronted/src/components/cli/webSSH.vue | 9 ++++++--- 3 files changed, 9 insertions(+), 21 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart.scss b/nezha-fronted/src/components/charts/chart.scss index 30cca2458..2af205838 100644 --- a/nezha-fronted/src/components/charts/chart.scss +++ b/nezha-fronted/src/components/charts/chart.scss @@ -35,24 +35,6 @@ position: absolute; padding-bottom:3px; } -.more{ - width: 100%; - font-size: 12px; - line-height: 1; - height: 14px; - color: #52545c; - text-align: center; - padding-top:5px ; - .el-icon-warning{ - font-size: 14px; - color: #e6a23c; - margin-right: 3px; - } - .moreClick{ - color: rgb(87, 148, 242); - cursor: pointer; - } -} .nz-icon-warning{ color: #e6a23c; } diff --git a/nezha-fronted/src/components/cli/webSSH.scss b/nezha-fronted/src/components/cli/webSSH.scss index 2230a3f2c..a7df2be97 100644 --- a/nezha-fronted/src/components/cli/webSSH.scss +++ b/nezha-fronted/src/components/cli/webSSH.scss @@ -145,6 +145,9 @@ .fontSet{ margin-left: 5px; } +.el-menu--horizontal .el-menu .el-menu-item.menuActive{ + color: #303133; +} .smallFont{ font-size: 12px; } diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index 7f2fc6385..5c0211ef3 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -11,9 +11,9 @@ - A - A - A + A + A + A @@ -199,6 +199,8 @@ downloadFile:{path: '',uuid: ''}, downloadFileList:[], downloadResult:null, + // 字体大小 + fontSize:15, } }, methods: { @@ -573,6 +575,7 @@ //改变黑窗口字体大小 changeFontSize(fontSize){ // this.$refs['console'+this.index].setFontSize(fontSize); + this.fontSize=fontSize; this.editableTabs.forEach((tab, index) => { this.$refs['console'+index][0].setFontSize(fontSize); });