]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/customize-controls-rtl.css
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-admin / css / customize-controls-rtl.css
index 10861ce74d21fe0a0cd198157ee3b8ffeda03fd5..a0f4c0b402c14026bb53d186e312751dc39eed64 100644 (file)
@@ -1,5 +1,6 @@
 body {
        overflow: hidden;
+       -webkit-text-size-adjust: 100%;
 }
 
 #customize-controls a {
@@ -19,7 +20,7 @@ body {
 }
 
 #customize-controls .description {
-       color: #666666;
+       color: #555;
 }
 
 #customize-header-actions .button-primary {
@@ -28,12 +29,12 @@ body {
 }
 
 #customize-header-actions .spinner {
-       margin-top: 16px;
+       margin-top: 13px;
        margin-left: 4px;
 }
 
 .saving #customize-header-actions .spinner {
-       display: block;
+       visibility: visible;
 }
 
 #customize-header-actions {
@@ -45,45 +46,105 @@ body {
        overflow-x: hidden;
 }
 
-#customize-info {
+#customize-controls .customize-info {
        border: none;
        border-top: 1px solid #ddd;
+       border-bottom: 1px solid #ddd;
+       margin-bottom: 15px;
 }
 
-#customize-info .accordion-section-title {
-       background-color: #fff;
-       color: #666666;
+#customize-controls .customize-info .accordion-section-title {
+       background: #fff;
+       color: #555;
        border-right: none;
        border-left: none;
-       border-bottom: 1px solid #eeeeee;
+       border-bottom: none;
+       cursor: default;
 }
 
-#customize-info.open .accordion-section-title:after,
-#customize-info .accordion-section-title:hover:after,
-#customize-info .accordion-section-title:focus:after {
-       color: #555555;
+#customize-controls .customize-info.open .accordion-section-title:after,
+#customize-controls .customize-info .accordion-section-title:hover:after,
+#customize-controls .customize-info .accordion-section-title:focus:after {
+       color: #333;
+}
+
+#customize-controls .customize-info .accordion-section-title:after {
+       display: none;
 }
 
-#customize-info .preview-notice {
+#customize-controls .customize-info .preview-notice {
        font-size: 13px;
        line-height: 24px;
 }
 
-#customize-info .theme-name {
+#customize-controls .control-section .customize-section-title h3,
+#customize-controls .control-section h3.customize-section-title,
+#customize-controls .customize-info .panel-title {
        font-size: 20px;
        font-weight: 200;
-       line-height: 24px;
+       line-height: 26px;
        display: block;
+       overflow: hidden;
+       white-space: nowrap;
+       text-overflow: ellipsis;
 }
 
-#customize-info .theme-screenshot {
-       width: 258px;
+#customize-controls .customize-section-title span.customize-action {
+       overflow: hidden;
+       white-space: nowrap;
+       text-overflow: ellipsis;
 }
 
-#customize-info .theme-description {
-       margin-top: 1em;
-       color: #666666;
-       line-height: 20px;
+#customize-controls .customize-info .customize-help-toggle {
+       position: absolute;
+       top: 4px;
+       left: 1px;
+       padding: 20px 10px 10px 20px;
+       width: 20px;
+       height: 20px;
+       cursor: pointer;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+       -webkit-appearance: none;
+       background: transparent;
+       color: #555;
+       border: none;
+}
+
+#customize-controls .customize-info .customize-help-toggle:before {
+       position: absolute;
+       top: 5px;
+       right: 6px;
+}
+
+#customize-controls .customize-info.open .customize-help-toggle,
+#customize-controls .customize-info .customize-help-toggle:focus,
+#customize-controls .customize-info .customize-help-toggle:hover {
+       color: #0073aa;
+}
+
+#customize-controls .customize-info .customize-panel-description,
+#customize-controls .no-widget-areas-rendered-notice {
+       color: #555;
+       display: none;
+       background: #fff;
+       padding: 12px 15px;
+       border-top: 1px solid #ddd;
+}
+#customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice {
+       border-top: none;
+}
+
+#customize-controls .customize-info .customize-panel-description p:first-child {
+       margin-top: 0;
+}
+
+#customize-controls .customize-info .customize-panel-description p:last-child {
+       margin-bottom: 0;
+}
+
+#customize-controls .current-panel .control-section > h3.accordion-section-title {
+       padding-left: 30px;
 }
 
 #customize-theme-controls .control-section {
@@ -91,24 +152,26 @@ body {
 }
 
 #customize-theme-controls .accordion-section-title {
-       color: #555555;
+       color: #555;
        background-color: #fff;
-       border-bottom: 1px solid #eeeeee;
+       border-bottom: 1px solid #eee;
+}
+
+#customize-theme-controls .accordion-section-title:after {
+       content: "\f341";
+       color: #a0a5aa;
 }
 
 #customize-theme-controls .accordion-section-content {
-       color: #555555;
-       background: #fff;
+       color: #555;
+       background: transparent;
 }
 
-#customize-info.open .accordion-section-title,
-#customize-info .accordion-section-title:hover,
-#customize-info .accordion-section-title:focus,
-#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: #222;
+#customize-controls .control-section:hover > .accordion-section-title,
+#customize-controls .control-section .accordion-section-title:hover,
+#customize-controls .control-section.open .accordion-section-title,
+#customize-controls .control-section .accordion-section-title:focus {
+       color: #23282d;
        background: #f5f5f5;
 }
 
