]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/edit.css
WordPress 4.7.1
[autoinstalls/wordpress.git] / wp-admin / css / edit.css
index 2dca35b986e6cb12186ad23d517b94f691b6ef85..59b79e895bd7ed3a3378f3855756bfed40ce8863 100644 (file)
 }
 
 #titlediv #title-prompt-text {
-       color: #777;
+       color: #72777c;
        position: absolute;
        font-size: 1.7em;
        padding: 11px 10px;
 }
 
-#poststuff .inside-submitbox,
-#side-sortables .inside-submitbox {
-       margin: 0 3px;
-       font-size: 11px;
-}
-
 input#link_description,
 input#link_url {
        width: 98%;
@@ -120,12 +114,12 @@ input#link_url {
 }
 
 #editable-post-name {
-       font-weight: bold;
+       font-weight: 600;
 }
 
 #editable-post-name input {
        font-size: 13px;
-       font-weight: normal;
+       font-weight: 400;
        height: 22px;
        margin: 0;
        width: 16em;
@@ -135,25 +129,8 @@ input#link_url {
        float: left;
 }
 
-.submitbox .submit {
-       text-align: left;
-       padding: 12px 10px 10px;
-       font-size: 11px;
-       background-color: #464646;
-       color: #ccc;
-}
-
-.submitbox .submitdelete {
-       text-decoration: none;
-       padding: 1px 2px;
-}
-
-/* @todo: do we really need this? word on the street is we don't and this
-stray rule may actually be compensated for elsewhere. */
-#normal-sortables .submitbox .submitdelete:hover {
-       color: #000;
-       background-color: #f00;
-       border-bottom-color: #f00;
+body.post-new-php .submitbox .submitdelete {
+       display: none;
 }
 
 .submitbox .submit a:hover {
@@ -166,10 +143,6 @@ stray rule may actually be compensated for elsewhere. */
        padding: 6px;
 }
 
-.inside-submitbox #post_status {
-       margin: 2px 0 2px -2px;
-}
-
 #post-status-select {
        margin-top: 3px;
 }
@@ -271,11 +244,6 @@ ul.category-tabs li,
        border: 0 none;
 }
 
-#side-sortables .inside-submitbox .insidebox,
-.stuffbox .insidebox {
-       margin: 11px 0;
-}
-
 /* @todo: make this a more generic class */
 ul.category-tabs,
 ul.add-menu-item-tabs,
@@ -292,7 +260,7 @@ ul.add-menu-item-tabs li {
 ul.category-tabs li.tabs,
 ul.add-menu-item-tabs li.tabs,
 .wp-tab-active {
-       border: 1px solid #dfdfdf;
+       border: 1px solid #ddd;
        border-bottom-color: #fdfdfd;
        background-color: #fdfdfd;
 }
@@ -300,13 +268,19 @@ ul.add-menu-item-tabs li.tabs,
 ul.category-tabs li,
 ul.add-menu-item-tabs li,
 ul.wp-tab-bar li {
-       padding: 3px 5px 5px;
+       padding: 3px 5px 6px;
+}
+
+#set-post-thumbnail {
+       display: inline-block;
+       max-width: 100%;
 }
 
 #postimagediv .inside img {
        max-width: 100%;
        height: auto;
        width: auto;
+       vertical-align: top;
        background-image: -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
        background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
        background-position: 0 0, 10px 10px;
@@ -367,8 +341,10 @@ form#tags-filter {
        cursor: row-resize;
 }
 
+/*rtl:ignore*/
 .rtl #content-resize-handle {
-       background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom;
+       background-image: url(../images/resize-rtl.gif);
+       background-position: left bottom;
 }
 
 .wp-editor-expand #content-resize-handle {
@@ -388,16 +364,6 @@ form#tags-filter {
        position: relative;
 }
 
-#content-textarea-clone {
-       z-index: -1;
-       position: absolute;
-       top: 0;
-       visibility: hidden;
-       overflow: hidden;
-       max-width: 100%;
-       border: 1px solid transparent;
-}
-
 .wp-editor-expand #wp-content-editor-tools {
        z-index: 1000;
        border-bottom: 1px solid #e5e5e5;
@@ -485,7 +451,7 @@ form#tags-filter {
        height: auto !important;
 }
 
-#misc-publishing-actions label[for="post_status"]:before,
+#post-body .misc-pub-post-status:before,
 #post-body #visibility:before,
 .curtime #timestamp:before,
 #post-body .misc-pub-revisions:before,
