Make WordPress Core

Ticket #17209: 17209.diff

File 17209.diff, 4.6 KB (added by GaVrA, 12 years ago)
  • wp-admin/css/list-tables-rtl.css

     
    363363        padding-right: 5px;
    364364}
    365365
    366 .sorting-indicator {
    367         display: none;
    368         width: 10px;
    369         height: 4px;
    370         margin-top: 8px;
    371         margin-right: 7px;
     366th.sortable a.sorting-indicator span,
     367th.sorted a.sorting-indicator span {
     368        float: none;
     369        position: relative;
    372370}
    373371
    374 .sorting-indicator:before {
     372.sorting-indicator span:after {
     373        position: absolute;
     374        top: 4px;
     375        left: -18px;
    375376        background: none;
    376377        content: '\f142';
    377378        font: normal 20px/1 'dashicons';
    378379        speak: none;
    379         display: inline-block;
    380         padding: 0;
    381         top: -4px;
    382         right: -8px;
     380        display: none;
    383381        color: #444;
    384382        line-height: 10px;
    385         position: relative;
    386         vertical-align: top;
     383        vertical-align: middle;
    387384        -webkit-font-smoothing: antialiased;
    388385        -moz-osx-font-smoothing: grayscale;
    389386        text-decoration: none !important;
    390387        color: #444;
    391388}
    392389
    393 .column-comments .sorting-indicator:before {
     390th.sorted .sorting-indicator span:after,
     391.sorting-indicator:hover span:after {
     392        display: inline-block;
     393}
     394
     395.column-comments .sorting-indicator span:after {
    394396        top: 0;
    395397        right: -10px;
    396398}
    397399
    398 th.sorted.asc .sorting-indicator:before,
    399 th.desc:hover span.sorting-indicator:before {
     400th.sorted.asc .sorting-indicator span:after,
     401th.desc:hover span.sorting-indicator span:after {
    400402        content: '\f142';
    401403}
    402404
    403 th.sorted.desc .sorting-indicator:before,
    404 th.asc:hover span.sorting-indicator:before {
     405th.sorted.desc .sorting-indicator span:after,
     406th.asc:hover span.sorting-indicator span:after {
    405407        content: '\f140';
    406408}
    407409
  • wp-admin/css/list-tables.css

     
    363363        padding-left: 5px;
    364364}
    365365
    366 .sorting-indicator {
    367         display: none;
    368         width: 10px;
    369         height: 4px;
    370         margin-top: 8px;
    371         margin-left: 7px;
     366th.sortable a.sorting-indicator span,
     367th.sorted a.sorting-indicator span {
     368        float: none;
     369        position: relative;
    372370}
    373371
    374 .sorting-indicator:before {
     372.sorting-indicator span:after {
     373        position: absolute;
     374        top: 4px;
     375        right: -16px;
    375376        background: none;
    376377        content: '\f142';
    377378        font: normal 20px/1 'dashicons';
    378379        speak: none;
    379         display: inline-block;
    380         padding: 0;
    381         top: -4px;
    382         left: -8px;
     380        display: none;
    383381        color: #444;
    384382        line-height: 10px;
    385         position: relative;
    386         vertical-align: top;
     383        vertical-align: middle;
    387384        -webkit-font-smoothing: antialiased;
    388385        -moz-osx-font-smoothing: grayscale;
    389386        text-decoration: none !important;
    390387        color: #444;
    391388}
    392389
    393 .column-comments .sorting-indicator:before {
     390th.sorted .sorting-indicator span:after,
     391.sorting-indicator:hover span:after {
     392        display: inline-block;
     393}
     394
     395.column-comments .sorting-indicator span:after {
    394396        top: 0;
    395397        left: -10px;
    396398}
    397399
    398 th.sorted.asc .sorting-indicator:before,
    399 th.desc:hover span.sorting-indicator:before {
     400th.sorted.asc .sorting-indicator span:after,
     401th.desc:hover span.sorting-indicator span:after {
    400402        content: '\f142';
    401403}
    402404
    403 th.sorted.desc .sorting-indicator:before,
    404 th.asc:hover span.sorting-indicator:before {
     405th.sorted.desc .sorting-indicator span:after,
     406th.asc:hover span.sorting-indicator span:after {
    405407        content: '\f140';
    406408}
    407409
  • wp-admin/includes/class-wp-list-table.php

     
    741741                                        $class[] = $desc_first ? 'asc' : 'desc';
    742742                                }
    743743
    744                                 $column_display_name = '<a href="' . esc_url( add_query_arg( compact( 'orderby', 'order' ), $current_url ) ) . '"><span>' . $column_display_name . '</span><span class="sorting-indicator"></span></a>';
     744                                $column_display_name = '<a class="sorting-indicator" href="' . esc_url( add_query_arg( compact( 'orderby', 'order' ), $current_url ) ) . '"><span>' . $column_display_name . '</span></a>';
    745745                        }
    746746
    747747                        $id = $with_id ? "id='$column_key'" : '';
  • wp-admin/includes/class-wp-terms-list-table.php

     
    128128                        $columns['links'] = __( 'Links' );
    129129                } else {
    130130                        $post_type_object = get_post_type_object( $this->screen->post_type );
    131                         $columns['posts'] = $post_type_object ? $post_type_object->labels->name : __( 'Posts' );
     131                        $columns['posts'] = __( '#' );
    132132                }
    133133
    134134                return $columns;