X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/888fa4ed68091f3314f711c5f6fe75858bf5410b..138998bbd8f7a1ac38b2f1eacbdf7cd522be4b13:/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 ec8e37bc..097409b1 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,6 +82,10 @@ max-width: 400px; } +.audio-details .embed-media-settings { + overflow: visible; +} + .media-embed-details .embed-media-settings .setting span { max-width: 400px; width: auto; @@ -43,12 +106,16 @@ } .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; } @@ -58,6 +125,22 @@ 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 { width: 100%; max-width: 640px; @@ -71,6 +154,10 @@ line-height: 1.5; } +.wp-admin .wp-playlist { + margin: 0 0 18px; +} + .wp-playlist video { display: inline-block; max-width: 100%; @@ -169,11 +256,11 @@ border-bottom: 0; } -.wp-playlist-light .wp-playlist-item { +.wp-playlist-light .wp-playlist-caption { color: #333; } -.wp-playlist-dark .wp-playlist-item { +.wp-playlist-dark .wp-playlist-caption { color: #dedede; } @@ -222,4 +309,4 @@ .wp-audio-playlist .me-cannotplay span { padding: 5px 15px; -} \ No newline at end of file +}