Changeset 11587 for trunk/src/bp-templates/bp-legacy/css/twentyten.scss
- Timestamp:
- 06/13/2017 04:38:30 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentyten.scss
r11586 r11587 18 18 19 19 20 21 20 // Mixins and Variables 22 21 … … 29 28 // BP min/max width mixins 30 29 31 // As layout is fixed width 'device' is needed to tell phones to work with breakpoints32 // provided is a 'up to' max-width and min-width as device widths for mobiles33 // This is not a perfect solution but provides a degree of layout control for BP elements.34 // But not used to any great degree.30 // As layout is fixed width 'device' is needed to tell phones to work with 31 // breakpoints provided is a 'up to' max-width and min-width as device widths 32 // for mobiles This is not a perfect solution but provides a degree of layout 33 // contro for BP elements. But not used to any great degree. 35 34 36 35 @mixin small-device-up { 36 37 37 @media only screen and (min-device-width: 375px) { 38 38 39 @content; 39 40 } … … 41 42 42 43 @mixin small-device-max { 44 43 45 @media only screen and (max-device-width: 375px) { 46 44 47 @content; 45 48 } … … 47 50 48 51 @mixin medium-device-up { 52 49 53 @media only screen and (min-device-width: 450px) { 54 50 55 @content; 51 56 } … … 54 59 // min-width 450px 55 60 @mixin small-up { 61 56 62 @media screen and (min-device-width: 450px) { 63 57 64 @content; 58 65 } … … 61 68 // min-width 650px 62 69 @mixin medium-up { 70 63 71 @media screen and (min-width: 650px) { 72 64 73 @content; 65 74 } … … 68 77 // min-width 800px 69 78 @mixin large-up { 79 70 80 @media screen and (min-width: 800px) { 81 71 82 @content; 72 83 } … … 194 205 $unread: #9dc3c8; 195 206 $link-action: #c82b2b; 207 196 208 /*-------------------------------------------------------------- 197 209 … … 206 218 in your child themes root & either start over or modify the rulesets. 207 219 208 If you do not require the styles you can dequeue them from the themes functions file. 220 If you do not require the styles you can dequeue them from the themes 221 functions file. 209 222 210 223 Please see this codex article for more information: … … 258 271 .buddypress { 259 272 // Remove any empty clearing elements, CSS provides clearing. 260 div.clear {display: none;} 273 div.clear { 274 display: none; 275 } 261 276 262 277 } // .buddypress (body class) … … 269 284 270 285 #main { 286 271 287 #container { 272 288 margin: 0; … … 275 291 276 292 #content { 277 margin: 0 10% 0;293 margin: 0 10%; 278 294 width: auto; 279 295 … … 303 319 // We have a need to override BP specifity 304 320 // so some rulesets sets will appear over weighted in selectors 321 305 322 /* Here we start things off */ 306 323 #buddypress { … … 308 325 // active/current states all navs 309 326 div.item-list-tabs { 327 310 328 ul { 329 311 330 li.selected, 312 331 li.current { 332 313 333 a { 314 334 background: inherit; … … 320 340 // global nav styles 321 341 div.item-list-tabs { 342 322 343 ul { 323 344 overflow: hidden; … … 325 346 326 347 li { 348 327 349 a { 328 350 … … 346 368 347 369 } // close #buddypress 348 349 370 350 371 … … 399 420 label, 400 421 option { 422 401 423 @include font-size(14); 402 424 } … … 417 439 418 440 .bp-user { 441 419 442 #buddypress { 443 420 444 div#subnav.item-list-tabs { 445 421 446 li.last { 422 447 margin-left: 0; … … 435 460 436 461 body.bp-user { 462 437 463 #buddypress { 438 464 … … 484 510 margin: 0 0 0 (-$spacing-val-md); 485 511 486 ul {margin-top: 0;} 512 ul { 513 margin-top: 0; 514 } 487 515 } 488 516 } … … 497 525 498 526 @include small-device-up { 527 499 528 #main { 529 500 530 #buddypress { 501 531 … … 528 558 border: 1px solid $border-med; 529 559 border-bottom-color: $content-background; 560 530 561 @include border-top-radius(4px); 531 562 margin-bottom: -1px; … … 542 573 543 574 #subnav { 575 544 576 ul { 545 577 border-bottom: 0; … … 569 601 } 570 602 571 .pag-count {margin-left: 0;} 603 .pag-count { 604 margin-left: 0; 605 } 606 572 607 .pagination-links { 573 608 margin-right: 0; … … 586 621 overflow: visible; 587 622 width: auto; 588 &:before {display: none;} 623 624 &:before { 625 display: none; 626 } 589 627 } 590 628 … … 617 655 618 656 #buddypress { 657 619 658 ul.item-list { 620 659 border-top: 0; … … 633 672 text-align: center; 634 673 635 a {border-bottom: 0;} 674 a { 675 border-bottom: 0; 676 } 636 677 637 678 img.avatar { … … 673 714 674 715 .item-title { 716 675 717 @include font-size(16); 676 718 line-height: 1.2; … … 686 728 text-decoration: none; 687 729 688 &:visited { color: #21759b;} 730 &:visited { 731 color: #21759b; 732 } 689 733 } 690 734 691 735 .update { 692 736 display: block; 737 693 738 @include font-size(12); 694 739 695 740 @include medium-up { 741 696 742 @include font-size(14); 697 743 } … … 705 751 706 752 @include medium-up { 753 707 754 .item-avatar, 708 755 .item, … … 718 765 719 766 .item-title { 720 @include font-size(18) 767 768 @include font-size(18); 721 769 } 722 770 } … … 793 841 794 842 #buddypress { 843 795 844 form#whats-new-form { 796 845 … … 803 852 804 853 #whats-new-content.active { 854 805 855 #whats-new-options[style] { 856 806 857 #whats-new-post-in-box { 807 858 border: 1px solid rgba($border-color, 0.5); 808 859 float: left; 860 809 861 @include font-size(12); 810 862 line-height: 1.6; … … 825 877 826 878 @media screen and (min-width: 30em) { 879 827 880 #whats-new-post-in-box { 828 881 width: auto; … … 830 883 831 884 #whats-new-submit { 885 832 886 @include font-size(12); 833 887 float: right; … … 846 900 // User account form requires matching bp default specificity 847 901 #item-body { 902 848 903 form#whats-new-form { 849 904 margin: $spacing-val-lg 0; … … 868 923 869 924 &.load-newest { 925 870 926 a { 871 927 display: block; … … 897 953 898 954 .activity-header { 955 899 956 @include font-size(14); 900 957 … … 905 962 906 963 .activity-inner { 907 img {height: auto;} 964 965 img { 966 height: auto; 967 } 908 968 } 909 969 … … 925 985 926 986 .activity-header { 987 927 988 @include font-size(16); 928 989 } … … 938 999 939 1000 li.mini { 1001 940 1002 .activity-avatar { 1003 941 1004 a { 1005 942 1006 img.avatar { 943 1007 height: 30px; … … 949 1013 950 1014 .activity-content { 1015 951 1016 .activity-header { 1017 952 1018 @include font-size(14); 953 1019 } 954 1020 955 1021 .activity-meta { 1022 956 1023 a { 1024 957 1025 @include font-size(12); 958 1026 } … … 981 1049 982 1050 .activity-meta { 1051 983 1052 a { 984 1053 display: block; 1054 985 1055 @include font-size(14); 986 1056 margin-bottom: $spacing-val-xs; … … 1019 1089 1020 1090 .activity-permalink { 1091 1021 1092 #buddypress { 1093 1022 1094 #activity-stream { 1023 1095 … … 1027 1099 1028 1100 li.mini { 1101 1029 1102 .activity-header { 1103 1030 1104 @include font-size(16); 1105 1031 1106 @include medium-up { 1107 1032 1108 @include font-size(20); 1033 1109 } 1034 1110 1035 1111 margin-bottom: $spacing-val-lg; 1036 p {padding: $spacing-val-md;} 1112 1113 p { 1114 padding: $spacing-val-md; 1115 } 1037 1116 } 1038 1117 } // close li.mini … … 1070 1149 .acomment-meta, 1071 1150 .acomment-content { 1151 1072 1152 @include font-size(12); 1073 1153 } … … 1079 1159 .ac-form { 1080 1160 border: 1px solid $border-color; 1161 1081 1162 @include box-model(border-box); 1082 1163 margin: $spacing-val-sm 0; … … 1088 1169 display: inline-block; 1089 1170 font-family: inherit; 1171 1090 1172 @include font-size(12); 1091 font-weight: normal;1173 font-weight: 400; 1092 1174 line-height: 1.2; 1093 1175 padding: 4px 10px; … … 1121 1203 1122 1204 #buddypress { 1205 1123 1206 #members-list { 1124 1207 1125 1208 @include medium-up { 1209 1126 1210 li { 1211 1127 1212 .item-avatar, 1128 1213 .item { … … 1152 1237 1153 1238 #buddypress { 1239 1154 1240 #signup_form.standard-form { 1155 1241 … … 1160 1246 width: 100%; 1161 1247 1162 @media screen and (min-width: 37.5 00em) {1248 @media screen and (min-width: 37.5em) { 1163 1249 width: 48%; 1164 1250 } 1165 1251 } 1166 1252 1167 @media screen and (min-width: 37.500em) { 1168 #profile-details-section {float: right;} 1169 #basic-details-section {float: left;} 1253 @media screen and (min-width: 37.5em) { 1254 1255 #profile-details-section { 1256 float: right; 1257 } 1258 1259 #basic-details-section { 1260 float: left; 1261 } 1170 1262 } 1171 1263 … … 1180 1272 1181 1273 .bp-user { 1274 1182 1275 #buddypress { 1183 // On object nav links, table links (notifications etc) we don't really need :visited1184 // inheritance, so set pseudo class to :link color.1276 // On object nav links, table links (notifications etc) we don't 1277 // really need :visited inheritance, so set pseudo class to :link color. 1185 1278 a { 1279 1186 1280 &:visited { 1187 1281 color: #21759b; … … 1199 1293 .bp-user, 1200 1294 .single-item.groups { 1295 1201 1296 #buddypress { 1297 1202 1298 #item-header-content { 1299 1203 1300 #item-meta { 1301 1204 1302 @include font-size(14); 1205 1303 text-align: left; 1206 1304 1207 p {margin-bottom: 0.5em;} 1208 } 1209 } 1210 } 1211 1212 @media screen and (max-width: 37.500em) { 1305 p { 1306 margin-bottom: 0.5em; 1307 } 1308 } 1309 } 1310 } 1311 1312 @media screen and (max-width: 37.5em) { 1313 1213 1314 h1, 1214 1315 #item-header-content { … … 1218 1319 1219 1320 @media screen and (max-width: 46.25em) { 1321 1220 1322 main { 1323 1221 1324 header.entry-header { 1222 1325 padding-bottom: 1rem; … … 1226 1329 1227 1330 #buddypress { 1228 @media screen and (max-width: 37.500em) { 1331 1332 @media screen and (max-width: 37.5em) { 1333 1229 1334 h1 { 1230 1335 margin-bottom: 0; … … 1232 1337 1233 1338 #item-header-avatar { 1339 1234 1340 img.avatar { 1235 1341 margin-right: 0; … … 1247 1353 1248 1354 @media screen and (max-width: 46.25em) { 1355 1249 1356 #item-header { 1357 1250 1358 .generic-button { 1251 1359 float: none; 1252 margin: 1.5em 0 0 0;1360 margin: 1.5em 0 0; 1253 1361 } 1254 1362 } … … 1267 1375 1268 1376 .single-item.groups { 1377 1269 1378 #buddypress { 1379 1270 1380 @media screen and (max-width: 46.25em) { 1381 1271 1382 #item-header { 1383 1272 1384 #item-meta { 1273 1385 margin-bottom: $spacing-val-md; … … 1279 1391 // avatar first after group title 1280 1392 @media screen and (max-width: 50em) { 1393 1281 1394 div#item-header { 1282 1395 display: flex; … … 1316 1429 1317 1430 #item-header-content { 1431 1318 1432 @include box-model(border-box); 1319 1433 } … … 1341 1455 1342 1456 h2 { 1457 1343 1458 @include font-size(14); 1344 font-weight: bold;1459 font-weight: 700; 1345 1460 line-height: 1.4; 1346 1461 } … … 1348 1463 #group-admins, 1349 1464 #group-mods { 1465 1350 1466 li { 1351 1467 margin: 0; … … 1375 1491 1376 1492 @media screen and (min-width: 64em) { 1493 1377 1494 #item-header-content { 1378 1495 width: 40%; … … 1386 1503 // breakpoints. 1387 1504 // Due to cover image styles being applied via embedded styles & thus carrying 1388 // heavier weight than linked styles the use of !important to override may be required. 1505 // heavier weight than linked styles the use of !important to 1506 // override may be required. 1389 1507 #buddypress { 1508 1390 1509 #cover-image-container { 1510 1391 1511 #item-header-cover-image { 1392 1512 … … 1396 1516 1397 1517 @media screen and (min-width: 50em) and (max-width: 60em) { 1518 1398 1519 #item-header-content { 1399 1520 max-width: 60% !important; … … 1412 1533 width: auto; 1413 1534 1414 h2 {border-bottom: 1px solid $border-light;} 1535 h2 { 1536 border-bottom: 1px solid $border-light; 1537 } 1415 1538 } 1416 1539 } // @media … … 1430 1553 1431 1554 .bp-user { 1555 1432 1556 #buddypress { 1557 1433 1558 #item-header { 1434 1559 … … 1445 1570 1446 1571 #item-header-cover-image { 1572 1447 1573 .user-nicename { 1448 1574 color: inherit; … … 1459 1585 1460 1586 #item-buttons { 1587 1461 1588 .generic-button { 1462 1589 margin-right: 5px; … … 1466 1593 1467 1594 @include medium-up { 1595 1468 1596 #item-header-avatar { 1469 1597 float: left; … … 1509 1637 // headings settings screens & general global settings styles 1510 1638 .groups { 1639 1511 1640 #group-settings-form { 1641 1512 1642 h3 { 1513 1643 background: $dark-background; … … 1519 1649 1520 1650 .groups.edit-details { 1651 1521 1652 #group-settings-form { 1522 1653 … … 1530 1661 background: none; 1531 1662 color: inherit; 1663 1532 1664 @include font-size(14); 1533 1665 width: auto; … … 1543 1675 1544 1676 .groups.group-settings { 1677 1545 1678 #group-settings-form { 1546 1679 1547 1680 div.radio label { 1548 font-weight: bold;1681 font-weight: 700; 1549 1682 padding: 0.2em; 1550 1683 1551 1684 ul { 1552 1685 color: rgba($body-text, 0.6); 1686 1553 1687 @include font-size(14); 1554 1688 } … … 1567 1701 1568 1702 .groups.manage-members { 1703 1569 1704 #group-settings-form { 1705 1570 1706 .item-list { 1707 1571 1708 li { 1572 1709 border-bottom: 1px solid $border-light; … … 1574 1711 img, 1575 1712 h5 { 1713 1576 1714 @include medium-up { 1577 1715 float: left; 1578 1716 } 1579 1717 1580 > a {border-bottom: 0;} 1718 > a { 1719 border-bottom: 0; 1720 } 1581 1721 } 1582 1722 … … 1615 1755 // Massage the members search for groups nav specifically. 1616 1756 .groups.group-members { 1757 1617 1758 #subnav { 1759 1618 1760 li { 1619 1761 width: 100%; … … 1624 1766 1625 1767 label { 1768 1626 1769 input[type="text"] { 1627 1770 box-shadow: none; … … 1651 1794 1652 1795 table { 1653 th {@include font-size(13)} 1654 td {@include font-size(12)} 1796 1797 th { 1798 1799 @include font-size(13); 1800 } 1801 1802 td { 1803 1804 @include font-size(12); 1805 } 1655 1806 1656 1807 @include medium-up { 1657 th {@include font-size(16)} 1658 td {@include font-size(14)} 1659 } 1660 } 1661 1662 .pag-count {font-style: italic;} 1808 1809 th { 1810 1811 @include font-size(16); 1812 } 1813 1814 td { 1815 1816 @include font-size(14); 1817 } 1818 } 1819 } 1820 1821 .pag-count { 1822 font-style: italic; 1823 } 1663 1824 1664 1825 .notifications-options-nav, … … 1667 1828 width: 100%; 1668 1829 1669 @media screen and (min-width: 37.5 00em) {1830 @media screen and (min-width: 37.5em) { 1670 1831 width: 60%; 1671 1832 } … … 1673 1834 select, 1674 1835 input { 1836 1675 1837 @include font-size(14); 1676 1838 outline: 0; … … 1683 1845 width: 49%; 1684 1846 1685 @media screen and (min-width: 37.5 00em) {1847 @media screen and (min-width: 37.5em) { 1686 1848 width: auto; 1687 1849 } … … 1695 1857 width: 50%; 1696 1858 1697 @media screen and (min-width: 37.5 00em) {1859 @media screen and (min-width: 37.5em) { 1698 1860 width: auto; 1699 1861 } … … 1721 1883 1722 1884 .profile { 1885 1723 1886 .bp-widget { 1887 1724 1888 h2 { 1725 1889 background: lighten($dark-background, 10%); … … 1729 1893 } 1730 1894 1731 table {margin-top: 0;} 1895 table { 1896 margin-top: 0; 1897 } 1732 1898 } 1733 1899 … … 1735 1901 1736 1902 #profile-edit-form { 1903 1737 1904 .button-nav:before, 1738 1905 .button-nav:after { … … 1763 1930 background: none; 1764 1931 border: 0; 1765 @include font-size(18) 1932 1933 @include font-size(18); 1766 1934 } 1767 1935 } //.button-nav … … 1773 1941 .field-visibility-settings-toggle, 1774 1942 .field-visibility-settings { 1943 1775 1944 @include font-size(14); 1776 1945 } … … 1779 1948 .visibility-toggle-link { 1780 1949 background: lighten($dark-background, 10%); 1950 1781 1951 @include border-radius(2px); 1782 1952 color: #eee; 1783 font-weight: bold;1953 font-weight: 700; 1784 1954 padding: 0.1em 0.5em; 1785 1955 text-decoration: none; … … 1793 1963 1794 1964 .bp-avatar { 1965 1795 1966 #bp-delete-avatar { 1796 a {font-size: inherit; } 1967 1968 a { 1969 font-size: inherit; 1970 } 1797 1971 } 1798 1972 } … … 1840 2014 .message-metadata { 1841 2015 1842 &: :after {2016 &:after { 1843 2017 clear: both; 1844 2018 content: ""; … … 1851 2025 1852 2026 @media screen and (min-width: 46.25em) { 2027 1853 2028 img.avatar { 1854 2029 float: left; … … 1871 2046 1872 2047 #send-reply { 2048 1873 2049 .message-content { 1874 2050 background: $content-background; … … 1881 2057 } 1882 2058 1883 .bp-tooltip:hover: :after,1884 .bp-tooltip:active: :after,1885 .bp-tooltip:focus: :after {2059 .bp-tooltip:hover:after, 2060 .bp-tooltip:active:after, 2061 .bp-tooltip:focus:after { 1886 2062 right: 40px; 1887 2063 text-align: right; … … 1893 2069 1894 2070 thead { 2071 1895 2072 tr { 1896 2073 background: lighten($dark-background, 10%); … … 1899 2076 1900 2077 tr { 2078 1901 2079 td { 1902 2080 background: $content-background; 2081 1903 2082 @include box-model(border-box); 1904 2083 display: inline-block; … … 1927 2106 1928 2107 span.icon:before { 2108 1929 2109 @include font-size(14); 1930 2110 } … … 1935 2115 height: 3em; 1936 2116 1937 @media screen and (max-width: 37.5 00em) {2117 @media screen and (max-width: 37.5em) { 1938 2118 height: 5.2em; 1939 2119 } … … 1943 2123 td.thread-options { 1944 2124 border-left: 0 !important; 2125 1945 2126 @include calc(width, "100% - 30px"); 1946 2127 margin-left: 0; … … 1956 2137 1957 2138 a { 2139 1958 2140 @include font-size(12); 1959 2141 line-height: 1.2; … … 1970 2152 line-height: 2; 1971 2153 1972 @media screen and (max-width: 37.5 00em) {2154 @media screen and (max-width: 37.5em) { 1973 2155 clear: both; 2156 1974 2157 @include font-size(11); 1975 2158 width: 100%; … … 1979 2162 1980 2163 tr.unread { 2164 1981 2165 td { 1982 2166 border-color: $border-light; … … 2003 2187 2004 2188 #send_message_form { 2189 2005 2190 input, 2006 2191 textarea { 2192 2007 2193 @include box-model(border-box); 2008 2194 } … … 2012 2198 list-style: none; 2013 2199 2014 li {margin-left: 0;} 2200 li { 2201 margin-left: 0; 2202 } 2015 2203 2016 2204 li.friend-tab { … … 2047 2235 2048 2236 #message-threads.sitewide-notices { 2049 tr {margin: 3em 0;} 2237 2238 tr { 2239 margin: 3em 0; 2240 } 2241 2050 2242 td { 2051 2243 width: 100%; … … 2075 2267 2076 2268 td:nth-child(2) { 2269 2077 2270 strong { 2078 2271 margin: -8px -8px 8px; … … 2102 2295 } 2103 2296 2104 a:last-child: :after {2297 a:last-child:after { 2105 2298 content: attr(title); 2106 2299 display: block; … … 2126 2319 } 2127 2320 2128 img { vertical-align: bottom;} 2321 img { 2322 vertical-align: bottom; 2323 } 2129 2324 2130 2325 } … … 2147 2342 // 'p' = email notification screen sub heading 2148 2343 > p { 2344 2149 2345 @include font-size(20); 2150 2346 margin: $spacing-val-md 0 $spacing-val-sm; … … 2153 2349 2154 2350 table.notification-settings { 2351 2155 2352 td.yes, 2156 2353 td.no { … … 2169 2366 2170 2367 @media screen and (min-width: 46.25em) { 2368 2171 2369 th.field-group-name, 2172 2370 td.field-name { … … 2181 2379 2182 2380 td.field-visibility { 2183 select {width: 100%;} 2381 2382 select { 2383 width: 100%; 2384 } 2184 2385 } 2185 2386 } … … 2204 2405 // Attempt to reset form control widths 2205 2406 #main { 2407 2206 2408 #buddypress { 2409 2207 2410 .standard-form { 2208 2411 2209 li {float: none;} 2210 input[type='text'], 2211 input[type='email'], 2212 input[type='password'], 2412 li { 2413 float: none; 2414 } 2415 2416 input[type="text"], 2417 input[type="email"], 2418 input[type="password"], 2213 2419 textarea { 2214 2420 border-width: 1px; 2215 2421 box-shadow: none; 2422 2216 2423 @include box-model(border-box); 2217 2424 width: 100%; … … 2229 2436 2230 2437 form { 2438 2231 2439 .ac-textarea { 2232 2440 background: $light-background; … … 2257 2465 2258 2466 #signup_form.standard-form { 2467 2259 2468 div.submit { 2260 2469 float: none; 2261 2470 2262 input {margin-right: 0;} 2471 input { 2472 margin-right: 0; 2473 } 2263 2474 } 2264 2475 } … … 2267 2478 2268 2479 #buddypress { 2480 2269 2481 div.dir-search, 2270 2482 div.message-search, … … 2282 2494 } 2283 2495 2284 input[type= 'text'],2285 input[type= 'submit'] {2496 input[type="text"], 2497 input[type="submit"] { 2286 2498 border: 0; 2287 2499 border-radius: 0; 2288 2500 box-shadow: none; 2501 2289 2502 @include box-model(border-box); 2290 2503 @include font-size(14); … … 2294 2507 } 2295 2508 2296 input[type= 'text'] {2509 input[type="text"] { 2297 2510 border-right: 1px solid rgba($border-color, 0.6); 2298 2511 float: left; 2299 2512 margin: 0; 2300 padding: 0 0.2em 0;2513 padding: 0 0.2em; 2301 2514 width: 70%; 2302 2515 } 2303 2516 2304 input[type= 'submit'] {2517 input[type="submit"] { 2305 2518 float: right; 2306 font-weight: normal;2519 font-weight: 400; 2307 2520 padding: 0 1em; 2308 2521 text-align: center; … … 2317 2530 2318 2531 @include small-up { 2532 2319 2533 div.dir-search, 2320 2534 div.message-search, … … 2324 2538 2325 2539 form { 2540 2326 2541 label, 2327 input[type= 'text'],2328 input[type= 'submit'] {2542 input[type="text"], 2543 input[type="submit"] { 2329 2544 width: auto; 2330 2545 } … … 2338 2553 .dir-search, 2339 2554 .message-search { 2555 2340 2556 form { 2341 input[type='text'] { @include font-size(16) ;} 2342 input[type='submit'] { @include font-size(16) ;} 2557 2558 input[type="text"] { 2559 2560 @include font-size(16); 2561 } 2562 2563 input[type="submit"] { 2564 2565 @include font-size(16); 2566 } 2343 2567 } 2344 2568 } … … 2353 2577 */ 2354 2578 .bp-user { 2579 2355 2580 #buddypress { 2356 2581 2357 2582 table { 2583 2358 2584 @include font-size(14); 2359 2585 margin: $spacing-val-md 0; 2360 2586 2361 // 2010 adds huge bottom margin to input controls unwanted in the table paradigm 2587 // 2010 adds huge bottom margin to input controls, 2588 // unwanted in the table paradigm 2362 2589 input { 2363 2590 margin: 0; … … 2368 2595 border-color: darken($border-light, 20%); 2369 2596 color: $content-background; 2597 2370 2598 @include font-size(16); 2371 2599 padding: 4px 8px; … … 2378 2606 2379 2607 // Reduce the themes inherited paragraph margins in tables 2380 p {margin-bottom: 0.5em;} 2608 p { 2609 margin-bottom: 0.5em; 2610 } 2381 2611 } 2382 2612 2383 2613 @media screen and (min-width: 55em) { 2384 table {@include font-size(16);} 2614 2615 table { 2616 2617 @include font-size(16); 2618 } 2385 2619 } 2386 2620 … … 2388 2622 .notifications, 2389 2623 .messages-notices { 2624 2390 2625 th { 2391 2626 width: 30%; … … 2420 2655 // styling issues - this will need styling ideas 2421 2656 td { 2657 2422 2658 .button { 2423 2659 border: 0; … … 2432 2668 .messages-notices { 2433 2669 2434 .bp-tooltip:hover: :after,2435 .bp-tooltip:active: :after,2436 .bp-tooltip:focus: :after {2670 .bp-tooltip:hover:after, 2671 .bp-tooltip:active:after, 2672 .bp-tooltip:focus:after { 2437 2673 left: 0; 2438 2674 margin-top: 10px; … … 2458 2694 2459 2695 #buddypress { 2696 2460 2697 div#message { 2698 2461 2699 p { 2700 2462 2701 @include font-size(18); 2463 font-weight: bold;2702 font-weight: 700; 2464 2703 } 2465 2704 2466 2705 &.info { 2706 2467 2707 p { 2708 2468 2709 @include message-box($notice-info); 2469 2710 } … … 2471 2712 2472 2713 &.updated { 2714 2473 2715 p { 2716 2474 2717 @include message-box($notice-update); 2475 2718 } … … 2482 2725 // Without direct classes on our mesages ( 'warning' ) 2483 2726 // we need to use the body classes 2484 // todo: If thisis class .warning is included in main BP styles remove from here2727 // @todo If this class .warning is included in main BP styles remove from here 2485 2728 .delete-group { 2729 2486 2730 #buddypress { 2731 2487 2732 div#message.info { 2733 2488 2734 p { 2735 2489 2736 @include message-box($notice-warning); 2490 2737 }
Note: See TracChangeset
for help on using the changeset viewer.