Make WordPress Core

Changeset 27392


Ignore:
Timestamp:
03/04/2014 06:52:14 AM (11 years ago)
Author:
nacin
Message:

Convert the post lock icon to a dashicon.

props melchoyce, DH-Shredder.
fixes #26796.

Location:
trunk/src/wp-admin
Files:
2 deleted
2 edited

Legend:

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

    r27289 r27392  
    407407
    408408tr.wp-locked .locked-indicator {
    409     background: url(../images/lock.png) no-repeat;
    410     margin: -2px 0 0 6px;
     409    margin-left: 6px;
    411410    height: 20px;
    412411    width: 16px;
     412}
     413
     414tr.wp-locked .locked-indicator:before {
     415    color: #888;
     416    content: '\f160';
     417    display: inline-block;
     418    float: left;
     419    font: normal 20px/1 'dashicons';
     420    speak: none;
     421    vertical-align: middle;
     422    margin-left: 0;
     423    -webkit-font-smoothing: antialiased;
     424    -moz-osx-font-smoothing: grayscale;
    413425}
    414426
     
    12141226 * HiDPI Displays
    12151227 */
    1216 @media print,
    1217   (-o-min-device-pixel-ratio: 5/4),
    1218   (-webkit-min-device-pixel-ratio: 1.25),
    1219   (min-resolution: 120dpi) {
    1220     tr.wp-locked .locked-indicator {
    1221         background-image: url(../images/lock-2x.png);
    1222         -webkit-background-size: 16px 16px;
    1223         background-size: 16px 16px;
    1224     }
    1225 }
    1226 
    12271228@media screen and ( max-width: 782px ) {
    12281229    /* WP List Table Options & Filters */
  • trunk/src/wp-admin/includes/update-core.php

    r27339 r27392  
    599599'wp-admin/css/colors.css',
    600600'wp-admin/css/colors.min.css',
     601'wp-admin/images/lock-2x.png',
     602'wp-admin/images/lock.png',
    601603);
    602604
Note: See TracChangeset for help on using the changeset viewer.