diff -r 3d4e9c994f10 -r a86126ab1dd4 wp/wp-includes/css/admin-bar.css --- a/wp/wp-includes/css/admin-bar.css Tue Oct 22 16:11:46 2019 +0200 +++ b/wp/wp-includes/css/admin-bar.css Tue Dec 15 13:49:49 2020 +0100 @@ -10,7 +10,7 @@ font-size: 13px; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - line-height: 32px; + line-height: 2.46153846; border-radius: 0; box-sizing: content-box; transition: none; @@ -40,8 +40,6 @@ #wpadminbar #wp-admin-bar-site-name a.ab-item, #wpadminbar #wp-admin-bar-my-sites a.ab-item { white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; } #wpadminbar ul li:before, @@ -83,7 +81,7 @@ font-size: 13px; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - line-height: 32px; + line-height: 2.46153846; height: 32px; position: fixed; top: 0; @@ -151,12 +149,6 @@ float: none; } -#wpadminbar.ie7 .menupop .ab-sub-wrapper, -#wpadminbar.ie7 .shortlink-input { - top: 32px; - left: 0; -} - #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { min-width: 100%; } @@ -187,7 +179,7 @@ #wpadminbar .quicklinks .menupop.hover ul li .ab-item, #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, #wpadminbar .shortlink-input { - line-height: 26px; + line-height: 2; height: 26px; white-space: nowrap; min-width: 140px; @@ -424,10 +416,6 @@ min-width: 270px; } -#wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar .ab-item { - white-space: nowrap; -} - #wpadminbar #wp-admin-bar-user-actions > li { margin-left: 16px; margin-right: 16px; @@ -484,18 +472,13 @@ padding: 0; border: 1px solid #82878c; background: #eee; - line-height: 24px; + line-height: 1.84615384; vertical-align: middle; margin: -4px 0 0 6px; float: none; display: inline; } -#wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar > .ab-empty-item img, -#wpadminbar.ie8 #wp-admin-bar-my-account.with-avatar > a img { - width: auto; -} - /** * WP Logo */ @@ -519,7 +502,8 @@ * My Sites & Site Title */ #wpadminbar .quicklinks li .blavatar { - float: left; + display: inline-block; + vertical-align: middle; font: normal 16px/1 dashicons !important; speak: none; -webkit-font-smoothing: antialiased; @@ -538,7 +522,7 @@ height: 16px; width: 16px; display: inline-block; - margin: 6px 8px 0 -2px; + margin: 0 8px 2px -2px; } #wpadminbar #wp-admin-bar-appearance { @@ -607,10 +591,7 @@ /** * Search */ -#wpadminbar.ie8 #wp-admin-bar-search { - display: block; - min-width: 32px; -} + #wpadminbar #wp-admin-bar-search .ab-item { padding: 0; background: transparent; @@ -643,7 +624,7 @@ z-index: 30; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - line-height: 24px; + line-height: 1.84615384; text-indent: 0; height: 24px; width: 24px; @@ -671,26 +652,6 @@ border: 0; } -#wpadminbar.ie7 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - margin-top: 3px; - width: 120px; -} - -#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input { - /* IE8 z-index bug with transparent / empty elements - fill in with an encoded transparent GIF */ - background: transparent 0 0 repeat scroll url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); -} - -/* IE8 doesn't redraw the pseudo elements unless you make a change to the content */ -#wpadminbar.ie8 #adminbarsearch.adminbar-focused:before { - content: "\f179 "; /* extra space */ -} - -#wpadminbar.ie8 > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - background: #fff; - z-index: -1; -} - #wpadminbar #adminbarsearch .adminbar-button { display: none; } @@ -747,64 +708,6 @@ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); } -/** - * IE 6-targeted rules - */ -* html #wpadminbar { - overflow: hidden; - position: absolute; -} - -* html #wpadminbar .quicklinks ul li a { - float: left; -} - -* html #wpadminbar .menupop a span { - background-image: none; -} - -/* No @font-face support */ -.no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { - display: block; - width: 45px; - text-align: center; - overflow: hidden; - margin: 0 3px; -} - -.no-font-face #wpadminbar #wp-admin-bar-my-sites > .ab-item, -.no-font-face #wpadminbar #wp-admin-bar-site-name > .ab-item, -.no-font-face #wpadminbar #wp-admin-bar-edit > .ab-item { - text-indent: 0; -} - -.no-font-face #wpadminbar .ab-icon, -.no-font-face #wpadminbar .ab-icon:before, -.no-font-face #wpadminbar a.ab-item:before, -.no-font-face #wpadminbar #wp-admin-bar-wp-logo > .ab-item { - display: none !important; -} - -.no-font-face #wpadminbar ul.ab-top-menu > li > a > span.ab-label { - display: inline; -} - -.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon { - display: inline !important; -} - -.no-font-face #wpadminbar #wp-admin-bar-menu-toggle span.ab-icon:before { - content: "Menu"; - font: 14px/45px sans-serif !important; - display: inline-block !important; - color: #fff; -} - -.no-font-face #wpadminbar #wp-admin-bar-site-name a.ab-item { - color: #fff; -} -/* End no @font-face */ - @media screen and (max-width: 782px) { /* Toolbar Touchification*/ html #wpadminbar { @@ -816,14 +719,14 @@ font-size: 14px; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - line-height: 32px; + line-height: 2.28571428; } #wpadminbar .quicklinks > ul > li > a, #wpadminbar .quicklinks .ab-empty-item { padding: 0; height: 46px; - line-height: 46px; + line-height: 3.28571428; width: auto; } @@ -850,6 +753,14 @@ text-overflow: clip; } + #wpadminbar .quicklinks .menupop ul li .ab-item, + #wpadminbar .quicklinks .menupop ul li a strong, + #wpadminbar .quicklinks .menupop.hover ul li .ab-item, + #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item, + #wpadminbar .shortlink-input { + line-height: 1.6; + } + #wpadminbar .ab-label { display: none; } @@ -954,7 +865,7 @@ /* New Content */ #wpadminbar #wp-admin-bar-new-content .ab-icon:before { top: 0; - line-height: 53px; + line-height: 1.33333333; height: 46px !important; text-align: center; width: 52px; @@ -979,7 +890,7 @@ display: block; font-size: 34px; height: 46px; - line-height: 47px; + line-height: 1.38235294; top: 0; } @@ -1016,7 +927,7 @@ #wpadminbar #wp-admin-bar-user-info .display-name { height: auto; font-size: 16px; - line-height: 24px; + line-height: 1.5; color: #eee; } @@ -1058,7 +969,6 @@ to 100% viewport width at responsive sizes. */ #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper { min-width: -webkit-fit-content; - min-width: -moz-fit-content; min-width: fit-content; }