Ticket #37513: 37513.diff
File 37513.diff, 1.9 KB (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-admin-bar.php
481 481 $tabindex = ( isset( $node->meta['tabindex'] ) && is_numeric( $node->meta['tabindex'] ) ) ? (int) $node->meta['tabindex'] : ''; 482 482 $aria_attributes = ( '' !== $tabindex ) ? ' tabindex="' . $tabindex . '"' : ''; 483 483 484 $menuclass = '';484 $menuclass = $arrow_right = ''; 485 485 486 486 if ( $is_parent ) { 487 487 $menuclass = 'menupop '; 488 488 $aria_attributes .= ' aria-haspopup="true"'; 489 $arrow_right = '<span class="wp-admin-bar-arrow-right" aria-hidden="true"></span>'; 489 490 } 490 491 491 492 if ( ! empty( $node->meta['class'] ) ) … … 532 533 ?>><?php 533 534 endif; 534 535 536 echo $arrow_right; 537 535 538 echo $node->title; 536 539 537 540 if ( $has_link ) : -
src/wp-includes/css/admin-bar.css
234 234 235 235 #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon, 236 236 #wpadminbar .ab-icon, 237 #wpadminbar .ab-item:before { 237 #wpadminbar .ab-item:before, 238 .wp-admin-bar-arrow-right { 238 239 position: relative; 239 240 float: left; 240 241 font: normal 20px/1 dashicons; … … 312 313 color: #00b9eb; 313 314 } 314 315 315 #wpadminbar .menupop .menupop > .ab-item :before,316 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow-right:before, 316 317 #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before { 317 318 position: absolute; 318 319 font: normal 17px/1 dashicons; … … 326 327 padding-right: 2em; 327 328 } 328 329 329 #wpadminbar .menupop .menupop > .ab-item :before {330 #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow-right:before { 330 331 top: 1px; 331 right: 4px; 332 right: 10px; 333 padding: 4px 0; 332 334 content: "\f139"; 333 335 color: inherit; 334 336 }