Make WordPress Core

Changeset 63970


Ignore:
Timestamp:
09/28/2026 10:45:47 AM (25 hours ago)
Author:
afercia
Message:

Administration: Fix the CSS Coding Standards in deprecated-media.css.

Lints the src/wp-admin/css/deprecated-media.css file.
Part of the ongoing effort to lint all the admin CSS files.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/13133

See #65898.

File:
1 edited

Legend:

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

    r57363 r63970  
    2727        display: block;
    2828        float: left;
    29         line-height: 28px;
     29        line-height: 2.3333;
    3030        border-top: 1px solid #f6f7f7;
    3131        border-bottom: 1px solid #dcdcde;
    … …  
    3737#sidemenu li {
    3838        display: inline;
    39         line-height: 200%;
     39        line-height: 2;
    4040        list-style: none;
    4141        text-align: center;
    … …  
    5555}
    5656
    57 #media-upload:after { /* clearfix */
     57#media-upload::after { /* clearfix */
    5858        content: "";
    5959        display: table;
    … …  
    6969}
    7070
     71form {
     72        margin: 1em;
     73}
     74
     75#search-filter {
     76        text-align: right;
     77}
     78
     79th {
     80        position: relative;
     81}
     82
    7183.media-upload-form label.form-help,
    7284td.help {
    73         color: #646970;
    74 }
    75 
    76 form {
    77         margin: 1em;
    78 }
    79 
    80 #search-filter {
    81         text-align: right;
    82 }
    83 
    84 th {
    85         position: relative;
    86 }
    87 
    88 .media-upload-form label.form-help, td.help {
    8985        font-family: sans-serif;
    9086        font-style: italic;
    9187        font-weight: 400;
     88        color: #646970;
    9289}
    9390
    … …  
    166163}
    167164
     165/* stylelint-disable-next-line selector-class-pattern -- Legacy UI likely no longer used. */
    168166.describe td.A1 {
    169167        width: 132px;
    … …  
    236234}
    237235
     236/* stylelint-disable-next-line selector-class-pattern -- Legacy UI only kept for backward compatibility. */
    238237.menu_order {
    239238        float: right;
    … …  
    242241}
    243242
     243/* stylelint-disable-next-line selector-class-pattern -- Legacy UI only kept for backward compatibility. */
    244244.menu_order_input {
    245245        border: 1px solid #dcdcde;
    … …  
    309309h3.media-title,
    310310h4.media-sub-title {
    311         font-family: Georgia,"Times New Roman",Times,serif;
     311        font-family: Georgia, "Times New Roman", Times, serif;
    312312        font-weight: 400;
    313313        color: #50575e;
    … …  
    320320
    321321#gallery-settings .describe th.label {
    322         padding-top: .5em;
     322        padding-top: 0.5em;
    323323        text-align: left;
    324324}
    … …  
    405405 */
    406406@media print,
    407   (min-resolution: 120dpi) {
    408 
     407        (min-resolution: 120dpi) {
    409408        .image-align-none-label {
    410409                background-image: url(../images/align-none-2x.png?ver=20120916);
Note: See TracChangeset for help on using the changeset viewer.