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 */
|
|
|
|
body {
|
|
|
|
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 19px;
|
|
|
|
color: #333;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* DFW mode */
|
|
|
|
html.wp-fullscreen,
|
|
|
|
html.wp-fullscreen body {
|
|
|
|
background: transparent;
|
|
|
|
width: auto;
|
|
|
|
max-width: none;
|
|
|
|
min-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aligncenter,
|
|
|
|
dl.aligncenter {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
font: 12px/18px Consolas, Monaco, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
color: #000;
|
|
|
|
font-size: 11px;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
.mce-content-body img.mce-wp-nextpage,
|
|
|
|
.mce-content-body img.mce-wp-more {
|
|
|
|
border: 0;
|
2014-03-01 17:36:14 -05:00
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: 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
|
|
|
width: 95%;
|
|
|
|
height: 10px;
|
|
|
|
display: block;
|
|
|
|
margin: 15px auto 0;
|
|
|
|
outline: 0;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove blue highlighting of selected images in WebKit */
|
|
|
|
img::selection {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.mce-wp-nextpage[data-mce-selected],
|
|
|
|
.mce-content-body img.mce-wp-more[data-mce-selected] {
|
|
|
|
background-color: rgba(128,128,128,0.2);
|
|
|
|
outline: 1px dotted #888;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.mce-wp-more {
|
|
|
|
border-top: 2px dashed #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.mce-wp-nextpage {
|
|
|
|
border-top: 3px dotted #bbb;
|
|
|
|
}
|
|
|
|
|
2014-02-13 00:10:11 -05:00
|
|
|
/* Gallery, audio, vudeo placeholders */
|
|
|
|
.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-24 13:08:16 -05:00
|
|
|
.mce-content-body img.wp-media.wp-playlist {
|
|
|
|
background-image: url("images/playlist-audio.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-content-body img.wp-media.wp-video-playlist {
|
|
|
|
background-image: url("images/playlist-video.png");
|
|
|
|
}
|
|
|
|
|
2014-02-10 18:48:12 -05:00
|
|
|
#wp-image-toolbar {
|
|
|
|
position: absolute;
|
2014-03-17 20:20:15 -04:00
|
|
|
background-color: #333;
|
2014-02-10 18:48:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#wp-image-toolbar .dashicons {
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
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,
|
|
|
|
.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 {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
overflow: hidden;
|
|
|
|
outline: 0;
|
2014-03-17 20:20:15 -04:00
|
|
|
width: 100%;
|
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 03:02:15 -04:00
|
|
|
.wpview-type-gallery,
|
|
|
|
.wpview-type-audio,
|
|
|
|
.wpview-type-video {
|
2014-03-05 02:01:14 -05:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
cursor: pointer;
|
2014-03-17 22:30:15 -04:00
|
|
|
border: 1px solid transparent;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-03-19 03:02:15 -04:00
|
|
|
.wpview-type-audio {
|
|
|
|
padding: 24px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-type-video {
|
|
|
|
padding: 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-type-gallery:after {
|
2014-03-05 02:01:14 -05:00
|
|
|
content: '';
|
2014-03-17 20:20:15 -04:00
|
|
|
display: table;
|
2014-03-05 02:01:14 -05:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-03-19 03:02:15 -04:00
|
|
|
.wpview-type-gallery.selected,
|
|
|
|
.wpview-type-audio,
|
|
|
|
.wpview-type-video {
|
2014-03-17 20:20:15 -04:00
|
|
|
background-color: #f2f8ff;
|
2014-03-17 22:30:15 -04:00
|
|
|
border-color: #777;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-03-19 03:02:15 -04:00
|
|
|
.wpview-type-gallery .toolbar,
|
|
|
|
.wpview-type-audio .toolbar,
|
|
|
|
.wpview-type-video .toolbar {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: #333;
|
|
|
|
color: white;
|
2014-03-05 02:01:14 -05:00
|
|
|
display: none;
|
2014-03-19 03:02:15 -04:00
|
|
|
z-index: 100;
|
2014-03-05 02:01:14 -05:00
|
|
|
}
|
|
|
|
|
2014-03-19 03:02:15 -04:00
|
|
|
.wpview-type-video .toolbar div,
|
2014-03-17 20:20:15 -04:00
|
|
|
.wpview-type-gallery .toolbar div,
|
|
|
|
#wp-image-toolbar div {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2014-03-19 03:02:15 -04:00
|
|
|
.wpview-type-audio .toolbar div {
|
|
|
|
margin: 2px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wpview-type-audio .toolbar,
|
|
|
|
.wpview-type-video .toolbar,
|
2014-03-05 02:01:14 -05:00
|
|
|
.wpview-type-gallery.selected .toolbar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-03-19 03:02:15 -04:00
|
|
|
.wpview-type-audio .toolbar span,
|
|
|
|
.wpview-type-video .toolbar span,
|
2014-03-13 19:39:16 -04:00
|
|
|
.wpview-type-gallery .toolbar span {
|
2014-03-05 02:01:14 -05:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
.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-03-17 20:20:15 -04:00
|
|
|
width: 16.667%;
|
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-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;
|
|
|
|
}
|