]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/edit.css
WordPress 4.2.5-scripts
[autoinstalls/wordpress.git] / wp-admin / css / edit.css
index 646384efef5047fa304d809769449f52897d3043..c2a4c764dd566f7216f8444a9998d8a21ee8f6de 100644 (file)
@@ -37,7 +37,6 @@
 
 #titlediv {
        position: relative;
-       margin-bottom: 10px;
 }
 
 #titlediv label {
@@ -60,7 +59,7 @@
        height: 1.7em;
        width: 100%;
        outline: none;
-       margin: 0;
+       margin: 0 0 3px;
        background-color: #fff;
 }
 
@@ -228,7 +227,7 @@ ul.category-tabs li,
 .wp-tab-bar .wp-tab-active a,
 #post-body ul.category-tabs li.tabs a,
 #post-body ul.add-menu-item-tabs li.tabs a {
-       color: #333;
+       color: #32373c;
 }
 
 .category-tabs {
@@ -291,6 +290,7 @@ ul.wp-tab-bar li {
 #postimagediv .inside img {
        max-width: 100%;
        height: auto;
+       width: auto;
 }
 
 form#tags-filter {
@@ -337,6 +337,7 @@ td.plugin-title p {
        background-color: #f7f7f7;
        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
        box-shadow: 0 1px 1px rgba(0,0,0,0.04);
+       z-index: 999;
 }
 
 #post-status-info td {
@@ -344,7 +345,7 @@ td.plugin-title p {
 }
 
 .autosave-info {
-       padding: 2px;
+       padding: 2px 10px;
        text-align: right;
 }
 
@@ -362,11 +363,107 @@ td.plugin-title p {
        background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom;
 }
 
+.wp-editor-expand #content-resize-handle {
+       display: none;
+}
+
+#postdivrich #content {
+       resize: none;
+}
+
 #wp-word-count {
        display: block;
        padding: 2px 10px;
 }
 
+#wp-content-editor-container {
+       position: relative;
+}
+
+#content-textarea-clone {
+       z-index: -1;
+       position: absolute;
+       top: 0;
+       visibility: hidden;
+       overflow: hidden;
+       max-width: 100%;
+       border: 1px solid transparent;
+}
+
+.wp-fullscreen-wrap #content-textarea-clone {
+       display: none;
+}
+
+/* editor-expand.js override */
+.wp-fullscreen-wrap {
+       padding-top: 0 !important;
+}
+
+.wp-fullscreen-wrap .wp-editor-area {
+       margin-top: 0 !important;
+}
+
+.wp-fullscreen-wrap .mce-edit-area {
+       padding-top: 0 !important;
+}
+/* end editor-expand.js override */
+
+.wp-editor-expand #wp-content-editor-tools {
+       z-index: 1000;
+       border-bottom: 1px solid #e5e5e5;
+}
+
+.wp-editor-expand #wp-content-editor-container {
+       -webkit-box-shadow: none;
+       box-shadow: none;
+       margin-top: -1px;
+}
+
+.wp-editor-expand #wp-content-editor-container {
+       border-bottom: 0 none;
+}
+
+.wp-editor-expand div.mce-statusbar {
+       z-index: 1;
+}
+
+.wp-editor-expand #post-status-info {
+       border-top: 1px solid #e5e5e5;
+}
+
+.wp-editor-expand div.mce-toolbar-grp {
+       z-index: 999;
+}
+
+/* TinyMCE native fullscreen mode override */
+.mce-fullscreen #wp-content-wrap .mce-menubar,
+.mce-fullscreen #wp-content-wrap .mce-toolbar-grp,
+.mce-fullscreen #wp-content-wrap .mce-edit-area,
+.mce-fullscreen #wp-content-wrap .mce-statusbar {
+       position: static !important;
+       width: auto !important;
+       padding: 0 !important;
+}
+
+.mce-fullscreen #wp-content-wrap .mce-statusbar {
+       visibility: visible !important;
+}
+
+.post-php.mce-fullscreen #wpadminbar,
+.mce-fullscreen #wp-content-wrap .mce-wp-dfw {
+       display: none;
+}
+/* End TinyMCE native fullscreen mode override */
+
+#wp-content-editor-tools {
+       background-color: #f1f1f1;
+       padding-top: 20px;
+}
+
+#poststuff #post-body.columns-2 #side-sortables {
+       width: 280px;
+}
+
 #timestampdiv select {
        height: 21px;
        line-height: 14px;
