WordPress.org

Make WordPress Core

Changeset 25592


Ignore:
Timestamp:
09/24/2013 01:53:08 AM (7 years ago)
Author:
helen
Message:

Saner CSS for row actions - now we can just target .row-actions instead of both .row-actions and .row-actions-visible. CSS for .row-actions-visible remains for now due to usage in plugins. Visibility is controlled by toggling a .visible class. fixes #25403.

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

Legend:

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

    r25211 r25592  
    55475547}
    55485548
    5549 .plugins .row-actions-visible {
     5549.plugins .row-actions {
    55505550    padding: 0;
    55515551}
     
    55795579
    55805580.plugins .second,
    5581 .plugins .row-actions-visible {
     5581.plugins .row-actions {
    55825582    padding: 0 0 5px;
    55835583}
    55845584
    55855585.plugins .update .second,
    5586 .plugins .update .row-actions-visible {
     5586.plugins .update .row-actions {
    55875587    padding-bottom: 0;
    55885588}
     
    64566456}
    64576457
    6458 .mobile .row-actions {
    6459     visibility: visible;
    6460 }
    6461 
    64626458tr:hover .row-actions,
     6459.mobile .row-actions,
     6460.row-actions.visible,
    64636461div.comment-item:hover .row-actions {
    64646462    visibility: visible;
    64656463}
    64666464
     6465/* deprecated */
    64676466.row-actions-visible {
    64686467    padding: 2px 0 0;
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r25556 r25592  
    341341            return '';
    342342
    343         $out = '<div class="' . ( $always_visible ? 'row-actions-visible' : 'row-actions' ) . '">';
     343        $out = '<div class="' . ( $always_visible ? 'row-actions visible' : 'row-actions' ) . '">';
    344344        foreach ( $actions as $action => $link ) {
    345345            ++$i;
Note: See TracChangeset for help on using the changeset viewer.