1 /* Additional default styles for the editor */
8 font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
14 -webkit-font-smoothing: antialiased !important;
15 overflow-wrap: break-word;
16 word-wrap: break-word; /* Old syntax */
20 font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
24 font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
28 overflow: visible !important;
29 /* The padding ensures margins of the children are contained in the body. */
30 padding-top: 1px !important;
31 padding-bottom: 1px !important;
32 padding-left: 0 !important;
33 padding-right: 0 !important;
36 /* When font-weight is different than the default browser style,
37 Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */
40 font-weight: bold !important;
44 font-family: Consolas, Monaco, monospace;
53 /* For emoji replacement images */
55 display: inline !important;
56 border: none !important;
57 height: 1em !important;
58 width: 1em !important;
59 margin: 0 .07em !important;
60 vertical-align: -0.1em !important;
61 background: none !important;
62 padding: 0 !important;
63 -webkit-box-shadow: none !important;
64 box-shadow: none !important;
77 margin: 0; /* browser reset */
81 /* iOS does not obey max-width if width is set. */
83 width: auto !important;
91 -ms-user-select: element;
96 -webkit-user-drag: none;
102 margin: 0; /* browser reset */
113 margin: 0.5em 1em 0.5em 0;
118 margin: 0.5em 0 0.5em 1em;
121 /* Remove blue highlighting of selected images in WebKit */
122 img[data-mce-selected]::selection {
123 background-color: transparent;
126 /* Styles for the WordPress plugins */
127 .mce-content-body img[data-mce-placeholder] {
132 .mce-content-body img[data-wp-more] {
134 -webkit-box-shadow: none;
144 .mce-content-body img[data-mce-placeholder][data-mce-selected] {
145 outline: 1px dotted #888;
148 .mce-content-body img[data-wp-more="more"] {
149 background: transparent url( images/more.png ) repeat-y scroll center center;
152 .mce-content-body img[data-wp-more="nextpage"] {
153 background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
156 /* Gallery, audio, video placeholders */
157 .mce-content-body img.wp-media {
158 border: 1px solid #aaa;
159 background-color: #f2f2f2;
160 background-repeat: no-repeat;
161 background-position: center center;
168 .mce-content-body img.wp-media:hover {
169 background-color: #ededed;
170 border-color: #72777c;
173 .mce-content-body img.wp-media.wp-media-selected {
174 background-color: #d8d8d8;
175 border-color: #72777c;
178 .mce-content-body img.wp-media.wp-gallery {
179 background-image: url(images/gallery.png);
182 /* Image resize handles */
183 .mce-content-body div.mce-resizehandle {
184 border-color: #72777c;
189 .mce-content-body img[data-mce-selected] {
190 outline: 1px solid #72777c;
193 .mce-content-body img[data-mce-resize="false"] {
200 display: -moz-inline-stack;
201 display: inline-block;
213 width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
218 /* delegate the handling of the selection to the wpview tinymce plugin */
221 -moz-user-select: none;
222 -webkit-user-select: none;
223 -ms-user-select: none;
227 /* hide the shortcode content, but allow the content to still be selected */
228 .wpview-wrap .wpview-clipboard,
234 clip: rect(1px 1px 1px 1px); /* IE7 */
235 clip: rect(1px, 1px, 1px, 1px);
244 /* An ugly box will appear when this is focussed in IE, so we'll move it outside the window. */
245 .wpview-wrap.wpview-selection-before > p,
246 .wpview-wrap.wpview-selection-after > p {
250 .wpview-wrap .wpview-clipboard,
251 .wpview-wrap .wpview-clipboard *,
253 -moz-user-select: text;
254 -webkit-user-select: text;
255 -ms-user-select: text;
259 .has-focus .wpview-wrap.wpview-selection-before:before,
260 .has-focus .wpview-wrap.wpview-selection-after:before {
269 background-color: black;
270 background-color: currentcolor;
274 .has-focus .wpview-wrap.wpview-selection-after:before {
279 .has-focus .wpview-wrap.wpview-cursor-hide:before {
289 border: 1px solid transparent;
292 .wpview-wrap[data-mce-selected] {
293 background-color: rgba(0,0,0,0.1);
294 border-color: rgba(0,0,0,0.3);
297 .ie8 .wpview-wrap[data-mce-selected],
298 .ie7 .wpview-wrap[data-mce-selected] {
299 background-color: #e5e5e5;
300 border-color: #72777c;
311 .wpview-wrap[data-mce-selected] .wpview-overlay {
315 .wpview-wrap .loading-placeholder {
316 border: 1px dashed #ccc;
320 .wpview-wrap[data-mce-selected] .loading-placeholder {
321 border-color: transparent;
324 /* A little "loading" animation, not showing in IE < 10 */
325 .wpview-wrap .wpview-loading {
329 background-color: transparent;
333 .wpview-wrap .wpview-loading ins {
334 background-color: #333;
339 -webkit-animation: wpview-loading 1.3s infinite 1s steps(36);
340 animation: wpview-loading 1.3s infinite 1s steps(36);
343 @-webkit-keyframes wpview-loading {
352 @keyframes wpview-loading {
361 .wpview-wrap .wpview-content > iframe {
363 background: transparent;
367 border: 1px solid #ddd;
370 word-wrap: break-word;
373 .wpview-wrap[data-mce-selected] .wpview-error {
374 border-color: transparent;
377 .wpview-error .dashicons,
378 .loading-placeholder .dashicons {
389 font-family: 'Open Sans', sans-serif;
392 .wpview-type-gallery:after {
398 .gallery img[data-mce-selected]:focus {
418 .gallery .gallery-item {
423 -webkit-box-sizing: border-box;
424 -moz-box-sizing: border-box;
425 box-sizing: border-box;
428 .ie7 .gallery .gallery-item,
429 .ie8 .gallery .gallery-item {
433 .gallery .gallery-caption,
434 .gallery .gallery-icon {
438 .gallery .gallery-caption {
443 .gallery-columns-1 .gallery-item {
447 .gallery-columns-2 .gallery-item {
451 .gallery-columns-3 .gallery-item {
455 .ie8 .gallery-columns-3 .gallery-item,
456 .ie7 .gallery-columns-3 .gallery-item {
460 .gallery-columns-4 .gallery-item {
464 .gallery-columns-5 .gallery-item {
468 .gallery-columns-6 .gallery-item {
472 .gallery-columns-7 .gallery-item {
476 .gallery-columns-8 .gallery-item {
480 .gallery-columns-9 .gallery-item {
492 border: 1px dashed #888;
493 background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
500 .rtl .gallery .gallery-item {
505 (-o-min-device-pixel-ratio: 5/4),
506 (-webkit-min-device-pixel-ratio: 1.25),
507 (min-resolution: 120dpi) {
509 .mce-content-body img.mce-wp-more {
510 background-image: url( images/more-2x.png );
511 background-size: 1900px 20px;
514 .mce-content-body img.mce-wp-nextpage {
515 background-image: url( images/pagebreak-2x.png );
516 background-size: 1900px 20px;