@@ -123,16 +186,15 @@ body {
 #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: #555;
+       color: #23282d;
 }
 
-#customize-info.open,
 #customize-theme-controls .control-section.open {
-       border-bottom: 1px solid #eeeeee;
+       border-bottom: 1px solid #eee;
 }
 
 #customize-theme-controls .control-section.open .accordion-section-title {
-       border-bottom-color: #eeeeee !important;
+       border-bottom-color: #eee !important;
 }
 
 #customize-theme-controls .control-section:last-of-type.open,
@@ -140,54 +202,93 @@ body {
        border-bottom-color: #ddd;
 }
 
-#customize-theme-controls > ul,
+#customize-theme-controls > ul {
+       margin: 0;
+}
+
 #customize-theme-controls .accordion-section-content {
+       position: absolute;
+       top: 0;
+       right: 100%;
+       width: 100%;
        margin: 0;
+       padding: 12px;
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
 }
 
-.control-section.control-panel > .accordion-section-title {
-       padding-left: 54px;
+.customize-section-description-container {
+       margin-bottom: 15px;
 }
 
-.control-section.control-panel > .accordion-section-title:after {
-       content: "\f345";
-       background: #f5f5f5;
+.customize-section-title {
+       margin: -12px -12px 0 -12px;
+       border-bottom: 1px solid #ddd;
+       background: #fff;
+}
+
+div.customize-section-description {
+       margin-top: 22px;
+}
+
+div.customize-section-description p:first-child {
+       margin-top: 0;
+}
+
+div.customize-section-description p:last-child {
+       margin-bottom: 0;
+}
+
+#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
+       border-bottom: 1px solid #ddd;
+       padding: 12px 12px 12px 12px;
+}
+
+.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child {
+       padding: 12px 12px 13px 12px;
+}
+
+.customize-section-title h3,
+h3.customize-section-title {
+       padding: 10px 14px 12px 10px;
+       margin: 0;
+       line-height: 21px;
        color: #555;
-       width: 38px;
-       height: 100%;
-       margin: -11px 0 -11px -10px; /* compensate for positioning */
-       line-height: 45px;
-       padding-right: 5px;
-       border-right: 1px solid #eee;
-       z-index: 0;
 }
 
-.rtl .control-section.control-panel > .accordion-section-title:after {
-       content: "\f341";
+#customize-theme-controls {
+       position: relative;
+       right: 0;
+       -webkit-transition: .18s right ease-in-out;
+       transition: .18s right ease-in-out;
 }
 
-#customize-theme-controls .control-section.control-panel > h3.accordion-section-title:focus:after,
-#customize-theme-controls .control-section.control-panel > h3.accordion-section-title:hover:after {
-       background: #ddd;
-       color: #000;
-       border: 1px solid #d9d9d9;
-       border-left: none;
-       margin-top: -12px;
-       line-height: 44px;
-       z-index: 1;
+.ios #customize-theme-controls {
+       -webkit-transition: right 0s;
+       transition: right 0s;
+}
+
+.section-open #customize-info,
+.section-open #customize-theme-controls {
+       right: -100%;
 }
 
 .accordion-sub-container.control-panel-content {
        display: none;
        position: absolute;
-       right: 300px;
+       right: 100%;
        top: 0;
-       width: 300px;
-       border-top: 1px solid #ddd;
+       width: 100%;
        -webkit-transition: right ease-in-out .18s;
        transition: right ease-in-out .18s;
 }
 
+.ios .accordion-sub-container.control-panel-content {
+       -webkit-transition: right 0s;
+       transition: right 0s;
+}
+
 .accordion-sub-container.control-panel-content.animating {
        display: block;
 }
@@ -203,39 +304,69 @@ body {
        right: 0;
        width: 45px;
        height: 45px;
-       padding-left: 2px;
+       padding: 0 0 0 2px;
        background: #eee;
+       border: none;
        border-left: 1px solid #ddd;
        color: #444;
+       text-align: right;
        cursor: pointer;
        -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
        transition: color .1s ease-in-out, background .1s ease-in-out;
+       -webkit-box-sizing: content-box;
+       -moz-box-sizing: content-box;
+       box-sizing: content-box;
 }
 
