Make WordPress Core

Changeset 42641


Ignore:
Timestamp:
02/03/2018 01:18:40 PM (9 years ago)
Author:
afercia
Message:

Administration: CSS coding standards: use double quotes for values that require quotes.

As per the WordPress CSS coding standards, CSS properties with values that require quotes must use double quotes.
Also fixes some indentation and spacing.

Fixes #43220.

Location:
trunk/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r42447 r42641  
    15171517.button.updated-message:before {
    15181518        color: #79ba49;
    1519         content: '\f147';
     1519        content: "\f147";
    15201520}
    15211521
    … …  
    31353135/* Styles for folder indicators/depth */
    31363136.tree-folder .tree-folder::after {
    3137         content: ' ';
     3137        content: "";
    31383138        display: block;
    31393139        position: absolute;
    … …  
    31443144}
    31453145.tree-folder > li::before {
    3146         content: ' ';
     3146        content: "";
    31473147        position: absolute;
    31483148        display: block;
    … …  
    31553155}
    31563156.tree-folder > li::after {
    3157         content: ' ';
     3157        content: "";
    31583158        position: absolute;
    31593159        display: block;
    … …  
    39533953        }
    39543954        .options-media-php label[for*="_size_h"]:before {
    3955                 content: '';
     3955                content: "";
    39563956                display: block;
    39573957        }
  • trunk/src/wp-admin/css/customize-controls.css

    r42132 r42641  
    14451445
    14461446.customize-control-header .header-view.selected:after {
    1447         content: '';
     1447        content: "";
    14481448        position: absolute;
    14491449        height: auto;
  • trunk/src/wp-admin/css/edit.css

    r41859 r42641  
    215215/* Back-compat for pre-4.4 */
    216216#category-adder h4 {
    217     margin: 0;
     217        margin: 0;
    218218}
    219219
    … …  
    11231123
    11241124.comment-ays .comment-content a[href]:after {
    1125         content: '(' attr( href ) ')';
     1125        content: "(" attr( href ) ")";
    11261126        display: inline-block;
    11271127        padding: 0 4px;
    … …  
    11361136
    11371137.comment-ays .comment-content p.edit-comment a[href]:after {
    1138         content: '';
     1138        content: "";
    11391139        padding: 0;
    11401140}
  • trunk/src/wp-admin/css/forms.css

    r42134 r42641  
    229229
    230230::-moz-placeholder {
    231    color: #72777c;
    232    opacity: 1;
     231        color: #72777c;
     232        opacity: 1;
    233233}
    234234
    … …  
    253253/* Adjust error indicator for password layout */
    254254.form-table .form-required.user-pass1-wrap.form-invalid td:after {
    255         content: '';
     255        content: "";
    256256}
    257257
    258258.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
    259         content: '\f534';
     259        content: "\f534";
    260260        font: normal 20px/1 dashicons;
    261261        color: #dc3232;
    … …  
    967967
    968968#request-filesystem-credentials-title {
    969     font-size: 1.3em;
    970     margin: 1em 0;
     969        font-size: 1.3em;
     970        margin: 1em 0;
    971971}
    972972
    … …  
    13691369
    13701370@media only screen and (max-height: 480px), screen and (max-width: 450px) {
    1371         /*  Request Credentials / File Editor Warning */
     1371        /* Request Credentials / File Editor Warning */
    13721372        .request-filesystem-credentials-dialog .notification-dialog,
    13731373        .file-editor-warning .notification-dialog {
  • trunk/src/wp-admin/css/ie.css

    r41684 r42641  
    640640.mce-btn i.mce-i-hr,
    641641.mce-close {
    642         font-family: 'tinymce', Arial;
     642        font-family: tinymce, Arial;
    643643        font-style: normal;
    644644        font-weight: 400;
    … …  
    651651.mce-btn i.mce-i-wp_fullscreen,
    652652.qt-fullscreen {
    653         -ie7-icon: '\e023';
     653        -ie7-icon: "\e023";
    654654}
    655655
    656656.mce-btn i.mce-i-wp_more,
    657657.mce-btn i.mce-i-wp_page {
    658         -ie7-icon: '\e027';
     658        -ie7-icon: "\e027";
    659659}
    660660
    … …  
    665665.mce-btn i.mce-i-help,
    666666.mce-btn i.mce-i-wp_help {
    667         -ie7-icon: '\e016';
     667        -ie7-icon: "\e016";
    668668}
    669669
  • trunk/src/wp-admin/css/themes.css

    r41949 r42641  
    440440.theme-overlay .theme-header .right:focus,
    441441.theme-overlay .theme-header .left:focus {
    442     box-shadow: none;
    443     outline: none;
     442        box-shadow: none;
     443        outline: none;
    444444}
    445445
    … …  
    10031003
    10041004.theme-install.updated-message:before {
    1005         content: '';
     1005        content: "";
    10061006}
    10071007
    … …  
    15331533.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
    15341534.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
    1535     box-shadow:
    1536         0 0 0 1px #5b9dd9,
     1535        box-shadow:
     1536                0 0 0 1px #5b9dd9,
    15371537                0 0 2px 1px rgba(30, 140, 190, .8);
    15381538}
    … …  
    15651565.rtl .wp-full-overlay .collapse-sidebar-arrow:before {
    15661566        -webkit-transform: rotate(180.001deg);
    1567         transform: rotate(180.001deg); /* Firefox: promoting to its own layer to trigger anti-aliasing  */
     1567        transform: rotate(180.001deg); /* Firefox: promoting to its own layer to trigger anti-aliasing */
    15681568}
    15691569
  • trunk/src/wp-includes/css/editor.css

    r42446 r42641  
    190190.mce-window .wp-help-th-center td:nth-child(odd),
    191191.mce-window .wp-help-th-center th:nth-child(odd) {
    192     text-align: center;
     192        text-align: center;
    193193}
    194194
    … …  
    508508/* mce listbox */
    509509.mce-toolbar .mce-btn-group .mce-btn.mce-listbox {
    510     border-radius: 0;
    511     direction: ltr;
    512     background: #fff;
    513     border: 1px solid #ddd;
    514     box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2);
     510        border-radius: 0;
     511        direction: ltr;
     512        background: #fff;
     513        border: 1px solid #ddd;
     514        box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2);
    515515}
    516516
    … …  
    576576
    577577.mce-menu .mce-menu-item.mce-disabled:hover {
    578     background: #ccc;
     578        background: #ccc;
    579579}
    580580
    … …  
    777777/* TinyMCE icons */
    778778.mce-ico {
    779         font-family: 'tinymce', Arial;
     779        font-family: tinymce, Arial;
    780780}
    781781
    782782.mce-btn-small .mce-ico {
    783     font-family: 'tinymce-small', Arial;
     783        font-family: tinymce-small, Arial;
    784784}
    785785
    … …  
    18201820
    18211821html:lang(he-il) .rtl .wp-switch-editor,
    1822 html:lang(he-il) .rtl .quicktags-toolbar input  {
     1822html:lang(he-il) .rtl .quicktags-toolbar input {
    18231823        font-family: Arial, sans-serif;
    18241824}
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r41604 r42641  
    77html.ios {
    88        width: 100px;
    9     min-width: 100%;
     9        min-width: 100%;
    1010}
    1111
    … …  
    158158
    159159.mce-content-body img[data-wp-more="nextpage"] {
    160     background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
     160        background: transparent url( images/pagebreak.png ) repeat-y scroll center center;
    161161}
    162162
    … …  
    255255
    256256a[data-wplink-url-error]:before {
    257         content: '';
     257        content: "";
    258258        display: block;
    259259        position: absolute;
    … …  
    368368
    369369.wpview-type-gallery:after {
    370     content: '';
     370        content: "";
    371371        display: table;
    372     clear: both;
     372        clear: both;
    373373}
    374374
    … …  
    490490
    491491        .mce-content-body img.mce-wp-nextpage {
    492         background-image: url( images/pagebreak-2x.png );
     492                background-image: url( images/pagebreak-2x.png );
    493493                background-size: 1900px 20px;
    494494        }
Note: See TracChangeset for help on using the changeset viewer.