Making WordPress.org


Ignore:
Timestamp:
02/07/2018 09:17:09 PM (7 years ago)
Author:
obenland
Message:

Trac: Fix table styling on component pages.

Fixes some border styling issues to make trac ticket table look neat again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php

    r6394 r6566  
    233233.trac-summary th, .trac-summary td { padding: 4px 8px; }
    234234.trac-summary th { font-weight: bold; text-align: right }
     235.trac-summary tbody th { border-bottom: 1px solid #eee; border-right: 1px solid #eee; }
     236.trac-summary tbody tr:last-child th { border-bottom: none; }
    235237.trac-summary th.title { font-weight: normal; text-align: left; font-size: 14px }
    236238.trac-summary th a { font-weight: bold }
    237239.trac-summary th.title a { color: #000; }
    238 .trac-summary .count { text-align: right; min-width: 3em }
     240.trac-summary .count { text-align: right; border-right: none; width: auto; }
    239241.trac-summary .zero { color: #ddd }
    240242#main ul.maintainers, #main ul.followers { list-style: none; padding: 0; margin: 0 }
     
    244246ul.ticket-list li { margin-bottom: 4px }
    245247ul.ticket-list .focus { display: inline-block; border-radius: 3px; background: #eee; padding: 2px 6px; margin-right: 4px }
    246 .history.growing:before, .history.shrinking:before { font-family: Dashicons; font-size: 30px; vertical-align: top; line-height: 15px; float: right }
     248.history.growing:before, .history.shrinking:before { font-family: Dashicons; font-size: 30px; vertical-align: middle; line-height: 15px; }
    247249.history.growing:before { content: "\f142"; color: red }
    248250.history.shrinking:before { content: "\f140"; color: green }
     
    254256</style>
    255257<script>
    256 jQuery( document ).ready( function( $ ) {
    257     $( '#toggle-compact-components input' ).on( 'change', function() {
     258jQuery( function( $ ) {
     259    $( '#toggle-compact-components' ).on( 'change', 'input', function() {
    258260        $( '#main' ).toggleClass( 'compact-components' );
    259261    });
Note: See TracChangeset for help on using the changeset viewer.