Ticket #7338: 7338-04.patch
File 7338-04.patch, 37.3 KB (added by , 8 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 { … … 495 447 496 448 #buddypress ul.item-list li .item .item-title .update { 497 449 display: block; 498 font-size: 1 2px;499 font-size: 0. 75rem;450 font-size: 13px; 451 font-size: 0.8125rem; 500 452 padding: 10px 0; 501 453 text-align: left; 502 454 } … … 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 787 747 #buddypress #activity-stream .activity-comments ul { 788 background: rgba(247, 247, 247, 0.6);789 748 color: #737373; 790 749 margin: 15px 0 0 2px; 791 750 } 792 751 752 #buddypress #activity-stream .activity-comments ul li { 753 border-top: 1px solid #bebebe; 754 } 755 793 756 #buddypress #activity-stream .activity-comments ul a { 794 757 color: #0077c7; 795 758 } 796 759 797 760 #buddypress #activity-stream .activity-comments .acomment-meta { 761 border-bottom: 1px solid #eaeaea; 798 762 color: #737373; 799 763 } 800 764 801 765 #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], 802 766 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 803 color: rgba( 20, 20, 18, 0.8);767 color: rgba(51, 51, 51, 0.8); 804 768 display: inline-block; 805 769 font-family: inherit; 806 770 font-size: 12px; … … 813 777 } 814 778 815 779 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 816 border: 1px solid rgba( 212, 208, 186, 0.7);780 border: 1px solid rgba(190, 190, 190, 0.7); 817 781 text-align: center; 818 782 } 819 783 … … 834 798 #buddypress #members-list li .action { 835 799 float: right; 836 800 } 801 #buddypress #members-list li.is-current-user .item { 802 float: none; 803 left: 0; 804 padding-left: 5%; 805 width: auto; 806 } 837 807 } 838 808 839 809 /** … … 880 850 * @subsection 6.1 - Item Header Global 881 851 *----------------------------------------------------------- 882 852 */ 853 @media screen and (min-width: 48em) { 854 .bp-user.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { 855 margin-left: 140px; 856 margin-top: -100px; 857 } 858 .single-item.groups.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { 859 margin-left: 10px; 860 } 861 } 862 863 .bp-user #buddypress #item-header-cover-image .user-nicename, 864 .single-item.groups #buddypress #item-header-cover-image .user-nicename { 865 color: #333; 866 text-shadow: none; 867 } 868 869 @media screen and (min-width: 48em) { 870 .bp-user #buddypress #item-header-cover-image .user-nicename, 871 .single-item.groups #buddypress #item-header-cover-image .user-nicename { 872 color: #fff; 873 text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); 874 } 875 } 876 883 877 .bp-user #buddypress #item-header-content #item-meta, 884 878 .single-item.groups #buddypress #item-header-content #item-meta { 885 879 font-size: 14px; … … 1083 1077 * Groups specific item body rules - screens 1084 1078 *---------------------------------------------------- 1085 1079 */ 1080 .groups.single-item.members #buddypress #subnav.item-list-tabs ul { 1081 background: none; 1082 border-top: 0; 1083 } 1084 1086 1085 /** 1087 1086 *----------------------------------------- 1088 1087 * @subsection 6.2.1.1 - Group Management … … 1120 1119 } 1121 1120 1122 1121 .groups.group-settings #group-settings-form div.radio label ul { 1123 color: rgba( 20, 20, 18, 0.6);1122 color: rgba(51, 51, 51, 0.6); 1124 1123 font-size: 14px; 1125 1124 font-size: 0.875rem; 1126 1125 } … … 1184 1183 1185 1184 .groups.group-members #subnav li #search-members-form { 1186 1185 float: right; 1187 margin: 5px 5px0 0;1186 margin: 5px 0 0; 1188 1187 } 1189 1188 1190 1189 @media screen and (max-width: 38.75em) { … … 1253 1252 font-style: italic; 1254 1253 } 1255 1254 1256 .bp-user #buddypress .notifications-options-nav {1257 border: 1px solid rgba(212, 208, 186, 0.5); 1255 .bp-user #buddypress .notifications-options-nav, 1256 .bp-user #buddypress .messages-options-nav { 1258 1257 float: left; 1259 1258 width: 100%; 1260 1259 } 1261 1260 1262 1261 @media screen and (min-width: 38.75em) { 1263 .bp-user #buddypress .notifications-options-nav { 1262 .bp-user #buddypress .notifications-options-nav, 1263 .bp-user #buddypress .messages-options-nav { 1264 1264 width: 300px; 1265 1265 } 1266 1266 } 1267 1267 1268 .bp-user #buddypress .notifications-options-nav select { 1268 .bp-user #buddypress .notifications-options-nav select, 1269 .bp-user #buddypress .messages-options-nav select { 1269 1270 height: auto; 1270 1271 } 1271 1272 1272 1273 .bp-user #buddypress .notifications-options-nav select, 1273 .bp-user #buddypress .notifications-options-nav input { 1274 border: 0; 1274 .bp-user #buddypress .notifications-options-nav input, 1275 .bp-user #buddypress .messages-options-nav select, 1276 .bp-user #buddypress .messages-options-nav input { 1275 1277 font-size: 14px; 1276 1278 font-size: 0.875rem; 1277 1279 outline: 0; … … 1278 1280 padding: 0; 1279 1281 } 1280 1282 1281 .bp-user #buddypress .notifications-options-nav select { 1283 .bp-user #buddypress .notifications-options-nav select, 1284 .bp-user #buddypress .messages-options-nav select { 1282 1285 float: left; 1283 margin-right: 0;1284 width: 60%;1286 margin-right: 1%; 1287 width: 59%; 1285 1288 } 1286 1289 1287 .bp-user #buddypress .notifications-options-nav input { 1290 .bp-user #buddypress .notifications-options-nav input, 1291 .bp-user #buddypress .messages-options-nav input { 1288 1292 float: right; 1289 1293 font-family: inherit; 1290 1294 line-height: 20px; … … 1291 1295 width: 40%; 1292 1296 } 1293 1297 1298 .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, 1299 .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, 1300 .bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, 1301 .bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { 1302 background: none; 1303 } 1304 1294 1305 /** 1295 1306 *------------------------------------------- 1296 1307 * @subsection 6.2.2.2 - Extended Profiles … … 1311 1322 margin-top: 0; 1312 1323 } 1313 1324 1325 .bp-user #buddypress .profile .bp-widget .profile-fields tr.alt td { 1326 color: #333; 1327 } 1328 1329 .bp-user #buddypress .profile .bp-widget .profile-fields tr:last-child { 1330 border-bottom: none; 1331 } 1332 1314 1333 .bp-user #buddypress .profile #profile-edit-form .button-nav:before, 1315 1334 .bp-user #buddypress .profile #profile-edit-form .button-nav:after { 1316 1335 content: " "; … … 1345 1364 } 1346 1365 1347 1366 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, 1367 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-notoggle, 1348 1368 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { 1349 1369 font-size: 14px; 1350 1370 font-size: 0.875rem; 1371 margin-top: 10px; 1351 1372 } 1352 1373 1353 1374 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, 1354 1375 .bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { 1355 1376 background: #555; 1377 -webkit-border-radius: 3px; 1378 -moz-border-radius: 3px; 1379 -ms-border-radius: 3px; 1380 border-radius: 3px; 1381 background-clip: padding-box; 1356 1382 color: #fff; 1357 1383 padding: 0.2em 0.5em; 1358 1384 } … … 1434 1460 } 1435 1461 1436 1462 .bp-user #buddypress #message-threads thead tr { 1437 background: #6f6f6f; 1463 background: none; 1464 border-bottom: 1px solid #bebebe; 1438 1465 } 1439 1466 1467 .bp-user #buddypress #message-threads thead tr th { 1468 background: #555; 1469 } 1470 1471 .bp-user #buddypress #message-threads tr { 1472 border-bottom: 5px solid #878787; 1473 } 1474 1440 1475 .bp-user #buddypress #message-threads tr td { 1441 1476 background: #fff; 1442 1477 display: inline-block; … … 1445 1480 1446 1481 .bp-user #buddypress #message-threads tr td.thread-star, 1447 1482 .bp-user #buddypress #message-threads tr td.thread-options { 1448 border-bottom-color: # ccc;1449 border-bottom-width: 2px;1483 border-bottom-color: #bebebe; 1484 border-bottom-width: 1px; 1450 1485 height: 2.4em; 1451 1486 padding-bottom: 0.2em; 1452 1487 padding-top: 0.2em; … … 1459 1494 } 1460 1495 } 1461 1496 1497 .bp-user #buddypress #message-threads tr td.bulk-select-check, 1498 .bp-user #buddypress #message-threads tr td.thread-star, 1499 .bp-user #buddypress #message-threads tr td.thread-from, 1500 .bp-user #buddypress #message-threads tr td.thread-info, 1501 .bp-user #buddypress #message-threads tr td.thread-options { 1502 border-top: 0; 1503 } 1504 1462 1505 .bp-user #buddypress #message-threads tr td.thread-star { 1463 1506 vertical-align: middle; 1464 1507 } … … 1529 1572 } 1530 1573 1531 1574 .bp-user #buddypress #message-threads tr.unread td { 1532 background: #eee;1533 border-color: # d4d0ba;1575 background: none; 1576 border-color: #bebebe; 1534 1577 } 1535 1578 1536 1579 .bp-user #buddypress #message-threads th { … … 1550 1593 width: 30px; 1551 1594 } 1552 1595 1553 .bp-user #buddypress .messages-options-nav select {1554 height: auto;1555 }1556 1557 1596 .bp-user #buddypress .acfb-holder { 1558 1597 list-style: none; 1559 1598 } … … 1563 1602 } 1564 1603 1565 1604 .bp-user #buddypress .acfb-holder li.friend-tab { 1566 background: #e df7fa;1605 background: #e3f6ff; 1567 1606 border: inherit; 1568 1607 margin-right: 0; 1569 1608 padding: 0.5em; … … 1717 1756 1718 1757 #buddypress div.activity-comments form .ac-textarea { 1719 1758 background: #f7f7f7; 1720 border: 1px solid rgba( 212, 208, 186, 0.5);1759 border: 1px solid rgba(190, 190, 190, 0.5); 1721 1760 } 1722 1761 1723 1762 #buddypress div.activity-comments form .ac-textarea textarea { … … 1735 1774 #buddypress .standard-form button, 1736 1775 #buddypress .standard-form select, 1737 1776 #buddypress .standard-form textarea { 1738 border-color: rgba( 212, 208, 186, 0.5);1777 border-color: rgba(190, 190, 190, 0.5); 1739 1778 border-width: 1px; 1740 1779 } 1741 1780 … … 1761 1800 #buddypress div.dir-search form, 1762 1801 #buddypress div.message-search form, 1763 1802 #buddypress li.groups-members-search form { 1764 border: 1px solid rgba( 212, 208, 186, 0.6);1803 border: 1px solid rgba(190, 190, 190, 0.6); 1765 1804 overflow: hidden; 1766 1805 } 1767 1806 … … 1770 1809 #buddypress li.groups-members-search form label { 1771 1810 float: left; 1772 1811 margin: 0; 1812 width: 70%; 1773 1813 } 1774 1814 1775 1815 #buddypress div.dir-search form input[type='text'], … … 1777 1817 #buddypress li.groups-members-search form input[type='text'] { 1778 1818 float: left; 1779 1819 margin: 0; 1780 width: 70%;1820 width: 100%; 1781 1821 } 1782 1822 1783 1823 #buddypress div.dir-search form input[type='text'], … … 1795 1835 #buddypress div.dir-search form input[type='text'], 1796 1836 #buddypress div.message-search form input[type='text'], 1797 1837 #buddypress li.groups-members-search form input[type='text'] { 1798 border-right: 1px solid rgba(212, 208, 186, 0.6); 1838 border-right: 1px solid rgba(190, 190, 190, 0.6); 1839 font-weight: 400; 1799 1840 padding: 0.2em 0 0.2em 0.2em; 1800 1841 } 1801 1842 … … 1810 1851 width: 30%; 1811 1852 } 1812 1853 1854 #buddypress .dir-search #search-members-form input[type='text'], 1855 #buddypress #search-groups-form input[type='text'], 1856 #buddypress #search-message-form input[type='text'] { 1857 float: left; 1858 margin: 0; 1859 width: 70%; 1860 } 1861 1813 1862 @media screen and (min-width: 30em) { 1814 1863 #buddypress div.dir-search, 1815 1864 #buddypress div.message-search, … … 1817 1866 float: right; 1818 1867 margin-bottom: 5px !important; 1819 1868 } 1820 #buddypress div.dir-search form label,1821 #buddypress div.dir-search form input[type='text'],1822 #buddypress div.dir-search form input[type='submit'],1823 #buddypress div.message-search form label,1824 #buddypress div.message-search form input[type='text'],1825 #buddypress div.message-search form input[type='submit'],1826 #buddypress li.groups-members-search form label,1827 #buddypress li.groups-members-search form input[type='text'],1828 #buddypress li.groups-members-search form input[type='submit'] {1829 width: auto;1830 }1831 1869 } 1832 1870 1833 1871 @media screen and (min-width: 67em) { 1834 1872 #buddypress .dir-search form input[type='text'], 1835 #buddypress .message-search form input[type='text'] { 1873 #buddypress .message-search form input[type='text'], 1874 #buddypress li.groups-members-search form input[type='text'] { 1836 1875 font-size: 16px; 1837 1876 font-size: 1rem; 1838 1877 } 1839 1878 #buddypress .dir-search form input[type='submit'], 1840 #buddypress .message-search form input[type='submit'] { 1879 #buddypress .message-search form input[type='submit'], 1880 #buddypress li.groups-members-search form input[type='submit'] { 1841 1881 font-size: 16px; 1842 1882 font-size: 1rem; 1843 1883 } … … 1855 1895 } 1856 1896 1857 1897 #buddypress table tr th { 1858 background: # 6f6f6f;1859 border-color: # b7b7b7;1860 color: # fff;1898 background: #f7f7f7; 1899 border-color: #eaeaea; 1900 color: #333; 1861 1901 } 1862 1902 1863 1903 #buddypress table p { … … 1914 1954 text-align: center; 1915 1955 } 1916 1956 1957 #buddypress .notifications .actions { 1958 text-align: center; 1959 } 1960 1917 1961 /** 1918 1962 *------------------------------------------------------------------------------- 1919 1963 * @section 9.0 - Error / Success messages … … 1926 1970 } 1927 1971 1928 1972 #buddypress div#message.info p { 1929 background: # c6e4ee;1930 border: 1px solid # 78bed6;1931 color: # 1e5264;1973 background: #b0e5ff; 1974 border: 1px solid #4ac3ff; 1975 color: #00547d; 1932 1976 } 1933 1977 1934 1978 #buddypress div#message.updated p { … … 1937 1981 color: #454d19; 1938 1982 } 1939 1983 1984 #buddypress .bp-avatar-status .warning, 1985 #buddypress .bp-cover-image-status .warning { 1986 background: #7dd4ff; 1987 border: 1px solid #000; 1988 color: #333; 1989 font-size: 16px; 1990 font-size: 1rem; 1991 } 1992 1940 1993 .delete-group #buddypress div#message.info p { 1941 1994 background: #db7e7e; 1942 1995 border: 1px solid #be3535; … … 1949 2002 *------------------------------------------------------------------------------- 1950 2003 */ 1951 2004 #buddypress .acfb-holder li.friend-tab { 1952 background: # 9fd1e2;2005 background: #7dd4ff; 1953 2006 border: inherit; 1954 2007 } -
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 … … 206 214 $bp-button-hover: #ededed; // this is the default BP button hover background 207 215 $notice-error: #c85a6e; 208 216 $notice-warning: #d05656; 209 $notice-info: # 9fd1e2;217 $notice-info: #7dd4ff; 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; … … 851 798 852 799 .update { 853 800 display: block; 854 @include font-size(1 2);801 @include font-size(13); 855 802 856 803 @include medium-up { 857 804 @include font-size(14); … … 892 839 // remove BP margin left 893 840 margin-left: 0; 894 841 padding: $spacing-val-md 0 $spacing-val-xs; 842 895 843 // push the actions to the right 896 897 844 @include medium-up { 898 845 clear: none; 899 846 float: right; … … 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 1202 1160 ul { 1203 background: rgba($light-background, 0.6);1204 1161 color: #737373; 1205 1162 margin: 15px 0 0 2px; 1206 1163 1164 li { 1165 border-top: 1px solid $border-color; 1166 } 1167 1207 1168 a { 1208 1169 color: #0077c7; 1209 1170 } … … 1210 1171 } 1211 1172 1212 1173 .acomment-meta { 1174 border-bottom: 1px solid $border-light; 1213 1175 color: #737373; 1214 1176 } 1215 1177 … … 1256 1218 #members-list { 1257 1219 1258 1220 @include medium-up { 1221 1259 1222 li { 1260 1223 .item-avatar, 1261 1224 .item { … … 1266 1229 float: right; 1267 1230 } 1268 1231 } 1232 1233 li.is-current-user { 1234 1235 .item { 1236 float: none; 1237 left: 0; 1238 padding-left: 5%; 1239 width: auto; 1240 } 1241 } 1269 1242 } 1270 1243 1271 1244 } // close #members-list … … 1318 1291 * @subsection 6.1 - Item Header Global 1319 1292 *----------------------------------------------------------- 1320 1293 */ 1294 @include med-small-up { 1321 1295 1296 1297 .bp-user.page-two-column { 1298 1299 #buddypress { 1300 1301 #cover-image-container { 1302 1303 #item-header-cover-image { 1304 1305 1306 } 1307 } 1308 1309 #cover-image-container { 1310 1311 #item-header-cover-image { 1312 1313 #item-header-content { 1314 margin-left: 140px; 1315 margin-top: -100px; 1316 } 1317 } 1318 } 1319 } 1320 } 1321 1322 .single-item.groups.page-two-column { 1323 1324 #buddypress { 1325 1326 #cover-image-container { 1327 1328 #item-header-cover-image { 1329 1330 #item-header-content { 1331 margin-left: 10px; 1332 } 1333 } 1334 } 1335 } 1336 } 1337 } 1338 1322 1339 .bp-user, 1323 1340 .single-item.groups { 1324 1341 1325 1342 #buddypress { 1326 1343 1344 // we need to remove the cover image dec styles 1345 // & reset them for med up only. 1346 #item-header-cover-image { 1347 .user-nicename { 1348 color: $body-text; 1349 text-shadow: none; 1350 } 1351 } 1352 1353 @include med-small-up { 1354 1355 #item-header-cover-image { 1356 1357 .user-nicename { 1358 color: $white; 1359 text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); 1360 } 1361 } 1362 } 1363 1327 1364 #item-header-content { 1328 1365 1329 1366 #item-meta { … … 1560 1597 *----------------------------------------------------------- 1561 1598 */ 1562 1599 1600 1563 1601 /** 1564 1602 *---------------------------------------------------- 1565 1603 * @subsection 6.2.1 - Item Body Groups … … 1568 1606 *---------------------------------------------------- 1569 1607 */ 1570 1608 1609 .groups.single-item.members { 1610 1611 #buddypress { 1612 1613 #subnav.item-list-tabs { 1614 1615 ul { 1616 background: none; 1617 border-top: 0; 1618 } 1619 1620 } 1621 } 1622 1623 } 1624 1571 1625 /** 1572 1626 *----------------------------------------- 1573 1627 * @subsection 6.2.1.1 - Group Management … … 1709 1763 } 1710 1764 } 1711 1765 1712 margin: $spacing-val-xs $spacing-val-xs0 0;1766 margin: $spacing-val-xs 0 0; 1713 1767 } 1714 1768 } 1715 1769 } … … 1778 1832 1779 1833 .pag-count {font-style: italic;} 1780 1834 1781 .notifications-options-nav { 1782 border: 1px solid rgba($border-color, 0.5); 1835 .notifications-options-nav, 1836 .messages-options-nav { 1837 1783 1838 float: left; 1784 1839 width: 100%; 1785 1840 … … 1793 1848 1794 1849 select, 1795 1850 input { 1796 border: 0; 1851 1797 1852 @include font-size(14); 1798 1853 outline: 0; 1799 1854 padding: 0; … … 1801 1856 1802 1857 select { 1803 1858 float: left; 1804 margin-right: 0;1805 width: 60%;1859 margin-right: 1%; 1860 width: 59%; 1806 1861 } 1807 1862 1808 1863 input { … … 1812 1867 width: 40%; 1813 1868 } 1814 1869 1815 } // close .notifications-options-nav 1870 input[disabled="disabled"]:focus, 1871 input[disabled="disabled"]:hover { 1872 background: none; 1873 } 1816 1874 1875 1876 } // close .notifications-options-nav/.messages-options-nav 1877 1817 1878 } //close #buddypress 1818 1879 } // close .bp-user 1819 1880 … … 1837 1898 } 1838 1899 1839 1900 table {margin-top: 0;} 1901 1902 .profile-fields { 1903 1904 tr.alt { 1905 td { 1906 color: $body-text; 1907 } 1908 } 1909 1910 tr:last-child { 1911 border-bottom: none; 1912 } 1913 } 1914 1840 1915 } 1916 1841 1917 /* Edit profile */ 1842 1918 1843 1919 #profile-edit-form { … … 1874 1950 } //.button-nav 1875 1951 1876 1952 .field-visibility-settings-toggle, 1953 .field-visibility-settings-notoggle, 1877 1954 .field-visibility-settings { 1878 1955 @include font-size(14); 1956 margin-top: $spacing-val-sm; 1879 1957 } 1880 1958 1881 1959 .field-visibility-settings-close, 1882 1960 .visibility-toggle-link { 1883 1961 background: $dark-background; 1962 @include border-radius(3px); 1884 1963 color: #fff; 1885 1964 padding: 0.2em 0.5em; 1886 1965 } … … 1932 2011 1933 2012 #message-thread { 1934 2013 //Single message view 2014 1935 2015 a { 1936 2016 border-bottom: 0; 1937 2017 } … … 1979 2059 } 1980 2060 1981 2061 #send-reply { 2062 1982 2063 .message-content { 1983 2064 background: $content-background; 1984 2065 border: 0; … … 1994 2075 #message-threads { 1995 2076 1996 2077 thead { 2078 1997 2079 tr { 1998 background: lighten($dark-background, 10%); 2080 background: none; 2081 border-bottom: 1px solid $border-color; 2082 2083 2084 th { 2085 background: #555; 2086 } 1999 2087 } 2000 2088 } 2001 2089 2002 2090 tr { 2091 border-bottom: 5px solid $medium-grey; 2092 2003 2093 td { 2004 2094 background: $content-background; 2005 2095 display: inline-block; … … 2008 2098 2009 2099 td.thread-star, 2010 2100 td.thread-options { 2011 border-bottom-color: $ medium-background;2012 border-bottom-width: 2px;2101 border-bottom-color: $border-color; 2102 border-bottom-width: 1px; 2013 2103 height: 2.4em; 2014 2104 padding-bottom: 0.2em; 2015 2105 padding-top: 0.2em; … … 2019 2109 } 2020 2110 } 2021 2111 2112 td.bulk-select-check, 2113 td.thread-star, 2114 td.thread-from, 2115 td.thread-info, 2116 td.thread-options { 2117 border-top: 0; 2118 } 2119 2022 2120 td.thread-star { 2023 2121 vertical-align: middle; 2024 2122 … … 2080 2178 } 2081 2179 2082 2180 tr.unread { 2181 2083 2182 td { 2084 background: $unread;2183 background: none; 2085 2184 border-color: $border-color; 2086 2185 } 2087 2186 } … … 2104 2203 } 2105 2204 } 2106 2205 2107 .messages-options-nav {2108 select {2109 height: auto;2110 }2111 }2112 2113 2206 .acfb-holder { 2114 2207 list-style: none; 2115 2208 … … 2295 2388 2296 2389 // Attempt to reset form control widths 2297 2390 #main { 2391 2298 2392 #buddypress { 2393 2299 2394 .standard-form { 2300 2395 2301 li {float: none;} 2396 li { 2397 float: none; 2398 } 2399 2302 2400 input[type='text'], 2303 2401 input[type='email'], 2304 2402 input[type='password'], … … 2309 2407 } 2310 2408 } 2311 2409 2312 2313 2410 #buddypress { 2314 2411 2315 2412 // Match BP form elements to Themes(2017) styling where styles … … 2364 2461 } // close #buddypress 2365 2462 2366 2463 #buddypress { 2464 2367 2465 div.dir-search, 2368 2466 div.message-search, 2369 2467 li.groups-members-search { … … 2380 2478 label { 2381 2479 float: left; 2382 2480 margin: 0; 2481 width: 70%; 2383 2482 } 2384 2483 2385 2484 input[type='text'] { 2386 2485 float: left; 2387 2486 margin: 0; 2388 width: 70%;2487 width: 100%; 2389 2488 } 2390 2489 2391 2490 input[type='text'], … … 2397 2496 2398 2497 input[type='text'] { 2399 2498 border-right: 1px solid rgba($border-color, 0.6); 2499 font-weight: 400; 2400 2500 padding: 0.2em 0 0.2em 0.2em; 2401 2501 } 2402 2502 … … 2412 2512 2413 2513 } // close .dir-search, .message-search 2414 2514 2515 // Dirs & certain components hide search hides labels so can't width the label element 2516 // adjust so that the input takes reduced width. 2517 2518 .dir-search #search-members-form, 2519 #search-groups-form, 2520 #search-message-form { 2521 2522 input[type='text'] { 2523 float: left; 2524 margin: 0; 2525 width: 70%; 2526 } 2527 } 2528 2415 2529 // Shift the search parent to the right and allow to shrinkwrap 2416 2530 2417 2531 @include small-up { … … 2420 2534 li.groups-members-search { 2421 2535 float: right; 2422 2536 margin-bottom: 5px !important; 2423 2424 form {2425 label,2426 input[type='text'],2427 input[type='submit'] {2428 width: auto;2429 }2430 }2431 2537 } 2432 2538 2433 2539 } // close @media … … 2436 2542 @include large-up { 2437 2543 2438 2544 .dir-search, 2545 .message-search, 2546 li.groups-members-search { 2439 2547 2440 .message-search {2441 2442 2548 form { 2443 2549 2444 2550 input[type='text'] { … … 2472 2578 margin: $spacing-val-md 0; 2473 2579 2474 2580 tr th { 2475 background: lighten($dark-background, 10%);2476 border-color: darken($border-light, 20%);2477 color: $ content-background;2581 background: $light-background; 2582 border-color: $border-light; 2583 color: $body-text; 2478 2584 } 2479 2585 2480 2586 // Reduce the themes inherited paragraph margins in tables … … 2536 2642 } 2537 2643 2538 2644 } // .notifications, .message-notices 2645 2646 .notifications { // table element 2647 .actions { // th element 2648 text-align: center; 2649 } 2650 } 2539 2651 } // #buddypress 2540 2652 2541 2653 /** … … 2573 2685 2574 2686 } // close #message 2575 2687 2688 .bp-avatar-status, 2689 .bp-cover-image-status { 2690 2691 .warning { 2692 background: #7dd4ff; 2693 border: 1px solid #000; 2694 color: $body-text; 2695 @include font-size(16); 2696 } 2697 } 2698 2576 2699 } // close #buddypress 2577 2700 2578 2701 // Without direct classes on our mesages ( 'warning')