Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #32579, comment 2


Ignore:
Timestamp:
06/08/2015 11:21:29 AM (10 years ago)
Author:
Bueltge
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32579, comment 2

    v2 v3  
    33But is it also a difference on the box-shadow. The box-shadow is missed on focus, hover for a active item of the menu. This difference was clear for me. But I don't know what is the goal, with or without box-shadow. Currently is not always the same. Maybe a topic for new ticket? This topic here was solved, but leave a open new topic.
    44
     5The source is in `wp-admin/css/admin-menu.css`.
     6
     7
     8{{{
     9#adminmenu .wp-submenu,
     10.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
     11.folded #adminmenu .wp-has-current-submenu .wp-submenu {
     12        padding: 7px 0 8px;
     13        z-index: 9999;
     14        background-color: #32373c;
     15        -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
     16        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
     17}
     18}}}
     19
     20
     21and
     22
     23
     24{{{
     25#adminmenu .wp-has-current-submenu .wp-submenu,
     26.no-js li.wp-has-current-submenu:hover .wp-submenu,
     27#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
     28#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
     29#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
     30        position: relative;
     31        z-index: 3;
     32        top: auto;
     33        left: auto;
     34        right: auto;
     35        bottom: auto;
     36        border: 0 none;
     37        margin-top: 0;
     38        -webkit-box-shadow: none;
     39        box-shadow: none;
     40        background-color: #32373c;
     41}
     42}}}
     43
     44
     45
    546You see this shadow topic also on the screenshots from the reporter.