]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/skins/wordpress/wp-content.css
WordPress 4.5-scripts
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / skins / wordpress / wp-content.css
index dd7b5c48db49161d653ffc76b5eb26b527bd175c..39af33835f5cbc92549852a200752e9736de08ef 100644 (file)
@@ -4,15 +4,6 @@ html {
        cursor: text;
 }
 
-html.ios {
-       height: 100%;
-}
-
-.ios body#tinymce {
-       height: 200%;
-       max-width: none;
-}
-
 body {
        font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
        font-size: 16px;
@@ -21,6 +12,8 @@ body {
        margin: 9px 10px;
        max-width: 100%;
        -webkit-font-smoothing: antialiased !important;
+       overflow-wrap: break-word;
+       word-wrap: break-word; /* Old syntax */
 }
 
 body.rtl {
@@ -71,56 +64,27 @@ img.emoji {
        box-shadow: none !important;
 }
 
-/* DFW mode */
-html.wp-fullscreen,
-html.wp-fullscreen body#tinymce {
-       width: auto;
-       max-width: none;
-       min-height: 0;
-       overflow: hidden;
-       color: #333;
-       background: transparent;
-}
-
-.aligncenter,
-dl.aligncenter,
-.html5-captions .wp-caption.aligncenter {
-       display: block;
-       margin-left: auto;
-       margin-right: auto;
-}
-
-.alignleft {
-       float: left;
+.mceIEcenter {
+       text-align: center;
 }
 
-.alignright {
-       float: right;
+img {
+       height: auto;
+       max-width: 100%;
 }
 
 .wp-caption {
-       border: 1px solid #ddd;
-       text-align: center;
-       background-color: #f3f3f3;
-       padding-top: 4px;
-       margin: 10px 0;
-}
-
-.html5-captions .wp-caption {
-       border: none;
-       background-color: transparent;
-       margin: 0;
-       padding: 0;
+       margin: 0; /* browser reset */
+       max-width: 100%;
 }
 
-.mceIEcenter {
-       text-align: center;
+/* iOS does not obey max-width if width is set. */
+.ios .wp-caption {
+       width: auto !important;
 }
 
 .wp-caption img {
-       margin: 0;
-       padding: 0;
-       border: 0 none;
+       display: block;
 }
 
 div.mceTemp {
@@ -133,10 +97,25 @@ dl.wp-caption * {
 }
 
 .wp-caption-dd {
-       font-size: 11px;
-       line-height: 17px;
-       padding: 0 4px 5px;
-       margin: 0;
+       font-size: 14px;
+       padding-top: 0.5em;
+       margin: 0; /* browser reset */
+}
+
+.aligncenter {
+       display: block;
+       margin-left: auto;
+       margin-right: auto;
+}
+
+.alignleft {
+       float: left;
+       margin: 0.5em 1em 0.5em 0;
+}
+
+.alignright {
+       float: right;
+       margin: 0.5em 0 0.5em 1em;
 }
 
 /* Remove blue highlighting of selected images in WebKit */
@@ -188,12 +167,12 @@ img[data-mce-selected]::selection {
 
 .mce-content-body img.wp-media:hover {
        background-color: #ededed;
-       border-color: #777;
+       border-color: #72777c;
 }
 
 .mce-content-body img.wp-media.wp-media-selected {
        background-color: #d8d8d8;
-       border-color: #777;
+       border-color: #72777c;
 }
 
 .mce-content-body img.wp-media.wp-gallery {
@@ -202,13 +181,13 @@ img[data-mce-selected]::selection {
 
 /* Image resize handles */
 .mce-content-body div.mce-resizehandle {
-       border-color: #777;
+       border-color: #72777c;
        width: 7px;
        height: 7px;
 }
 
 .mce-content-body img[data-mce-selected] {
-       outline: 1px solid #777;
+       outline: 1px solid #72777c;
 }
 
 .mce-content-body img[data-mce-resize="false"] {
@@ -318,7 +297,7 @@ audio {
 .ie8 .wpview-wrap[data-mce-selected],
 .ie7 .wpview-wrap[data-mce-selected] {
        background-color: #e5e5e5;
-       border-color: #777;
+       border-color: #72777c;
 }
 
 .wpview-overlay {
@@ -354,11 +333,11 @@ audio {
 .wpview-wrap .wpview-loading ins {
        background-color: #333;
        margin: 0 0 0 -60px;
-       width: 60px;
+       width: 36px;
        height: 5px;
        display: block;
-       -webkit-animation: wpview-loading 1.3s infinite 1s linear;
-       animation: wpview-loading 1.3s infinite 1s linear;
+       -webkit-animation: wpview-loading 1.3s infinite 1s steps(36);
+       animation: wpview-loading 1.3s infinite 1s steps(36);
 }
 
 @-webkit-keyframes wpview-loading {
@@ -385,7 +364,7 @@ audio {
 }
 
 .wpview-error {
-       border: 1px solid #dedede;
+       border: 1px solid #ddd;
        padding: 1em 0;
        margin: 0;
        word-wrap: break-word;