2012-08-23 02:04:18 +02:00
|
|
|
body {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-controls a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
#customize-info .accordion-section-content {
|
2012-08-23 02:04:18 +02:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-info .preview-notice {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 24px;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-info .theme-name {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 200;
|
|
|
|
line-height: 24px;
|
|
|
|
color: #333;
|
|
|
|
display: block;
|
|
|
|
text-shadow: 0 1px 0 #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-info .theme-screenshot {
|
|
|
|
width: 258px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-info .theme-description {
|
|
|
|
margin-top: 1em;
|
|
|
|
color: #777;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-controls .submit {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls > ul,
|
2013-02-14 23:58:04 +01:00
|
|
|
#customize-theme-controls .accordion-section-content {
|
2012-08-23 02:04:18 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-header-actions .button-primary {
|
|
|
|
float: right;
|
2012-09-21 21:34:23 +02:00
|
|
|
margin-top: 10px;
|
2012-08-23 02:04:18 +02:00
|
|
|
}
|
|
|
|
|
2012-09-26 21:57:44 +02:00
|
|
|
#customize-header-actions .spinner {
|
|
|
|
margin-top: 16px;
|
2012-08-23 02:04:18 +02:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2012-09-26 21:57:44 +02:00
|
|
|
.saving #customize-header-actions .spinner {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control {
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-title {
|
|
|
|
display: block;
|
|
|
|
line-height: 24px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control select,
|
|
|
|
.customize-control input[type="text"],
|
|
|
|
.customize-control input[type="radio"],
|
|
|
|
.customize-control input[type="checkbox"],
|
|
|
|
.customize-control-color .color-picker,
|
|
|
|
.customize-control-checkbox label,
|
|
|
|
.customize-control-upload div {
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control input[type="text"] {
|
|
|
|
width: 98%;
|
|
|
|
line-height: 18px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control select {
|
|
|
|
min-width: 50%;
|
|
|
|
max-width: 100%;
|
|
|
|
height: 28px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-checkbox input {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-radio {
|
|
|
|
padding: 5px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-radio .customize-control-title {
|
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-radio label {
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-radio input {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-preview iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Style for custom settings
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Dropdowns
|
|
|
|
*/
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .dropdown {
|
2012-08-23 02:04:18 +02:00
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .dropdown-content {
|
2012-08-23 02:04:18 +02:00
|
|
|
overflow: hidden;
|
|
|
|
float: left;
|
|
|
|
min-width: 30px;
|
|
|
|
height: 16px;
|
|
|
|
line-height: 16px;
|
|
|
|
margin-right: 16px;
|
|
|
|
padding: 4px 5px;
|
|
|
|
background-color: #eee;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
-webkit-border-radius: 3px 0 0 3px;
|
|
|
|
border-radius: 3px 0 0 3px;
|
|
|
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control .dropdown-arrow {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 15px;
|
|
|
|
|
|
|
|
border-color: #ccc;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 1px 1px 0;
|
|
|
|
-webkit-border-radius: 0 3px 3px 0;
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control .dropdown-arrow:after {
|
|
|
|
content: '';
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-color: #ccc transparent;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 4px 4px 0 4px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -1px;
|
|
|
|
right: 4px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .dropdown:hover .dropdown-content,
|
2012-08-23 02:04:18 +02:00
|
|
|
.customize-control .dropdown:hover .dropdown-arrow {
|
|
|
|
border-color: #aaa;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .dropdown:hover .dropdown-arrow:after {
|
2012-08-23 02:04:18 +02:00
|
|
|
border-color: #aaa transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control .dropdown-status {
|
|
|
|
display: none;
|
|
|
|
max-width: 112px;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Color Picker
|
|
|
|
*/
|
2012-09-27 19:08:32 +02:00
|
|
|
.customize-control-color .color-picker-hex {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-09-27 19:08:32 +02:00
|
|
|
.customize-control-color.open .color-picker-hex {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-color .dropdown {
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-color .dropdown .dropdown-content {
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid rgba( 0, 0, 0, 0.15 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-color .dropdown:hover .dropdown-content {
|
|
|
|
border-color: rgba( 0, 0, 0, 0.25 );
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section input[type="text"].color-picker-hex {
|
2012-09-27 19:08:32 +02:00
|
|
|
width: 65px;
|
2012-08-23 02:04:18 +02:00
|
|
|
font-family: monospace;
|
|
|
|
text-align: center;
|
2012-11-06 00:00:15 +01:00
|
|
|
line-height: 16px;
|
2012-08-23 02:04:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The centered cursor overlaps the placeholder in webkit. Hide it when selected. */
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section input[type="text"].color-picker-hex:focus::-webkit-input-placeholder {
|
2012-08-23 02:04:18 +02:00
|
|
|
color: transparent;
|
|
|
|
}
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section input[type="text"].color-picker-hex:-moz-placeholder {
|
2012-08-23 02:04:18 +02:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Image Picker
|
|
|
|
*/
|
|
|
|
.customize-control-image .library,
|
|
|
|
.customize-control-image .actions {
|
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-image.open .library,
|
|
|
|
.customize-control-image.open .actions {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .dropdown-content {
|
2012-08-23 02:04:18 +02:00
|
|
|
height: auto;
|
|
|
|
min-height: 24px;
|
|
|
|
min-width: 40px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .dropdown-status {
|
2012-08-23 02:04:18 +02:00
|
|
|
padding: 4px 5px;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .preview-thumbnail img {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 122px;
|
|
|
|
max-height: 98px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .actions {
|
2012-08-23 02:04:18 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library ul {
|
2012-08-23 02:04:18 +02:00
|
|
|
border-bottom: 1px solid #dfdfdf;
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
margin: 10px 0 0;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library li {
|
2012-08-23 02:04:18 +02:00
|
|
|
color: #999;
|
|
|
|
float: left;
|
|
|
|
padding: 3px 5px;
|
|
|
|
margin: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
|
|
|
border-width: 1px 1px 0 1px;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library li.library-selected {
|
2012-08-23 02:04:18 +02:00
|
|
|
margin-bottom: -1px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
|
|
|
color: #777;
|
|
|
|
background: #fdfdfd;
|
|
|
|
border-color: #dfdfdf;
|
|
|
|
-webkit-border-radius: 3px 3px 0 0;
|
|
|
|
border-radius: 3px 3px 0 0 ;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library-content {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library-content.library-selected {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library .thumbnail {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library .thumbnail:hover img {
|
2012-08-23 02:04:18 +02:00
|
|
|
border-color: #21759b;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-image .library .thumbnail img {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
max-width: 90%;
|
|
|
|
max-height: 80px;
|
|
|
|
|
|
|
|
margin: 5px auto;
|
|
|
|
padding: 4px;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #dfdfdf;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-upload .upload-fallback,
|
|
|
|
.accordion-section .customize-control-image .upload-fallback {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-upload .upload-dropzone,
|
|
|
|
.accordion-section .customize-control-image .upload-dropzone {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: none;
|
|
|
|
padding: 15px 10px;
|
|
|
|
border: 3px dashed #dfdfdf;
|
|
|
|
margin: 5px auto;
|
|
|
|
text-align: center;
|
|
|
|
color: #777;
|
|
|
|
position: relative;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop,
|
|
|
|
.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop {
|
2012-08-23 02:04:18 +02:00
|
|
|
display: block;
|
|
|
|
-webkit-transition: border-color 0.1s;
|
|
|
|
-moz-transition: border-color 0.1s;
|
|
|
|
-ms-transition: border-color 0.1s;
|
|
|
|
-o-transition: border-color 0.1s;
|
|
|
|
transition: border-color 0.1s;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-upload .library ul li,
|
|
|
|
.accordion-section .customize-control-image .library ul li {
|
2012-08-23 02:04:18 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:58:04 +01:00
|
|
|
.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over,
|
|
|
|
.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over {
|
2012-08-23 02:04:18 +02:00
|
|
|
border-color: #83b4d8;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* iOS can't scroll iframes,
|
|
|
|
* instead it expands the iframe size to match the size of the content
|
|
|
|
*/
|
|
|
|
.ios .wp-full-overlay {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios #customize-preview {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios #customize-controls .wp-full-overlay-sidebar-content {
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handle cheaters.
|
|
|
|
*/
|
|
|
|
body.cheatin {
|
|
|
|
min-width: 0;
|
|
|
|
background: #f9f9f9;
|
|
|
|
padding: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.cheatin p {
|
|
|
|
max-width: 700px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 2em;
|
|
|
|
font-size: 14px;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #dfdfdf;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|