mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20133 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,19 +2,6 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#customize-controls {
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
background: #f5f5f5;
|
||||
box-shadow: inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 );
|
||||
border-right: 1px solid rgba( 0, 0, 0, 0.2 );
|
||||
}
|
||||
|
||||
#customize-controls a {
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -120,35 +107,6 @@ body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#customize-header-actions,
|
||||
#customize-footer-actions {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
width: 260px;
|
||||
padding: 15px 20px;
|
||||
margin: 0;
|
||||
z-index: 10;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
#customize-header-actions {
|
||||
top: 0;
|
||||
border-top: 0;
|
||||
border-bottom: 1px solid #fff;
|
||||
box-shadow:
|
||||
inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 ),
|
||||
inset 0 -1px 0 0px #dfdfdf;
|
||||
}
|
||||
|
||||
#customize-footer-actions {
|
||||
bottom: 0;
|
||||
border-bottom: 0;
|
||||
border-top: 1px solid #dfdfdf;
|
||||
box-shadow:
|
||||
inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 ),
|
||||
inset 0 1px 0 0px #fff;
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
position: fixed;
|
||||
left: 300px;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
body.customize-active{overflow:hidden}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;top:0;bottom:0;left:0;right:0}.customize-active #customize-container{display:block}#customize-container.collapsed{left:-302px}#customize-container iframe{height:100%;width:100%;z-index:20}#customize-container .collapse-sidebar,#customize-container .return-to-admin{z-index:50;position:absolute;text-decoration:none}#customize-container .return-to-admin{top:15px;left:20px}#customize-container .collapse-sidebar{position:absolute;top:13px;left:265px;z-index:50;display:block;width:19px;height:19px;padding:0;border-radius:50%}#customize-container.collapsed .collapse-sidebar{position:absolute;left:315px}#customize-container .collapse-sidebar span{margin-top:2px;margin-left:2px;display:block;width:15px;height:15px;background:transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -72px}#customize-container.collapsed .collapse-sidebar span{background-position:0 -108px}#customize-container,#customize-container .collapse-sidebar{-moz-transition-property:left,right,top,bottom;-webkit-transition-property:left,right,top,bottom;-o-transition-property:left,right,top,bottom;-ms-transition-property:left,right,top,bottom;transition-property:left,right,top,bottom;-moz-transition-duration:.2s;-webkit-transition-duration:.2s;-o-transition-duration:.2s;-ms-transition-duration:.2s;transition-duration:.2s}
|
||||
@@ -1,83 +0,0 @@
|
||||
body.customize-active {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#customize-container {
|
||||
display: none;
|
||||
background: #fff;
|
||||
z-index: 500000;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.customize-active #customize-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#customize-container.collapsed {
|
||||
left: -302px;
|
||||
}
|
||||
|
||||
#customize-container iframe {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
#customize-container .collapse-sidebar,
|
||||
#customize-container .return-to-admin {
|
||||
z-index: 50;
|
||||
position: absolute;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#customize-container .return-to-admin {
|
||||
top: 15px;
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
/* Collapse Button */
|
||||
#customize-container .collapse-sidebar {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 265px;
|
||||
z-index: 50;
|
||||
display: block;
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
#customize-container.collapsed .collapse-sidebar {
|
||||
position: absolute;
|
||||
left: 315px;
|
||||
}
|
||||
#customize-container .collapse-sidebar span {
|
||||
margin-top: 2px;
|
||||
margin-left: 2px;
|
||||
display: block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -72px;
|
||||
}
|
||||
#customize-container.collapsed .collapse-sidebar span {
|
||||
background-position: 0 -108px;
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
#customize-container,
|
||||
#customize-container .collapse-sidebar {
|
||||
-moz-transition-property: left, right, top, bottom;
|
||||
-webkit-transition-property: left, right, top, bottom;
|
||||
-o-transition-property: left, right, top, bottom;
|
||||
-ms-transition-property: left, right, top, bottom;
|
||||
transition-property: left, right, top, bottom;
|
||||
-moz-transition-duration: 0.2s;
|
||||
-webkit-transition-duration: 0.2s;
|
||||
-o-transition-duration: 0.2s;
|
||||
-ms-transition-duration: 0.2s;
|
||||
transition-duration: 0.2s;
|
||||
}
|
||||
Reference in New Issue
Block a user