mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Menus: Fix proximity of controls to Save and Delete menus.
Move the position of the Save and Delete buttons in menu editing so they are immediate neighbors, improving the proximity of related controls. Props 90lines, sabernhardt, costdev. See #56594. git-svn-id: https://develop.svn.wordpress.org/trunk@56449 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -570,7 +570,7 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.check-column .label-covers-full-cell {
|
||||
.check-column label {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
@@ -579,12 +579,12 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.check-column .label-covers-full-cell + input {
|
||||
.check-column input {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.check-column .label-covers-full-cell:hover + input {
|
||||
.check-column:hover input {
|
||||
box-shadow: 0 0 0 1px #2271b1;
|
||||
}
|
||||
|
||||
|
||||
@@ -837,20 +837,13 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
|
||||
/* Major/minor publishing actions (classes) */
|
||||
.nav-menus-php .major-publishing-actions {
|
||||
clear: both;
|
||||
padding: 10px 0;
|
||||
line-height: 2.15384615;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-menus-php .major-publishing-actions .publishing-action {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Same as the Publish Meta Box #delete-action */
|
||||
.nav-menus-php .delete-action {
|
||||
float: left;
|
||||
line-height: 2.1;
|
||||
.nav-menus-php .major-publishing-actions > * {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.nav-menus-php .major-publishing-actions .form-invalid {
|
||||
|
||||
Reference in New Issue
Block a user