diff --git src/wp-admin/css/admin-menu.css src/wp-admin/css/admin-menu.css
index dd333f7..5c0728a 100644
|
|
|
175 | 175 | } |
176 | 176 | |
177 | 177 | #adminmenu a:hover, |
178 | | #adminmenu li.menu-top > a:focus, |
179 | | #adminmenu .wp-submenu a:hover, |
180 | | #adminmenu .wp-submenu a:focus { |
| 178 | #adminmenu .wp-submenu a:hover { |
181 | 179 | color: #2ea2cc; |
182 | 180 | } |
| 181 | #adminmenu li.menu-top > a:focus { |
| 182 | color: white; |
| 183 | background-color: #0074a2; |
| 184 | } |
| 185 | #adminmenu .wp-submenu a:focus { |
| 186 | color: white; |
| 187 | background-color: #0074a2; |
| 188 | } |
183 | 189 | |
184 | 190 | #adminmenu li.menu-top { |
185 | 191 | border: none; |
… |
… |
|
233 | 239 | |
234 | 240 | /* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ |
235 | 241 | #adminmenu li.menu-top:hover, |
236 | | #adminmenu li.opensub > a.menu-top, |
237 | | #adminmenu li > a.menu-top:focus { |
| 242 | #adminmenu li.opensub > a.menu-top { |
238 | 243 | position: relative; |
239 | 244 | background-color: #111; |
240 | 245 | } |
| 246 | #adminmenu li > a.menu-top:focus { |
| 247 | position: relative; |
| 248 | background-color: #0074a2; |
| 249 | z-index: 10000; |
| 250 | } |
241 | 251 | |
242 | 252 | .folded #adminmenu li.menu-top:hover, |
243 | 253 | .folded #adminmenu li.opensub > a.menu-top, |
… |
… |
div.wp-menu-image:before { |
378 | 388 | #adminmenu li:hover div.wp-menu-image:before { |
379 | 389 | color: #2ea2cc; |
380 | 390 | } |
| 391 | #adminmenu li > a.menu-top:focus div.wp-menu-image:before { |
| 392 | color: white; |
| 393 | } |
381 | 394 | |
382 | 395 | .folded #adminmenu div.wp-menu-image { |
383 | 396 | width: 35px; |
… |
… |
ul#adminmenu > li.current > a.current:after { |
457 | 470 | z-index: 10000; |
458 | 471 | } |
459 | 472 | |
| 473 | #adminmenu li a.wp-has-submenu.wp-not-current-submenu:focus:after, |
| 474 | #adminmenu li.opensub a.wp-has-submenu.wp-not-current-submenu:after { |
| 475 | right: 0; |
| 476 | border: solid transparent; |
| 477 | content: " "; |
| 478 | height: 0; |
| 479 | width: 0; |
| 480 | position: absolute; |
| 481 | pointer-events: none; |
| 482 | border-width: 8px; |
| 483 | top: 10px; |
| 484 | z-index: 10000; |
| 485 | border-right-color: #333; |
| 486 | } |
| 487 | |
460 | 488 | .folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after { |
461 | 489 | border-width: 4px; |
462 | 490 | margin-top: -4px; |
diff --git src/wp-admin/css/colors/_admin.scss src/wp-admin/css/colors/_admin.scss
index 032e3a0..6eb360c 100644
|
|
strong .post-com-count span { |
180 | 180 | #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { |
181 | 181 | color: $menu-submenu-text; |
182 | 182 | |
183 | | &:focus, &:hover { |
| 183 | &:hover { |
184 | 184 | color: $menu-submenu-focus-text; |
185 | 185 | } |
| 186 | &:focus { |
| 187 | color: white; |
| 188 | background-color: $menu-submenu-focus-text; |
| 189 | } |
186 | 190 | } |
187 | 191 | |
| 192 | #adminmenu li a.wp-has-submenu.wp-not-current-submenu:focus:after { |
| 193 | border-right-color: $menu-submenu-background; |
| 194 | } |
188 | 195 | |
189 | 196 | /* Admin Menu: current */ |
190 | 197 | |