Make WordPress Core

Ticket #53874: measure_px_is_unnecessary_theme_bundle_css_53874.patch

File measure_px_is_unnecessary_theme_bundle_css_53874.patch, 10.1 KB (added by ankitmaru, 5 years ago)
  • src/wp-content/themes/twentyeleven/blocks.css

     
    155155        border: none;
    156156        -moz-border-radius: 3px;
    157157        border-radius: 3px;
    158         -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    159         -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    160         box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
     158        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     159        -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     160        box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    161161        color: #eee;
    162162        cursor: pointer;
    163163        font-size: 15px;
     
    232232/* Buttons */
    233233
    234234.wp-block-button .wp-block-button__link {
    235         -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    236         -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    237         box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
     235        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     236        -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     237        box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    238238        cursor: pointer;
    239239        font-size: 15px;
    240240        margin: 20px 0;
  • src/wp-content/themes/twentyeleven/colors/dark.css

     
    409409.widget_search #searchsubmit {
    410410        background: #222;
    411411        border-color: #333;
    412         -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    413         -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    414         box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
     412        -webkit-box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.09);
     413        -moz-box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.09);
     414        box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.09);
    415415        color: #777;
    416416}
    417417.widget_search #searchsubmit:active {
    418         -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    419         -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    420         box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
     418        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
     419        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
     420        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    421421        color: #40220c;
    422422}
    423423
     
    545545}
    546546#respond input#submit {
    547547        background: #ddd;
    548         -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    549         -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    550         box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
     548        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     549        -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     550        box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    551551        color: #111;
    552552        text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
    553553}
     
    620620        .commentlist .children > li.bypostauthor > article .comment-meta {
    621621                color: #959595;
    622622        }
    623 }
    624  No newline at end of file
     623}
  • src/wp-content/themes/twentyeleven/editor-blocks.css

     
    316316        border: none;
    317317        -moz-border-radius: 3px;
    318318        border-radius: 3px;
    319         -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    320         -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    321         box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
     319        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     320        -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     321        box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    322322        color: #eee;
    323323        cursor: pointer;
    324324        font-size: 15px;
     
    385385/* Buttons */
    386386
    387387.wp-block-button .wp-block-button__link {
    388         -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    389         -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    390         box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
     388        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     389        -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     390        box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    391391        cursor: pointer;
    392392        font-size: 15px;
    393393        line-height: 24px;
  • src/wp-content/themes/twentyeleven/rtl.css

     
    4343
    4444/* Simplify the pullquotes and pull styles */
    4545.one-column.singular .entry-meta .edit-link a {
    46         right: 0px;
     46        right: 0;
    4747        left: auto;
    4848}
    4949/* Make sure we have room for our comment avatars */
     
    188188        font-family: Arial, sans-serif;
    189189}
    190190.wp-caption .wp-caption-text {
    191         padding: 10px 40px 5px 0px;
     191        padding: 10px 40px 5px 0;
    192192}
    193193.wp-caption .wp-caption-text:before {
    194194        margin-right: 0;
     
    512512        }
    513513        .singular .entry-meta .edit-link a {
    514514                left: auto;
    515                 right: 0px;
     515                right: 0;
    516516        }
    517517        /* Make sure we have room for our comment avatars */
    518518        .commentlist > li.comment,
  • src/wp-content/themes/twentyeleven/style.css

     
    573573        background: -o-linear-gradient(#252525, #0a0a0a);
    574574        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
    575575        background: -webkit-linear-gradient(#252525, #0a0a0a);
    576         -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    577         -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    578         box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
     576        -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 1px 2px;
     577        -moz-box-shadow: rgba(0, 0, 0, 0.4) 0 1px 2px;
     578        box-shadow: rgba(0, 0, 0, 0.4) 0 1px 2px;
    579579        clear: both;
    580580        display: block;
    581581        float: left;
     
    18601860.widget_search #searchsubmit {
    18611861        background: #ddd;
    18621862        border: 1px solid #ccc;
    1863         -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    1864         -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
    1865         box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
     1863        -webkit-box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.09);
     1864        -moz-box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.09);
     1865        box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.09);
    18661866        color: #888;
    18671867        font-size: 13px;
    18681868        line-height: 25px;
     
    18721872.widget_search #searchsubmit:active {
    18731873        background: #1982d1;
    18741874        border-color: #0861a5;
    1875         -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    1876         -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
    1877         box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
     1875        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
     1876        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
     1877        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    18781878        color: #bfddf3;
    18791879}
    18801880
     
    22562256        border: none;
    22572257        -moz-border-radius: 3px;
    22582258        border-radius: 3px;
    2259         -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    2260         -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    2261         box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
     2259        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     2260        -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
     2261        box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    22622262        color: #eee;
    22632263        cursor: pointer;
    22642264        font-size: 15px;
  • src/wp-content/themes/twentynineteen/style-editor.css

     
    14121412  padding: 0.5rem;
    14131413  text-align: left;
    14141414  text-align: center;
    1415   -webkit-margin-start: 0px;
    1416   margin-inline-start: 0px;
     1415  -webkit-margin-start: 0;
     1416  margin-inline-start: 0;
    14171417}
    14181418
    14191419.wp-block-freeform {
  • src/wp-content/themes/twentynineteen/style-editor.scss

     
    791791                padding: ( $size__spacing-unit * .5 );
    792792                text-align: left;
    793793                text-align: center;
    794                 -webkit-margin-start: 0px;
    795                 margin-inline-start: 0px;
     794                -webkit-margin-start: 0;
     795                margin-inline-start: 0;
    796796        }
    797797}
    798798
     
    815815/** === Group Block === */
    816816
    817817// This matches the 22px value for 1rem that used on the front end.
    818 // It must be specified in pixels for the editor, since the root font 
    819 // size is different here. 
     818// It must be specified in pixels for the editor, since the root font
     819// size is different here.
    820820$group-block-background__padding: $font__size_base;
    821821
    822822.wp-block-group {
     
    866866
    867867        // Group block with background color
    868868        &.has-background {
    869                
     869
    870870                // Child blocks: Default alignments
    871871                > .wp-block-group__inner-container > .wp-block:not([data-align="wide"]):not([data-align="full"]):not(.alignwide):not(.alignfull) {
    872872                        @include media(tablet) {
     
    883883// Full alignment
    884884.wp-block[data-align="full"] > .wp-block-group {
    885885
    886                 // Margins & padding are added to this container to mimic 
    887                 // the style + spacing of the .editor-writing-flow global 
    888                 // container. This way, child items sync up with the placement 
    889                 // and size of other top-level blocks. 
     886                // Margins & padding are added to this container to mimic
     887                // the style + spacing of the .editor-writing-flow global
     888                // container. This way, child items sync up with the placement
     889                // and size of other top-level blocks.
    890890                > .wp-block-group__inner-container {
    891891
    892892                        // 2px of extra padding are added to each side here
    893                         // To better match up with the spacing of the whole 
    894                         // document. 
     893                        // To better match up with the spacing of the whole
     894                        // document.
    895895                        @include media(tablet) {
    896896                                width: 80%;
    897897                                margin-left: 10%;
    898                                 margin-right: 10%; 
     898                                margin-right: 10%;
    899899                                padding-left: 10px;
    900900                                padding-right: 10px;
    901901                        }
  • src/wp-content/themes/twentyten/style.css

     
    417417        text-decoration: none;
    418418}
    419419#access ul ul {
    420         box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    421         -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    422         -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
     420        box-shadow: 0 3px 3px rgba(0,0,0,0.2);
     421        -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
     422        -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    423423        display: none;
    424424        position: absolute;
    425425        top: 38px;