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