1 /* Additional default styles for the editor */
17 font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
23 -webkit-font-smoothing: antialiased !important;
24 overflow-wrap: break-word;
25 word-wrap: break-word; /* Old syntax */
29 font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
33 font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
37 overflow: visible !important;
38 /* The padding ensures margins of the children are contained in the body. */
39 padding-top: 1px !important;
40 padding-bottom: 1px !important;
41 padding-left: 0 !important;
42 padding-right: 0 !important;
45 /* When font-weight is different than the default browser style,
46 Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */
49 font-weight: bold !important;
53 font-family: Consolas, Monaco, monospace;
62 /* For emoji replacement images */
64 display: inline !important;
65 border: none !important;
66 height: 1em !important;
67 width: 1em !important;
68 margin: 0 .07em !important;
69 vertical-align: -0.1em !important;
70 background: none !important;
71 padding: 0 !important;
72 -webkit-box-shadow: none !important;
73 box-shadow: none !important;
86 margin: 0; /* browser reset */
90 /* iOS does not obey max-width if width is set. */
92 width: auto !important;
100 -ms-user-select: element;
105 -webkit-user-drag: none;
111 margin: 0; /* browser reset */
122 margin: 0.5em 1em 0.5em 0;
127 margin: 0.5em 0 0.5em 1em;
130 /* Remove blue highlighting of selected images in WebKit */
131 img[data-mce-selected]::selection {
132 background-color: transparent;
135 /* Styles for the WordPress plugins */
136 .mce-content-body img[data-mce-placeholder] {
141 .mce-content-body img[data-wp-more] {
143 -webkit-box-shadow: none;
153 .mce-content-body img[data-mce-placeholder][data-mce-selected] {
154 outline: 1px dotted #888;
157 .mce-content-body img[data-wp-more="more"] {
158 background: transparent url( images/more.png ) repeat-y scroll center center;
161 .mce-content-body img[data-wp-more="nextpage"] {
162 background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
165 /* Gallery, audio, video placeholders */
166 .mce-content-body img.wp-media {
167 border: 1px solid #aaa;
168 background-color: #f2f2f2;
169 background-repeat: no-repeat;
170 background-position: center center;
177 .mce-content-body img.wp-media:hover {
178 background-color: #ededed;
182 .mce-content-body img.wp-media.wp-media-selected {
183 background-color: #d8d8d8;
187 .mce-content-body img.wp-media.wp-gallery {
188 background-image: url(images/gallery.png);
191 /* Image resize handles */
192 .mce-content-body div.mce-resizehandle {
198 .mce-content-body img[data-mce-selected] {
199 outline: 1px solid #777;
202 .mce-content-body img[data-mce-resize="false"] {
209 display: -moz-inline-stack;
210 display: inline-block;
222 width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
227 /* delegate the handling of the selection to the wpview tinymce plugin */
230 -moz-user-select: none;
231 -webkit-user-select: none;
232 -ms-user-select: none;
236 /* hide the shortcode content, but allow the content to still be selected */
237 .wpview-wrap .wpview-clipboard,
243 clip: rect(1px 1px 1px 1px); /* IE7 */
244 clip: rect(1px, 1px, 1px, 1px);
253 /* An ugly box will appear when this is focussed in IE, so we'll move it outside the window. */
254 .wpview-wrap.wpview-selection-before > p,
255 .wpview-wrap.wpview-selection-after > p {
259 .wpview-wrap .wpview-clipboard,
260 .wpview-wrap .wpview-clipboard *,
262 -moz-user-select: text;
263 -webkit-user-select: text;
264 -ms-user-select: text;
268 .has-focus .wpview-wrap.wpview-selection-before:before,
269 .has-focus .wpview-wrap.wpview-selection-after:before {
278 background-color: black;
279 background-color: currentcolor;
283 .has-focus .wpview-wrap.wpview-selection-after:before {
288 .has-focus .wpview-wrap.wpview-cursor-hide:before {
298 border: 1px solid transparent;
301 .wpview-wrap[data-mce-selected] {
302 background-color: rgba(0,0,0,0.1);
303 border-color: rgba(0,0,0,0.3);
306 .ie8 .wpview-wrap[data-mce-selected],
307 .ie7 .wpview-wrap[data-mce-selected] {
308 background-color: #e5e5e5;
320 .wpview-wrap[data-mce-selected] .wpview-overlay {
324 .wpview-wrap .loading-placeholder {
325 border: 1px dashed #ccc;
329 .wpview-wrap[data-mce-selected] .loading-placeholder {
330 border-color: transparent;
333 /* A little "loading" animation, not showing in IE < 10 */
334 .wpview-wrap .wpview-loading {
338 background-color: transparent;
342 .wpview-wrap .wpview-loading ins {
343 background-color: #333;
348 -webkit-animation: wpview-loading 1.3s infinite 1s linear;
349 animation: wpview-loading 1.3s infinite 1s linear;
352 @-webkit-keyframes wpview-loading {
361 @keyframes wpview-loading {
370 .wpview-wrap .wpview-content > iframe {
372 background: transparent;
376 border: 1px solid #dedede;
379 word-wrap: break-word;
382 .wpview-wrap[data-mce-selected] .wpview-error {
383 border-color: transparent;
386 .wpview-error .dashicons,
387 .loading-placeholder .dashicons {
398 font-family: 'Open Sans', sans-serif;
401 .wpview-type-gallery:after {
407 .gallery img[data-mce-selected]:focus {
427 .gallery .gallery-item {
432 -webkit-box-sizing: border-box;
433 -moz-box-sizing: border-box;
434 box-sizing: border-box;
437 .ie7 .gallery .gallery-item,
438 .ie8 .gallery .gallery-item {
442 .gallery .gallery-caption,
443 .gallery .gallery-icon {
447 .gallery .gallery-caption {
452 .gallery-columns-1 .gallery-item {
456 .gallery-columns-2 .gallery-item {
460 .gallery-columns-3 .gallery-item {
464 .ie8 .gallery-columns-3 .gallery-item,
465 .ie7 .gallery-columns-3 .gallery-item {
469 .gallery-columns-4 .gallery-item {
473 .gallery-columns-5 .gallery-item {
477 .gallery-columns-6 .gallery-item {
481 .gallery-columns-7 .gallery-item {
485 .gallery-columns-8 .gallery-item {
489 .gallery-columns-9 .gallery-item {
501 border: 1px dashed #888;
502 background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
509 .rtl .gallery .gallery-item {
514 (-o-min-device-pixel-ratio: 5/4),
515 (-webkit-min-device-pixel-ratio: 1.25),
516 (min-resolution: 120dpi) {
518 .mce-content-body img.mce-wp-more {
519 background-image: url( images/more-2x.png );
520 background-size: 1900px 20px;
523 .mce-content-body img.mce-wp-nextpage {
524 background-image: url( images/pagebreak-2x.png );
525 background-size: 1900px 20px;