@@ -493,20 +459,22 @@ span.wp-media-buttons-icon:before {
        color: #82878c;
 }
 
+#post-body .misc-pub-post-status:before,
 #post-body #visibility:before,
 .curtime #timestamp:before,
 #post-body .misc-pub-revisions:before {
        font: normal 20px/1 dashicons;
        speak: none;
        display: inline-block;
-       padding: 0 2px 0 0;
-       top: 0;
-       left: -1px;
-       position: relative;
+       margin-left: -1px;
+       padding-right: 3px;
        vertical-align: top;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
-       text-decoration: none !important;
+}
+
+#post-body .misc-pub-post-status:before {
+       content: "\f173";
 }
 
 #post-body #visibility:before {
@@ -515,6 +483,7 @@ span.wp-media-buttons-icon:before {
 
 .curtime #timestamp:before {
        content: "\f145";
+       position: relative;
        top: -1px;
 }
 
@@ -613,10 +582,9 @@ span.wp-media-buttons-icon:before {
        position: absolute;
 }
 
-.tagchecklist span {
-       margin-right: 25px;
-       display: block;
+.tagchecklist > span {
        float: left;
+       margin-right: 25px;
        font-size: 13px;
        line-height: 1.8em;
        cursor: default;
@@ -625,16 +593,16 @@ span.wp-media-buttons-icon:before {
        text-overflow: ellipsis;
 }
 
-.tagchecklist span a {
-       margin: 1px 0 0 -17px;
+.tagchecklist .ntdelbutton {
+       position: absolute;
+       width: 24px;
+       height: 24px;
+       border: none;
+       margin: 0 0 0 -19px;
+       padding: 0;
+       background: none;
        cursor: pointer;
-       width: 20px;
-       height: 20px;
-       display: block;
-       float: left;
        text-indent: 0;
-       overflow: hidden;
-       position: absolute;
 }
 
 #poststuff h3.hndle, /* Back-compat for pre-4.4 */
@@ -655,22 +623,18 @@ span.wp-media-buttons-icon:before {
        max-width: 100%;
 }
 
-#poststuff .inside label.spam,
-#poststuff .inside label.deleted {
-       color: red;
-}
-
-#poststuff .inside label.waiting {
-       color: orange;
+.ie8 #poststuff .inside #parent_id,
+.ie8 #poststuff .inside #page_template {
+       width: 250px;
 }
 
-#poststuff .inside label.approved {
-       color: green;
+.post-attributes-label-wrapper {
+       margin-bottom: 0.5em;
 }
 
-.ie8 #poststuff .inside #parent_id,
-.ie8 #poststuff .inside #page_template {
-       width: 250px;
+.post-attributes-label {
+       vertical-align: baseline;
+       font-weight: 600;
 }
 
 #post-visibility-select {
@@ -678,6 +642,7 @@ span.wp-media-buttons-icon:before {
        margin-top: 3px;
 }
 
+#linksubmitdiv .inside, /* Old Link Manager back-compat. */
 #poststuff #submitdiv .inside {
        margin: 0;
        padding: 0;
@@ -721,7 +686,7 @@ span.wp-media-buttons-icon:before {
 #postcustomstuff table {
        margin: 0;
        width: 100%;
-       border: 1px solid #dfdfdf;
+       border: 1px solid #ddd;
        border-spacing: 0;
        background-color: #f9f9f9;
 }
@@ -954,7 +919,7 @@ a.post-state-format.format-link:before {
        max-height: 200px;
        overflow: auto;
        padding: 0 0.9em;
-       border: solid 1px #dfdfdf;
+       border: solid 1px #ddd;
        background-color: #fdfdfd;
 }
 
@@ -992,15 +957,9 @@ ul.categorychecklist li {
        border-style: solid;
 }
 
-.form-wrap p,
-.form-wrap label {
-       font-size: 11px;
-}
-
 .form-wrap label {
        display: block;
-       padding: 2px;
-       font-size: 12px;
+       padding: 2px 0;
 }
 
 .form-field input[type="text"],
@@ -1031,8 +990,8 @@ span.description,
 }
 
 .form-wrap .form-field {
-       margin: 0 0 10px;
-       padding: 8px 0;
+       margin: 1em 0;
+       padding: 0;
 }
 
 .form-wrap .form-field #parent {
@@ -1048,6 +1007,9 @@ span.description,
        margin-top: -10px;
 }
 
