Make WordPress Core

Ticket #27516: 27516.global.diff

File 27516.global.diff, 1.5 KB (added by celloexpressions, 11 years ago)

Cleaner global MediaElement styling, inspired by Twenty Thirteen and Fourteen's overrides, and using the WordPress 3.8+ design aesthetic and colors.

  • wp-includes/js/mediaelement/wp-mediaelement.css

     
    22        font-family: Helvetica, Arial;
    33}
    44
    5 .mejs-container, .mejs-embed, .mejs-embed body {
    6         background: #000;
     5.mejs-container,
     6.mejs-embed,
     7.mejs-embed body,
     8.mejs-container .mejs-controls {
     9        background: #222;
    710}
    811
    9 .mejs-controls .mejs-time-rail .mejs-time-loaded {
    10         background: #21759b;
     12.mejs-controls .mejs-time-rail .mejs-time-loaded,
     13.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     14        background: #fff;
    1115}
    1216
    1317.mejs-controls .mejs-time-rail .mejs-time-current {
    14         background: #d54e21;
     18        background: #0074a2;
    1519}
    1620
     21.mejs-controls .mejs-time-rail .mejs-time-total,
     22.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
     23        background: rgba(255, 255, 255, .33);
     24}
     25
     26.mejs-controls .mejs-time-rail span,
     27.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     28.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     29        border-radius: 0;
     30}
     31
     32.mejs-overlay-loading {
     33        background: transparent;
     34}
     35
     36/* Override theme styles that may conflict with controls. */
     37.mejs-controls button:hover {
     38        border: none;
     39        -webkit-box-shadow: none;
     40        box-shadow: none;
     41}
     42
    1743.me-cannotplay {
    1844        width: auto !important;
    1945}