X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/41578db67d72562346e4dbb2a14889b23d522813..refs/tags/wordpress-4.5:/wp-includes/js/mediaelement/wp-mediaelement.css diff --git a/wp-includes/js/mediaelement/wp-mediaelement.css b/wp-includes/js/mediaelement/wp-mediaelement.css index ce4a9f70..e4d4202d 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/wp-includes/js/mediaelement/wp-mediaelement.css @@ -1,17 +1,76 @@ +.mejs-container { + clear: both; +} + .mejs-container * { font-family: Helvetica, Arial; } -.mejs-container, .mejs-embed, .mejs-embed body { - background: #000; +.mejs-container, +.mejs-embed, +.mejs-embed body, +.mejs-container .mejs-controls { + background: #222; } -.mejs-controls .mejs-time-rail .mejs-time-loaded { - background: #21759b; +.mejs-controls a.mejs-horizontal-volume-slider { + display: table; +} + +.mejs-controls .mejs-time-rail .mejs-time-loaded, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { + background: #fff; } .mejs-controls .mejs-time-rail .mejs-time-current { - background: #d54e21; + background: #0073aa; +} + +.mejs-controls .mejs-time-rail .mejs-time-total, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { + background: rgba(255, 255, 255, .33); +} + +.mejs-controls .mejs-time-rail span, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { + border-radius: 0; +} + +.mejs-controls .mejs-offscreen { + clip: rect(1px, 1px, 1px, 1px); + position: absolute; +} + +.mejs-controls a:focus > .mejs-offscreen { + background-color: #f1f1f1; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto; + color: #0073aa; + display: block; + font-size: 14px; + font-weight: bold; + height: auto; + line-height: normal; + padding: 15px 23px 14px; + position: absolute; + left: 0; + top: 15px; + text-decoration: none; + text-transform: none; + width: auto; +} + +.mejs-overlay-loading { + background: transparent; +} + +/* Override theme styles that may conflict with controls. */ +.mejs-controls button:hover { + border: none; + -webkit-box-shadow: none; + box-shadow: none; } .me-cannotplay { @@ -23,11 +82,19 @@ max-width: 400px; } +.audio-details .embed-media-settings { + overflow: visible; +} + .media-embed-details .embed-media-settings .setting span { max-width: 400px; width: auto; } +.media-embed-details .embed-media-settings .checkbox-setting span { + display: inline-block; +} + .media-embed-details .embed-media-settings { padding-top: 0; top: 28px; @@ -39,19 +106,39 @@ } .media-embed-details .setting p, -.media-embed-details .setting a { +.media-embed-details .setting .remove-setting { color: #a00; font-size: 10px; text-transform: uppercase; } +.media-embed-details .setting .remove-setting { + padding: 0; +} + .media-embed-details .setting a:hover { color: #f00; } .media-embed-details .embed-media-settings .checkbox-setting { - width: 100px; - clear: none; + float: none; + margin: 0 0 10px; +} + +.wp-video { + max-width: 100%; + height: auto; +} + +.wp_attachment_holder .wp-video, +.wp_attachment_holder .wp-audio-shortcode { + margin-top: 18px; +} + +video.wp-video-shortcode, +.wp-video-shortcode video { + max-width: 100%; + display: inline-block; } .video-details .wp-video-holder { @@ -67,6 +154,10 @@ line-height: 1.5; } +.wp-admin .wp-playlist { + margin: 0 0 18px; +} + .wp-playlist video { display: inline-block; max-width: 100%; @@ -98,6 +189,7 @@ } .wp-playlist-caption { + display: block; max-width: 88%; overflow: hidden; text-overflow: ellipsis; @@ -109,6 +201,8 @@ .wp-playlist-item .wp-playlist-caption { text-decoration: none; color: #000; + max-width: -webkit-calc(100% - 40px); + max-width: calc(100% - 40px); } .wp-playlist-item-meta { @@ -142,6 +236,11 @@ line-height: 1.5; } +.rtl .wp-playlist-item-length { + left: 3px; + right: auto; +} + .wp-playlist-tracks { margin-top: 10px; } @@ -157,12 +256,12 @@ border-bottom: 0; } -.wp-playlist-light .wp-playlist-item { +.wp-playlist-light .wp-playlist-caption { color: #333; } -.wp-playlist-dark .wp-playlist-item { - color: #dedede; +.wp-playlist-dark .wp-playlist-caption { + color: #ddd; } .wp-playlist-playing { @@ -195,9 +294,19 @@ border: 0; } +.rtl .wp-playlist .wp-playlist-current-item img { + float: right; + margin-left: 10px; + margin-right: 0; +} + .wp-playlist-current-item .wp-playlist-item-title, .wp-playlist-current-item .wp-playlist-item-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -} \ No newline at end of file +} + +.wp-audio-playlist .me-cannotplay span { + padding: 5px 15px; +}