Ticket #7338: 7338-03.patch
| File 7338-03.patch, 28.7 KB (added by , 9 years ago) |
|---|
-
src/bp-templates/bp-legacy/css/twentyseventeen-rtl.css
92 92 } 93 93 } 94 94 95 .buddypress article.page .entry-header .entry-title { 96 font-size: 22px; 97 font-size: 1.375rem; 98 } 99 100 @media screen and (min-width: 55em) { 101 .buddypress article.page .entry-header .entry-title { 102 font-size: 28px; 103 font-size: 1.75rem; 104 } 105 } 106 107 @media screen and (min-width: 55em) { 95 @media screen and (min-width: 48em) { 108 96 body.buddypress.page.page-two-column #primary .entry-header { 109 width: 20%;97 width: 30%; 110 98 } 111 99 body.buddypress.page.page-two-column #primary .entry-content { 112 width: 80%;100 width: 68%; 113 101 } 114 102 body.buddypress:not(.has-sidebar) #primary.content-area, 115 103 body.buddypress:not(.page-two-column) #primary.content-area { … … 150 138 } 151 139 152 140 #buddypress div.item-list-tabs ul { 153 background-color: #faf 9f1;141 background-color: #fafafa; 154 142 border-bottom: 1px solid rgba(234, 234, 234, 0.9); 155 143 border-top: 1px solid rgba(234, 234, 234, 0.9); 156 144 overflow: hidden; … … 167 155 168 156 @media screen and (max-width: 38.75em) { 169 157 .bp-user #buddypress #object-nav { 170 background: #faf 9f1;158 background: #fafafa; 171 159 border: 1px solid #eaeaea; 172 160 overflow: visible; 173 161 padding: 10px; … … 346 334 #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, 347 335 #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { 348 336 background: none; 349 color: # 141412;337 color: #333; 350 338 outline: none; 351 339 } 352 340 #main #buddypress #subnav ul { … … 557 545 width: 100%; 558 546 } 559 547 560 @media screen and (min-width: 48em) {548 @media screen and (min-width: 30em) { 561 549 #buddypress ul.item-list li div.action div { 562 550 margin: 0 0 10px 10px; 563 551 width: auto; … … 599 587 } 600 588 601 589 #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { 602 border: 1px solid rgba( 212, 208, 186, 0.5);590 border: 1px solid rgba(190, 190, 190, 0.5); 603 591 float: right; 604 592 line-height: 1.5em; 605 593 margin-top: 12px; … … 726 714 margin-bottom: 5px; 727 715 } 728 716 729 @media screen and (min-width: 3 8.75em) {717 @media screen and (min-width: 30em) { 730 718 #buddypress #activity-stream .activity-content .activity-meta a { 731 719 display: inline-block; 732 720 margin-bottom: 0; 721 width: auto; 733 722 } 734 723 } 735 724 … … 800 789 801 790 #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], 802 791 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 803 color: rgba( 20, 20, 18, 0.8);792 color: rgba(51, 51, 51, 0.8); 804 793 display: inline-block; 805 794 font-family: inherit; 806 795 font-size: 12px; … … 813 802 } 814 803 815 804 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 816 border: 1px solid rgba( 212, 208, 186, 0.7);805 border: 1px solid rgba(190, 190, 190, 0.7); 817 806 text-align: center; 818 807 } 819 808 … … 1120 1109 } 1121 1110 1122 1111 .groups.group-settings #group-settings-form div.radio label ul { 1123 color: rgba( 20, 20, 18, 0.6);1112 color: rgba(51, 51, 51, 0.6); 1124 1113 font-size: 14px; 1125 1114 font-size: 0.875rem; 1126 1115 } … … 1254 1243 } 1255 1244 1256 1245 .bp-user #buddypress .notifications-options-nav { 1257 border: 1px solid rgba( 212, 208, 186, 0.5);1246 border: 1px solid rgba(190, 190, 190, 0.5); 1258 1247 float: right; 1259 1248 width: 100%; 1260 1249 } … … 1434 1423 } 1435 1424 1436 1425 .bp-user #buddypress #message-threads thead tr { 1437 background: #6f6f6f; 1426 background: none; 1427 border-bottom: 1px solid #bebebe; 1438 1428 } 1439 1429 1430 .bp-user #buddypress #message-threads thead tr th { 1431 background: #555; 1432 } 1433 1434 .bp-user #buddypress #message-threads tr { 1435 border-bottom: 5px solid #878787; 1436 } 1437 1440 1438 .bp-user #buddypress #message-threads tr td { 1441 1439 background: #fff; 1442 1440 display: inline-block; … … 1445 1443 1446 1444 .bp-user #buddypress #message-threads tr td.thread-star, 1447 1445 .bp-user #buddypress #message-threads tr td.thread-options { 1448 border-bottom-color: # ccc;1449 border-bottom-width: 2px;1446 border-bottom-color: #bebebe; 1447 border-bottom-width: 1px; 1450 1448 height: 2.4em; 1451 1449 padding-bottom: 0.2em; 1452 1450 padding-top: 0.2em; … … 1459 1457 } 1460 1458 } 1461 1459 1460 .bp-user #buddypress #message-threads tr td.bulk-select-check, 1461 .bp-user #buddypress #message-threads tr td.thread-star, 1462 .bp-user #buddypress #message-threads tr td.thread-from, 1463 .bp-user #buddypress #message-threads tr td.thread-info, 1464 .bp-user #buddypress #message-threads tr td.thread-options { 1465 border-top: 0; 1466 } 1467 1462 1468 .bp-user #buddypress #message-threads tr td.thread-star { 1463 1469 vertical-align: middle; 1464 1470 } … … 1529 1535 } 1530 1536 1531 1537 .bp-user #buddypress #message-threads tr.unread td { 1532 background: #eee;1533 border-color: # d4d0ba;1538 background: none; 1539 border-color: #bebebe; 1534 1540 } 1535 1541 1536 1542 .bp-user #buddypress #message-threads th { … … 1717 1723 1718 1724 #buddypress div.activity-comments form .ac-textarea { 1719 1725 background: #f7f7f7; 1720 border: 1px solid rgba( 212, 208, 186, 0.5);1726 border: 1px solid rgba(190, 190, 190, 0.5); 1721 1727 } 1722 1728 1723 1729 #buddypress div.activity-comments form .ac-textarea textarea { … … 1735 1741 #buddypress .standard-form button, 1736 1742 #buddypress .standard-form select, 1737 1743 #buddypress .standard-form textarea { 1738 border-color: rgba( 212, 208, 186, 0.5);1744 border-color: rgba(190, 190, 190, 0.5); 1739 1745 border-width: 1px; 1740 1746 } 1741 1747 … … 1761 1767 #buddypress div.dir-search form, 1762 1768 #buddypress div.message-search form, 1763 1769 #buddypress li.groups-members-search form { 1764 border: 1px solid rgba( 212, 208, 186, 0.6);1770 border: 1px solid rgba(190, 190, 190, 0.6); 1765 1771 overflow: hidden; 1766 1772 } 1767 1773 … … 1795 1801 #buddypress div.dir-search form input[type='text'], 1796 1802 #buddypress div.message-search form input[type='text'], 1797 1803 #buddypress li.groups-members-search form input[type='text'] { 1798 border-left: 1px solid rgba( 212, 208, 186, 0.6);1804 border-left: 1px solid rgba(190, 190, 190, 0.6); 1799 1805 padding: 0.2em 0.2em 0.2em 0; 1800 1806 } 1801 1807 … … 1855 1861 } 1856 1862 1857 1863 #buddypress table tr th { 1858 background: # 6f6f6f;1859 border-color: # b7b7b7;1860 color: # fff;1864 background: #f7f7f7; 1865 border-color: #eaeaea; 1866 color: #333; 1861 1867 } 1862 1868 1863 1869 #buddypress table p { -
src/bp-templates/bp-legacy/css/twentyseventeen.css
92 92 } 93 93 } 94 94 95 .buddypress article.page .entry-header .entry-title { 96 font-size: 22px; 97 font-size: 1.375rem; 98 } 99 100 @media screen and (min-width: 55em) { 101 .buddypress article.page .entry-header .entry-title { 102 font-size: 28px; 103 font-size: 1.75rem; 104 } 105 } 106 107 @media screen and (min-width: 55em) { 95 @media screen and (min-width: 48em) { 108 96 body.buddypress.page.page-two-column #primary .entry-header { 109 width: 20%;97 width: 30%; 110 98 } 111 99 body.buddypress.page.page-two-column #primary .entry-content { 112 width: 80%;100 width: 68%; 113 101 } 114 102 body.buddypress:not(.has-sidebar) #primary.content-area, 115 103 body.buddypress:not(.page-two-column) #primary.content-area { … … 150 138 } 151 139 152 140 #buddypress div.item-list-tabs ul { 153 background-color: #faf 9f1;141 background-color: #fafafa; 154 142 border-bottom: 1px solid rgba(234, 234, 234, 0.9); 155 143 border-top: 1px solid rgba(234, 234, 234, 0.9); 156 144 overflow: hidden; … … 157 145 padding: 0; 158 146 } 159 147 160 #buddypress div.item-list-tabs ul li a {161 color: #0073c1;162 }163 164 148 #buddypress div.item-list-tabs ul li a span { 165 149 border-radius: 25%; 166 150 } 167 151 168 @media screen and (max-width: 38.75em) {169 .bp-user #buddypress #object-nav {170 background: #faf9f1;171 border: 1px solid #eaeaea;172 overflow: visible;173 padding: 10px;174 }175 .bp-user #buddypress #object-nav ul {176 border: 0;177 height: 0;178 transition: height 0.3s ease-in-out 0.7s;179 visibility: hidden;180 }181 .bp-user #buddypress #object-nav:before {182 content: "Menu \021E9";183 display: inline;184 opacity: 0.7;185 }186 .bp-user #buddypress #object-nav:hover:before, .bp-user #buddypress #object-nav:focus:before {187 content: "Menu \021E7";188 }189 .bp-user #buddypress #object-nav:hover ul, .bp-user #buddypress #object-nav:focus ul {190 height: 320px;191 opacity: 1;192 overflow-y: auto;193 visibility: visible;194 }195 .bp-user #buddypress #subnav {196 clear: both;197 }198 }199 200 152 /*__ Horizontal menus __*/ 201 153 #buddypress #object-nav ul { 202 154 overflow: hidden; … … 273 225 274 226 /*__ Vertical menu User Account / Group single screens __*/ 275 227 @media screen and (min-width: 55em) { 276 body .no-sidebar#buddypress #item-header,277 body .no-sidebar#buddypress #item-body {228 body:not(.page-two-column) #buddypress #item-header, 229 body:not(.page-two-column) #buddypress #item-body { 278 230 background: #fff; 279 231 } 280 body .no-sidebar#buddypress #object-nav {232 body:not(.page-two-column) #buddypress #object-nav { 281 233 border-right: 1px solid #ddd; 282 234 float: left; 283 235 margin-right: -1px; 284 236 width: 200px; 285 237 } 286 body .no-sidebar#buddypress #object-nav ul {238 body:not(.page-two-column) #buddypress #object-nav ul { 287 239 background: none; 288 240 border-bottom: 0; 289 241 padding: 0; 290 242 } 291 body .no-sidebar#buddypress #object-nav ul li {243 body:not(.page-two-column) #buddypress #object-nav ul li { 292 244 float: none; 293 245 overflow: hidden; 294 246 } 295 body .no-sidebar#buddypress #object-nav ul li span {247 body:not(.page-two-column) #buddypress #object-nav ul li span { 296 248 background: #fff; 297 249 border-radius: 10%; 298 250 float: right; 299 251 margin-right: 2px; 300 252 } 301 body .no-sidebar#buddypress #item-body {253 body:not(.page-two-column) #buddypress #item-body { 302 254 border-left: 1px solid #ddd; 303 255 overflow: hidden; 304 256 padding: 0 0 0 20px; 305 257 width: auto; 306 258 } 307 body .no-sidebar#buddypress #item-body #subnav {259 body:not(.page-two-column) #buddypress #item-body #subnav { 308 260 margin: 0 0 0 -20px; 309 261 } 310 body .no-sidebar#buddypress #item-body #subnav ul {262 body:not(.page-two-column) #buddypress #item-body #subnav ul { 311 263 margin-top: 0; 312 264 } 313 265 } … … 346 298 #main #buddypress #group-create-tabs.item-list-tabs ul li.selected a, 347 299 #main #buddypress #group-create-tabs.item-list-tabs ul li.current a { 348 300 background: none; 349 color: # 141412;301 color: #333; 350 302 outline: none; 351 303 } 352 304 #main #buddypress #subnav ul { … … 557 509 width: 100%; 558 510 } 559 511 560 @media screen and (min-width: 48em) {512 @media screen and (min-width: 30em) { 561 513 #buddypress ul.item-list li div.action div { 562 514 margin: 0 10px 10px 0; 563 515 width: auto; … … 599 551 } 600 552 601 553 #buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box { 602 border: 1px solid rgba( 212, 208, 186, 0.5);554 border: 1px solid rgba(190, 190, 190, 0.5); 603 555 float: left; 604 556 line-height: 1.5em; 605 557 margin-top: 12px; … … 704 656 } 705 657 706 658 #buddypress #activity-stream .activity-content .activity-header { 707 line-height: inherit;708 659 margin-right: 0; 709 660 } 710 661 … … 717 668 } 718 669 719 670 #buddypress #activity-stream .activity-content .activity-header img.avatar { 671 box-shadow: none; 720 672 display: inline-block; 721 margin-bottom: 0 !important; 673 margin: 0 5px !important; 674 vertical-align: middle; 722 675 } 723 676 724 677 #buddypress #activity-stream .activity-content .activity-meta a { … … 726 679 margin-bottom: 5px; 727 680 } 728 681 729 @media screen and (min-width: 3 8.75em) {682 @media screen and (min-width: 30em) { 730 683 #buddypress #activity-stream .activity-content .activity-meta a { 731 684 display: inline-block; 732 685 margin-bottom: 0; 686 width: auto; 733 687 } 734 688 } 735 689 … … 781 735 */ 782 736 #buddypress #activity-stream .activity-comments { 783 737 border-left: 1px solid #eaeaea; 784 margin -top: 5px;738 margin: 20px 0 20px; 785 739 } 786 740 741 @media screen and (min-width: 30em) { 742 #buddypress #activity-stream .activity-comments { 743 margin-left: 20px; 744 } 745 } 746 747 @media screen and (min-width: 55em) { 748 #buddypress #activity-stream .activity-comments { 749 margin-left: 40px; 750 } 751 } 752 787 753 #buddypress #activity-stream .activity-comments ul { 788 background: rgba(247, 247, 247, 0.6);789 754 color: #737373; 790 755 margin: 15px 0 0 2px; 791 756 } … … 800 765 801 766 #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], 802 767 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 803 color: rgba( 20, 20, 18, 0.8);768 color: rgba(51, 51, 51, 0.8); 804 769 display: inline-block; 805 770 font-family: inherit; 806 771 font-size: 12px; … … 813 778 } 814 779 815 780 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 816 border: 1px solid rgba( 212, 208, 186, 0.7);781 border: 1px solid rgba(190, 190, 190, 0.7); 817 782 text-align: center; 818 783 } 819 784 … … 880 845 * @subsection 6.1 - Item Header Global 881 846 *----------------------------------------------------------- 882 847 */ 848 @media screen and (min-width: 48em) { 849 .bp-user.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { 850 margin-left: 140px; 851 margin-top: -100px; 852 } 853 .single-item.groups.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { 854 margin-left: 10px; 855 } 856 } 857 858 .bp-user #buddypress #item-header-cover-image .user-nicename, 859 .single-item.groups #buddypress #item-header-cover-image .user-nicename { 860 color: #333; 861 text-shadow: none; 862 } 863 864 @media screen and (min-width: 48em) { 865 .bp-user #buddypress #item-header-cover-image .user-nicename, 866 .single-item.groups #buddypress #item-header-cover-image .user-nicename { 867 color: #fff; 868 text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); 869 } 870 } 871 883 872 .bp-user #buddypress #item-header-content #item-meta, 884 873 .single-item.groups #buddypress #item-header-content #item-meta { 885 874 font-size: 14px; … … 1120 1109 } 1121 1110 1122 1111 .groups.group-settings #group-settings-form div.radio label ul { 1123 color: rgba( 20, 20, 18, 0.6);1112 color: rgba(51, 51, 51, 0.6); 1124 1113 font-size: 14px; 1125 1114 font-size: 0.875rem; 1126 1115 } … … 1253 1242 font-style: italic; 1254 1243 } 1255 1244 1256 .bp-user #buddypress .notifications-options-nav {1257 border: 1px solid rgba(212, 208, 186, 0.5); 1245 .bp-user #buddypress .notifications-options-nav, 1246 .bp-user #buddypress .messages-options-nav { 1258 1247 float: left; 1259 1248 width: 100%; 1260 1249 } 1261 1250 1262 1251 @media screen and (min-width: 38.75em) { 1263 .bp-user #buddypress .notifications-options-nav { 1252 .bp-user #buddypress .notifications-options-nav, 1253 .bp-user #buddypress .messages-options-nav { 1264 1254 width: 300px; 1265 1255 } 1266 1256 } 1267 1257 1268 .bp-user #buddypress .notifications-options-nav select { 1258 .bp-user #buddypress .notifications-options-nav select, 1259 .bp-user #buddypress .messages-options-nav select { 1269 1260 height: auto; 1270 1261 } 1271 1262 1272 1263 .bp-user #buddypress .notifications-options-nav select, 1273 .bp-user #buddypress .notifications-options-nav input { 1274 border: 0; 1264 .bp-user #buddypress .notifications-options-nav input, 1265 .bp-user #buddypress .messages-options-nav select, 1266 .bp-user #buddypress .messages-options-nav input { 1275 1267 font-size: 14px; 1276 1268 font-size: 0.875rem; 1277 1269 outline: 0; … … 1278 1270 padding: 0; 1279 1271 } 1280 1272 1281 .bp-user #buddypress .notifications-options-nav select { 1273 .bp-user #buddypress .notifications-options-nav select, 1274 .bp-user #buddypress .messages-options-nav select { 1282 1275 float: left; 1283 margin-right: 0;1284 width: 60%;1276 margin-right: 1%; 1277 width: 59%; 1285 1278 } 1286 1279 1287 .bp-user #buddypress .notifications-options-nav input { 1280 .bp-user #buddypress .notifications-options-nav input, 1281 .bp-user #buddypress .messages-options-nav input { 1288 1282 float: right; 1289 1283 font-family: inherit; 1290 1284 line-height: 20px; … … 1291 1285 width: 40%; 1292 1286 } 1293 1287 1288 .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, 1289 .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, 1290 .bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, 1291 .bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { 1292 background: none; 1293 } 1294 1294 1295 /** 1295 1296 *------------------------------------------- 1296 1297 * @subsection 6.2.2.2 - Extended Profiles … … 1311 1312 margin-top: 0; 1312 1313 } 1313 1314 1315 .bp-user #buddypress .profile .bp-widget .profile-fields tr:last-child { 1316 border-bottom: none; 1317 } 1318 1314 1319 .bp-user #buddypress .profile #profile-edit-form .button-nav:before, 1315 1320 .bp-user #buddypress .profile #profile-edit-form .button-nav:after { 1316 1321 content: " "; … … 1434 1439 } 1435 1440 1436 1441 .bp-user #buddypress #message-threads thead tr { 1437 background: #6f6f6f; 1442 background: none; 1443 border-bottom: 1px solid #bebebe; 1438 1444 } 1439 1445 1446 .bp-user #buddypress #message-threads thead tr th { 1447 background: #555; 1448 } 1449 1450 .bp-user #buddypress #message-threads tr { 1451 border-bottom: 5px solid #878787; 1452 } 1453 1440 1454 .bp-user #buddypress #message-threads tr td { 1441 1455 background: #fff; 1442 1456 display: inline-block; … … 1445 1459 1446 1460 .bp-user #buddypress #message-threads tr td.thread-star, 1447 1461 .bp-user #buddypress #message-threads tr td.thread-options { 1448 border-bottom-color: # ccc;1449 border-bottom-width: 2px;1462 border-bottom-color: #bebebe; 1463 border-bottom-width: 1px; 1450 1464 height: 2.4em; 1451 1465 padding-bottom: 0.2em; 1452 1466 padding-top: 0.2em; … … 1459 1473 } 1460 1474 } 1461 1475 1476 .bp-user #buddypress #message-threads tr td.bulk-select-check, 1477 .bp-user #buddypress #message-threads tr td.thread-star, 1478 .bp-user #buddypress #message-threads tr td.thread-from, 1479 .bp-user #buddypress #message-threads tr td.thread-info, 1480 .bp-user #buddypress #message-threads tr td.thread-options { 1481 border-top: 0; 1482 } 1483 1462 1484 .bp-user #buddypress #message-threads tr td.thread-star { 1463 1485 vertical-align: middle; 1464 1486 } … … 1529 1551 } 1530 1552 1531 1553 .bp-user #buddypress #message-threads tr.unread td { 1532 background: #eee;1533 border-color: # d4d0ba;1554 background: none; 1555 border-color: #bebebe; 1534 1556 } 1535 1557 1536 1558 .bp-user #buddypress #message-threads th { … … 1550 1572 width: 30px; 1551 1573 } 1552 1574 1553 .bp-user #buddypress .messages-options-nav select {1554 height: auto;1555 }1556 1557 1575 .bp-user #buddypress .acfb-holder { 1558 1576 list-style: none; 1559 1577 } … … 1717 1735 1718 1736 #buddypress div.activity-comments form .ac-textarea { 1719 1737 background: #f7f7f7; 1720 border: 1px solid rgba( 212, 208, 186, 0.5);1738 border: 1px solid rgba(190, 190, 190, 0.5); 1721 1739 } 1722 1740 1723 1741 #buddypress div.activity-comments form .ac-textarea textarea { … … 1735 1753 #buddypress .standard-form button, 1736 1754 #buddypress .standard-form select, 1737 1755 #buddypress .standard-form textarea { 1738 border-color: rgba( 212, 208, 186, 0.5);1756 border-color: rgba(190, 190, 190, 0.5); 1739 1757 border-width: 1px; 1740 1758 } 1741 1759 … … 1761 1779 #buddypress div.dir-search form, 1762 1780 #buddypress div.message-search form, 1763 1781 #buddypress li.groups-members-search form { 1764 border: 1px solid rgba( 212, 208, 186, 0.6);1782 border: 1px solid rgba(190, 190, 190, 0.6); 1765 1783 overflow: hidden; 1766 1784 } 1767 1785 … … 1795 1813 #buddypress div.dir-search form input[type='text'], 1796 1814 #buddypress div.message-search form input[type='text'], 1797 1815 #buddypress li.groups-members-search form input[type='text'] { 1798 border-right: 1px solid rgba( 212, 208, 186, 0.6);1816 border-right: 1px solid rgba(190, 190, 190, 0.6); 1799 1817 padding: 0.2em 0 0.2em 0.2em; 1800 1818 } 1801 1819 … … 1855 1873 } 1856 1874 1857 1875 #buddypress table tr th { 1858 background: # 6f6f6f;1859 border-color: # b7b7b7;1860 color: # fff;1876 background: #f7f7f7; 1877 border-color: #eaeaea; 1878 color: #333; 1861 1879 } 1862 1880 1863 1881 #buddypress table p { … … 1914 1932 text-align: center; 1915 1933 } 1916 1934 1935 #buddypress .notifications .actions { 1936 text-align: center; 1937 } 1938 1917 1939 /** 1918 1940 *------------------------------------------------------------------------------- 1919 1941 * @section 9.0 - Error / Success messages -
src/bp-templates/bp-legacy/css/twentyseventeen.scss
192 192 } 193 193 194 194 // Variables: color definitions 195 $body-text: #141412; 195 196 $dark-grey: #555; 197 $medium-grey: #878787; 198 $light-grey: #dcdcdc; 199 $x-light-grey: #f7f7f7; 200 $white: #fff; 201 202 $body-text: #333; 203 $bp-light-text: $medium-grey; 196 204 $content-background: #fff; 197 $off-white: lighten(#f9f8ee, 0.7);205 $off-white: #fafafa; 198 206 $cream-background: #f7f5e7; 199 $light-background: #f7f7f7;200 $medium-background: #ccc;201 $dark-background: #555;202 $border-color: # d4d0ba; // border color is varied using rgba207 $light-background: $x-light-grey; 208 $medium-background: $medium-grey; 209 $dark-background: $dark-grey; 210 $border-color: #bebebe; 203 211 $border-light: #eaeaea; // BP dividers 204 212 $border-med: #ddd; 205 213 $background-hover: #db572f; // 2017 link background hover … … 210 218 $notice-update: #ced98c; 211 219 $stripe-odd: #ebf0ff; 212 220 $stripe-even: #dbe5ff; 213 $unread: #eee;221 $unread: $x-light-grey; 214 222 $link-action: #c82b2b; 215 223 /*-------------------------------------------------------------- 216 224 … … 310 318 } 311 319 } 312 320 } 313 // 2017 has very small page entry title headings314 // enlarge slightly for BP screens.315 .buddypress {316 article.page {317 .entry-header {318 .entry-title {319 @include font-size(22);320 321 321 @include medium-up {322 @include font-size(28);323 }324 }325 }326 }327 }328 329 322 // Open up the content width areas for BP screens to allow max widths. 330 // This takes into account the ability to add/remove sidebars in 2017.323 // This takes into account the ability to columnize pages in 2017. 331 324 // Only effect changes based on breakpoints. 332 325 333 @include med ium-up {326 @include med-small-up { 334 327 335 328 body.buddypress.page.page-two-column { 336 329 … … 337 330 #primary { 338 331 339 332 .entry-header { 340 width: 20%;333 width: 30%; 341 334 } 342 335 343 336 .entry-content { 344 width: 80%;337 width: 68%; 345 338 } 346 339 } 347 340 } … … 357 350 .content-bottom-widgets { 358 351 margin-left: 0; 359 352 margin-right: 0; 360 // width: auto;361 353 } 362 354 } 363 355 … … 418 410 li { 419 411 420 412 a { 421 color: #0073c1;413 //color: #0073c1; 422 414 423 415 span {border-radius: 25%;} 424 416 } … … 428 420 429 421 } // close #buddypress 430 422 431 // .bp-user #object-nav @ small screen as a dropdown432 423 433 .bp-user {434 435 #buddypress {436 437 @include small-only {438 439 #object-nav {440 background: $off-white;441 border: 1px solid $border-light;442 overflow: visible;443 padding: $spacing-val-sm;444 445 ul {446 border: 0;447 height: 0;448 // all latest vendor releases handle transitions, so no prefixes used.449 transition: height 0.3s ease-in-out 0.7s;450 visibility: hidden;451 }452 453 &:before {454 content: "Menu \021E9";455 display: inline;456 opacity: 0.7;457 }458 459 &:hover,460 &:focus {461 &:before {content: "Menu \021E7";}462 463 ul {464 height: 320px;465 opacity: 1;466 overflow-y: auto;467 visibility: visible;468 }469 }470 }471 472 #subnav {473 clear: both;474 }475 476 } // close @media477 }478 }479 480 424 /*__ Horizontal menus __*/ 481 425 #buddypress { 482 426 … … 569 513 // This block contains rules to re-factor the item-body structural element 570 514 // to sit alongside the vert menu 571 515 // 2017 right sidebar is displayed if the widget sidebar has widgets; 572 // we'll only display object nav as a vert menu if sidebar not present.516 // we'll only display object nav as a vert menu if not .two-column-page. 573 517 574 518 @include medium-up { 575 519 576 body .no-sidebar{520 body:not(.page-two-column) { 577 521 578 522 #buddypress { 579 523 … … 770 714 } 771 715 772 716 .action { 717 773 718 .generic-button { 719 774 720 a { 721 775 722 &:focus, 776 723 &:hover { 777 724 background: inherit; … … 917 864 // Provisionally lets keep the 'action' div 918 865 // position but inline-block the buttons 919 866 920 @include med-small-up {867 @include small-up { 921 868 // keep buttons to a row small tablet up 922 869 margin: 0 $spacing-val-sm $spacing-val-sm 0; 923 870 width: auto; … … 1088 1035 li.mini { 1089 1036 1090 1037 .activity-avatar { 1038 1091 1039 a { 1040 1092 1041 img.avatar { 1093 1042 height: 30px; 1094 1043 margin-left: 15px; … … 1109 1058 margin-top: -12px; 1110 1059 1111 1060 .activity-header { 1112 line-height: inherit;1061 //line-height: inherit; 1113 1062 margin-right: 0; 1114 1063 1115 1064 p { … … 1121 1070 } 1122 1071 1123 1072 img.avatar { 1073 box-shadow: none; 1124 1074 display: inline-block; 1125 margin-bottom: 0 !important; // have to match to BP 1075 margin: 0 5px !important; // have to match to BP 1076 vertical-align: middle; 1126 1077 } 1127 1078 } // close .activity-header 1128 1079 1129 1080 .activity-meta { 1081 1130 1082 a { 1131 1083 display: block; 1132 1084 margin-bottom: $spacing-val-xs; 1133 1085 1134 @include small-up -bp{1086 @include small-up { 1135 1087 display: inline-block; 1136 1088 margin-bottom: 0; 1089 width: auto; 1137 1090 } 1138 1091 } 1139 1092 } … … 1197 1150 1198 1151 .activity-comments { 1199 1152 border-left: 1px solid $border-light; 1200 margin-top: 5px;1201 1153 1154 margin: $spacing-val-md 0 $spacing-val-md ; 1155 1156 @include small-up { 1157 margin-left: $spacing-val-md; 1158 } 1159 1160 @include medium-up { 1161 margin-left: $spacing-val-lg; 1162 } 1163 1202 1164 ul { 1203 background: rgba($light-background, 0.6);1204 1165 color: #737373; 1205 1166 margin: 15px 0 0 2px; 1206 1167 … … 1318 1279 * @subsection 6.1 - Item Header Global 1319 1280 *----------------------------------------------------------- 1320 1281 */ 1282 @include med-small-up { 1321 1283 1284 1285 .bp-user.page-two-column { 1286 1287 #buddypress { 1288 1289 #cover-image-container { 1290 1291 #item-header-cover-image { 1292 1293 1294 } 1295 } 1296 1297 #cover-image-container { 1298 1299 #item-header-cover-image { 1300 1301 #item-header-content { 1302 margin-left: 140px; 1303 margin-top: -100px; 1304 } 1305 } 1306 } 1307 } 1308 } 1309 1310 .single-item.groups.page-two-column { 1311 1312 #buddypress { 1313 1314 #cover-image-container { 1315 1316 #item-header-cover-image { 1317 1318 #item-header-content { 1319 margin-left: 10px; 1320 } 1321 } 1322 } 1323 } 1324 } 1325 } 1326 1322 1327 .bp-user, 1323 1328 .single-item.groups { 1324 1329 1325 1330 #buddypress { 1326 1331 1332 // we need to remove the cover image dec styles 1333 // & reset them for med up only. 1334 #item-header-cover-image { 1335 .user-nicename { 1336 color: $body-text; 1337 text-shadow: none; 1338 } 1339 } 1340 1341 @include med-small-up { 1342 1343 #item-header-cover-image { 1344 1345 .user-nicename { 1346 color: $white; 1347 text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); 1348 } 1349 } 1350 } 1351 1327 1352 #item-header-content { 1328 1353 1329 1354 #item-meta { … … 1778 1803 1779 1804 .pag-count {font-style: italic;} 1780 1805 1781 .notifications-options-nav { 1782 border: 1px solid rgba($border-color, 0.5); 1806 .notifications-options-nav, 1807 .messages-options-nav { 1808 1783 1809 float: left; 1784 1810 width: 100%; 1785 1811 … … 1793 1819 1794 1820 select, 1795 1821 input { 1796 border: 0; 1822 1797 1823 @include font-size(14); 1798 1824 outline: 0; 1799 1825 padding: 0; … … 1801 1827 1802 1828 select { 1803 1829 float: left; 1804 margin-right: 0;1805 width: 60%;1830 margin-right: 1%; 1831 width: 59%; 1806 1832 } 1807 1833 1808 1834 input { … … 1812 1838 width: 40%; 1813 1839 } 1814 1840 1815 } // close .notifications-options-nav 1841 input[disabled="disabled"]:focus, 1842 input[disabled="disabled"]:hover { 1843 background: none; 1844 } 1816 1845 1846 1847 } // close .notifications-options-nav/.messages-options-nav 1848 1817 1849 } //close #buddypress 1818 1850 } // close .bp-user 1819 1851 … … 1837 1869 } 1838 1870 1839 1871 table {margin-top: 0;} 1872 1873 .profile-fields { 1874 tr:last-child { 1875 border-bottom: none; 1876 } 1877 } 1878 1840 1879 } 1880 1841 1881 /* Edit profile */ 1842 1882 1843 1883 #profile-edit-form { … … 1932 1972 1933 1973 #message-thread { 1934 1974 //Single message view 1975 1935 1976 a { 1936 1977 border-bottom: 0; 1937 1978 } … … 1979 2020 } 1980 2021 1981 2022 #send-reply { 2023 1982 2024 .message-content { 1983 2025 background: $content-background; 1984 2026 border: 0; … … 1994 2036 #message-threads { 1995 2037 1996 2038 thead { 2039 1997 2040 tr { 1998 background: lighten($dark-background, 10%); 2041 background: none; 2042 border-bottom: 1px solid $border-color; 2043 2044 2045 th { 2046 background: #555; 2047 } 1999 2048 } 2000 2049 } 2001 2050 2002 2051 tr { 2052 border-bottom: 5px solid $medium-grey; 2053 2003 2054 td { 2004 2055 background: $content-background; 2005 2056 display: inline-block; … … 2008 2059 2009 2060 td.thread-star, 2010 2061 td.thread-options { 2011 border-bottom-color: $ medium-background;2012 border-bottom-width: 2px;2062 border-bottom-color: $border-color; 2063 border-bottom-width: 1px; 2013 2064 height: 2.4em; 2014 2065 padding-bottom: 0.2em; 2015 2066 padding-top: 0.2em; … … 2019 2070 } 2020 2071 } 2021 2072 2073 td.bulk-select-check, 2074 td.thread-star, 2075 td.thread-from, 2076 td.thread-info, 2077 td.thread-options { 2078 border-top: 0; 2079 } 2080 2022 2081 td.thread-star { 2023 2082 vertical-align: middle; 2024 2083 … … 2080 2139 } 2081 2140 2082 2141 tr.unread { 2142 2083 2143 td { 2084 background: $unread;2144 background: none; 2085 2145 border-color: $border-color; 2086 2146 } 2087 2147 } … … 2104 2164 } 2105 2165 } 2106 2166 2107 .messages-options-nav {2108 select {2109 height: auto;2110 }2111 }2112 2113 2167 .acfb-holder { 2114 2168 list-style: none; 2115 2169 … … 2295 2349 2296 2350 // Attempt to reset form control widths 2297 2351 #main { 2352 2298 2353 #buddypress { 2354 2299 2355 .standard-form { 2300 2356 2301 li {float: none;} 2357 li { 2358 float: none; 2359 } 2360 2302 2361 input[type='text'], 2303 2362 input[type='email'], 2304 2363 input[type='password'], … … 2309 2368 } 2310 2369 } 2311 2370 2312 2313 2371 #buddypress { 2314 2372 2315 2373 // Match BP form elements to Themes(2017) styling where styles … … 2472 2530 margin: $spacing-val-md 0; 2473 2531 2474 2532 tr th { 2475 background: lighten($dark-background, 10%);2476 border-color: darken($border-light, 20%);2477 color: $ content-background;2533 background: $light-background; 2534 border-color: $border-light; 2535 color: $body-text; 2478 2536 } 2479 2537 2480 2538 // Reduce the themes inherited paragraph margins in tables … … 2536 2594 } 2537 2595 2538 2596 } // .notifications, .message-notices 2597 2598 .notifications { // table element 2599 .actions { // th element 2600 text-align: center; 2601 } 2602 } 2539 2603 } // #buddypress 2540 2604 2541 2605 /**