-.control-panel-back {
+.customize-panel-back,
+.customize-section-back {
        display: block;
-       position: fixed;
-       top: 0;
-       z-index: 99;
-       right: -48px;
-       width: 45px;
-       height: 45px;
-       padding-left: 2px;
-       background: #eee;
+       float: right;
+       width: 48px;
+       height: 71px;
+       padding: 0 0 0 24px;
+       margin: 0;
+       background: #fff;
+       border: none;
        border-left: 1px solid #ddd;
+       -webkit-box-shadow: none;
+       box-shadow: none;
        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;
 }
 
-.collapsed .control-panel-back {
+.customize-section-back {
+       height: 74px;
+}
+
+.ios .customize-panel-back,
+.ios .customize-section-back {
+       -webkit-transition: right 0s;
+       transition: right 0s;
+}
+
+.ios .customize-panel-back {
        display: none;
 }
 
+.ios .expanded.in-sub-panel .customize-panel-back {
+       display: block;
+}
+
+.panel-meta.customize-info .accordion-section-title {
+       margin-right: 48px;
+}
+
+#customize-controls .panel-meta.customize-info .accordion-section-title:hover {
+       background: #fff;
+       color: #555;
+}
+
 .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;
        border-color: #ccc;
        color: #000;
@@ -244,34 +375,33 @@ body {
        box-shadow: none;
 }
 
+.customize-panel-back:hover,
+.customize-panel-back:focus,
+.customize-section-back:hover,
+.customize-section-back:focus {
+       color: #23282d;
+       background: #f5f5f5;
+       outline: none;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
 .customize-controls-close:before {
-       font: normal 22px/1 dashicons;
+       font: normal 22px/45px dashicons;
        content: "\f335";
        position: relative;
-       top: 7px;
+       top: 1px;
        right: 13px;
 }
 
-.control-panel-back:before {
-       font: normal 20px/1 dashicons;
-       content: "\f341";
+.customize-panel-back:before,
+.customize-section-back:before {
+       font: normal 20px/72px dashicons;
+       content: "\f345";
        position: relative;
-       top: 7px;
        right: 13px;
 }
 
-.rtl .control-panel-back:before {
-       content: "\f345";
-}
-
-.in-sub-panel .control-panel-back {
-       right: 0;
-}
-
-.current-panel > .accordion-section-title {
-       height: 22px;
-}
-
 .wp-full-overlay-sidebar .wp-full-overlay-header {
        -webkit-transition: padding ease-in-out .18s;
        transition: padding ease-in-out .18s;
@@ -289,10 +419,16 @@ body {
        transition: right ease-in-out .18s;
 }
 
+.ios #customize-info,
+.ios #customize-theme-controls > ul > .accordion-section {
+       -webkit-transition: right 0s;
+       transition: right 0s;
+}
+
 .in-sub-panel #customize-info,
 .in-sub-panel #customize-theme-controls > ul > .accordion-section {
-       right: -300px;
-       width: 300px;
+       right: -100%;
+       width: 100%;
 }
 
 .in-sub-panel #customize-theme-controls .accordion-section.current-panel {
@@ -309,33 +445,40 @@ body {
 }
 
 #customize-theme-controls .control-section.current-panel > h3.accordion-section-title {
-       right: -300px;
+       right: -354px;
        -webkit-transition: right ease-in-out .18s;
        transition: right ease-in-out .18s;
 }
 
-.control-section.control-panel .accordion-section-title .panel-title {
-       font-size: 20px;
-       font-weight: 200;
-       line-height: 24px;
-       display: block;
-       border: none;
+.ios #customize-theme-controls .control-section.current-panel > h3.accordion-section-title {
+       -webkit-transition: right 0s;
+       transition: right 0s;
 }
 
-.control-section.control-panel .preview-notice {
-       font-size: 13px;
-       line-height: 24px;
+.wp-full-overlay.section-open #customize-controls .wp-full-overlay-sidebar-content {
+       visibility: hidden;
+       overflow-y: hidden;
+}
+
+.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open {
+       visibility: visible;
+}
+
+.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open .accordion-section-content {
+       overflow-y: auto;
 }
 
 p.customize-section-description {
        font-style: normal;
+       margin-top: 22px;
+       margin-bottom: 0;
 }
 
 .customize-control {
        width: 100%;
        float: right;
        clear: both;
-       margin-bottom: 8px;
+       margin-bottom: 12px;
 }
 
 .customize-control select,
@@ -351,11 +494,15 @@ p.customize-section-description {
 .customize-control input[type="search"],
 .customize-control input[type="tel"],
 .customize-control input[type="url"] {
-       width: 98%;
+       width: 100%;
        line-height: 18px;
        margin: 0;
 }
 
+.customize-control-hidden {
+       margin: 0;
+}
+
 .customize-control-textarea textarea {
        width: 100%;
        resize: vertical;
@@ -377,7 +524,7 @@ p.customize-section-description {
        font-size: 14px;
        line-height: 24px;
        font-weight: 600;
-       margin-bottom: 5px;
+       margin-bottom: 4px;
 }
 
 .customize-control-description {
@@ -388,13 +535,25 @@ p.customize-section-description {
 }
 
 .customize-control-color .color-picker,
-.customize-control-checkbox label,
 .customize-control-upload div {
        line-height: 28px;
 }
 
-.customize-control-checkbox input {
-       margin-left: 5px;
+.customize-control-radio label,
+.customize-control-checkbox label,
+.customize-control-nav_menu_auto_add label {
+       line-height: 20px;
+       display: block;
+       margin-right: 24px;
+       padding-top: 6px;
+       padding-bottom: 6px;
+}
+
+.customize-control-radio input,
+.customize-control-checkbox input,
+.customize-control-nav_menu_auto_add input {
+       margin-left: 4px;
+       margin-right: -24px;
 }
 
 .customize-control-radio {
@@ -410,14 +569,6 @@ p.customize-section-description {
        margin-top: 7px;
 }
 
-.customize-control-radio label {
-       line-height: 32px;
-}
-
-.customize-control-radio input {
-       margin-left: 5px;
-}
-
 .customize-control .attachment-thumb.type-icon {
        float: right;
        margin: 10px;
@@ -425,7 +576,7 @@ p.customize-section-description {
 }
 
 .customize-control .attachment-title {
-       font-weight: bold;
+       font-weight: 600;
        margin: 0;
        padding: 5px 10px;
 }
@@ -435,7 +586,7 @@ p.customize-section-description {
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
-       padding: 5px 10px 0;
+       padding: 0 10px;
 }
 
 .customize-control .attachment-meta-title {
@@ -450,41 +601,75 @@ p.customize-section-description {
        cursor: pointer;
 }
 
+#customize-controls .thumbnail-audio .thumbnail {
+       max-width: 64px;
+       max-height: 64px;
+       margin: 10px;
+       float: right;
+}
+
 #customize-preview iframe {
        width: 100%;
        height: 100%;
+       position: absolute;
+}
+#customize-preview iframe + iframe {
+       visibility: hidden;
 }
 
 .wp-full-overlay-sidebar {
-       background: #eeeeee;
+       background: #eee;
        border-left: 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;
+
+/**
+ * Notifications
+ */
+
+#customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
+       margin: 4px 0 8px 0;
+       padding: 0;
+       display: none;
+       cursor: default;
+}
+
+#customize-controls .customize-control-widget_form.has-error .widget .widget-top,
+.customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle {
+       -webkit-box-shadow: inset 0 0 0 2px #dc3232;
+       box-shadow: inset 0 0 0 2px #dc3232;
+       -webkit-transition: .15s box-shadow linear;
+       transition: .15s box-shadow linear;
+}
+
+.customize-control-notifications-container li.notice {
+       list-style: none;
+       margin: 0 0 6px 0;
+       padding: 4px 8px;
+}
+
+.customize-control-notifications-container li.notice:last-child {
+       margin-bottom: 0;
 }
 
+#customize-controls .customize-control-nav_menu_item .customize-control-notifications-container {
+       margin-top: 0;
+}
 
-.collapse-sidebar:active,
-.collapse-sidebar:active .collapse-sidebar-label,
-.collapse-sidebar:active .collapse-sidebar-arrow:before {
-       text-shadow: none;
+#customize-controls .customize-control-widget_form .customize-control-notifications-container {
+       margin-top: 8px;
 }
 
-.collapsed .collapse-sidebar-arrow:before {
-       color: #888;
+.customize-control-text.has-error input {
+       outline: 2px solid #dc3232;
 }
 
 /* Style for custom settings */
 
-/*
+/**
  * Dropdowns
  */
+
 .accordion-section .dropdown {
        float: right;
        display: block;
@@ -500,25 +685,26 @@ p.customize-section-description {
        line-height: 16px;
        margin-left: 16px;
        padding: 4px 5px;
-       border: 2px solid #eeeeee;
+       border: 2px solid #eee;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
 }
 
+/* @todo maybe no more used? */
 .customize-control .dropdown-arrow {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 20px;
-       background: #eeeeee;
+       background: #eee;
 }
 
 .customize-control .dropdown-arrow:after {
        content: "\f140";
-       font: normal 20px/1 'dashicons';
+       font: normal 20px/1 dashicons;
        speak: none;
        display: block;
        padding: 0;
@@ -528,12 +714,12 @@ p.customize-section-description {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-decoration: none !important;
-       color: #333;
+       color: #32373c;
 }
 
 .customize-control .dropdown-status {
-       color: #333;
-       background: #eeeeee;
+       color: #32373c;
+       background: #eee;
        display: none;
        max-width: 112px;
 }
@@ -553,7 +739,7 @@ p.customize-section-description {
 }
 
 .customize-control-color .dropdown .dropdown-content {
-       background-color: #555555;
+       background-color: #555;
        border: 1px solid rgba(0, 0, 0, 0.15);
 }
 
@@ -565,11 +751,8 @@ p.customize-section-description {
  * 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 {
+.ios .wp-full-overlay {
        position: relative;
 }
 
@@ -577,11 +760,12 @@ p.customize-section-description {
        -webkit-overflow-scrolling: touch;
 }
 
-/** Header control **/
+/* Media controls */
+
+.customize-control .attachment-media-view .actions {
+       margin-top: 8px;
+}
 
-.customize-control-upload .current,
-.customize-control-image .current,
-.customize-control-background .current,
 .customize-control-header .current {
        margin-bottom: 8px;
 }
@@ -605,15 +789,9 @@ p.customize-section-description {
        display: block;
 }
 
-.customize-control-upload .remove-button,
-.customize-control-upload .default-button,
-.customize-control-upload .upload-button,
-.customize-control-image .remove-button,
-.customize-control-image .default-button,
-.customize-control-image .upload-button,
-.customize-control-background .remove-button,
-.customize-control-background .default-button,
-.customize-control-background .upload-button,
+.customize-control .attachment-media-view .remove-button,
+.customize-control .attachment-media-view .default-button,
+.customize-control .attachment-media-view .upload-button,
 .customize-control-header button.new,
 .customize-control-header button.remove {
        white-space: normal;
@@ -621,36 +799,25 @@ p.customize-section-description {
        height: auto;
 }
 
-.customize-control-upload .current .container,
-.customize-control-image .current .container,
-.customize-control-background .current .container,
+.customize-control .attachment-media-view .thumbnail,
 .customize-control-header .current .container {
        overflow: hidden;
-       -webkit-border-radius: 2px;
-       border: 1px solid #eee;
-       -webkit-border-radius: 2px;
-       border-radius: 2px;
-}
-
-.customize-control-upload .current .container,
-.customize-control-background .current .container,
-.customize-control-image .current .container {
-       min-height: 40px;
 }
 
-.customize-control-upload .placeholder,
-.customize-control-image .placeholder,
-.customize-control-background .placeholder,
+.customize-control .attachment-media-view .placeholder,
 .customize-control-header .placeholder {
        width: 100%;
        position: relative;
        text-align: center;
        cursor: default;
+       border: 1px dashed #b4b9be;
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+       padding: 9px 0;
+       line-height: 20px;
 }
 
-.customize-control-upload .inner,
-.customize-control-image .inner,
-.customize-control-background .inner,
 .customize-control-header .inner {
        display: none;
        position: absolute;
@@ -661,20 +828,10 @@ p.customize-section-description {
        overflow: hidden;
 }
 
-.customize-control-upload .inner,
-.customize-control-background .inner,
-.customize-control-image .inner {
-       display: block;
-       min-height: 40px;
-}
-
-.customize-control-upload .inner,
-.customize-control-image .inner,
-.customize-control-background .inner,
 .customize-control-header .inner,
 .customize-control-header .inner .dashicons {
        line-height: 20px;
-       top: 10px;
+       top: 8px;
 }
 
 .customize-control-header .list .inner,
@@ -701,7 +858,7 @@ p.customize-section-description {
        position: absolute;
        height: auto;
        top: 0; right: 0; bottom: 0; left: 0;
-       border: 4px solid #2ea2cc;
+       border: 4px solid #00a0d2;
        -webkit-border-radius: 2px;
        border-radius: 2px;
 }
@@ -712,29 +869,22 @@ p.customize-section-description {
 /* Header control: overlay "close" button */
 
 .customize-control-header .uploaded .header-view .close {
-       font-size: 2em;
-       color: grey;
+       font-size: 20px;
+       color: #fff;
+       background: #555;
+       background: rgba(0, 0, 0, 0.5);
        position: absolute;
-       visibility: hidden;
        top: 10px;
-       left: 10px;
+       left: -999px;
        z-index: 1;
-       width: 20px;
-       height: 20px;
+       width: 26px;
+       height: 26px;
        cursor: pointer;
 }
 
-.customize-control-header .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 .header-view:hover .close {
-       visibility: visible;
+.customize-control-header .header-view:hover .close,
+.customize-control-header .header-view .close:focus {
+       left: 10px;
 }
 
 /* Header control: randomiz(s)er */
@@ -760,7 +910,6 @@ p.customize-section-description {
 .customize-control-header .placeholder:hover .dice,
 .customize-control-header .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;
 }
 
@@ -771,13 +920,6 @@ p.customize-section-description {
        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; }
@@ -785,13 +927,6 @@ p.customize-section-description {
        100% { color: #d4b146; }
 }
 
-.customize-control-upload .actions,
-.customize-control-image .actions,
-.customize-control-background .actions,
-.customize-control-header .actions {
-       margin-bottom: 32px;
-}
-
 .customize-control-header .choice {
        position: relative;
        display: block;
@@ -802,35 +937,232 @@ p.customize-section-description {
        margin-bottom: 0;
 }
 
-.customize-control-upload img,
-.customize-control-image img,
-.customize-control-background img,
+.customize-control .attachment-media-view .thumbnail-image img,
 .customize-control-header img {
-       width: 100%;
-       -webkit-border-radius: 2px;
-       border-radius: 2px;
+       max-width: 100%;
 }
 
-.customize-control-upload .remove-button,
-.customize-control-upload .default-button,
-.customize-control-image .remove-button,
-.customize-control-image .default-button,
-.customize-control-background .remove-button,
-.customize-control-background .default-button,
+.customize-control .attachment-media-view .remove-button,
+.customize-control .attachment-media-view .default-button,
 .customize-control-header .remove {
        float: right;
        margin-left: 3px;
 }
 
-.customize-control-upload .upload-button,
-.customize-control-image .upload-button,
-.customize-control-background .upload-button,
+.customize-control .attachment-media-view .upload-button,
 .customize-control-header .new {
        float: left;
 }
 
+/**
+ * Themes
+ */
+
+@-webkit-keyframes customize-reload {
+       0%   { opacity: 0; }
+       100% { opacity: 1; }
+}
 
-/** Handle cheaters. */
+@keyframes customize-reload {
+       0%   { opacity: 0; }
+       100% { opacity: 1; }
+}
+
+/* #customize-container is reused from customize-loader.js, hence the naming. */
+.wp-customizer .customize-loading #customize-container {
+       display: block;
+       -webkit-animation: customize-reload .75s; /* Can't use `transition` because `display` changes here. */
+       animation: customize-reload .75s;
+}
+
+.control-section-themes .accordion-section-title {
+       cursor: default;
+}
+
+#customize-theme-controls .control-section-themes .accordion-section-title:hover,
+#customize-theme-controls .control-section-themes .accordion-section-title:focus {
+       color: #555;
+       background-color: #fff;
+}
+
+.control-section-themes .accordion-section-title {
+       margin: 15px 0;
+}
+
+.customize-themes-panel .accordion-section-title {
+       margin: 15px -8px;
+}
+
+.control-section-themes .accordion-section-title {
+       padding-left: 100px; /* Space for the button */
+}
+
+.control-section-themes .accordion-section-title span.customize-action,
+#customize-controls .customize-section-title span.customize-action {
+       font-size: 13px;
+       display: block;
+       font-weight: 400;
+}
+
+.control-section-themes .accordion-section-title .change-theme,
+.control-section-themes .accordion-section-title .customize-theme {
+       position: absolute;
+       left: 10px;
+       top: 50%;
+       margin-top: -14px;
+       font-weight: 400;
+}
+
+.control-section-themes .accordion-section-title:before {
+       display: none;
+}
+
+.customize-themes-panel {
+       display: none;
+       padding: 0 8px;
+       background: #f1f1f1;
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+}
+
+.customize-themes-panel .accordion-section-title:first-child {
+       margin-top: 0;
+}
+
+#customize-controls .customize-themes-panel .accordion-section-title:nth-child(2) {
+       font-size: 14px;
+       font-weight: 600;
+}
+
+.customize-themes-panel > h2 {
+       padding: 15px 8px 0 8px;
+}
+
+.control-section.open .customize-themes-panel {
+       display: block;
+}
+
+#customize-theme-controls .customize-themes-panel .accordion-section-content {
+       background: transparent;
+       display: block;
+}
+
+.customize-control.customize-control-theme {
+       margin-bottom: 8px;
+}
+
+#customize-theme-controls .themes.accordion-section-content {
+       position: relative;
+       right: 0;
+       padding: 0;
+       width: 100%;
+}
+
+.wp-customizer .theme-browser .themes {
+       padding-bottom: 8px;
+}
+
+.wp-customizer .theme-browser .theme {
+       margin: 0;
+       width: 100%;
+}
+
+.wp-customizer .theme-browser .theme .theme-actions {
+       -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
+       opacity: 1;
+}
+
+#customize-controls h3.theme-name {
+       font-size: 15px;
+}
+
+#customize-controls .theme-overlay .theme-name {
+       font-size: 32px;
+}
+
+.wp-customizer #themes-filter {
+       font-size: 16px;
+       font-weight: 300;
+       line-height: 1.5;
+       width: 100%;
+}
+
+#accordion-section-themes .accordion-section-title:after {
+       display: none;
+}
+
+#customize-theme-controls .control-section-themes.current-panel > h3.accordion-section-title {
+       right: 0;
+}
+
+.customize-themes-panel.control-panel-content {
+       position: absolute;
+       right: -100%;
+       top: 0;
+       width: 100%;
+       border-top: 1px solid #ddd;
+}
+
+.in-themes-panel #customize-info,
+.in-themes-panel #customize-theme-controls > ul > .accordion-section {
+       right: 100%;
+}
+
+/* Details View */
+.wp-customizer .theme-overlay {
+       display: none;
+}
+
+.wp-customizer.modal-open .theme-overlay {
+       position: fixed;
+       right: 0;
+       top: 0;
+       left: 0;
+       bottom: 0;
+       z-index: 109;
+}
+
+.wp-customizer .theme-overlay .theme-backdrop {
+       background: rgba( 238, 238, 238, 0.75 );
+       position: fixed;
+       z-index: 110;
+}
+
+.wp-customizer .theme-overlay .theme-wrap {
+       right: 90px;
+       left: 90px;
+       top: 45px;
+       bottom: 45px;
+       z-index: 120;
+       max-width: 1740px; /* To ensure that theme screenshots are not displayed larger than 880px wide. */
+}
+
+.wp-customizer .theme-overlay .theme-actions {
+       text-align: left; /* Because there's only one action, match the pattern of media modals and right-align the action. */
+}
+
+.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
+       overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
+}
+
+.ie8 .wp-customizer .theme-overlay .theme-header,
+.ie8 .wp-customizer .theme-overlay .theme-about,
+.ie8 .wp-customizer .theme-overlay .theme-actions {
+       position: static;
+}
+
+/* Small Screens */
+@media (max-width:850px), (max-height:472px) {
+       .wp-customizer .theme-overlay .theme-wrap {
+               right: 0;
+               left: 0;
+               top: 0;
+               bottom: 0;
+       }
+}
+
+/* Handle cheaters. */
 body.cheatin {
        font-size: medium;
        height: auto;
@@ -843,8 +1175,455 @@ body.cheatin {
        box-shadow: 0 1px 3px rgba(0,0,0,0.13);
 }
 
+body.cheatin h1 {
+       border-bottom: 1px solid #ddd;
+       clear: both;
+       color: #666;
+       font-size: 24px;
+       font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+       margin: 30px 0 0 0;
+       padding: 0;
+       padding-bottom: 7px;
+}
+
 body.cheatin p {
        font-size: 14px;
        line-height: 1.5;
        margin: 25px 0 20px;
 }
+
+/**
+ * Widgets and Menus common styles
+ */
+
+/* higher specificity than .wp-core-ui .button-secondary */
+#customize-theme-controls .add-new-widget,
+#customize-theme-controls .add-new-menu-item {
+       cursor: pointer;
+       float: left;
+       margin-right: 10px;
+       -webkit-transition: all 0.2s;
+       transition: all 0.2s;
+       -webkit-user-select: none;
+       -moz-user-select: none;
+       -ms-user-select: none;
+       user-select: none;
+       outline: none;
+}
+
+.reordering .add-new-widget,
+.reordering .add-new-menu-item {
+       opacity: 0.2;
+       pointer-events: none;
+       cursor: not-allowed; /* doesn't work in conjunction with pointer-events */
+}
+
+.add-new-widget:before,
+.add-new-menu-item:before {
+       content: "\f132";
+       display: inline-block;
+       position: relative;
+       right: -2px;
+       top: -1px;
+       font: normal 20px/1 dashicons;
+       vertical-align: middle;
+       -webkit-transition: all 0.2s;
+       transition: all 0.2s;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
+}
+
+/* Reordering */
+.reorder-toggle {
+       color: #0073aa;
+       float: left;
+       padding: 5px 8px;
+       text-decoration: none;
+       cursor: pointer;
+       outline: none;
+       -webkit-user-select: none;
+       -moz-user-select: none;
+       -ms-user-select: none;
+       user-select: none;
+}
+
+.reorder-toggle:hover {
+       color: #00a0d2;
+}
+
+.reorder-toggle:focus {
+       outline: 1px dotted;
+}
+
+.reorder,
+.reordering .reorder-done {
+       display: block;
+       padding: 5px 8px;
+}
+
+.reorder-done,
+.reordering .reorder {
+       display: none;
+       color: #0073aa;
+}
+
+.reorder-toggle:hover .reorder-done,
+.reorder-toggle:active .reorder-done,
+.reorder-toggle:focus .reorder-done {
+       color: #00a0d2;
+}
+
+.widget-reorder-nav span,
+.menu-item-reorder-nav button {
+       position: relative;
+       overflow: hidden;
+       float: right;
+       display: block;
+       width: 33px; /* was 42px for mobile */
+       height: 43px;
+       color: #82878c;
+       text-indent: -9999px;
+       cursor: pointer;
+       outline: none;
+}
+
+.menu-item-reorder-nav button {
+       width: 30px;
+       height: 40px;
+       background: transparent;
+       border: none;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
+.widget-reorder-nav span:before,
+.menu-item-reorder-nav button:before {
+       display: inline-block;
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       font: normal 20px/43px dashicons;
+       text-align: center;
+       text-indent: 0;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
+}
+
+.widget-reorder-nav span:hover,
+.widget-reorder-nav span:focus,
+.menu-item-reorder-nav button:hover,
+.menu-item-reorder-nav button:focus {
+       color: #191e23;
+       background: #eee;
+}
+
+.move-widget-down:before,
+.menus-move-down:before {
+       content: "\f347";
+}
+
+.move-widget-up:before,
+.menus-move-up:before {
+       content: "\f343";
+}
+
+#customize-theme-controls .first-widget .move-widget-up,
+#customize-theme-controls .last-widget .move-widget-down,
+.move-up-disabled .menus-move-up,
+.move-down-disabled .menus-move-down,
+.move-right-disabled .menus-move-right,
+.move-left-disabled .menus-move-left {
+       color: #d5d5d5;
+       background-color: #fff;
+       cursor: default;
+       pointer-events: none;
+}
+
+/**
+ * New widget and Add-menu-items modes and panels
+ */
+
+.wp-full-overlay-main {
+       left: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */
+       width: 100%;
+}
+
+body.adding-widget .add-new-widget,
+body.adding-widget .add-new-widget:hover,
+.adding-menu-items .add-new-menu-item,
+.adding-menu-items .add-new-menu-item:hover,
+.add-menu-toggle.open,
+.add-menu-toggle.open:hover {
+       background: #eee;
+       border-color: #929793;
+       color: #32373c;
+       -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
+       box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
+}
+
+body.adding-widget .add-new-widget:before,
+.adding-menu-items .add-new-menu-item:before,
+#accordion-section-add_menu .add-new-menu-item.open:before {
+       -webkit-transform: rotate(-45deg);
+       -ms-transform: rotate(-45deg);
+       transform: rotate(-45deg);
+}
+
+#available-widgets,
+#available-menu-items {
+       position: absolute;
+       top: 0;
+       bottom: 0;
+       right: -301px;
+       visibility: hidden;
+       overflow-x: hidden;
+       overflow-y: auto;
+       width: 300px;
+       margin: 0;
+       z-index: 4;
+       background: #eee;
+       -webkit-transition: right .18s;
+       transition: right .18s;
+       border-left: 1px solid #ddd;
+}
+
+#available-widgets .customize-section-title,
+#available-menu-items .customize-section-title {
+       display: none;
+}
+
+#available-widgets-list {
+       top: 60px;
+       position: absolute;
+       overflow: auto;
+       bottom: 0;
+       width: 100%;
+}
+
+#available-widgets-filter {
+       position: fixed;
+       top: 0;
+       z-index: 1;
+       width: 300px;
+       background: #eee;
+       border-bottom: 1px solid #e5e5e5;
+}
+
+/* search field container */
+#available-widgets-filter,
+#available-menu-items-search .accordion-section-title {
+       padding: 12px 15px;
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+}
+
+#available-widgets-filter input,
+#available-menu-items-search input {
+       padding: 6px 10px;
+       width: 100%;
+}
+
+#available-widgets .widget-top,
+#available-widgets .widget-top:hover,
+#available-menu-items .item-top,
+#available-menu-items .item-top:hover {
+       border: none;
+       background: transparent;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
+#available-widgets .widget-tpl,
+#available-menu-items .item-tpl {
+       position: relative;
+       padding: 20px 60px 20px 15px;
+       background: #fff;
+       border-bottom: 1px solid #e5e5e5;
+       cursor: pointer;
+       display: none;
+}
+
+#available-widgets .widget,
+#available-menu-items .item {
+       position: static;
+}
+
+
+/* Responsive */
+.customize-controls-preview-toggle {
+       display: none;
+}
+
+@media only screen and (max-width: 782px) {
+       .wp-customizer .theme:not(.active):hover .theme-actions,
+       .wp-customizer .theme:not(.active):focus .theme-actions {
+               display: block;
+       }
+
+       .wp-customizer .theme-browser .theme.active .theme-name span {
+               display: inline;
+       }
+
+       .customize-control-radio label,
+       .customize-control-checkbox label,
+       .customize-control-nav_menu_auto_add label {
+               margin-right: 32px;
+       }
+
+       .customize-control-radio input,
+       .customize-control-checkbox input,
+       .customize-control-nav_menu_auto_add input {
+               margin-right: -32px;
+       }
+
+       .customize-control input[type="radio"] + label,
+       .customize-control input[type="checkbox"] + label {
+               line-height: 32px;
+       }
+}
+
+@media screen and ( max-width: 640px ) {
+       #customize-controls {
+               width: 100%;
+       }
+
+       .wp-full-overlay.expanded {
+               margin-right: 0;
+       }
+
+       /* when the sidebar is collapsed and switching to responsive view,
+          bring it back see ticket #35220 */
+       .wp-full-overlay.collapsed #customize-controls {
+               margin-right: 0;
+       }
+
+       .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
+               bottom: 0;
+       }
+
+       .customize-controls-preview-toggle {
+               display: block;
+               position: absolute;
+               top: 0;
+               right: 48px;
+               line-height: 45px;
+               font-size: 14px;
+               padding: 0 12px;
+               margin: 0;
+               height: 45px;
+               background: #eee;
+               border: 0;
+               border-left: 1px solid #ddd;
+               color: #444;
+               cursor: pointer;
+               -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
+               transition: color .1s ease-in-out, background .1s ease-in-out;
+       }
+
+       #customize-footer-actions,
+       #customize-preview,
+       .customize-controls-preview-toggle .controls,
+       .preview-only .wp-full-overlay-sidebar-content,
+       .preview-only .customize-controls-preview-toggle .preview {
+               display: none;
+       }
+
+       .customize-controls-preview-toggle .preview:before,
+       .customize-controls-preview-toggle .controls:before {
+               font: normal 20px/1 dashicons;
+               content: "\f177";
+               position: relative;
+               top: 4px;
+               margin-left: 6px;
+       }
+
+       .customize-controls-preview-toggle .controls:before {
+               content: "\f540";
+       }
+
+       .preview-only #customize-controls {
+               height: 45px;
+       }
+
+       .preview-only #customize-preview,
+       .preview-only .customize-controls-preview-toggle .controls {
+               display: block;
+       }
+
+       #customize-preview {
+               top: 45px;
+               bottom: 0;
+               height: auto;
+       }
+
+       .wp-core-ui.wp-customizer .button {
+               padding: 6px 14px;
+               line-height: normal;
+               font-size: 14px;
+               vertical-align: middle;
+               height: auto;
+               margin-bottom: 4px;
+       }
+
+       #customize-header-actions .button-primary {
+               margin-top: 6px;
+       }
+
+       body.adding-widget div#available-widgets,
+       body.adding-menu-items div#available-menu-items {
+               top: 46px;
+               right: 0;
+               z-index: 10;
+               width: 100%;
+       }
+
+       #available-widgets .customize-section-title,
+       #available-menu-items .customize-section-title {
+               display: block;
+               margin: 0;
+       }
+
+       #available-widgets .customize-section-back,
+       #available-menu-items .customize-section-back {
+               height: 69px;
+       }
+
+       #available-widgets .customize-section-title h3,
+       #available-menu-items .customize-section-title h3 {
+               font-size: 20px;
+               font-weight: 200;
+               padding: 9px 14px 12px 10px;
+               margin: 0;
+               line-height: 24px;
+               color: #555;
+               display: block;
+               overflow: hidden;
+               white-space: nowrap;
+               text-overflow: ellipsis;
+       }
+
+       #available-widgets .customize-section-title .customize-action,
+       #available-menu-items .customize-section-title .customize-action {
+               font-size: 13px;
+               display: block;
+               font-weight: 400;
+               overflow: hidden;
+               white-space: nowrap;
+               text-overflow: ellipsis;
+       }
+
+       #available-widgets-filter {
+               position: relative;
+               width: 100%;
+               background: #fff;
+               height: auto;
+               padding: 10px 15px;
+       }
+
+       #available-widgets-list {
+               top: 140px;
+       }
+}