]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/customize-controls.css
WordPress 4.7-scripts
[autoinstalls/wordpress.git] / wp-admin / css / customize-controls.css
index d2eef49a5b403b36854fd8ac653bbdce02faf3ee..716dfbb62fd73e8018c2c0f9ef8a0a092a7ca1fd 100644 (file)
@@ -3,7 +3,8 @@ body {
        -webkit-text-size-adjust: 100%;
 }
 
-#customize-controls a {
+.customize-controls-close,
+.widget-control-actions a {
        text-decoration: none;
 }
 
@@ -20,7 +21,7 @@ body {
 }
 
 #customize-controls .description {
-       color: #555;
+       color: #555d66;
 }
 
 #customize-header-actions .button-primary {
@@ -48,14 +49,40 @@ body {
 
 #customize-controls .customize-info {
        border: none;
-       border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        margin-bottom: 15px;
 }
 
+#customize-controls .customize-info.section-meta {
+       margin-bottom: 15px;
+}
+
+#customize-controls .customize-info.is-in-view,
+#customize-controls .customize-section-title.is-in-view {
+       position: absolute;
+       z-index: 9;
+       width: 100%;
+       -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
+       box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
+}
+
+#customize-controls .customize-section-title.is-in-view {
+       margin-top: 0;
+}
+
+#customize-controls .customize-info.is-in-view + .accordion-section {
+       margin-top: 15px;
+}
+
+#customize-controls .customize-info.is-sticky,
+#customize-controls .customize-section-title.is-sticky {
+       position: fixed;
+       top: 46px;
+}
+
 #customize-controls .customize-info .accordion-section-title {
        background: #fff;
-       color: #555;
+       color: #555d66;
        border-left: none;
        border-right: none;
        border-bottom: none;
@@ -65,7 +92,7 @@ body {
 #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;
+       color: #32373c;
 }
 
 #customize-controls .customize-info .accordion-section-title:after {
@@ -77,8 +104,8 @@ body {
        line-height: 24px;
 }
 
-#customize-controls .control-section .customize-section-title h3,
-#customize-controls .control-section h3.customize-section-title,
+#customize-controls .customize-pane-child .customize-section-title h3,
+#customize-controls .customize-pane-child h3.customize-section-title,
 #customize-controls .customize-info .panel-title {
        font-size: 20px;
        font-weight: 200;
@@ -107,7 +134,7 @@ body {
        box-shadow: none;
        -webkit-appearance: none;
        background: transparent;
-       color: #555;
+       color: #555d66;
        border: none;
 }
 
@@ -124,22 +151,30 @@ body {
 }
 
 #customize-controls .customize-info .customize-panel-description,
+#customize-controls .customize-info .customize-section-description,
 #customize-controls .no-widget-areas-rendered-notice {
-       color: #555;
+       color: #555d66;
        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 {
+#customize-controls .customize-info .customize-section-description {
+       margin-bottom: 15px;
+}
+
+#customize-controls .customize-info .customize-panel-description p:first-child,
+#customize-controls .customize-info .customize-section-description p:first-child {
        margin-top: 0;
 }
 
-#customize-controls .customize-info .customize-panel-description p:last-child {
+#customize-controls .customize-info .customize-panel-description p:last-child,
+#customize-controls .customize-info .customize-section-description p:last-child {
        margin-bottom: 0;
 }
 
@@ -152,9 +187,22 @@ body {
 }
 
 #customize-theme-controls .accordion-section-title {
+       color: #555d66;
+       background-color: #fff;
+       border-bottom: 1px solid #ddd;
+       border-left: 4px solid #fff;
+       -webkit-transition: .15s color ease-in-out,
+                   .15s background-color ease-in-out,
+                   .15s border-color ease-in-out;
+       transition: .15s color ease-in-out,
+                   .15s background-color ease-in-out,
+                   .15s border-color ease-in-out;
+}
+
+#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
        color: #555;
        background-color: #fff;
-       border-bottom: 1px solid #eee;
+       border-left: 4px solid #fff;
 }
 
 #customize-theme-controls .accordion-section-title:after {
@@ -163,7 +211,7 @@ body {
 }
 
 #customize-theme-controls .accordion-section-content {
-       color: #555;
+       color: #555d66;
        background: transparent;
 }
 
