From 28e7adb708bf2c89d3c5b0c60542d7af5daf41df Mon Sep 17 00:00:00 2001 From: wynn Date: Thu, 18 Apr 2019 14:42:03 +0800 Subject: [PATCH] 添加注释 --- src/styles/components/menu.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/styles/components/menu.less b/src/styles/components/menu.less index d2e5890..0b67f70 100644 --- a/src/styles/components/menu.less +++ b/src/styles/components/menu.less @@ -96,6 +96,7 @@ border-bottom: 2px solid transparent; color: @text-color; &-active, &:hover{ + /*wynn*/ color: @mew-common-color; border-bottom: 2px solid @mew-common-color; } @@ -154,6 +155,7 @@ transition: all @transition-time @ease-in-out; &:hover{ + /*wynn*/ //background: @background-color-select-hover; color: @mew-common-color; } @@ -204,6 +206,7 @@ &-light&-vertical &-item{ //border-right: 2px solid transparent; &-active:not(.@{menu-prefix-cls}-submenu){ + /*wynn*/ color: @mew-common-color; background: ~`colorPalette("@{mew-common-color}", 1)`; //border-right: 2px solid @primary-color; @@ -216,12 +219,13 @@ top: 0; bottom: 0; right: 0; - background: @mew-common-color; + background: @mew-common-color;/*wynn*/ } } } &-dark&-vertical &-item, &-dark&-vertical &-submenu-title{ + /*wynn*/ color: @mew-black-color; &-active:not(.@{menu-prefix-cls}-submenu), &-active:not(.@{menu-prefix-cls}-submenu):hover @@ -229,16 +233,19 @@ background: #fff; } &:hover{ + /*wynn*/ color: @mew-common-color !important; background: @menu-dark-title; } &-active:not(.@{menu-prefix-cls}-submenu){ + /*wynn*/ color: @mew-common-color; //border-right: 2px solid @primary-color; } } &-dark&-vertical &-submenu &-item{ &:hover{ + /*wynn*/ color: @mew-black-color; background: transparent !important; } @@ -252,6 +259,7 @@ // color: #fff; // } &-dark&-vertical &-child-item-active > &-submenu-title{ + /*wynn*/ color: @mew-black-color; } -- libgit2 0.21.4