Give the adminbar Edit Post link an icon, and make it visible on small screen responsive states. See #26071.

Built from https://develop.svn.wordpress.org/trunk@26559


git-svn-id: http://core.svn.wordpress.org/trunk@26450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-12-03 17:25:10 +00:00
parent 187d2fa1ff
commit 32f55716df
4 changed files with 28 additions and 8 deletions

View File

@ -468,6 +468,11 @@
top: 2px; top: 2px;
} }
#wpadminbar #wp-admin-bar-edit > .ab-item:before {
content: '\f327';
top: 2px;
}
#wpadminbar #wp-admin-bar-site-name > .ab-item:before { #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
content: '\f319'; content: '\f319';
} }
@ -763,9 +768,11 @@
/* My Sites and "Site Title" menu */ /* My Sites and "Site Title" menu */
#wpadminbar #wp-admin-bar-my-sites > .ab-item, #wpadminbar #wp-admin-bar-my-sites > .ab-item,
#wpadminbar #wp-admin-bar-site-name > .ab-item { #wpadminbar #wp-admin-bar-site-name > .ab-item,
#wpadminbar #wp-admin-bar-edit > .ab-item {
text-indent: 100%; text-indent: 100%;
text-overflow: clip !important; white-space: nowrap;
overflow: hidden;
width: 50px; width: 50px;
padding: 0; padding: 0;
color: #999; color: #999;
@ -778,7 +785,8 @@
padding: 0; padding: 0;
margin-left: 0; margin-left: 0;
} }
#wpadminbar #wp-admin-bar-edit > .ab-item:before,
#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
#wpadminbar #wp-admin-bar-site-name > .ab-item:before { #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
display: block; display: block;
@ -892,6 +900,7 @@
#wp-admin-bar-root-default li#wp-admin-bar-my-sites, #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-site-name,
#wp-admin-bar-root-default li#wp-admin-bar-new-content, #wp-admin-bar-root-default li#wp-admin-bar-new-content,
#wp-admin-bar-root-default li#wp-admin-bar-edit,
#wp-admin-bar-root-default li#wp-admin-bar-comments, #wp-admin-bar-root-default li#wp-admin-bar-comments,
#wp-admin-bar-root-default li#wp-admin-bar-new-content, #wp-admin-bar-root-default li#wp-admin-bar-new-content,
#wp-admin-bar-top-secondary li#wp-admin-bar-my-account { #wp-admin-bar-top-secondary li#wp-admin-bar-my-account {
@ -911,6 +920,7 @@
#wpadminbar #wp-admin-bar-updates, #wpadminbar #wp-admin-bar-updates,
#wpadminbar #wp-admin-bar-comments, #wpadminbar #wp-admin-bar-comments,
#wpadminbar #wp-admin-bar-new-content, #wpadminbar #wp-admin-bar-new-content,
#wpadminbar #wp-admin-bar-edit,
#wpadminbar #wp-admin-bar-my-account { #wpadminbar #wp-admin-bar-my-account {
position: static; position: static;
} }

File diff suppressed because one or more lines are too long

View File

@ -468,6 +468,11 @@
top: 2px; top: 2px;
} }
#wpadminbar #wp-admin-bar-edit > .ab-item:before {
content: '\f327';
top: 2px;
}
#wpadminbar #wp-admin-bar-site-name > .ab-item:before { #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
content: '\f319'; content: '\f319';
} }
@ -763,9 +768,11 @@
/* My Sites and "Site Title" menu */ /* My Sites and "Site Title" menu */
#wpadminbar #wp-admin-bar-my-sites > .ab-item, #wpadminbar #wp-admin-bar-my-sites > .ab-item,
#wpadminbar #wp-admin-bar-site-name > .ab-item { #wpadminbar #wp-admin-bar-site-name > .ab-item,
#wpadminbar #wp-admin-bar-edit > .ab-item {
text-indent: 100%; text-indent: 100%;
text-overflow: clip !important; white-space: nowrap;
overflow: hidden;
width: 50px; width: 50px;
padding: 0; padding: 0;
color: #999; color: #999;
@ -778,7 +785,8 @@
padding: 0; padding: 0;
margin-right: 0; margin-right: 0;
} }
#wpadminbar #wp-admin-bar-edit > .ab-item:before,
#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
#wpadminbar #wp-admin-bar-site-name > .ab-item:before { #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
display: block; display: block;
@ -892,6 +900,7 @@
#wp-admin-bar-root-default li#wp-admin-bar-my-sites, #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-site-name,
#wp-admin-bar-root-default li#wp-admin-bar-new-content, #wp-admin-bar-root-default li#wp-admin-bar-new-content,
#wp-admin-bar-root-default li#wp-admin-bar-edit,
#wp-admin-bar-root-default li#wp-admin-bar-comments, #wp-admin-bar-root-default li#wp-admin-bar-comments,
#wp-admin-bar-root-default li#wp-admin-bar-new-content, #wp-admin-bar-root-default li#wp-admin-bar-new-content,
#wp-admin-bar-top-secondary li#wp-admin-bar-my-account { #wp-admin-bar-top-secondary li#wp-admin-bar-my-account {
@ -911,6 +920,7 @@
#wpadminbar #wp-admin-bar-updates, #wpadminbar #wp-admin-bar-updates,
#wpadminbar #wp-admin-bar-comments, #wpadminbar #wp-admin-bar-comments,
#wpadminbar #wp-admin-bar-new-content, #wpadminbar #wp-admin-bar-new-content,
#wpadminbar #wp-admin-bar-edit,
#wpadminbar #wp-admin-bar-my-account { #wpadminbar #wp-admin-bar-my-account {
position: static; position: static;
} }

File diff suppressed because one or more lines are too long