Compare View

switch
from
...
to
 
Commits (2)
src/styles/components/menu.less
@@ -96,6 +96,7 @@ @@ -96,6 +96,7 @@
96 border-bottom: 2px solid transparent; 96 border-bottom: 2px solid transparent;
97 color: @text-color; 97 color: @text-color;
98 &-active, &:hover{ 98 &-active, &:hover{
  99 + /*wynn*/
99 color: @mew-common-color; 100 color: @mew-common-color;
100 border-bottom: 2px solid @mew-common-color; 101 border-bottom: 2px solid @mew-common-color;
101 } 102 }
@@ -154,6 +155,7 @@ @@ -154,6 +155,7 @@
154 transition: all @transition-time @ease-in-out; 155 transition: all @transition-time @ease-in-out;
155 156
156 &:hover{ 157 &:hover{
  158 + /*wynn*/
157 //background: @background-color-select-hover; 159 //background: @background-color-select-hover;
158 color: @mew-common-color; 160 color: @mew-common-color;
159 } 161 }
@@ -204,6 +206,7 @@ @@ -204,6 +206,7 @@
204 &-light&-vertical &-item{ 206 &-light&-vertical &-item{
205 //border-right: 2px solid transparent; 207 //border-right: 2px solid transparent;
206 &-active:not(.@{menu-prefix-cls}-submenu){ 208 &-active:not(.@{menu-prefix-cls}-submenu){
  209 + /*wynn*/
207 color: @mew-common-color; 210 color: @mew-common-color;
208 background: ~`colorPalette("@{mew-common-color}", 1)`; 211 background: ~`colorPalette("@{mew-common-color}", 1)`;
209 //border-right: 2px solid @primary-color; 212 //border-right: 2px solid @primary-color;
@@ -216,12 +219,13 @@ @@ -216,12 +219,13 @@
216 top: 0; 219 top: 0;
217 bottom: 0; 220 bottom: 0;
218 right: 0; 221 right: 0;
219 - background: @mew-common-color; 222 + background: @mew-common-color;/*wynn*/
220 } 223 }
221 } 224 }
222 } 225 }
223 226
224 &-dark&-vertical &-item, &-dark&-vertical &-submenu-title{ 227 &-dark&-vertical &-item, &-dark&-vertical &-submenu-title{
  228 + /*wynn*/
225 color: @mew-black-color; 229 color: @mew-black-color;
226 &-active:not(.@{menu-prefix-cls}-submenu), 230 &-active:not(.@{menu-prefix-cls}-submenu),
227 &-active:not(.@{menu-prefix-cls}-submenu):hover 231 &-active:not(.@{menu-prefix-cls}-submenu):hover
@@ -229,16 +233,19 @@ @@ -229,16 +233,19 @@
229 background: #fff; 233 background: #fff;
230 } 234 }
231 &:hover{ 235 &:hover{
  236 + /*wynn*/
232 color: @mew-common-color !important; 237 color: @mew-common-color !important;
233 background: @menu-dark-title; 238 background: @menu-dark-title;
234 } 239 }
235 &-active:not(.@{menu-prefix-cls}-submenu){ 240 &-active:not(.@{menu-prefix-cls}-submenu){
  241 + /*wynn*/
236 color: @mew-common-color; 242 color: @mew-common-color;
237 //border-right: 2px solid @primary-color; 243 //border-right: 2px solid @primary-color;
238 } 244 }
239 } 245 }
240 &-dark&-vertical &-submenu &-item{ 246 &-dark&-vertical &-submenu &-item{
241 &:hover{ 247 &:hover{
  248 + /*wynn*/
242 color: @mew-black-color; 249 color: @mew-black-color;
243 background: transparent !important; 250 background: transparent !important;
244 } 251 }
@@ -252,6 +259,7 @@ @@ -252,6 +259,7 @@
252 // color: #fff; 259 // color: #fff;
253 // } 260 // }
254 &-dark&-vertical &-child-item-active > &-submenu-title{ 261 &-dark&-vertical &-child-item-active > &-submenu-title{
  262 + /*wynn*/
255 color: @mew-black-color; 263 color: @mew-black-color;
256 } 264 }
257 265