Ticket #27147: 27147.2.2.diff
File 27147.2.2.diff, 1.6 KB (added by , 11 years ago) |
---|
-
wp-content/themes/twentyfourteen/header.php
49 49 </div> 50 50 51 51 <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> 52 < h1 class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></h1>52 <button class="menu-toggle"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></button> 53 53 <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a> 54 54 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> 55 55 </nav> -
wp-content/themes/twentyfourteen/style.css
985 985 } 986 986 987 987 .menu-toggle { 988 background-color: #000; 989 border-radius: 0; 988 990 cursor: pointer; 989 991 font-size: 0; 990 992 height: 48px; 991 993 margin: 0; 992 994 overflow: hidden; 995 padding: 0; 993 996 position: absolute; 994 997 top: 0; 995 998 right: 0; … … 1000 1003 .menu-toggle:before { 1001 1004 color: #fff; 1002 1005 content: "\f419"; 1006 display: inline; 1003 1007 margin-top: 16px; 1004 1008 } 1005 1009 1010 .menu-toggle:active, 1011 .menu-toggle:focus, 1012 .menu-toggle:hover { 1013 background-color: #444; 1014 } 1006 1015 1016 .menu-toggle:focus { 1017 outline: 1px dotted; 1018 } 1019 1020 1007 1021 /** 1008 1022 * 6.0 Content 1009 1023 * -----------------------------------------------------------------------------