Making WordPress.org


Ignore:
Timestamp:
08/26/2021 10:58:30 PM (3 years ago)
Author:
coffee2code
Message:

Developer, Dashicons: Increase sizes for icons and captions to facilitate imminently longer captions.

  • Increase font for icons
  • Increase font for icon labels
  • Increase spacing around icons

Props dufresnesteven, coffee2code.
See #5014.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/page-dashicons.scss

    r1271 r11203  
    9494
    9595    #iconlist {
    96         $size: 40px;
     96        $size: 96px;
     97        $iconsize: 60px;
     98        $gutter: 10px;
     99
    97100        margin-top: 1.5em;
     101
     102        h4 {
     103            padding-left: $gutter;
     104        }
    98105
    99106        .dashicons {
    100107            position: relative;
    101108            box-sizing: content-box;
    102             padding: 10px;
     109            padding: $gutter;
     110            margin-bottom: $gutter * 2;
    103111            width: $size;
    104112            height: $size;
    105113            overflow: hidden;
    106114            white-space: nowrap;
    107             font-size: $size;
     115            font-size: $iconsize;
    108116            line-height: 1;
    109117            cursor: pointer;
     
    111119            &:before {
    112120                margin-right: $size;
     121                position: relative;
     122                left: 20px;
    113123            }
    114124
     
    116126                content: attr(alt);
    117127                display: block;
    118                 font-size: 9px;
     128                font-size: 14px;
    119129                color: #999;
    120130                text-align: center;
     131                margin-top: $gutter;
    121132            }
    122133
Note: See TracChangeset for help on using the changeset viewer.