Ticket #17209: 17209.2.diff
| File 17209.2.diff, 5.3 KB (added by , 12 years ago) |
|---|
-
wp-admin/css/list-tables-rtl.css
363 363 padding-right: 5px; 364 364 } 365 365 366 .sorting-indicator { 367 display: none; 368 width: 10px; 369 height: 4px; 370 margin-top: 8px; 371 margin-right: 7px; 366 th.sortable .sorting-indicator span, 367 th.sorted .sorting-indicator span { 368 position: relative; 372 369 } 373 370 374 .sorting-indicator:before { 371 .sorting-indicator span:after { 372 position: absolute; 373 top: 4px; 374 left: -18px; 375 375 background: none; 376 376 content: '\f142'; 377 377 font: normal 20px/1 'dashicons'; 378 378 speak: none; 379 display: inline-block; 380 padding: 0; 381 top: -4px; 382 right: -8px; 379 display: none; 383 380 color: #444; 384 381 line-height: 10px; 385 position: relative; 386 vertical-align: top; 382 vertical-align: middle; 387 383 -webkit-font-smoothing: antialiased; 388 384 -moz-osx-font-smoothing: grayscale; 389 385 text-decoration: none !important; 390 386 color: #444; 391 387 } 392 388 393 .column-comments .sorting-indicator:before { 389 th.sorted .sorting-indicator span:after, 390 .sorting-indicator:hover span:after { 391 display: inline-block; 392 } 393 394 .column-comments .sorting-indicator span:after { 394 395 top: 0; 395 396 right: -10px; 396 397 } 397 398 398 th.sorted.asc .sorting-indicator :before,399 th.desc:hover span.sorting-indicator:before{399 th.sorted.asc .sorting-indicator span:after, 400 th.desc:hover .sorting-indicator span:after { 400 401 content: '\f142'; 401 402 } 402 403 403 th.sorted.desc .sorting-indicator :before,404 th.asc:hover span.sorting-indicator:before{404 th.sorted.desc .sorting-indicator span:after, 405 th.asc:hover .sorting-indicator span:after { 405 406 content: '\f140'; 406 407 } 407 408 … … 489 490 490 491 th.sortable a span, 491 492 th.sorted a span { 492 float: right;493 493 cursor: pointer; 494 494 } 495 495 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 508 496 /* Bulk Actions */ 509 497 .tablenav-pages a { 510 498 font-weight: 600; -
wp-admin/css/list-tables.css
363 363 padding-left: 5px; 364 364 } 365 365 366 .sorting-indicator { 367 display: none; 368 width: 10px; 369 height: 4px; 370 margin-top: 8px; 371 margin-left: 7px; 366 th.sortable .sorting-indicator span, 367 th.sorted .sorting-indicator span { 368 position: relative; 372 369 } 373 370 374 .sorting-indicator:before { 371 .sorting-indicator span:after { 372 position: absolute; 373 top: 4px; 374 right: -16px; 375 375 background: none; 376 376 content: '\f142'; 377 377 font: normal 20px/1 'dashicons'; 378 378 speak: none; 379 display: inline-block; 380 padding: 0; 381 top: -4px; 382 left: -8px; 379 display: none; 383 380 color: #444; 384 381 line-height: 10px; 385 position: relative; 386 vertical-align: top; 382 vertical-align: middle; 387 383 -webkit-font-smoothing: antialiased; 388 384 -moz-osx-font-smoothing: grayscale; 389 385 text-decoration: none !important; 390 386 color: #444; 391 387 } 392 388 393 .column-comments .sorting-indicator:before { 389 th.sorted .sorting-indicator span:after, 390 .sorting-indicator:hover span:after { 391 display: inline-block; 392 } 393 394 .column-comments .sorting-indicator span:after { 394 395 top: 0; 395 396 left: -10px; 396 397 } 397 398 398 th.sorted.asc .sorting-indicator :before,399 th.desc:hover span.sorting-indicator:before{399 th.sorted.asc .sorting-indicator span:after, 400 th.desc:hover .sorting-indicator span:after { 400 401 content: '\f142'; 401 402 } 402 403 403 th.sorted.desc .sorting-indicator :before,404 th.asc:hover span.sorting-indicator:before{404 th.sorted.desc .sorting-indicator span:after, 405 th.asc:hover .sorting-indicator span:after { 405 406 content: '\f140'; 406 407 } 407 408 … … 489 490 490 491 th.sortable a span, 491 492 th.sorted a span { 492 float: left;493 493 cursor: pointer; 494 494 } 495 495 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 508 496 /* Bulk Actions */ 509 497 .tablenav-pages a { 510 498 font-weight: 600; -
wp-admin/includes/class-wp-list-table.php
741 741 $class[] = $desc_first ? 'asc' : 'desc'; 742 742 } 743 743 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>'; 745 745 } 746 746 747 747 $id = $with_id ? "id='$column_key'" : ''; -
wp-admin/includes/class-wp-terms-list-table.php
128 128 $columns['links'] = __( 'Links' ); 129 129 } else { 130 130 $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'] = __( '#' ); 132 132 } 133 133 134 134 return $columns;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)