Ticket #7338: 7338-07.patch
File 7338-07.patch, 51.4 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 { … … 132 120 } 133 121 } 134 122 123 body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.selected, 124 body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.current { 125 border-bottom-color: #222; 126 } 127 128 body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.selected a, 129 body.colors-dark #buddypress #group-create-tabs.item-list-tabs li.current a { 130 color: inherit; 131 } 132 133 body.colors-dark #buddypress .item-list-tabs li.selected a, 134 body.colors-dark #buddypress .item-list-tabs li.current a { 135 color: inherit; 136 } 137 138 body.colors-dark #buddypress #subnav.item-list-tabs ul { 139 border-bottom: 1px solid rgba(234, 234, 234, 0.9); 140 margin-bottom: 20px; 141 } 142 143 body.colors-dark #buddypress #subnav.item-list-tabs ul li.last { 144 border-top: 1px solid rgba(234, 234, 234, 0.9); 145 } 146 147 body.colors-dark #buddypress .item-list div.meta { 148 color: #ddd; 149 } 150 151 body.colors-dark #buddypress .item-list div.item-desc, 152 body.colors-dark #buddypress .item-list .activity-header p, 153 body.colors-dark #buddypress .item-list .activity-comments ul, 154 body.colors-dark #buddypress .item-list .acomment-meta { 155 color: #eee; 156 } 157 158 body.colors-dark #buddypress .item-list .activity-meta a, 159 body.colors-dark #buddypress .item-list .action a { 160 background: #fafafa; 161 } 162 163 body.colors-dark #buddypress .item-list .activity-meta a:focus, body.colors-dark #buddypress .item-list .activity-meta a:hover, 164 body.colors-dark #buddypress .item-list .action a:focus, 165 body.colors-dark #buddypress .item-list .action a:hover { 166 background: #fff; 167 } 168 169 body.colors-dark #buddypress #latest-update { 170 color: #eee; 171 } 172 173 body.colors-dark #buddypress div.pagination * { 174 color: #ddd; 175 } 176 177 body.colors-dark #buddypress #item-header .user-nicename { 178 color: #eee; 179 } 180 181 body.colors-dark #buddypress #item-body table thead tr, 182 body.colors-dark #buddypress #item-body table thead th { 183 background: none; 184 color: #eee; 185 } 186 187 body.colors-dark #buddypress #item-body table tr.alt td { 188 background: none; 189 color: #eee; 190 } 191 192 body.colors-dark #buddypress #item-body table .field-visibility-settings, 193 body.colors-dark #buddypress #item-body table .field-visibility-settings-notoggle { 194 color: #eee; 195 } 196 197 body.colors-dark #buddypress #item-body fieldset { 198 background: none; 199 } 200 201 body.colors-dark #buddypress #item-body .checkbox label, 202 body.colors-dark #buddypress #item-body .radio label { 203 color: #eee; 204 } 205 206 body.colors-dark #buddypress #item-body div#invite-list { 207 background: none; 208 } 209 210 .directory.colors-dark #buddypress #subnav ul { 211 border-top: 0; 212 } 213 214 .directory.colors-dark #buddypress #subnav ul li.last.filter { 215 border-top: 0; 216 } 217 218 .directory.colors-dark #buddypress div.activity ul.item-list { 219 border-top: 0; 220 } 221 222 body.colors-light #buddypress div.item-list-tabs ul { 223 background-color: #fafafa; 224 } 225 226 body.colors-light #buddypress div#subnav.item-list-tabs ul { 227 background-color: #f7f7f7; 228 } 229 230 body.colors-light #buddypress div#subnav.item-list-tabs ul li.last { 231 background: #fff; 232 } 233 234 body.colors-light #buddypress .item-list .activity-header p { 235 background-color: #f7f7f7; 236 color: #878787; 237 } 238 239 body.colors-light #buddypress .item-list .activity-comments .acomment-meta { 240 color: #737373; 241 } 242 243 body.colors-light #buddypress #item-body .profile h2 { 244 background: #878787; 245 color: #fff; 246 } 247 248 body.colors-light #buddypress table tr.alt td { 249 background: #f5f5f5; 250 color: #333; 251 } 252 253 body.colors-light #buddypress div#invite-list { 254 background: #fafafa; 255 } 256 135 257 /** 136 258 *------------------------------------------------------------------------------- 137 259 * @section 2.0 - Navigation - General … … 150 272 } 151 273 152 274 #buddypress div.item-list-tabs ul { 153 background-color: #faf9f1;154 275 border-bottom: 1px solid rgba(234, 234, 234, 0.9); 155 border-top: 1px solid rgba(234, 234, 234, 0.9);156 276 overflow: hidden; 157 277 padding: 0; 158 278 } 159 279 160 #buddypress div.item-list-tabs ul li a {161 color: #0073c1;162 }163 164 280 #buddypress div.item-list-tabs ul li a span { 165 281 border-radius: 25%; 166 282 } 167 283 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 284 /*__ Horizontal menus __*/ 201 285 #buddypress #object-nav ul { 202 286 overflow: hidden; … … 229 313 } 230 314 231 315 #buddypress div#subnav.item-list-tabs ul { 232 background-color: #f7f7f7;233 316 border-bottom: 0; 234 317 margin-top: 5px; 235 318 padding: 0; … … 236 319 } 237 320 238 321 #buddypress div#subnav.item-list-tabs ul li.last { 239 background: #fff;240 322 margin-top: 0; 241 323 padding: 5px 5px 5px 0; 242 324 width: 100%; … … 273 355 274 356 /*__ Vertical menu User Account / Group single screens __*/ 275 357 @media screen and (min-width: 55em) { 276 body.no-sidebar #buddypress #item-header, 277 body.no-sidebar #buddypress #item-body { 278 background: #fff; 279 } 280 body.no-sidebar #buddypress #object-nav { 358 body:not(.page-two-column) #buddypress #object-nav { 281 359 border-right: 1px solid #ddd; 282 360 float: left; 283 361 margin-right: -1px; 284 362 width: 200px; 285 363 } 286 body .no-sidebar#buddypress #object-nav ul {364 body:not(.page-two-column) #buddypress #object-nav ul { 287 365 background: none; 288 366 border-bottom: 0; 289 367 padding: 0; 290 368 } 291 body .no-sidebar#buddypress #object-nav ul li {369 body:not(.page-two-column) #buddypress #object-nav ul li { 292 370 float: none; 293 371 overflow: hidden; 294 372 } 295 body .no-sidebar#buddypress #object-nav ul li span {373 body:not(.page-two-column) #buddypress #object-nav ul li span { 296 374 background: #fff; 297 375 border-radius: 10%; 298 376 float: right; 299 377 margin-right: 2px; 300 378 } 301 body .no-sidebar#buddypress #item-body {379 body:not(.page-two-column) #buddypress #item-body { 302 380 border-left: 1px solid #ddd; 303 381 overflow: hidden; 304 382 padding: 0 0 0 20px; 305 383 width: auto; 306 384 } 307 body .no-sidebar#buddypress #item-body #subnav {385 body:not(.page-two-column) #buddypress #item-body #subnav { 308 386 margin: 0 0 0 -20px; 309 387 } 310 body .no-sidebar#buddypress #item-body #subnav ul {388 body:not(.page-two-column) #buddypress #item-body #subnav ul { 311 389 margin-top: 0; 312 390 } 313 391 } 314 392 315 393 @media screen and (min-width: 48em) { 316 # main #buddypress #group-create-tabs.item-list-tabs ul:before,317 # main #buddypress #group-create-tabs.item-list-tabs ul:after {394 #buddypress #group-create-tabs.item-list-tabs ul:before, 395 #buddypress #group-create-tabs.item-list-tabs ul:after { 318 396 content: " "; 319 397 display: table; 320 398 } 321 # main #buddypress #group-create-tabs.item-list-tabs ul:after {399 #buddypress #group-create-tabs.item-list-tabs ul:after { 322 400 clear: both; 323 401 } 324 # main #buddypress #group-create-tabs.item-list-tabs ul {402 #buddypress #group-create-tabs.item-list-tabs ul { 325 403 background: none; 326 404 border: 0; 327 405 border-bottom: 1px solid #ddd; … … 328 406 overflow: visible; 329 407 padding-bottom: 0; 330 408 } 331 # main #buddypress #group-create-tabs.item-list-tabs ul li {409 #buddypress #group-create-tabs.item-list-tabs ul li { 332 410 float: left; 333 411 width: auto; 334 412 } 335 # main #buddypress #group-create-tabs.item-list-tabs ul li.selected,336 # main #buddypress #group-create-tabs.item-list-tabs ul li.current {413 #buddypress #group-create-tabs.item-list-tabs ul li.selected, 414 #buddypress #group-create-tabs.item-list-tabs ul li.current { 337 415 border: 1px solid #ddd; 338 416 border-bottom-color: #fff; 339 417 -webkit-border-top-right-radius: 4px; … … 343 421 background-clip: padding-box; 344 422 margin-bottom: -1px; 345 423 } 346 # main #buddypress #group-create-tabs.item-list-tabs ul li.selected a,347 # main #buddypress #group-create-tabs.item-list-tabs ul li.current a {424 #buddypress #group-create-tabs.item-list-tabs ul li.selected a, 425 #buddypress #group-create-tabs.item-list-tabs ul li.current a { 348 426 background: none; 349 color: # 141412;427 color: #333; 350 428 outline: none; 351 429 } 352 # main #buddypress #subnav ul {430 #buddypress #subnav ul { 353 431 border-bottom: 0; 354 432 } 355 433 } … … 495 573 496 574 #buddypress ul.item-list li .item .item-title .update { 497 575 display: block; 498 font-size: 1 2px;499 font-size: 0. 75rem;576 font-size: 13px; 577 font-size: 0.8125rem; 500 578 padding: 10px 0; 501 579 text-align: left; 502 580 } … … 557 635 width: 100%; 558 636 } 559 637 560 @media screen and (min-width: 48em) {638 @media screen and (min-width: 30em) { 561 639 #buddypress ul.item-list li div.action div { 562 640 margin: 0 10px 10px 0; 563 641 width: auto; … … 599 677 } 600 678 601 679 #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);680 border: 1px solid rgba(190, 190, 190, 0.5); 603 681 float: left; 604 682 line-height: 1.5em; 605 683 margin-top: 12px; … … 704 782 } 705 783 706 784 #buddypress #activity-stream .activity-content .activity-header { 707 line-height: inherit;708 785 margin-right: 0; 709 786 } 710 787 711 788 #buddypress #activity-stream .activity-content .activity-header p { 712 background-color: #f7f7f7;713 789 border: 1px solid rgba(234, 234, 234, 0.6); 714 color: #727272;715 790 margin-top: 0; 716 791 padding: 0 0.2em; 717 792 } 718 793 719 794 #buddypress #activity-stream .activity-content .activity-header img.avatar { 795 box-shadow: none; 720 796 display: inline-block; 721 margin-bottom: 0 !important; 797 margin: 0 5px !important; 798 vertical-align: middle; 722 799 } 723 800 724 801 #buddypress #activity-stream .activity-content .activity-meta a { … … 726 803 margin-bottom: 5px; 727 804 } 728 805 729 @media screen and (min-width: 3 8.75em) {806 @media screen and (min-width: 30em) { 730 807 #buddypress #activity-stream .activity-content .activity-meta a { 731 808 display: inline-block; 732 809 margin-bottom: 0; 810 width: auto; 733 811 } 734 812 } 735 813 … … 781 859 */ 782 860 #buddypress #activity-stream .activity-comments { 783 861 border-left: 1px solid #eaeaea; 784 margin -top: 5px;862 margin: 20px 0 20px; 785 863 } 786 864 865 @media screen and (min-width: 30em) { 866 #buddypress #activity-stream .activity-comments { 867 margin-left: 20px; 868 } 869 } 870 787 871 #buddypress #activity-stream .activity-comments ul { 788 background: rgba(247, 247, 247, 0.6);789 color: #737373;790 872 margin: 15px 0 0 2px; 791 873 } 792 874 875 #buddypress #activity-stream .activity-comments ul li { 876 border-top: 1px solid #bebebe; 877 } 878 793 879 #buddypress #activity-stream .activity-comments ul a { 794 880 color: #0077c7; 795 881 } 796 882 797 883 #buddypress #activity-stream .activity-comments .acomment-meta { 798 color: #737373;884 border-bottom: 1px solid #eaeaea; 799 885 } 800 886 801 887 #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], 802 888 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 803 color: rgba( 20, 20, 18, 0.8);889 color: rgba(51, 51, 51, 0.8); 804 890 display: inline-block; 805 891 font-family: inherit; 806 892 font-size: 12px; … … 813 899 } 814 900 815 901 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 816 border: 1px solid rgba( 212, 208, 186, 0.7);902 border: 1px solid rgba(190, 190, 190, 0.7); 817 903 text-align: center; 818 904 } 819 905 … … 834 920 #buddypress #members-list li .action { 835 921 float: right; 836 922 } 923 #buddypress #members-list li.is-current-user .item { 924 float: none; 925 left: 0; 926 padding-left: 5%; 927 width: auto; 928 } 837 929 } 838 930 839 931 /** … … 880 972 * @subsection 6.1 - Item Header Global 881 973 *----------------------------------------------------------- 882 974 */ 975 @media screen and (min-width: 48em) { 976 .bp-user.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { 977 margin-left: 140px; 978 margin-top: -100px; 979 } 980 .single-item.groups.page-two-column #buddypress #cover-image-container #item-header-cover-image #item-header-content { 981 margin-left: 10px; 982 } 983 } 984 985 .bp-user #buddypress #item-header-cover-image .user-nicename, 986 .single-item.groups #buddypress #item-header-cover-image .user-nicename { 987 color: #333; 988 text-shadow: none; 989 } 990 991 @media screen and (min-width: 48em) { 992 .bp-user #buddypress #item-header-cover-image .user-nicename, 993 .single-item.groups #buddypress #item-header-cover-image .user-nicename { 994 color: #fff; 995 text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); 996 } 997 } 998 883 999 .bp-user #buddypress #item-header-content #item-meta, 884 1000 .single-item.groups #buddypress #item-header-content #item-meta { 885 1001 font-size: 14px; … … 953 1069 order: 1; 954 1070 text-align: center; 955 1071 } 956 .single-item.groups #buddypress div#item-header #item-header-avatar a {957 border-bottom: 0;958 }959 1072 .single-item.groups #buddypress div#item-header #item-header-avatar a img { 960 1073 display: inline-block; 961 1074 float: none; … … 1051 1164 1052 1165 .bp-user #buddypress #item-header #item-header-avatar img.avatar, 1053 1166 .bp-user #buddypress #item-header #item-header-avatar a { 1054 border-bottom: 0;1055 1167 display: inline-block; 1056 1168 float: none; 1057 1169 } … … 1083 1195 * Groups specific item body rules - screens 1084 1196 *---------------------------------------------------- 1085 1197 */ 1198 .groups.single-item.members #buddypress #subnav.item-list-tabs ul { 1199 background: none; 1200 border-top: 0; 1201 } 1202 1086 1203 /** 1087 1204 *----------------------------------------- 1088 1205 * @subsection 6.2.1.1 - Group Management … … 1120 1237 } 1121 1238 1122 1239 .groups.group-settings #group-settings-form div.radio label ul { 1123 color: rgba( 20, 20, 18, 0.6);1240 color: rgba(51, 51, 51, 0.6); 1124 1241 font-size: 14px; 1125 1242 font-size: 0.875rem; 1126 1243 } … … 1184 1301 1185 1302 .groups.group-members #subnav li #search-members-form { 1186 1303 float: right; 1187 margin: 5px 5px0 0;1304 margin: 5px 0 0; 1188 1305 } 1189 1306 1190 1307 @media screen and (max-width: 38.75em) { … … 1253 1370 font-style: italic; 1254 1371 } 1255 1372 1256 .bp-user #buddypress .notifications-options-nav {1257 border: 1px solid rgba(212, 208, 186, 0.5); 1373 .bp-user #buddypress .notifications-options-nav, 1374 .bp-user #buddypress .messages-options-nav { 1258 1375 float: left; 1259 1376 width: 100%; 1260 1377 } 1261 1378 1262 1379 @media screen and (min-width: 38.75em) { 1263 .bp-user #buddypress .notifications-options-nav { 1380 .bp-user #buddypress .notifications-options-nav, 1381 .bp-user #buddypress .messages-options-nav { 1264 1382 width: 300px; 1265 1383 } 1266 1384 } 1267 1385 1268 .bp-user #buddypress .notifications-options-nav select { 1386 .bp-user #buddypress .notifications-options-nav select, 1387 .bp-user #buddypress .messages-options-nav select { 1269 1388 height: auto; 1270 1389 } 1271 1390 1272 1391 .bp-user #buddypress .notifications-options-nav select, 1273 .bp-user #buddypress .notifications-options-nav input { 1274 border: 0; 1392 .bp-user #buddypress .notifications-options-nav input, 1393 .bp-user #buddypress .messages-options-nav select, 1394 .bp-user #buddypress .messages-options-nav input { 1275 1395 font-size: 14px; 1276 1396 font-size: 0.875rem; 1277 1397 outline: 0; … … 1278 1398 padding: 0; 1279 1399 } 1280 1400 1281 .bp-user #buddypress .notifications-options-nav select { 1401 .bp-user #buddypress .notifications-options-nav select, 1402 .bp-user #buddypress .messages-options-nav select { 1282 1403 float: left; 1283 margin-right: 0;1284 width: 60%;1404 margin-right: 1%; 1405 width: 59%; 1285 1406 } 1286 1407 1287 .bp-user #buddypress .notifications-options-nav input { 1408 .bp-user #buddypress .notifications-options-nav input, 1409 .bp-user #buddypress .messages-options-nav input { 1288 1410 float: right; 1289 1411 font-family: inherit; 1290 1412 line-height: 20px; … … 1291 1413 width: 40%; 1292 1414 } 1293 1415 1416 .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:focus, 1417 .bp-user #buddypress .notifications-options-nav input[disabled="disabled"]:hover, 1418 .bp-user #buddypress .messages-options-nav input[disabled="disabled"]:focus, 1419 .bp-user #buddypress .messages-options-nav input[disabled="disabled"]:hover { 1420 background: none; 1421 } 1422 1294 1423 /** 1295 1424 *------------------------------------------- 1296 1425 * @subsection 6.2.2.2 - Extended Profiles … … 1301 1430 } 1302 1431 1303 1432 .bp-user #buddypress .profile .bp-widget h2 { 1304 background: #7b7b7b;1305 color: #fff;1306 1433 margin: 40px 0 10px; 1307 1434 padding: 0.1em 0 0.1em 0.4em; 1308 1435 } … … 1311 1438 margin-top: 0; 1312 1439 } 1313 1440 1441 .bp-user #buddypress .profile .bp-widget .profile-fields tr.alt td { 1442 color: #333; 1443 } 1444 1445 .bp-user #buddypress .profile .bp-widget .profile-fields tr:last-child { 1446 border-bottom: none; 1447 } 1448 1314 1449 .bp-user #buddypress .profile #profile-edit-form .button-nav:before, 1315 1450 .bp-user #buddypress .profile #profile-edit-form .button-nav:after { 1316 1451 content: " "; … … 1345 1480 } 1346 1481 1347 1482 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle, 1483 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-notoggle, 1348 1484 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings { 1349 1485 font-size: 14px; 1350 1486 font-size: 0.875rem; 1487 margin-top: 10px; 1351 1488 } 1352 1489 1353 1490 .bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close, 1354 1491 .bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link { 1355 1492 background: #555; 1493 -webkit-border-radius: 3px; 1494 -moz-border-radius: 3px; 1495 -ms-border-radius: 3px; 1496 border-radius: 3px; 1497 background-clip: padding-box; 1356 1498 color: #fff; 1357 1499 padding: 0.2em 0.5em; 1358 1500 } … … 1434 1576 } 1435 1577 1436 1578 .bp-user #buddypress #message-threads thead tr { 1437 background: #6f6f6f; 1579 background: none; 1580 border-bottom: 1px solid #bebebe; 1438 1581 } 1439 1582 1583 .bp-user #buddypress #message-threads thead tr th { 1584 background: #555; 1585 } 1586 1587 .bp-user #buddypress #message-threads tr { 1588 border-bottom: 5px solid #878787; 1589 } 1590 1440 1591 .bp-user #buddypress #message-threads tr td { 1441 background: #fff;1442 1592 display: inline-block; 1443 1593 float: left; 1444 1594 } … … 1445 1595 1446 1596 .bp-user #buddypress #message-threads tr td.thread-star, 1447 1597 .bp-user #buddypress #message-threads tr td.thread-options { 1448 border-bottom-color: # ccc;1449 border-bottom-width: 2px;1598 border-bottom-color: #bebebe; 1599 border-bottom-width: 1px; 1450 1600 height: 2.4em; 1451 1601 padding-bottom: 0.2em; 1452 1602 padding-top: 0.2em; … … 1459 1609 } 1460 1610 } 1461 1611 1612 .bp-user #buddypress #message-threads tr td.bulk-select-check, 1613 .bp-user #buddypress #message-threads tr td.thread-star, 1614 .bp-user #buddypress #message-threads tr td.thread-from, 1615 .bp-user #buddypress #message-threads tr td.thread-info, 1616 .bp-user #buddypress #message-threads tr td.thread-options { 1617 border-top: 0; 1618 } 1619 1462 1620 .bp-user #buddypress #message-threads tr td.thread-star { 1463 1621 vertical-align: middle; 1464 1622 } … … 1529 1687 } 1530 1688 1531 1689 .bp-user #buddypress #message-threads tr.unread td { 1532 background: #eee;1533 border-color: # d4d0ba;1690 background: none; 1691 border-color: #bebebe; 1534 1692 } 1535 1693 1536 1694 .bp-user #buddypress #message-threads th { … … 1550 1708 width: 30px; 1551 1709 } 1552 1710 1553 .bp-user #buddypress .messages-options-nav select {1554 height: auto;1555 }1556 1557 1711 .bp-user #buddypress .acfb-holder { 1558 1712 list-style: none; 1559 1713 } … … 1563 1717 } 1564 1718 1565 1719 .bp-user #buddypress .acfb-holder li.friend-tab { 1566 background: #e df7fa;1720 background: #e3f6ff; 1567 1721 border: inherit; 1568 1722 margin-right: 0; 1569 1723 padding: 0.5em; … … 1717 1871 1718 1872 #buddypress div.activity-comments form .ac-textarea { 1719 1873 background: #f7f7f7; 1720 border: 1px solid rgba( 212, 208, 186, 0.5);1874 border: 1px solid rgba(190, 190, 190, 0.5); 1721 1875 } 1722 1876 1723 1877 #buddypress div.activity-comments form .ac-textarea textarea { … … 1735 1889 #buddypress .standard-form button, 1736 1890 #buddypress .standard-form select, 1737 1891 #buddypress .standard-form textarea { 1738 border-color: rgba( 212, 208, 186, 0.5);1892 border-color: rgba(190, 190, 190, 0.5); 1739 1893 border-width: 1px; 1740 1894 } 1741 1895 … … 1761 1915 #buddypress div.dir-search form, 1762 1916 #buddypress div.message-search form, 1763 1917 #buddypress li.groups-members-search form { 1764 border: 1px solid rgba(212, 208, 186, 0.6); 1918 border: 1px solid rgba(190, 190, 190, 0.6); 1919 -webkit-border-radius: 2px; 1920 -moz-border-radius: 2px; 1921 -ms-border-radius: 2px; 1922 border-radius: 2px; 1923 background-clip: padding-box; 1765 1924 overflow: hidden; 1766 1925 } 1767 1926 … … 1770 1929 #buddypress li.groups-members-search form label { 1771 1930 float: left; 1772 1931 margin: 0; 1932 width: 70%; 1773 1933 } 1774 1934 1775 1935 #buddypress div.dir-search form input[type='text'], … … 1777 1937 #buddypress li.groups-members-search form input[type='text'] { 1778 1938 float: left; 1779 1939 margin: 0; 1780 width: 70%;1940 width: 100%; 1781 1941 } 1782 1942 1783 1943 #buddypress div.dir-search form input[type='text'], … … 1786 1946 #buddypress div.message-search form input[type='submit'], 1787 1947 #buddypress li.groups-members-search form input[type='text'], 1788 1948 #buddypress li.groups-members-search form input[type='submit'] { 1949 border: 0; 1789 1950 font-size: 14px; 1790 1951 font-size: 0.875rem; 1791 border: 0;1792 1952 line-height: inherit; 1793 1953 } 1794 1954 … … 1795 1955 #buddypress div.dir-search form input[type='text'], 1796 1956 #buddypress div.message-search form input[type='text'], 1797 1957 #buddypress li.groups-members-search form input[type='text'] { 1798 border-right: 1px solid rgba(212, 208, 186, 0.6); 1958 border-right: 1px solid rgba(190, 190, 190, 0.6); 1959 font-weight: 400; 1799 1960 padding: 0.2em 0 0.2em 0.2em; 1800 1961 } 1801 1962 … … 1802 1963 #buddypress div.dir-search form input[type='submit'], 1803 1964 #buddypress div.message-search form input[type='submit'], 1804 1965 #buddypress li.groups-members-search form input[type='submit'] { 1966 border-radius: 0; 1805 1967 float: right; 1806 1968 font-weight: normal; 1807 1969 padding: 0.2em 1em; … … 1810 1972 width: 30%; 1811 1973 } 1812 1974 1975 #buddypress div.dir-search { 1976 margin-top: 0; 1977 } 1978 1979 #buddypress .dir-search #search-members-form input[type='text'], 1980 #buddypress #search-groups-form input[type='text'], 1981 #buddypress #search-message-form input[type='text'] { 1982 float: left; 1983 margin: 0; 1984 width: 70%; 1985 } 1986 1813 1987 @media screen and (min-width: 30em) { 1814 1988 #buddypress div.dir-search, 1815 1989 #buddypress div.message-search, … … 1817 1991 float: right; 1818 1992 margin-bottom: 5px !important; 1819 1993 } 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 1994 } 1832 1995 1833 1996 @media screen and (min-width: 67em) { 1834 1997 #buddypress .dir-search form input[type='text'], 1835 #buddypress .message-search form input[type='text'] { 1998 #buddypress .message-search form input[type='text'], 1999 #buddypress li.groups-members-search form input[type='text'] { 1836 2000 font-size: 16px; 1837 2001 font-size: 1rem; 1838 2002 } 1839 2003 #buddypress .dir-search form input[type='submit'], 1840 #buddypress .message-search form input[type='submit'] { 2004 #buddypress .message-search form input[type='submit'], 2005 #buddypress li.groups-members-search form input[type='submit'] { 1841 2006 font-size: 16px; 1842 2007 font-size: 1rem; 1843 2008 } 1844 2009 } 1845 2010 2011 body.colors-dark #page #buddypress .dir-search form, 2012 body.colors-dark #page #buddypress .groups-members-search form { 2013 background: #333; 2014 border-color: #555; 2015 -webkit-border-radius: 2px; 2016 -moz-border-radius: 2px; 2017 -ms-border-radius: 2px; 2018 border-radius: 2px; 2019 background-clip: padding-box; 2020 padding: 1px; 2021 } 2022 2023 body.colors-dark #page #buddypress .dir-search input[type="text"], 2024 body.colors-dark #page #buddypress .groups-members-search input[type="text"] { 2025 background: none; 2026 } 2027 2028 body.colors-dark #page #buddypress .dir-search input[type="submit"], 2029 body.colors-dark #page #buddypress .groups-members-search input[type="submit"] { 2030 -webkit-border-radius: 2px; 2031 -moz-border-radius: 2px; 2032 -ms-border-radius: 2px; 2033 border-radius: 2px; 2034 background-clip: padding-box; 2035 } 2036 1846 2037 /** 1847 2038 *------------------------------------------------------------------------------- 1848 2039 * @section 8.0 - Tables - General … … 1855 2046 } 1856 2047 1857 2048 #buddypress table tr th { 1858 background: # 6f6f6f;1859 border-color: # b7b7b7;1860 color: # fff;2049 background: #f7f7f7; 2050 border-color: #eaeaea; 2051 color: #333; 1861 2052 } 1862 2053 1863 2054 #buddypress table p { … … 1914 2105 text-align: center; 1915 2106 } 1916 2107 2108 #buddypress .notifications .actions { 2109 text-align: center; 2110 } 2111 1917 2112 /** 1918 2113 *------------------------------------------------------------------------------- 1919 2114 * @section 9.0 - Error / Success messages … … 1926 2121 } 1927 2122 1928 2123 #buddypress div#message.info p { 1929 background: # c6e4ee;1930 border: 1px solid # 78bed6;1931 color: # 1e5264;2124 background: #b0e5ff; 2125 border: 1px solid #4ac3ff; 2126 color: #00547d; 1932 2127 } 1933 2128 1934 2129 #buddypress div#message.updated p { … … 1937 2132 color: #454d19; 1938 2133 } 1939 2134 2135 #buddypress .bp-avatar-status .warning, 2136 #buddypress .bp-cover-image-status .warning { 2137 background: #7dd4ff; 2138 border: 1px solid #000; 2139 color: #333; 2140 font-size: 16px; 2141 font-size: 1rem; 2142 } 2143 1940 2144 .delete-group #buddypress div#message.info p { 1941 2145 background: #db7e7e; 1942 2146 border: 1px solid #be3535; … … 1949 2153 *------------------------------------------------------------------------------- 1950 2154 */ 1951 2155 #buddypress .acfb-holder li.friend-tab { 1952 background: # 9fd1e2;2156 background: #7dd4ff; 1953 2157 border: inherit; 1954 2158 } -
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; 204 $bp-xlight-text: #eee; 196 205 $content-background: #fff; 197 $off-white: lighten(#f9f8ee, 0.7);206 $off-white: #fafafa; 198 207 $cream-background: #f7f5e7; 199 $light-background: #f7f7f7;200 $medium-background: #ccc;201 $dark-background: #555;202 $border-color: # d4d0ba; // border color is varied using rgba208 $light-background: $x-light-grey; 209 $medium-background: $medium-grey; 210 $dark-background: $dark-grey; 211 $border-color: #bebebe; 203 212 $border-light: #eaeaea; // BP dividers 204 213 $border-med: #ddd; 205 214 $background-hover: #db572f; // 2017 link background hover … … 206 215 $bp-button-hover: #ededed; // this is the default BP button hover background 207 216 $notice-error: #c85a6e; 208 217 $notice-warning: #d05656; 209 $notice-info: # 9fd1e2;218 $notice-info: #7dd4ff; 210 219 $notice-update: #ced98c; 211 220 $stripe-odd: #ebf0ff; 212 221 $stripe-even: #dbe5ff; 213 $unread: #eee;222 $unread: $x-light-grey; 214 223 $link-action: #c82b2b; 215 224 /*-------------------------------------------------------------- 216 225 … … 293 302 294 303 } // close .buddypress 295 304 296 305 // reduce the overlarge entry title margins 297 306 @include medium-up { 298 307 299 308 .buddypress.bp-user.page, … … 310 319 } 311 320 } 312 321 } 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 322 321 @include medium-up {322 @include font-size(28);323 }324 }325 }326 }327 }328 329 323 // 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.324 // This takes into account the ability to columnize pages in 2017. 331 325 // Only effect changes based on breakpoints. 332 326 333 @include med ium-up {327 @include med-small-up { 334 328 335 329 body.buddypress.page.page-two-column { 336 330 … … 337 331 #primary { 338 332 339 333 .entry-header { 340 width: 20%;334 width: 30%; 341 335 } 342 336 343 337 .entry-content { 344 width: 80%;338 width: 68%; 345 339 } 346 340 } 347 341 } … … 357 351 .content-bottom-widgets { 358 352 margin-left: 0; 359 353 margin-right: 0; 360 // width: auto;361 354 } 362 355 } 363 356 … … 371 364 } // body.buddypress 372 365 } 373 366 367 // 2017 allows for selecting two distinct color schemes. 368 // Our companion styles respect themes colors & inherit or avoid 369 // setting backgrounds/colors so selecting the dark scheme generally 370 // allows the theme to reset the BP text/headings etc to white 371 // In places we do set backgrounds, Navs, search forms etc these 372 // are added here under the themes body class to enable changing 373 374 // Some element colors are inherited from BP original sheet so need to 375 // to be reset under the dark scheme, where set in this sheet we simply state them 376 // only for the light scheme, additionally elements such as BP form styles 377 // need styles removing & are handled later in 'Forms' section 378 body.colors-dark { 379 380 #buddypress { 381 382 //tabs border bottom color needs to match dark background 383 #group-create-tabs.item-list-tabs { 384 385 li.selected, 386 li.current { 387 border-bottom-color: #222; 388 389 a { 390 color: inherit; 391 } 392 } 393 } 394 395 .item-list-tabs { 396 397 li.selected, 398 li.current { 399 400 a { 401 color: inherit; 402 } 403 } 404 } 405 406 // With the dark scheme the subnav links lose definition as list links 407 // nav menu, add a border bottom to clarify the nav. 408 #subnav.item-list-tabs { 409 410 ul { 411 border-bottom: 1px solid rgba($border-light, 0.9); 412 margin-bottom: $spacing-val-md; 413 414 li.last { 415 border-top: 1px solid rgba($border-light, 0.9); 416 } 417 } 418 } 419 420 // lists text: descr, meta, etc 421 .item-list { 422 423 div.meta { 424 color: #ddd; 425 } 426 427 div.item-desc, 428 .activity-header p, 429 .activity-comments ul, 430 .acomment-meta { 431 color: $bp-xlight-text; 432 } 433 434 .activity-meta, 435 .action { 436 a { 437 background: $off-white; 438 439 &:focus, 440 &:hover { 441 background: $white; 442 } 443 } 444 } 445 } 446 447 #latest-update { 448 color: $bp-xlight-text; 449 } 450 451 div.pagination * { 452 color: #ddd; 453 } 454 455 #item-header { 456 .user-nicename { 457 color: $bp-xlight-text; 458 } 459 } 460 461 #item-body { 462 463 table { 464 465 thead { 466 467 tr, 468 th { 469 background: none ; 470 color: $bp-xlight-text; 471 } 472 } 473 474 tr.alt { 475 476 td { 477 background: none; 478 color: $bp-xlight-text; 479 } 480 } 481 482 .field-visibility-settings, 483 .field-visibility-settings-notoggle { 484 color: #eee; 485 } 486 487 } 488 489 fieldset { 490 background: none; 491 } 492 493 .checkbox, 494 .radio { 495 496 label { 497 color: #eee; 498 } 499 } 500 501 div#invite-list { 502 background: none; 503 } 504 } 505 506 } // close #buddypress 507 } 508 509 // remove borders for dir component screens. 510 .directory.colors-dark { 511 512 #buddypress { 513 514 #subnav { 515 ul { 516 border-top: 0; 517 518 li.last.filter { 519 border-top: 0; 520 } 521 } 522 } 523 524 div.activity { 525 ul.item-list { 526 border-top: 0; 527 } 528 } 529 } 530 } 531 532 body.colors-light { 533 534 #buddypress { 535 536 div.item-list-tabs { 537 538 ul { 539 background-color: $off-white; 540 } 541 } 542 543 div#subnav.item-list-tabs { 544 545 ul { 546 background-color: $light-background; 547 548 li.last { 549 background: $content-background; 550 } 551 } 552 } 553 554 .item-list { 555 556 .activity-header { 557 558 p { 559 background-color: $light-background; 560 color: $bp-light-text; 561 } 562 } 563 564 .activity-comments { 565 566 .acomment-meta { 567 color: #737373; 568 } 569 } 570 } 571 572 #item-body { 573 574 .profile { 575 576 h2 { 577 background: $medium-grey; 578 color: #fff; 579 } 580 } 581 } 582 583 table { 584 585 tr.alt { 586 587 td { 588 background: #f5f5f5; 589 color: $body-text; 590 } 591 } 592 } 593 594 div#invite-list { 595 background: $off-white; 596 } 597 } // close #buddypress 598 } 599 374 600 /** 375 601 *------------------------------------------------------------------------------- 376 602 * @section 2.0 - Navigation - General … … 409 635 div.item-list-tabs { 410 636 411 637 ul { 412 background-color: $off-white;413 638 border-bottom: 1px solid rgba($border-light, 0.9); 414 border-top: 1px solid rgba($border-light, 0.9);415 639 overflow: hidden; 416 640 padding: 0; 417 641 … … 418 642 li { 419 643 420 644 a { 421 color: #0073c1;422 645 423 646 span {border-radius: 25%;} 424 647 } … … 428 651 429 652 } // close #buddypress 430 653 431 // .bp-user #object-nav @ small screen as a dropdown432 654 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 655 /*__ Horizontal menus __*/ 481 656 #buddypress { 482 657 … … 519 694 margin-top: 0; 520 695 521 696 ul { 522 background-color: $light-background;523 697 border-bottom: 0; 524 698 margin-top: $spacing-val-xs; 525 699 padding: 0; 526 700 527 701 li.last { 528 background: $content-background;529 702 margin-top: 0; 530 703 padding: $spacing-val-xs $spacing-val-xs $spacing-val-xs 0; 531 704 width: 100%; … … 569 742 // This block contains rules to re-factor the item-body structural element 570 743 // to sit alongside the vert menu 571 744 // 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.745 // we'll only display object nav as a vert menu if not .two-column-page. 573 746 574 747 @include medium-up { 575 748 576 body .no-sidebar{749 body:not(.page-two-column) { 577 750 578 751 #buddypress { 579 752 580 #item-header,581 #item-body {582 background: $content-background;583 }584 585 753 #object-nav { 586 754 border-right: 1px solid $border-med; 587 755 float: left; … … 630 798 631 799 @include med-small-up { 632 800 633 #main {634 635 801 #buddypress { 636 802 637 803 #group-create-tabs.item-list-tabs { … … 682 848 683 849 } // close #subnav 684 850 } // close #buddypress 685 } 851 686 852 } // close @media 687 853 688 854 /** … … 770 936 } 771 937 772 938 .action { 939 773 940 .generic-button { 941 774 942 a { 943 775 944 &:focus, 776 945 &:hover { 777 946 background: inherit; … … 851 1020 852 1021 .update { 853 1022 display: block; 854 @include font-size(1 2);1023 @include font-size(13); 855 1024 856 1025 @include medium-up { 857 1026 @include font-size(14); … … 892 1061 // remove BP margin left 893 1062 margin-left: 0; 894 1063 padding: $spacing-val-md 0 $spacing-val-xs; 1064 895 1065 // push the actions to the right 896 897 1066 @include medium-up { 898 1067 clear: none; 899 1068 float: right; … … 917 1086 // Provisionally lets keep the 'action' div 918 1087 // position but inline-block the buttons 919 1088 920 @include med-small-up {1089 @include small-up { 921 1090 // keep buttons to a row small tablet up 922 1091 margin: 0 $spacing-val-sm $spacing-val-sm 0; 923 1092 width: auto; … … 1088 1257 li.mini { 1089 1258 1090 1259 .activity-avatar { 1260 1091 1261 a { 1262 1092 1263 img.avatar { 1093 1264 height: 30px; 1094 1265 margin-left: 15px; … … 1109 1280 margin-top: -12px; 1110 1281 1111 1282 .activity-header { 1112 line-height: inherit;1113 1283 margin-right: 0; 1114 1284 1115 1285 p { 1116 background-color: $light-background;1117 1286 border: 1px solid rgba($border-light, 0.6); 1118 color: #727272;1119 1287 margin-top: 0; 1120 1288 padding: 0 0.2em; 1121 1289 } 1122 1290 1123 1291 img.avatar { 1292 box-shadow: none; 1124 1293 display: inline-block; 1125 margin-bottom: 0 !important; // have to match to BP 1294 margin: 0 5px !important; // have to match to BP 1295 vertical-align: middle; 1126 1296 } 1127 1297 } // close .activity-header 1128 1298 1129 1299 .activity-meta { 1300 1130 1301 a { 1131 1302 display: block; 1132 1303 margin-bottom: $spacing-val-xs; 1133 1304 1134 @include small-up -bp{1305 @include small-up { 1135 1306 display: inline-block; 1136 1307 margin-bottom: 0; 1308 width: auto; 1137 1309 } 1138 1310 } 1139 1311 } … … 1197 1369 1198 1370 .activity-comments { 1199 1371 border-left: 1px solid $border-light; 1200 margin-top: 5px;1201 1372 1373 margin: $spacing-val-md 0 $spacing-val-md ; 1374 1375 @include small-up { 1376 margin-left: $spacing-val-md; 1377 } 1378 1202 1379 ul { 1203 background: rgba($light-background, 0.6);1204 color: #737373;1205 1380 margin: 15px 0 0 2px; 1206 1381 1382 li { 1383 border-top: 1px solid $border-color; 1384 } 1385 1207 1386 a { 1208 1387 color: #0077c7; 1209 1388 } … … 1210 1389 } 1211 1390 1212 1391 .acomment-meta { 1213 color: #737373;1392 border-bottom: 1px solid $border-light; 1214 1393 } 1215 1394 1216 1395 .ac-form { … … 1256 1435 #members-list { 1257 1436 1258 1437 @include medium-up { 1438 1259 1439 li { 1260 1440 .item-avatar, 1261 1441 .item { … … 1266 1446 float: right; 1267 1447 } 1268 1448 } 1449 1450 li.is-current-user { 1451 1452 .item { 1453 float: none; 1454 left: 0; 1455 padding-left: 5%; 1456 width: auto; 1457 } 1458 } 1269 1459 } 1270 1460 1271 1461 } // close #members-list … … 1318 1508 * @subsection 6.1 - Item Header Global 1319 1509 *----------------------------------------------------------- 1320 1510 */ 1511 @include med-small-up { 1321 1512 1513 1514 .bp-user.page-two-column { 1515 1516 #buddypress { 1517 1518 #cover-image-container { 1519 1520 #item-header-cover-image { 1521 1522 1523 } 1524 } 1525 1526 #cover-image-container { 1527 1528 #item-header-cover-image { 1529 1530 #item-header-content { 1531 margin-left: 140px; 1532 margin-top: -100px; 1533 } 1534 } 1535 } 1536 } 1537 } 1538 1539 .single-item.groups.page-two-column { 1540 1541 #buddypress { 1542 1543 #cover-image-container { 1544 1545 #item-header-cover-image { 1546 1547 #item-header-content { 1548 margin-left: 10px; 1549 } 1550 } 1551 } 1552 } 1553 } 1554 } 1555 1322 1556 .bp-user, 1323 1557 .single-item.groups { 1324 1558 1325 1559 #buddypress { 1326 1560 1561 // we need to remove the cover image dec styles 1562 // & reset them for med up only. 1563 #item-header-cover-image { 1564 .user-nicename { 1565 color: $body-text; 1566 text-shadow: none; 1567 } 1568 } 1569 1570 @include med-small-up { 1571 1572 #item-header-cover-image { 1573 1574 .user-nicename { 1575 color: $white; 1576 text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); 1577 } 1578 } 1579 } 1580 1327 1581 #item-header-content { 1328 1582 1329 1583 #item-meta { … … 1417 1671 text-align: center; 1418 1672 1419 1673 a { 1420 border-bottom: 0;1421 1674 1422 1675 img { 1423 1676 display: inline-block; … … 1524 1777 img.avatar, 1525 1778 1526 1779 a { 1527 border-bottom: 0;1528 1780 display: inline-block; 1529 1781 float: none; 1530 1782 } … … 1560 1812 *----------------------------------------------------------- 1561 1813 */ 1562 1814 1815 1563 1816 /** 1564 1817 *---------------------------------------------------- 1565 1818 * @subsection 6.2.1 - Item Body Groups … … 1568 1821 *---------------------------------------------------- 1569 1822 */ 1570 1823 1824 .groups.single-item.members { 1825 1826 #buddypress { 1827 1828 #subnav.item-list-tabs { 1829 1830 ul { 1831 background: none; 1832 border-top: 0; 1833 } 1834 1835 } 1836 } 1837 1838 } 1839 1571 1840 /** 1572 1841 *----------------------------------------- 1573 1842 * @subsection 6.2.1.1 - Group Management … … 1709 1978 } 1710 1979 } 1711 1980 1712 margin: $spacing-val-xs $spacing-val-xs0 0;1981 margin: $spacing-val-xs 0 0; 1713 1982 } 1714 1983 } 1715 1984 } … … 1778 2047 1779 2048 .pag-count {font-style: italic;} 1780 2049 1781 .notifications-options-nav { 1782 border: 1px solid rgba($border-color, 0.5); 2050 .notifications-options-nav, 2051 .messages-options-nav { 2052 1783 2053 float: left; 1784 2054 width: 100%; 1785 2055 … … 1793 2063 1794 2064 select, 1795 2065 input { 1796 border: 0; 2066 1797 2067 @include font-size(14); 1798 2068 outline: 0; 1799 2069 padding: 0; … … 1801 2071 1802 2072 select { 1803 2073 float: left; 1804 margin-right: 0;1805 width: 60%;2074 margin-right: 1%; 2075 width: 59%; 1806 2076 } 1807 2077 1808 2078 input { … … 1812 2082 width: 40%; 1813 2083 } 1814 2084 1815 } // close .notifications-options-nav 2085 input[disabled="disabled"]:focus, 2086 input[disabled="disabled"]:hover { 2087 background: none; 2088 } 1816 2089 2090 2091 } // close .notifications-options-nav/.messages-options-nav 2092 1817 2093 } //close #buddypress 1818 2094 } // close .bp-user 1819 2095 … … 1830 2106 .profile { 1831 2107 .bp-widget { 1832 2108 h2 { 1833 background: lighten($dark-background, 15%);1834 color: #fff;1835 2109 margin: $spacing-val-lg 0 $spacing-val-sm; 1836 2110 padding: 0.1em 0 0.1em 0.4em; 1837 2111 } 1838 2112 1839 2113 table {margin-top: 0;} 2114 2115 .profile-fields { 2116 2117 tr.alt { 2118 td { 2119 color: $body-text; 2120 } 2121 } 2122 2123 tr:last-child { 2124 border-bottom: none; 2125 } 2126 } 2127 1840 2128 } 2129 1841 2130 /* Edit profile */ 1842 2131 1843 2132 #profile-edit-form { … … 1874 2163 } //.button-nav 1875 2164 1876 2165 .field-visibility-settings-toggle, 2166 .field-visibility-settings-notoggle, 1877 2167 .field-visibility-settings { 1878 2168 @include font-size(14); 2169 margin-top: $spacing-val-sm; 1879 2170 } 1880 2171 1881 2172 .field-visibility-settings-close, 1882 2173 .visibility-toggle-link { 1883 2174 background: $dark-background; 2175 @include border-radius(3px); 1884 2176 color: #fff; 1885 2177 padding: 0.2em 0.5em; 1886 2178 } … … 1932 2224 1933 2225 #message-thread { 1934 2226 //Single message view 2227 1935 2228 a { 1936 2229 border-bottom: 0; 1937 2230 } … … 1979 2272 } 1980 2273 1981 2274 #send-reply { 2275 1982 2276 .message-content { 1983 2277 background: $content-background; 1984 2278 border: 0; … … 1994 2288 #message-threads { 1995 2289 1996 2290 thead { 2291 1997 2292 tr { 1998 background: lighten($dark-background, 10%); 2293 background: none; 2294 border-bottom: 1px solid $border-color; 2295 2296 2297 th { 2298 background: #555; 2299 } 1999 2300 } 2000 2301 } 2001 2302 2002 2303 tr { 2304 border-bottom: 5px solid $medium-grey; 2305 2003 2306 td { 2004 background: $content-background;2005 2307 display: inline-block; 2006 2308 float: left; 2007 2309 } … … 2008 2310 2009 2311 td.thread-star, 2010 2312 td.thread-options { 2011 border-bottom-color: $ medium-background;2012 border-bottom-width: 2px;2313 border-bottom-color: $border-color; 2314 border-bottom-width: 1px; 2013 2315 height: 2.4em; 2014 2316 padding-bottom: 0.2em; 2015 2317 padding-top: 0.2em; … … 2019 2321 } 2020 2322 } 2021 2323 2324 td.bulk-select-check, 2325 td.thread-star, 2326 td.thread-from, 2327 td.thread-info, 2328 td.thread-options { 2329 border-top: 0; 2330 } 2331 2022 2332 td.thread-star { 2023 2333 vertical-align: middle; 2024 2334 … … 2080 2390 } 2081 2391 2082 2392 tr.unread { 2393 2083 2394 td { 2084 background: $unread;2395 background: none; 2085 2396 border-color: $border-color; 2086 2397 } 2087 2398 } … … 2104 2415 } 2105 2416 } 2106 2417 2107 .messages-options-nav {2108 select {2109 height: auto;2110 }2111 }2112 2113 2418 .acfb-holder { 2114 2419 list-style: none; 2115 2420 … … 2295 2600 2296 2601 // Attempt to reset form control widths 2297 2602 #main { 2603 2298 2604 #buddypress { 2605 2299 2606 .standard-form { 2300 2607 2301 li {float: none;} 2608 li { 2609 float: none; 2610 } 2611 2302 2612 input[type='text'], 2303 2613 input[type='email'], 2304 2614 input[type='password'], … … 2309 2619 } 2310 2620 } 2311 2621 2312 2313 2622 #buddypress { 2314 2623 2315 2624 // Match BP form elements to Themes(2017) styling where styles … … 2364 2673 } // close #buddypress 2365 2674 2366 2675 #buddypress { 2676 2367 2677 div.dir-search, 2368 2678 div.message-search, 2369 2679 li.groups-members-search { … … 2375 2685 2376 2686 form { // *sigh* only to bludgeon over specified rules 2377 2687 border: 1px solid rgba($border-color, 0.6); 2688 @include border-radius(2px); 2378 2689 overflow: hidden; 2379 2690 2380 2691 label { 2381 2692 float: left; 2382 2693 margin: 0; 2694 width: 70%; 2383 2695 } 2384 2696 2385 2697 input[type='text'] { 2386 2698 float: left; 2387 2699 margin: 0; 2388 width: 70%;2700 width: 100%; 2389 2701 } 2390 2702 2391 2703 input[type='text'], 2392 2704 input[type='submit'] { 2705 border: 0; 2393 2706 @include font-size(14); 2394 border: 0;2395 2707 line-height: inherit; 2396 2708 } 2397 2709 2398 2710 input[type='text'] { 2399 2711 border-right: 1px solid rgba($border-color, 0.6); 2712 font-weight: 400; 2400 2713 padding: 0.2em 0 0.2em 0.2em; 2401 2714 } 2402 2715 2403 2716 input[type='submit'] { 2717 border-radius: 0; 2404 2718 float: right; 2405 2719 font-weight: normal; 2406 2720 padding: 0.2em 1em; … … 2412 2726 2413 2727 } // close .dir-search, .message-search 2414 2728 2729 // Dirs & certain components hide search hides labels so can't width the label element 2730 // adjust so that the input takes reduced width. 2731 2732 div.dir-search { 2733 margin-top: 0; 2734 } 2735 2736 .dir-search #search-members-form, 2737 #search-groups-form, 2738 #search-message-form { 2739 2740 input[type='text'] { 2741 float: left; 2742 margin: 0; 2743 width: 70%; 2744 } 2745 } 2746 2415 2747 // Shift the search parent to the right and allow to shrinkwrap 2416 2748 2417 2749 @include small-up { … … 2420 2752 li.groups-members-search { 2421 2753 float: right; 2422 2754 margin-bottom: 5px !important; 2423 2424 form {2425 label,2426 input[type='text'],2427 input[type='submit'] {2428 width: auto;2429 }2430 }2431 2755 } 2432 2756 2433 2757 } // close @media … … 2436 2760 @include large-up { 2437 2761 2438 2762 .dir-search, 2763 .message-search, 2764 li.groups-members-search { 2439 2765 2440 .message-search {2441 2442 2766 form { 2443 2767 2444 2768 input[type='text'] { … … 2454 2778 2455 2779 } // close #buddypress 2456 2780 2781 // Adjustments for form elements colors, backgrounds, borders under the dark scheme. 2782 body.colors-dark { 2783 2784 #page { // for weight 2785 2786 #buddypress { 2787 2788 .dir-search, 2789 .groups-members-search { 2790 2791 form { 2792 background: #333; 2793 border-color: #555; 2794 @include border-radius(2px); 2795 padding: 1px; 2796 } 2797 2798 input[type="text"] { 2799 background: none; 2800 } 2801 2802 input[type="submit"] { 2803 @include border-radius(2px) 2804 } 2805 } 2806 } 2807 } 2808 } 2457 2809 /** 2458 2810 *------------------------------------------------------------------------------- 2459 2811 * @section 8.0 - Tables - General … … 2472 2824 margin: $spacing-val-md 0; 2473 2825 2474 2826 tr th { 2475 background: lighten($dark-background, 10%);2476 border-color: darken($border-light, 20%);2477 color: $ content-background;2827 background: $light-background; 2828 border-color: $border-light; 2829 color: $body-text; 2478 2830 } 2479 2831 2480 2832 // Reduce the themes inherited paragraph margins in tables … … 2536 2888 } 2537 2889 2538 2890 } // .notifications, .message-notices 2891 2892 .notifications { // table element 2893 .actions { // th element 2894 text-align: center; 2895 } 2896 } 2539 2897 } // #buddypress 2540 2898 2541 2899 /** … … 2573 2931 2574 2932 } // close #message 2575 2933 2934 .bp-avatar-status, 2935 .bp-cover-image-status { 2936 2937 .warning { 2938 background: #7dd4ff; 2939 border: 1px solid #000; 2940 color: $body-text; 2941 @include font-size(16); 2942 } 2943 } 2944 2576 2945 } // close #buddypress 2577 2946 2578 2947 // Without direct classes on our mesages ( 'warning')