Skip to content

Commit 7810d0b

Browse files
author
Natalia Momotenko
committed
MAGETWO-35986: [UI] Admin Menu Logo. Focus state appearing on click event
1 parent 0f1d324 commit 7810d0b

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/_menu.less

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,18 @@
7373
position: relative;
7474
text-align: center;
7575
z-index: @menu__z-index;
76-
&:focus {
77-
background-color: @menu-item__active__background-color;
78-
box-shadow: none;
79-
+ .admin__menu {
80-
.level-0 {
81-
&:first-child {
82-
> a {
83-
background-color: @menu__background-color;
84-
&:after {
85-
display: none;
76+
._keyfocus & {
77+
&:focus {
78+
background-color: @menu-item__active__background-color;
79+
box-shadow: none;
80+
+ .admin__menu {
81+
.level-0 {
82+
&:first-child {
83+
> a {
84+
background-color: @menu__background-color;
85+
&:after {
86+
display: none;
87+
}
8688
}
8789
}
8890
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"grunt-contrib-watch": "^0.6.1",
2222
"grunt-exec": "^0.4.6",
2323
"grunt-styledocco": "^0.1.4",
24-
"grunt-template-jasmine-requirejs": "^0.2.0",
24+
"grunt-template-jasmine-requirejs": "^0.2.3",
2525
"grunt-text-replace": "^0.4.0",
2626
"imagemin-svgo": "^4.0.1",
2727
"load-grunt-config": "^0.16.0",

0 commit comments

Comments
 (0)