Make WordPress Core

Ticket #40745: 40745.6.diff

File 40745.6.diff, 17.1 KB (added by celloexpressions, 7 years ago)

Fix media player icons for Twenty Fourteen, amending 40725.6.diff (also fixes spacing issue likely caused by a past MediaElement.js update).

  • src/wp-content/themes/twentyeleven/rtl.css

     
    377377        margin-left: -10px;
    378378        text-align: left;
    379379}
     380.widget_text ul,
     381.widget_text ol {
     382        margin: 0 2.5em 1.625em 0;
     383}
    380384
    381385/* =Comments
    382386----------------------------------------------- */
  • src/wp-content/themes/twentyeleven/style.css

     
    19081908}
    19091909
    19101910/* Widget Image */
    1911 .widget_image img {
     1911.widget_image img,
     1912.widget_media_image img {
    19121913        border: 0;
    19131914        padding: 0;
    19141915        height: auto;
    19151916        max-width: 100%;
    19161917}
     1918@media (min-width: 1024px) {
     1919        .widget_media_image .size-thumbnail {
     1920                padding: 6px;
     1921        }
     1922}
    19171923
    19181924/* Calendar Widget */
    19191925
     
    19451951        border-bottom: 1px solid #ccc;
    19461952}
    19471953
     1954/* Text Widget */
    19481955
     1956.widget_text ul,
     1957.widget_text ol {
     1958        margin: 0 0 1.625em 2.5em;
     1959}
     1960.widget_text ul ul,
     1961.widget_text ol ol,
     1962.widget_text ul ol,
     1963.widget_text ol ul {
     1964        margin-bottom: 0;
     1965}
     1966
    19491967/* =Comments
    19501968----------------------------------------------- */
    19511969
  • src/wp-content/themes/twentyfifteen/rtl.css

     
    288288        margin: 0.7667em 0.8em 0 0;
    289289}
    290290
     291.textwidget ul,
     292.textwidget ol {
     293        margin-left: 0;
     294        margin-right: 1.6em;
     295}
    291296
    292297/**
    293298 * 10.0 Content
  • src/wp-content/themes/twentyfifteen/style.css

     
    15541554        border-bottom: 0;
    15551555}
    15561556
     1557.textwidget ul,
     1558.textwidget ol {
     1559        margin-left: 1.6em;
     1560}
    15571561
     1562
    15581563/**
    15591564 * 12.0 Content
    15601565 */
  • src/wp-content/themes/twentyfourteen/rtl.css

     
    335335        margin: 0 20px 0 0;
    336336}
    337337
     338.widget_text ul,
     339.widget_text ol {
     340        margin: 0 10px 12px 0;
     341}
    338342
    339343/**
    340344 * 7.2 Content Sidebar Widgets
  • src/wp-content/themes/twentyfourteen/style.css

     
    13471347
    13481348/* Mediaelements */
    13491349
    1350 .hentry .mejs-container {
     1350.hentry .mejs-container,
     1351.widget .mejs-container {
    13511352        margin: 12px 0 18px;
    13521353}
    13531354
    13541355.hentry .mejs-mediaelement,
    1355 .hentry .mejs-container .mejs-controls {
     1356.widget .mejs-mediaelement,
     1357.hentry .mejs-container .mejs-controls,
     1358.widget .mejs-container .mejs-controls {
    13561359        background: #000;
    13571360}
    13581361
    13591362.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
    1360 .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1363.widget .mejs-controls .mejs-time-rail .mejs-time-loaded,
     1364.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
     1365.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    13611366        background: #fff;
    13621367}
    13631368
    1364 .hentry .mejs-controls .mejs-time-rail .mejs-time-current {
     1369.hentry .mejs-controls .mejs-time-rail .mejs-time-current,
     1370.widget .mejs-controls .mejs-time-rail .mejs-time-current {
    13651371        background: #24890d;
    13661372}
    13671373
    13681374.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
    1369 .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
     1375.widget .mejs-controls .mejs-time-rail .mejs-time-total,
     1376.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     1377.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    13701378        background: rgba(255, 255, 255, .33);
    13711379}
    13721380
    1373 .hentry .mejs-container .mejs-controls .mejs-time {
     1381.hentry .mejs-container .mejs-controls .mejs-time,
     1382.widget .mejs-container .mejs-controls .mejs-time {
    13741383        padding-top: 9px;
    13751384}
    13761385
    13771386.hentry .mejs-controls .mejs-time-rail span,
     1387.widget .mejs-controls .mejs-time-rail span,
    13781388.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
    1379 .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1389.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     1390.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
     1391.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    13801392        border-radius: 0;
    13811393}
    13821394
    1383 .hentry .mejs-overlay-loading {
     1395.hentry .mejs-overlay-loading,
     1396.widget .mejs-overlay-loading {
    13841397        background: transparent;
    13851398}
    13861399
    1387 .hentry .mejs-overlay-button {
     1400.hentry .mejs-overlay-button,
     1401.widget .mejs-overlay-button {
    13881402        background-color: #fff;
    13891403        background-image: none;
    13901404        border-radius: 2px;
     
    13911405        box-shadow: 1px 1px 1px rgba(0,0,0,.8);
    13921406        color: #000;
    13931407        height: 36px;
    1394         margin-left: -24px;
     1408        margin: -28px 0 0 -24px; /* Keep centered on video (container includes visible controls bar) */
    13951409        width: 48px;
    13961410}
    13971411
    1398 .hentry .mejs-overlay-button:before {
     1412.hentry .mejs-overlay-button:before,
     1413.widget .mejs-overlay-button:before {
    13991414        -webkit-font-smoothing: antialiased;
    14001415        content: '\f452';
    14011416        display: inline-block;
     
    14051420        left: 10px;
    14061421}
    14071422
    1408 .hentry .mejs-controls .mejs-button button:focus {
     1423.hentry .mejs-controls .mejs-button button:focus,
     1424.widget .mejs-controls .mejs-button button:focus {
    14091425        outline: none;
    14101426}
    14111427
    1412 .hentry .mejs-controls .mejs-button button {
     1428.hentry .mejs-controls .mejs-button button,
     1429.widget .mejs-controls .mejs-button button {
    14131430        -webkit-font-smoothing: antialiased;
    14141431        background: none;
    14151432        color: #fff;
     
    14171434        font: normal 16px/1 Genericons;
    14181435}
    14191436
    1420 .hentry .mejs-playpause-button.mejs-play button:before {
     1437.hentry .mejs-playpause-button.mejs-play button:before,
     1438.widget .mejs-playpause-button.mejs-play button:before {
    14211439        content: '\f452';
    14221440}
    14231441
    1424 .hentry .mejs-playpause-button.mejs-pause button:before {
     1442.hentry .mejs-playpause-button.mejs-pause button:before,
     1443.widget .mejs-playpause-button.mejs-pause button:before {
    14251444        content: '\f448';
    14261445}
    14271446
    1428 .hentry .mejs-volume-button.mejs-mute button:before {
     1447.hentry .mejs-volume-button.mejs-mute button:before,
     1448.widget .mejs-volume-button.mejs-mute button:before {
    14291449        content: '\f109';
    14301450        font-size: 20px;
    14311451        position: absolute;
     
    14331453        left: 0;
    14341454}
    14351455
     1456.widget .mejs-volume-button.mejs-unmute button:before,
    14361457.hentry .mejs-volume-button.mejs-unmute button:before {
    14371458        content: '\f109';
    14381459        left: 0;
     
    14401461        top: 0;
    14411462}
    14421463
    1443 .hentry .mejs-fullscreen-button button:before {
     1464.hentry .mejs-fullscreen-button button:before,
     1465.widget .mejs-fullscreen-button button:before {
    14441466        content: '\f474';
    14451467}
    14461468
    1447 .hentry .mejs-fullscreen-button.mejs-unfullscreen button:before {
     1469.hentry .mejs-fullscreen-button.mejs-unfullscreen button:before,
     1470.widget .mejs-fullscreen-button.mejs-unfullscreen button:before {
    14481471        content: '\f406';
    14491472}
    14501473
    1451 .hentry .mejs-overlay:hover .mejs-overlay-button {
     1474.hentry .mejs-overlay:hover .mejs-overlay-button,
     1475.widget .mejs-overlay:hover .mejs-overlay-button {
    14521476        background-color: #24890d;
    14531477        color: #fff;
    14541478}
    14551479
    1456 .hentry .mejs-controls .mejs-button button:hover {
     1480.hentry .mejs-controls .mejs-button button:hover,
     1481.widget .mejs-controls .mejs-button button:hover {
    14571482        color: #41a62a;
    14581483}
    14591484
     
    25262551.widget_nav_menu li,
    25272552.widget_pages li,
    25282553.widget_recent_comments li,
    2529 .widget_recent_entries li {
     2554.widget_recent_entries li,
     2555.widget_text li {
    25302556        border-top: 1px solid rgba(255, 255, 255, 0.2);
    25312557        padding: 8px 0 9px;
    25322558}
     
    25382564.widget_nav_menu li:first-child,
    25392565.widget_pages li:first-child,
    25402566.widget_recent_comments li:first-child,
    2541 .widget_recent_entries li:first-child {
     2567.widget_recent_entries li:first-child,
     2568.widget_text li {
    25422569        border-top: 0;
    25432570}
    25442571
     
    25512578
    25522579.widget_categories li li:last-child,
    25532580.widget_nav_menu li li:last-child,
    2554 .widget_pages li li:last-child {
     2581.widget_pages li li:last-child,
     2582.widget_text li li:last-child {
    25552583        padding-bottom: 0;
    25562584}
    25572585
     
    25892617        margin-bottom: 0;
    25902618}
    25912619
     2620.widget_text ul,
     2621.widget_text ol {
     2622        margin: 0 0 12px 10px;
     2623}
    25922624
     2625.widget_text li > ul,
     2626.widget_text li > ol {
     2627        margin-bottom: 0;
     2628}
     2629
     2630.widget_text ul {
     2631        list-style: disc inside;
     2632}
     2633
     2634.widget_text ol {
     2635        list-style: decimal inside;
     2636}
     2637
     2638
    25932639/**
    25942640 * 7.2 Content Sidebar Widgets
    25952641 * -----------------------------------------------------------------------------
     
    27162762.content-sidebar .widget_recent_entries li,
    27172763.content-sidebar .widget_categories li ul,
    27182764.content-sidebar .widget_nav_menu li ul,
    2719 .content-sidebar .widget_pages li ul {
     2765.content-sidebar .widget_pages li ul,
     2766.content-sidebar .widget_text li ul {
    27202767        border-color: rgba(0, 0, 0, 0.1);
    27212768}
    27222769
     
    39734020        .primary-sidebar .widget_nav_menu li,
    39744021        .primary-sidebar .widget_pages li,
    39754022        .primary-sidebar .widget_recent_comments li,
    3976         .primary-sidebar .widget_recent_entries li {
     4023        .primary-sidebar .widget_recent_entries li,
     4024        .primary-sidebar .widget_text li {
    39774025                border-top: 0;
    39784026                padding: 0 0 6px;
    39794027        }
     
    39934041        .primary-sidebar .widget_nav_menu li:last-child,
    39944042        .primary-sidebar .widget_pages li:last-child,
    39954043        .primary-sidebar .widget_recent_comments li:last-child,
    3996         .primary-sidebar .widget_recent_entries li:last-child {
     4044        .primary-sidebar .widget_recent_entries li:last-child,
     4045        .primary-sidebar .widget_text li:last-child {
    39974046                padding: 0;
    39984047        }
    39994048
     
    40024051        .footer-sidebar .widget_pages li ul,
    40034052        .primary-sidebar .widget_categories li ul,
    40044053        .primary-sidebar .widget_nav_menu li ul,
    4005         .primary-sidebar .widget_pages li ul {
     4054        .primary-sidebar .widget_pages li ul,
     4055        .primary-sidebar .widget_text li ul {
    40064056                border-top: 0;
    40074057                margin-top: 6px;
    40084058        }
  • src/wp-content/themes/twentyseventeen/rtl.css

     
    242242        padding-right: 1.5rem;
    243243}
    244244
     245.widget_text ul {
     246        margin: 0 1.5em 1.5em 0;
     247}
     248
     249.widget_text ul li ul {
     250        margin: 0 1.5em 0 0;
     251}
     252
    245253/* Footer */
    246254
    247255.social-navigation a {
  • src/wp-content/themes/twentyseventeen/style.css

     
    25332533        margin: 0;
    25342534}
    25352535
    2536 .widget ul li {
     2536.widget ul li,
     2537.widget ol li {
    25372538        border-bottom: 1px solid #ddd;
    25382539        border-top: 1px solid #ddd;
    25392540        padding: 0.5em 0;
     
    25942595        word-wrap: break-word;
    25952596}
    25962597
     2598.widget_text ul {
     2599        list-style: disc;
     2600        margin: 0 0 1.5em 1.5em;
     2601}
     2602
     2603.widget_text ol {
     2604        list-style: decimal;
     2605}
     2606
     2607.widget_text ul li,
     2608.widget_text ol li {
     2609        border: none;
     2610}
     2611
     2612.widget_text ul li:last-child,
     2613.widget_text ol li:last-child {
     2614        padding-bottom: 0;
     2615}
     2616
     2617.widget_text ul li ul {
     2618        margin: 0 0 0 1.5em;
     2619}
     2620
     2621.widget_text ul li li {
     2622        padding-left: 0;
     2623        padding-right: 0;
     2624}
     2625
     2626.widget_text ol li {
     2627        list-style-position: inside;
     2628}
     2629
     2630.widget_text ol li + li {
     2631        margin-top: -1px;
     2632}
     2633
    25972634/* RSS Widget */
    25982635
    25992636.widget_rss .widget-title .rsswidget:first-child {
  • src/wp-content/themes/twentyten/rtl.css

     
    265265        margin-right: 1.3em;
    266266        margin-left: 0;
    267267}
     268.widget_text ol {
     269        margin-left: auto;
     270        margin-right: 1.3em;
     271}
    268272
    269273/* =Footer
    270274-------------------------------------------------------------- */
  • src/wp-content/themes/twentyten/style.css

     
    12221222        width: 11px;
    12231223        height: 11px;
    12241224}
     1225.widget_text ul,
     1226.widget_text ol {
     1227        margin-bottom: 1.5em;
     1228}
     1229.widget_text ol {
     1230        margin-left: 1.3em;
     1231}
     1232.widget_text ul ul,
     1233.widget_text ol ol,
     1234.widget_text ul ol,
     1235.widget_text ol ul {
     1236        margin-bottom: 0;
     1237}
     1238.widget_media_video video {
     1239        max-width: 100%;
     1240}
    12251241
    12261242/* Main sidebars */
    12271243#main .widget-area ul {
  • src/wp-content/themes/twentythirteen/rtl.css

     
    535535        margin-right: 20px;
    536536}
    537537
     538.widget_text ul,
     539.widget_text ol {
     540        padding-left: auto;
     541        padding-right: 20px;
     542}
     543
    538544/**
    539545 * 7.0 Footer
    540546 * ----------------------------------------------------------------------------
  • src/wp-content/themes/twentythirteen/style.css

     
    12281228
    12291229/* Mediaelements */
    12301230.hentry .mejs-mediaelement,
    1231 .hentry .mejs-container .mejs-controls {
     1231.widget .mejs-mediaelement,
     1232.hentry .mejs-container .mejs-controls,
     1233.widget .mejs-container .mejs-controls {
    12321234        background: #220e10;
    12331235}
    12341236
    12351237.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
    1236 .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1238.widget .mejs-controls .mejs-time-rail .mejs-time-loaded,
     1239.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
     1240.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    12371241        background: #fff;
    12381242}
    12391243
    1240 .hentry .mejs-controls .mejs-time-rail .mejs-time-current {
     1244.hentry .mejs-controls .mejs-time-rail .mejs-time-current,
     1245.widget .mejs-controls .mejs-time-rail .mejs-time-current {
    12411246        background: #ea9629;
    12421247}
    12431248
    12441249.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
    1245 .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
     1250.widget .mejs-controls .mejs-time-rail .mejs-time-total,
     1251.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     1252.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    12461253        background: #595959;
    12471254}
    12481255
    12491256.hentry .mejs-controls .mejs-time-rail span,
     1257.widget .mejs-controls .mejs-time-rail span,
    12501258.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
    1251 .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
     1259.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
     1260.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
     1261.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    12521262        border-radius: 0;
    12531263}
    12541264
     
    25512561        background-color: transparent;
    25522562}
    25532563
     2564/* Text widget */
    25542565
     2566.widget_text ul,
     2567.widget_text ol {
     2568        padding-left: 20px;
     2569        margin-bottom: 16px;
     2570}
     2571
     2572.widget_text li:last-child {
     2573        padding-bottom: 0;
     2574}
     2575
     2576.widget_text li > ul,
     2577.widget_text li > ol {
     2578        margin-bottom: 0;
     2579}
     2580
     2581.widget_text ul {
     2582        list-style: square;
     2583}
     2584
     2585.widget_text ol {
     2586        list-style: decimal;
     2587}
     2588
    25552589/**
    25562590 * 7.0 Footer
    25572591 * ----------------------------------------------------------------------------
  • src/wp-content/themes/twentytwelve/style.css

     
    642642        margin-bottom: 24px;
    643643        margin-bottom: 1.714285714rem;
    644644}
    645 .widget-area .textwidget ul {
     645.widget-area .textwidget ul,
     646.widget-area .textwidget ol {
    646647        list-style: disc outside;
    647648        margin: 0 0 24px;
    648649        margin: 0 0 1.714285714rem;
    649650}
     651.widget-area .textwidget li > ul,
     652.widget-area .textwidget li > ol {
     653        margin-bottom: 0;
     654}
     655.widget-area .textwidget ol {
     656        list-style: decimal;
     657}
    650658.widget-area .textwidget li {
    651659        margin-left: 36px;
    652660        margin-left: 2.571428571rem;
     
    14431451        text-align: right;
    14441452}
    14451453
    1446 
    14471454/* =Plugins
    14481455----------------------------------------------- */
    14491456
  • src/wp-includes/widgets/class-wp-widget-media-image.php

     
    189189                        if ( 'custom' === $size || ! in_array( $size, array_merge( get_intermediate_image_sizes(), array( 'full' ) ), true ) ) {
    190190                                $size = array( $instance['width'], $instance['height'] );
    191191                        }
     192                        $image_attributes['class'] .= sprintf( ' attachment-%1$s size-%1$s', is_array( $size ) ? join( 'x', $size ) : $size );
    192193
    193194                        $image = wp_get_attachment_image( $attachment->ID, $size, false, $image_attributes );
    194195