Making WordPress.org

Changeset 11611


Ignore:
Timestamp:
02/25/2022 05:12:36 AM (5 years ago)
Author:
dd32
Message:

Trac: Try using mobile tables for reports.

Props vladytimy.
See #4917.

Location:
sites/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site.html

    r11610 r11611  
    55
    66<?python
    7         scripts_version = '165'
     7        scripts_version = '166'
    88        project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    99        wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/'
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css

    r11610 r11611  
    117117/* We like the WP button styles, but they need to be a bit smaller sometimes */
    118118.inlinebuttons input {
    119         margin:  0 0 .2em .4em; /* Trac is 0 .1em .1em */
     119        margin: 0 0 .2em .4em; /* Trac is 0 .1em .1em */
    120120}
    121121#prefs .buttons input[type=button],
    … …  
    126126        line-height: 20px;
    127127        height: 21px;
     128}
     129#prefs {
     130        padding-top: 25px;
    128131}
    129132#prefs input {
    … …  
    685688}
    686689
    687 @media (max-width:1200px) {
    688         table.listing {
    689                 display: block;
    690                 overflow-x: auto;
    691         }
    692 }
    693 
    694690.suggestions {
    695691        border: 1px solid #888;
    … …  
    729725}
    730726input[name="description"] {
    731     width: 100%;
     727        width: 100%;
    732728}
    733729fieldset {
    … …  
    18841880}
    18851881table.dirlist td.name a.file:before {
    1886         content: "\f105"; /*  dashicons-admin-page */
     1882        content: "\f105"; /* dashicons-admin-page */
    18871883        color: #999;
    18881884}
    … …  
    20982094                padding-left: 22px;
    20992095        }
     2096        .listing.tickets th,
     2097        .listing.tickets td {
     2098                display: block;
     2099        }
     2100        .listing.tickets thead th,
     2101        .listing.tickets tbody .trac-columns th {
     2102                display: inline-block;
     2103        }
     2104        .listing.tickets tbody tr td.id::before,
     2105        .listing.tickets tbody tr td.ticket::before {
     2106                content: "Ticket: ";
     2107        }
     2108        .listing.tickets tbody tr td.summary::before {
     2109                content: "Summary: ";
     2110        }
     2111        .listing.tickets tbody tr td.status::before {
     2112                content: "Status: ";
     2113        }
     2114        .listing.tickets tbody tr td.resolution::before {
     2115                content: "Resolution: ";
     2116        }
     2117        .listing.tickets tbody tr td.owner::before {
     2118                content: "Owner: ";
     2119        }
     2120        .listing.tickets tbody tr td.type::before {
     2121                content: "Type: ";
     2122        }
     2123        .listing.tickets tbody tr td.priority::before {
     2124                content: "Priority: ";
     2125        }
     2126        .listing.tickets tbody tr td.milestone::before {
     2127                content: "Milestone: ";
     2128        }
     2129        .listing.tickets tbody tr td.component::before {
     2130                content: "Component: ";
     2131        }
     2132        .listing.tickets tbody tr td.severity::before {
     2133                content: "Severity: ";
     2134        }
     2135        .listing.tickets tbody tr td.workflow::before {
     2136                content: "Workflow: ";
     2137        }
     2138        .listing.tickets tbody tr td.date::before {
     2139                content: "Date: ";
     2140        }
     2141        .listing.tickets tbody tr td.time::before {
     2142                content: "Created: ";
     2143        }
     2144        .listing.tickets tbody tr td.changetime::before {
     2145                content: "Modified: ";
     2146        }
     2147        .listing.tickets tbody tr td.version::before {
     2148                content: "Version: ";
     2149        }
     2150        .listing.tickets tbody tr td.reporter::before {
     2151                content: "Reporter: ";
     2152        }
     2153        .listing.tickets tbody tr td.Comments::before {
     2154                content: "Comments: ";
     2155        }
     2156        .listing.tickets tbody tr td.Stars::before {
     2157                content: "Stars: ";
     2158        }
     2159        .listing.tickets tbody tr td.keywords::before {
     2160                content: "Keywords: ";
     2161        }
     2162        .listing.tickets tbody tr td.focuses::before {
     2163                content: "Focuses: ";
     2164        }
     2165        .listing.tickets tbody tr td.cc::before {
     2166                content: "CC: ";
     2167        }
     2168        .listing.tickets tbody tr td:not(.Comments, .Stars)::before {
     2169                font-weight: 600;
     2170        }
     2171        .listing.tickets tbody tr td.Stars,
     2172        .listing.tickets tbody tr td.Comments {
     2173                display: inline-block;
     2174                float: right;
     2175        }
     2176        .tickets tr.color3-odd,
     2177        .tickets tr.color3-even,
     2178        table.tickets tbody tr.even.prio3,
     2179        table.tickets tbody tr.odd.prio3 {
     2180                border-color: #ccc;
     2181        }
     2182        .tickets tr.color4-odd,
     2183        .tickets tr.color4-even,
     2184        table.tickets tbody tr.even.prio4,
     2185        table.tickets tbody tr.odd.prio4 {
     2186                border-color: #099;
     2187        }
     2188        .tickets tr.color5-odd,
     2189        .tickets tr.color5-even,
     2190        table.tickets tbody tr.prio5 {
     2191                border-color: #469;
     2192        }
     2193        .tickets tr.color6-odd,
     2194        .tickets tr.color6-even {
     2195                border-color: #888;
     2196        }
     2197        .listing.tickets thead tr th a,
     2198        .listing.tickets tbody .trac-columns th a {
     2199                font-size: 1.2em;
     2200        }
    21002201}
    21012202
    … …  
    21472248                height: auto;
    21482249        }
     2250        #filters th,
     2251        #filters td {
     2252                display: block;
     2253        }
     2254        #filters .trac-clause td:not(.actions td),
     2255        #filters .trac-clause th {
     2256                text-align:left;
     2257        }
     2258        #filters .trac-clause tbody {
     2259                display:table;
     2260                padding:7px 0 7px 0;
     2261        }
     2262        #filters th,
     2263        #filters td label {
     2264                font-size:13px;
     2265        }
    21492266        #content.ticket, .milestone .info .progress, .milestone .info dl, #content.timeline dl, #stats {
    21502267                margin-left: 0; /* use all the available space */
Note: See TracChangeset for help on using the changeset viewer.