Making WordPress.org


Ignore:
Timestamp:
03/02/2016 02:54:02 PM (9 years ago)
Author:
ocean90
Message:

Translate: Enhance the contributors table on project pages of a locale.

See #1388.

File:
1 edited

Legend:

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

    r2663 r2667  
    12831283}
    12841284
    1285 .locale-project-contributors-group {
    1286     width: 50%;
    1287     float: left;
     1285@media (min-width: 600px) {
     1286    .locale-project-contributors-group {
     1287        float: left;
     1288    }
     1289
     1290    .locale-project-contributors-contributors {
     1291        width: 65%;
     1292        margin-right: 5%;
     1293    }
     1294
     1295    .locale-project-contributors-editors {
     1296        width: 30%;
     1297    }
    12881298}
    12891299
     
    12981308}
    12991309
    1300 .locale-project-contributors-group li img {
     1310.locale-project-contributors-group .avatar {
    13011311    vertical-align: middle;
    13021312    margin-right: 10px;
    13031313}
     1314
     1315.locale-project-contributors-table {
     1316    width: 100%;
     1317}
     1318
     1319.locale-project-contributors-table .contributor-name {
     1320    width: 40%;
     1321}
     1322
     1323.locale-project-contributors-table .contributor-name span {
     1324    font-size: 11px;
     1325    display: block;
     1326}
     1327
     1328.locale-project-contributors-table tr {
     1329    vertical-align: top;
     1330}
     1331
     1332.locale-project-contributors-table th {
     1333    font-weight: bold;
     1334    border-bottom: 1px solid #eee;
     1335}
     1336
     1337.locale-project-contributors-table th.contributor-stats {
     1338    text-align: center;
     1339}
     1340
     1341.locale-project-contributors-table td.contributor-stats div {
     1342    text-align: center;
     1343    width: 25%;
     1344    float: left;
     1345}
     1346
     1347.locale-project-contributors-table td.contributor-stats div span {
     1348    text-transform: uppercase;
     1349    font-size: 10px;
     1350}
     1351
     1352.locale-project-contributors-table td.contributor-stats div.current span {
     1353    color: #6bc373;
     1354}
     1355
     1356.locale-project-contributors-table td.contributor-stats div.waiting span {
     1357    color: #ffc733;
     1358}
     1359
     1360.locale-project-contributors-table td.contributor-stats div.fuzzy span {
     1361    color: #f78b53;
     1362}
     1363
     1364.locale-project-contributors-table tbody td {
     1365    padding: 10px 0;
     1366    border-bottom: 1px solid #eee;
     1367}
     1368
     1369.locale-project-contributors-table tbody tr:last-child td {
     1370    border-bottom: 0;
     1371}
     1372
     1373.locale-project-contributors-contributors .stats-hint {
     1374    text-align: right;
     1375    font-size: 10px;
     1376}
     1377
     1378@media (max-width: 500px) {
     1379    .locale-project-contributors-table thead {
     1380        display: none;
     1381    }
     1382
     1383    .locale-project-contributors-table tbody td {
     1384        width: 100%;
     1385        display: block;
     1386    }
     1387
     1388    .locale-project-contributors-table .contributor-name,
     1389    .locale-project-contributors-table .contributor-stats {
     1390        width: 100%;
     1391        border-bottom: 0;
     1392    }
     1393
     1394    .locale-project-contributors-table .contributor-stats:before,
     1395    .locale-project-contributors-table .contributor-stats:after {
     1396        content: "";
     1397        display: table;
     1398    }
     1399
     1400    .locale-project-contributors-table .contributor-stats:after {
     1401        clear: both;
     1402    }
     1403}
Note: See TracChangeset for help on using the changeset viewer.