diff --git src/bp-templates/bp-legacy/css/twentyfifteen.scss src/bp-templates/bp-legacy/css/twentyfifteen.scss
index b19bb78..a6b4575 100644
|
|
$spacing-val-xs: 5px; |
93 | 93 | color: $text-color; |
94 | 94 | } |
95 | 95 | |
| 96 | // Calc |
| 97 | @mixin calc($property, $expression) { |
| 98 | #{$property}: -webkit-calc(#{$expression}); |
| 99 | #{$property}: calc(#{$expression}); |
| 100 | } |
| 101 | |
96 | 102 | // Variabals: color definitions |
97 | 103 | $content-background: #fff; |
98 | 104 | $light-background: #f7f7f7; |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
213 | 219 | |
214 | 220 | .entry-header, |
215 | 221 | .entry-content { |
216 | | padding: 0 2rem 2rem; |
| 222 | padding: 0 3rem 3rem 3rem; |
217 | 223 | } |
218 | 224 | |
219 | 225 | #buddypress { |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
302 | 308 | |
303 | 309 | /*__ Horizontal menus __*/ |
304 | 310 | #object-nav { |
| 311 | font-family: "Noto Sans", sans-serif; |
305 | 312 | ul { |
306 | 313 | overflow: hidden; |
307 | 314 | li {float: none;} |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
319 | 326 | } |
320 | 327 | |
321 | 328 | div#subnav.item-list-tabs { |
| 329 | font-family: "Noto Sans", sans-serif; |
322 | 330 | margin-top: 0; |
323 | 331 | |
324 | 332 | ul { |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
406 | 414 | overflow: hidden; |
407 | 415 | |
408 | 416 | span { |
| 417 | background: $content-background; |
409 | 418 | border-radius: 10%; |
410 | 419 | float: right; |
411 | | margin-right: 15px; |
| 420 | margin-right: 2px; |
412 | 421 | } |
413 | 422 | } |
414 | 423 | } |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
417 | 426 | #item-body { |
418 | 427 | border-left: 1px solid $border-med; |
419 | 428 | overflow: hidden; |
420 | | padding: 0 $spacing-val-sm; |
| 429 | padding: 0 0 0 $spacing-val-md; |
421 | 430 | width: auto; |
422 | 431 | |
423 | 432 | #subnav { |
424 | | margin: 0 (-$spacing-val-sm); |
| 433 | margin: 0 0 0 (-$spacing-val-md); |
425 | 434 | } |
426 | 435 | } |
427 | 436 | |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
488 | 497 | ul.item-list { |
489 | 498 | li { |
490 | 499 | overflow: hidden !important; |
| 500 | |
491 | 501 | // Undo BP floats to center avatars initially mobile up |
492 | 502 | .item-avatar { |
493 | 503 | margin-bottom: $spacing-val-sm; |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
671 | 681 | |
672 | 682 | #buddypress { |
673 | 683 | |
674 | | .activity-list { |
| 684 | #activity-stream { |
675 | 685 | |
676 | 686 | // re-size activity avatars |
677 | 687 | li { |
| 688 | padding: 25px 0 15px; |
| 689 | |
678 | 690 | .activity-avatar { |
679 | 691 | a { |
680 | 692 | img.avatar { |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
738 | 750 | |
739 | 751 | .load-more a {display: block;} |
740 | 752 | |
741 | | } // close .activity-list |
| 753 | } // close #activity-stream |
742 | 754 | } // close #buddypress |
743 | 755 | |
744 | 756 | /** |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
747 | 759 | *----------------------------------------------------- |
748 | 760 | */ |
749 | 761 | #buddypress { |
750 | | .activity { |
| 762 | |
| 763 | #activity-stream { |
751 | 764 | .activity-comments { |
752 | 765 | border-left: 1px solid $border-light; |
753 | 766 | margin-top: 5px; |
754 | 767 | |
755 | 768 | ul { |
756 | 769 | background: rgba($light-background, 0.6); |
757 | | margin: 30px 0 0 2px; |
| 770 | margin: 15px 0 0 2px; |
758 | 771 | } |
759 | 772 | |
760 | 773 | .ac-form { |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
827 | 840 | *----------------------------------------------------------- |
828 | 841 | */ |
829 | 842 | |
| 843 | .bp-user, .single-item.groups { |
| 844 | @media screen and (max-width: 46.25em) { |
| 845 | main { |
| 846 | header.entry-header { |
| 847 | padding-bottom: 1rem; |
| 848 | } |
| 849 | } |
| 850 | } |
| 851 | |
| 852 | @media screen and (max-width: 38.75em) { |
| 853 | h1, #item-header-content { |
| 854 | text-align: center; |
| 855 | } |
| 856 | } |
| 857 | |
| 858 | #buddypress { |
| 859 | @media screen and (max-width: 46.25em) { |
| 860 | #item-header { |
| 861 | .generic-button { |
| 862 | float: none; |
| 863 | margin: 1.5em 0 0 0; |
| 864 | } |
| 865 | } |
| 866 | } |
| 867 | |
| 868 | @media screen and (max-width: 38.75em) { |
| 869 | h1 { |
| 870 | margin-bottom: 0; |
| 871 | } |
| 872 | |
| 873 | #item-header-avatar { |
| 874 | img.avatar { |
| 875 | margin-right: 0; |
| 876 | } |
| 877 | } |
| 878 | |
| 879 | #item-header-content { |
| 880 | width: 100%; |
| 881 | } |
| 882 | } |
| 883 | } |
| 884 | } |
| 885 | |
830 | 886 | /** |
831 | 887 | *----------------------------------------------------- |
832 | 888 | * @subsection 6.1.1 - item-header Groups |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
837 | 893 | |
838 | 894 | .single-item.groups { |
839 | 895 | #buddypress { |
| 896 | @media screen and (max-width: 46.25em) { |
| 897 | #item-header { |
| 898 | #item-meta { |
| 899 | margin-bottom: $spacing-val-md; |
| 900 | } |
| 901 | } |
| 902 | } |
840 | 903 | |
841 | 904 | // Move visual flow of avatar & item-actions at narrow width, |
842 | 905 | // avatar first after group title |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
1100 | 1163 | #subnav { |
1101 | 1164 | li { |
1102 | 1165 | @media screen and (max-width: 38.75em) { |
1103 | | background: #fff; |
| 1166 | background: $content-background; |
1104 | 1167 | padding: $spacing-val-md 0; |
1105 | 1168 | } |
1106 | 1169 | width: 100%; |
… |
… |
i.e. in child theme named 'twentyfifteen-child', twentyfifteen.css would become |
1331 | 1394 | margin: $spacing-val-sm 0 0 0; |
1332 | 1395 | padding: 0.3em; |
1333 | 1396 | } |
1334 | | } |
1335 | | |
1336 | | table#message-threads { |
1337 | 1397 | |
1338 | | .bulk-select-check, |
1339 | | .thread-star { |
1340 | | width: 10%; |
| 1398 | #send-reply { |
| 1399 | .message-content { |
| 1400 | background: $content-background; |
| 1401 | border: 0; |
| 1402 | } |
1341 | 1403 | } |
1342 | 1404 | |
1343 | | .thread-star a { |
1344 | | outline: none; |
| 1405 | .alt { |
| 1406 | background: $content-background; |
1345 | 1407 | } |
| 1408 | } |
1346 | 1409 | |
1347 | | .thread-from, |
1348 | | .thread-info { |
1349 | | width: 30%; |
1350 | | } |
| 1410 | #message-threads { |
| 1411 | display: block; |
1351 | 1412 | |
1352 | | .thread-options { |
1353 | | width: 20%; |
| 1413 | thead { |
| 1414 | tr { |
| 1415 | background: lighten($dark-background, 10%); |
| 1416 | } |
1354 | 1417 | } |
1355 | 1418 | |
1356 | 1419 | tr { |
1357 | | |
1358 | 1420 | td { |
1359 | | background: $stripe-odd; |
| 1421 | background: $content-background; |
| 1422 | display: inline-block; |
| 1423 | float: left; |
1360 | 1424 | } |
1361 | | } |
1362 | 1425 | |
1363 | | tr.alt { |
1364 | | td { |
1365 | | background: $stripe-even; |
| 1426 | td.thread-star, td.thread-options { |
| 1427 | height: 2.4em; |
| 1428 | padding-top: 0.2em; |
| 1429 | padding-bottom: 0.2em; |
| 1430 | border-bottom-width: 2px; |
| 1431 | border-bottom-color: $medium-background; |
| 1432 | |
| 1433 | @media screen and (max-width: 46.25em) { |
| 1434 | padding-top: 0; |
| 1435 | } |
1366 | 1436 | } |
1367 | | } |
1368 | 1437 | |
1369 | | tr.unread { |
1370 | | td { |
1371 | | background: $unread; |
1372 | | border-bottom: 1px solid #e4cdff; |
1373 | | border-top: 1px solid #e4cdff; |
| 1438 | td.bulk-select-check, td.thread-from { |
| 1439 | height: 2.6em; |
| 1440 | @media screen and (max-width: 38.75em) { |
| 1441 | height: 5.2em; |
| 1442 | } |
| 1443 | } |
| 1444 | |
| 1445 | td.thread-from, td.thread-options { |
| 1446 | border-left: 0 !important; |
| 1447 | @include calc(width, "100% - 30px"); |
| 1448 | margin-left: 0; |
| 1449 | } |
| 1450 | |
| 1451 | td.thread-info { |
| 1452 | padding-left: 41px; |
| 1453 | width: 100%; |
| 1454 | |
| 1455 | a::after { |
| 1456 | content: " \2013 \00a0"attr(title); |
| 1457 | @include font-size(12); |
| 1458 | } |
| 1459 | } |
| 1460 | |
| 1461 | td.thread-options { |
| 1462 | text-align: right; |
| 1463 | |
| 1464 | a { |
| 1465 | @include font-size(12); |
| 1466 | line-height: 2.2; |
| 1467 | } |
| 1468 | } |
| 1469 | |
| 1470 | span.from { |
| 1471 | display: none; |
| 1472 | } |
| 1473 | |
| 1474 | span.activity { |
| 1475 | display: block; |
| 1476 | float: right; |
| 1477 | line-height: 2; |
| 1478 | @media screen and (max-width: 38.75em) { |
| 1479 | clear: both; |
| 1480 | @include font-size(11); |
| 1481 | width: 100%; |
| 1482 | } |
1374 | 1483 | } |
1375 | 1484 | } |
1376 | 1485 | |
1377 | | tr.read { |
1378 | | td { |
1379 | | background: $light-background; |
| 1486 | tr.unread { |
| 1487 | td { |
| 1488 | |
| 1489 | } |
1380 | 1490 | } |
| 1491 | |
| 1492 | th { |
| 1493 | display: none; |
| 1494 | } |
| 1495 | th.bulk-select-all { |
| 1496 | border-bottom: 0; |
| 1497 | display: inline-block; |
| 1498 | text-align: left; |
| 1499 | } |
| 1500 | |
| 1501 | th.bulk-select-all, td.bulk-select-check, td.thread-star { |
| 1502 | border-right: 0; |
| 1503 | width: 30px; |
1381 | 1504 | } |
1382 | 1505 | } |
1383 | 1506 | |