Make WordPress Core

Ticket #23821: 23821.1.diff

File 23821.1.diff, 2.6 KB (added by obenland, 14 years ago)
  • wp-content/themes/twentythirteen/rtl.css

     
    342342}
    343343
    344344.format-audio .entry-content:before {
    345         float: none;
    346         content: normal;
    347         font-size: inherit;
    348 }
    349 
    350 .format-audio .entry-content:after {
    351         content: "\f109";
    352         font-size: 64px;
     345        -ms-filter: "FlipH";
     346        filter: FlipH;
     347        float: right;
     348        -webkit-transform: scaleX(-1);
     349        -moz-transform:    scaleX(-1);
     350        -o-transform:      scaleX(-1);
     351        transform:         scaleX(-1);
    353352}
    354353
    355354.format-audio .audio-content {
  • wp-content/themes/twentythirteen/style.css

     
    12401240        padding: 0;
    12411241}
    12421242
     1243/* Mediaelements */
     1244.entry-content .mejs-container .mejs-controls {
     1245        background: #220e10;
     1246}
     1247
     1248.entry-content .mejs-controls .mejs-time-rail .mejs-time-loaded,
     1249.entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1250        background: #fff;
     1251}
     1252
     1253.entry-content .mejs-controls .mejs-time-rail .mejs-time-current {
     1254        background: #ea9629;
     1255}
     1256
     1257.entry-content .mejs-controls .mejs-time-rail .mejs-time-total,
     1258.entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
     1259        background: #595959;
     1260}
     1261
     1262.entry-content .mejs-controls .mejs-time-rail span,
     1263.entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     1264.entry-content .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1265        border-radius: 0;
     1266}
     1267
    12431268
    12441269/**
    12451270 * 5.4 Galleries
    … …  
    14401465}
    14411466
    14421467.format-audio .entry-content:before {
    1443         float: left;
    14441468        content: "\f109";
     1469        float: left;
    14451470        font-size: 64px;
    1446 }
    1447 
    1448 .format-audio .entry-content:before,
    1449 .format-audio .entry-content:after {
    1450         display: inline-block;
     1471        position: relative;
     1472        top: 4px;
    14511473}
    14521474
    14531475.format-audio .entry-content a,
    … …  
    14681490        background: url(images/dotted-line.png) repeat-y left top;
    14691491        background-size: 4px 4px;
    14701492        float: right;
    1471         margin: 0 0 24px;
    14721493        padding-left: 35px;
    14731494        width: 80%;
    14741495        width: -webkit-calc(100% - 115px);
    14751496        width:         calc(100% - 115px);
    14761497}
    14771498
     1499.format-audio .wp-audio-shortcode {
     1500        height: 30px !important; /* Override mediaelement.js style */
     1501        margin: 20px 0;
     1502        max-width: 400px !important; /* Override mediaelement.js style */
     1503}
     1504
    14781505.format-audio audio {
    14791506        max-width: 100% !important; /* Avoid player width overflow. */
    14801507}