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 */
26 word-break: break-word; /* iOS */
30 font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
34 font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
38 overflow: visible !important;
39 /* The padding ensures margins of the children are contained in the body. */
40 padding-top: 1px !important;
41 padding-bottom: 1px !important;
42 padding-left: 0 !important;
43 padding-right: 0 !important;
46 /* When font-weight is different than the default browser style,
47 Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */
50 font-weight: bold !important;
54 font-family: Consolas, Monaco, monospace;
63 /* For emoji replacement images */
65 display: inline !important;
66 border: none !important;
67 height: 1em !important;
68 width: 1em !important;
69 margin: 0 .07em !important;
70 vertical-align: -0.1em !important;
71 background: none !important;
72 padding: 0 !important;
73 -webkit-box-shadow: none !important;
74 box-shadow: none !important;
87 margin: 0; /* browser reset */
91 /* iOS does not obey max-width if width is set. */
93 width: auto !important;
101 -ms-user-select: element;
106 -webkit-user-drag: none;
112 margin: 0; /* browser reset */
123 margin: 0.5em 1em 0.5em 0;
128 margin: 0.5em 0 0.5em 1em;
131 /* Remove blue highlighting of selected images in WebKit */
132 img[data-mce-selected]::selection {
133 background-color: transparent;
136 /* Styles for the WordPress plugins */
137 .mce-content-body img[data-mce-placeholder] {
142 .mce-content-body img[data-wp-more] {
144 -webkit-box-shadow: none;
154 .mce-content-body img[data-mce-placeholder][data-mce-selected] {
155 outline: 1px dotted #888;
158 .mce-content-body img[data-wp-more="more"] {
159 background: transparent url( images/more.png ) repeat-y scroll center center;
162 .mce-content-body img[data-wp-more="nextpage"] {
163 background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
166 /* Gallery, audio, video placeholders */
167 .mce-content-body img.wp-media {
168 border: 1px solid #aaa;
169 background-color: #f2f2f2;
170 background-repeat: no-repeat;
171 background-position: center center;
178 .mce-content-body img.wp-media:hover {
179 background-color: #ededed;
183 .mce-content-body img.wp-media.wp-media-selected {
184 background-color: #d8d8d8;
188 .mce-content-body img.wp-media.wp-gallery {
189 background-image: url(images/gallery.png);
192 /* Image resize handles */
193 .mce-content-body div.mce-resizehandle {
199 .mce-content-body img[data-mce-selected] {
200 outline: 1px solid #777;
203 .mce-content-body img[data-mce-resize="false"] {
210 display: -moz-inline-stack;
211 display: inline-block;
223 width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
228 /* delegate the handling of the selection to the wpview tinymce plugin */
231 -moz-user-select: none;
232 -webkit-user-select: none;
233 -ms-user-select: none;
237 /* hide the shortcode content, but allow the content to still be selected */
238 .wpview-wrap .wpview-clipboard,
244 clip: rect(1px 1px 1px 1px); /* IE7 */
245 clip: rect(1px, 1px, 1px, 1px);
254 /* An ugly box will appear when this is focussed in IE, so we'll move it outside the window. */
255 .wpview-wrap.wpview-selection-before > p,
256 .wpview-wrap.wpview-selection-after > p {
260 .wpview-wrap .wpview-clipboard,
261 .wpview-wrap .wpview-clipboard *,
263 -moz-user-select: text;
264 -webkit-user-select: text;
265 -ms-user-select: text;
269 .has-focus .wpview-wrap.wpview-selection-before:before,
270 .has-focus .wpview-wrap.wpview-selection-after:before {
279 background-color: black;
280 background-color: currentcolor;
284 .has-focus .wpview-wrap.wpview-selection-after:before {
289 .has-focus .wpview-wrap.wpview-cursor-hide:before {
299 border: 1px solid transparent;
302 .wpview-wrap[data-mce-selected] {
303 background-color: rgba(0,0,0,0.1);
304 border-color: rgba(0,0,0,0.3);
307 .ie8 .wpview-wrap[data-mce-selected],
308 .ie7 .wpview-wrap[data-mce-selected] {
309 background-color: #e5e5e5;
321 .wpview-wrap[data-mce-selected] .wpview-overlay {
325 .wpview-wrap .loading-placeholder {
326 border: 1px dashed #ccc;
330 .wpview-wrap[data-mce-selected] .loading-placeholder {
331 border-color: transparent;
334 /* A little "loading" animation, not showing in IE < 10 */
335 .wpview-wrap .wpview-loading {
339 background-color: transparent;
343 .wpview-wrap .wpview-loading ins {
344 background-color: #333;
349 -webkit-animation: wpview-loading 1.3s infinite 1s linear;
350 animation: wpview-loading 1.3s infinite 1s linear;
353 @-webkit-keyframes wpview-loading {
362 @keyframes wpview-loading {
371 .wpview-wrap .wpview-content > iframe {
373 background: transparent;
377 border: 1px solid #dedede;
380 word-wrap: break-word;
383 .wpview-wrap[data-mce-selected] .wpview-error {
384 border-color: transparent;
387 .wpview-error .dashicons,
388 .loading-placeholder .dashicons {
399 font-family: 'Open Sans', sans-serif;
402 .wpview-type-gallery:after {
408 .gallery img[data-mce-selected]:focus {
428 .gallery .gallery-item {
433 -webkit-box-sizing: border-box;
434 -moz-box-sizing: border-box;
435 box-sizing: border-box;
438 .ie7 .gallery .gallery-item,
439 .ie8 .gallery .gallery-item {
443 .gallery .gallery-caption,
444 .gallery .gallery-icon {
448 .gallery .gallery-caption {
453 .gallery-columns-1 .gallery-item {
457 .gallery-columns-2 .gallery-item {
461 .gallery-columns-3 .gallery-item {
465 .ie8 .gallery-columns-3 .gallery-item,
466 .ie7 .gallery-columns-3 .gallery-item {
470 .gallery-columns-4 .gallery-item {
474 .gallery-columns-5 .gallery-item {
478 .gallery-columns-6 .gallery-item {
482 .gallery-columns-7 .gallery-item {
486 .gallery-columns-8 .gallery-item {
490 .gallery-columns-9 .gallery-item {
502 border: 1px dashed #888;
503 background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
510 .rtl .gallery .gallery-item {
515 (-o-min-device-pixel-ratio: 5/4),
516 (-webkit-min-device-pixel-ratio: 1.25),
517 (min-resolution: 120dpi) {
519 .mce-content-body img.mce-wp-more {
520 background-image: url( images/more-2x.png );
521 background-size: 1900px 20px;
524 .mce-content-body img.mce-wp-nextpage {
525 background-image: url( images/pagebreak-2x.png );
526 background-size: 1900px 20px;