WordPress.org

Make WordPress Core

Changeset 28005


Ignore:
Timestamp:
04/07/2014 08:49:40 PM (4 years ago)
Author:
ocean90
Message:

Widget Customizer: Update icons to new Dashicons.

props melchoyce.
see #27400.

File:
1 edited

Legend:

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

    r27988 r28005  
    171171    width: 100%;
    172172    height: 100%;
    173     font: normal normal 20px/43px 'Genericons';
     173    font: normal 20px/1 'dashicons';
    174174    text-align: center;
    175175    text-indent: 0;
     176    -webkit-font-smoothing: antialiased;
     177    -moz-osx-font-smoothing: grayscale;
    176178}
    177179
     
    183185
    184186.move-widget:before {
    185     content: '\f442';
     187    content: '\f504';
    186188}
    187189
    188190.move-widget-down:before {
    189     content: '\f431';
     191    content: '\f347';
    190192}
    191193
    192194.move-widget-up:before {
    193     content: '\f432';
     195    content: '\f343';
    194196}
    195197
     
    239241#customize-theme-controls .widget-area-select li:before {
    240242    display: none;
    241     content: '\f418';
     243    content: '\f147';
    242244    position: absolute;
    243     top: 10px;
     245    top: 12px;
    244246    left: 10px;
    245     font-family: 'Genericons';
    246     font-size: 24px;
    247     line-height: 1;
     247    font: normal 20px/1 'dashicons';
     248    -webkit-font-smoothing: antialiased;
     249    -moz-osx-font-smoothing: grayscale;
    248250}
    249251
     
    316318    transition: all 0.2s;
    317319    -webkit-font-smoothing: antialiased;
     320    -moz-osx-font-smoothing: grayscale;
    318321}
    319322
     
    419422
    420423
    421 /** Widget Icon styling **
    422 
    423 * No plurals in naming.
    424 * Ordered from lowest to highest specificity.
    425 
    426 **/
     424/**
     425 * Widget Icon styling
     426 * No plurals in naming.
     427 * Ordered from lowest to highest specificity.
     428 **/
    427429#available-widgets .widget-title {
    428430    position: relative;
     
    430432
    431433#available-widgets .widget-title:before {
    432     content:"\f132";
     434    content: "\f132";
    433435    position: absolute;
    434436    top: -3px;
     
    438440    height: 20px;
    439441    color: #333;
    440     font: normal 20px/1 'dashicons', 'widgeticons';
     442    font: normal 20px/1 'dashicons';
    441443    text-align: center;
    442     -webkit-border-radius: 2px;
    443     border-radius: 2px;
    444444    -webkit-box-sizing: border-box;
    445445    -moz-box-sizing: border-box;
    446446    box-sizing: border-box;
    447447    -webkit-font-smoothing: antialiased;
     448    -moz-osx-font-smoothing: grayscale;
    448449}
    449450
     
    607608    }
    608609    #customize-theme-controls .widget-area-select li:before {
    609         top: 6px;
    610     }
    611 }
     610        top: 8px;
     611    }
     612}
Note: See TracChangeset for help on using the changeset viewer.