Make WordPress Core

Ticket #15580: padding.15580.2.diff

File padding.15580.2.diff, 1.2 KB (added by scribu, 12 years ago)

Use sprite

  • wp-admin/css/wp-admin.dev.css

     
    13761376
    13771377.sorting-indicator {
    13781378        display: none;
    1379         width: 21px;
     1379        width: 7px;
    13801380        height: 4px;
    13811381        margin-top: 5px;
     1382        margin-left: 7px;
     1383        background-image: url(../images/sort.gif);
     1384        background-repeat: no-repeat;
    13821385}
     1386.fixed .column-comments .sorting-indicator {
     1387        margin-top: 3px;
     1388}
     1389.widefat th.sortable,
     1390.widefat th.sorted {
     1391        padding: 0;
     1392}
    13831393th.sortable a,
    13841394th.sorted a {
    13851395        display: block;
    13861396        overflow: hidden;
     1397        padding: 7px 7px 8px;
    13871398}
     1399.fixed .column-comments.sortable a,
     1400.fixed .column-comments.sorted a {
     1401        padding: 8px 0;
     1402}
    13881403th.sortable a span,
    13891404th.sorted a span {
    13901405        float: left;
     
    13931408th.sorted.asc .sorting-indicator,
    13941409th.desc:hover span.sorting-indicator {
    13951410        display: block;
    1396         background: url(../images/sort_asc.gif) no-repeat scroll 0 0;
     1411        background-position: 0 0;
    13971412}
    13981413th.sorted.desc .sorting-indicator,
    13991414th.asc:hover span.sorting-indicator {
    14001415        display: block;
    1401         background: url(../images/sort_desc.gif) no-repeat scroll 0 0;
     1416        background-position: -7px 0;
    14021417}
    14031418
    14041419/* Bulk Actions */