@@ -171,22 +219,27 @@ body {
 #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;
+       color: #0073aa;
+       background: #f3f3f5;
+       border-left-color: #0073aa;
+}
+
+#accordion-section-themes + .control-section {
+       border-top: 1px solid #ddd;
 }
 
 .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;
+       background: #f3f3f5;
 }
 
 #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: #23282d;
+       color: #0073aa;
 }
 
 #customize-theme-controls .control-section.open {
@@ -202,6 +255,11 @@ body {
        border-bottom-color: #ddd;
 }
 
+#customize-theme-controls .control-panel-content .control-section:nth-child(2),
+#customize-theme-controls .control-panel-nav_menus .control-section:nth-child(3) {
+       border-top: 1px solid #ddd;
+}
+
 #customize-theme-controls > ul {
        margin: 0;
 }
@@ -218,6 +276,109 @@ body {
        box-sizing: border-box;
 }
 
+#customize-info,
+#customize-theme-controls .customize-pane-parent,
+#customize-theme-controls .customize-pane-child {
+       overflow: visible;
+       width: 100%;
+       margin: 0;
+       padding: 0;
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+       -webkit-transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
+       transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
+       -webkit-transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1);
+       transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1);
+       -webkit-transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
+       transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
+}
+
+#customize-info,
+#customize-theme-controls .customize-pane-parent {
+       position: relative;
+       visibility: visible;
+       height: auto;
+       max-height: none;
+       overflow: auto;
+       -webkit-transform: none;
+       -ms-transform: none;
+       transform: none;
+}
+
+#customize-theme-controls .customize-pane-child {
+       position: absolute;
+       top: 0;
+       left: 0;
+       visibility: hidden;
+       height: 0;
+       max-height: none;
+       overflow: hidden;
+       -webkit-transform: translateX(100%);
+       -ms-transform: translateX(100%);
+       transform: translateX(100%);
+}
+
+#customize-theme-controls .customize-pane-child.open,
+#customize-theme-controls .customize-pane-child.current-panel,
+#customize-theme-controls .customize-themes-panel.customize-pane-child.current-panel {
+       -webkit-transform: none;
+       -ms-transform: none;
+       transform: none;
+}
+
+#customize-theme-controls .customize-themes-panel.customize-pane-child,
+.section-open #customize-theme-controls .customize-pane-parent,
+.in-sub-panel #customize-theme-controls .customize-pane-parent,
+.section-open #customize-info,
+.in-sub-panel #customize-info,
+.in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel,
+.in-themes-panel #customize-theme-controls .customize-pane-parent,
+.in-themes-panel #customize-info {
+       visibility: hidden;
+       height: 0;
+       overflow: hidden;
+       -webkit-transform: translateX(-100%);
+       -ms-transform: translateX(-100%);
+       transform: translateX(-100%);
+}
+
+.section-open #customize-theme-controls .customize-pane-parent.busy,
+.in-sub-panel #customize-theme-controls .customize-pane-parent.busy,
+.in-themes-panel #customize-theme-controls .customize-pane-parent.busy,
+.section-open #customize-info.busy,
+.in-sub-panel #customize-info.busy,
+.in-themes-panel #customize-info.busy,
+.busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel,
+#customize-theme-controls .customize-pane-child.open,
+#customize-theme-controls .customize-pane-child.current-panel,
+#customize-theme-controls .customize-pane-child.busy {
+       visibility: visible;
+       height: auto;
+       overflow: auto;
+}
+
+.in-themes-panel #customize-theme-controls .customize-pane-parent,
+.in-themes-panel #customize-info {
+       -webkit-transform: translateX(100%);
+       -ms-transform: translateX(100%);
+       transform: translateX(100%);
+}
+
+#customize-theme-controls .customize-pane-child.accordion-section-content,
+#customize-theme-controls .customize-pane-child.accordion-sub-container {
+       display: block;
+       overflow-x: hidden;
+}
+
+#customize-theme-controls .customize-pane-child.accordion-section-content {
+       padding: 12px;
+}
+
+#customize-theme-controls .customize-pane-child.menu li {
+       position: static;
+}
+
 .customize-section-description-container {
        margin-bottom: 15px;
 }
@@ -232,6 +393,10 @@ div.customize-section-description {
        margin-top: 22px;
 }
 
+.customize-info div.customize-section-description {
+       margin-top: 0;
+}
+
 div.customize-section-description p:first-child {
        margin-top: 0;
 }
