Ticket #24839: 24839.diff
File 24839.diff, 1.5 KB (added by , 11 years ago) |
---|
-
wp-content/themes/twentytwelve/js/navigation.js
30 30 menu.className += ' toggled-on'; 31 31 } 32 32 }; 33 } )(); 34 No newline at end of file 33 } )(); 34 35 ( function( $ ) { 36 $( '.main-navigation' ).find( 'a' ).on( 'focus blur', function() { 37 $( this ).parents().toggleClass( 'focus' ); 38 } ); 39 } )( jQuery ); 40 No newline at end of file -
wp-content/themes/twentytwelve/style.css
1517 1517 position: relative; 1518 1518 } 1519 1519 .main-navigation li ul { 1520 display: none;1520 /*display: none;*/ 1521 1521 margin: 0; 1522 1522 padding: 0; 1523 1523 position: absolute; 1524 1524 top: 100%; 1525 1525 z-index: 1; 1526 height: 1px; 1527 width: 1px; 1528 overflow: hidden; 1529 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 1530 clip: rect(1px, 1px, 1px, 1px) 1526 1531 } 1527 1532 .main-navigation li ul ul { 1528 1533 top: 0; 1529 1534 left: 100%; 1530 1535 } 1531 .main-navigation ul li:hover > ul {1536 .main-navigation ul li:hover > ul, .main-navigation .focus > ul { 1532 1537 border-left: 0; 1533 display: block; 1538 /* display: block; */ 1539 clip: inherit; 1540 overflow: inherit; 1541 height: inherit; 1542 width: inherit; 1534 1543 } 1535 1544 .main-navigation li ul li a { 1536 1545 background: #efefef;