Changeset 63009
- Timestamp:
- 08/04/2026 05:28:48 PM (6 weeks ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
-
wp-admin/css/admin-menu.css (modified) (3 diffs)
-
wp-admin/css/colors/_admin.scss (modified) (5 diffs)
-
wp-includes/css/admin-bar.css (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/admin-menu.css
r62875 r63009 801 801 padding: 0; 802 802 overflow: hidden; 803 outline: none;804 803 text-decoration: none; 805 border: 1px solid transparent;806 804 background: none; 807 height: 4 4px;808 margin-left: -1px;805 height: 46px; 806 box-sizing: border-box; 809 807 } 810 808 … … 815 813 li#wp-admin-bar-menu-toggle { 816 814 display: block; 817 }818 819 #wpadminbar #wp-admin-bar-menu-toggle a:hover {820 border: 1px solid transparent;821 815 } 822 816 … … 825 819 display: inline-block; 826 820 float: left; 827 font: normal 40px/4 5px dashicons;821 font: normal 40px/46px dashicons; 828 822 vertical-align: middle; 829 outline: none;830 823 margin: 0; 831 824 -webkit-font-smoothing: antialiased; 832 825 -moz-osx-font-smoothing: grayscale; 833 height: 4 4px;834 width: 5 0px;826 height: 46px; 827 width: 52px; 835 828 padding: 0; 836 829 border: none; -
trunk/src/wp-admin/css/colors/_admin.scss
r62959 r63009 417 417 } 418 418 419 #wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, 420 #wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, 421 #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { 419 #wpadminbar > #wp-toolbar li:hover span.ab-label, 420 #wpadminbar > #wp-toolbar li.hover span.ab-label, 421 /* The adminbar menu may output either links or focusable div elements. */ 422 /* As such, we target the focus state without specifying the element type. */ 423 #wpadminbar > #wp-toolbar :focus span.ab-label { 422 424 color: variables.$menu-submenu-focus-text; 423 425 } … … 450 452 451 453 #wpadminbar .quicklinks li .blavatar, 452 #wpadminbar .menupop .menupop > .ab-item:before { 454 #wpadminbar .menupop .menupop > .ab-item:before, 455 #wpadminbar.mobile .quicklinks .ab-icon:before, 456 #wpadminbar.mobile .quicklinks .ab-item:before { 453 457 color: variables.$menu-icon; 454 458 } … … 475 479 } 476 480 481 // Note that the icon of the site-name item is not wrapped within a span with class ab-icon like other items. 477 482 #wpadminbar .quicklinks li a:hover .blavatar, 478 483 #wpadminbar .quicklinks li a:focus .blavatar, … … 480 485 #wpadminbar .menupop .menupop > .ab-item:hover:before, 481 486 #wpadminbar.mobile .quicklinks .hover .ab-icon:before, 482 #wpadminbar.mobile .quicklinks .hover .ab-item:before { 487 #wpadminbar.mobile .quicklinks .hover .ab-item:before, 488 #wpadminbar.mobile .quicklinks .ab-item:focus:before { 483 489 color: variables.$menu-submenu-focus-text; 484 490 } 485 486 #wpadminbar.mobile .quicklinks .ab-icon:before,487 #wpadminbar.mobile .quicklinks .ab-item:before {488 color: variables.$menu-icon;489 }490 491 491 492 492 /* Admin Bar: search */ … … 532 532 } 533 533 534 #wpadminbar #wp-admin-bar-user-info a:hover .display-name {535 color: variables.$menu-submenu-focus-text;536 }537 538 534 #wpadminbar #wp-admin-bar-user-info .username { 539 535 color: variables.$menu-submenu-text; 540 536 } 541 537 538 #wpadminbar #wp-admin-bar-user-info a:hover .display-name, 539 #wpadminbar #wp-admin-bar-user-info a:focus .display-name, 540 #wpadminbar #wp-admin-bar-user-info a:hover .username, 541 #wpadminbar #wp-admin-bar-user-info a:focus .username { 542 color: variables.$menu-submenu-focus-text; 543 } 542 544 543 545 /* Pointers */ -
trunk/src/wp-includes/css/admin-bar.css
r62625 r63009 78 78 } 79 79 80 #wpadminbar a:focus { 81 outline-offset: -1px; 80 #wpadminbar a:focus, 81 #wpadminbar .ab-item[tabindex="0"]:focus { 82 outline-offset: -2px; 82 83 /* Only visible in Windows High Contrast mode */ 83 84 outline: 2px solid transparent; 85 box-shadow: inset 0 -4px 0 0 currentColor; 86 transition: box-shadow 0.1s linear; 87 } 88 89 #wpadminbar .ab-submenu a:focus, 90 #wpadminbar .ab-submenu .ab-item[tabindex="0"]:focus { 91 box-shadow: inset 4px 0 0 0 currentColor; 84 92 } 85 93 … … 226 234 #wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, 227 235 #wpadminbar > #wp-toolbar li.hover span.ab-label, 228 #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { 236 /* The adminbar menu may output either links or focusable div elements. */ 237 /* As such, we target the focus state without specifying the element type. */ 238 #wpadminbar > #wp-toolbar :focus span.ab-label { 229 239 color: #72aee6; 230 240 } … … 295 305 #wpadminbar li.hover .ab-item:before, 296 306 #wpadminbar li:hover #adminbarsearch:before, 297 #wpadminbar li #adminbarsearch.adminbar-focused:before { 307 #wpadminbar li #adminbarsearch.adminbar-focused:before, 308 #wpadminbar.mobile .quicklinks .ab-item:focus:before { 298 309 color: #72aee6; 299 310 } … … 380 391 } 381 392 382 #wpadminbar ul li:last-child,383 #wpadminbar ul li:last-child .ab-item {384 box-shadow: none;385 }386 387 393 /** 388 394 * Recovery Mode … … 453 459 position: absolute; 454 460 left: -72px; 455 top: 4px;461 top: 0; 456 462 width: 64px; 457 463 height: 64px; … … 467 473 background: none; 468 474 padding: 0; 469 height: 18px;475 line-height: 1.38461538; 470 476 } 471 477 … … 476 482 477 483 #wpadminbar #wp-admin-bar-user-info .username { 478 color: #a7aaad;479 484 font-size: 11px; 480 485 } … … 912 917 width: 52px; 913 918 padding: 0; 914 color: #a7aaad; /* @todo not needed? this text is hidden */915 919 position: relative; 916 920 } … … 1032 1036 font-size: 16px; 1033 1037 line-height: 1.5; 1034 color: #f0f0f1;1035 }1036 1037 #wpadminbar #wp-admin-bar-user-info a {1038 padding-top: 4px;1039 }1040 1041 #wpadminbar #wp-admin-bar-user-info .username {1042 line-height: 0.8 !important;1043 margin-bottom: -2px;1044 1038 } 1045 1039
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)