1 /* Additional default styles for the editor */
17 font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
23 -webkit-font-smoothing: antialiased !important;
27 font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
31 font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
35 overflow: visible !important;
36 /* The padding ensures margins of the children are contained in the body. */
37 padding-top: 1px !important;
38 padding-bottom: 1px !important;
39 padding-left: 0 !important;
40 padding-right: 0 !important;
43 /* When font-weight is different than the default browser style,
44 Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */
47 font-weight: bold !important;
51 font-family: Consolas, Monaco, monospace;
60 /* For emoji replacement images */
62 display: inline !important;
63 border: none !important;
64 height: 1em !important;
65 width: 1em !important;
66 margin: 0 .07em !important;
67 vertical-align: -0.1em !important;
68 background: none !important;
69 padding: 0 !important;
70 -webkit-box-shadow: none !important;
71 box-shadow: none !important;
76 html.wp-fullscreen body#tinymce {
82 background: transparent;
87 .html5-captions .wp-caption.aligncenter {
102 border: 1px solid #ddd;
104 background-color: #f3f3f3;
109 .html5-captions .wp-caption {
111 background-color: transparent;
127 -ms-user-select: element;
132 -webkit-user-drag: none;
142 /* Remove blue highlighting of selected images in WebKit */
143 img[data-mce-selected]::selection {
144 background-color: transparent;
147 /* Styles for the WordPress plugins */
148 .mce-content-body img[data-mce-placeholder] {
153 .mce-content-body img[data-wp-more] {
155 -webkit-box-shadow: none;
165 .mce-content-body img[data-mce-placeholder][data-mce-selected] {
166 outline: 1px dotted #888;
169 .mce-content-body img[data-wp-more="more"] {
170 background: transparent url( images/more.png ) repeat-y scroll center center;
173 .mce-content-body img[data-wp-more="nextpage"] {
174 background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
177 /* Gallery, audio, video placeholders */
178 .mce-content-body img.wp-media {
179 border: 1px solid #aaa;
180 background-color: #f2f2f2;
181 background-repeat: no-repeat;
182 background-position: center center;
189 .mce-content-body img.wp-media:hover {
190 background-color: #ededed;
194 .mce-content-body img.wp-media.wp-media-selected {
195 background-color: #d8d8d8;
199 .mce-content-body img.wp-media.wp-gallery {
200 background-image: url(images/gallery.png);
203 /* Image resize handles */
204 .mce-content-body div.mce-resizehandle {
210 .mce-content-body img[data-mce-selected] {
211 outline: 1px solid #777;
214 .mce-content-body img[data-mce-resize="false"] {
221 display: -moz-inline-stack;
222 display: inline-block;
234 width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
239 /* delegate the handling of the selection to the wpview tinymce plugin */
242 -moz-user-select: none;
243 -webkit-user-select: none;
244 -ms-user-select: none;
248 /* hide the shortcode content, but allow the content to still be selected */
249 .wpview-wrap .wpview-clipboard,
255 clip: rect(1px 1px 1px 1px); /* IE7 */
256 clip: rect(1px, 1px, 1px, 1px);
265 /* An ugly box will appear when this is focussed in IE, so we'll move it outside the window. */
266 .wpview-wrap.wpview-selection-before > p,
267 .wpview-wrap.wpview-selection-after > p {
271 .wpview-wrap .wpview-clipboard,
272 .wpview-wrap .wpview-clipboard *,
274 -moz-user-select: text;
275 -webkit-user-select: text;
276 -ms-user-select: text;
280 .has-focus .wpview-wrap.wpview-selection-before:before,
281 .has-focus .wpview-wrap.wpview-selection-after:before {
290 background-color: black;
291 background-color: currentcolor;
295 .has-focus .wpview-wrap.wpview-selection-after:before {
300 .has-focus .wpview-wrap.wpview-cursor-hide:before {
310 border: 1px solid transparent;
313 .wpview-wrap[data-mce-selected] {
314 background-color: rgba(0,0,0,0.1);
315 border-color: rgba(0,0,0,0.3);
318 .ie8 .wpview-wrap[data-mce-selected],
319 .ie7 .wpview-wrap[data-mce-selected] {
320 background-color: #e5e5e5;
332 .wpview-wrap[data-mce-selected] .wpview-overlay {
336 .wpview-wrap .loading-placeholder {
337 border: 1px dashed #ccc;
341 .wpview-wrap[data-mce-selected] .loading-placeholder {
342 border-color: transparent;
345 /* A little "loading" animation, not showing in IE < 10 */
346 .wpview-wrap .wpview-loading {
350 background-color: transparent;
354 .wpview-wrap .wpview-loading ins {
355 background-color: #333;
360 -webkit-animation: wpview-loading 1.3s infinite 1s linear;
361 animation: wpview-loading 1.3s infinite 1s linear;
364 @-webkit-keyframes wpview-loading {
373 @keyframes wpview-loading {
382 .wpview-wrap .wpview-content > iframe {
384 background: transparent;
388 border: 1px solid #dedede;
391 word-wrap: break-word;
394 .wpview-wrap[data-mce-selected] .wpview-error {
395 border-color: transparent;
398 .wpview-error .dashicons,
399 .loading-placeholder .dashicons {
410 font-family: 'Open Sans', sans-serif;
413 .wpview-type-gallery:after {
419 .gallery img[data-mce-selected]:focus {
439 .gallery .gallery-item {
444 -webkit-box-sizing: border-box;
445 -moz-box-sizing: border-box;
446 box-sizing: border-box;
449 .ie7 .gallery .gallery-item,
450 .ie8 .gallery .gallery-item {
454 .gallery .gallery-caption,
455 .gallery .gallery-icon {
459 .gallery .gallery-caption {
464 .gallery-columns-1 .gallery-item {
468 .gallery-columns-2 .gallery-item {
472 .gallery-columns-3 .gallery-item {
476 .ie8 .gallery-columns-3 .gallery-item,
477 .ie7 .gallery-columns-3 .gallery-item {
481 .gallery-columns-4 .gallery-item {
485 .gallery-columns-5 .gallery-item {
489 .gallery-columns-6 .gallery-item {
493 .gallery-columns-7 .gallery-item {
497 .gallery-columns-8 .gallery-item {
501 .gallery-columns-9 .gallery-item {
513 border: 1px dashed #888;
514 background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
521 .rtl .gallery .gallery-item {
526 (-o-min-device-pixel-ratio: 5/4),
527 (-webkit-min-device-pixel-ratio: 1.25),
528 (min-resolution: 120dpi) {
530 .mce-content-body img.mce-wp-more {
531 background-image: url( images/more-2x.png );
532 background-size: 1900px 20px;
535 .mce-content-body img.mce-wp-nextpage {
536 background-image: url( images/pagebreak-2x.png );
537 background-size: 1900px 20px;