From 0e4ececa6aba68f6484fefaae8ab85153d177bf8 Mon Sep 17 00:00:00 2001 From: Gabriel Dutra Date: Thu, 31 Oct 2019 17:56:50 -0300 Subject: [PATCH] Use black instead of blue color for active item --- client/app/components/SettingsWrapper.jsx | 3 ++- client/app/components/SettingsWrapper.less | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 client/app/components/SettingsWrapper.less diff --git a/client/app/components/SettingsWrapper.jsx b/client/app/components/SettingsWrapper.jsx index 592dd6fff8..435aae0223 100644 --- a/client/app/components/SettingsWrapper.jsx +++ b/client/app/components/SettingsWrapper.jsx @@ -4,6 +4,7 @@ import { PageHeader } from '@/components/PageHeader'; import { $location } from '@/services/ng'; import settingsMenu from '@/services/settingsMenu'; +import './SettingsWrapper.less'; function wrapSettingsTab(options, WrappedComponent) { if (options) { @@ -17,7 +18,7 @@ function wrapSettingsTab(options, WrappedComponent) {
- + {settingsMenu.items.map(item => ( {item.title} ))} diff --git a/client/app/components/SettingsWrapper.less b/client/app/components/SettingsWrapper.less new file mode 100644 index 0000000000..5f5dc12192 --- /dev/null +++ b/client/app/components/SettingsWrapper.less @@ -0,0 +1,17 @@ +@import '~antd/lib/menu/style/index'; + +.settings-screen { + .@{menu-prefix-cls} { + &-item > a:hover { + color: black !important; + } + + &-item-selected { + color: black !important; + > a, + > a:hover { + color: black !important; + } + } + } +} \ No newline at end of file