]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/edit.css
WordPress 4.1.2
[autoinstalls/wordpress.git] / wp-admin / css / edit.css
index ad7746fd6380724c17c3ea25a0b55de92fb4057e..e0a05b26be246cf477a4e38ab2dbc5a0ab17446c 100644 (file)
@@ -37,7 +37,6 @@
 
 #titlediv {
        position: relative;
-       margin-bottom: 10px;
 }
 
 #titlediv label {
@@ -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;
 }
 
@@ -355,18 +356,114 @@ td.plugin-title p {
 #content-resize-handle {
        background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
        width: 12px;
-       cursor: n-resize;
+       cursor: row-resize;
 }
 
 .rtl #content-resize-handle {
        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;
@@ -594,6 +691,7 @@ span.wp-media-buttons-icon:before {
        padding: 0;
 }
 
+#post-body-content,
 .edit-form-section {
        margin-bottom: 20px;
 }
@@ -913,7 +1011,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;
@@ -1008,7 +1112,6 @@ input.newtag:focus ~ div.taghint {
 p.popular-tags {
        border: none;
        line-height: 2em;
-       max-width: 1000px;
        padding: 8px 12px 12px;
        text-align: justify;
 }
@@ -1138,6 +1241,102 @@ 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;
+}
+
+/* @noflip */
+.focus-on #adminmenuback,
+.focus-on #adminmenuwrap {
+       -webkit-transform: translateX( -100% );
+       -ms-transform: translateX( -100% );
+       transform: translateX( -100% );
+}
+
+/* @noflip */
+.rtl.focus-on #adminmenuback,
+.rtl.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
 -------------------------------------------------------------- */
 
@@ -1185,6 +1384,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 +1548,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 {