Customizer: Remove obsolete .control-panel-back and .customize-overlay-close buttons.
props afercia, ocean90. see #31336. fixes #33229. Built from https://develop.svn.wordpress.org/trunk@33599 git-svn-id: http://core.svn.wordpress.org/trunk@33566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -41,10 +41,6 @@ body {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#customize-header-actions .secondary-actions {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#customize-controls .wp-full-overlay-sidebar-content {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
@@ -273,10 +269,6 @@ h3.customize-section-title {
|
||||
right: -100%;
|
||||
}
|
||||
|
||||
.section-open .control-panel-back {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.accordion-sub-container.control-panel-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
@@ -300,7 +292,6 @@ h3.customize-section-title {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.customize-overlay-close,
|
||||
.customize-controls-close {
|
||||
display: block;
|
||||
position: absolute;
|
||||
@@ -322,29 +313,6 @@ h3.customize-section-title {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.customize-overlay-close {
|
||||
right: auto;
|
||||
left: 0;
|
||||
border-left: 0;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.control-panel-back {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
right: -48px;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
padding-left: 2px;
|
||||
background: #eee;
|
||||
border-left: 1px solid #ddd;
|
||||
cursor: pointer;
|
||||
-webkit-transition: right .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out;
|
||||
transition: right .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out;
|
||||
}
|
||||
|
||||
.customize-panel-back,
|
||||
.customize-section-back {
|
||||
display: block;
|
||||
@@ -367,14 +335,12 @@ h3.customize-section-title {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.ios .control-panel-back,
|
||||
.ios .customize-panel-back,
|
||||
.ios .customize-section-back {
|
||||
-webkit-transition: right 0s;
|
||||
transition: right 0s;
|
||||
}
|
||||
|
||||
.collapsed .control-panel-back,
|
||||
.ios .customize-panel-back {
|
||||
display: none;
|
||||
}
|
||||
@@ -392,12 +358,8 @@ h3.customize-section-title {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.customize-overlay-close:focus,
|
||||
.customize-overlay-close:hover,
|
||||
.customize-controls-close:focus,
|
||||
.customize-controls-close:hover,
|
||||
.control-panel-back:focus,
|
||||
.control-panel-back:hover,
|
||||
.customize-controls-preview-toggle:focus,
|
||||
.customize-controls-preview-toggle:hover {
|
||||
background: #ddd;
|
||||
@@ -419,7 +381,6 @@ h3.customize-section-title {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.customize-overlay-close:before,
|
||||
.customize-controls-close:before {
|
||||
font: normal 22px/45px dashicons;
|
||||
content: "\f335";
|
||||
@@ -436,14 +397,6 @@ h3.customize-section-title {
|
||||
right: 13px;
|
||||
}
|
||||
|
||||
.control-panel-back:before {
|
||||
font: normal 20px/45px dashicons;
|
||||
content: "\f345";
|
||||
position: relative;
|
||||
top: 1px;
|
||||
right: 13px;
|
||||
}
|
||||
|
||||
.wp-full-overlay-sidebar .wp-full-overlay-header {
|
||||
-webkit-transition: padding ease-in-out .18s;
|
||||
transition: padding ease-in-out .18s;
|
||||
|
||||
Reference in New Issue
Block a user