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-29 00:53:15 +01:00
|
|
|
/* Additional default styles for the editor */
|
2014-05-30 04:38:16 +02: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-29 00:53:15 +01:00
|
|
|
body {
|
|
|
|
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 19px;
|
|
|
|
color: #333;
|
2014-07-10 00:06:15 +02:00
|
|
|
margin: 9px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.wp-autoresize {
|
|
|
|
max-width: 100%;
|
|
|
|
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-29 00:53:15 +01:00
|
|
|
}
|
|
|
|
|
2014-06-27 05:00:15 +02: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;
|
|
|
|
}
|
|
|
|
|
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-29 00:53:15 +01:00
|
|
|
/* DFW mode */
|
|
|
|
html.wp-fullscreen,
|
2014-08-18 20:23:16 +02:00
|
|
|
html.wp-fullscreen body#tinymce {
|
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-29 00:53:15 +01:00
|
|
|
width: auto;
|
|
|
|
max-width: none;
|
|
|
|
min-height: 0;
|
|
|
|
overflow: hidden;
|
2014-08-18 20:23:16 +02:00
|
|
|
color: #333;
|
|
|
|
background: 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-29 00:53:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aligncenter,
|
2014-07-16 23:28:16 +02: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-29 00:53:15 +01: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-24 03:05:14 +01:00
|
|
|
.html5-captions .wp-caption {
|
2014-04-05 01:12:16 +02: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-24 03:05:14 +01: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-29 00:53:15 +01:00
|
|
|
.mceIEcenter {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption img {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
2013-12-30 02:54:11 +01: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-29 00:53:15 +01:00
|
|
|
-webkit-user-drag: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption-dd {
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 17px;
|
|
|
|
padding: 0 4px 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
font: 12px/18px Consolas, Monaco, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
color: #000;
|
|
|
|
font-size: 11px;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
2014-04-04 07:23:14 +02:00
|
|
|
/* Remove blue highlighting of selected images in WebKit */
|
|
|
|
img::selection {
|
|
|
|
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-29 00:53:15 +01:00
|
|
|
/* Styles for the WordPress plugins */
|
2014-03-06 01:29:15 +01:00
|
|
|
.mce-content-body img[data-mce-placeholder] {
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-07-29 01:45:18 +02: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-29 00:53:15 +01:00
|
|
|
border: 0;
|
2014-03-01 23:36:14 +01:00
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
2014-04-04 07:23:14 +02: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-29 00:53:15 +01:00
|
|
|
display: block;
|
|
|
|
margin: 15px auto 0;
|
|
|
|
outline: 0;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2014-07-29 01:45:18 +02:00
|
|
|
.mce-content-body img[data-wp-more][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-29 00:53:15 +01:00
|
|
|
outline: 1px dotted #888;
|
|
|
|
}
|
|
|
|
|
2014-07-29 01:45:18 +02:00
|
|
|
.mce-content-body img[data-wp-more="more"] {
|
2014-04-04 07:23:14 +02: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-29 00:53:15 +01:00
|
|
|
}
|
|
|
|
|
2014-07-29 01:45:18 +02:00
|
|
|
.mce-content-body img[data-wp-more="nextpage"] {
|
2014-04-04 07:23:14 +02: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-29 00:53:15 +01:00
|
|
|
}
|
|
|
|
|
2014-03-20 01:48:15 +01:00
|
|
|
/* Gallery, audio, video placeholders */
|
2014-02-13 06:10:11 +01: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-29 00:53:15 +01:00
|
|
|
width: 99%;
|
|
|
|
height: 250px;
|
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-02-13 06:10:11 +01: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 18:23:13 +01:00
|
|
|
background-image: url(images/gallery.png);
|
2014-02-13 06:10:11 +01:00
|
|
|
}
|
|
|
|
|
2014-02-11 00:48:12 +01: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 21:13:13 +01:00
|
|
|
.mce-content-body img[data-mce-resize="false"] {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-14 13:34:16 +01:00
|
|
|
audio,
|
|
|
|
video,
|
|
|
|
embed {
|
|
|
|
display: -moz-inline-stack;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-03-05 08:01:14 +01:00
|
|
|
|
2014-03-23 00:26:17 +01:00
|
|
|
audio {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
/**
|
|
|
|
* WP Views
|
|
|
|
*/
|
|
|
|
|
|
|
|
.wpview-wrap {
|
2014-03-19 02:16:15 +01:00
|
|
|
width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
|
2014-03-05 08:01:14 +01:00
|
|
|
position: relative;
|
2014-03-19 02:16:15 +01:00
|
|
|
clear: both;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* delegate the handling of the selection to the wpview tinymce plugin */
|
|
|
|
.wpview-wrap,
|
2014-08-12 06:27:18 +02:00
|
|
|
.wpview-wrap *,
|
|
|
|
#wp-image-toolbar,
|
|
|
|
#wp-image-toolbar * {
|
2014-03-05 08:01:14 +01: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-04 05:59:15 +02:00
|
|
|
.wpview-wrap .wpview-clipboard,
|
|
|
|
.wpview-wrap > p {
|
2014-03-05 08:01:14 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1;
|
2014-04-09 02:58:15 +02:00
|
|
|
clip: rect(1px 1px 1px 1px); /* IE7 */
|
2014-03-05 08:01:14 +01:00
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
overflow: hidden;
|
|
|
|
outline: 0;
|
2014-04-09 02:58:15 +02:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
2014-06-16 02:12:15 +02:00
|
|
|
}
|
|
|
|
|
2014-07-04 05:59:15 +02: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-16 02:12:15 +02:00
|
|
|
.wpview-wrap .wpview-clipboard,
|
2014-07-04 05:59:15 +02:00
|
|
|
.wpview-wrap .wpview-clipboard *,
|
|
|
|
.wpview-wrap > p {
|
2014-05-23 22:56:14 +02:00
|
|
|
-moz-user-select: text;
|
|
|
|
-webkit-user-select: text;
|
|
|
|
-ms-user-select: text;
|
|
|
|
user-select: text;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-07-07 03:21:15 +02:00
|
|
|
.has-focus .wpview-wrap.wpview-selection-before:before,
|
|
|
|
.has-focus .wpview-wrap.wpview-selection-after:before {
|
2014-07-04 05:59:15 +02:00
|
|
|
content: '';
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
left: -3px;
|
|
|
|
bottom: -2px;
|
|
|
|
width: 1px;
|
|
|
|
background-color: black;
|
2014-07-19 08:29:14 +02:00
|
|
|
background-color: currentcolor;
|
2014-07-04 05:59:15 +02:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2014-07-07 03:21:15 +02:00
|
|
|
.has-focus .wpview-wrap.wpview-selection-after:before {
|
2014-07-04 05:59:15 +02:00
|
|
|
left: auto;
|
|
|
|
right: -3px;
|
|
|
|
}
|
|
|
|
|
2014-07-07 03:21:15 +02:00
|
|
|
.has-focus .wpview-wrap.wpview-cursor-hide:before {
|
2014-07-04 05:59:15 +02:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
/**
|
2014-03-19 08:02:15 +01:00
|
|
|
* Media previews
|
2014-03-05 08:01:14 +01:00
|
|
|
*/
|
2014-03-20 01:48:15 +01:00
|
|
|
.wpview-wrap {
|
2014-03-05 08:01:14 +01:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 16px;
|
2014-03-18 03:30:15 +01:00
|
|
|
border: 1px solid transparent;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-06-06 04:12:14 +02:00
|
|
|
.wpview-wrap[data-mce-selected] {
|
2014-03-27 08:02:16 +01:00
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
border-color: rgba(0,0,0,0.3);
|
2014-03-19 08:02:15 +01:00
|
|
|
}
|
|
|
|
|
2014-06-06 04:12:14 +02:00
|
|
|
.ie8 .wpview-wrap[data-mce-selected],
|
|
|
|
.ie7 .wpview-wrap[data-mce-selected] {
|
2014-04-09 02:58:15 +02:00
|
|
|
background-color: #e5e5e5;
|
|
|
|
border-color: #777;
|
|
|
|
}
|
|
|
|
|
2014-03-27 08:02:16 +01:00
|
|
|
.wpview-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2014-03-19 08:02:15 +01:00
|
|
|
}
|
|
|
|
|
2014-06-06 04:12:14 +02:00
|
|
|
.wpview-wrap[data-mce-selected] .wpview-overlay {
|
2014-03-27 08:02:16 +01:00
|
|
|
display: none;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-20 01:48:15 +01:00
|
|
|
.wpview-wrap .toolbar {
|
2014-03-19 08:02:15 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2014-03-27 08:02:16 +01:00
|
|
|
left: 0;
|
2014-03-05 08:01:14 +01:00
|
|
|
display: none;
|
2014-03-19 08:02:15 +01:00
|
|
|
z-index: 100;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-06-06 04:12:14 +02:00
|
|
|
.wpview-wrap[data-mce-selected] .toolbar {
|
2014-03-27 08:02:16 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-07-08 00:41:15 +02: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-20 00:43:16 +02:00
|
|
|
.wpview-wrap .wpview-content > iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2014-03-20 01:48:15 +01:00
|
|
|
#wp-image-toolbar {
|
|
|
|
position: absolute;
|
2014-05-30 00:59:14 +02:00
|
|
|
margin: 0;
|
2014-03-20 01:48:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-wrap .toolbar div,
|
2014-05-29 09:51:14 +02:00
|
|
|
#wp-image-toolbar i {
|
2014-03-20 01:48:15 +01:00
|
|
|
margin-top: 7px;
|
2014-03-27 08:02:16 +01:00
|
|
|
margin-left: 7px;
|
2014-03-20 01:48:15 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2014-04-09 02:58:15 +02:00
|
|
|
.ie8 .wpview-wrap .toolbar div,
|
|
|
|
.ie7 .wpview-wrap .toolbar div,
|
2014-05-29 09:51:14 +02:00
|
|
|
.ie8 #wp-image-toolbar i,
|
|
|
|
.ie7 #wp-image-toolbar i {
|
2014-04-09 02:58:15 +02:00
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie8 .dashicons-edit,
|
|
|
|
.ie7 .dashicons-edit {
|
|
|
|
background-image: url(images/dashicon-edit.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie8 .dashicons-no-alt,
|
|
|
|
.ie7 .dashicons-no-alt {
|
|
|
|
background-image: url(images/dashicon-no-alt.png);
|
|
|
|
}
|
|
|
|
|
2014-04-16 02:23:15 +02:00
|
|
|
.wpview-error {
|
|
|
|
border: 1px solid #dedede;
|
2014-06-16 00:53:16 +02:00
|
|
|
padding: 1em 0;
|
2014-04-16 02:23:15 +02:00
|
|
|
margin: 0;
|
2014-06-16 00:53:16 +02:00
|
|
|
word-wrap: break-word;
|
2014-04-16 02:23:15 +02:00
|
|
|
}
|
|
|
|
|
2014-06-06 04:12:14 +02:00
|
|
|
.wpview-wrap[data-mce-selected] .wpview-error {
|
2014-04-16 02:23:15 +02:00
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2014-07-08 00:41:15 +02:00
|
|
|
.wpview-error .dashicons,
|
|
|
|
.loading-placeholder .dashicons {
|
2014-04-16 02:23:15 +02: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-20 01:48:15 +01:00
|
|
|
.wpview-wrap .toolbar div:hover,
|
2014-05-29 09:51:14 +02:00
|
|
|
#wp-image-toolbar i:hover {
|
2014-03-20 01:48:15 +01:00
|
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.8);
|
|
|
|
background-color: #000;
|
|
|
|
color: #2ea2cc;
|
2014-03-18 01:20:15 +01:00
|
|
|
}
|
|
|
|
|
2014-03-27 08:02:16 +01:00
|
|
|
/* Audio player is short; therefore let's put the toolbar above */
|
2014-07-04 05:59:15 +02:00
|
|
|
.wpview-wrap[data-wpview-type="audio"] .toolbar {
|
2014-03-27 21:10:15 +01:00
|
|
|
top: auto;
|
|
|
|
bottom: -34px;
|
|
|
|
}
|
|
|
|
|
2014-07-04 05:59:15 +02:00
|
|
|
.wpview-wrap[data-wpview-type="audio"] .toolbar div {
|
2014-03-27 21:10:15 +01:00
|
|
|
margin-top: 0;
|
2014-03-19 08:02:15 +01:00
|
|
|
}
|
|
|
|
|
2014-07-04 05:59:15 +02:00
|
|
|
.wpview-wrap[data-wpview-type="audio"] .toolbar div:first-child {
|
2014-03-27 08:02:16 +01:00
|
|
|
margin-left: 0;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-27 08:02:16 +01:00
|
|
|
.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;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-27 08:02:16 +01:00
|
|
|
.wpview-type-gallery:after {
|
|
|
|
content: '';
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
.gallery img[data-mce-selected]:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery a {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery {
|
2014-03-18 03:30:15 +01:00
|
|
|
margin: auto -6px;
|
|
|
|
padding: 6px 0;
|
2014-03-18 01:20:15 +01:00
|
|
|
line-height: 1;
|
|
|
|
overflow-x: hidden;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-04-09 02:58:15 +02:00
|
|
|
.ie7 .gallery,
|
|
|
|
.ie8 .gallery {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2014-04-02 04:18:15 +02:00
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
.gallery .gallery-item {
|
|
|
|
float: left;
|
2014-03-18 01:20:15 +01:00
|
|
|
margin: 0;
|
2014-03-05 08:01:14 +01:00
|
|
|
text-align: center;
|
2014-03-18 03:30:15 +01:00
|
|
|
padding: 6px;
|
2014-03-18 01:20:15 +01:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-04-09 02:58:15 +02:00
|
|
|
.ie7 .gallery .gallery-item,
|
|
|
|
.ie8 .gallery .gallery-item {
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
.gallery .gallery-caption,
|
|
|
|
.gallery .gallery-icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-18 01:20:15 +01:00
|
|
|
.gallery .gallery-caption {
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 4px 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
.gallery-columns-1 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 100%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-2 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 50%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-3 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 33.333%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
2014-04-09 02:58:15 +02:00
|
|
|
.ie8 .gallery-columns-3 .gallery-item,
|
|
|
|
.ie7 .gallery-columns-3 .gallery-item {
|
|
|
|
width: 33%;
|
|
|
|
}
|
|
|
|
|
2014-03-05 08:01:14 +01:00
|
|
|
.gallery-columns-4 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 25%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-5 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 20%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-6 .gallery-item {
|
2014-04-09 02:58:15 +02:00
|
|
|
width: 16.665%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-7 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 14.285%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-8 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 12.5%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-columns-9 .gallery-item {
|
2014-03-18 01:20:15 +01:00
|
|
|
width: 11.111%;
|
2014-03-05 08:01:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gallery img {
|
2014-03-18 01:20:15 +01:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2014-04-16 02:23:15 +02:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2014-03-05 08:01:14 +01: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-29 00:53:15 +01:00
|
|
|
img.wp-oembed {
|
|
|
|
border: 1px dashed #888;
|
2014-02-26 18:23:13 +01: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-29 00:53:15 +01:00
|
|
|
width: 300px;
|
|
|
|
height: 250px;
|
|
|
|
outline: 0;
|
|
|
|
}
|
2014-04-04 07:23:14 +02:00
|
|
|
|
2014-04-13 02:23:15 +02:00
|
|
|
/* rtl */
|
|
|
|
.rtl .gallery .gallery-item {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wpview-wrap .toolbar {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wpview-wrap .toolbar div,
|
2014-05-29 09:51:14 +02:00
|
|
|
.rtl #wp-image-toolbar i {
|
2014-04-13 02:23:15 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
2014-04-04 07:23:14 +02: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;
|
|
|
|
}
|
|
|
|
}
|