Menus screen: improve responsiveness of select elements.

Props Luan-Ramos, sagarjadhav.
Fixes #31826.
Built from https://develop.svn.wordpress.org/trunk@36264


git-svn-id: http://core.svn.wordpress.org/trunk@36231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-01-11 23:05:26 +00:00
parent 057ec3cec0
commit 876ab5c293
5 changed files with 43 additions and 49 deletions

View File

@ -86,19 +86,18 @@ ul.add-menu-item-tabs li {
background: #fbfbfb; background: #fbfbfb;
} }
.manage-menus select { .manage-menus .selected-menu,
float: right; .manage-menus select,
margin-left: 6px; .manage-menus .submit-btn,
.nav-menus-php .add-new-menu-action {
display: inline-block;
margin-left: 3px;
vertical-align: middle;
} }
.manage-menus .selected-menu { .manage-menus select,
float: right; .menu-location-menus select {
margin: 5px 0 0 6px; max-width: 100%;
}
.manage-menus .submit-btn {
float: right;
margin-top: 1px;
} }
.menu-edit #post-body-content h3 { .menu-edit #post-body-content h3 {
@ -212,12 +211,8 @@ ul.add-menu-item-tabs li {
margin-top: -2px; margin-top: -2px;
} }
.widefat .menu-locations tr + tr td { .widefat .menu-locations .menu-location-title {
padding-top: 0; padding: 13px 10px 0;
}
.widefat .menu-locations td {
vertical-align: middle;
} }
.menu-location-title label { .menu-location-title label {
@ -308,12 +303,6 @@ ul.add-menu-item-tabs li {
padding: 0; padding: 0;
} }
.nav-menus-php .add-new-menu-action {
float: right;
margin: 6px 6px 0 0;
line-height: 15px;
}
.nav-menus-php .meta-sep, .nav-menus-php .meta-sep,
.nav-menus-php .submitdelete, .nav-menus-php .submitdelete,
.nav-menus-php .submitcancel { .nav-menus-php .submitcancel {
@ -923,6 +912,14 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
margin-right: 0; margin-right: 0;
margin-bottom: 15px; margin-bottom: 15px;
} }
.manage-menus select {
margin: 0.5em 0;
}
.widefat .menu-locations .menu-location-title {
padding-top: 16px;
}
} }
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {

View File

@ -86,19 +86,18 @@ ul.add-menu-item-tabs li {
background: #fbfbfb; background: #fbfbfb;
} }
.manage-menus select { .manage-menus .selected-menu,
float: left; .manage-menus select,
margin-right: 6px; .manage-menus .submit-btn,
.nav-menus-php .add-new-menu-action {
display: inline-block;
margin-right: 3px;
vertical-align: middle;
} }
.manage-menus .selected-menu { .manage-menus select,
float: left; .menu-location-menus select {
margin: 5px 6px 0 0; max-width: 100%;
}
.manage-menus .submit-btn {
float: left;
margin-top: 1px;
} }
.menu-edit #post-body-content h3 { .menu-edit #post-body-content h3 {
@ -212,12 +211,8 @@ ul.add-menu-item-tabs li {
margin-top: -2px; margin-top: -2px;
} }
.widefat .menu-locations tr + tr td { .widefat .menu-locations .menu-location-title {
padding-top: 0; padding: 13px 10px 0;
}
.widefat .menu-locations td {
vertical-align: middle;
} }
.menu-location-title label { .menu-location-title label {
@ -308,12 +303,6 @@ ul.add-menu-item-tabs li {
padding: 0; padding: 0;
} }
.nav-menus-php .add-new-menu-action {
float: left;
margin: 6px 0 0 6px;
line-height: 15px;
}
.nav-menus-php .meta-sep, .nav-menus-php .meta-sep,
.nav-menus-php .submitdelete, .nav-menus-php .submitdelete,
.nav-menus-php .submitcancel { .nav-menus-php .submitcancel {
@ -923,6 +912,14 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
margin-left: 0; margin-left: 0;
margin-bottom: 15px; margin-bottom: 15px;
} }
.manage-menus select {
margin: 0.5em 0;
}
.widefat .menu-locations .menu-location-title {
padding-top: 16px;
}
} }
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36263'; $wp_version = '4.5-alpha-36264';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.