@@ -254,42 +419,17 @@ h3.customize-section-title {
        padding: 10px 10px 12px 14px;
        margin: 0;
        line-height: 21px;
-       color: #555;
-}
-
-#customize-theme-controls {
-       position: relative;
-       left: 0;
-       -webkit-transition: .18s left ease-in-out;
-       transition: .18s left ease-in-out;
-}
-
-.ios #customize-theme-controls {
-       -webkit-transition: left 0s;
-       transition: left 0s;
-}
-
-.section-open #customize-info,
-.section-open #customize-theme-controls {
-       left: -100%;
+       color: #555d66;
 }
 
 .accordion-sub-container.control-panel-content {
        display: none;
        position: absolute;
-       left: 100%;
        top: 0;
        width: 100%;
-       -webkit-transition: left ease-in-out .18s;
-       transition: left ease-in-out .18s;
-}
-
-.ios .accordion-sub-container.control-panel-content {
-       -webkit-transition: left 0s;
-       transition: left 0s;
 }
 
-.accordion-sub-container.control-panel-content.animating {
+.accordion-sub-container.control-panel-content.busy {
        display: block;
 }
 
@@ -303,16 +443,21 @@ h3.customize-section-title {
        top: 0;
        left: 0;
        width: 45px;
-       height: 45px;
+       height: 41px;
        padding: 0 2px 0 0;
        background: #eee;
        border: none;
+       border-top: 4px solid #eee;
        border-right: 1px solid #ddd;
        color: #444;
        text-align: left;
        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-transition: color .15s ease-in-out,
+                   border-color .15s ease-in-out,
+                   background .15s ease-in-out;
+       transition: color .15s ease-in-out,
+                   border-color .15s ease-in-out,
+                   background .15s ease-in-out;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
@@ -329,23 +474,22 @@ h3.customize-section-title {
        background: #fff;
        border: none;
        border-right: 1px solid #ddd;
+       border-left: 4px solid #fff;
        -webkit-box-shadow: none;
        box-shadow: none;
        cursor: pointer;
-       -webkit-transition: left .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out;
-       transition: left .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out;
+       -webkit-transition: color .15s ease-in-out,
+                   border-color .15s ease-in-out,
+                   background .15s ease-in-out;
+       transition: color .15s ease-in-out,
+                   border-color .15s ease-in-out,
+                   background .15s ease-in-out;
 }
 
 .customize-section-back {
        height: 74px;
 }
 
-.ios .customize-panel-back,
-.ios .customize-section-back {
-       -webkit-transition: left 0s;
-       transition: left 0s;
-}
-
 .ios .customize-panel-back {
        display: none;
 }
@@ -354,33 +498,38 @@ h3.customize-section-title {
        display: block;
 }
 
-.panel-meta.customize-info .accordion-section-title {
+#customize-controls .panel-meta.customize-info .accordion-section-title {
        margin-left: 48px;
+       border-left: none;
 }
 
-#customize-controls .panel-meta.customize-info .accordion-section-title:hover {
+#customize-controls .panel-meta.customize-info .accordion-section-title:hover,
+#customize-controls .cannot-expand:hover .accordion-section-title {
        background: #fff;
-       color: #555;
+       color: #555d66;
+       border-left-color: #fff;
 }
 
 .customize-controls-close:focus,
 .customize-controls-close:hover,
 .customize-controls-preview-toggle:focus,
 .customize-controls-preview-toggle:hover {
-       background: #ddd;
-       border-color: #ccc;
-       color: #000;
+       background: #fff;
+       color: #0073aa;
+       border-top-color: #0073aa;
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
 }
 
+
 .customize-panel-back:hover,
 .customize-panel-back:focus,
 .customize-section-back:hover,
 .customize-section-back:focus {
-       color: #23282d;
-       background: #f5f5f5;
+       color: #0073aa;
+       background: #f3f3f5;
+       border-left-color: #0073aa;
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
@@ -390,7 +539,7 @@ h3.customize-section-title {
        font: normal 22px/45px dashicons;
        content: "\f335";
        position: relative;
-       top: 1px;
+       top: -3px;
        left: 13px;
 }
 
@@ -399,10 +548,11 @@ h3.customize-section-title {
        font: normal 20px/72px dashicons;
        content: "\f341";
        position: relative;
-       left: 13px;
+       left: 9px;
 }
 
 .wp-full-overlay-sidebar .wp-full-overlay-header {
+       background-color: #eee;
        -webkit-transition: padding ease-in-out .18s;
        transition: padding ease-in-out .18s;
 }
@@ -411,63 +561,6 @@ h3.customize-section-title {
        padding-left: 62px;
 }
 
-#customize-info,
-#customize-theme-controls > ul > .accordion-section {
-       position: relative;
-       left: 0;
-       -webkit-transition: left ease-in-out .18s;
-       transition: left ease-in-out .18s;
-}
-
-.ios #customize-info,
-.ios #customize-theme-controls > ul > .accordion-section {
-       -webkit-transition: left 0s;
-       transition: left 0s;
-}
-
-.in-sub-panel #customize-info,
-.in-sub-panel #customize-theme-controls > ul > .accordion-section {
-       left: -100%;
-       width: 100%;
-}
-
-.in-sub-panel #customize-theme-controls .accordion-section.current-panel {
-       width: 100%;
-}
-
-#customize-theme-controls .control-section.current-panel {
-       padding: 0;
-}
-
-#customize-theme-controls .control-section > h3.accordion-section-title {
-       position: relative;
-       left: 0;
-}
-
-#customize-theme-controls .control-section.current-panel > h3.accordion-section-title {
-       left: -354px;
-       -webkit-transition: left ease-in-out .18s;
-       transition: left ease-in-out .18s;
-}
-
-.ios #customize-theme-controls .control-section.current-panel > h3.accordion-section-title {
-       -webkit-transition: left 0s;
-       transition: left 0s;
-}
-
-.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;
@@ -509,8 +602,8 @@ p.customize-section-description {
 }
 
 .customize-control select {
-       min-width: 50%;
-       max-width: 100%;
+       width: 100%;
+       max-width: 300px;
        height: 28px;
        line-height: 28px;
 }
