Make WordPress Core

Ticket #17209: 17209.2.diff

File 17209.2.diff, 5.3 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 .sorting-indicator span,
     367th.sorted .sorting-indicator span {
     368        position: relative;
    372369}
    373370
    374 .sorting-indicator:before {
     371.sorting-indicator span:after {
     372        position: absolute;
     373        top: 4px;
     374        left: -18px;
    375375        background: none;
    376376        content: '\f142';
    377377        font: normal 20px/1 'dashicons';
    378378        speak: none;
    379         display: inline-block;
    380         padding: 0;
    381         top: -4px;
    382         right: -8px;
     379        display: none;
    383380        color: #444;
    384381        line-height: 10px;
    385         position: relative;
    386         vertical-align: top;
     382        vertical-align: middle;
    387383        -webkit-font-smoothing: antialiased;
    388384        -moz-osx-font-smoothing: grayscale;
    389385        text-decoration: none !important;
    390386        color: #444;
    391387}
    392388
    393 .column-comments .sorting-indicator:before {
     389th.sorted .sorting-indicator span:after,
     390.sorting-indicator:hover span:after {
     391        display: inline-block;
     392}
     393
     394.column-comments .sorting-indicator span:after {
    394395        top: 0;
    395396        right: -10px;
    396397}
    397398
    398 th.sorted.asc .sorting-indicator:before,
    399 th.desc:hover span.sorting-indicator:before {
     399th.sorted.asc .sorting-indicator span:after,
     400th.desc:hover .sorting-indicator span:after {
    400401        content: '\f142';
    401402}
    402403
    403 th.sorted.desc .sorting-indicator:before,
    404 th.asc:hover span.sorting-indicator:before {
     404th.sorted.desc .sorting-indicator span:after,
     405th.asc:hover .sorting-indicator span:after {
    405406        content: '\f140';
    406407}
    407408
     
    489490
    490491th.sortable a span,
    491492th.sorted a span {
    492         float: right;
    493493        cursor: pointer;
    494494}
    495495
    496 th.sorted.asc .sorting-indicator,
    497 th.desc:hover span.sorting-indicator {
    498         display: block;
    499         background-position: 0 0;
    500 }
    501 
    502 th.sorted.desc .sorting-indicator,
    503 th.asc:hover span.sorting-indicator {
    504         display: block;
    505         background-position: -7px 0;
    506 }
    507 
    508496/* Bulk Actions */
    509497.tablenav-pages a {
    510498        font-weight: 600;
  • 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 .sorting-indicator span,
     367th.sorted .sorting-indicator span {
     368        position: relative;
    372369}
    373370
    374 .sorting-indicator:before {
     371.sorting-indicator span:after {
     372        position: absolute;
     373        top: 4px;
     374        right: -16px;
    375375        background: none;
    376376        content: '\f142';
    377377        font: normal 20px/1 'dashicons';
    378378        speak: none;
    379         display: inline-block;
    380         padding: 0;
    381         top: -4px;
    382         left: -8px;
     379        display: none;
    383380        color: #444;
    384381        line-height: 10px;
    385         position: relative;
    386         vertical-align: top;
     382        vertical-align: middle;
    387383        -webkit-font-smoothing: antialiased;
    388384        -moz-osx-font-smoothing: grayscale;
    389385        text-decoration: none !important;
    390386        color: #444;
    391387}
    392388
    393 .column-comments .sorting-indicator:before {
     389th.sorted .sorting-indicator span:after,
     390.sorting-indicator:hover span:after {
     391        display: inline-block;
     392}
     393
     394.column-comments .sorting-indicator span:after {
    394395        top: 0;
    395396        left: -10px;
    396397}
    397398
    398 th.sorted.asc .sorting-indicator:before,
    399 th.desc:hover span.sorting-indicator:before {
     399th.sorted.asc .sorting-indicator span:after,
     400th.desc:hover .sorting-indicator span:after {
    400401        content: '\f142';
    401402}
    402403
    403 th.sorted.desc .sorting-indicator:before,
    404 th.asc:hover span.sorting-indicator:before {
     404th.sorted.desc .sorting-indicator span:after,
     405th.asc:hover .sorting-indicator span:after {
    405406        content: '\f140';
    406407}
    407408
     
    489490
    490491th.sortable a span,
    491492th.sorted a span {
    492         float: left;
    493493        cursor: pointer;
    494494}
    495495
    496 th.sorted.asc .sorting-indicator,
    497 th.desc:hover span.sorting-indicator {
    498         display: block;
    499         background-position: 0 0;
    500 }
    501 
    502 th.sorted.desc .sorting-indicator,
    503 th.asc:hover span.sorting-indicator {
    504         display: block;
    505         background-position: -7px 0;
    506 }
    507 
    508496/* Bulk Actions */
    509497.tablenav-pages a {
    510498        font-weight: 600;
  • 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;