Make older mobile browsers and IE7 usable:

- Text labels in the toolbar.
- Image icons in the visual editor.
- Some IE7 structural css fixes.
Fixes #26369.

git-svn-id: https://develop.svn.wordpress.org/trunk@26819 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2013-12-09 02:40:32 +00:00
parent 95ae118435
commit 68f9e4db5e
5 changed files with 344 additions and 3 deletions
+41 -2
View File
@@ -709,6 +709,47 @@ html:lang(he-il) .rtl #wpadminbar * {
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*/
@@ -1001,8 +1042,6 @@ html:lang(he-il) .rtl #wpadminbar * {
left: auto;
}
.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
margin-right: 0;
}