@@ -531,9 +624,20 @@ p.customize-section-description {
        display: block;
        font-style: italic;
        line-height: 18px;
+       margin-top: 0;
        margin-bottom: 5px;
 }
 
+.customize-section-description a.external-link:after {
+       font: 16px/11px dashicons;
+       content: "\f310";
+       top: 3px;
+       position: relative;
+       padding-left: 3px;
+       display: inline-block;
+       text-decoration: none;
+}
+
 .customize-control-color .color-picker,
 .customize-control-upload div {
        line-height: 28px;
@@ -608,6 +712,71 @@ p.customize-section-description {
        float: left;
 }
 
+#available-menu-items .accordion-section-content .new-content-item,
+.customize-control-dropdown-pages .new-content-item {
+       width: -webkit-calc(100% - 30px);
+       width: calc(100% - 30px);
+       padding: 8px 15px;
+       position: absolute;
+       bottom: 0;
+       z-index: 10;
+       background: #eee;
+       display: -webkit-box;
+       display: -moz-box;
+       display: -ms-flexbox;
+       display: -webkit-flex;
+       display: flex;
+}
+
+.customize-control-dropdown-pages .new-content-item {
+       width: 100%;
+       max-width: 300px;
+       padding: 5px 0 5px 1px;
+       position: relative;
+}
+
+#available-menu-items .new-content-item .create-item-input,
+.customize-control-dropdown-pages .new-content-item .create-item-input {
+       -webkit-box-flex: 10;
+       -webkit-flex-grow: 10;
+       -moz-box-flex: 10;
+       -ms-flex-positive: 10;
+       -ms-flex: 10;
+       flex-grow: 10;
+}
+
+#available-menu-items .new-content-item .add-content,
+.customize-control-dropdown-pages .new-content-item .add-content {
+       margin: 2px 0 2px 6px;
+       -webkit-box-flex: 10;
+       -webkit-flex-grow: 10;
+       -moz-box-flex: 10;
+       -ms-flex-positive: 10;
+       -ms-flex: 10;
+       flex-grow: 1;
+}
+
+.customize-control-dropdown-pages .new-content-item .create-item-input.invalid {
+       border: 1px solid #f00;
+}
+
+.customize-control-dropdown-pages .add-new-toggle {
+       margin-left: 1px;
+       color: #0073aa;
+       font-weight: 600;
+       line-height: 28px;
+       text-decoration: underline;
+}
+
+.customize-control-dropdown-pages .add-new-toggle:hover,
+.customize-control-dropdown-pages .add-new-toggle:active {
+       color: #00a0d2;
+}
+
+.customize-control-dropdown-pages .add-new-toggle:focus {
+       color: #124964;
+}
+
 #customize-preview iframe {
        width: 100%;
        height: 100%;
@@ -739,7 +908,7 @@ p.customize-section-description {
 }
 
 .customize-control-color .dropdown .dropdown-content {
-       background-color: #555;
+       background-color: #555d66;
        border: 1px solid rgba(0, 0, 0, 0.15);
 }
 
@@ -770,6 +939,7 @@ p.customize-section-description {
        margin-bottom: 8px;
 }
 
+.customize-control-header .actions,
 .customize-control-header .uploaded {
        margin-bottom: 18px;
 }
@@ -822,7 +992,7 @@ p.customize-section-description {
        display: none;
        position: absolute;
        width: 100%;
-       color: #555;
+       color: #555d66;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
@@ -853,6 +1023,11 @@ p.customize-section-description {
 .customize-control-header .header-view:after {
        border: 0;
 }
+
+.customize-control-header .header-view.selected .choice:focus {
+       outline: none;
+}
+
 .customize-control-header .header-view.selected:after {
        content: '';
        position: absolute;
@@ -862,6 +1037,7 @@ p.customize-section-description {
        -webkit-border-radius: 2px;
        border-radius: 2px;
 }
+
 .customize-control-header .header-view.button.selected {
        border: 0;
 }
@@ -871,11 +1047,11 @@ p.customize-section-description {
 .customize-control-header .uploaded .header-view .close {
        font-size: 20px;
        color: #fff;
-       background: #555;
+       background: #555d66;
        background: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 10px;
-       right: -999px;
+       left: -999px;
        z-index: 1;
        width: 26px;
        height: 26px;
@@ -884,9 +1060,14 @@ p.customize-section-description {
 
 .customize-control-header .header-view:hover .close,
 .customize-control-header .header-view .close:focus {
+       left: auto;
        right: 10px;
 }
 
+.customize-control-header .header-view .close:focus {
+       outline: 1px solid #5b9dd9;
+}
+
 /* Header control: randomiz(s)er */
 
 .customize-control-header .random.placeholder {
@@ -933,6 +1114,16 @@ p.customize-section-description {
        margin-bottom: 9px;
 }
 
+.customize-control-header .choice:focus {
+       outline: none;
+       -webkit-box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 3px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 3px 1px rgba(30, 140, 190, .8);
+}
+
 .customize-control-header .uploaded div:last-child > .choice {
        margin-bottom: 0;
 }
@@ -954,6 +1145,64 @@ p.customize-section-description {
        float: right;
 }
 
+/* Background position control */
+.customize-control-background_position .background-position-control .button-group {
+       display: block;
+}
+
+/**
+ * Custom CSS Section
+ *
+ * Modifications to the Section Container to make the textarea full-width and
+ * full-height, if the control is the only control in the section.
+ */
+
+#customize-controls .customize-section-description-container.section-meta.customize-info {
+       border-bottom: none;
+}
+
+#sub-accordion-section-custom_css .customize-control-notifications-container {
+       margin-bottom: 15px;
+}
+
+#customize-control-custom_css textarea {
+       display: block;
+       font-family: Consolas, Monaco, monospace;
+       font-size: 12px;
+       padding: 6px 8px;
+       height: 500px;
+       -moz-tab-size: 4;
+       -o-tab-size: 4;
+       tab-size: 4;
+}
+
+.customize-section-description-container + #customize-control-custom_css:last-child textarea {
+       border-right: 0;
+       border-left: 0;
+       height: -webkit-calc( 100vh - 185px );
+       height: calc( 100vh - 185px );
+       resize: none;
+}
+.customize-section-description-container + #customize-control-custom_css:last-child {
+       margin-left: -12px;
+       width: 299px;
+       margin-bottom: -12px;
+}
+
+@media screen and ( max-width: 640px ) {
+       .customize-section-description-container + #customize-control-custom_css:last-child {
+               margin-left: 0;
+               margin-right: 0;
+               width: 100%;
+       }
+       .customize-section-description-container + #customize-control-custom_css:last-child textarea {
+               height: -webkit-calc( 100vh - 140px );
+               height: calc( 100vh - 140px );
+               width: 100%;
+               border: solid 1px #ddd;
+       }
+}
+
 /**
  * Themes
  */
@@ -975,37 +1224,46 @@ p.customize-section-description {
        animation: customize-reload .75s;
 }
 
-.control-section-themes .accordion-section-title {
+#customize-theme-controls .control-section-themes .accordion-section-title:hover, /* Not a focusable element. */
+#customize-theme-controls .control-section-themes .accordion-section-title {
        cursor: default;
+       background: #fff;
+       color: #555d66;
+       border-top: 1px solid #ddd;
+       border-bottom: 1px solid #ddd;
+       border-left: none;
+       margin-top: 0;
 }
 
-#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;
+#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
+#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
+       border-top: 0;
 }
 
