Archived
Updates bonanza
This commit is contained in:
1 parent
d26191c9f8
commit
9d480fc3c5
1366 files changed
+220321
-90180
No files matched your search
+447
-290
@@ -6,165 +6,21 @@ body {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.customize-section {
|
||||
border-top: 1px solid #fff;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.control-section.customize-section:hover,
|
||||
.control-section.customize-section.open {
|
||||
border-top-color: #808080;
|
||||
}
|
||||
|
||||
.control-section.customize-section:hover {
|
||||
border-bottom-color: #6d6d6d;
|
||||
}
|
||||
|
||||
.customize-section.open:hover {
|
||||
border-bottom-color: #dfdfdf;
|
||||
}
|
||||
|
||||
.customize-section:last-child {
|
||||
box-shadow: 0 1px 0 0px #fff;
|
||||
}
|
||||
|
||||
.customize-section-title {
|
||||
margin: 0;
|
||||
padding: 15px 20px;
|
||||
position: relative;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.customize-section-title:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.cannot-expand .customize-section-title {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.customize-section-content {
|
||||
display: none;
|
||||
padding: 10px 20px 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.control-section .customize-section-title {
|
||||
padding: 10px 20px;
|
||||
font-size: 15px;
|
||||
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
||||
font-weight: normal;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background: #f5f5f5;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#f5f5f5));
|
||||
background-image: -webkit-linear-gradient(bottom, #eee, #f5f5f5);
|
||||
background-image: -moz-linear-gradient(bottom, #eee, #f5f5f5);
|
||||
background-image: -o-linear-gradient(bottom, #eee, #f5f5f5);
|
||||
background-image: linear-gradient(to top, #eee, #f5f5f5);
|
||||
}
|
||||
|
||||
.control-section:hover .customize-section-title,
|
||||
.control-section .customize-section-title:hover,
|
||||
.control-section.open .customize-section-title,
|
||||
.control-section .customize-section-title:focus {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 #333;
|
||||
background: #808080;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, from(#6d6d6d), to(#808080));
|
||||
background-image: -webkit-linear-gradient(bottom, #6d6d6d, #808080);
|
||||
background-image: -moz-linear-gradient(bottom, #6d6d6d, #808080);
|
||||
background-image: -o-linear-gradient(bottom, #6d6d6d, #808080);
|
||||
background-image: linear-gradient(to top, #6d6d6d, #808080);
|
||||
}
|
||||
|
||||
.control-section.open .customize-section-title {
|
||||
border-bottom: 1px solid #6d6d6d;
|
||||
}
|
||||
|
||||
.customize-section.open .customize-section-content {
|
||||
display: block;
|
||||
background: #fdfdfd;
|
||||
}
|
||||
|
||||
.customize-section-title:after {
|
||||
content: '';
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-color: #ccc transparent;
|
||||
border-style: solid;
|
||||
border-width: 6px 6px 0;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 20px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.cannot-expand .customize-section-title:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.customize-section-title:hover:after,
|
||||
.customize-section-title:focus:after {
|
||||
border-color: #aaa transparent;
|
||||
}
|
||||
|
||||
.control-section .customize-section-title:hover:after,
|
||||
.control-section .customize-section-title:focus:after {
|
||||
border-color: #eee transparent;
|
||||
}
|
||||
|
||||
.control-section .customize-section-title:after {
|
||||
top: 15px;
|
||||
}
|
||||
|
||||
#customize-info .customize-section-content {
|
||||
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 h3 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#customize-controls .submit {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#customize-theme-controls > ul,
|
||||
#customize-theme-controls .customize-section-content {
|
||||
margin: 0;
|
||||
#customize-controls .description {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
#customize-header-actions .button-primary {
|
||||
float: right;
|
||||
margin-top: 10px;
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
#customize-header-actions .spinner {
|
||||
@@ -176,6 +32,117 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#customize-info {
|
||||
border: none;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#customize-info .accordion-section-title {
|
||||
background-color: #fff;
|
||||
color: #666666;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
#customize-info.open .accordion-section-title,
|
||||
#customize-info .accordion-section-title:hover,
|
||||
#customize-info .accordion-section-title:focus {
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
#customize-info.open .accordion-section-title:after,
|
||||
#customize-info .accordion-section-title:hover:after,
|
||||
#customize-info .accordion-section-title:focus:after {
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
#customize-info.open .accordion-section-title {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#customize-info .preview-notice {
|
||||
font-size: 13px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
#customize-info .theme-name {
|
||||
font-size: 20px;
|
||||
font-weight: 200;
|
||||
line-height: 24px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#customize-info .theme-screenshot {
|
||||
width: 258px;
|
||||
}
|
||||
|
||||
#customize-info .theme-description {
|
||||
margin-top: 1em;
|
||||
color: #666666;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#customize-theme-controls {
|
||||
-webkit-box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#customize-theme-controls .accordion-section-title {
|
||||
color: #555555;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
#customize-theme-controls .accordion-section-content {
|
||||
color: #555555;
|
||||
background: white;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section:hover .accordion-section-title,
|
||||
#customize-theme-controls .control-section .accordion-section-title:hover,
|
||||
#customize-theme-controls .control-section.open .accordion-section-title,
|
||||
#customize-theme-controls .control-section .accordion-section-title:focus {
|
||||
color: #555555;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.js .control-section:hover .accordion-section-title,
|
||||
.js .control-section .accordion-section-title:hover,
|
||||
.js .control-section.open .accordion-section-title,
|
||||
.js .control-section .accordion-section-title:focus {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section:hover .accordion-section-title::after,
|
||||
#customize-theme-controls .control-section .accordion-section-title:hover::after,
|
||||
#customize-theme-controls .control-section.open .accordion-section-title::after,
|
||||
#customize-theme-controls .control-section .accordion-section-title:focus::after {
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section.open {
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section.open .accordion-section-title {
|
||||
border-bottom-color: #eeeeee !important;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section:last-of-type.open,
|
||||
#customize-theme-controls .control-section:last-of-type .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
}
|
||||
|
||||
#customize-theme-controls > ul,
|
||||
#customize-theme-controls .accordion-section-content {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.customize-control {
|
||||
width: 100%;
|
||||
float: left;
|
||||
@@ -183,19 +150,10 @@ body {
|
||||
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 {
|
||||
.customize-control input[type="checkbox"] {
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
@@ -212,6 +170,24 @@ body {
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.customize-control select[multiple] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.customize-control-title {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.customize-control-color .color-picker,
|
||||
.customize-control-checkbox label,
|
||||
.customize-control-upload div {
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.customize-control-checkbox input {
|
||||
margin-right: 5px;
|
||||
}
|
||||
@@ -226,7 +202,7 @@ body {
|
||||
}
|
||||
|
||||
.customize-control-radio label {
|
||||
line-height: 20px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.customize-control-radio input {
|
||||
@@ -238,24 +214,44 @@ body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Style for custom settings
|
||||
*/
|
||||
.wp-full-overlay-sidebar {
|
||||
background: #eeeeee;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.collapse-sidebar {
|
||||
background-color: transparent !important;
|
||||
border: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
-webkit-border-radius: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.collapse-sidebar:active,
|
||||
.collapse-sidebar:active .collapse-sidebar-label,
|
||||
.collapse-sidebar:active .collapse-sidebar-arrow:before {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.collapsed .collapse-sidebar-arrow:before {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
/* Style for custom settings */
|
||||
|
||||
/*
|
||||
* Dropdowns
|
||||
*/
|
||||
.customize-section .dropdown {
|
||||
.accordion-section .dropdown {
|
||||
float: left;
|
||||
display: block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.customize-section .dropdown-content {
|
||||
.accordion-section .dropdown-content {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
min-width: 30px;
|
||||
@@ -263,13 +259,10 @@ body {
|
||||
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;
|
||||
|
||||
border: 2px solid #eeeeee;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@@ -278,47 +271,33 @@ body {
|
||||
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;
|
||||
width: 20px;
|
||||
background: #eeeeee;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.customize-section .dropdown:hover .dropdown-content,
|
||||
.customize-control .dropdown:hover .dropdown-arrow {
|
||||
border-color: #aaa;
|
||||
}
|
||||
|
||||
.customize-section .dropdown:hover .dropdown-arrow:after {
|
||||
border-color: #aaa transparent;
|
||||
content: "\f140";
|
||||
font: normal 20px/1 'dashicons';
|
||||
speak: none;
|
||||
display: block;
|
||||
padding: 0;
|
||||
text-indent: 0;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-decoration: none !important;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.customize-control .dropdown-status {
|
||||
color: #333;
|
||||
background: #eeeeee;
|
||||
display: none;
|
||||
max-width: 112px;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
/*
|
||||
* Color Picker
|
||||
*/
|
||||
/* Color Picker */
|
||||
.customize-control-color .color-picker-hex {
|
||||
display: none;
|
||||
}
|
||||
@@ -333,27 +312,12 @@ body {
|
||||
}
|
||||
|
||||
.customize-control-color .dropdown .dropdown-content {
|
||||
background-color: #fff;
|
||||
border: 1px solid rgba( 0, 0, 0, 0.15 );
|
||||
background-color: #555555;
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.customize-control-color .dropdown:hover .dropdown-content {
|
||||
border-color: rgba( 0, 0, 0, 0.25 );
|
||||
}
|
||||
|
||||
.customize-section input[type="text"].color-picker-hex {
|
||||
width: 65px;
|
||||
font-family: monospace;
|
||||
text-align: center;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
/* The centered cursor overlaps the placeholder in webkit. Hide it when selected. */
|
||||
.customize-section input[type="text"].color-picker-hex:focus::-webkit-input-placeholder {
|
||||
color: transparent;
|
||||
}
|
||||
.customize-section input[type="text"].color-picker-hex:-moz-placeholder {
|
||||
color: #999;
|
||||
border-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -371,18 +335,18 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .dropdown-content {
|
||||
.accordion-section .customize-control-image .dropdown-content {
|
||||
height: auto;
|
||||
min-height: 24px;
|
||||
min-width: 40px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .dropdown-status {
|
||||
.accordion-section .customize-control-image .dropdown-status {
|
||||
padding: 4px 5px;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .preview-thumbnail img {
|
||||
.accordion-section .customize-control-image .preview-thumbnail img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 122px;
|
||||
@@ -390,103 +354,92 @@ body {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .actions {
|
||||
.accordion-section .customize-control-image .actions {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library ul {
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
.accordion-section .customize-control-image .library ul {
|
||||
border-bottom: 1px solid #ddd;
|
||||
float: left;
|
||||
width: 100%;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library li {
|
||||
color: #999;
|
||||
.accordion-section .customize-control-image .library li {
|
||||
color: #ccc;
|
||||
float: left;
|
||||
padding: 3px 5px;
|
||||
padding: 3px 15px;
|
||||
margin: 0;
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
border-width: 1px 1px 0 1px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library li.library-selected {
|
||||
.accordion-section .customize-control-image .library li.library-selected {
|
||||
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 ;
|
||||
color: #666666;
|
||||
border-color: #ddd;
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library-content {
|
||||
.accordion-section .customize-control-image .library .thumbnail {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.accordion-section .customize-control-image .library .thumbnail img {
|
||||
display: block;
|
||||
max-width: 90%;
|
||||
max-height: 80px;
|
||||
margin: 5px auto;
|
||||
padding: 2px;
|
||||
background: #666666;
|
||||
}
|
||||
|
||||
.accordion-section .customize-control-image .library .thumbnail:hover img {
|
||||
background-color: #2ea2cc;
|
||||
}
|
||||
|
||||
.accordion-section .customize-control-image .library-content {
|
||||
display: none;
|
||||
width: 100%;
|
||||
float: left;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library-content.library-selected {
|
||||
.accordion-section .customize-control-image .library-content.library-selected {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library .thumbnail {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library .thumbnail:hover img {
|
||||
border-color: #21759b;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-image .library .thumbnail img {
|
||||
display: block;
|
||||
max-width: 90%;
|
||||
max-height: 80px;
|
||||
|
||||
margin: 5px auto;
|
||||
padding: 4px;
|
||||
background: #fff;
|
||||
border: 1px solid #dfdfdf;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-upload .upload-fallback,
|
||||
.customize-section .customize-control-image .upload-fallback {
|
||||
.accordion-section .customize-control-upload .upload-fallback,
|
||||
.accordion-section .customize-control-image .upload-fallback {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-upload .upload-dropzone,
|
||||
.customize-section .customize-control-image .upload-dropzone {
|
||||
.accordion-section .customize-control-upload .upload-dropzone,
|
||||
.accordion-section .customize-control-image .upload-dropzone {
|
||||
display: none;
|
||||
padding: 15px 10px;
|
||||
border: 3px dashed #dfdfdf;
|
||||
margin: 5px auto;
|
||||
text-align: center;
|
||||
color: #777;
|
||||
position: relative;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-upload .upload-dropzone.supports-drag-drop,
|
||||
.customize-section .customize-control-image .upload-dropzone.supports-drag-drop {
|
||||
.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop,
|
||||
.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop {
|
||||
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;
|
||||
transition: border-color 0.1s;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-upload .library ul li,
|
||||
.customize-section .customize-control-image .library ul li {
|
||||
.accordion-section .customize-control-upload .library ul li,
|
||||
.accordion-section .customize-control-image .library ul li {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.customize-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over,
|
||||
.customize-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over {
|
||||
.accordion-section .customize-control-upload .upload-dropzone.supports-drag-drop.drag-over,
|
||||
.accordion-section .customize-control-image .upload-dropzone.supports-drag-drop.drag-over {
|
||||
border-color: #83b4d8;
|
||||
}
|
||||
|
||||
@@ -506,22 +459,226 @@ body {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle cheaters.
|
||||
*/
|
||||
/** Header control **/
|
||||
|
||||
#customize-control-header_image .current {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .uploaded {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .uploaded button:not(.random),
|
||||
#customize-control-header_image .default button:not(.random) {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#customize-control-header_image button img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#customize-control-header_image button.new,
|
||||
#customize-control-header_image button.remove {
|
||||
white-space: normal;
|
||||
width: 48%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
/* Header control: current image container */
|
||||
|
||||
#customize-control-header_image .current .container {
|
||||
overflow: hidden;
|
||||
-webkit-border-radius: 2px;
|
||||
border: 1px solid #eee;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .placeholder {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#customize-control-header_image .inner {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
color: #555;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#customize-control-header_image .inner,
|
||||
#customize-control-header_image .inner .dashicons {
|
||||
line-height: 20px;
|
||||
top: 10px;
|
||||
}
|
||||
#customize-control-header_image .list .inner,
|
||||
#customize-control-header_image .list .inner .dashicons {
|
||||
top: 9px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .header-view {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .header-view:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
/* Convoluted, but 'outline' support isn't good enough yet */
|
||||
#customize-control-header_image .header-view:after {
|
||||
border: 0;
|
||||
}
|
||||
#customize-control-header_image .header-view.selected:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
height: auto;
|
||||
top: 0; left: 0; bottom: 0; right: 0;
|
||||
border: 4px solid #2ea2cc;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
#customize-control-header_image .header-view.button.selected {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Header control: overlay "close" button */
|
||||
|
||||
#customize-control-header_image .uploaded .header-view .close {
|
||||
font-size: 2em;
|
||||
color: grey;
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 1;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#customize-control-header_image .uploaded .header-view .close:hover {
|
||||
color: black;
|
||||
text-shadow:
|
||||
-1px -1px 0 #fff,
|
||||
1px -1px 0 #fff,
|
||||
-1px 1px 0 #fff,
|
||||
1px 1px 0 #fff;
|
||||
}
|
||||
|
||||
#customize-control-header_image .header-view:hover .close {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* Header control: randomiz(s)er */
|
||||
|
||||
#customize-control-header_image .random.placeholder {
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
#customize-control-header_image button.random {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
min-height: 40px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#customize-control-header_image button.random .dice {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .placeholder:hover .dice,
|
||||
#customize-control-header_image .header-view:hover > button.random .dice {
|
||||
-webkit-animation: dice-color-change 3s infinite;
|
||||
-ms-animation: dice-color-change 3s infinite;
|
||||
animation: dice-color-change 3s infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes dice-color-change {
|
||||
0% { color: #d4b146; }
|
||||
50% { color: #ef54b0; }
|
||||
75% { color: #7190d3; }
|
||||
100% { color: #d4b146; }
|
||||
}
|
||||
|
||||
@-ms-keyframes dice-color-change {
|
||||
0% { color: #d4b146; }
|
||||
50% { color: #ef54b0; }
|
||||
75% { color: #7190d3; }
|
||||
100% { color: #d4b146; }
|
||||
}
|
||||
|
||||
@keyframes dice-color-change {
|
||||
0% { color: #d4b146; }
|
||||
50% { color: #ef54b0; }
|
||||
75% { color: #7190d3; }
|
||||
100% { color: #d4b146; }
|
||||
}
|
||||
|
||||
/* Header control: actions and choices */
|
||||
|
||||
#customize-control-header_image .actions {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .choice {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .uploaded div:last-child > .choice {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#customize-control-header_image img {
|
||||
width: 100%;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .remove {
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
#customize-control-header_image .new {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/** Handle cheaters. */
|
||||
body.cheatin {
|
||||
font-size: medium;
|
||||
height: auto;
|
||||
background: #fff;
|
||||
margin: 50px auto 2em;
|
||||
padding: 1em 2em;
|
||||
max-width: 700px;
|
||||
min-width: 0;
|
||||
background: #f9f9f9;
|
||||
padding: 50px;
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
}
|
||||
|
||||
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;
|
||||
line-height: 1.5;
|
||||
margin: 25px 0 20px;
|
||||
}
|
||||
Reference in new issue
Block a user