Make the item-controls elements on the Edit Menus page line up; use :before instead of :after for item-edit icons for better cross-browser performance; switch to :after instead of ::after for pseudo-elements so IE8 displays these icons properly. Fixes #26059, props jeremyfelt.
git-svn-id: https://develop.svn.wordpress.org/trunk@26256 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c8d0070d64
commit
132e26e81a
@ -1729,7 +1729,7 @@ div.widgets-sortables,
|
|||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-menus-php .item-edit:after,
|
.nav-menus-php .item-edit:before,
|
||||||
#wp_inactive_widgets .widget .widget-top a.widget-action:after {
|
#wp_inactive_widgets .widget .widget-top a.widget-action:after {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
@ -9081,7 +9081,7 @@ body.interim-login {
|
|||||||
padding-right: 2px;
|
padding-right: 2px;
|
||||||
height: auto;
|
height: auto;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
line-height: 35px;
|
line-height: 30px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
@ -9183,7 +9183,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
|||||||
.item-type {
|
.item-type {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 7px 10px;
|
padding: 7px 10px;
|
||||||
line-height: 22px;
|
line-height: 18px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9209,12 +9209,14 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
|||||||
.nav-menus-php .item-edit {
|
.nav-menus-php .item-edit {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -20px;
|
right: -20px;
|
||||||
top: -24px;
|
top: 0;
|
||||||
display: block;
|
display: block;
|
||||||
width: 40px;
|
width: 30px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
text-indent:-999em;
|
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
|
text-indent: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Menu editing */
|
/* Menu editing */
|
||||||
@ -10406,10 +10408,10 @@ div#widgets-right .widgets-sortables:before {
|
|||||||
.js .closed br.clear {
|
.js .closed br.clear {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.nav-menus-php .item-edit:after,
|
.nav-menus-php .item-edit:before,
|
||||||
.widget-top a.widget-action:after,
|
.widget-top a.widget-action:after,
|
||||||
.control-section .accordion-section-title::after,
|
.control-section .accordion-section-title:after,
|
||||||
.accordion-section-title::after {
|
.accordion-section-title:after {
|
||||||
right: 0;
|
right: 0;
|
||||||
content: '\f141';
|
content: '\f141';
|
||||||
border: none;
|
border: none;
|
||||||
@ -10425,21 +10427,20 @@ div#widgets-right .widgets-sortables:before {
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
.control-section .accordion-section-title::after,
|
.nav-menus-php .item-edit:before {
|
||||||
.accordion-section-title::after {
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
.control-section .accordion-section-title:after,
|
||||||
|
.accordion-section-title:after {
|
||||||
float: right;
|
float: right;
|
||||||
right: 20px;
|
right: 20px;
|
||||||
top: -2px;
|
top: -2px;
|
||||||
}
|
}
|
||||||
.control-section.open .accordion-section-title::after,
|
.control-section.open .accordion-section-title:after,
|
||||||
#customize-info.open .accordion-section-title::after,
|
#customize-info.open .accordion-section-title:after,
|
||||||
.nav-menus-php .menu-item-edit-active .item-edit:after {
|
.nav-menus-php .menu-item-edit-active .item-edit:before {
|
||||||
content: '\f140';
|
content: '\f140';
|
||||||
}
|
}
|
||||||
.nav-menus-php .item-controls .item-type {
|
|
||||||
padding: 11px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide Widget Settings by Default */
|
/* Hide Widget Settings by Default */
|
||||||
.widget-inside,
|
.widget-inside,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user