Making WordPress.org

Changeset 1926


Ignore:
Timestamp:
09/30/2015 05:41:52 PM (11 years ago)
Author:
samuelsidler
Message:

Translate Stats: Update some styles and add responsive styles.

Props ramiy.
See #1238.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates/style.css

    r1903 r1926  
    862862                margin-top: 20px;
    863863        }
     864        .stats-table table thead th {
     865                display: none;
     866        }
     867        .stats-table table tbody th,
     868        .stats-table table tbody tr,
     869        .stats-table table tbody td {
     870                display: block;
     871                text-align: left;
     872        }
     873        .stats-table table tbody tr {
     874                margin-top: 20px;
     875        }
     876        .stats-table table tbody td {
     877                padding: 3px 10px;
     878                position: relative;
     879                padding-left: 50%;
     880        }
     881        .stats-table table tbody td:before {
     882                position: absolute;
     883                top: 0;
     884                left: 10px;
     885                width: 45%;
     886        }
     887
     888        .stats-table table tbody td:nth-of-type(1):before { content: "4.2.x"; }
     889        .stats-table table tbody td:nth-of-type(2):before { content: "4.3.x"; }
     890        .stats-table table tbody td:nth-of-type(3):before { content: "Rosetta"; }
     891        .stats-table table tbody td:nth-of-type(4):before { content: "Browse Happy"; }
     892        .stats-table table tbody td:nth-of-type(5):before { content: "Theme Dir"; }
     893        .stats-table table tbody td:nth-of-type(6):before { content: "Plugin Dir"; }
     894        .stats-table table tbody td:nth-of-type(7):before { content: "Forums"; }
     895        .stats-table table tbody td:nth-of-type(8):before { content: "Android"; }
     896        .stats-table table tbody td:nth-of-type(9):before { content: "iOS"; }
     897        .stats-table table tbody td:nth-of-type(10):before { content: "Waiting"; }
    864898}
    865899
    … …  
    877911
    878912.stats-table table thead {
    879         border-bottom: 1px solid #72777C;
    880913        color: #32373C;
    881914        background: white;
    … …  
    883916.stats-table table thead th {
    884917        margin: 0;
     918        margin-right: 0px;
    885919        font-weight: bold;
    886920        text-align: center;
    887921        vertical-align: bottom;
    888         width: 60px;
     922        width: 79px;
    889923        padding: 10px 3px;
    890924        font-size: .8em;
    891925        line-height: 1.2;
     926        border-right: 1px solid #72777C;
     927        border-bottom: 1px solid #72777C;
     928}
     929
     930.stats-table table thead th:last-child {
     931        border-right: none;
    892932}
    893933
    894934.stats-table table th.title {
    895         width: 120px;
     935        width: 140px!important;
    896936}
    897937
Note: See TracChangeset for help on using the changeset viewer.