Make WordPress Core

Changeset 63386


Ignore:
Timestamp:
08/28/2026 09:31:10 AM (6 weeks ago)
Author:
afercia
Message:

Administration: Fix the CSS Coding Standards in buttons.css.

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

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

See #65898.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/buttons.css

    r62959 r63386  
    3737---------------------------------------------------------------------------- */
    3838
    39 /* ----------------------------------------------------------------------------
    40   1.0 - Button Layouts
    41 ---------------------------------------------------------------------------- */
     39/**
     40 * 1.0 Button Layouts
     41 */
    4242
    4343.wp-core-ui .button,
    … …  
    142142}
    143143
    144 /* ----------------------------------------------------------------------------
    145   2.0 - Default Button Style
    146 ---------------------------------------------------------------------------- */
     144/**
     145 * 2.0 Default Button Style
     146 */
    147147
    148148.wp-core-ui .button,
    … …  
    242242        text-decoration: underline;
    243243        transition-property: border, background, color;
    244         transition-duration: .05s;
     244        transition-duration: 0.05s;
    245245        transition-timing-function: ease-in-out;
    246246}
    … …  
    274274}
    275275
    276 
    277 /* ----------------------------------------------------------------------------
    278   3.0 - Primary Button Style
    279 ---------------------------------------------------------------------------- */
     276/**
     277 * 3.0 Primary Button Style
     278 */
    280279
    281280.wp-core-ui .button-primary {
    … …  
    331330}
    332331
    333 /* ----------------------------------------------------------------------------
    334   4.0 - Button Groups
    335 ---------------------------------------------------------------------------- */
     332/**
     333 * 4.0 Button Groups
     334 */
    336335
    337336.wp-core-ui .button-group {
    … …  
    377376}
    378377
    379 /* ----------------------------------------------------------------------------
    380   5.0 - Responsive Button Styles
    381 ---------------------------------------------------------------------------- */
     378/**
     379 * 5.0 Responsive Button Styles
     380 */
    382381
    383382@media screen and (max-width: 782px) {
    384 
    385383        .wp-core-ui .button,
    386384        .wp-core-ui .button.button-large,
    … …  
    428426
    429427        /* Reset responsive styles in Press This, Customizer */
    430 
    431428        .wp-core-ui.wp-customizer .button {
    432429                font-size: 13px;
    … …  
    447444
    448445        /* Reset responsive styles on Log in button on iframed login form */
    449 
    450446        .interim-login .button.button-large {
    451447                min-height: 32px;
    … …  
    453449                padding: 0 12px;
    454450        }
    455 
    456 }
     451}
Note: See TracChangeset for help on using the changeset viewer.