Making WordPress.org

Changeset 254


Ignore:
Timestamp:
01/09/2014 10:51:33 PM (11 years ago)
Author:
nacin
Message:

Trac: Use a dashicon for 'Stars' columns on reports. Right-align the Comments and Stars columns and make them as narrow as possible. see #127, I guess.

Location:
sites/trunk/wordpress.org/public_html/style/trac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css

    r253 r254  
    784784table.listing tbody td.workflow {
    785785    white-space: nowrap;
     786}
     787/* right-align number columns */
     788.tickets tr.trac-columns th a {
     789    padding-right: 0;
     790}
     791table.listing tr.trac-columns .dashicons {
     792    float: right;
     793}
     794table.listing tbody td.Comments,
     795table.listing tbody td.Stars {
     796    text-align: right;
    786797}
    787798/* Some visual improvements to ticket properties and attachments */
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r246 r254  
    3737
    3838        init : function() {
    39             // Change 'Comments' columns to a dashicons glyph to save space
     39            // Change 'Comments' and 'Stars' columns to dashicons glyphs to save space
    4040            $('th a[href*="sort=Comments"]').html('<div class="dashicons dashicons-admin-comments"></div>');
     41            $('th a[href*="sort=Stars"]').html('<div class="dashicons dashicons-star-filled"></div>');
    4142
    4243            // Bring back 'Delete' comment buttons, if any.
Note: See TracChangeset for help on using the changeset viewer.