Changeset 11587 for trunk/src/bp-templates/bp-legacy/css/twentytwelve.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/twentytwelve.scss
r11586 r11587 15 15 // 2012 works two breakpoints 600px/960px 16 16 17 // @media screen and (min-width: 37.5 00em)17 // @media screen and (min-width: 37.5em) 18 18 // @media screen and (min-width: 61.5625em) 19 20 19 21 20 … … 37 36 // 600px 38 37 @mixin small-up { 39 @media screen and (min-width: 37.500em) { 38 39 @media screen and (min-width: 37.5em) { 40 40 41 @content; 41 42 } … … 43 44 // 960px 44 45 @mixin medium-up { 46 45 47 @media screen and (min-width: 60em) { 48 46 49 @content; 47 50 } … … 49 52 // 1200px 50 53 @mixin large-up { 54 51 55 @media screen and (min-width: 75em) { 56 52 57 @content; 53 58 } … … 175 180 $unread: #9dc3c8; 176 181 $link-action: #c82b2b; 182 177 183 /*-------------------------------------------------------------- 178 184 … … 187 193 in your child themes root & either start over or modify the rulesets. 188 194 189 If you do not require the styles you can dequeue them from the themes functions file. 195 If you do not require the styles you can dequeue them from the themes 196 functions file. 190 197 191 198 Please see this codex article for more information: … … 238 245 239 246 240 241 247 .buddypress { 242 248 // Remove any empty clearing elements, CSS provides clearing. 243 div.clear {display: none;} 249 div.clear { 250 display: none; 251 } 244 252 245 253 } // .buddypress (body class) … … 268 276 // active/current states all navs 269 277 div.item-list-tabs { 278 270 279 ul { 280 271 281 li.selected, 272 282 li.current { 283 273 284 a { 274 285 background: inherit; … … 280 291 // global nav styles 281 292 div.item-list-tabs { 293 282 294 ul { 283 295 overflow: hidden; … … 285 297 286 298 li { 299 287 300 a { 288 301 … … 296 309 } 297 310 298 span {border-radius: 25%;} 311 span { 312 border-radius: 25%; 313 } 299 314 } 300 315 … … 334 349 &:hover, 335 350 &:focus { 336 &:before {content: "Menu \021E7";} 351 352 &:before { 353 content: "Menu \021E7"; 354 } 337 355 338 356 ul { … … 365 383 } 366 384 367 @media screen and (max-width: 37.500em) { 385 @media screen and (max-width: 37.5em) { 386 368 387 li:not(:last-child) { 369 388 border-bottom: 1px solid $border-light; … … 373 392 li:not(.selected) { 374 393 375 @media screen and (max-width: 37.500em) { 394 @media screen and (max-width: 37.5em) { 395 376 396 &:focus, 377 397 &:hover { … … 381 401 } 382 402 383 @media screen and (min-width: 37.500em) { 403 @media screen and (min-width: 37.5em) { 404 384 405 li { 385 406 float: left; … … 422 443 label, 423 444 option { 445 424 446 @include font-size(14); 425 447 } … … 440 462 441 463 .bp-user { 464 442 465 #buddypress { 466 443 467 div#subnav.item-list-tabs { 468 444 469 li.last { 445 470 margin-left: 0; … … 467 492 468 493 body.full-width { 494 469 495 #buddypress { 470 496 … … 508 534 margin: 0 0 0 (-$spacing-val-md); 509 535 510 ul {margin-top: 0;} 536 ul { 537 margin-top: 0; 538 } 511 539 } 512 540 } … … 521 549 522 550 @media screen and (min-width: 46.25em) { 551 523 552 #main { 553 524 554 #buddypress { 525 555 … … 552 582 border: 1px solid $border-med; 553 583 border-bottom-color: $content-background; 584 554 585 @include border-top-radius(4px); 555 586 margin-bottom: -1px; … … 566 597 567 598 #subnav { 599 568 600 ul { 569 601 border-bottom: 0; … … 593 625 } 594 626 595 .pag-count {margin-left: 0;} 627 .pag-count { 628 margin-left: 0; 629 } 630 596 631 .pagination-links { 597 632 margin-right: 0; … … 610 645 overflow: visible; 611 646 width: auto; 612 &:before {display: none;} 647 648 &:before { 649 display: none; 650 } 613 651 } 614 652 … … 641 679 642 680 #buddypress { 681 643 682 ul.item-list { 644 683 border-top: 0; … … 651 690 margin-bottom: $spacing-val-sm; 652 691 653 @media screen and (min-width: 37.5 00em) {692 @media screen and (min-width: 37.5em) { 654 693 margin-bottom: 0; 655 694 } … … 657 696 text-align: center; 658 697 659 a {border-bottom: 0;} 698 a { 699 border-bottom: 0; 700 } 660 701 661 702 img.avatar { … … 701 742 702 743 .item-title { 744 703 745 @include font-size(16); 704 746 line-height: 1.2; … … 714 756 text-decoration: none; 715 757 716 &:visited { color: #21759b;} 758 &:visited { 759 color: #21759b; 760 } 717 761 } 718 762 719 763 .update { 720 764 display: block; 765 721 766 @include font-size(12); 722 767 723 768 @include medium-up { 769 724 770 @include font-size(14); 725 771 } … … 733 779 734 780 @include medium-up { 781 735 782 .item-avatar, 736 783 .item, … … 746 793 747 794 .item-title { 748 @include font-size(18) 795 796 @include font-size(18); 749 797 } 750 798 } … … 783 831 //position but inline-block the buttons 784 832 785 @media screen and (min-width: 37.5 00em) {833 @media screen and (min-width: 37.5em) { 786 834 // keep buttons to a row small tablet up 787 835 margin: 0 $spacing-val-sm $spacing-val-sm 0; … … 821 869 822 870 #buddypress { 871 823 872 form#whats-new-form { 824 873 … … 831 880 832 881 @media screen and (max-width: 46.25em) { 882 833 883 #whats-new-content { 834 884 clear: left; … … 839 889 840 890 #whats-new-content.active { 891 841 892 #whats-new-options[style] { 893 842 894 #whats-new-post-in-box { 843 895 border: 1px solid rgba($border-color, 0.5); 844 896 float: left; 845 line-height: 1.5 em;897 line-height: 1.5; 846 898 margin-top: 12px; 847 899 padding-left: 0.2em; … … 859 911 860 912 @media screen and (min-width: 30em) { 913 861 914 #whats-new-post-in-box { 862 915 width: auto; … … 879 932 // User account form requires matching bp default specificity 880 933 #item-body { 934 881 935 form#whats-new-form { 882 936 margin: $spacing-val-lg 0; … … 924 978 925 979 .activity-header { 980 926 981 @include font-size(14); 927 982 … … 932 987 933 988 .activity-inner { 934 img {height: auto;} 989 990 img { 991 height: auto; 992 } 935 993 } 936 994 … … 952 1010 953 1011 .activity-header { 1012 954 1013 @include font-size(16); 955 1014 } … … 965 1024 966 1025 li.mini { 1026 967 1027 .activity-avatar { 1028 968 1029 a { 1030 969 1031 img.avatar { 970 1032 height: 30px; … … 976 1038 977 1039 .activity-content { 1040 978 1041 .activity-header { 1042 979 1043 @include font-size(14); 980 1044 } 981 1045 982 1046 .activity-meta { 1047 983 1048 a { 1049 984 1050 @include font-size(12); 985 1051 } … … 1008 1074 1009 1075 .activity-meta { 1076 1010 1077 a { 1011 1078 display: block; 1079 1012 1080 @include font-size(14); 1013 1081 margin-bottom: $spacing-val-xs; 1014 1082 1015 @media screen and (min-width: 37.5 00em) {1083 @media screen and (min-width: 37.5em) { 1016 1084 float: left; 1017 1085 margin-bottom: 0; … … 1046 1114 1047 1115 .activity-permalink { 1116 1048 1117 #buddypress { 1118 1049 1119 #activity-stream { 1050 1120 … … 1054 1124 1055 1125 li.mini { 1126 1056 1127 .activity-header { 1128 1057 1129 @include font-size(16); 1130 1058 1131 @media screen and (min-width: 46.25em) { 1132 1059 1133 @include font-size(20); 1060 1134 } 1061 1135 1062 1136 margin-bottom: $spacing-val-lg; 1063 p {padding: $spacing-val-md;} 1137 1138 p { 1139 padding: $spacing-val-md; 1140 } 1064 1141 } 1065 1142 } // close li.mini … … 1097 1174 .acomment-meta, 1098 1175 .acomment-content { 1176 1099 1177 @include font-size(12); 1100 1178 } … … 1118 1196 display: inline-block; 1119 1197 font-family: inherit; 1198 1120 1199 @include font-size(12); 1121 font-weight: normal;1200 font-weight: 400; 1122 1201 line-height: 1.2; 1123 1202 padding: 4px 10px; … … 1151 1230 1152 1231 #buddypress { 1232 1153 1233 #members-list { 1154 1234 1155 1235 @include medium-up { 1236 1156 1237 li { 1238 1157 1239 .item-avatar, 1158 1240 .item { … … 1182 1264 1183 1265 #buddypress { 1266 1184 1267 #signup_form.standard-form { 1185 1268 … … 1190 1273 width: 100%; 1191 1274 1192 @media screen and (min-width: 37.5 00em) {1275 @media screen and (min-width: 37.5em) { 1193 1276 width: 48%; 1194 1277 } 1195 1278 } 1196 1279 1197 @media screen and (min-width: 37.500em) { 1198 #profile-details-section {float: right;} 1199 #basic-details-section {float: left;} 1280 @media screen and (min-width: 37.5em) { 1281 1282 #profile-details-section { 1283 float: right; 1284 } 1285 1286 #basic-details-section { 1287 float: left; 1288 } 1200 1289 } 1201 1290 … … 1210 1299 1211 1300 .bp-user { 1301 1212 1302 #buddypress { 1213 // On object nav links, table links (notifications etc) we don't really need :visited1214 // inheritance, so set pseudo class to :link color.1303 // On object nav links, table links (notifications etc) we don't really 1304 // need :visited inheritance, so set pseudo class to :link color. 1215 1305 a { 1306 1216 1307 &:visited { 1217 1308 color: #21759b; … … 1229 1320 .bp-user, 1230 1321 .single-item.groups { 1322 1231 1323 #buddypress { 1324 1232 1325 #item-header-content { 1326 1233 1327 #item-meta { 1328 1234 1329 @include font-size(14); 1235 1330 text-align: left; 1236 1331 1237 p {margin-bottom: 0.5em;} 1238 } 1239 } 1240 } 1241 1242 @media screen and (max-width: 37.500em) { 1332 p { 1333 margin-bottom: 0.5em; 1334 } 1335 } 1336 } 1337 } 1338 1339 @media screen and (max-width: 37.5em) { 1340 1243 1341 h1, 1244 1342 #item-header-content { … … 1248 1346 1249 1347 @media screen and (max-width: 46.25em) { 1348 1250 1349 main { 1350 1251 1351 header.entry-header { 1252 1352 padding-bottom: 1rem; … … 1256 1356 1257 1357 #buddypress { 1258 @media screen and (max-width: 37.500em) { 1358 1359 @media screen and (max-width: 37.5em) { 1360 1259 1361 h1 { 1260 1362 margin-bottom: 0; … … 1262 1364 1263 1365 #item-header-avatar { 1366 1264 1367 img.avatar { 1265 1368 margin-right: 0; … … 1273 1376 1274 1377 @media screen and (max-width: 46.25em) { 1378 1275 1379 #item-header { 1380 1276 1381 .generic-button { 1277 1382 float: none; 1278 margin: 1.5em 0 0 0;1383 margin: 1.5em 0 0; 1279 1384 } 1280 1385 } … … 1293 1398 1294 1399 .single-item.groups { 1400 1295 1401 #buddypress { 1402 1296 1403 @media screen and (max-width: 46.25em) { 1404 1297 1405 #item-header { 1406 1298 1407 #item-meta { 1299 1408 margin-bottom: $spacing-val-md; … … 1305 1414 // avatar first after group title 1306 1415 @media screen and (max-width: 50em) { 1416 1307 1417 div#item-header { 1308 1418 display: flex; … … 1342 1452 1343 1453 #item-header-content { 1454 1344 1455 @include box-model(border-box); 1345 1456 } … … 1367 1478 1368 1479 h2 { 1480 1369 1481 @include font-size(14); 1370 1482 padding: 0.2em; … … 1373 1485 #group-admins, 1374 1486 #group-mods { 1487 1375 1488 li { 1376 1489 margin: 0; … … 1400 1513 1401 1514 @media screen and (min-width: 64em) { 1515 1402 1516 #item-header-content { 1403 1517 width: 40%; … … 1410 1524 // activated & attempt to address positioning concerns arising from themes 1411 1525 // breakpoints. 1412 // Due to cover image styles being applied via embedded styles & thus carrying 1413 // heavier weight than linked styles the use of !important to override may be required. 1526 // Due to cover image styles being applied via embedded styles & thus 1527 // carrying heavier weight than linked styles the use of !important to 1528 // override may be required. 1414 1529 #buddypress { 1530 1415 1531 #cover-image-container { 1532 1416 1533 #item-header-cover-image { 1417 1534 … … 1421 1538 1422 1539 @media screen and (min-width: 50em) and (max-width: 60em) { 1540 1423 1541 #item-header-content { 1424 1542 max-width: 60% !important; … … 1437 1555 width: auto; 1438 1556 1439 h2 {border-bottom: 1px solid $border-light;} 1557 h2 { 1558 border-bottom: 1px solid $border-light; 1559 } 1440 1560 } 1441 1561 } // @media … … 1457 1577 1458 1578 .bp-user { 1579 1459 1580 #buddypress { 1581 1460 1582 #item-header { 1461 1583 padding: $spacing-val-md 0; … … 1473 1595 1474 1596 #item-header-content { 1597 1475 1598 #item-buttons { 1599 1476 1600 .generic-button { 1477 1601 margin-right: 5px; … … 1481 1605 1482 1606 @media screen and (min-width: 46.25em) { 1607 1483 1608 #item-header-avatar { 1484 1609 float: left; … … 1524 1649 // headings settings screens & general global settings styles 1525 1650 .groups { 1651 1526 1652 #group-settings-form { 1653 1527 1654 h3 { 1528 1655 background: $dark-background; … … 1534 1661 1535 1662 .groups.edit-details { 1663 1536 1664 #group-settings-form { 1537 1665 … … 1545 1673 background: none; 1546 1674 color: inherit; 1675 1547 1676 @include font-size(14); 1548 1677 width: auto; … … 1558 1687 1559 1688 .groups.group-settings { 1689 1560 1690 #group-settings-form { 1561 1691 … … 1566 1696 ul { 1567 1697 color: rgba($body-text, 0.6); 1698 1568 1699 @include font-size(14); 1569 1700 } … … 1582 1713 1583 1714 .groups.manage-members { 1715 1584 1716 #group-settings-form { 1717 1585 1718 .item-list { 1719 1586 1720 li { 1587 1721 border-bottom: 1px solid $border-light; … … 1591 1725 float: left; 1592 1726 1593 > a {border-bottom: 0;} 1727 > a { 1728 border-bottom: 0; 1729 } 1594 1730 } 1595 1731 … … 1605 1741 width: 100%; 1606 1742 1607 @media screen and (min-width: 37.5 00em) {1743 @media screen and (min-width: 37.5em) { 1608 1744 width: auto; 1609 1745 } … … 1628 1764 // Massage the members search for groups nav specifically. 1629 1765 .groups.group-members { 1766 1630 1767 #subnav { 1768 1631 1769 li { 1632 @media screen and (max-width: 37.500em) { 1770 1771 @media screen and (max-width: 37.5em) { 1633 1772 background: $content-background; 1634 1773 padding: $spacing-val-md 0; … … 1640 1779 float: right; 1641 1780 1642 @media screen and (max-width: 37.5 00em) {1781 @media screen and (max-width: 37.5em) { 1643 1782 margin: 0; 1644 1783 width: 100%; 1645 1784 1646 1785 label { 1647 input[type="text"] {width: 100%;} 1786 1787 input[type="text"] { 1788 width: 100%; 1789 } 1648 1790 } 1649 1791 } … … 1664 1806 1665 1807 .bp-user { 1666 .entry-title {margin-bottom: 0.5em;} 1808 1809 .entry-title { 1810 margin-bottom: 0.5em; 1811 } 1667 1812 } 1668 1813 … … 1677 1822 1678 1823 table { 1679 th {@include font-size(13)} 1680 td {@include font-size(12)} 1824 1825 th { 1826 1827 @include font-size(13); 1828 } 1829 1830 td { 1831 1832 @include font-size(12); 1833 } 1681 1834 1682 1835 @include medium-up { 1683 th {@include font-size(16)} 1684 td {@include font-size(14)} 1685 } 1686 } 1687 1688 .pag-count {font-style: italic;} 1836 1837 th { 1838 1839 @include font-size(16); 1840 } 1841 1842 td { 1843 1844 @include font-size(14); 1845 } 1846 } 1847 } 1848 1849 .pag-count { 1850 font-style: italic; 1851 } 1689 1852 1690 1853 .notifications-options-nav, … … 1693 1856 width: 100%; 1694 1857 1695 @media screen and (min-width: 37.5 00em) {1858 @media screen and (min-width: 37.5em) { 1696 1859 width: 40%; 1697 1860 } … … 1699 1862 select, 1700 1863 input { 1864 1701 1865 @include font-size(14); 1702 1866 outline: 0; … … 1709 1873 width: 49%; 1710 1874 1711 @media screen and (min-width: 37.5 00em) {1875 @media screen and (min-width: 37.5em) { 1712 1876 width: auto; 1713 1877 } … … 1721 1885 width: 50%; 1722 1886 1723 @media screen and (min-width: 37.5 00em) {1887 @media screen and (min-width: 37.5em) { 1724 1888 width: auto; 1725 1889 } … … 1747 1911 1748 1912 .profile { 1913 1749 1914 .bp-widget { 1915 1750 1916 h2 { 1751 1917 background: lighten($dark-background, 10%); … … 1755 1921 } 1756 1922 1757 table {margin-top: 0;} 1758 } 1923 table { 1924 margin-top: 0; 1925 } 1926 } 1927 1759 1928 /* Edit profile */ 1760 1929 1761 1930 #profile-edit-form { 1931 1762 1932 .button-nav:before, 1763 1933 .button-nav:after { … … 1788 1958 background: none; 1789 1959 border: 0; 1790 @include font-size(18) 1960 1961 @include font-size(18); 1791 1962 } 1792 1963 } //.button-nav … … 1798 1969 .field-visibility-settings-toggle, 1799 1970 .field-visibility-settings { 1971 1800 1972 @include font-size(14); 1801 1973 } … … 1804 1976 .visibility-toggle-link { 1805 1977 background: lighten($dark-background, 10%); 1978 1806 1979 @include border-radius(2px); 1807 1980 color: #f1f1f1; 1808 font-weight: bold;1981 font-weight: 700; 1809 1982 padding: 0.1em 0.5em; 1810 1983 text-decoration: none; … … 1818 1991 1819 1992 .bp-avatar { 1993 1820 1994 #bp-delete-avatar { 1821 a {font-size: inherit; } 1995 1996 a { 1997 font-size: inherit; 1998 } 1822 1999 } 1823 2000 } … … 1838 2015 1839 2016 #groups-list { 2017 1840 2018 li { 2019 1841 2020 .item { 2021 1842 2022 @media screen and (min-width: 77.5em) { 1843 2023 left: 5%; … … 1888 2068 .message-metadata { 1889 2069 1890 &: :after {2070 &:after { 1891 2071 clear: both; 1892 2072 content: ""; … … 1899 2079 1900 2080 @media screen and (min-width: 46.25em) { 2081 1901 2082 img.avatar { 1902 2083 float: left; … … 1919 2100 1920 2101 #send-reply { 2102 1921 2103 .message-content { 1922 2104 background: $content-background; … … 1929 2111 } 1930 2112 1931 .bp-tooltip:hover: :after,1932 .bp-tooltip:active: :after,1933 .bp-tooltip:focus: :after {2113 .bp-tooltip:hover:after, 2114 .bp-tooltip:active:after, 2115 .bp-tooltip:focus:after { 1934 2116 right: 40px; 1935 2117 text-align: right; … … 1941 2123 1942 2124 thead { 2125 1943 2126 tr { 1944 2127 background: lighten($dark-background, 10%); … … 1947 2130 1948 2131 tr { 2132 1949 2133 td { 1950 2134 background: $content-background; … … 1975 2159 1976 2160 span.icon:before { 2161 1977 2162 @include font-size(14); 1978 2163 } … … 1983 2168 height: 3em; 1984 2169 1985 @media screen and (max-width: 37.5 00em) {2170 @media screen and (max-width: 37.5em) { 1986 2171 height: 5.2em; 1987 2172 } … … 1991 2176 td.thread-options { 1992 2177 border-left: 0 !important; 2178 1993 2179 @include calc(width, "100% - 30px"); 1994 2180 margin-left: 0; … … 2004 2190 2005 2191 a { 2192 2006 2193 @include font-size(12); 2007 2194 line-height: 1.2; … … 2018 2205 line-height: 2; 2019 2206 2020 @media screen and (max-width: 37.5 00em) {2207 @media screen and (max-width: 37.5em) { 2021 2208 clear: both; 2209 2022 2210 @include font-size(11); 2023 2211 width: 100%; … … 2027 2215 2028 2216 tr.unread { 2217 2029 2218 td { 2030 2219 border-color: $border-light; … … 2051 2240 2052 2241 #send_message_form { 2242 2053 2243 input, 2054 2244 textarea { … … 2060 2250 list-style: none; 2061 2251 2062 li {margin-left: 0;} 2252 li { 2253 margin-left: 0; 2254 } 2063 2255 2064 2256 li.friend-tab { … … 2095 2287 2096 2288 #message-threads.sitewide-notices { 2097 tr {margin: 3em 0;} 2289 2290 tr { 2291 margin: 3em 0; 2292 } 2293 2098 2294 td { 2099 2295 width: 100%; … … 2123 2319 2124 2320 td:nth-child(2) { 2321 2125 2322 strong { 2126 2323 margin: -8px -8px 8px; … … 2150 2347 } 2151 2348 2152 a:last-child: :after {2349 a:last-child:after { 2153 2350 content: attr(title); 2154 2351 display: block; … … 2174 2371 } 2175 2372 2176 img { vertical-align: bottom;} 2373 img { 2374 vertical-align: bottom; 2375 } 2177 2376 2178 2377 } … … 2195 2394 // 'p' = email notification screen sub heading 2196 2395 > p { 2396 2197 2397 @include font-size(20); 2198 2398 margin: $spacing-val-md 0 $spacing-val-sm; … … 2201 2401 2202 2402 table.notification-settings { 2403 2203 2404 td.yes, 2204 2405 td.no { … … 2217 2418 2218 2419 @media screen and (min-width: 46.25em) { 2420 2219 2421 th.field-group-name, 2220 2422 td.field-name { … … 2229 2431 2230 2432 td.field-visibility { 2231 select {width: 100%;} 2433 2434 select { 2435 width: 100%; 2436 } 2232 2437 } 2233 2438 } … … 2252 2457 // Attempt to reset form control widths 2253 2458 #main { 2459 2254 2460 #buddypress { 2461 2255 2462 .standard-form { 2256 2463 2257 li {float: none;} 2258 input[type='text'], 2259 input[type='email'], 2260 input[type='password'], 2464 li { 2465 float: none; 2466 } 2467 2468 input[type="text"], 2469 input[type="email"], 2470 input[type="password"], 2261 2471 textarea { 2262 2472 width: 100%; … … 2274 2484 2275 2485 form { 2486 2276 2487 .ac-textarea { 2277 2488 background: $light-background; … … 2302 2513 2303 2514 #signup_form.standard-form { 2515 2304 2516 div.submit { 2305 2517 float: none; 2306 2518 2307 input {margin-right: 0;} 2519 input { 2520 margin-right: 0; 2521 } 2308 2522 } 2309 2523 } … … 2312 2526 2313 2527 #buddypress { 2528 2314 2529 div.dir-search, 2315 2530 div.message-search, … … 2330 2545 } 2331 2546 2332 input[type='text'], 2333 input[type='submit'] { 2547 input[type="text"], 2548 input[type="submit"] { 2549 2334 2550 @include font-size(14); 2335 2551 border: 0; … … 2339 2555 } 2340 2556 2341 input[type= 'text'] {2557 input[type="text"] { 2342 2558 border-right: 1px solid rgba($border-color, 0.6); 2343 2559 float: left; 2344 2560 margin: 0; 2345 padding: 0 0.2em 0;2561 padding: 0 0.2em; 2346 2562 width: 100%; 2347 2563 } 2348 2564 2349 input[type= 'submit'] {2565 input[type="submit"] { 2350 2566 float: right; 2351 font-weight: normal;2567 font-weight: 400; 2352 2568 padding: 0 1em; 2353 2569 text-align: center; … … 2361 2577 // Shift the search parent to the right and allow to shrinkwrap 2362 2578 2363 @media screen and (min-width: 37.500em) { 2579 @media screen and (min-width: 37.5em) { 2580 2364 2581 div.dir-search, 2365 2582 div.message-search, 2366 2583 li.groups-members-search { 2584 2367 2585 float: right; 2368 2586 margin-bottom: 5px !important; 2369 2587 2370 2588 form { 2589 2371 2590 label, 2372 input[type= 'text'],2373 input[type= 'submit'] {2591 input[type="text"], 2592 input[type="submit"] { 2374 2593 width: auto; 2375 2594 } … … 2384 2603 .dir-search, 2385 2604 .message-search { 2605 2386 2606 form { 2387 input[type='text'] { @include font-size(16) ;} 2388 input[type='submit'] { @include font-size(16) ;} 2607 2608 input[type="text"] { 2609 2610 @include font-size(16) ; 2611 } 2612 2613 input[type="submit"] { 2614 2615 @include font-size(16) ; 2616 } 2389 2617 } 2390 2618 } … … 2399 2627 */ 2400 2628 .bp-user { 2629 2401 2630 #buddypress { 2402 2631 2403 2632 table { 2633 2404 2634 @include font-size(14); 2405 2635 margin: $spacing-val-md 0; … … 2417 2647 2418 2648 // Reduce the themes inherited paragraph margins in tables 2419 p {margin-bottom: 0.5em;} 2649 p { 2650 margin-bottom: 0.5em; 2651 } 2420 2652 } 2421 2653 2422 2654 @media screen and (min-width: 55em) { 2423 table {@include font-size(16);} 2655 2656 table { 2657 2658 @include font-size(16); 2659 } 2424 2660 } 2425 2661 … … 2427 2663 .notifications, 2428 2664 .messages-notices { 2665 2429 2666 th { 2430 2667 width: 30%; … … 2459 2696 // styling issues - this will need styling ideas 2460 2697 td { 2698 2461 2699 .button { 2462 2700 border: 0; … … 2471 2709 .messages-notices { 2472 2710 2473 .bp-tooltip:hover: :after,2474 .bp-tooltip:active: :after,2475 .bp-tooltip:focus: :after {2711 .bp-tooltip:hover:after, 2712 .bp-tooltip:active:after, 2713 .bp-tooltip:focus:after { 2476 2714 left: 0; 2477 2715 margin-top: 10px; … … 2497 2735 2498 2736 #buddypress { 2737 2499 2738 div#message { 2739 2500 2740 p { 2741 2501 2742 @include font-size(18); 2502 font-weight: bold;2743 font-weight: 700; 2503 2744 } 2504 2745 2505 2746 &.info { 2747 2506 2748 p { 2749 2507 2750 @include message-box($notice-info); 2508 2751 } … … 2510 2753 2511 2754 &.updated { 2755 2512 2756 p { 2757 2513 2758 @include message-box($notice-update); 2514 2759 } … … 2521 2766 // Without direct classes on our mesages ( 'warning' ) 2522 2767 // we need to use the body classes 2523 // todo: If thisis class .warning is included in main BP styles remove from here2768 // @todo If this class .warning is included in main BP styles remove from here 2524 2769 .delete-group { 2770 2525 2771 #buddypress { 2772 2526 2773 div#message.info { 2774 2527 2775 p { 2776 2528 2777 @include message-box($notice-warning); 2529 2778 }
Note: See TracChangeset
for help on using the changeset viewer.