Make WordPress Core

Changeset 63963


Ignore:
Timestamp:
09/28/2026 09:59:58 AM (20 hours ago)
Author:
afercia
Message:

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

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

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

See #65898.

File:
1 edited

Legend:

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

    r63304 r63963  
    1 /*------------------------------------------------------------------------------
    2   22.0 - About Pages
    3 
    4    1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
    5     1.1 Layout
    6     1.2 Typography & Elements
    7     1.3 Header
    8    2.0 Credits Page
    9    3.0 Freedoms Page
    10    4.0 Privacy Page
    11    x.2.0 Legacy About Styles: Global
    12     x.2.1 Typography
    13     x.2.2 Structure
    14     x.2.3 Point Releases
    15    x.3.0 Legacy About Styles: About Page
    16     x.3.1 Typography
    17     x.3.2 Structure
    18    x.4.0 Legacy About Styles: Credits & Freedoms Pages
    19    x.5.0 Legacy About Styles: Media Queries
    20 ------------------------------------------------------------------------------*/
     1/**
     2 * About Pages
     3 *
     4 * 1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
     5 *      1.1 Layout
     6 *      1.2 Typography & Elements
     7 *      1.3 Header
     8 * 2.0 Credits Page
     9 * 3.0 Freedoms Page
     10 * 4.0 Privacy Page
     11 * 5.0 Legacy About Styles: Global
     12 *      5.1 Typography
     13 *      5.2 Structure
     14 *      5.3 Point Releases
     15 * 6.0 Legacy About Styles: About Page
     16 *      6.1 Typography
     17 *      6.2 Structure
     18 * 7.0 Legacy About Styles: Credits & Freedoms Pages
     19 * 8.0 Legacy About Styles: Media Queries
     20 */
    2121
    2222.about__container {
    … …  
    4848}
    4949
    50 /*------------------------------------------------------------------------------
    51   1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
    52 ------------------------------------------------------------------------------*/
     50/**
     51 * 1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
     52 */
    5353
    5454.about-php,
    … …  
    7979}
    8080
     81/* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */
    8182.about__container {
    8283        max-width: 1000px;
    … …  
    142143}
    143144
    144 /* 1.1 - Layout */
    145 
     145/**
     146 * 1.1 Layout
     147 */
     148
     149/* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */
    146150.about__section {
    147151        margin: 0;
    … …  
    240244}
    241245
     246/* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */
    242247.about__section .is-section-header {
    243248        grid-column-start: 1;
    … …  
    333338
    334339        .about__section.has-2-columns:not(.is-wider-right,.is-wider-left) div:has(img) {
     340                /* stylelint-disable-next-line property-disallowed-list -- Only applies to decorative images. */
    335341                order: 1;
    336342        }
    337343
    338344        .about__section.has-2-columns:not(.is-wider-right,.is-wider-left) div:not(:has(img)) {
     345                /* stylelint-disable-next-line property-disallowed-list -- Only applies to decorative images. */
    339346                order: 0;
    340347        }
    … …  
    391398}
    392399
    393 /* 1.2 - Typography & Elements */
    394 
     400/**
     401 * 1.2 Typography & Elements
     402 */
     403
     404/* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */
    395405.about__container {
    396406        line-height: 1.4;
    … …  
    561571}
    562572
     573/* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */
    563574.about__section {
    564575        font-size: 1.125rem;
    … …  
    566577}
    567578
     579/* stylelint-disable-next-line no-duplicate-selectors -- For historical reasons this file is split in sections and contains duplicate selectors based on the sections. */
    568580.about__section.is-feature {
    569581        font-size: 1.6em;
    … …  
    591603}
    592604
    593 /* 1.3 - Header */
     605/**
     606 * 1.3 Header
     607 */
    594608
    595609.about__header {
    … …  
    808822}
    809823
    810 
    811 /*------------------------------------------------------------------------------
    812   2.0 - Credits Page
    813 ------------------------------------------------------------------------------*/
     824/**
     825 * 2.0 Credits Page
     826 */
    814827
    815828.about__section .wp-people-group-title {
    … …  
    924937}
    925938
    926 
    927 /*------------------------------------------------------------------------------
    928   3.0 - Freedoms Page
    929 ------------------------------------------------------------------------------*/
     939/**
     940 * 3.0 Freedoms Page
     941 */
    930942
    931943.about__section .column .freedom-image {
    … …  
    934946}
    935947
    936 
    937 /*------------------------------------------------------------------------------
    938   4.0 - Privacy Page
    939 ------------------------------------------------------------------------------*/
     948/**
     949 * 4.0 Privacy Page
     950 */
    940951
    941952.about__section .column .privacy-image {
    … …  
    946957}
    947958
    948 
    949 /*------------------------------------------------------------------------------
    950   x.2.0 - Legacy About Styles: Global
    951 ------------------------------------------------------------------------------*/
     959/**
     960 * 5.0 Legacy About Styles: Global
     961 */
    952962
    953963.about-wrap {
    … …  
    9951005        margin: 1.5em auto;
    9961006}
    997 
    998 /* WordPress Version Badge */
    9991007
    10001008.wp-badge {
    … …  
    10251033}
    10261034
    1027 /* Tabs */
    1028 
    10291035.about-wrap .nav-tab {
    10301036        padding-right: 15px;
    … …  
    10341040}
    10351041
    1036 /* x.2.1 - Typography */
     1042/**
     1043 * 5.1 Typography
     1044 */
    10371045
    10381046.about-wrap h1 {
    … …  
    10951103}
    10961104
    1097 /* x.2.2 - Structure */
     1105/**
     1106 * 5.2 Structure
     1107 */
    10981108
    10991109.about-wrap .has-1-columns,
    … …  
    12131223}
    12141224
    1215 /* x.2.3 - Point Releases */
     1225/**
     1226 * 5.3 Point Releases
     1227 */
    12161228
    12171229.about-wrap .point-releases {
    … …  
    12361248}
    12371249
    1238 /*------------------------------------------------------------------------------
    1239   x.3.0 - Legacy About Styles: About Page
    1240 ------------------------------------------------------------------------------*/
    1241 
    1242 /* x.3.1 - Typography */
     1250/**
     1251 * 6.0 Legacy About Styles: About Page
     1252 */
     1253
     1254/**
     1255 * 6.1 Typography
     1256 */
    12431257
    12441258.about-wrap .lead-description {
    … …  
    12511265}
    12521266
    1253 /* x.3.2 - Structure */
     1267/**
     1268 * 6.2 Structure
     1269 */
    12541270
    12551271.about-wrap .headline-feature {
    … …  
    12661282        width: 100%;
    12671283}
    1268 
    1269 /* Go to Dashboard Home link */
    12701284
    12711285.about-wrap .return-to-dashboard {
    … …  
    12801294}
    12811295
    1282 /*------------------------------------------------------------------------------
    1283   x.4.0 - Legacy About Styles: Credits & Freedoms Pages
    1284 ------------------------------------------------------------------------------*/
    1285 
    1286 /* Credits */
     1296/**
     1297 * 7.0 Legacy About Styles: Credits & Freedoms Pages
     1298 */
    12871299
    12881300.about-wrap h2.wp-people-group {
    … …  
    13531365}
    13541366
    1355 /* Freedoms */
    1356 
    13571367.freedoms-php .about-wrap ol {
    13581368        margin: 40px 60px;
    … …  
    13691379}
    13701380
    1371 /*------------------------------------------------------------------------------
    1372   x.5.0 - Legacy About Styles: Media Queries
    1373 ------------------------------------------------------------------------------*/
     1381/**
     1382 * 8.0 Legacy About Styles: Media Queries
     1383 */
    13741384
    13751385@media screen and (max-width: 782px) {
Note: See TracChangeset for help on using the changeset viewer.