WordPress.org

Make WordPress Core

Ticket #40745: 40745.5.diff

File 40745.5.diff, 14.1 KB (added by obenland, 2 years ago)
  • 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 */
     1955
     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}
    19481966
    19491967/* =Comments
    19501968----------------------------------------------- */
  • 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}
     1561
    15571562
    15581563/**
    15591564 * 12.0 Content
  • 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
     
    25262538.widget_nav_menu li,
    25272539.widget_pages li,
    25282540.widget_recent_comments li,
    2529 .widget_recent_entries li {
     2541.widget_recent_entries li,
     2542.widget_text li {
    25302543        border-top: 1px solid rgba(255, 255, 255, 0.2);
    25312544        padding: 8px 0 9px;
    25322545}
     
    25382551.widget_nav_menu li:first-child,
    25392552.widget_pages li:first-child,
    25402553.widget_recent_comments li:first-child,
    2541 .widget_recent_entries li:first-child {
     2554.widget_recent_entries li:first-child,
     2555.widget_text li {
    25422556        border-top: 0;
    25432557}
    25442558
     
    25512565
    25522566.widget_categories li li:last-child,
    25532567.widget_nav_menu li li:last-child,
    2554 .widget_pages li li:last-child {
     2568.widget_pages li li:last-child,
     2569.widget_text li li:last-child {
    25552570        padding-bottom: 0;
    25562571}
    25572572
     
    25892604        margin-bottom: 0;
    25902605}
    25912606
     2607.widget_text ul,
     2608.widget_text ol {
     2609        margin: 0 0 12px 10px;
     2610}
     2611
     2612.widget_text li > ul,
     2613.widget_text li > ol {
     2614        margin-bottom: 0;
     2615}
     2616
     2617.widget_text ul {
     2618        list-style: disc inside;
     2619}
     2620
     2621.widget_text ol {
     2622        list-style: decimal inside;
     2623}
     2624
    25922625
    25932626/**
    25942627 * 7.2 Content Sidebar Widgets
     
    27162749.content-sidebar .widget_recent_entries li,
    27172750.content-sidebar .widget_categories li ul,
    27182751.content-sidebar .widget_nav_menu li ul,
    2719 .content-sidebar .widget_pages li ul {
     2752.content-sidebar .widget_pages li ul,
     2753.content-sidebar .widget_text li ul {
    27202754        border-color: rgba(0, 0, 0, 0.1);
    27212755}
    27222756
     
    39734007        .primary-sidebar .widget_nav_menu li,
    39744008        .primary-sidebar .widget_pages li,
    39754009        .primary-sidebar .widget_recent_comments li,
    3976         .primary-sidebar .widget_recent_entries li {
     4010        .primary-sidebar .widget_recent_entries li,
     4011        .primary-sidebar .widget_text li {
    39774012                border-top: 0;
    39784013                padding: 0 0 6px;
    39794014        }
     
    39934028        .primary-sidebar .widget_nav_menu li:last-child,
    39944029        .primary-sidebar .widget_pages li:last-child,
    39954030        .primary-sidebar .widget_recent_comments li:last-child,
    3996         .primary-sidebar .widget_recent_entries li:last-child {
     4031        .primary-sidebar .widget_recent_entries li:last-child,
     4032        .primary-sidebar .widget_text li:last-child {
    39974033                padding: 0;
    39984034        }
    39994035
     
    40024038        .footer-sidebar .widget_pages li ul,
    40034039        .primary-sidebar .widget_categories li ul,
    40044040        .primary-sidebar .widget_nav_menu li ul,
    4005         .primary-sidebar .widget_pages li ul {
     4041        .primary-sidebar .widget_pages li ul,
     4042        .primary-sidebar .widget_text li ul {
    40064043                border-top: 0;
    40074044                margin-top: 6px;
    40084045        }
  • 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 */
     2565
     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}
    25542588
    25552589/**
    25562590 * 7.0 Footer
  • 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