Changeset 11587 for trunk/src/bp-templates/bp-legacy/css/twentyeleven.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/twentyeleven.scss
r11586 r11587 31 31 // max-width 320px 32 32 @mixin small-only { 33 33 34 @media screen and (max-width: 320px) { 35 34 36 @content; 35 37 } … … 38 40 // min-width 320px 39 41 @mixin xsmall-up { 42 40 43 @media screen and (min-width: 320px) { 44 41 45 @content; 42 46 } … … 45 49 // min-width 450px 46 50 @mixin small-up { 51 47 52 @media screen and (min-width: 450px) { 53 48 54 @content; 49 55 } … … 52 58 // min-width 650px (match to 2011 max widths) 53 59 @mixin medium-up { 60 54 61 @media screen and (min-width: 650px) { 62 55 63 @content; 56 64 } … … 59 67 // min-width 800px (match to 2011 max widths) 60 68 @mixin large-up { 69 61 70 @media screen and (min-width: 800px) { 71 62 72 @content; 63 73 } … … 68 78 // max-width 800px 69 79 @mixin max800 { 80 70 81 @media screen and (max-width: 800px) { 82 71 83 @content; 72 84 } … … 74 86 // max-width 650px 75 87 @mixin max650 { 88 76 89 @media screen and (max-width: 650px) { 90 77 91 @content; 78 92 } … … 80 94 // max-width 450px 81 95 @mixin max450 { 96 82 97 @media screen and (max-width: 450px) { 98 83 99 @content; 84 100 } … … 209 225 $unread: #9dc3c8; 210 226 $link-action: #c82b2b; 227 211 228 /*-------------------------------------------------------------- 212 229 … … 221 238 in your child themes root & either start over or modify the rulesets. 222 239 223 If you do not require the styles you can dequeue them from the themes functions file. 240 If you do not require the styles you can dequeue them from the themes 241 functions file. 224 242 225 243 Please see this codex article for more information: … … 274 292 .buddypress { 275 293 // Remove any empty clearing elements, CSS provides clearing. 276 div.clear {display: none;} 294 div.clear { 295 display: none; 296 } 277 297 278 298 } // .buddypress (body class) … … 288 308 289 309 #content { 290 margin: 0 10% 0;310 margin: 0 10%; 291 311 width: auto; 292 312 … … 300 320 // Reduce the top padding for single pages, too extreme for BP screens. 301 321 .buddypress.singular.page { 322 302 323 .hentry { 303 324 padding-top: 0; … … 322 343 // We have a need to override BP specifity 323 344 // so some rulesets sets will appear over weighted in selectors 345 324 346 /* Here we start things off */ 325 347 #buddypress { … … 327 349 // active/current states all navs 328 350 div.item-list-tabs { 351 329 352 ul { 353 330 354 li.selected, 331 355 li.current { 356 332 357 a { 333 358 background: inherit; … … 339 364 // global nav styles 340 365 div.item-list-tabs { 366 341 367 ul { 342 368 overflow: hidden; … … 344 370 345 371 li { 372 346 373 a { 347 374 … … 355 382 } 356 383 357 span {border-radius: 25%;} 384 span { 385 border-radius: 25%; 386 } 358 387 } 359 388 … … 394 423 &:hover, 395 424 &:active { 396 &:before {content: "Menu \021E7";} 425 426 &:before { 427 content: "Menu \021E7"; 428 } 397 429 398 430 ul { … … 483 515 label, 484 516 option { 517 485 518 @include font-size(14); 486 519 } … … 501 534 502 535 .bp-user { 536 503 537 #buddypress { 538 504 539 div#subnav.item-list-tabs { 540 505 541 li.last { 506 542 margin-left: 0; … … 528 564 529 565 body.bp-user { 566 530 567 #buddypress { 531 568 … … 573 610 margin: 0 0 0 (-$spacing-val-md); 574 611 575 ul {margin-top: 0;} 612 ul { 613 margin-top: 0; 614 } 576 615 } 577 616 } … … 586 625 587 626 @include medium-up { 627 588 628 #main { 629 589 630 #buddypress { 590 631 … … 617 658 border: 1px solid $border-med; 618 659 border-bottom-color: $content-background; 660 619 661 @include border-top-radius(4px); 620 662 margin-bottom: -1px; … … 631 673 632 674 #subnav { 675 633 676 ul { 634 677 border-bottom: 0; … … 658 701 } 659 702 660 .pag-count {margin-left: 0;} 703 .pag-count { 704 margin-left: 0; 705 } 706 661 707 .pagination-links { 662 708 margin-right: 0; … … 675 721 overflow: visible; 676 722 width: auto; 677 &:before {display: none;} 723 724 &:before { 725 display: none; 726 } 678 727 } 679 728 … … 706 755 707 756 #buddypress { 757 708 758 ul.item-list { 709 759 border-top: 0; … … 722 772 text-align: center; 723 773 724 a {border-bottom: 0;} 774 a { 775 border-bottom: 0; 776 } 725 777 726 778 img.avatar { … … 761 813 762 814 .item-title { 815 763 816 @include font-size(16); 764 817 line-height: 1.2; … … 774 827 text-decoration: none; 775 828 776 &:visited { color: #21759b;} 829 &:visited { 830 color: #21759b; 831 } 777 832 } 778 833 779 834 .update { 780 835 display: block; 836 781 837 @include font-size(12); 782 838 783 839 @include medium-up { 840 784 841 @include font-size(14); 785 842 } … … 793 850 794 851 @include medium-up { 852 795 853 .item-avatar, 796 854 .item, … … 806 864 807 865 .item-title { 808 @include font-size(18) 866 867 @include font-size(18); 809 868 } 810 869 } … … 881 940 882 941 #buddypress { 942 883 943 form#whats-new-form { 884 944 … … 891 951 892 952 @include max650 { 953 893 954 #whats-new-content { 894 955 clear: left; … … 899 960 900 961 #whats-new-content.active { 962 901 963 #whats-new-options[style] { 964 902 965 #whats-new-post-in-box { 903 966 border: 1px solid rgba($border-color, 0.5); 904 967 float: left; 968 905 969 @include font-size(12); 906 970 line-height: 1.6; … … 921 985 922 986 @media screen and (min-width: 30em) { 987 923 988 #whats-new-post-in-box { 924 989 width: auto; … … 926 991 927 992 #whats-new-submit { 993 928 994 @include font-size(12); 929 995 float: right; … … 942 1008 // User account form requires matching bp default specificity 943 1009 #item-body { 1010 944 1011 form#whats-new-form { 945 1012 margin: $spacing-val-lg 0; … … 964 1031 965 1032 &.load-newest { 1033 966 1034 a { 967 1035 display: block; … … 993 1061 994 1062 .activity-header { 1063 995 1064 @include font-size(14); 996 1065 … … 1001 1070 1002 1071 .activity-inner { 1003 img {height: auto;} 1072 1073 img { 1074 height: auto; 1075 } 1004 1076 } 1005 1077 … … 1021 1093 1022 1094 .activity-header { 1095 1023 1096 @include font-size(16); 1024 1097 } … … 1034 1107 1035 1108 li.mini { 1109 1036 1110 .activity-avatar { 1111 1037 1112 a { 1113 1038 1114 img.avatar { 1039 1115 height: 30px; … … 1045 1121 1046 1122 .activity-content { 1123 1047 1124 .activity-header { 1125 1048 1126 @include font-size(14); 1049 1127 } 1050 1128 1051 1129 .activity-meta { 1130 1052 1131 a { 1132 1053 1133 @include font-size(12); 1054 1134 } … … 1077 1157 1078 1158 .activity-meta { 1159 1079 1160 a { 1080 1161 display: block; 1162 1081 1163 @include font-size(14); 1082 1164 margin-bottom: $spacing-val-xs; … … 1115 1197 1116 1198 .activity-permalink { 1199 1117 1200 #buddypress { 1201 1118 1202 #activity-stream { 1119 1203 … … 1123 1207 1124 1208 li.mini { 1209 1125 1210 .activity-header { 1211 1126 1212 @include font-size(16); 1213 1127 1214 @include medium-up { 1215 1128 1216 @include font-size(20); 1129 1217 } 1130 1218 1131 1219 margin-bottom: $spacing-val-lg; 1132 p {padding: $spacing-val-md;} 1220 1221 p { 1222 padding: $spacing-val-md; 1223 } 1133 1224 } 1134 1225 } // close li.mini … … 1166 1257 .acomment-meta, 1167 1258 .acomment-content { 1259 1168 1260 @include font-size(12); 1169 1261 } … … 1184 1276 display: inline-block; 1185 1277 font-family: inherit; 1278 1186 1279 @include font-size(12); 1187 font-weight: normal;1280 font-weight: 400; 1188 1281 line-height: 1.2; 1189 1282 padding: 4px 10px; … … 1217 1310 1218 1311 #buddypress { 1312 1219 1313 #members-list { 1220 1314 1221 1315 @include medium-up { 1316 1222 1317 li { 1318 1223 1319 .item-avatar, 1224 1320 .item { … … 1248 1344 1249 1345 #buddypress { 1346 1250 1347 #signup_form.standard-form { 1251 1348 … … 1256 1353 width: 100%; 1257 1354 1258 @media screen and (min-width: 37.5 00em) {1355 @media screen and (min-width: 37.5em) { 1259 1356 width: 48%; 1260 1357 } 1261 1358 } 1262 1359 1263 @media screen and (min-width: 37.500em) { 1264 #profile-details-section {float: right;} 1265 #basic-details-section {float: left;} 1360 @media screen and (min-width: 37.5em) { 1361 1362 #profile-details-section { 1363 float: right; 1364 } 1365 1366 #basic-details-section { 1367 float: left; 1368 } 1266 1369 } 1267 1370 … … 1276 1379 1277 1380 .bp-user { 1381 1278 1382 #buddypress { 1279 // On object nav links, table links (notifications etc) we don't really need :visited1280 // inheritance, so set pseudo class to :link color.1383 // On object nav links, table links (notifications etc) we don't really 1384 // need :visited inheritance, so set pseudo class to :link color. 1281 1385 a { 1386 1282 1387 &:visited { 1283 1388 color: #21759b; … … 1295 1400 .bp-user, 1296 1401 .single-item.groups { 1402 1297 1403 #buddypress { 1404 1298 1405 #item-header-content { 1406 1299 1407 #item-meta { 1408 1300 1409 @include font-size(14); 1301 1410 text-align: left; 1302 1411 1303 p {margin-bottom: 0.5em;} 1304 } 1305 } 1306 } 1307 1308 @media screen and (max-width: 37.500em) { 1412 p { 1413 margin-bottom: 0.5em; 1414 } 1415 } 1416 } 1417 } 1418 1419 @media screen and (max-width: 37.5em) { 1420 1309 1421 h1, 1310 1422 #item-header-content { … … 1314 1426 1315 1427 @media screen and (max-width: 46.25em) { 1428 1316 1429 main { 1430 1317 1431 header.entry-header { 1318 1432 padding-bottom: 1rem; … … 1322 1436 1323 1437 #buddypress { 1324 @media screen and (max-width: 37.500em) { 1438 1439 @media screen and (max-width: 37.5em) { 1440 1325 1441 h1 { 1326 1442 margin-bottom: 0; … … 1328 1444 1329 1445 #item-header-avatar { 1446 1330 1447 img.avatar { 1331 1448 margin-right: 0; … … 1343 1460 1344 1461 @media screen and (max-width: 46.25em) { 1462 1345 1463 #item-header { 1464 1346 1465 .generic-button { 1347 1466 float: none; 1348 margin: 1.5em 0 0 0;1467 margin: 1.5em 0 0; 1349 1468 } 1350 1469 } … … 1356 1475 // Manage cover images 1357 1476 @include max800 { 1477 1358 1478 #buddypress { 1479 1359 1480 #item-header-cover-image { 1481 1360 1482 #item-header-content { 1483 1361 1484 .user-nicename { 1362 1485 color: #555; … … 1377 1500 1378 1501 .single-item.groups { 1502 1379 1503 #buddypress { 1504 1380 1505 @media screen and (max-width: 46.25em) { 1506 1381 1507 #item-header { 1508 1382 1509 #item-meta { 1383 1510 margin-bottom: $spacing-val-md; … … 1389 1516 // avatar first after group title 1390 1517 @media screen and (max-width: 50em) { 1518 1391 1519 div#item-header { 1392 1520 display: flex; … … 1426 1554 1427 1555 #item-header-content { 1556 1428 1557 @include box-model(border-box); 1429 1558 } … … 1451 1580 1452 1581 h2 { 1582 1453 1583 @include font-size(14); 1454 font-weight: bold;1584 font-weight: 700; 1455 1585 line-height: 1.4; 1456 1586 } … … 1458 1588 #group-admins, 1459 1589 #group-mods { 1590 1460 1591 li { 1461 1592 margin: 0; … … 1485 1616 1486 1617 @media screen and (min-width: 64em) { 1618 1487 1619 #item-header-content { 1488 1620 width: 40%; … … 1492 1624 } // close #buddypress 1493 1625 1494 // These rules handle the specific instance of Cover Images on single groups1495 // activated & attempt to address positioning concerns arising from themes1496 // breakpoints.1497 // Due to cover image styles being applied via embedded styles & thus carrying1498 // heavier weight than linked stylesthe use of !important to override may be required.1626 // These rules handle the specific instance of Cover Images on single 1627 // groups activated & attempt to address positioning concerns arising 1628 // from themes breakpoints. Due to cover image styles being applied via 1629 // embedded styles & thus carrying heavier weight than linked styles 1630 // the use of !important to override may be required. 1499 1631 #buddypress { 1632 1500 1633 #cover-image-container { 1634 1501 1635 #item-header-cover-image { 1502 1636 … … 1506 1640 1507 1641 @media screen and (min-width: 50em) and (max-width: 60em) { 1642 1508 1643 #item-header-content { 1509 1644 max-width: 60% !important; … … 1522 1657 width: auto; 1523 1658 1524 h2 {border-bottom: 1px solid $border-light;} 1659 h2 { 1660 border-bottom: 1px solid $border-light; 1661 } 1525 1662 } 1526 1663 } // @media … … 1540 1677 1541 1678 .bp-user { 1679 1542 1680 #buddypress { 1681 1543 1682 #item-header { 1544 1683 … … 1555 1694 1556 1695 #item-header-content { 1696 1557 1697 #item-buttons { 1698 1558 1699 .generic-button { 1559 1700 margin-right: 5px; … … 1563 1704 1564 1705 @include medium-up { 1706 1565 1707 #item-header-avatar { 1566 1708 float: left; … … 1606 1748 // headings settings screens & general global settings styles 1607 1749 .groups { 1750 1608 1751 #group-settings-form { 1752 1609 1753 h3 { 1610 1754 background: $dark-background; … … 1616 1760 1617 1761 .groups.edit-details { 1762 1618 1763 #group-settings-form { 1619 1764 … … 1627 1772 background: none; 1628 1773 color: inherit; 1774 1629 1775 @include font-size(14); 1630 1776 width: auto; … … 1640 1786 1641 1787 .groups.group-settings { 1788 1642 1789 #group-settings-form { 1643 1790 1644 1791 div.radio label { 1645 font-weight: bold;1792 font-weight: 700; 1646 1793 padding: 0.2em; 1647 1794 1648 1795 ul { 1649 1796 color: rgba($body-text, 0.6); 1797 1650 1798 @include font-size(14); 1651 1799 } … … 1664 1812 1665 1813 .groups.manage-members { 1814 1666 1815 #group-settings-form { 1816 1667 1817 .item-list { 1818 1668 1819 li { 1669 1820 border-bottom: 1px solid $border-light; … … 1671 1822 img, 1672 1823 h5 { 1824 1673 1825 @include medium-up { 1674 1826 float: left; 1675 1827 } 1676 1828 1677 > a {border-bottom: 0;} 1829 > a { 1830 border-bottom: 0; 1831 } 1678 1832 } 1679 1833 … … 1712 1866 // Massage the members search for groups nav specifically. 1713 1867 .groups.group-members { 1868 1714 1869 #subnav { 1870 1715 1871 li { 1872 1716 1873 @include max450 { 1717 1874 background: $content-background; … … 1725 1882 1726 1883 label { 1884 1727 1885 input[type="text"] { 1728 1886 box-shadow: none; … … 1758 1916 1759 1917 table { 1760 th {@include font-size(13)} 1761 td {@include font-size(12)} 1918 1919 th { 1920 1921 @include font-size(13); 1922 } 1923 1924 td { 1925 1926 @include font-size(12); 1927 } 1762 1928 1763 1929 @include medium-up { 1764 th {@include font-size(16)} 1765 td {@include font-size(14)} 1766 } 1767 } 1768 1769 .pag-count {font-style: italic;} 1930 1931 th { 1932 1933 @include font-size(16); 1934 } 1935 1936 td { 1937 1938 @include font-size(14); 1939 } 1940 } 1941 } 1942 1943 .pag-count { 1944 font-style: italic; 1945 } 1770 1946 1771 1947 .notifications-options-nav, … … 1774 1950 width: 100%; 1775 1951 1776 @media screen and (min-width: 37.5 00em) {1952 @media screen and (min-width: 37.5em) { 1777 1953 width: 40%; 1778 1954 } … … 1780 1956 select, 1781 1957 input { 1958 1782 1959 @include font-size(14); 1783 1960 outline: 0; … … 1790 1967 width: 49%; 1791 1968 1792 @media screen and (min-width: 37.5 00em) {1969 @media screen and (min-width: 37.5em) { 1793 1970 width: auto; 1794 1971 } … … 1802 1979 width: 50%; 1803 1980 1804 @media screen and (min-width: 37.5 00em) {1981 @media screen and (min-width: 37.5em) { 1805 1982 width: auto; 1806 1983 } … … 1828 2005 1829 2006 .profile { 2007 1830 2008 .bp-widget { 2009 1831 2010 h2 { 1832 2011 background: lighten($dark-background, 10%); … … 1836 2015 } 1837 2016 1838 table {margin-top: 0;} 2017 table { 2018 margin-top: 0; 2019 } 1839 2020 } 1840 2021 … … 1842 2023 1843 2024 #profile-edit-form { 2025 1844 2026 .button-nav:before, 1845 2027 .button-nav:after { … … 1870 2052 background: none; 1871 2053 border: 0; 1872 @include font-size(18) 2054 2055 @include font-size(18); 1873 2056 } 1874 2057 } //.button-nav … … 1880 2063 .field-visibility-settings-toggle, 1881 2064 .field-visibility-settings { 2065 1882 2066 @include font-size(14); 1883 2067 } … … 1886 2070 .visibility-toggle-link { 1887 2071 background: lighten($dark-background, 10%); 2072 1888 2073 @include border-radius(2px); 1889 2074 color: #eee; 1890 font-weight: bold;2075 font-weight: 700; 1891 2076 padding: 0.1em 0.5em; 1892 2077 text-decoration: none; … … 1900 2085 1901 2086 .bp-avatar { 2087 1902 2088 #bp-delete-avatar { 1903 a {font-size: inherit; } 2089 2090 a { 2091 font-size: inherit; 2092 } 1904 2093 } 1905 2094 } … … 1947 2136 .message-metadata { 1948 2137 1949 &: :after {2138 &:after { 1950 2139 clear: both; 1951 2140 content: ""; … … 1958 2147 1959 2148 @media screen and (min-width: 46.25em) { 2149 1960 2150 img.avatar { 1961 2151 float: left; … … 1978 2168 1979 2169 #send-reply { 2170 1980 2171 .message-content { 1981 2172 background: $content-background; … … 1988 2179 } 1989 2180 1990 .bp-tooltip:hover: :after,1991 .bp-tooltip:active: :after,1992 .bp-tooltip:focus: :after {2181 .bp-tooltip:hover:after, 2182 .bp-tooltip:active:after, 2183 .bp-tooltip:focus:after { 1993 2184 right: 40px; 1994 2185 text-align: right; … … 2000 2191 2001 2192 thead { 2193 2002 2194 tr { 2003 2195 background: lighten($dark-background, 10%); … … 2006 2198 2007 2199 tr { 2200 2008 2201 td { 2009 2202 background: $content-background; … … 2034 2227 2035 2228 span.icon:before { 2229 2036 2230 @include font-size(14); 2037 2231 } … … 2042 2236 height: 3em; 2043 2237 2044 @media screen and (max-width: 37.5 00em) {2238 @media screen and (max-width: 37.5em) { 2045 2239 height: 5.2em; 2046 2240 } … … 2050 2244 td.thread-options { 2051 2245 border-left: 0 !important; 2246 2052 2247 @include calc(width, "100% - 30px"); 2053 2248 margin-left: 0; … … 2063 2258 2064 2259 a { 2260 2065 2261 @include font-size(12); 2066 2262 line-height: 1.2; … … 2077 2273 line-height: 2; 2078 2274 2079 @media screen and (max-width: 37.5 00em) {2275 @media screen and (max-width: 37.5em) { 2080 2276 clear: both; 2277 2081 2278 @include font-size(11); 2082 2279 width: 100%; … … 2086 2283 2087 2284 tr.unread { 2285 2088 2286 td { 2089 2287 border-color: $border-light; … … 2110 2308 2111 2309 #send_message_form { 2310 2112 2311 input, 2113 2312 textarea { … … 2119 2318 list-style: none; 2120 2319 2121 li {margin-left: 0;} 2320 li { 2321 margin-left: 0; 2322 } 2122 2323 2123 2324 li.friend-tab { … … 2154 2355 2155 2356 #message-threads.sitewide-notices { 2156 tr {margin: 3em 0;} 2357 2358 tr { 2359 margin: 3em 0; 2360 } 2361 2157 2362 td { 2158 2363 width: 100%; … … 2182 2387 2183 2388 td:nth-child(2) { 2389 2184 2390 strong { 2185 2391 margin: -8px -8px 8px; … … 2209 2415 } 2210 2416 2211 a:last-child: :after {2417 a:last-child:after { 2212 2418 content: attr(title); 2213 2419 display: block; … … 2233 2439 } 2234 2440 2235 img { vertical-align: bottom;} 2441 img { 2442 vertical-align: bottom; 2443 } 2236 2444 2237 2445 } … … 2254 2462 // 'p' = email notification screen sub heading 2255 2463 > p { 2464 2256 2465 @include font-size(20); 2257 2466 margin: $spacing-val-md 0 $spacing-val-sm; … … 2260 2469 2261 2470 table.notification-settings { 2471 2262 2472 td.yes, 2263 2473 td.no { … … 2276 2486 2277 2487 @media screen and (min-width: 46.25em) { 2488 2278 2489 th.field-group-name, 2279 2490 td.field-name { … … 2288 2499 2289 2500 td.field-visibility { 2290 select {width: 100%;} 2501 2502 select { 2503 width: 100%; 2504 } 2291 2505 } 2292 2506 } … … 2311 2525 // Attempt to reset form control widths 2312 2526 #main { 2527 2313 2528 #buddypress { 2529 2314 2530 .standard-form { 2315 2531 2316 li {float: none;} 2317 input[type='text'], 2318 input[type='email'], 2319 input[type='password'], 2532 li { 2533 float: none; 2534 } 2535 2536 input[type="text"], 2537 input[type="email"], 2538 input[type="password"], 2320 2539 textarea { 2321 2540 width: 100%; … … 2333 2552 2334 2553 form { 2554 2335 2555 .ac-textarea { 2336 2556 background: $light-background; … … 2361 2581 2362 2582 #signup_form.standard-form { 2583 2363 2584 div.submit { 2364 2585 float: none; 2365 2586 2366 input {margin-right: 0;} 2587 input { 2588 margin-right: 0; 2589 } 2367 2590 } 2368 2591 } … … 2371 2594 2372 2595 #buddypress { 2596 2373 2597 div.dir-search, 2374 2598 div.message-search, … … 2386 2610 } 2387 2611 2388 input[type= 'text'],2389 input[type= 'submit'] {2612 input[type="text"], 2613 input[type="submit"] { 2390 2614 border: 0; 2391 2615 border-radius: 0; 2392 2616 box-shadow: none; 2393 2617 box-sizing: border-box; 2618 2394 2619 @include font-size(14); 2395 2620 line-height: 1.8; … … 2397 2622 } 2398 2623 2399 input[type= 'text'] {2624 input[type="text"] { 2400 2625 border-right: 1px solid rgba($border-color, 0.6); 2401 2626 float: left; 2402 2627 margin: 0; 2403 padding: 0 0.2em 0;2628 padding: 0 0.2em; 2404 2629 width: 70%; 2405 2630 } 2406 2631 2407 input[type= 'submit'] {2632 input[type="submit"] { 2408 2633 float: right; 2409 font-weight: normal;2634 font-weight: 400; 2410 2635 padding: 0 1em; 2411 2636 text-align: center; … … 2419 2644 // Shift the search parent to the right and allow to shrinkwrap 2420 2645 2421 @media screen and (min-width: 37.500em) { 2646 @media screen and (min-width: 37.5em) { 2647 2422 2648 div.dir-search, 2423 2649 div.message-search, … … 2427 2653 2428 2654 form { 2655 2429 2656 label, 2430 input[type= 'text'],2431 input[type= 'submit'] {2657 input[type="text"], 2658 input[type="submit"] { 2432 2659 width: auto; 2433 2660 } … … 2442 2669 .dir-search, 2443 2670 .message-search { 2671 2444 2672 form { 2445 input[type='text'] { @include font-size(16) ;} 2446 input[type='submit'] { @include font-size(16) ;} 2673 2674 input[type="text"] { 2675 2676 @include font-size(16); 2677 } 2678 2679 input[type="submit"] { 2680 2681 @include font-size(16); 2682 } 2447 2683 } 2448 2684 } … … 2457 2693 */ 2458 2694 .bp-user { 2695 2459 2696 #buddypress { 2460 2697 2461 2698 table { 2699 2462 2700 @include font-size(14); 2463 2701 margin: $spacing-val-md 0; … … 2467 2705 border-color: darken($border-light, 20%); 2468 2706 color: $content-background; 2707 2469 2708 @include font-size(16); 2470 2709 padding: 0 8px; … … 2477 2716 2478 2717 // Reduce the themes inherited paragraph margins in tables 2479 p {margin-bottom: 0.5em;} 2718 p { 2719 margin-bottom: 0.5em; 2720 } 2480 2721 } 2481 2722 2482 2723 @media screen and (min-width: 55em) { 2483 table {@include font-size(16);} 2724 2725 table { 2726 2727 @include font-size(16); 2728 } 2484 2729 } 2485 2730 … … 2487 2732 .notifications, 2488 2733 .messages-notices { 2734 2489 2735 th { 2490 2736 width: 30%; … … 2519 2765 // styling issues - this will need styling ideas 2520 2766 td { 2767 2521 2768 .button { 2522 2769 border: 0; … … 2531 2778 .messages-notices { 2532 2779 2533 .bp-tooltip:hover: :after,2534 .bp-tooltip:active: :after,2535 .bp-tooltip:focus: :after {2780 .bp-tooltip:hover:after, 2781 .bp-tooltip:active:after, 2782 .bp-tooltip:focus:after { 2536 2783 left: 0; 2537 2784 margin-top: 10px; … … 2557 2804 2558 2805 #buddypress { 2806 2559 2807 div#message { 2808 2560 2809 p { 2810 2561 2811 @include font-size(18); 2562 font-weight: bold;2812 font-weight: 700; 2563 2813 } 2564 2814 2565 2815 &.info { 2816 2566 2817 p { 2818 2567 2819 @include message-box($notice-info); 2568 2820 } … … 2570 2822 2571 2823 &.updated { 2824 2572 2825 p { 2826 2573 2827 @include message-box($notice-update); 2574 2828 } … … 2581 2835 // Without direct classes on our mesages ( 'warning' ) 2582 2836 // we need to use the body classes 2583 // todo: If thisis class .warning is included in main BP styles remove from here2837 // @todo If this class .warning is included in main BP styles remove from here 2584 2838 .delete-group { 2839 2585 2840 #buddypress { 2841 2586 2842 div#message.info { 2843 2587 2844 p { 2845 2588 2846 @include message-box($notice-warning); 2589 2847 }
Note: See TracChangeset
for help on using the changeset viewer.