@@ -399,7 +496,7 @@ td.plugin-title p {
 .curtime #timestamp:before,
 #post-body .misc-pub-revisions:before,
 span.wp-media-buttons-icon:before {
-       color: #888;
+       color: #82878c;
 }
 
 #post-body #visibility:before,
@@ -448,6 +545,7 @@ span.wp-media-buttons-icon:before {
 .notification-dialog {
        position: fixed;
        top: 30%;
+       max-height: 70%;
        left: 50%;
        width: 450px;
        margin-left: -225px;
@@ -456,6 +554,7 @@ span.wp-media-buttons-icon:before {
        box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
        line-height: 1.5;
        z-index: 1000005;
+       overflow-y: auto;
 }
 
 .notification-dialog-background {
@@ -526,8 +625,10 @@ span.wp-media-buttons-icon:before {
        float: left;
        font-size: 13px;
        line-height: 1.8em;
-       white-space: nowrap;
        cursor: default;
+       max-width: 100%;
+       overflow: hidden;
+       text-overflow: ellipsis;
 }
 
 .tagchecklist span a {
@@ -594,6 +695,7 @@ span.wp-media-buttons-icon:before {
        padding: 0;
 }
 
+#post-body-content,
 .edit-form-section {
        margin-bottom: 20px;
 }
@@ -748,7 +850,7 @@ span.wp-media-buttons-icon:before {
 
 a.post-state-format:hover:before,
 a.post-format-icon:hover:before {
-       color: #2ea2cc;
+       color: #00a0d2;
 }
 
 #post-formats-select {
@@ -913,7 +1015,13 @@ ul.categorychecklist li {
        font-size: 12px;
 }
 
-.form-field input,
+.form-field input[type="text"],
+.form-field input[type="password"],
+.form-field input[type="email"],
+.form-field input[type="number"],
+.form-field input[type="search"],
+.form-field input[type="tel"],
+.form-field input[type="url"],
 .form-field textarea {
        border-style: solid;
        border-width: 1px;
@@ -957,15 +1065,6 @@ span.description,
   13.0 - Tags
 ------------------------------------------------------------------------------*/
 
-.tagsdiv {
-       margin-top: -8px;
-}
-
-#poststuff .taghint {
-       color: #aaa;
-       margin: 15px 0 -24px 12px;
-}
-
 #poststuff .tagsdiv .howto {
        margin: 0 0 6px 0;
 }
@@ -990,25 +1089,9 @@ span.description,
        margin: 0 5px;
 }
 
-/* tag hints */
-.taghint {
-       color: #aaa;
-       margin: -17px 0 0 7px;
-       visibility: hidden;
-}
-
-input.newtag ~ div.taghint {
-       visibility: visible;
-}
-
-input.newtag:focus ~ div.taghint {
-       visibility: hidden;
-}
-
 p.popular-tags {
        border: none;
        line-height: 2em;
-       max-width: 1000px;
        padding: 8px 12px 12px;
        text-align: justify;
 }
@@ -1064,14 +1147,13 @@ p.popular-tags a {
        height: 200px;
 }
 
-.comment-ays {
-       margin-bottom: 0;
-       border-bottom-style: solid;
-       border-bottom-width: 1px;
+.comment-ays th,
+.comment-ays td {
+       padding: 10px 15px;
 }
 
-.comment-ays .alt {
-       background-color: transparent;
+.comment-ays-submit .button-cancel {
+       margin-left: 1em;
 }
 
 .trash-undo-inside,
@@ -1138,6 +1220,93 @@ table.links-table {
        max-width: 280px;
 }
 
+/* DFW 2
+-------------------------------------------------------------- */
+
+#wp-content-wrap .mce-wp-dfw,
+#qt_content_dfw {
+       display: none;
+}
+
+.wp-editor-expand #wp-content-wrap .mce-wp-dfw,
+.wp-editor-expand #qt_content_dfw {
+       display: inline-block;
+}
+
+.focus-on .wrap > h2,
+.focus-on #wpfooter,
+.focus-on .postbox-container > *,
+.focus-on div.updated,
+.focus-on div.error,
+.focus-on div.notice,
+.focus-on #wp-toolbar,
+.focus-on #screen-meta-links,
+.focus-on #screen-meta {
+       opacity: 0;
+       -webkit-transition-duration: 0.6s;
+       transition-duration: 0.6s;
+       -webkit-transition-property: opacity;
+       transition-property: opacity;
+       -webkit-transition-timing-function: ease-in-out;
+       transition-timing-function: ease-in-out;
+}
+
+.focus-on #wp-toolbar {
+       opacity: 0.3;
+}
+
+.focus-off .wrap > h2,
+.focus-off #wpfooter,
+.focus-off .postbox-container > *,
+.focus-off div.updated,
+.focus-off div.error,
+.focus-off div.notice,
+.focus-off #wp-toolbar,
+.focus-off #screen-meta-links,
+.focus-off #screen-meta {
+       opacity: 1;
+       -webkit-transition-duration: 0.2s;
+       transition-duration: 0.2s;
+       -webkit-transition-property: opacity;
+       transition-property: opacity;
+       -webkit-transition-timing-function: ease-in-out;
+       transition-timing-function: ease-in-out;
+}
+
+.focus-off #wp-toolbar {
+       -webkit-transform: translate(0, 0);
+}
+
+.focus-on #adminmenuback,
+.focus-on #adminmenuwrap {
+       -webkit-transition-duration: 0.6s;
+       transition-duration: 0.6s;
+       -webkit-transition-property: -webkit-transform;
+       transition-property: transform;
+       -webkit-transition-timing-function: ease-in-out;
+       transition-timing-function: ease-in-out;
+}
+
+.focus-on #adminmenuback,
+.focus-on #adminmenuwrap {
+       -webkit-transform: translateX( -100% );
+       -ms-transform: translateX( -100% );
+       transform: translateX( -100% );
+}
+
+.focus-off #adminmenuback,
+.focus-off #adminmenuwrap {
+       -webkit-transform: translateX( 0 );
+       -ms-transform: translateX( 0 );
+       transform: translateX( 0 );
+       -webkit-transition-duration: 0.2s;
+       transition-duration: 0.2s;
+       -webkit-transition-property: -webkit-transform;
+       transition-property: transform;
+       -webkit-transition-timing-function: ease-in-out;
+       transition-timing-function: ease-in-out;
+}
+
 /* =Media Queries
 -------------------------------------------------------------- */
 
