- Timestamp:
- 08/16/2026 04:10:24 PM (3 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
r63009 r63306 801 801 padding: 0; 802 802 overflow: hidden; 803 outline: none; 803 804 text-decoration: none; 805 border: 1px solid transparent; 804 806 background: none; 805 height: 4 6px;806 box-sizing: border-box;807 height: 44px; 808 margin-left: -1px; 807 809 } 808 810 … … 813 815 li#wp-admin-bar-menu-toggle { 814 816 display: block; 817 } 818 819 #wpadminbar #wp-admin-bar-menu-toggle a:hover { 820 border: 1px solid transparent; 815 821 } 816 822 … … 819 825 display: inline-block; 820 826 float: left; 821 font: normal 40px/4 6px dashicons;827 font: normal 40px/45px dashicons; 822 828 vertical-align: middle; 829 outline: none; 823 830 margin: 0; 824 831 -webkit-font-smoothing: antialiased; 825 832 -moz-osx-font-smoothing: grayscale; 826 height: 4 6px;827 width: 5 2px;833 height: 44px; 834 width: 50px; 828 835 padding: 0; 829 836 border: none; -
trunk/src/wp-admin/css/colors/_admin.scss
r63009 r63306 417 417 } 418 418 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 { 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 { 424 422 color: variables.$menu-submenu-focus-text; 425 423 } … … 452 450 453 451 #wpadminbar .quicklinks li .blavatar, 454 #wpadminbar .menupop .menupop > .ab-item:before, 455 #wpadminbar.mobile .quicklinks .ab-icon:before, 456 #wpadminbar.mobile .quicklinks .ab-item:before { 452 #wpadminbar .menupop .menupop > .ab-item:before { 457 453 color: variables.$menu-icon; 458 454 } … … 479 475 } 480 476 481 // Note that the icon of the site-name item is not wrapped within a span with class ab-icon like other items.482 477 #wpadminbar .quicklinks li a:hover .blavatar, 483 478 #wpadminbar .quicklinks li a:focus .blavatar, … … 485 480 #wpadminbar .menupop .menupop > .ab-item:hover:before, 486 481 #wpadminbar.mobile .quicklinks .hover .ab-icon:before, 487 #wpadminbar.mobile .quicklinks .hover .ab-item:before, 488 #wpadminbar.mobile .quicklinks .ab-item:focus:before { 482 #wpadminbar.mobile .quicklinks .hover .ab-item:before { 489 483 color: variables.$menu-submenu-focus-text; 490 484 } 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 534 538 #wpadminbar #wp-admin-bar-user-info .username { 535 539 color: variables.$menu-submenu-text; 536 540 } 537 541 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 }544 542 545 543 /* Pointers */ -
trunk/src/wp-includes/css/admin-bar.css
r63190 r63306 78 78 } 79 79 80 #wpadminbar a:focus, 81 #wpadminbar .ab-item[tabindex="0"]:focus { 82 outline-offset: -2px; 80 #wpadminbar a:focus { 81 outline-offset: -1px; 83 82 /* Only visible in Windows High Contrast mode */ 84 83 outline: 2px solid transparent; 85 }86 87 #wpadminbar a:hover,88 #wpadminbar a:focus,89 #wpadminbar .ab-item[tabindex="0"]:hover,90 #wpadminbar .ab-item[tabindex="0"]:focus {91 box-shadow: inset 0 -4px 0 0 currentColor;92 transition: box-shadow 0.1s linear;93 }94 95 #wpadminbar .ab-submenu a:hover,96 #wpadminbar .ab-submenu a:focus,97 #wpadminbar .ab-submenu .ab-item[tabindex="0"]:hover,98 #wpadminbar .ab-submenu .ab-item[tabindex="0"]:focus {99 box-shadow: inset 4px 0 0 0 currentColor;100 84 } 101 85 … … 240 224 } 241 225 242 #wpadminbar > #wp-toolbar li:hover span.ab-label,226 #wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, 243 227 #wpadminbar > #wp-toolbar li.hover span.ab-label, 244 /* The adminbar menu may output either links or focusable div elements. */ 245 /* As such, we target the focus state without specifying the element type. */ 246 #wpadminbar > #wp-toolbar :focus span.ab-label { 228 #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { 247 229 color: #72aee6; 248 230 } … … 313 295 #wpadminbar li.hover .ab-item:before, 314 296 #wpadminbar li:hover #adminbarsearch:before, 315 #wpadminbar li #adminbarsearch.adminbar-focused:before, 316 #wpadminbar.mobile .quicklinks .ab-item:focus:before { 297 #wpadminbar li #adminbarsearch.adminbar-focused:before { 317 298 color: #72aee6; 318 299 } … … 399 380 } 400 381 382 #wpadminbar ul li:last-child, 383 #wpadminbar ul li:last-child .ab-item { 384 box-shadow: none; 385 } 386 401 387 /** 402 388 * Recovery Mode … … 467 453 position: absolute; 468 454 left: -72px; 469 top: 0;455 top: 4px; 470 456 width: 64px; 471 457 height: 64px; … … 481 467 background: none; 482 468 padding: 0; 483 line-height: 1.38461538;469 height: 18px; 484 470 } 485 471 … … 490 476 491 477 #wpadminbar #wp-admin-bar-user-info .username { 478 color: #a7aaad; 492 479 font-size: 11px; 493 480 } … … 925 912 width: 52px; 926 913 padding: 0; 914 color: #a7aaad; /* @todo not needed? this text is hidden */ 927 915 position: relative; 928 916 } … … 1044 1032 font-size: 16px; 1045 1033 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; 1046 1044 } 1047 1045
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)