Make WordPress Core

Changeset 28365


Ignore:
Timestamp:
05/11/2014 02:22:42 AM (10 years ago)
Author:
wonderboymusic
Message:

Update the default (WP-defined) styles for MediaElement players to be more in-line with our flat aesthetic. Use the new official colors.

Props celloexpressions.
Fixes #27516.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/mediaelement/wp-mediaelement.css

    r28361 r28365  
    77}
    88
    9 .mejs-container, .mejs-embed, .mejs-embed body {
    10     background: #000;
    11 }
    12 
    13 .mejs-controls .mejs-time-rail .mejs-time-loaded {
    14     background: #21759b;
     9.mejs-container,
     10.mejs-embed,
     11.mejs-embed body,
     12.mejs-container .mejs-controls {
     13    background: #222;
     14}
     15
     16.mejs-controls .mejs-time-rail .mejs-time-loaded,
     17.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     18    background: #fff;
    1519}
    1620
    1721.mejs-controls .mejs-time-rail .mejs-time-current {
    18     background: #d54e21;
     22    background: #0074a2;
     23}
     24
     25.mejs-controls .mejs-time-rail .mejs-time-total,
     26.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
     27    background: rgba(255, 255, 255, .33);
     28}
     29
     30.mejs-controls .mejs-time-rail span,
     31.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     32.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     33    border-radius: 0;
     34}
     35
     36.mejs-overlay-loading {
     37    background: transparent;
     38}
     39
     40/* Override theme styles that may conflict with controls. */
     41.mejs-controls button:hover {
     42    border: none;
     43    -webkit-box-shadow: none;
     44    box-shadow: none;
    1945}
    2046
Note: See TracChangeset for help on using the changeset viewer.