From 48d21422d74b6b95f795b26731248799de2e7302 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 24 Mar 2020 11:28:56 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E6=9C=89=E8=B4=A7=E5=B7=A6=E4=BE=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Hamburger/index.vue | 12 ++++++------ src/icons/svg/bars-solid.svg | 1 - src/icons/svg/check-square-o.svg | 1 - src/styles/index.scss | 2 +- src/styles/menu.scss | 20 ++++++++++++++++++-- 5 files changed, 25 insertions(+), 11 deletions(-) delete mode 100644 src/icons/svg/bars-solid.svg delete mode 100644 src/icons/svg/check-square-o.svg diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 88674ce4c..56c433803 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -1,6 +1,8 @@ @@ -23,13 +25,11 @@ export default { diff --git a/src/icons/svg/bars-solid.svg b/src/icons/svg/bars-solid.svg deleted file mode 100644 index 8a8b715c9..000000000 --- a/src/icons/svg/bars-solid.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/check-square-o.svg b/src/icons/svg/check-square-o.svg deleted file mode 100644 index e0f184fa1..000000000 --- a/src/icons/svg/check-square-o.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index 705d65817..ec388328e 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -10,7 +10,7 @@ body { height: 100%; -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; + -webkit-font-smoothing: auto; text-rendering: optimizeLegibility; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; } diff --git a/src/styles/menu.scss b/src/styles/menu.scss index 508ee29a3..589eeade4 100644 --- a/src/styles/menu.scss +++ b/src/styles/menu.scss @@ -3,7 +3,7 @@ font-weight: 600; } -.el-menu i.fa { +.el-menu i.fa { width: 14px; margin-right: 10px; } @@ -24,7 +24,23 @@ line-height: 46px; } -li.is-opened{ +.el-menu-item:hover, .el-menu-item:focus { + color: white; +} + +.el-menu--collapse.el-menu .fa { + padding: 14px 20px 14px 20px; +} + +.navbar li.is-active { + border: none; +} + +.nest-menu li.is-active { + border: none; +} + +li.is-opened, li.is-active { border-left: 4px solid #19aa8d; }