@@ -1145,7 +1314,6 @@ table.links-table {
  * HiDPI Displays
  */
 @media print,
-  (-o-min-device-pixel-ratio: 5/4),
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
        #content-resize-handle,
@@ -1185,6 +1353,7 @@ table.links-table {
 
        #poststuff #post-body.columns-2 #side-sortables {
                min-height: 0;
+               width: auto;
        }
 
        /* hide the radio buttons for column prefs */
@@ -1348,17 +1517,11 @@ table.links-table {
                padding: 10px 20px;
        }
 
-       #wp-content-editor-tools {
-               overflow: hidden;
-               padding: 20px 15px 1px 0;
-               top: 1px;
-       }
-
-       a.wp-switch-editor {
+       button.wp-switch-editor {
                font-size: 16px;
                line-height: 1em;
-               margin: 3px 0 0 7px;
-               padding: 12px 15px;
+               margin: 7px 0 0 7px;
+               padding: 8px 12px;
        }
 
        #wp-content-media-buttons a {
@@ -1399,8 +1562,13 @@ table.links-table {
        }
 
        /* Moderate Comment */
-       .comment-ays {
-               border-bottom: none;
+       .comment-ays th,
+       .comment-ays td {
+               padding-bottom: 0;
+       }
+
+       .comment-ays td {
+               padding-top: 6px;
        }
 
        /* Links */