diff --git a/nezha-fronted/src/assets/css/common/tableCommon.scss b/nezha-fronted/src/assets/css/common/tableCommon.scss index 9d9d4f978..a8900510f 100644 --- a/nezha-fronted/src/assets/css/common/tableCommon.scss +++ b/nezha-fronted/src/assets/css/common/tableCommon.scss @@ -76,12 +76,17 @@ color: $--button-gray-color; } } + .top-tool-btn.top-tool-btn--text { + padding: 0 8px; + width: unset; + color: #666; + } .top-tool-btn:hover:not(.nz-btn-disabled) { background-color: $--button-gray-hover-background-color; } - .top-tool-btn:focus:not(.nz-btn-disabled) { + .top-tool-btn:focus:not(.nz-btn-disabled), .top-tool-btn.is-focus { background-color: $--button-gray-hover-background-color; - border-color: #FBCEA4; + border: 1px solid #FBCEA4 !important; i { color: $--button-gray-active-color; } diff --git a/nezha-fronted/src/assets/css/main.scss b/nezha-fronted/src/assets/css/main.scss index 599f0d77e..29d2f18d9 100644 --- a/nezha-fronted/src/assets/css/main.scss +++ b/nezha-fronted/src/assets/css/main.scss @@ -2,4 +2,5 @@ @import './theme.scss'; @import './common.scss'; @import '../stylus/index.scss'; +@import './common/tableCommon.scss'; @import './common/rightBoxCommon.scss'; diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index 336820f7f..db8182056 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -359,11 +359,9 @@ li{ font-weight: 500; white-space: nowrap; } -.nz-btn.nz-btn-disabled { +.nz-btn-disabled { background-image: none; - color: #e5e5e5; - background-color: #ffffff; - border-color: #e5e5e5 ; + opacity: .6; cursor: default; } .nz-btn-group { diff --git a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue index 84942c425..0c0ee6476 100644 --- a/nezha-fronted/src/components/common/bottomBox/bottomBox.vue +++ b/nezha-fronted/src/components/common/bottomBox/bottomBox.vue @@ -32,10 +32,9 @@ - - - - + + + @@ -110,6 +109,19 @@ export default { return { fromRoute: fromRoute, tabs: { + terminalLog: { + monitor: [ + { prop: 'monitorTab', name: this.$t('config.terminallog.monitor.monitor'), active: true } + ], + cmd: [ + { prop: 'cmdTab', name: this.$t('config.terminallog.cmd.cmd'), active: true }, + { prop: 'recordTab', name: this.$t('config.terminallog.record.record'), active: false } + ], + record: [ + { prop: 'cmdTab', name: this.$t('config.terminallog.cmd.cmd'), active: false }, + { prop: 'recordTab', name: this.$t('config.terminallog.record.record'), active: true } + ] + }, user: { operationLog: [ { prop: 'operationLogTab', name: this.$t('config.operationlog.operationlog'), active: true }, @@ -202,3 +214,100 @@ export default { } } + diff --git a/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue b/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue index 1f253f021..b80e04358 100644 --- a/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue +++ b/nezha-fronted/src/components/common/bottomBox/nzBottomDataList.vue @@ -22,9 +22,9 @@ - + - - diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/modelTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/modelTab.vue index 042b959d3..3cbdbefb4 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/modelTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/modelTab.vue @@ -103,7 +103,6 @@ export default { @@ -2470,8 +2468,6 @@ export default { .project-box { width: 100%; - height: calc(100% - 20px); - margin-top: 10px; position: relative; border-radius: 2px; overflow: hidden; diff --git a/nezha-fronted/src/components/common/project/topologyPrev.vue b/nezha-fronted/src/components/common/project/topologyPrev.vue index 82ef0ceab..294c94366 100644 --- a/nezha-fronted/src/components/common/project/topologyPrev.vue +++ b/nezha-fronted/src/components/common/project/topologyPrev.vue @@ -113,12 +113,12 @@
{{topologyInfo.name}}
- -