]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/customize-controls.css
WordPress 4.0
[autoinstalls/wordpress.git] / wp-admin / css / customize-controls.css
index f9661147358a9f5525d074f07890284b04211e28..f9f11b37c40f958a76f11630e728ff668c0ba19c 100644 (file)
@@ -32,6 +32,15 @@ body {
        display: block;
 }
 
+#customize-header-actions {
+       border-bottom: 1px solid #ddd;
+}
+
+#customize-controls .wp-full-overlay-sidebar-content {
+       overflow-y: auto;
+       overflow-x: hidden;
+}
+
 #customize-info {
        border: none;
        border-top: 1px solid #ddd;
@@ -45,22 +54,12 @@ body {
        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;
@@ -83,11 +82,6 @@ body {
        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;
 }
@@ -100,14 +94,17 @@ body {
 
 #customize-theme-controls .accordion-section-content {
        color: #555555;
-       background: white;
+       background: #fff;
 }
 
-#customize-theme-controls .control-section:hover .accordion-section-title,
+#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: #555555;
+       color: #222;
        background: #f5f5f5;
 }
 
@@ -118,13 +115,14 @@ body {
        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: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: #555;
 }
 
+#customize-info.open,
 #customize-theme-controls .control-section.open {
        border-bottom: 1px solid #eeeeee;
 }
@@ -134,7 +132,7 @@ body {
 }
 
 #customize-theme-controls .control-section:last-of-type.open,
-#customize-theme-controls .control-section:last-of-type .accordion-section-title {
+#customize-theme-controls .control-section:last-of-type .accordion-section-title {
        border-bottom-color: #ddd;
 }
 
@@ -143,6 +141,192 @@ body {
        margin: 0;
 }
 
+.control-section.control-panel > .accordion-section-title {
+       padding-right: 54px;
+}
+
+.control-section.control-panel > .accordion-section-title:after {
+       content: "\f345";
+       background: #f5f5f5;
+       color: #555;
+       width: 38px;
+       height: 100%;
+       margin: -11px -10px -11px 0; /* compensate for positioning */
+       line-height: 45px;
+       padding-left: 5px;
+       border-left: 1px solid #eee;
+       z-index: 0;
+}
+
+.rtl .control-section.control-panel > .accordion-section-title:after {
+       content: "\f341";
+}
+
+#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-right: none;
+       margin-top: -12px;
+       line-height: 44px;
+       z-index: 1;
+}
+
+.accordion-sub-container.control-panel-content {
+       display: none;
+       position: absolute;
+       left: 300px;
+       top: 0;
+       width: 300px;
+       border-top: 1px solid #ddd;
+       -webkit-transition: left ease-in-out .18s;
+       transition: left ease-in-out .18s;
+}
+
+.accordion-sub-container.control-panel-content.animating {
+       display: block;
+}
+
+.current-panel .accordion-sub-container.control-panel-content {
+       width: 100%;
+}
+
+.customize-controls-close {
+       display: block;
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 45px;
+       height: 45px;
+       padding-right: 2px;
+       background: #eee;
+       border-right: 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;
+}
+
+.control-panel-back {
+       display: block;
+       position: fixed;
+       top: 0;
+       z-index: 99;
+       left: -48px;
+       width: 45px;
+       height: 45px;
+       padding-right: 2px;
+       background: #eee;
+       border-right: 1px solid #ddd;
+       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;
+}
+
+.collapsed .control-panel-back {
+       display: none;
+}
+
+.customize-controls-close:focus,
+.customize-controls-close:hover,
+.control-panel-back:focus,
+.control-panel-back:hover {
+       background: #ddd;
+       border-color: #ccc;
+       color: #000;
+       outline: none;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+}
+
+.customize-controls-close:before {
+       font: normal 22px/1 dashicons;
+       content: "\f335";
+       position: relative;
+       top: 7px;
+       left: 13px;
+}
+
+.control-panel-back:before {
+       font: normal 20px/1 dashicons;
+       content: "\f341";
+       position: relative;
+       top: 7px;
+       left: 13px;
+}
+
+.rtl .control-panel-back:before {
+       content: "\f344";
+}
+
+.in-sub-panel .control-panel-back {
+       left: 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;
+}
+
+.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header {
+       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;
+}
+
+.in-sub-panel #customize-info,
+.in-sub-panel #customize-theme-controls > ul > .accordion-section {
+       left: -300px;
+       width: 300px;
+}
+
+.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: -300px;
+       -webkit-transition: left ease-in-out .18s;
+       transition: left 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;
+}
+
+.control-section.control-panel .preview-notice {
+       font-size: 13px;
+       line-height: 24px;
+}
+
+p.customize-section-description {
+       font-style: normal;
+}
+
 .customize-control {
        width: 100%;
        float: left;
@@ -151,18 +335,28 @@ body {
 }
 
 .customize-control select,
-.customize-control input[type="text"],
 .customize-control input[type="radio"],
 .customize-control input[type="checkbox"] {
        line-height: 28px;
 }
 
-.customize-control input[type="text"] {
+.customize-control input[type="text"],
+.customize-control input[type="password"],
+.customize-control input[type="email"],
+.customize-control input[type="number"],
+.customize-control input[type="search"],
+.customize-control input[type="tel"],
+.customize-control input[type="url"] {
        width: 98%;
        line-height: 18px;
        margin: 0;
 }
 
+.customize-control-textarea textarea {
+       width: 100%;
+       resize: vertical;
+}
+
 .customize-control select {
        min-width: 50%;
        max-width: 100%;
@@ -182,6 +376,13 @@ body {
        margin-bottom: 5px;
 }
 
+.customize-control-description {
+       display: block;
+       font-style: italic;
+       line-height: 18px;
+       margin-bottom: 5px;
+}
+
 .customize-control-color .color-picker,
 .customize-control-checkbox label,
 .customize-control-upload div {
@@ -201,6 +402,10 @@ body {
        line-height: 22px;
 }
 
+.customize-control-radio .customize-control-title + .customize-control-description {
+       margin-top: 7px;
+}
+
 .customize-control-radio label {
        line-height: 32px;
 }