+.edit-term-notes {
+       margin-top: 2em;
+}
 
 /*------------------------------------------------------------------------------
   13.0 - Tags
@@ -1073,6 +1035,25 @@ span.description,
        width: 260px;
 }
 
+.tagcloud-link.button-link {
+       color: #0073aa;
+       text-decoration: underline;
+}
+
+.tagcloud-link.button-link:hover {
+       color: #00a0d2;
+}
+
+.tagcloud-link.button-link:focus {
+       color: #124964;
+       -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);
+}
+
 #post-body-content .tagsdiv .the-tags {
        margin: 0 5px;
 }
@@ -1098,14 +1079,15 @@ p.popular-tags a {
        margin: 2px 0 12px;
 }
 
+/* Suggest.js autocomplete, no more used by core. */
 .ac_results {
+       display: none;
+       margin: -1px 0 0;
        padding: 0;
-       margin: 0;
        list-style: none;
        position: absolute;
        z-index: 10000;
-       display: none;
-       border: 1px solid #808080;
+       border: 1px solid #5b9dd9;
        background-color: #fff;
 }
 
@@ -1114,14 +1096,16 @@ p.popular-tags a {
 }
 
 .ac_results li {
-       padding: 2px 5px;
+       margin: 0;
+       padding: 5px 10px;
        white-space: nowrap;
-       color: #101010;
        text-align: left;
 }
 
-.ac_over {
-       background-color: #f0f0b8;
+.ac_results .ac_over,
+.ac_over .ac_match {
+       background-color: #0073aa;
+       color: #fff;
        cursor: pointer;
 }
 
@@ -1140,6 +1124,29 @@ p.popular-tags a {
        padding: 10px 15px;
 }
 
+.comment-ays .comment-content ul {
+       list-style: initial;
+       margin-left: 2em;
+}
+
+.comment-ays .comment-content a[href]:after {
+       content: '(' attr( href ) ')';
+       display: inline-block;
+       padding: 0 4px;
+       color: #72777C;
+       font-size: 13px;
+       word-break: break-all;
+}
+
+.comment-ays .comment-content p.edit-comment {
+       margin-top: 10px;
+}
+
+.comment-ays .comment-content p.edit-comment a[href]:after {
+       content: '';
+       padding: 0;
+}
+
 .comment-ays-submit .button-cancel {
        margin-left: 1em;
 }
@@ -1182,7 +1189,7 @@ table.links-table {
 }
 
 .links-table th {
-       font-weight: normal;
+       font-weight: 400;
        text-align: left;
        vertical-align: top;
        min-width: 80px;
@@ -1222,6 +1229,7 @@ table.links-table {
 }
 
 .focus-on .wrap > h1,
+.focus-on .page-title-action,
 .focus-on #wpfooter,
 .focus-on .postbox-container > *,
 .focus-on div.updated,
@@ -1245,6 +1253,7 @@ table.links-table {
 }
 
 .focus-off .wrap > h1,
+.focus-off .page-title-action,
 .focus-off #wpfooter,
 .focus-off .postbox-container > *,
 .focus-off div.updated,
@@ -1317,9 +1326,11 @@ table.links-table {
                background-size: 11px 11px;
        }
 
+       /*rtl:ignore*/
        .rtl #content-resize-handle,
        .rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize {
-               background: transparent url(../images/resize-rtl-2x.gif) no-repeat scroll right bottom;
+               background-image: url(../images/resize-rtl-2x.gif);
+               background-position: left bottom;
        }
 }
 
@@ -1457,7 +1468,7 @@ table.links-table {
                margin: 25px 10px;
        }
 
-       .tagchecklist span {
+       .tagchecklist span {
                font-size: 16px;
                line-height: 1.4;
        }
@@ -1521,17 +1532,14 @@ table.links-table {
        }
 
        #wp-content-media-buttons a {
-               font-size: 16px;
-               line-height: 37px;
-               height: 39px;
-               padding: 0 20px 0 15px;
+               font-size: 14px;
+               padding: 6px 10px;
        }
 
        .wp-media-buttons span.wp-media-buttons-icon,
        .wp-media-buttons span.jetpack-contact-form-icon {
                width: 22px !important;
-               margin-top: -3px !important;
-               margin-left: -5px !important;
+               margin-left: -2px !important;
        }
 
        .wp-media-buttons .add_media span.wp-media-buttons-icon:before,
@@ -1582,11 +1590,3 @@ table.links-table {
                padding: 10px 0;
        }
 }
-
-@media only screen and (max-width: 500px) {
-       /* Align Add Media + Visual + Text tabs */
-       #wp-content-media-buttons a {
-               font-size: 14px;
-               padding: 0 10px 0 10px;
-       }
-}