Ticket #28983: responsive-admin-bar.diff
File responsive-admin-bar.diff, 2.7 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/colors/_admin.scss
287 287 color: $menu-highlight-icon; 288 288 } 289 289 290 #wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, 291 #wpadminbar #wp-admin-bar-my-account.with-avatar > a img { 292 box-shadow: -8px 0 0 $menu-background, -8px 0 3px $menu-background; /* A little trick so that text doesn't appear to run under the avatar image */ 293 } 290 294 295 291 296 /* Admin Bar: submenu */ 292 297 293 298 #wpadminbar .menupop .ab-sub-wrapper { -
src/wp-includes/css/admin-bar.css
88 88 line-height: 32px; 89 89 height: 32px; 90 90 position: fixed; 91 display: block; 92 display: flex; 91 93 top: 0; 92 94 left: 0; 93 95 width: 100%; … … 96 98 background: #23282d; 97 99 } 98 100 101 #wpadminbar .quicklinks { 102 display: flex; 103 width: 100%; 104 justify-content: space-between; 105 } 106 107 #wpadminbar .ab-top-menu { 108 display: flex; 109 justify-content: flex-start; 110 } 111 99 112 #wpadminbar .ab-sub-wrapper, 100 113 #wpadminbar ul, 101 114 #wpadminbar ul li { … … 121 134 float: left; 122 135 } 123 136 137 #wpadminbar .ab-item { 138 overflow: hidden; 139 } 140 124 141 #wpadminbar .ab-empty-item { 125 142 outline: none; 126 143 } … … 378 395 379 396 #wpadminbar .ab-top-secondary { 380 397 float: right; 398 justify-content: flex-end; 399 flex-direction: row-reverse; 381 400 } 382 401 383 402 #wpadminbar ul li:last-child, … … 445 464 #wpadminbar #wp-admin-bar-user-info a { 446 465 background: none; 447 466 height: auto; 467 overflow: visible; 448 468 } 449 469 450 470 #wpadminbar #wp-admin-bar-user-info span { … … 463 483 font-size: 11px; 464 484 } 465 485 486 #wpadminbar #wp-admin-bar-my-account.with-avatar > a { 487 /*display: flex; 488 align-items: center; 489 white-space: nowrap; 490 text-overflow: ellipsis;*/ 491 position: relative; 492 } 493 466 494 #wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, 467 495 #wpadminbar #wp-admin-bar-my-account.with-avatar > a img { 496 position: absolute; 468 497 width: auto; 469 498 height: 16px; 470 499 padding: 0; … … 472 501 background: #eee; 473 502 line-height: 24px; 474 503 vertical-align: middle; 475 margin : -4px 0 06px;504 margin-left: 6px; 476 505 float: none; 477 506 display: inline; 507 top: 7px; 508 right: 8px; 509 box-shadow: -8px 0 0 #23282d, -8px 0 3px #23282d; /* A little trick so that text doesn't appear to run under the avatar image */ 478 510 } 479 511 480 512 #wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, … … 988 1020 989 1021 #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { 990 1022 position: absolute; 991 top: 1 3px;1023 top: 10px; 992 1024 right: 10px; 993 1025 width: 26px; 994 1026 height: 26px;