1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix Deploy menu focus style

This commit is contained in:
Nick O'Leary 2019-05-21 15:26:15 +01:00
parent 78aeb94917
commit 5cb888328e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 7 additions and 3 deletions

View File

@ -43,7 +43,8 @@
overflow: hidden; overflow: hidden;
background-color: $menuDivider; background-color: $menuDivider;
} }
& > li > a { & > li > a,
& > li > a:focus {
display: block; display: block;
padding: 4px 0 4px 32px; padding: 4px 0 4px 32px;
clear: both; clear: both;
@ -51,6 +52,7 @@
line-height: 20px; line-height: 20px;
color: $menuColor; color: $menuColor;
white-space: normal !important; white-space: normal !important;
outline: none;
} }
& > .active > a, & > .active > a,

View File

@ -219,6 +219,8 @@
text-indent: 0px; text-indent: 0px;
} }
} }
> li > a:hover,
> li > a:focus,
> li:hover > a, > li:hover > a,
> li:focus > a { > li:focus > a {
background: $header-menu-item-hover !important; background: $header-menu-item-hover !important;
@ -229,8 +231,8 @@
li.disabled a { li.disabled a {
color: $header-menu-color-disabled; color: $header-menu-color-disabled;
} }
> li.disabled:hover > a, > li.disabled > a:hover,
> li.disabled:focus > a { > li.disabled > a:focus {
background: none !important; background: none !important;
} }
} }