Changeset 11587 for trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
- Timestamp:
- 06/13/2017 04:38:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
r11586 r11587 155 155 in your child themes root & either start over or modify the rulesets. 156 156 157 If you do not require the styles you can dequeue them from the themes functions file. 157 If you do not require the styles you can dequeue them from the themes 158 functions file. 158 159 159 160 Please see this codex article for more information: … … 209 210 // We reset this here under our #buddypress namespace 210 211 #buddypress { 212 211 213 h1, 212 214 h2, … … 223 225 224 226 .buddypress { 225 div.clear {display: none;} 227 228 div.clear { 229 display: none; 230 } 231 226 232 .site-content { 233 227 234 @media screen and (min-width: 77.5em) { 228 235 } … … 250 257 .entry-header, 251 258 .entry-content { 252 padding: 0 3rem 3rem 3rem;259 padding: 0 3rem 3rem; 253 260 } 254 261 … … 278 285 279 286 .buddypress #buddypress { 287 280 288 .item-list-tabs, 281 289 .activity-header, … … 288 296 table, 289 297 .avatar-nav-items { 290 a { border-bottom: 0; } 298 299 a { 300 border-bottom: 0; 301 } 291 302 } 292 303 293 304 .pagination-links { 305 294 306 a, 295 span { border-bottom: 0; } 307 span { 308 border-bottom: 0; 309 } 296 310 } 297 311 } // close .buddypress #buddypress … … 312 326 // active/current states all navs 313 327 div.item-list-tabs { 328 314 329 ul { 330 315 331 li.selected { 332 316 333 a { 317 334 background: $dark-background; … … 324 341 // Global Nav Styles 325 342 div.item-list-tabs { 343 326 344 ul { 327 345 background-color: $light-background; … … 332 350 333 351 li { 352 334 353 a { 335 span {border-radius: 25%;} 354 355 span { 356 border-radius: 25%; 357 } 336 358 } 337 359 } … … 344 366 ul { 345 367 overflow: hidden; 346 li {float: none;} 368 369 li { 370 float: none; 371 } 372 347 373 li:not(.selected) { 348 a {opacity: 0.7;} 374 375 a { 376 opacity: 0.7; 377 } 349 378 } 350 379 351 380 @media screen and (min-width: 38.75em) { 381 352 382 li { 353 383 float: left; … … 381 411 label, 382 412 option { 413 383 414 @include font-size(14); 384 415 } … … 390 421 391 422 @media screen and (min-width: 38.75em) { 423 392 424 li.last { 393 425 text-align: right; … … 399 431 // active/current states all navs 400 432 div.item-list-tabs { 433 401 434 ul { 435 402 436 li.selected, 403 437 li.current { 438 404 439 a { 405 440 background: $dark-background; … … 413 448 } // close #buddypress 414 449 415 450 /*__ Vertical menu User Account / Group single screens __*/ 416 451 417 452 // This block contains rules to re-factor the item-body structural element … … 419 454 420 455 @media screen and (min-width: 55em) { 456 421 457 .bp-user #buddypress, 422 458 .single-item.groups #buddypress { … … 425 461 426 462 #buddypress { 463 427 464 #item-header, 428 465 #item-body { … … 475 512 476 513 #buddypress { 514 477 515 div.pagination { 478 516 box-shadow: none; 479 .pag-count {margin-left: 0;} 517 518 .pag-count { 519 margin-left: 0; 520 } 521 480 522 .pagination-links { 481 523 margin-right: 0; … … 494 536 overflow: visible; 495 537 width: auto; 496 &:before {display: none;} 538 539 &:before { 540 display: none; 541 } 497 542 } 498 543 … … 518 563 // Adjusts Meta items and various elements to match 2015 font-family 519 564 #buddypress { 565 520 566 .item-list { 567 521 568 .activity-header, 522 569 .activity-meta { 570 523 571 @include default-font-sans(); 524 572 } … … 539 587 540 588 #buddypress { 589 541 590 ul.item-list { 591 542 592 li { 543 593 overflow: hidden !important; … … 546 596 .item-avatar { 547 597 margin-bottom: $spacing-val-sm; 548 @media screen and (min-width: 38.75em) { margin-bottom: 0; } 598 599 @media screen and (min-width: 38.75em) { 600 margin-bottom: 0; 601 } 549 602 text-align: center; 550 a {border-bottom: 0;} 603 604 a { 605 border-bottom: 0; 606 } 607 551 608 img.avatar { 552 609 display: inline-block; … … 563 620 margin-left: 25%; 564 621 565 span.activity {font-style: italic;} 622 span.activity { 623 font-style: italic; 624 } 566 625 567 626 .item-desc { … … 572 631 573 632 @media screen and (min-width: 59.6875em) { 633 574 634 .item-avatar, 575 635 .item, … … 655 715 656 716 #buddypress { 717 657 718 form#whats-new-form { 658 719 … … 665 726 666 727 @media screen and (max-width: 30em) { 728 667 729 #whats-new-post-in-box { 730 668 731 select { 732 669 733 @include font-size(14); 670 734 max-width: 120px; … … 674 738 675 739 @media screen and (max-width: 38.75em) { 740 676 741 #whats-new-content { 677 742 clear: left; … … 682 747 float: none; 683 748 684 input {width: 100%;} 749 input { 750 width: 100%; 751 } 685 752 } 686 753 } … … 690 757 flex-direction: column; 691 758 692 #whats-new-submit {order: 2;} 693 #whats-new-post-in-box {order: 1;} 759 #whats-new-submit { 760 order: 2; 761 } 762 763 #whats-new-post-in-box { 764 order: 1; 765 } 694 766 } 695 767 } // close @media 696 768 697 769 #whats-new-options[style] { 770 698 771 #whats-new-post-in-box { 699 772 border: 1px solid rgba($border-color, 0.5); 700 773 float: left; 701 line-height: 1.5 em;774 line-height: 1.5; 702 775 margin-top: 12px; 703 776 padding-left: 0.2em; … … 716 789 717 790 @media screen and (min-width: 30em) { 791 718 792 #whats-new-post-in-box { 719 793 width: auto; … … 731 805 // User account form requires matching bp default specificity 732 806 #item-body { 807 733 808 form#whats-new-form { 734 809 margin: $spacing-val-lg 0; … … 774 849 775 850 .activity-header { 851 776 852 @include font-size(14); 777 853 } … … 784 860 margin-right: $spacing-val-sm; 785 861 text-align: left; 786 a {border-bottom: 0;} 862 863 a { 864 border-bottom: 0; 865 } 787 866 } 788 867 … … 792 871 793 872 .activity-header { 873 794 874 @include font-size(16); 795 875 } … … 801 881 802 882 li.mini { 883 803 884 .activity-avatar { 885 804 886 a { 887 805 888 img.avatar { 806 889 height: 30px; … … 812 895 813 896 .activity-content { 897 814 898 .activity-header { 899 815 900 @include font-size(13); 816 901 } … … 839 924 840 925 .activity-meta { 926 841 927 a { 842 928 display: block; … … 861 947 background: darken($light-background, 1%); 862 948 border: 1px solid rgba(#9fd1e2, 0.3); 863 a { font-style: italic; } 949 950 a { 951 font-style: italic; 952 } 864 953 } 865 954 … … 875 964 876 965 .activity-permalink { 966 877 967 #buddypress { 878 968 background: none; // counter the .bp-user faux column background … … 884 974 885 975 li.mini { 976 886 977 .activity-header { 978 887 979 @include font-size(16); 980 888 981 @media screen and (min-width: 46.25em) { 982 889 983 @include font-size(20); 890 984 } 891 985 892 986 margin-bottom: $spacing-val-lg; 893 p {padding: $spacing-val-md;} 987 988 p { 989 padding: $spacing-val-md; 990 } 894 991 } 895 992 } … … 906 1003 907 1004 #activity-stream { 1005 908 1006 .activity-comments { 909 1007 margin: $spacing-val-sm 0 0; … … 955 1053 // reduce/widen the content margins 956 1054 @media screen and (max-width: 38.75em) { 1055 957 1056 .acomment-avatar { 958 1057 display: block; … … 960 1059 961 1060 a, 962 img.avatar {display: inline; float: none;} 1061 img.avatar { 1062 display: inline; 1063 float: none; 1064 } 963 1065 } 964 1066 … … 969 1071 } 970 1072 971 .acomment-content {padding: 0 $spacing-val-sm;} 1073 .acomment-content { 1074 padding: 0 $spacing-val-sm; 1075 } 972 1076 } // close @media 973 1077 974 1078 } // close the ul li comments construct 975 1079 976 .ac-reply-avatar {display: none;} 1080 .ac-reply-avatar { 1081 display: none; 1082 } 977 1083 978 1084 .ac-reply-content { … … 982 1088 983 1089 @media screen and (min-width: 38.75em) { 984 .ac-reply-avatar {display: block;} 1090 1091 .ac-reply-avatar { 1092 display: block; 1093 } 985 1094 986 1095 .ac-reply-content { … … 996 1105 display: inline-block; 997 1106 font-family: inherit; 1107 998 1108 @include font-size(12); 999 font-weight: normal;1109 font-weight: 400; 1000 1110 line-height: 1.2; 1001 1111 padding: 4px 10px; … … 1028 1138 1029 1139 #buddypress { 1140 1030 1141 #members-list { 1031 1142 1032 1143 @media screen and (min-width: 59.6875em) { 1144 1033 1145 li { 1146 1034 1147 .item-avatar, 1035 1148 .item { … … 1061 1174 .bp-user, 1062 1175 .single-item.groups { 1176 1063 1177 @media screen and (max-width: 46.25em) { 1178 1064 1179 main { 1180 1065 1181 header.entry-header { 1066 1182 padding-bottom: 1rem; … … 1070 1186 1071 1187 @media screen and (max-width: 38.75em) { 1188 1072 1189 h1, 1073 1190 #item-header-content { … … 1077 1194 1078 1195 #buddypress { 1196 1079 1197 @media screen and (max-width: 46.25em) { 1198 1080 1199 #item-header { 1200 1081 1201 .generic-button { 1082 1202 float: none; 1083 margin: 1.5em 0 0 0;1203 margin: 1.5em 0 0; 1084 1204 } 1085 1205 } … … 1087 1207 1088 1208 @media screen and (max-width: 38.75em) { 1209 1089 1210 h1 { 1090 1211 margin-bottom: 0; … … 1092 1213 1093 1214 #item-header-avatar { 1215 1094 1216 img.avatar { 1095 1217 margin-right: 0; … … 1113 1235 1114 1236 .single-item.groups { 1237 1115 1238 #buddypress { 1239 1116 1240 @media screen and (max-width: 46.25em) { 1241 1117 1242 #item-header { 1243 1118 1244 #item-meta { 1119 1245 margin-bottom: $spacing-val-md; … … 1125 1251 // avatar first after group title 1126 1252 @media screen and (max-width: 38.75em) { 1253 1127 1254 div#item-header { 1128 1255 display: flex; … … 1143 1270 } 1144 1271 1145 #item-header-content {order: 2;} 1146 1147 #item-actions {order: 3;} 1272 #item-header-content { 1273 order: 2; 1274 } 1275 1276 #item-actions { 1277 order: 3; 1278 } 1148 1279 } 1149 1280 } // close @media … … 1165 1296 background: $dark-background; 1166 1297 color: $content-background; 1298 1167 1299 @include font-size(14); 1168 1300 1169 1301 @media screen and (min-width: 46.25em) { 1302 1170 1303 @include font-size(16); 1171 1304 } … … 1211 1344 1212 1345 .bp-user { 1346 1213 1347 #buddypress { 1348 1214 1349 #item-header { 1215 1350 padding: $spacing-val-md 0; … … 1227 1362 1228 1363 @media screen and (min-width: 46.25em) { 1364 1229 1365 #item-header-avatar { 1230 1366 float: left; … … 1258 1394 // generally far too large a top margin for headings in our lists 1259 1395 #item-body { 1396 1260 1397 h1, 1261 1398 h2, … … 1266 1403 margin: 1em 0; 1267 1404 1268 a {border-bottom: 0;} 1405 a { 1406 border-bottom: 0; 1407 } 1269 1408 } 1270 1409 } 1410 1271 1411 /** 1272 1412 *---------------------------------------------------- … … 1286 1426 // headings settings screens & general global settings styles 1287 1427 .groups { 1428 1288 1429 #group-settings-form { 1430 1289 1431 h3 { 1290 1432 background: $dark-background; … … 1294 1436 // remove backgrounds from request list member names. 1295 1437 #request-list { 1438 1296 1439 h4 { 1297 1440 background: none; … … 1303 1446 1304 1447 .groups.edit-details { 1448 1305 1449 #group-settings-form { 1306 1450 1307 1451 label { 1308 1452 background: $dark-background; 1453 1309 1454 @include border-top-radius(4px); 1310 1455 color: $content-background; … … 1323 1468 background: none; 1324 1469 color: inherit; 1470 1325 1471 @include font-size(14); 1326 1472 width: auto; … … 1331 1477 1332 1478 .groups.group-settings { 1479 1333 1480 #group-settings-form, 1334 1481 #create-group-form { 1335 1482 1336 1483 div.radio { 1484 1337 1485 label { 1338 1486 border: 1px solid $border-light; … … 1342 1490 ul { 1343 1491 color: #767676; 1492 1344 1493 @include font-size(14); 1345 1494 } … … 1358 1507 1359 1508 .groups.manage-members { 1509 1360 1510 #group-settings-form { 1511 1361 1512 .item-list { 1513 1362 1514 li { 1363 1515 border-bottom: 1px solid $border-light; … … 1367 1519 float: left; 1368 1520 1369 > a {border-bottom: 0;} 1521 > a { 1522 border-bottom: 0; 1523 } 1370 1524 } 1371 1525 … … 1405 1559 1406 1560 .groups.group-members { 1561 1407 1562 #buddypress { 1563 1408 1564 #members-group-list { 1565 1409 1566 li { 1410 1567 1411 1568 @media screen and (max-width: 30em) { 1569 1412 1570 > a { 1413 1571 border-bottom: 0; … … 1425 1583 h5 { 1426 1584 display: inline-block; 1585 1427 1586 @include font-size(14); 1428 1587 1429 1588 @media screen and (min-width: 59.6875em) { 1589 1430 1590 @include font-size(16); 1431 1591 } … … 1433 1593 margin: 0; 1434 1594 1435 a {border-bottom: 0;} 1595 a { 1596 border-bottom: 0; 1597 } 1436 1598 } // close h5 1437 1599 1438 1600 span.activity { 1601 1439 1602 @include font-size(12); 1440 1603 } … … 1450 1613 // Massage the members search for groups nav specifically. 1451 1614 .groups.group-members { 1615 1452 1616 #subnav { 1617 1453 1618 li { 1619 1454 1620 @media screen and (max-width: 38.75em) { 1455 1621 background: $content-background; … … 1467 1633 1468 1634 label { 1469 input[type="text"] {width: 100%;} 1635 1636 input[type="text"] { 1637 width: 100%; 1638 } 1470 1639 } 1471 1640 } … … 1484 1653 1485 1654 .groups.group-invites { 1655 1486 1656 #item-body { 1657 1487 1658 .item-list { 1659 1488 1660 .action { 1489 1661 margin-bottom: 0; … … 1493 1665 1494 1666 @media screen and (min-width: 46.25em) { 1667 1495 1668 #buddypress { 1669 1496 1670 #item-body { 1671 1497 1672 #message { 1498 1673 margin-top: 0; … … 1503 1678 1504 1679 @media screen and (min-width: 55em) { 1680 1505 1681 #buddypress { 1506 #send-invite-form { margin-top: 0;} 1682 1683 #send-invite-form { 1684 margin-top: 0; 1685 } 1507 1686 } 1508 1687 } 1509 1688 1510 1689 #item-body { 1690 1511 1691 @media screen and (max-width: 46.25em) { 1692 1512 1693 .left-menu { 1513 1694 float: none; … … 1525 1706 1526 1707 .submit { 1708 1527 1709 input { 1528 1710 display: inline-block; … … 1545 1727 1546 1728 .bp-user { 1729 1547 1730 .entry-title { 1548 1731 margin-bottom: 0.5em; … … 1561 1744 1562 1745 table { 1563 th {@include font-size(14)} 1564 td {@include font-size(12)} 1746 1747 th { 1748 1749 @include font-size(14); 1750 } 1751 1752 td { 1753 1754 @include font-size(12); 1755 } 1565 1756 1566 1757 @media screen and (min-width: 46.25em) { 1567 th {@include font-size(16)} 1568 td {@include font-size(14)} 1758 1759 th { 1760 1761 @include font-size(16); 1762 } 1763 1764 td { 1765 1766 @include font-size(14); 1767 } 1569 1768 } 1570 1769 1571 1770 @media screen and (min-width: 77.5em) { 1572 th {@include font-size(18)} 1573 td {@include font-size(16)} 1574 } 1575 } 1576 1577 .pag-count {font-style: italic;} 1771 1772 th { 1773 1774 @include font-size(18); 1775 } 1776 1777 td { 1778 1779 @include font-size(16); 1780 } 1781 } 1782 } 1783 1784 .pag-count { 1785 font-style: italic; 1786 } 1578 1787 1579 1788 .notifications-options-nav, … … 1588 1797 select, 1589 1798 input { 1799 1590 1800 @include font-size(14); 1591 1801 outline: 0; … … 1605 1815 input { 1606 1816 float: right; 1817 1607 1818 @include default-font-serif(); 1608 1819 line-height: 1.5; … … 1610 1821 width: 100%; 1611 1822 1612 &[disabled]:hover {background: none;} 1823 &[disabled]:hover { 1824 background: none; 1825 } 1613 1826 1614 1827 @media screen and (min-width: 30em) { … … 1631 1844 1632 1845 .bp-user { 1846 1633 1847 #buddypress { 1848 1634 1849 .profile { 1850 1635 1851 .bp-widget { 1852 1636 1853 h2 { 1637 1854 background: lighten($dark-background, 10%); … … 1641 1858 } 1642 1859 1643 table {margin-top: 0;} 1860 table { 1861 margin-top: 0; 1862 } 1644 1863 } 1645 1864 } … … 1649 1868 /* Edit Profile */ 1650 1869 .bp-user { 1870 1651 1871 #buddypress { 1652 1872 1653 1873 .profile { 1874 1654 1875 #profile-edit-form { 1876 1655 1877 .button-nav:before, 1656 1878 .button-nav:after { … … 1681 1903 background: none; 1682 1904 border: 0; 1683 @include font-size(18) 1905 1906 @include font-size(18); 1684 1907 } 1685 1908 } //.button-nav … … 1687 1910 .field-visibility-settings-toggle, 1688 1911 .field-visibility-settings { 1912 1689 1913 @include font-size(14); 1690 1914 } … … 1699 1923 1700 1924 .bp-avatar { 1925 1701 1926 #bp-delete-avatar { 1702 a {font-size: inherit; } 1927 1928 a { 1929 font-size: inherit; 1930 } 1703 1931 } 1704 1932 } … … 1718 1946 1719 1947 #groups-list { 1948 1720 1949 li { 1950 1721 1951 .item { 1952 1722 1953 @media screen and (min-width: 77.5em) { 1723 1954 left: 5%; … … 1765 1996 .message-metadata { 1766 1997 1767 &: :after {1998 &:after { 1768 1999 clear: both; 1769 2000 content: ""; … … 1776 2007 1777 2008 @media screen and (min-width: 46.25em) { 2009 1778 2010 img.avatar { 1779 2011 float: left; … … 1796 2028 1797 2029 #send-reply { 2030 1798 2031 .message-content { 1799 2032 background: $content-background; … … 1806 2039 } 1807 2040 1808 .bp-tooltip:hover: :after,1809 .bp-tooltip:active: :after,1810 .bp-tooltip:focus: :after {2041 .bp-tooltip:hover:after, 2042 .bp-tooltip:active:after, 2043 .bp-tooltip:focus:after { 1811 2044 right: 40px; 1812 2045 text-align: right; … … 1816 2049 1817 2050 #message-threads { 2051 1818 2052 thead { 2053 1819 2054 tr { 1820 2055 background: lighten($dark-background, 10%); … … 1823 2058 1824 2059 tr { 2060 1825 2061 td { 1826 2062 background: $content-background; … … 1854 2090 td.thread-options { 1855 2091 border-left: 0 !important; 2092 1856 2093 @include calc(width, "100% - 30px"); 1857 2094 margin-left: 0; … … 1867 2104 1868 2105 a { 2106 1869 2107 @include font-size(12); 1870 2108 line-height: 2.2; … … 1883 2121 @media screen and (max-width: 38.75em) { 1884 2122 clear: both; 2123 1885 2124 @include font-size(11); 1886 2125 width: 100%; … … 1890 2129 1891 2130 tr.unread { 2131 1892 2132 td { 1893 2133 background: $unread; 2134 border-color: darken($border-light, 10%); 1894 2135 border-bottom-color: darken($border-light, 20%); 1895 border-color: darken($border-light, 10%);1896 2136 } 1897 2137 } … … 1918 2158 list-style: none; 1919 2159 1920 li {margin-left: 0;} 2160 li { 2161 margin-left: 0; 2162 } 1921 2163 1922 2164 li.friend-tab { … … 1953 2195 1954 2196 #message-threads.sitewide-notices { 2197 1955 2198 td { 1956 2199 width: 100%; … … 1995 2238 } 1996 2239 1997 a:last-child: :after {2240 a:last-child:after { 1998 2241 content: attr(title); 1999 2242 display: block; … … 2011 2254 padding-left: $spacing-val-sm; 2012 2255 2013 ul { margin: 0; } 2256 ul { 2257 margin: 0; 2258 } 2014 2259 2015 2260 li { … … 2032 2277 2033 2278 .bp-user { 2279 2034 2280 #buddypress { 2035 2281 … … 2037 2283 // 'p' = email notification screen sub heading 2038 2284 > p { 2285 2039 2286 @include font-size(20); 2040 2287 margin: $spacing-val-md 0 $spacing-val-sm; … … 2043 2290 2044 2291 table.notification-settings { 2045 th.title {width: 75%;} 2292 2293 th.title { 2294 width: 75%; 2295 } 2296 2046 2297 td.yes, 2047 2298 td.no { … … 2059 2310 2060 2311 @media screen and (min-width: 46.25em) { 2312 2061 2313 th.field-group-name, 2062 2314 td.field-name { … … 2071 2323 2072 2324 td.field-visibility { 2073 select {width: 100%;} 2325 2326 select { 2327 width: 100%; 2328 } 2074 2329 } 2075 2330 } … … 2091 2346 2092 2347 div.activity-comments { 2348 2093 2349 form { 2350 2094 2351 .ac-textarea { 2095 2352 background: $light-background; … … 2104 2361 } 2105 2362 2106 select {border: 1px solid rgba($border-color, 0.5);} 2363 select { 2364 border: 1px solid rgba($border-color, 0.5); 2365 } 2107 2366 2108 2367 // Overrides for embedded WP editors. 2109 2368 .wp-editor-wrap { 2369 2110 2370 a.button, 2111 2371 button, 2112 input[type= submit],2113 input[type= button],2114 input[type= reset] {2372 input[type="submit"], 2373 input[type="button"], 2374 input[type="reset"] { 2115 2375 padding: 0 5px 1px; 2116 2376 } … … 2126 2386 .standard-form, 2127 2387 .group-create-form { 2388 2128 2389 li { 2129 2390 float: none; … … 2131 2392 } 2132 2393 2133 input[type= 'text'],2394 input[type="text"], 2134 2395 textarea { 2135 2396 width: 100%; … … 2155 2416 } 2156 2417 2157 input[type= 'text'] {2418 input[type="text"] { 2158 2419 float: left; 2159 2420 margin: 0; … … 2161 2422 } 2162 2423 2163 input[type='text'], 2164 input[type='submit'] { 2424 input[type="text"], 2425 input[type="submit"] { 2426 2165 2427 @include font-size(14); 2166 2428 border: 0; … … 2168 2430 } 2169 2431 2170 input[type= 'text'] {2432 input[type="text"] { 2171 2433 border-right: 1px solid rgba($border-color, 0.4); 2172 2434 padding: 0.2em 0 0.2em 0.2em; 2173 2435 } 2174 2436 2175 input[type= 'submit'] {2437 input[type="submit"] { 2176 2438 float: right; 2177 font-weight: normal;2439 font-weight: 400; 2178 2440 padding: 0.2em 1em; 2179 2441 text-align: center; … … 2187 2449 // Shift the search parent to the right and allow to shrinkwrap 2188 2450 @media screen and (min-width: 38.75em) { 2451 2189 2452 div.dir-search, 2190 2453 div.message-search, … … 2194 2457 2195 2458 form { 2459 2196 2460 label, 2197 input[type= 'text'],2198 input[type= 'submit'] {2461 input[type="text"], 2462 input[type="submit"] { 2199 2463 width: auto; 2200 2464 } … … 2207 2471 .dir-search, 2208 2472 .message-search { 2473 2209 2474 form { 2210 input[type='text'] { @include font-size(16) ;} 2211 input[type='submit'] { @include font-size(16) ;} 2475 2476 input[type="text"] { 2477 2478 @include font-size(16); 2479 } 2480 2481 input[type="submit"] { 2482 2483 @include font-size(16); 2484 } 2212 2485 } 2213 2486 } … … 2227 2500 // breakpoints. Provide top/bottom margins for tables, lacking in BP styles 2228 2501 #buddypress { 2502 2229 2503 table { 2504 2230 2505 @include font-size(14); 2231 2506 margin: $spacing-val-md 0; … … 2238 2513 2239 2514 // Reduce the themes inherited paragraph margins in tables 2240 p {margin-bottom: 0.5em;} 2515 p { 2516 margin-bottom: 0.5em; 2517 } 2241 2518 } 2242 2519 2243 2520 @media screen and (min-width: 55em) { 2244 table {@include font-size(16);} 2521 2522 table { 2523 2524 @include font-size(16); 2525 } 2245 2526 } 2246 2527 } … … 2253 2534 .notifications, 2254 2535 .messages-notices { 2536 2255 2537 th { 2256 2538 width: 30%; … … 2281 2563 // styling issues - this will need styling ideas 2282 2564 td { 2565 2283 2566 .button { 2284 2567 border: 0; … … 2293 2576 .messages-notices { 2294 2577 2295 .bp-tooltip:hover: :after,2296 .bp-tooltip:active: :after,2297 .bp-tooltip:focus: :after {2578 .bp-tooltip:hover:after, 2579 .bp-tooltip:active:after, 2580 .bp-tooltip:focus:after { 2298 2581 left: 0; 2299 2582 margin-top: 10px; … … 2318 2601 2319 2602 #buddypress { 2603 2320 2604 #item-body { 2605 2321 2606 div#message { 2322 2607 margin-top: $spacing-val-md; … … 2329 2614 2330 2615 div#message { 2616 2331 2617 p { 2618 2332 2619 @include font-size(18); 2333 font-weight: bold;2620 font-weight: 700; 2334 2621 } 2335 2622 2336 2623 &.info { 2624 2337 2625 p { 2626 2338 2627 @include message-box($notice-info); 2339 2628 } … … 2341 2630 2342 2631 &.updated { 2632 2343 2633 p { 2634 2344 2635 @include message-box($notice-update); 2345 2636 } … … 2353 2644 // we need to use the body classes 2354 2645 .delete-group { 2646 2355 2647 #buddypress { 2648 2356 2649 div#message.info { 2357 2650 2358 2651 p { 2652 2359 2653 @include message-box($notice-warning); 2360 2654 }
Note: See TracChangeset
for help on using the changeset viewer.