TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
/* Additional default styles for the editor */
|
2014-05-29 22:38:16 -04:00
|
|
|
|
2014-11-14 20:21:22 -05:00
|
|
|
html {
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
|
2014-05-29 22:38:16 -04:00
|
|
|
html.ios {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios body#tinymce {
|
|
|
|
height: 200%;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
body {
|
|
|
|
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
2014-11-20 17:23:24 -05:00
|
|
|
font-size: 16px;
|
2014-10-21 19:06:18 -04:00
|
|
|
line-height: 1.5;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
color: #333;
|
2014-07-09 18:06:15 -04:00
|
|
|
margin: 9px 10px;
|
2014-10-21 19:06:18 -04:00
|
|
|
max-width: 100%;
|
2014-11-13 17:31:22 -05:00
|
|
|
-webkit-font-smoothing: antialiased !important;
|
2014-07-09 18:06:15 -04:00
|
|
|
}
|
|
|
|
|
2014-09-27 07:10:16 -04:00
|
|
|
body.rtl {
|
|
|
|
font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.locale-he-il {
|
|
|
|
font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
|
|
|
|
}
|
|
|
|
|
2014-07-09 18:06:15 -04:00
|
|
|
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;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
}
|
|
|
|
|
2014-06-26 23:00:15 -04:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2014-10-21 19:06:18 -04:00
|
|
|
pre {
|
|
|
|
font-family: Consolas, Monaco, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2015-03-14 19:49:30 -04:00
|
|
|
/* For emoji replacement images */
|
2015-03-15 19:16:29 -04:00
|
|
|
img.emoji {
|
|
|
|
display: inline !important;
|
|
|
|
border: none !important;
|
2015-03-14 19:49:30 -04:00
|
|
|
height: 1em !important;
|
|
|
|
width: 1em !important;
|
2015-03-15 19:16:29 -04:00
|
|
|
margin: 0 .07em !important;
|
2015-03-14 19:49:30 -04:00
|
|
|
vertical-align: -0.1em !important;
|
2015-03-15 19:16:29 -04:00
|
|
|
background: none !important;
|
2015-03-14 19:49:30 -04:00
|
|
|
padding: 0 !important;
|
|
|
|
-webkit-box-shadow: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
.aligncenter,
|
2014-07-16 17:28:16 -04:00
|
|
|
dl.aligncenter,
|
|
|
|
.html5-captions .wp-caption.aligncenter {
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alignleft {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alignright {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
padding-top: 4px;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
Introduce HTML5 caption support.
When a theme supports HTML5 captions via add_theme_support( 'html5', 'caption' ), figure and figcaption will be used instead of div and p.
There's a bonus. But first, some history: Captions were introduced with an inline style set for the container. This remains, as it is there to force captions to wrap. But this inline style included an extra 10 pixels, which have vexxed theme developers for years. While these pixels were designed to ensure padding around floated images, modern themes handle this with grace. The additional pixels thus feel encumbering.
As the new HTML5 gallery support avoids outputting default gallery styles (again, irking theme developers for years; see #26697), the new HTML5 caption support will also ditch these 10 pixels of unwanted hand-holding.
The 10 pixels are also removed entirely in the visual editor (and more styles may also disappear here; see #26642), giving themes the power necessary to match the frontend styles.
The filter img_caption_shortcode_width added in 3.7 to work around this madness (see #14380) is skipped entirely when the theme supports HTML5 captions.
props obenland, azaozz.
see #26642. also fixes #9066.
Built from https://develop.svn.wordpress.org/trunk@27668
git-svn-id: http://core.svn.wordpress.org/trunk@27511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 22:05:14 -04:00
|
|
|
.html5-captions .wp-caption {
|
2014-04-04 19:12:16 -04:00
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
Introduce HTML5 caption support.
When a theme supports HTML5 captions via add_theme_support( 'html5', 'caption' ), figure and figcaption will be used instead of div and p.
There's a bonus. But first, some history: Captions were introduced with an inline style set for the container. This remains, as it is there to force captions to wrap. But this inline style included an extra 10 pixels, which have vexxed theme developers for years. While these pixels were designed to ensure padding around floated images, modern themes handle this with grace. The additional pixels thus feel encumbering.
As the new HTML5 gallery support avoids outputting default gallery styles (again, irking theme developers for years; see #26697), the new HTML5 caption support will also ditch these 10 pixels of unwanted hand-holding.
The 10 pixels are also removed entirely in the visual editor (and more styles may also disappear here; see #26642), giving themes the power necessary to match the frontend styles.
The filter img_caption_shortcode_width added in 3.7 to work around this madness (see #14380) is skipped entirely when the theme supports HTML5 captions.
props obenland, azaozz.
see #26642. also fixes #9066.
Built from https://develop.svn.wordpress.org/trunk@27668
git-svn-id: http://core.svn.wordpress.org/trunk@27511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 22:05:14 -04:00
|
|
|
}
|
|
|
|
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
.mceIEcenter {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption img {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
2013-12-29 20:54:11 -05:00
|
|
|
div.mceTemp {
|
|
|
|
-ms-user-select: element;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl.wp-caption,
|
|
|
|
dl.wp-caption * {
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
-webkit-user-drag: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption-dd {
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 17px;
|
|
|
|
padding: 0 4px 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-04-04 01:23:14 -04:00
|
|
|
/* Remove blue highlighting of selected images in WebKit */
|
2015-03-18 17:54:26 -04:00
|
|
|
img[data-mce-selected]::selection {
|
2014-04-04 01:23:14 -04:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
/* Styles for the WordPress plugins */
|
2014-03-05 19:29:15 -05:00
|
|
|
.mce-content-body img[data-mce-placeholder] {
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-07-28 19:45:18 -04:00
|
|
|
.mce-content-body img[data-wp-more] {
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
border: 0;
|
2014-03-01 17:36:14 -05:00
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
2014-04-04 01:23:14 -04:00
|
|
|
width: 96%;
|
|
|
|
height: 16px;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
display: block;
|
|
|
|
margin: 15px auto 0;
|
|
|
|
outline: 0;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2015-03-18 17:54:26 -04:00
|
|
|
.mce-content-body img[data-mce-placeholder][data-mce-selected] {
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
outline: 1px dotted #888;
|
|
|
|
}
|
|
|
|
|
2014-07-28 19:45:18 -04:00
|
|
|
.mce-content-body img[data-wp-more="more"] {
|
2014-04-04 01:23:14 -04:00
|
|
|
background: transparent url( images/more.png ) repeat-y scroll center center;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
}
|
|
|
|
|
2014-07-28 19:45:18 -04:00
|
|
|
.mce-content-body img[data-wp-more="nextpage"] {
|
2014-04-04 01:23:14 -04:00
|
|
|
background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
}
|
|
|
|
|
2014-03-19 20:48:15 -04:00
|
|
|
/* Gallery, audio, video placeholders */
|
2014-02-13 00:10:11 -05:00
|
|
|
.mce-content-body img.wp-media {
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
width: 99%;
|
|
|
|
height: 250px;
|
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-02-13 00:10:11 -05:00
|
|
|
.mce-content-body img.wp-media:hover {
|
|
|
|
background-color: #ededed;
|
|
|
|
border-color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.wp-media.wp-media-selected {
|
|
|
|
background-color: #d8d8d8;
|
|
|
|
border-color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.wp-media.wp-gallery {
|
2014-02-26 12:23:13 -05:00
|
|
|
background-image: url(images/gallery.png);
|
2014-02-13 00:10:11 -05:00
|
|
|
}
|
|
|
|
|
2014-02-10 18:48:12 -05:00
|
|
|
/* Image resize handles */
|
|
|
|
.mce-content-body div.mce-resizehandle {
|
|
|
|
border-color: #777;
|
|
|
|
width: 7px;
|
|
|
|
height: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img[data-mce-selected] {
|
|
|
|
outline: 1px solid #777;
|
|
|
|
}
|
|
|
|
|
2014-02-13 15:13:13 -05:00
|
|
|
.mce-content-body img[data-mce-resize="false"] {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-14 08:34:16 -04:00
|
|
|
audio,
|
|
|
|
video,
|
|
|
|
embed {
|
|
|
|
display: -moz-inline-stack;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-03-05 02:01:14 -05:00
|
|
|
|
2014-03-22 19:26:17 -04:00
|
|
|
audio {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
/**
|
|
|
|
* WP Views
|
|
|
|
*/
|
|
|
|
|
|
|
|
.wpview-wrap {
|
2014-03-18 21:16:15 -04:00
|
|
|
width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
|
2014-03-05 02:01:14 -05:00
|
|
|
position: relative;
|
2014-03-18 21:16:15 -04:00
|
|
|
clear: both;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* delegate the handling of the selection to the wpview tinymce plugin */
|
|
|
|
.wpview-wrap,
|
2014-12-01 19:26:22 -05:00
|
|
|
.wpview-wrap * {
|
2014-03-05 02:01:14 -05:00
|
|
|
-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 */
|
2014-07-03 23:59:15 -04:00
|
|
|
.wpview-wrap .wpview-clipboard,
|
|
|
|
.wpview-wrap > p {
|
2014-03-05 02:01:14 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1;
|
2014-04-08 20:58:15 -04:00
|
|
|
clip: rect(1px 1px 1px 1px); /* IE7 */
|
2014-03-05 02:01:14 -05:00
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
overflow: hidden;
|
|
|
|
outline: 0;
|
2014-04-08 20:58:15 -04:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
2014-06-15 20:12:15 -04:00
|
|
|
}
|
|
|
|
|
2014-07-03 23:59:15 -04:00
|
|
|
/* An ugly box will appear when this is focussed in IE, so we'll move it outside the window. */
|
|
|
|
.wpview-wrap.wpview-selection-before > p,
|
|
|
|
.wpview-wrap.wpview-selection-after > p {
|
|
|
|
left: -10000px;
|
|
|
|
}
|
|
|
|
|
2014-06-15 20:12:15 -04:00
|
|
|
.wpview-wrap .wpview-clipboard,
|
2014-07-03 23:59:15 -04:00
|
|
|
.wpview-wrap .wpview-clipboard *,
|
|
|
|
.wpview-wrap > p {
|
2014-05-23 16:56:14 -04:00
|
|
|
-moz-user-select: text;
|
|
|
|
-webkit-user-select: text;
|
|
|
|
-ms-user-select: text;
|
|
|
|
user-select: text;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-07-06 21:21:15 -04:00
|
|
|
.has-focus .wpview-wrap.wpview-selection-before:before,
|
|
|
|
.has-focus .wpview-wrap.wpview-selection-after:before {
|
2014-07-03 23:59:15 -04:00
|
|
|
content: '';
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
left: -3px;
|
|
|
|
bottom: -2px;
|
|
|
|
width: 1px;
|
|
|
|
background-color: black;
|
2014-07-19 02:29:14 -04:00
|
|
|
background-color: currentcolor;
|
2014-07-03 23:59:15 -04:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2014-07-06 21:21:15 -04:00
|
|
|
.has-focus .wpview-wrap.wpview-selection-after:before {
|
2014-07-03 23:59:15 -04:00
|
|
|
left: auto;
|
|
|
|
right: -3px;
|
|
|
|
}
|
|
|
|
|
2014-07-06 21:21:15 -04:00
|
|
|
.has-focus .wpview-wrap.wpview-cursor-hide:before {
|
2014-07-03 23:59:15 -04:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
/**
|
2014-03-19 03:02:15 -04:00
|
|
|
* Media previews
|
2014-03-05 02:01:14 -05:00
|
|
|
*/
|
2014-03-19 20:48:15 -04:00
|
|
|
.wpview-wrap {
|
2014-03-05 02:01:14 -05:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 16px;
|
2014-03-17 22:30:15 -04:00
|
|
|
border: 1px solid transparent;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-06-05 22:12:14 -04:00
|
|
|
.wpview-wrap[data-mce-selected] {
|
2014-03-27 03:02:16 -04:00
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
border-color: rgba(0,0,0,0.3);
|
2014-03-19 03:02:15 -04:00
|
|
|
}
|
|
|
|
|
2014-06-05 22:12:14 -04:00
|
|
|
.ie8 .wpview-wrap[data-mce-selected],
|
|
|
|
.ie7 .wpview-wrap[data-mce-selected] {
|
2014-04-08 20:58:15 -04:00
|
|
|
background-color: #e5e5e5;
|
|
|
|
border-color: #777;
|
|
|
|
}
|
|
|
|
|
2014-03-27 03:02:16 -04:00
|
|
|
.wpview-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2014-03-19 03:02:15 -04:00
|
|
|
}
|
|
|
|
|
2014-06-05 22:12:14 -04:00
|
|
|
.wpview-wrap[data-mce-selected] .wpview-overlay {
|
2014-03-27 03:02:16 -04:00
|
|
|
display: none;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-07-07 18:41:15 -04:00
|
|
|
.wpview-wrap .loading-placeholder {
|
|
|
|
border: 1px dashed #ccc;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-wrap[data-mce-selected] .loading-placeholder {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* A little "loading" animation, not showing in IE < 10 */
|
|
|
|
.wpview-wrap .wpview-loading {
|
|
|
|
width: 60px;
|
|
|
|
height: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 10px auto 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-wrap .wpview-loading ins {
|
|
|
|
background-color: #333;
|
|
|
|
margin: 0 0 0 -60px;
|
|
|
|
width: 60px;
|
|
|
|
height: 5px;
|
|
|
|
display: block;
|
|
|
|
-webkit-animation: wpview-loading 1.3s infinite 1s linear;
|
|
|
|
animation: wpview-loading 1.3s infinite 1s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes wpview-loading {
|
|
|
|
0% {
|
|
|
|
margin-left: -60px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
margin-left: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes wpview-loading {
|
|
|
|
0% {
|
|
|
|
margin-left: -60px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
margin-left: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-19 18:43:16 -04:00
|
|
|
.wpview-wrap .wpview-content > iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2014-04-15 20:23:15 -04:00
|
|
|
.wpview-error {
|
|
|
|
border: 1px solid #dedede;
|
2014-06-15 18:53:16 -04:00
|
|
|
padding: 1em 0;
|
2014-04-15 20:23:15 -04:00
|
|
|
margin: 0;
|
2014-06-15 18:53:16 -04:00
|
|
|
word-wrap: break-word;
|
2014-04-15 20:23:15 -04:00
|
|
|
}
|
|
|
|
|
2014-06-05 22:12:14 -04:00
|
|
|
.wpview-wrap[data-mce-selected] .wpview-error {
|
2014-04-15 20:23:15 -04:00
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2014-07-07 18:41:15 -04:00
|
|
|
.wpview-error .dashicons,
|
|
|
|
.loading-placeholder .dashicons {
|
2014-04-15 20:23:15 -04:00
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-error p {
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
font-family: 'Open Sans', sans-serif;
|
|
|
|
}
|
|
|
|
|
2014-03-27 03:02:16 -04:00
|
|
|
.wpview-type-gallery:after {
|
|
|
|
content: '';
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
.gallery img[data-mce-selected]:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery a {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery {
|
2014-03-17 22:30:15 -04:00
|
|
|
margin: auto -6px;
|
|
|
|
padding: 6px 0;
|
2014-03-17 20:20:15 -04:00
|
|
|
line-height: 1;
|
|
|
|
overflow-x: hidden;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-04-08 20:58:15 -04:00
|
|
|
.ie7 .gallery,
|
|
|
|
.ie8 .gallery {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
.gallery .gallery-item {
|
|
|
|
float: left;
|
2014-03-17 20:20:15 -04:00
|
|
|
margin: 0;
|
2014-03-05 02:01:14 -05:00
|
|
|
text-align: center;
|
2014-03-17 22:30:15 -04:00
|
|
|
padding: 6px;
|
2014-03-17 20:20:15 -04:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-04-08 20:58:15 -04:00
|
|
|
.ie7 .gallery .gallery-item,
|
|
|
|
.ie8 .gallery .gallery-item {
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
.gallery .gallery-caption,
|
|
|
|
.gallery .gallery-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-17 20:20:15 -04:00
|
|
|
.gallery .gallery-caption {
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 4px 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
.gallery-columns-1 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 100%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-2 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 50%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-3 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 33.333%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-04-08 20:58:15 -04:00
|
|
|
.ie8 .gallery-columns-3 .gallery-item,
|
|
|
|
.ie7 .gallery-columns-3 .gallery-item {
|
|
|
|
width: 33%;
|
|
|
|
}
|
|
|
|
|
2014-03-05 02:01:14 -05:00
|
|
|
.gallery-columns-4 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 25%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-5 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 20%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-6 .gallery-item {
|
2014-04-08 20:58:15 -04:00
|
|
|
width: 16.665%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-7 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 14.285%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-8 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 12.5%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-9 .gallery-item {
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 11.111%;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery img {
|
2014-03-17 20:20:15 -04:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2014-04-15 20:23:15 -04:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
img.wp-oembed {
|
|
|
|
border: 1px dashed #888;
|
2014-02-26 12:23:13 -05:00
|
|
|
background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
|
TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 18:53:15 -05:00
|
|
|
width: 300px;
|
|
|
|
height: 250px;
|
|
|
|
outline: 0;
|
|
|
|
}
|
2014-04-04 01:23:14 -04:00
|
|
|
|
2014-04-12 20:23:15 -04:00
|
|
|
/* rtl */
|
|
|
|
.rtl .gallery .gallery-item {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2014-04-04 01:23:14 -04:00
|
|
|
@media print,
|
|
|
|
(-o-min-device-pixel-ratio: 5/4),
|
|
|
|
(-webkit-min-device-pixel-ratio: 1.25),
|
|
|
|
(min-resolution: 120dpi) {
|
|
|
|
|
|
|
|
.mce-content-body img.mce-wp-more {
|
|
|
|
background-image: url( images/more-2x.png );
|
|
|
|
background-size: 1900px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.mce-wp-nextpage {
|
|
|
|
background-image: url( images/pagebreak-2x.png );
|
|
|
|
background-size: 1900px 20px;
|
|
|
|
}
|
|
|
|
}
|