<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[26176] trunk/src: Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/26176">26176</a></dd>
<dt>Author</dt> <dd>iammattthomas</dd>
<dt>Date</dt> <dd>2013-11-14 22:36:34 +0000 (Thu, 14 Nov 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css. Remove unneeded font overrides and !importants where possible. Make sure the site menu item uses the globe icon consistently instead of switching to the home icon <782px. Fixes <a href="http://core.trac.wordpress.org/ticket/25971">#25971</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincsswpadmincss">trunk/src/wp-admin/css/wp-admin.css</a></li>
<li><a href="#trunksrcwpincludescssadminbarcss">trunk/src/wp-includes/css/admin-bar.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/wp-admin.css (26175 => 26176)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/wp-admin.css 2013-11-14 22:10:24 UTC (rev 26175)
+++ trunk/src/wp-admin/css/wp-admin.css 2013-11-14 22:36:34 UTC (rev 26176)
</span><span class="lines">@@ -967,7 +967,7 @@
</span><span class="cx"> /* New Menu icons */
</span><span class="cx">
</span><span class="cx"> .icon16:before {
</span><del>- font: normal 20px/1 'dashicons' !important;
</del><ins>+ font: normal 20px/1 'dashicons';
</ins><span class="cx"> speak: none;
</span><span class="cx"> padding: 6px 0;
</span><span class="cx"> height: 34px;
</span><span class="lines">@@ -11339,47 +11339,6 @@
</span><span class="cx"> margin-top: -2px;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- #wpadminbar #wp-admin-bar-toggle-button a {
- display: block;
- padding: 0;
- overflow: hidden;
- outline: none;
- text-decoration: none;
- border: 1px solid transparent;
- background: none;
- height: 44px;
- margin-left: -1px;
- }
-
- li#wp-admin-bar-toggle-button {
- display: block;
- }
-
- #wpadminbar #wp-admin-bar-toggle-button a:hover {
- border: 1px solid transparent;
- }
-
- #wpadminbar #wp-admin-bar-toggle-button .ab-icon:before {
- color: #888;
- content: '\f228';
- display: inline-block;
- float: left;
- font: normal 40px/45px 'Dashicons';
- vertical-align: middle;
- outline: none;
- margin: 0;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- height: 44px;
- width: 50px;
- padding: 0;
- border: none;
- text-align: center;
- text-decoration: none;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- }
-
</del><span class="cx"> .moby6-open #wpadminbar #wp-admin-bar-toggle-button a {
</span><span class="cx"> background: #000;
</span><span class="cx"> }
</span><span class="lines">@@ -12551,297 +12510,48 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> @media screen and ( max-width: 782px ) {
</span><del>- /* Toolbar Touchification*/
- html.wp-toolbar {
- padding-top: 46px;
</del><ins>+ #wpadminbar #wp-admin-bar-toggle-button a {
+ display: block;
+ padding: 0;
+ overflow: hidden;
+ outline: none;
+ text-decoration: none;
+ border: 1px solid transparent;
+ background: none;
+ height: 44px;
+ margin-left: -1px;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- html #wpadminbar {
- left: 0 !important;
- z-index: 500 !important;
- height: 46px;
- min-width: 300px;
-
- -webkit-transform: translate3d(0, 0, 0);
- -webkit-backface-visibility: hidden;
- -webkit-transition: 0;
- transform: translate3d(0, 0, 0);
- backface-visibility: hidden;
- transition: 0;
</del><ins>+ li#wp-admin-bar-toggle-button {
+ display: block;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- #wpadminbar * {
- font: normal 14px/32px "Open Sans", sans-serif;
</del><ins>+ #wpadminbar #wp-admin-bar-toggle-button a:hover {
+ border: 1px solid transparent;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- #wpadminbar .quicklinks li > a {
- padding: 0;
- height: 46px;
- line-height: 46px;
- width: auto;
- }
-
- #wpadminbar .ab-icon {
- font: 40px/1 dashicons !important;
</del><ins>+ #wpadminbar #wp-admin-bar-toggle-button .ab-icon:before {
+ color: #888;
+ content: '\f228';
+ display: inline-block;
+ float: left;
+ font: normal 40px/45px 'Dashicons';
+ vertical-align: middle;
+ outline: none;
</ins><span class="cx"> margin: 0;
</span><del>- padding: 0;
- width: 50px;
- height: 46px;
- }
-
- #wpadminbar .ab-icon:before {
- text-align: center;
- }
-
- #wpadminbar .ab-submenu {
- padding: 0;
- }
-
- #wpadminbar .ab-label {
- display: none;
- }
-
- #wpadminbar .menupop li:hover > .ab-sub-wrapper,
- #wpadminbar .menupop li.hover > .ab-sub-wrapper {
- margin-top: -46px;
- }
-
- #wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item {
- padding-right: 30px;
- }
-
- #wpadminbar .menupop .menupop > .ab-item:before {
- top: 10px;
- right: 6px;
- }
-
- #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item {
- font-size: 16px;
- padding: 6px 15px 12px;
- }
-
- #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty {
- display: none;
- }
-
- /* WP logo */
- #wpadminbar #wp-admin-bar-wp-logo > .ab-item {
- padding: 0;
- }
-
- #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
- padding: 0;
- width: 50px;
- height: 46px;
- text-align: center;
- vertical-align: top;
- }
-
- #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
- font: 28px/1 'dashicons' !important;
- top: -3px;
- }
-
- #wpadminbar .ab-icon,
- #wpadminbar .ab-item::before {
- padding: 0;
- }
-
- /* My Sites and "Site Title" menu */
- #wpadminbar #wp-admin-bar-my-sites > .ab-item,
- #wpadminbar #wp-admin-bar-site-name > .ab-item {
- text-indent: 100%;
- text-overflow: clip !important;
- width: 50px;
- padding: 0;
- color: #999;
- position: relative;
- }
-
- #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
- #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
- display: block;
- text-indent: 0;
- font: normal 35px/1 'dashicons' !important;
- speak: none;
- top: 5px;
- width: 50px;
- text-align: center;
</del><span class="cx"> -webkit-font-smoothing: antialiased;
</span><span class="cx"> -moz-osx-font-smoothing: grayscale;
</span><del>- }
-
- #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
- content: '\f102';
</del><ins>+ height: 44px;
+ width: 50px;
</ins><span class="cx"> padding: 0;
</span><del>- }
-
- #wpadminbar #wp-admin-bar-my-sites > .ab-item:before {
- content: '\f112';
- font-size: 28px !important;
- padding-top: 8px;
- padding-left: 12px;
- }
-
- #wpadminbar #wp-admin-bar-appearance {
- margin-top: 0;
- }
-
- #wpadminbar .quicklinks li .blavatar:before {
- display: none;
- }
-
- /* Search */
- #wpadminbar #wp-admin-bar-search {
- display: none;
- }
-
- /* New Content */
- #wpadminbar #wp-admin-bar-new-content .ab-icon:before {
- top: 0;
- line-height: 53px;
- height: 46px !important;
</del><ins>+ border: none;
</ins><span class="cx"> text-align: center;
</span><del>- width: 50px;
- display: block;
</del><ins>+ text-decoration: none;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
</ins><span class="cx"> }
</span><del>-
- /* Updates */
- #wpadminbar #wp-admin-bar-updates {
- text-align: center;
- }
-
- #wpadminbar #wp-admin-bar-updates .ab-icon:before {
- top: 3px;
- }
-
- /* Comments */
- #wpadminbar #wp-admin-bar-comments .ab-icon {
- margin: 0;
- }
-
- #wpadminbar #wp-admin-bar-comments .ab-icon:before {
- display: block;
- font-size: 34px;
- height: 46px;
- line-height: 47px;
- top: 0;
- }
-
- /* My Account */
- #wpadminbar #wp-admin-bar-my-account > a {
- position: relative;
- white-space: nowrap;
- text-indent: 100%;
- width: 28px;
- padding: 0 10px;
- }
-
- #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
- position: absolute;
- top: 13px;
- right: 10px;
- width: 26px;
- height: 26px;
- }
-
- #wpadminbar #wp-admin-bar-user-actions.ab-submenu {
- padding: 0;
- }
-
- #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar {
- display: none;
- }
-
- #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
- margin: 0;
- }
-
- #wpadminbar #wp-admin-bar-user-info .display-name {
- height: auto;
- font-size: 16px;
- line-height: 24px;
- color: #eee;
- }
-
- #wpadminbar #wp-admin-bar-user-info a {
- padding-top: 4px;
- }
-
- #wpadminbar #wp-admin-bar-user-info .username {
- line-height: 0.8 !important;
- margin-bottom: -2px;
- }
-
- /* Hide all third party items */
- #wp-admin-bar-top-secondary > li {
- display: none;
- }
-
- #wp-admin-bar-root-default li#wp-admin-bar-wp-logo,
- #wp-admin-bar-root-default li#wp-admin-bar-my-sites,
- #wp-admin-bar-root-default li#wp-admin-bar-site-name,
- #wp-admin-bar-root-default li#wp-admin-bar-new-content,
- #wp-admin-bar-root-default li#wp-admin-bar-comments,
- #wp-admin-bar-root-default li#wp-admin-bar-new-content,
- #wp-admin-bar-top-secondary li#wp-admin-bar-my-account {
- display: block;
- }
-
- #wpadminbar ul#wp-admin-bar-root-default > li {
- margin-right: 0;
- }
-
- /* Experimental fix for touch toolbar dropdown positioning */
- #wpadminbar .ab-top-menu,
- #wpadminbar .ab-top-secondary,
- #wpadminbar #wp-admin-bar-wp-logo,
- #wpadminbar #wp-admin-bar-my-sites,
- #wpadminbar #wp-admin-bar-site-name,
- #wpadminbar #wp-admin-bar-updates,
- #wpadminbar #wp-admin-bar-comments,
- #wpadminbar #wp-admin-bar-new-content,
- #wpadminbar #wp-admin-bar-my-account {
- position: static;
- }
-
- #wpadminbar #wp-admin-bar-comments,
- #wpadminbar #wp-admin-bar-new-content,
- #wpadminbar #wp-admin-bar-my-account {
- float: right;
- }
-
- #wpadminbar #wp-admin-bar-comments .ab-sub-wrapper,
- #wpadminbar #wp-admin-bar-new-content .ab-sub-wrapper,
- #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper {
- right: 0;
- left: auto;
- }
-
- #wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-comments {
- margin-right: 100px;
- }
-
- #wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-new-content {
- margin-right: -100px;
- }
-
- #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
- margin-right: -150px;
- }
-
- .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
- margin-right: 0;
- }
</del><span class="cx"> }
</span><span class="cx">
</span><del>-/* Horizontal */
-@media screen and (max-width: 480px) and (orientation: landscape) {
- #wpadminbar {
- position: absolute;
- }
-}
-
</del><span class="cx"> /* Smartphone */
</span><span class="cx"> @media screen and (max-width: 480px) {
</span><span class="cx"> #moby6-overlay {
</span><span class="lines">@@ -12852,30 +12562,4 @@
</span><span class="cx"> height: 100%;
</span><span class="cx"> z-index: 400;
</span><span class="cx"> }
</span><del>-
- #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
- position: fixed;
- width: 100%;
- left: 0;
- }
-
- #wpadminbar .menupop .menupop > .ab-item:before {
- display: none;
- }
-
- #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
- margin-left: 0;
- }
-
- #wpadminbar #wp-admin-bar-updates,
- #wpadminbar #wp-admin-bar-view,
- #wpadminbar #wp-admin-bar-edit {
- display: none;
- }
</del><span class="cx"> }
</span><del>-
-@media screen and (max-width: 350px) {
- #wpadminbar #wp-admin-bar-wp-logo {
- display: none;
- }
-}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpincludescssadminbarcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-includes/css/admin-bar.css (26175 => 26176)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-includes/css/admin-bar.css 2013-11-14 22:10:24 UTC (rev 26175)
+++ trunk/src/wp-includes/css/admin-bar.css 2013-11-14 22:36:34 UTC (rev 26176)
</span><span class="lines">@@ -6,7 +6,6 @@
</span><span class="cx"> position: static;
</span><span class="cx"> text-transform: none;
</span><span class="cx"> letter-spacing: normal;
</span><del>- line-height: 30px;
</del><span class="cx"> font: normal 13px/32px "Open Sans", sans-serif;
</span><span class="cx"> color: #eee;
</span><span class="cx"> border-radius: 0;
</span><span class="lines">@@ -19,13 +18,6 @@
</span><span class="cx"> transition: none;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default *,
-#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary * {
- text-transform: none;
- letter-spacing: normal;
- font: normal 13px/32px "Open Sans", sans-serif;
-}
-
</del><span class="cx"> #wpadminbar a.ab-item,
</span><span class="cx"> #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default span.ab-label,
</span><span class="cx"> #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary span.ab-label,
</span><span class="lines">@@ -217,11 +209,12 @@
</span><span class="cx"> color: #2ea2cc;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
</ins><span class="cx"> #wpadminbar .ab-icon,
</span><span class="cx"> #wpadminbar .ab-item:before {
</span><span class="cx"> position: relative;
</span><span class="cx"> float: left;
</span><del>- font: normal 20px/1 'dashicons' !important;
</del><ins>+ font: normal 20px/1 'dashicons';
</ins><span class="cx"> speak: none;
</span><span class="cx"> padding: 4px 0;
</span><span class="cx"> -webkit-font-smoothing: antialiased;
</span><span class="lines">@@ -432,6 +425,7 @@
</span><span class="cx">
</span><span class="cx"> #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
</span><span class="cx"> content: '\f120';
</span><ins>+ top: 2px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /*
</span><span class="lines">@@ -667,3 +661,329 @@
</span><span class="cx"> * html #wpadminbar .menupop a span {
</span><span class="cx"> background-image: none;
</span><span class="cx"> }
</span><ins>+
+
+@media screen and ( max-width: 782px ) {
+ /* Toolbar Touchification*/
+ html.wp-toolbar {
+ padding-top: 46px;
+ }
+
+ html #wpadminbar {
+ left: 0 !important;
+ z-index: 500 !important;
+ height: 46px;
+ min-width: 300px;
+
+ -webkit-transform: translate3d(0, 0, 0);
+ -webkit-backface-visibility: hidden;
+ -webkit-transition: 0;
+ transform: translate3d(0, 0, 0);
+ backface-visibility: hidden;
+ transition: 0;
+ }
+
+ #wpadminbar * {
+ font: normal 14px/32px "Open Sans", sans-serif;
+ }
+
+ #wpadminbar .quicklinks li > a {
+ padding: 0;
+ height: 46px;
+ line-height: 46px;
+ width: auto;
+ }
+
+ #wpadminbar .ab-icon {
+ font: 40px/1 dashicons !important;
+ margin: 0;
+ padding: 0;
+ width: 50px;
+ height: 46px;
+ }
+
+ #wpadminbar .ab-icon:before {
+ text-align: center;
+ }
+
+ #wpadminbar .ab-submenu {
+ padding: 0;
+ }
+
+ #wpadminbar .ab-label {
+ display: none;
+ }
+
+ #wpadminbar .menupop li:hover > .ab-sub-wrapper,
+ #wpadminbar .menupop li.hover > .ab-sub-wrapper {
+ margin-top: -46px;
+ }
+
+ #wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item {
+ padding-right: 30px;
+ }
+
+ #wpadminbar .menupop .menupop > .ab-item:before {
+ top: 10px;
+ right: 6px;
+ }
+
+ #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item {
+ font-size: 16px;
+ padding: 6px 15px 12px;
+ }
+
+ #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty {
+ display: none;
+ }
+
+ /* WP logo */
+ #wpadminbar #wp-admin-bar-wp-logo > .ab-item {
+ padding: 0;
+ }
+
+ #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
+ padding: 0;
+ width: 50px;
+ height: 46px;
+ text-align: center;
+ vertical-align: top;
+ }
+
+ #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
+ font: 28px/1 'dashicons' !important;
+ top: -3px;
+ }
+
+ #wpadminbar .ab-icon,
+ #wpadminbar .ab-item:before {
+ padding: 0;
+ }
+
+ /* My Sites and "Site Title" menu */
+ #wpadminbar #wp-admin-bar-my-sites > .ab-item,
+ #wpadminbar #wp-admin-bar-site-name > .ab-item {
+ text-indent: 100%;
+ text-overflow: clip !important;
+ width: 50px;
+ padding: 0;
+ color: #999;
+ position: relative;
+ }
+
+ #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
+ #wpadminbar .ab-icon,
+ #wpadminbar .ab-item:before {
+ padding: 0;
+ margin-right: 0;
+ }
+
+ #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
+ #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
+ display: block;
+ text-indent: 0;
+ font: normal 32px/1 'dashicons';
+ speak: none;
+ top: 7px;
+ width: 50px;
+ text-align: center;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ }
+
+ #wpadminbar #wp-admin-bar-appearance {
+ margin-top: 0;
+ }
+
+ #wpadminbar .quicklinks li .blavatar:before {
+ display: none;
+ }
+
+ /* Search */
+ #wpadminbar #wp-admin-bar-search {
+ display: none;
+ }
+
+ /* New Content */
+ #wpadminbar #wp-admin-bar-new-content .ab-icon:before {
+ top: 0;
+ line-height: 53px;
+ height: 46px !important;
+ text-align: center;
+ width: 50px;
+ display: block;
+ }
+
+ /* Updates */
+ #wpadminbar #wp-admin-bar-updates {
+ text-align: center;
+ }
+
+ #wpadminbar #wp-admin-bar-updates .ab-icon:before {
+ top: 3px;
+ }
+
+ /* Comments */
+ #wpadminbar #wp-admin-bar-comments .ab-icon {
+ margin: 0;
+ }
+
+ #wpadminbar #wp-admin-bar-comments .ab-icon:before {
+ display: block;
+ font-size: 34px;
+ height: 46px;
+ line-height: 47px;
+ top: 0;
+ }
+
+ /* My Account */
+ #wpadminbar #wp-admin-bar-my-account > a {
+ position: relative;
+ white-space: nowrap;
+ text-indent: 100%;
+ width: 28px;
+ padding: 0 10px;
+ }
+
+ #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
+ position: absolute;
+ top: 13px;
+ right: 10px;
+ width: 26px;
+ height: 26px;
+ }
+
+ #wpadminbar #wp-admin-bar-user-actions.ab-submenu {
+ padding: 0;
+ }
+
+ #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar {
+ display: none;
+ }
+
+ #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
+ margin: 0;
+ }
+
+ #wpadminbar #wp-admin-bar-user-info .display-name {
+ height: auto;
+ font-size: 16px;
+ line-height: 24px;
+ color: #eee;
+ }
+
+ #wpadminbar #wp-admin-bar-user-info a {
+ padding-top: 4px;
+ }
+
+ #wpadminbar #wp-admin-bar-user-info .username {
+ line-height: 0.8 !important;
+ margin-bottom: -2px;
+ }
+
+ /* Hide all third party items */
+ #wp-admin-bar-top-secondary > li {
+ display: none;
+ }
+
+ #wp-admin-bar-root-default li#wp-admin-bar-wp-logo,
+ #wp-admin-bar-root-default li#wp-admin-bar-my-sites,
+ #wp-admin-bar-root-default li#wp-admin-bar-site-name,
+ #wp-admin-bar-root-default li#wp-admin-bar-new-content,
+ #wp-admin-bar-root-default li#wp-admin-bar-comments,
+ #wp-admin-bar-root-default li#wp-admin-bar-new-content,
+ #wp-admin-bar-top-secondary li#wp-admin-bar-my-account {
+ display: block;
+ }
+
+ #wpadminbar ul#wp-admin-bar-root-default > li {
+ margin-right: 0;
+ }
+
+ /* Experimental fix for touch toolbar dropdown positioning */
+ #wpadminbar .ab-top-menu,
+ #wpadminbar .ab-top-secondary,
+ #wpadminbar #wp-admin-bar-wp-logo,
+ #wpadminbar #wp-admin-bar-my-sites,
+ #wpadminbar #wp-admin-bar-site-name,
+ #wpadminbar #wp-admin-bar-updates,
+ #wpadminbar #wp-admin-bar-comments,
+ #wpadminbar #wp-admin-bar-new-content,
+ #wpadminbar #wp-admin-bar-my-account {
+ position: static;
+ }
+
+ #wpadminbar #wp-admin-bar-comments,
+ #wpadminbar #wp-admin-bar-new-content,
+ #wpadminbar #wp-admin-bar-my-account {
+ float: right;
+ }
+
+ #wpadminbar #wp-admin-bar-comments .ab-sub-wrapper,
+ #wpadminbar #wp-admin-bar-new-content .ab-sub-wrapper,
+ #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper {
+ right: 0;
+ left: auto;
+ }
+
+ #wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-comments {
+ margin-right: 100px;
+ }
+
+ #wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-new-content {
+ margin-right: -98px;
+ }
+
+ #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
+ margin-right: -150px;
+ }
+
+ .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
+ margin-right: 0;
+ }
+}
+
+/* Horizontal */
+@media screen and (max-width: 480px) and (orientation: landscape) {
+ #wpadminbar {
+ position: absolute;
+ }
+}
+
+/* Smartphone */
+@media screen and (max-width: 480px) {
+ #moby6-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 400;
+ }
+
+ #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
+ position: fixed;
+ width: 100%;
+ left: 0;
+ }
+
+ #wpadminbar .menupop .menupop > .ab-item:before {
+ display: none;
+ }
+
+ #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
+ margin-left: 0;
+ }
+
+ #wpadminbar #wp-admin-bar-updates,
+ #wpadminbar #wp-admin-bar-view,
+ #wpadminbar #wp-admin-bar-edit {
+ display: none;
+ }
+}
+
+@media screen and (max-width: 350px) {
+ #wpadminbar #wp-admin-bar-wp-logo {
+ display: none;
+ }
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>
</body>
</html>