At responsive sizes, remove the hard-coded fixed positioning for Comments and Add New in the toolbar. Make links slightly wider to better fill small-screen devices. Fixes #26432.
Built from https://develop.svn.wordpress.org/trunk@26710 git-svn-id: http://core.svn.wordpress.org/trunk@26599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
328a393f69
commit
4352cd7a12
|
@ -765,7 +765,7 @@
|
|||
|
||||
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
|
||||
padding: 0;
|
||||
width: 50px;
|
||||
width: 55px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
|
@ -788,7 +788,7 @@
|
|||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
width: 50px;
|
||||
width: 55px;
|
||||
padding: 0;
|
||||
color: #999;
|
||||
position: relative;
|
||||
|
@ -954,30 +954,16 @@
|
|||
position: static;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-comments,
|
||||
#wpadminbar #wp-admin-bar-new-content,
|
||||
#wpadminbar #wp-admin-bar-my-account {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#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 {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
#wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-comments {
|
||||
margin-left: 100px;
|
||||
}
|
||||
|
||||
#wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-new-content {
|
||||
margin-left: -98px;
|
||||
}
|
||||
|
||||
#wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
|
||||
margin-left: -150px;
|
||||
}
|
||||
|
||||
.network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
|
||||
margin-left: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -765,7 +765,7 @@
|
|||
|
||||
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
|
||||
padding: 0;
|
||||
width: 50px;
|
||||
width: 55px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
|
@ -788,7 +788,7 @@
|
|||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
width: 50px;
|
||||
width: 55px;
|
||||
padding: 0;
|
||||
color: #999;
|
||||
position: relative;
|
||||
|
@ -954,30 +954,16 @@
|
|||
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;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue