mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-28 03:57:46 +01:00
ff8844deae
* Add `wp.media.mixin`. * Add `wp.media.audio` and `wp.media.video`. * Add `wp.media.model.PostAudio` and `wp.media.model.PostVideo` * Add `wp.media.controller.AudioDetails` and `wp.media.controller.VideoDetails`. * Add `wp.media.controller.ReplaceAudio` and `wp.media.controller.ReplaceVideo`. * Add `wp.media.view.MediaFrame.AudioDetails` and `wp.media.view.MediaFrame.VideoDetails`. * Add `wp.media.view.AudioDetails` and `wp.media.view.VideoDetails`. * Update the `wpgallery` TinyMCE plugin. * Display audio and video players in the media modal when shortcode is clicked. * Provide a UI to edit shortcode attributes in the media modal. * Provide a UI to replace the `src` media file in an `audio` or `video` shortcode. See #27016. Built from https://develop.svn.wordpress.org/trunk@27411 git-svn-id: http://core.svn.wordpress.org/trunk@27258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
137 lines
2.1 KiB
CSS
137 lines
2.1 KiB
CSS
.mejs-container, .mejs-embed, .mejs-embed body {
|
|
background: #464646;
|
|
}
|
|
|
|
.mejs-controls .mejs-time-rail .mejs-time-loaded {
|
|
background: #21759b;
|
|
}
|
|
|
|
.mejs-controls .mejs-time-rail .mejs-time-current {
|
|
background: #d54e21;
|
|
}
|
|
|
|
.me-cannotplay {
|
|
width: auto !important;
|
|
}
|
|
|
|
.audio-details .wp-audio-shortcode {
|
|
display: inline-block;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.video-details .embed-video-settings,
|
|
.audio-details .embed-audio-settings {
|
|
top: 10px;
|
|
}
|
|
|
|
.video-details .embed-video-settings .checkbox-setting,
|
|
.audio-details .embed-audio-settings .checkbox-setting {
|
|
width: 100px;
|
|
clear: none;
|
|
}
|
|
|
|
.video-details .wp-video-holder {
|
|
width: 100%;
|
|
max-width: 640px;
|
|
}
|
|
|
|
.wp-playlist {
|
|
border: 1px solid #ccc;
|
|
padding: 10px;
|
|
margin: 12px 0 18px;
|
|
font-size: 85%;
|
|
line-height: 160%;
|
|
}
|
|
|
|
.wp-playlist audio,
|
|
.wp-playlist video {
|
|
display: inline-block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.wp-playlist .mejs-container {
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.wp-playlist .mejs-controls .mejs-button button {
|
|
outline: 0;
|
|
}
|
|
|
|
.wp-playlist-light {
|
|
background: #fff;
|
|
}
|
|
|
|
.wp-playlist-dark {
|
|
color: #fff;
|
|
background: #000;
|
|
}
|
|
|
|
.wp-playlist-caption {
|
|
max-width: 85%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wp-caption-meta {
|
|
display: block;
|
|
}
|
|
|
|
.wp-caption-title {
|
|
font-size: 100%;
|
|
}
|
|
|
|
.wp-caption-album {
|
|
font-style: italic;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wp-caption-artist {
|
|
font-size: 85%;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wp-caption-by {
|
|
font-size: 65%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.wp-playlist-item-length {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.wp-playlist-tracks {
|
|
margin-top: 10px;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.wp-playlist-item {
|
|
position: relative;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
.wp-playlist-current-item {
|
|
overflow: hidden;
|
|
margin-bottom: 10px;
|
|
height: 60px;
|
|
}
|
|
|
|
.wp-playlist-current-item img {
|
|
float: left;
|
|
max-width: 60px;
|
|
height: auto;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.wp-playlist-current-item .wp-caption-title,
|
|
.wp-playlist-current-item .wp-caption-artist {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
} |