diff --git a/nezha-fronted/src/assets/stylus/index.scss b/nezha-fronted/src/assets/stylus/index.scss index 8eaa4121a..d23a44af9 100644 --- a/nezha-fronted/src/assets/stylus/index.scss +++ b/nezha-fronted/src/assets/stylus/index.scss @@ -1,19 +1,5 @@ -// 主题色 -$color-red: #ff3333; -$color-purple: #ff33a9; -$color-orange: #ff8833; -$color-blue: #3377ff; +$global-text-color-active: #ee9d3f; // 全局文字active字色 +$header-text-color: #fff; // header默认字色 +$header-text-color-hover: #444; //header hover字色 -// 文字色 -$color-black: #000; -$color-dark: #333; -$color-deep: #555; -$color-pl: #999999; -$color-weak: #B3B3B3; -$color-white: #fff; - -// 背景色 -$bg-bar: #F9F9F9; -$bg-page: #F3F3F3; -$bg-page-light: #F9F9F9; -@import './reset.scss'; +@import './main.scss'; diff --git a/nezha-fronted/src/assets/css/main.css b/nezha-fronted/src/assets/stylus/main.scss similarity index 100% rename from nezha-fronted/src/assets/css/main.css rename to nezha-fronted/src/assets/stylus/main.scss diff --git a/nezha-fronted/src/assets/stylus/reset.scss b/nezha-fronted/src/assets/stylus/reset.scss deleted file mode 100644 index 9e62d2af0..000000000 --- a/nezha-fronted/src/assets/stylus/reset.scss +++ /dev/null @@ -1 +0,0 @@ -.bg-red {background-color: $color-purple!important;} diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 1041b229e..308ab71ad 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -1,216 +1,111 @@ - - - - - - - {{$t('overall.create')}} - - - - - - {{item.label}} - - - - - - - {{$t('overall.dashboard')}} - - - {{$t('dashboard.panel.title')}} - - - {{$t('dashboard.metricPreview.title')}} - - - - - - {{$t('overall.project')}} - - - - - {{item.name}} - - - - - - - - {{$t('overall.asset')}} - - - - - {{item.name}} - - - - - - - - - - - - - - - {{$t('overall.alert')}} - - - {{$t('alert.alertList')}} - - - {{$t('alert.alertConfig')}} - - - - - {{$t('overall.config')}} - - - {{$t('config.account.account')}} - - - {{$t('config.promServer.promServerList')}} - - - - - - - - - - {{username}} - - - English - - - 中文 - - - - - - {{$t('overall.signOut')}} - - - - - + + + + + + + + + {{$t('overall.alert')}} + + + {{$t('alert.alertList')}} + + + {{$t('alert.alertConfig')}} + + + + + {{$t('overall.config')}} + + + {{$t('config.account.account')}} + + + {{$t('config.promServer.promServerList')}} + + + + + {{username}} + + + English + + + 中文 + + + + + + {{$t('overall.signOut')}} + + + + @@ -498,7 +393,34 @@ } -