/* Additional default styles for the editor */
+
+html {
+ cursor: text;
+}
+
body {
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
- font-size: 13px;
- line-height: 19px;
+ font-size: 16px;
+ line-height: 1.5;
color: #333;
- margin: 10px;
+ margin: 9px 10px;
+ max-width: 100%;
+ -webkit-font-smoothing: antialiased !important;
+ overflow-wrap: break-word;
+ word-wrap: break-word; /* Old syntax */
}
-/* DFW mode */
-html.wp-fullscreen,
-html.wp-fullscreen body {
- background: transparent;
- width: auto;
- max-width: none;
- min-height: 0;
- overflow: hidden;
+body.rtl {
+ font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
}
-.aligncenter,
-dl.aligncenter {
- display: block;
- margin-left: auto;
- margin-right: auto;
+body.locale-he-il,
+body.locale-vi {
+ font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
}
-.alignleft {
- float: left;
+body.wp-autoresize {
+ overflow: visible !important;
+ /* The padding ensures margins of the children are contained in the body. */
+ padding-top: 1px !important;
+ padding-bottom: 1px !important;
+ padding-left: 0 !important;
+ padding-right: 0 !important;
}
-.alignright {
- float: right;
+/* When font-weight is different than the default browser style,
+Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */
+body.webkit strong,
+body.webkit b {
+ font-weight: bold !important;
}
-.wp-caption {
- border: 1px solid #ddd;
- text-align: center;
- background-color: #f3f3f3;
- padding-top: 4px;
- margin: 10px 0;
+pre {
+ font-family: Consolas, Monaco, monospace;
}
-.html5-captions .wp-caption {
- border: none;
- background-color: transparent;
- margin: 0;
- padding: 0;
+td,
+th {
+ font-family: inherit;
+ font-size: inherit;
+}
+
+/* For emoji replacement images */
+img.emoji {
+ display: inline !important;
+ border: none !important;
+ height: 1em !important;
+ width: 1em !important;
+ margin: 0 .07em !important;
+ vertical-align: -0.1em !important;
+ background: none !important;
+ padding: 0 !important;
+ -webkit-box-shadow: none !important;
+ box-shadow: none !important;
}
.mceIEcenter {
text-align: center;
}
+img {
+ height: auto;
+ max-width: 100%;
+}
+
+.wp-caption {
+ margin: 0; /* browser reset */
+ max-width: 100%;
+}
+
+/* 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 {
}
.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 */
}
-pre {
- font: 12px/18px Consolas, Monaco, monospace;
+.aligncenter {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
}
-td {
- color: #000;
- font-size: 11px;
- margin: 8px;
+.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 */
-img::selection {
+img[data-mce-selected]::selection {
background-color: transparent;
}
padding: 0;
}
-.mce-content-body img.mce-wp-nextpage,
-.mce-content-body img.mce-wp-more {
+.mce-content-body img[data-wp-more] {
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
-.mce-content-body img.mce-wp-nextpage[data-mce-selected],
-.mce-content-body img.mce-wp-more[data-mce-selected] {
+.mce-content-body img[data-mce-placeholder][data-mce-selected] {
outline: 1px dotted #888;
}
-.mce-content-body img.mce-wp-more {
+.mce-content-body img[data-wp-more="more"] {
background: transparent url( images/more.png ) repeat-y scroll center center;
}
-.mce-content-body img.mce-wp-nextpage {
+.mce-content-body img[data-wp-more="nextpage"] {
background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
}
.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 {
/* 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"] {
embed {
display: -moz-inline-stack;
display: inline-block;
- max-width: 100%;
}
audio {
visibility: hidden;
}
-/**
- * WP Views
- */
-
-.wpview-wrap {
- width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
+a[data-wplink-url-error],
+a[data-wplink-url-error]:hover,
+a[data-wplink-url-error]:focus {
+ outline: 2px dotted #dc3232;
position: relative;
- clear: both;
}
-/* delegate the handling of the selection to the wpview tinymce plugin */
-.wpview-wrap,
-.wpview-wrap * {
- -moz-user-select: none;
- -webkit-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-/* hide the shortcode content, but allow the content to still be selected */
-.wpview-wrap .wpview-clipboard {
+a[data-wplink-url-error]:before {
+ content: '';
+ display: block;
position: absolute;
- top: 0;
- left: 0;
+ top: -2px;
+ right: -2px;
+ bottom: -2px;
+ left: -2px;
+ outline: 2px dotted #fff;
z-index: -1;
- clip: rect(1px 1px 1px 1px); /* IE7 */
- clip: rect(1px, 1px, 1px, 1px);
- overflow: hidden;
- outline: 0;
- padding: 0;
- border: 0;
- width: 1px;
- height: 1px;
}
/**
- * Media previews
+ * WP Views
*/
-.wpview-wrap {
- position: relative;
- margin-bottom: 16px;
- border: 1px solid transparent;
-}
-
-.wpview-wrap.selected {
- background-color: rgba(0,0,0,0.1);
- border-color: rgba(0,0,0,0.3);
-}
-.ie8 .wpview-wrap.selected,
-.ie7 .wpview-wrap.selected {
- background-color: #e5e5e5;
- border-color: #777;
+.wpview {
+ width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
+ position: relative;
+ clear: both;
+ margin-bottom: 16px;
+ border: 1px solid transparent;
}
-.wpview-overlay {
+.mce-shim {
position: absolute;
top: 0;
right: 0;
left: 0;
}
-.wpview-wrap.selected .wpview-overlay {
+.wpview[data-mce-selected="2"] .mce-shim {
display: none;
}
-.wpview-wrap .toolbar {
- position: absolute;
- top: 0;
- left: 0;
- display: none;
- z-index: 100;
+.wpview .loading-placeholder {
+ border: 1px dashed #ccc;
+ padding: 10px;
}
-.wpview-wrap.selected .toolbar {
- display: block;
+.wpview[data-mce-selected] .loading-placeholder {
+ border-color: transparent;
}
-#wp-image-toolbar {
- position: absolute;
+/* A little "loading" animation, not showing in IE < 10 */
+.wpview .wpview-loading {
+ width: 60px;
+ height: 5px;
+ overflow: hidden;
+ background-color: transparent;
+ margin: 10px auto 0;
}
-.wpview-wrap .toolbar div,
-#wp-image-toolbar div {
- margin-top: 7px;
- margin-left: 7px;
- padding: 2px;
- width: 30px;
- height: 30px;
- box-shadow: 0 1px 3px rgba(0,0,0,0.5);
- background-color: #000;
- background-color: rgba(0,0,0,0.9);
- cursor: pointer;
- color: white;
- font-size: 30px;
+.wpview .wpview-loading ins {
+ background-color: #333;
+ margin: 0 0 0 -60px;
+ width: 36px;
+ height: 5px;
+ display: block;
+ -webkit-animation: wpview-loading 1.3s infinite 1s steps(36);
+ animation: wpview-loading 1.3s infinite 1s steps(36);
}
-.ie8 .wpview-wrap .toolbar div,
-.ie7 .wpview-wrap .toolbar div,
-.ie8 #wp-image-toolbar div,
-.ie7 #wp-image-toolbar div {
- display: inline;
- padding: 0;
+@-webkit-keyframes wpview-loading {
+ 0% {
+ margin-left: -60px;
+ }
+ 100% {
+ margin-left: 60px;
+ }
}
-.ie8 .dashicons-edit,
-.ie7 .dashicons-edit {
- background-image: url(images/dashicon-edit.png);
+@keyframes wpview-loading {
+ 0% {
+ margin-left: -60px;
+ }
+ 100% {
+ margin-left: 60px;
+ }
}
-.ie8 .dashicons-no-alt,
-.ie7 .dashicons-no-alt {
- background-image: url(images/dashicon-no-alt.png);
+.wpview .wpview-content > iframe {
+ max-width: 100%;
+ background: transparent;
}
.wpview-error {
- border: 1px solid #dedede;
- padding: 20px 0;
+ border: 1px solid #ddd;
+ padding: 1em 0;
margin: 0;
+ word-wrap: break-word;
}
-.selected .wpview-error {
+.wpview[data-mce-selected] .wpview-error {
border-color: transparent;
}
-.wpview-error .dashicons {
+.wpview-error .dashicons,
+.loading-placeholder .dashicons {
display: block;
margin: 0 auto;
width: 32px;
.wpview-error p {
margin: 0;
text-align: center;
- font-family: 'Open Sans', sans-serif;
-}
-
-
-.wpview-wrap .toolbar div:hover,
-#wp-image-toolbar div:hover {
- box-shadow: 0 1px 3px rgba(0,0,0,0.8);
- background-color: #000;
- color: #2ea2cc;
-}
-
-/* Audio player is short; therefore let's put the toolbar above */
-.wpview-type-audio .toolbar {
- top: auto;
- bottom: -34px;
-}
-
-.wpview-type-audio .toolbar div {
- margin-top: 0;
-}
-
-.wpview-type-audio .toolbar div:first-child {
- margin-left: 0;
-}
-
-.wont-play {
- padding: 4px 0;
-}
-
-.wont-play p {
- font-size: 13px;
- line-height: 1.3;
- display: block;
- width: 70%;
- margin: 0 15%;
- text-align: center;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.wpview-type-gallery:after {
margin: auto;
}
-
.gallery .gallery-item {
float: left;
margin: 0;
float: right;
}
-.rtl .wpview-wrap .toolbar {
- left: auto;
- right: 0;
-}
-
-.rtl .wpview-wrap .toolbar div,
-.rtl #wp-image-toolbar div {
- margin-left: auto;
- margin-right: 7px;
-}
-
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),