WordPress.org

Make WordPress Core

Changeset 22263


Ignore:
Timestamp:
10/19/2012 09:32:34 PM (6 years ago)
Author:
azaozz
Message:

Adminmenu: fix folded height and shadow inconsistencies, props webord, fixes #21998

Location:
trunk/wp-admin/css
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/ie-rtl.css

    r21894 r22263  
    3535.folded #adminmenu .wp-submenu {
    3636    right: 30px;
    37     top: -4px;
    38 }
    39 
    40 #adminmenu .wp-submenu .wp-submenu-head {
    41     padding: 6px 10px 6px 4px;
    4237}
    4338
  • trunk/wp-admin/css/ie.css

    r22167 r22263  
    5454#adminmenu {
    5555    position: relative;
     56}
     57
     58#adminmenu,
     59#adminmenu a {
     60    cursor: pointer;
    5661}
    5762
     
    7681}
    7782
     83.folded #adminmenu .wp-submenu {
     84    border-top-color: transparent;
     85}
     86
     87#adminmenu .wp-submenu .wp-submenu-head {
     88    border-top-color: #ddd;
     89}
     90
    7891.folded #adminmenu .wp-submenu ul {
    7992    margin-left: 5px;
     
    8699#adminmenu .wp-menu-arrow {
    87100    display: none !important;
    88 }
    89 
    90 #adminmenu .wp-submenu li.wp-submenu-head {
    91     padding: 6px 4px 7px 10px;
    92     zoom: 100%;
    93 }
    94 
    95 .js.folded #adminmenu .menu-top {
    96     height: 30px;
    97101}
    98102
  • trunk/wp-admin/css/wp-admin-rtl.css

    r22167 r22263  
    420420}
    421421
    422 .folded .wp-menu-arrow {
    423     -moz-transform:    translate( -27px );
    424     -webkit-transform: translate( -27px );
    425     -o-transform:      translate( -27px );
    426     -ms-transform:     translate( -27px );
    427     transform:         translate( -27px );
     422.folded #adminmenu li .wp-menu-arrow {
     423    -moz-transform:    translate( -26px );
     424    -webkit-transform: translate( -26px );
     425    -o-transform:      translate( -26px );
     426    -ms-transform:     translate( -26px );
     427    transform:         translate( -26px );
    428428}
    429429
  • trunk/wp-admin/css/wp-admin.css

    r22249 r22263  
    15031503    width: 28px;
    15041504    height: 28px;
    1505     margin-top: -1px;
    15061505}
    15071506
    15081507.folded #adminmenu div.wp-menu-image {
    15091508    width: 32px;
    1510     margin-top: 0;
    15111509    position: absolute;
    15121510    z-index: 25;
     
    15141512
    15151513.folded #adminmenu a.menu-top {
    1516     height: 29px;
     1514    height: 28px;
    15171515}
    15181516
    15191517.wp-menu-arrow {
    1520     display: none;
    15211518    z-index: 25;
    15221519    position: absolute;
     
    15341531
    15351532#adminmenu .wp-menu-arrow div {
     1533    display: none;
    15361534    position: absolute;
    15371535    top: 7px;
     
    15591557}
    15601558
    1561 .folded .wp-menu-arrow {
    1562     -moz-transform:    translate( 33px );
    1563     -webkit-transform: translate( 33px );
    1564     -o-transform:      translate( 33px );
    1565     -ms-transform:     translate( 33px );
    1566     transform:         translate( 33px );
     1559.folded #adminmenu li .wp-menu-arrow {
     1560    -moz-transform:    translate( 32px );
     1561    -webkit-transform: translate( 32px );
     1562    -o-transform:      translate( 32px );
     1563    -ms-transform:     translate( 32px );
     1564    transform:         translate( 32px );
    15671565}
    15681566
    15691567#adminmenu li.current .wp-menu-arrow,
    15701568#adminmenu li.wp-has-current-submenu .wp-menu-arrow,
     1569#adminmenu li.wp-has-current-submenu .wp-menu-arrow div,
     1570#adminmenu li.wp-has-submenu .wp-menu-arrow div,
     1571#adminmenu li.current .wp-menu-arrow div,
    15711572.no-js #adminmenu li.wp-has-submenu:hover .wp-menu-arrow,
    15721573#adminmenu li.wp-has-submenu.opensub .wp-menu-arrow,
    1573 #adminmenu a.wp-has-submenu:focus .wp-menu-arrow {
     1574#adminmenu a.wp-has-submenu:focus .wp-menu-arrow,
     1575#adminmenu a:hover .wp-menu-arrow {
    15741576    display: block;
    15751577}
     
    15981600
    15991601.wp-menu-arrow,
    1600 .folded #adminmenu li.wp-not-current-submenu .wp-menu-arrow,
     1602.folded #adminmenu li .wp-menu-arrow div,
    16011603.no-js #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow {
    16021604    display: none;
     
    16041606
    16051607.folded #adminmenu li.current .wp-menu-arrow,
    1606 .folded #adminmenu li.wp-menu-open .wp-menu-arrow {
     1608.folded #adminmenu li.current .wp-menu-arrow div,
     1609.folded #adminmenu li.wp-has-current-submenu .wp-menu-arrow div,
     1610.folded #adminmenu li.wp-menu-open .wp-menu-arrow,
     1611.folded #adminmenu li a:focus .wp-menu-arrow {
    16071612    display: block;
    1608     top: 1px;
    16091613}
    16101614
     
    16321636
    16331637#adminmenu .wp-submenu .wp-submenu-head {
    1634     padding: 6px 4px 5px 10px;
     1638    padding: 5px 4px 5px 10px;
    16351639    margin: -4px -1px 4px;
    16361640    border-width: 1px 0;
Note: See TracChangeset for help on using the changeset viewer.