Make WordPress Core

Changeset 63502


Ignore:
Timestamp:
09/05/2026 01:07:05 PM (5 weeks ago)
Author:
afercia
Message:

Administration: Fix the CSS Coding Standards in jquery-ui-dialog.css.

Lints the src/wp-includes/css/jquery-ui-dialog.css file.
Part of the ongoing effort to lint all the admin CSS files.

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

See #65898.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/jquery-ui-dialog.css

    r61652 r63502  
    1010 */
    1111
    12 /* Layout helpers
    13 ----------------------------------*/
     12/**
     13 * Layout helpers
     14 */
     15
    1416.ui-helper-hidden {
    1517        display: none;
    1618}
     19
    1720.ui-helper-hidden-accessible {
    1821        border: 0;
    … …  
    2528        width: 1px;
    2629}
     30
    2731.ui-helper-reset {
    2832        margin: 0;
    … …  
    3539        list-style: none;
    3640}
    37 .ui-helper-clearfix:before,
    38 .ui-helper-clearfix:after {
     41
     42.ui-helper-clearfix::before,
     43.ui-helper-clearfix::after {
    3944        content: "";
    4045        display: table;
    4146        border-collapse: collapse;
    4247}
    43 .ui-helper-clearfix:after {
     48
     49.ui-helper-clearfix::after {
    4450        clear: both;
    4551}
     52
    4653.ui-helper-clearfix {
    4754        min-height: 0; /* support: IE7 */
    4855}
     56
    4957.ui-helper-zfix {
    5058        width: 100%;
    … …  
    5462        position: absolute;
    5563        opacity: 0;
    56         filter:Alpha(Opacity=0); /* support: IE8 */
    5764}
    5865
    … …  
    6168}
    6269
    63 
    64 /* Interaction Cues
    65 ----------------------------------*/
     70/**
     71 * Interaction Cues
     72 */
     73
    6674.ui-state-disabled {
    6775        cursor: default !important;
    6876}
    6977
    70 
    71 /* Icons
    72 ----------------------------------*/
     78/**
     79 * Icons
     80 */
    7381
    7482/* states and images */
    … …  
    8088}
    8189
    82 
    83 /* Misc visuals
    84 ----------------------------------*/
     90/**
     91 * Misc visuals
     92 */
    8593
    8694/* Overlays */
    … …  
    8997        top: 0;
    9098        left: 0;
     99        right: 0;
     100        bottom: 0;
    91101        width: 100%;
    92102        height: 100%;
     103        min-height: 360px;
     104        background: #000;
     105        opacity: 0.7;
     106        z-index: 100101;
    93107}
    94108
    … …  
    101115 * http://jquery.org/license
    102116 */
     117
    103118.ui-resizable {
    104119        position: relative;
    105120}
     121
    106122.ui-resizable-handle {
    107123        position: absolute;
    … …  
    110126        touch-action: none;
    111127}
     128
    112129.ui-resizable-disabled .ui-resizable-handle,
    113130.ui-resizable-autohide .ui-resizable-handle {
    114131        display: none;
    115132}
     133
    116134.ui-resizable-n {
    117135        cursor: n-resize;
    … …  
    121139        left: 0;
    122140}
     141
    123142.ui-resizable-s {
    124143        cursor: s-resize;
    … …  
    128147        left: 0;
    129148}
     149
    130150/* rtl:ignore */
    131151.ui-resizable-e {
    … …  
    136156        height: 100%;
    137157}
     158
    138159/* rtl:ignore */
    139160.ui-resizable-w {
    … …  
    144165        height: 100%;
    145166}
     167
    146168/* rtl:ignore */
    147169.ui-resizable-se {
    … …  
    152174        bottom: 1px;
    153175}
     176
    154177/* rtl:ignore */
    155178.ui-resizable-sw {
    … …  
    160183        bottom: -5px;
    161184}
     185
    162186/* rtl:ignore */
    163187.ui-resizable-nw {
    … …  
    168192        top: -5px;
    169193}
     194
    170195/* rtl:ignore */
    171196.ui-resizable-ne {
    … …  
    177202}
    178203
    179 /* WP buttons: see buttons.css. */
     204/**
     205 * WP buttons: see buttons.css
     206 */
    180207
    181208.ui-button {
    … …  
    243270
    244271@media screen and (max-width: 782px) {
    245 
    246272        .ui-button {
    247273                padding: 6px 14px;
    … …  
    255281}
    256282
    257 /* WP Theme */
     283/**
     284 * WP Theme
     285 */
    258286
    259287.ui-dialog {
    … …  
    295323}
    296324
    297 .ui-dialog-titlebar-close:before {
    298         font: normal 20px/1 dashicons;
     325.ui-dialog-titlebar-close::before {
     326        font: 400 20px/1 dashicons;
    299327        vertical-align: top;
    300328        -webkit-font-smoothing: antialiased;
    … …  
    304332        height: 36px;
    305333        content: "\f158";
    306         content: "\f158" / '';
     334        content: "\f158" / "";
    307335}
    308336
    … …  
    341369        cursor: move;
    342370}
    343 
    344 .ui-widget-overlay {
    345         position: fixed;
    346         top: 0;
    347         left: 0;
    348         right: 0;
    349         bottom: 0;
    350         min-height: 360px;
    351         background: #000;
    352         opacity: 0.7;
    353         filter: alpha(opacity=70);
    354         z-index: 100101;
    355 }
Note: See TracChangeset for help on using the changeset viewer.