-.control-section-themes .accordion-section-title {
-       margin: 15px 0;
+#customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */
+#customize-theme-controls .control-section-themes > .accordion-section-title {
+       margin: 0 0 15px;
 }
 
-.customize-themes-panel .accordion-section-title {
+#customize-controls .customize-themes-panel .accordion-section-title:hover,
+#customize-controls .customize-themes-panel .accordion-section-title {
        margin: 15px -8px;
 }
 
-.control-section-themes .accordion-section-title {
+#customize-controls .control-section-themes .accordion-section-title,
+#customize-controls .customize-themes-panel .accordion-section-title {
        padding-right: 100px; /* Space for the button */
 }
 
-.control-section-themes .accordion-section-title span.customize-action,
+#customize-controls .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 {
+#customize-controls .control-section-themes .accordion-section-title .change-theme,
+#customize-controls .customize-themes-panel .accordion-section-title .customize-theme {
        position: absolute;
        right: 10px;
        top: 50%;
@@ -1013,12 +1271,11 @@ p.customize-section-description {
        font-weight: 400;
 }
 
-.control-section-themes .accordion-section-title:before {
+#customize-controls .control-section-themes .accordion-section-title:before {
        display: none;
 }
 
-.customize-themes-panel {
-       display: none;
+#customize-controls .customize-themes-panel {
        padding: 0 8px;
        background: #f1f1f1;
        -webkit-box-sizing: border-box;
@@ -1026,7 +1283,7 @@ p.customize-section-description {
        box-sizing: border-box;
 }
 
-.customize-themes-panel .accordion-section-title:first-child {
+#customize-controls .customize-themes-panel .accordion-section-title:first-child {
        margin-top: 0;
 }
 
@@ -1035,14 +1292,10 @@ p.customize-section-description {
        font-weight: 600;
 }
 
-.customize-themes-panel > h2 {
+#customize-controls .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;
@@ -1088,27 +1341,15 @@ p.customize-section-description {
        width: 100%;
 }
 
-#accordion-section-themes .accordion-section-title:after {
+.control-section-themes .accordion-section-title:after,
+.customize-themes-panel .accordion-section-title:after {
        display: none;
 }
 
-#customize-theme-controls .control-section-themes.current-panel > h3.accordion-section-title {
-       left: 0;
-}
-
 .customize-themes-panel.control-panel-content {
-       position: absolute;
-       left: -100%;
-       top: 0;
-       width: 100%;
        border-top: 1px solid #ddd;
 }
 
-.in-themes-panel #customize-info,
-.in-themes-panel #customize-theme-controls > ul > .accordion-section {
-       left: 100%;
-}
-
 /* Details View */
 .wp-customizer .theme-overlay {
        display: none;
@@ -1142,10 +1383,6 @@ p.customize-section-description {
        text-align: right; /* 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 {
@@ -1196,7 +1433,7 @@ body.cheatin p {
  * Widgets and Menus common styles
  */
 
-/* higher specificity than .wp-core-ui .button-secondary */
+/* higher specificity than .wp-core-ui .button */
 #customize-theme-controls .add-new-widget,
 #customize-theme-controls .add-new-menu-item {
        cursor: pointer;
@@ -1219,7 +1456,8 @@ body.cheatin p {
 }
 
 .add-new-widget:before,
-.add-new-menu-item:before {
+.add-new-menu-item:before,
+#available-menu-items .new-content-item .add-content:before {
        content: "\f132";
        display: inline-block;
        position: relative;
@@ -1400,6 +1638,11 @@ body.adding-widget .add-new-widget:before,
        overflow: auto;
        bottom: 0;
        width: 100%;
+       border-top: 1px solid #ddd;
+}
+
+.no-widgets-found #available-widgets-list {
+       border-top: none;
 }
 
 #available-widgets-filter {
@@ -1408,13 +1651,12 @@ body.adding-widget .add-new-widget:before,
        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;
+       padding: 13px 15px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
@@ -1422,8 +1664,101 @@ body.adding-widget .add-new-widget:before,
 
 #available-widgets-filter input,
 #available-menu-items-search input {
-       padding: 6px 10px;
        width: 100%;
+       height: 32px;
+       margin: 1px 0;
+       padding: 6px 30px;
+}
+
+#available-widgets-filter input::-ms-clear,
+#available-menu-items-search input::-ms-clear {
+       display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */
+}
+
+#available-menu-items-search .search-icon,
+#available-widgets-filter .search-icon {
+       display: block;
+       position: absolute;
+       top: 15px; /* 13 container padding +1 input margin +1 input border */
+       left: 16px;
+       width: 30px;
+       height: 30px;
+       line-height: 28px;
+       text-align: center;
+       color: #72777c;
+}
+
+#available-widgets-filter .clear-results,
+#available-menu-items-search .clear-results {
+       position: absolute;
+       top: 15px; /* 13 container padding +1 input margin +1 input border */
+       right: 16px;
+       width: 30px;
+       height: 30px;
+       padding: 0;
+       border: 0;
+       cursor: pointer;
+       background: none;
+       color: #a00;
+       text-decoration: none;
+       outline: 0;
+}
+
+#available-widgets-filter .clear-results,
+#available-menu-items-search .clear-results,
+#available-menu-items-search.loading .clear-results.is-visible {
+       display: none;
+}
+
+#available-widgets-filter .clear-results.is-visible,
+#available-menu-items-search .clear-results.is-visible {
+       display: block;
+}
+
+#available-widgets-filter .clear-results:before,
+#available-menu-items-search .clear-results:before {
+       content: "\f335";
+       font: normal 20px/1 dashicons;
+       vertical-align: middle;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
+}
+
+#available-widgets-filter .clear-results:hover,
+#available-widgets-filter .clear-results:focus,
+#available-menu-items-search .clear-results:hover,
+#available-menu-items-search .clear-results:focus {
+       color: #dc3232;
+}
+
+#available-widgets-filter .clear-results:focus,
+#available-menu-items-search .clear-results:focus {
+       -webkit-box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+}
+
+#available-menu-items-search .search-icon:after,
+#available-widgets-filter .search-icon:after {
+       content: "\f179";
+       font: normal 20px/1 dashicons;
+       vertical-align: middle;
+       -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
+}
+
+.no-widgets-found-message {
+       display: none;
+       margin: 0;
+       padding: 0 15px;
+       line-height: inherit;
+}
+
+.no-widgets-found .no-widgets-found-message {
+       display: block;
 }
 
 #available-widgets .widget-top,
