You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/11/09 02:00:16 UTC
(incubator-devlake) branch fix-menu-item-actived-style created (now a204393fe)
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a change to branch fix-menu-item-actived-style
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at a204393fe fix(config-ui): improve the style for menu item actived
This branch includes the following new commits:
new a204393fe fix(config-ui): improve the style for menu item actived
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 01/01: fix(config-ui): improve the style for menu item actived
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch fix-menu-item-actived-style
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit a204393fe531fcbad302790d22b6584e60dbc7b9
Author: mintsweet <0x...@gmail.com>
AuthorDate: Thu Nov 9 15:00:03 2023 +1300
fix(config-ui): improve the style for menu item actived
---
config-ui/src/routes/layout/styled.ts | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/config-ui/src/routes/layout/styled.ts b/config-ui/src/routes/layout/styled.ts
index f96441690..b6726a7ad 100644
--- a/config-ui/src/routes/layout/styled.ts
+++ b/config-ui/src/routes/layout/styled.ts
@@ -49,8 +49,13 @@ export const Sider = styled.div`
outline: none;
cursor: pointer;
- &:hover {
- background-color: rgba(167, 182, 194, 0.3);
+ &.bp5-active {
+ color: #fff;
+ background-color: #7497f7;
+
+ .bp5-menu-item-icon {
+ color: #fff;
+ }
}
.bp5-icon {