@@ -1441,7 +1776,14 @@ body.adding-widget .add-new-widget:before,
        position: relative;
        padding: 20px 15px 20px 60px;
        background: #fff;
-       border-bottom: 1px solid #e5e5e5;
+       border-bottom: 1px solid #ddd;
+       border-left: 4px solid #fff;
+       -webkit-transition: .15s color ease-in-out,
+                   .15s background-color ease-in-out,
+                   .15s border-color ease-in-out;
+       transition: .15s color ease-in-out,
+                   .15s background-color ease-in-out,
+                   .15s border-color ease-in-out;
        cursor: pointer;
        display: none;
 }
@@ -1517,7 +1859,7 @@ body.adding-widget .add-new-widget:before,
                background: #eee;
                border: 0;
                border-right: 1px solid #ddd;
-               color: #444;
+               color: #555d66;
                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;
@@ -1598,7 +1940,7 @@ body.adding-widget .add-new-widget:before,
                padding: 9px 10px 12px 14px;
                margin: 0;
                line-height: 24px;
-               color: #555;
+               color: #555d66;
                display: block;
                overflow: hidden;
                white-space: nowrap;
@@ -1618,12 +1960,15 @@ body.adding-widget .add-new-widget:before,
        #available-widgets-filter {
                position: relative;
                width: 100%;
-               background: #fff;
                height: auto;
-               padding: 10px 15px;
        }
 
        #available-widgets-list {
-               top: 140px;
+               top: 130px;
+       }
+
+       #available-menu-items-search .clear-results,
+       #available-menu-items-search .search-icon {
+               top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */
        }
 }