Changeset 9859
- Timestamp:
- 05/09/2015 06:54:33 PM (9 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/css
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css
r9852 r9859 77 77 margin: 0 8.3333% 0 4.3333%; } } 78 78 .buddypress main article .entry-header, .buddypress main article .entry-content { 79 padding: 0 2rem 2rem; }79 padding: 0 3rem 3rem 3rem; } 80 80 .buddypress main article #buddypress { 81 81 margin-bottom: 40px; } … … 112 112 #buddypress div.item-list-tabs ul { 113 113 background-color: #f7f7f7; 114 border-bottom: 1px solid rgba(153, 153, 153, 0.4); 114 border-bottom: 1px solid rgba(234, 234, 234, 0.9); 115 border-top: 1px solid rgba(234, 234, 234, 0.9); 115 116 overflow: hidden; 116 117 padding: 5px 0; } … … 172 173 overflow: hidden; } 173 174 #buddypress #object-nav ul li span { 175 background: #fff; 174 176 border-radius: 10%; 175 177 float: left; 176 margin-left: 15px; }178 margin-left: 2px; } 177 179 #buddypress #item-body { 178 180 border-right: 1px solid #ddd; 179 181 overflow: hidden; 180 padding: 0 10px;182 padding: 0 20px 0 0; 181 183 width: auto; } 182 184 #buddypress #item-body #subnav { 183 margin: 0 - 10px; } }185 margin: 0 -20px 0 0; } } 184 186 185 187 /** … … 217 219 *------------------------------------------------------------------------------- 218 220 */ 221 #buddypress .item-list .activity-header, #buddypress .item-list .activity-meta { 222 font-family: "Noto Sans", sans-serif; } 223 219 224 #buddypress ul.item-list li { 220 225 overflow: hidden !important; } … … 332 337 *----------------------------------------------------- 333 338 */ 334 #buddypress .activity-list li .activity-avatar a img.avatar { 335 height: 60px; 336 margin-right: 0; 337 width: 60px; } 338 #buddypress .activity-list li.mini .activity-avatar a img.avatar { 339 #buddypress #activity-stream li { 340 padding: 25px 0 15px; } 341 #buddypress #activity-stream li .activity-avatar { 342 float: none; 343 text-align: center; } 344 #buddypress #activity-stream li .activity-avatar a { 345 display: inline-block; } 346 #buddypress #activity-stream li .activity-avatar a img.avatar { 347 display: inline; 348 float: none; 349 height: 60px; 350 margin-bottom: 20px; 351 margin-right: 0; 352 width: 60px; } 353 #buddypress #activity-stream li .activity-content { 354 margin-right: 0; } 355 #buddypress #activity-stream li .activity-content .activity-header { 356 font-size: 14px; 357 font-size: 1.4rem; } 358 @media screen and (min-width: 46.25em) { 359 #buddypress #activity-stream li .activity-avatar { 360 float: right; 361 margin-left: 10px; 362 text-align: right; } 363 #buddypress #activity-stream li .activity-avatar a { 364 border-bottom: 0; } 365 #buddypress #activity-stream li .activity-content { 366 margin: 0; 367 overflow: hidden; } 368 #buddypress #activity-stream li .activity-content .activity-header { 369 font-size: 16px; 370 font-size: 1.6rem; } } 371 #buddypress #activity-stream li.mini .activity-avatar a img.avatar { 339 372 height: 30px; 340 373 margin-right: 15px; 341 374 width: 30px; } 342 #buddypress .activity-listli.mini .activity-content .activity-header {375 #buddypress #activity-stream li.mini .activity-content .activity-header { 343 376 font-size: 13px; 344 377 font-size: 1.3rem; } 345 #buddypress .activity-list.activity-content {378 #buddypress #activity-stream .activity-content { 346 379 margin-top: -12px; } 347 #buddypress .activity-list .activity-content .activity-header { 348 font-size: 16px; 349 font-size: 1.6rem; 380 #buddypress #activity-stream .activity-content .activity-header { 350 381 line-height: inherit; 351 382 margin-left: 0; } 352 #buddypress .activity-list.activity-content .activity-header p {383 #buddypress #activity-stream .activity-content .activity-header p { 353 384 background-color: #f7f7f7; 354 385 border: 1px solid rgba(234, 234, 234, 0.6); 355 386 padding: 0 0.2em; } 356 #buddypress .activity-list.activity-content .activity-header img.avatar {387 #buddypress #activity-stream .activity-content .activity-header img.avatar { 357 388 display: inline-block; 358 389 margin-bottom: 0 !important; } 359 #buddypress .activity-list.activity-content .activity-meta a {390 #buddypress #activity-stream .activity-content .activity-meta a { 360 391 display: block; 361 392 margin-bottom: 5px; } 362 393 @media screen and (min-width: 38.75em) { 363 #buddypress .activity-list.activity-content .activity-meta a {394 #buddypress #activity-stream .activity-content .activity-meta a { 364 395 display: inline-block; 365 396 margin-bottom: 0; } } 366 #buddypress .activity-list .load-more a { 367 display: block; } 397 #buddypress #activity-stream .load-more { 398 background: #f7f7f7; 399 border: 1px solid transparent; 400 padding: 10px; } 401 #buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { 402 background: #f4f4f4; 403 border: 1px solid rgba(159, 209, 226, 0.3); } 404 #buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { 405 font-style: italic; } 406 #buddypress #activity-stream .load-more a { 407 display: block; } 408 409 /* Single activity view - activity permalink */ 410 .activity-permalink #buddypress #activity-stream li.activity-item { 411 padding: 20px; } 412 .activity-permalink #buddypress #activity-stream li.mini .activity-header { 413 font-size: 16px; 414 font-size: 1.6rem; 415 margin-bottom: 40px; } 416 @media screen and (min-width: 46.25em) { 417 .activity-permalink #buddypress #activity-stream li.mini .activity-header { 418 font-size: 20px; 419 font-size: 2rem; } } 420 .activity-permalink #buddypress #activity-stream li.mini .activity-header p { 421 padding: 20px; } 368 422 369 423 /** … … 372 426 *----------------------------------------------------- 373 427 */ 374 #buddypress .activity.activity-comments {428 #buddypress #activity-stream .activity-comments { 375 429 border-right: 1px solid #eaeaea; 376 430 margin-top: 5px; } 377 #buddypress .activity.activity-comments ul {431 #buddypress #activity-stream .activity-comments ul { 378 432 background: rgba(247, 247, 247, 0.6); 379 margin: 30px 2px 0 0; }380 #buddypress .activity .activity-comments .ac-form input[type="submit"], #buddypress .activity.activity-comments .ac-form .ac-reply-cancel {433 margin: 15px 2px 0 0; } 434 #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 381 435 color: rgba(51, 51, 51, 0.8); 382 436 display: inline-block; … … 389 443 text-transform: lowercase; 390 444 width: 100px; } 391 #buddypress .activity.activity-comments .ac-form .ac-reply-cancel {445 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 392 446 border: 1px solid rgba(153, 153, 153, 0.7); 393 447 text-align: center; } 394 #buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress .activity.activity-comments .ac-form .ac-reply-cancel:hover {448 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { 395 449 background: #ededed; } 396 450 … … 416 470 *----------------------------------------------------------- 417 471 */ 472 @media screen and (max-width: 46.25em) { 473 .bp-user main header.entry-header, .single-item.groups main header.entry-header { 474 padding-bottom: 1rem; } } 475 @media screen and (max-width: 38.75em) { 476 .bp-user h1, .bp-user #item-header-content, .single-item.groups h1, .single-item.groups #item-header-content { 477 text-align: center; } } 478 @media screen and (max-width: 46.25em) { 479 .bp-user #buddypress #item-header .generic-button, .single-item.groups #buddypress #item-header .generic-button { 480 float: none; 481 margin: 1.5em 0 0 0; } } 482 @media screen and (max-width: 38.75em) { 483 .bp-user #buddypress h1, .single-item.groups #buddypress h1 { 484 margin-bottom: 0; } 485 .bp-user #buddypress #item-header-avatar img.avatar, .single-item.groups #buddypress #item-header-avatar img.avatar { 486 margin-left: 0; } 487 .bp-user #buddypress #item-header-content, .single-item.groups #buddypress #item-header-content { 488 width: 100%; } } 489 418 490 /** 419 491 *----------------------------------------------------- … … 423 495 *----------------------------------------------------- 424 496 */ 497 @media screen and (max-width: 46.25em) { 498 .single-item.groups #buddypress #item-header #item-meta { 499 margin-bottom: 20px; } } 425 500 @media screen and (max-width: 38.75em) { 426 501 .single-item.groups #buddypress div#item-header { … … 523 598 .groups.edit-details #group-settings-form label { 524 599 background: #555; 600 -webkit-border-top-left-radius: 4px; 525 601 border-top-left-radius: 4px; 602 -webkit-border-top-right-radius: 4px; 526 603 border-top-right-radius: 4px; 527 604 background-clip: padding-box; … … 744 821 margin: 10px 0 0 0; 745 822 padding: 0.3em; } 746 .bp-user #buddypress table#message-threads .bulk-select-check, .bp-user #buddypress table#message-threads .thread-star { 747 width: 10%; } 748 .bp-user #buddypress table#message-threads .thread-star a { 749 outline: none; } 750 .bp-user #buddypress table#message-threads .thread-from, .bp-user #buddypress table#message-threads .thread-info { 751 width: 30%; } 752 .bp-user #buddypress table#message-threads .thread-options { 753 width: 20%; } 754 .bp-user #buddypress table#message-threads tr td { 755 background: #ebf0ff; } 756 .bp-user #buddypress table#message-threads tr.alt td { 757 background: #dbe5ff; } 758 .bp-user #buddypress table#message-threads tr.unread td { 759 background: #cddaff; 760 border-bottom: 1px solid #e4cdff; 761 border-top: 1px solid #e4cdff; } 762 .bp-user #buddypress table#message-threads tr.read td { 763 background: #f7f7f7; } 823 .bp-user #buddypress #message-thread #send-reply .message-content { 824 background: #fff; 825 border: 0; } 826 .bp-user #buddypress #message-thread .alt { 827 background: #fff; } 828 .bp-user #buddypress #message-threads { 829 display: block; } 830 .bp-user #buddypress #message-threads thead tr { 831 background: #6e6e6e; } 832 .bp-user #buddypress #message-threads tr td { 833 background: #fff; 834 display: inline-block; 835 float: right; } 836 .bp-user #buddypress #message-threads tr td.thread-star, .bp-user #buddypress #message-threads tr td.thread-options { 837 border-bottom-color: #ccc; 838 border-bottom-width: 2px; 839 height: 2.4em; 840 padding-bottom: 0.2em; 841 padding-top: 0.2em; } 842 @media screen and (max-width: 46.25em) { 843 .bp-user #buddypress #message-threads tr td.thread-star, .bp-user #buddypress #message-threads tr td.thread-options { 844 padding-top: 0; } } 845 .bp-user #buddypress #message-threads tr td.bulk-select-check, .bp-user #buddypress #message-threads tr td.thread-from { 846 height: 2.6em; } 847 @media screen and (max-width: 38.75em) { 848 .bp-user #buddypress #message-threads tr td.bulk-select-check, .bp-user #buddypress #message-threads tr td.thread-from { 849 height: 5.2em; } } 850 .bp-user #buddypress #message-threads tr td.thread-from, .bp-user #buddypress #message-threads tr td.thread-options { 851 border-right: 0 !important; 852 width: -webkit-calc(100% - 30px); 853 width: -moz-calc(100% - 30px); 854 width: calc(100% - 30px); 855 margin-right: 0; } 856 .bp-user #buddypress #message-threads tr td.thread-info { 857 padding-right: 41px; 858 width: 100%; } 859 .bp-user #buddypress #message-threads tr td.thread-info a::after { 860 content: " \2013 \00a0" attr(title); 861 font-size: 12px; 862 font-size: 1.2rem; } 863 .bp-user #buddypress #message-threads tr td.thread-options { 864 text-align: left; } 865 .bp-user #buddypress #message-threads tr td.thread-options a { 866 font-size: 12px; 867 font-size: 1.2rem; 868 line-height: 2.2; } 869 .bp-user #buddypress #message-threads tr span.from { 870 display: none; } 871 .bp-user #buddypress #message-threads tr span.activity { 872 display: block; 873 float: left; 874 line-height: 2; } 875 @media screen and (max-width: 38.75em) { 876 .bp-user #buddypress #message-threads tr span.activity { 877 clear: both; 878 font-size: 11px; 879 font-size: 1.1rem; 880 width: 100%; } } 881 .bp-user #buddypress #message-threads tr.unread td { 882 background: #dce5ff; 883 border-color: #999; } 884 .bp-user #buddypress #message-threads th { 885 display: none; } 886 .bp-user #buddypress #message-threads th.bulk-select-all { 887 border-bottom: 0; 888 display: inline-block; 889 text-align: right; } 890 .bp-user #buddypress #message-threads th.bulk-select-all, .bp-user #buddypress #message-threads td.bulk-select-check, .bp-user #buddypress #message-threads td.thread-star { 891 border-left: 0; 892 width: 30px; } 764 893 .bp-user #buddypress .acfb-holder li.friend-tab { 765 894 margin-left: 0; } -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css
r9852 r9859 77 77 margin: 0 4.3333% 0 8.3333%; } } 78 78 .buddypress main article .entry-header, .buddypress main article .entry-content { 79 padding: 0 2rem 2rem; }79 padding: 0 3rem 3rem 3rem; } 80 80 .buddypress main article #buddypress { 81 81 margin-bottom: 40px; } … … 112 112 #buddypress div.item-list-tabs ul { 113 113 background-color: #f7f7f7; 114 border-bottom: 1px solid rgba(153, 153, 153, 0.4); 114 border-bottom: 1px solid rgba(234, 234, 234, 0.9); 115 border-top: 1px solid rgba(234, 234, 234, 0.9); 115 116 overflow: hidden; 116 117 padding: 5px 0; } … … 172 173 overflow: hidden; } 173 174 #buddypress #object-nav ul li span { 175 background: #fff; 174 176 border-radius: 10%; 175 177 float: right; 176 margin-right: 15px; }178 margin-right: 2px; } 177 179 #buddypress #item-body { 178 180 border-left: 1px solid #ddd; 179 181 overflow: hidden; 180 padding: 0 10px;182 padding: 0 0 0 20px; 181 183 width: auto; } 182 184 #buddypress #item-body #subnav { 183 margin: 0 -10px; } }185 margin: 0 0 0 -20px; } } 184 186 185 187 /** … … 217 219 *------------------------------------------------------------------------------- 218 220 */ 221 #buddypress .item-list .activity-header, #buddypress .item-list .activity-meta { 222 font-family: "Noto Sans", sans-serif; } 223 219 224 #buddypress ul.item-list li { 220 225 overflow: hidden !important; } … … 332 337 *----------------------------------------------------- 333 338 */ 334 #buddypress .activity-list li .activity-avatar a img.avatar { 335 height: 60px; 336 margin-left: 0; 337 width: 60px; } 338 #buddypress .activity-list li.mini .activity-avatar a img.avatar { 339 #buddypress #activity-stream li { 340 padding: 25px 0 15px; } 341 #buddypress #activity-stream li .activity-avatar { 342 float: none; 343 text-align: center; } 344 #buddypress #activity-stream li .activity-avatar a { 345 display: inline-block; } 346 #buddypress #activity-stream li .activity-avatar a img.avatar { 347 display: inline; 348 float: none; 349 height: 60px; 350 margin-bottom: 20px; 351 margin-left: 0; 352 width: 60px; } 353 #buddypress #activity-stream li .activity-content { 354 margin-left: 0; } 355 #buddypress #activity-stream li .activity-content .activity-header { 356 font-size: 14px; 357 font-size: 1.4rem; } 358 @media screen and (min-width: 46.25em) { 359 #buddypress #activity-stream li .activity-avatar { 360 float: left; 361 margin-right: 10px; 362 text-align: left; } 363 #buddypress #activity-stream li .activity-avatar a { 364 border-bottom: 0; } 365 #buddypress #activity-stream li .activity-content { 366 margin: 0; 367 overflow: hidden; } 368 #buddypress #activity-stream li .activity-content .activity-header { 369 font-size: 16px; 370 font-size: 1.6rem; } } 371 #buddypress #activity-stream li.mini .activity-avatar a img.avatar { 339 372 height: 30px; 340 373 margin-left: 15px; 341 374 width: 30px; } 342 #buddypress .activity-listli.mini .activity-content .activity-header {375 #buddypress #activity-stream li.mini .activity-content .activity-header { 343 376 font-size: 13px; 344 377 font-size: 1.3rem; } 345 #buddypress .activity-list.activity-content {378 #buddypress #activity-stream .activity-content { 346 379 margin-top: -12px; } 347 #buddypress .activity-list .activity-content .activity-header { 348 font-size: 16px; 349 font-size: 1.6rem; 380 #buddypress #activity-stream .activity-content .activity-header { 350 381 line-height: inherit; 351 382 margin-right: 0; } 352 #buddypress .activity-list.activity-content .activity-header p {383 #buddypress #activity-stream .activity-content .activity-header p { 353 384 background-color: #f7f7f7; 354 385 border: 1px solid rgba(234, 234, 234, 0.6); 355 386 padding: 0 0.2em; } 356 #buddypress .activity-list.activity-content .activity-header img.avatar {387 #buddypress #activity-stream .activity-content .activity-header img.avatar { 357 388 display: inline-block; 358 389 margin-bottom: 0 !important; } 359 #buddypress .activity-list.activity-content .activity-meta a {390 #buddypress #activity-stream .activity-content .activity-meta a { 360 391 display: block; 361 392 margin-bottom: 5px; } 362 393 @media screen and (min-width: 38.75em) { 363 #buddypress .activity-list.activity-content .activity-meta a {394 #buddypress #activity-stream .activity-content .activity-meta a { 364 395 display: inline-block; 365 396 margin-bottom: 0; } } 366 #buddypress .activity-list .load-more a { 367 display: block; } 397 #buddypress #activity-stream .load-more { 398 background: #f7f7f7; 399 border: 1px solid transparent; 400 padding: 10px; } 401 #buddypress #activity-stream .load-more:focus, #buddypress #activity-stream .load-more:hover { 402 background: #f4f4f4; 403 border: 1px solid rgba(159, 209, 226, 0.3); } 404 #buddypress #activity-stream .load-more:focus a, #buddypress #activity-stream .load-more:hover a { 405 font-style: italic; } 406 #buddypress #activity-stream .load-more a { 407 display: block; } 408 409 /* Single activity view - activity permalink */ 410 .activity-permalink #buddypress #activity-stream li.activity-item { 411 padding: 20px; } 412 .activity-permalink #buddypress #activity-stream li.mini .activity-header { 413 font-size: 16px; 414 font-size: 1.6rem; 415 margin-bottom: 40px; } 416 @media screen and (min-width: 46.25em) { 417 .activity-permalink #buddypress #activity-stream li.mini .activity-header { 418 font-size: 20px; 419 font-size: 2rem; } } 420 .activity-permalink #buddypress #activity-stream li.mini .activity-header p { 421 padding: 20px; } 368 422 369 423 /** … … 372 426 *----------------------------------------------------- 373 427 */ 374 #buddypress .activity.activity-comments {428 #buddypress #activity-stream .activity-comments { 375 429 border-left: 1px solid #eaeaea; 376 430 margin-top: 5px; } 377 #buddypress .activity.activity-comments ul {431 #buddypress #activity-stream .activity-comments ul { 378 432 background: rgba(247, 247, 247, 0.6); 379 margin: 30px 0 0 2px; }380 #buddypress .activity .activity-comments .ac-form input[type="submit"], #buddypress .activity.activity-comments .ac-form .ac-reply-cancel {433 margin: 15px 0 0 2px; } 434 #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 381 435 color: rgba(51, 51, 51, 0.8); 382 436 display: inline-block; … … 389 443 text-transform: lowercase; 390 444 width: 100px; } 391 #buddypress .activity.activity-comments .ac-form .ac-reply-cancel {445 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { 392 446 border: 1px solid rgba(153, 153, 153, 0.7); 393 447 text-align: center; } 394 #buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress .activity.activity-comments .ac-form .ac-reply-cancel:hover {448 #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus, #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover { 395 449 background: #ededed; } 396 450 … … 416 470 *----------------------------------------------------------- 417 471 */ 472 @media screen and (max-width: 46.25em) { 473 .bp-user main header.entry-header, .single-item.groups main header.entry-header { 474 padding-bottom: 1rem; } } 475 @media screen and (max-width: 38.75em) { 476 .bp-user h1, .bp-user #item-header-content, .single-item.groups h1, .single-item.groups #item-header-content { 477 text-align: center; } } 478 @media screen and (max-width: 46.25em) { 479 .bp-user #buddypress #item-header .generic-button, .single-item.groups #buddypress #item-header .generic-button { 480 float: none; 481 margin: 1.5em 0 0 0; } } 482 @media screen and (max-width: 38.75em) { 483 .bp-user #buddypress h1, .single-item.groups #buddypress h1 { 484 margin-bottom: 0; } 485 .bp-user #buddypress #item-header-avatar img.avatar, .single-item.groups #buddypress #item-header-avatar img.avatar { 486 margin-right: 0; } 487 .bp-user #buddypress #item-header-content, .single-item.groups #buddypress #item-header-content { 488 width: 100%; } } 489 418 490 /** 419 491 *----------------------------------------------------- … … 423 495 *----------------------------------------------------- 424 496 */ 497 @media screen and (max-width: 46.25em) { 498 .single-item.groups #buddypress #item-header #item-meta { 499 margin-bottom: 20px; } } 425 500 @media screen and (max-width: 38.75em) { 426 501 .single-item.groups #buddypress div#item-header { … … 523 598 .groups.edit-details #group-settings-form label { 524 599 background: #555; 600 -webkit-border-top-right-radius: 4px; 525 601 border-top-right-radius: 4px; 602 -webkit-border-top-left-radius: 4px; 526 603 border-top-left-radius: 4px; 527 604 background-clip: padding-box; … … 744 821 margin: 10px 0 0 0; 745 822 padding: 0.3em; } 746 .bp-user #buddypress table#message-threads .bulk-select-check, .bp-user #buddypress table#message-threads .thread-star { 747 width: 10%; } 748 .bp-user #buddypress table#message-threads .thread-star a { 749 outline: none; } 750 .bp-user #buddypress table#message-threads .thread-from, .bp-user #buddypress table#message-threads .thread-info { 751 width: 30%; } 752 .bp-user #buddypress table#message-threads .thread-options { 753 width: 20%; } 754 .bp-user #buddypress table#message-threads tr td { 755 background: #ebf0ff; } 756 .bp-user #buddypress table#message-threads tr.alt td { 757 background: #dbe5ff; } 758 .bp-user #buddypress table#message-threads tr.unread td { 759 background: #cddaff; 760 border-bottom: 1px solid #e4cdff; 761 border-top: 1px solid #e4cdff; } 762 .bp-user #buddypress table#message-threads tr.read td { 763 background: #f7f7f7; } 823 .bp-user #buddypress #message-thread #send-reply .message-content { 824 background: #fff; 825 border: 0; } 826 .bp-user #buddypress #message-thread .alt { 827 background: #fff; } 828 .bp-user #buddypress #message-threads { 829 display: block; } 830 .bp-user #buddypress #message-threads thead tr { 831 background: #6e6e6e; } 832 .bp-user #buddypress #message-threads tr td { 833 background: #fff; 834 display: inline-block; 835 float: left; } 836 .bp-user #buddypress #message-threads tr td.thread-star, .bp-user #buddypress #message-threads tr td.thread-options { 837 border-bottom-color: #ccc; 838 border-bottom-width: 2px; 839 height: 2.4em; 840 padding-bottom: 0.2em; 841 padding-top: 0.2em; } 842 @media screen and (max-width: 46.25em) { 843 .bp-user #buddypress #message-threads tr td.thread-star, .bp-user #buddypress #message-threads tr td.thread-options { 844 padding-top: 0; } } 845 .bp-user #buddypress #message-threads tr td.bulk-select-check, .bp-user #buddypress #message-threads tr td.thread-from { 846 height: 2.6em; } 847 @media screen and (max-width: 38.75em) { 848 .bp-user #buddypress #message-threads tr td.bulk-select-check, .bp-user #buddypress #message-threads tr td.thread-from { 849 height: 5.2em; } } 850 .bp-user #buddypress #message-threads tr td.thread-from, .bp-user #buddypress #message-threads tr td.thread-options { 851 border-left: 0 !important; 852 width: -webkit-calc(100% - 30px); 853 width: -moz-calc(100% - 30px); 854 width: calc(100% - 30px); 855 margin-left: 0; } 856 .bp-user #buddypress #message-threads tr td.thread-info { 857 padding-left: 41px; 858 width: 100%; } 859 .bp-user #buddypress #message-threads tr td.thread-info a::after { 860 content: " \2013 \00a0" attr(title); 861 font-size: 12px; 862 font-size: 1.2rem; } 863 .bp-user #buddypress #message-threads tr td.thread-options { 864 text-align: right; } 865 .bp-user #buddypress #message-threads tr td.thread-options a { 866 font-size: 12px; 867 font-size: 1.2rem; 868 line-height: 2.2; } 869 .bp-user #buddypress #message-threads tr span.from { 870 display: none; } 871 .bp-user #buddypress #message-threads tr span.activity { 872 display: block; 873 float: right; 874 line-height: 2; } 875 @media screen and (max-width: 38.75em) { 876 .bp-user #buddypress #message-threads tr span.activity { 877 clear: both; 878 font-size: 11px; 879 font-size: 1.1rem; 880 width: 100%; } } 881 .bp-user #buddypress #message-threads tr.unread td { 882 background: #dce5ff; 883 border-color: #999; } 884 .bp-user #buddypress #message-threads th { 885 display: none; } 886 .bp-user #buddypress #message-threads th.bulk-select-all { 887 border-bottom: 0; 888 display: inline-block; 889 text-align: left; } 890 .bp-user #buddypress #message-threads th.bulk-select-all, .bp-user #buddypress #message-threads td.bulk-select-check, .bp-user #buddypress #message-threads td.thread-star { 891 border-right: 0; 892 width: 30px; } 764 893 .bp-user #buddypress .acfb-holder li.friend-tab { 765 894 margin-right: 0; } -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
r9852 r9859 36 36 } 37 37 38 // To allow mixins to pass VendorPrefix scss-lint tests we disable lint-test 39 // for specific blocks / rulesets 40 // until such time as exemption lists can be built for the scss-lint.yml? 41 // Any vendor prefix properties / mixins need to be in this block 42 // scss-lint:disable VendorPrefix 43 38 44 // Border border-radius mixins 39 // To allow mixins to pass cscc-lint tests we will not provide vendor prefix40 // until such time as exemption lists can be built for the scss-lint.yml41 42 45 @mixin border-radius($radius) { 43 //-webkit-border-radius: $radius;44 //-moz-border-radius: $radius;45 //-ms-border-radius: $radius;46 -webkit-border-radius: $radius; 47 -moz-border-radius: $radius; 48 -ms-border-radius: $radius; 46 49 border-radius: $radius; 47 50 background-clip: padding-box; … … 49 52 50 53 @mixin border-top-radius($radius) { 51 //-webkit-border-top-right-radius: $radius;54 -webkit-border-top-right-radius: $radius; 52 55 border-top-right-radius: $radius; 53 //-webkit-border-top-left-radius: $radius;56 -webkit-border-top-left-radius: $radius; 54 57 border-top-left-radius: $radius; 55 58 background-clip: padding-box; … … 57 60 58 61 @mixin border-right-radius($radius) { 59 //-webkit-border-bottom-right-radius: $radius;62 -webkit-border-bottom-right-radius: $radius; 60 63 border-bottom-right-radius: $radius; 61 //-webkit-border-top-right-radius: $radius;64 -webkit-border-top-right-radius: $radius; 62 65 border-top-right-radius: $radius; 63 66 background-clip: padding-box; … … 65 68 66 69 @mixin border-bottom-radius($radius) { 67 //-webkit-border-bottom-right-radius: $radius;70 -webkit-border-bottom-right-radius: $radius; 68 71 border-bottom-right-radius: $radius; 69 //-webkit-border-bottom-left-radius: $radius;72 -webkit-border-bottom-left-radius: $radius; 70 73 border-bottom-left-radius: $radius; 71 74 background-clip: padding-box; … … 73 76 74 77 @mixin border-left-radius($radius) { 75 //-webkit-border-bottom-left-radius: $radius;78 -webkit-border-bottom-left-radius: $radius; 76 79 border-bottom-left-radius: $radius; 77 //-webkit-border-top-left-radius: $radius;80 -webkit-border-top-left-radius: $radius; 78 81 border-top-left-radius: $radius; 79 82 background-clip: padding-box; … … 82 85 // Box sizing 83 86 @mixin box-model($box-model) { 84 //-webkit-box-sizing: $box-model;85 //-moz-box-sizing: $box-model;87 -webkit-box-sizing: $box-model; 88 -moz-box-sizing: $box-model; 86 89 box-sizing: $box-model; 87 90 } 91 92 // Calc 93 @mixin calc($property, $expression) { 94 #{$property}: -webkit-calc(#{$expression}); 95 #{$property}: -moz-calc(#{$expression}); 96 #{$property}: calc(#{$expression}); 97 } 98 99 // Re-enable the VendorPrefix lint test 100 // scss-lint:enable VendorPrefix 88 101 89 102 // BP message boxes … … 94 107 } 95 108 96 // Variabals: color definitions 109 // 2015 font family 110 @mixin default-font-sans() { 111 font-family: "Noto Sans", sans-serif; 112 } 113 114 @mixin default-font-serif() { 115 font-family: "Noto Serif", serif; 116 } 117 118 // Variables: color definitions 97 119 $content-background: #fff; 98 120 $light-background: #f7f7f7; 99 121 $medium-background: #ccc; 100 122 $dark-background: #555; 101 $border-color: #999; // border color is varied using rgba123 $border-color: #999; // border color is varied using rgba 102 124 $border-light: #eaeaea; // BP dividers 103 125 $border-med: #ddd; 104 $body-text: #333; // 2015 body text color126 $body-text: #333; // 2015 body text color 105 127 $bp-button-hover: #ededed; // this is the default BP button hover background 106 128 $notice-error: #c85a6e; … … 110 132 $stripe-odd: #ebf0ff; 111 133 $stripe-even: #dbe5ff; 112 $unread: # cddaff;134 $unread: #dce5ff; 113 135 114 136 /*-------------------------------------------------------------- … … 214 236 .entry-header, 215 237 .entry-content { 216 padding: 0 2rem 2rem;238 padding: 0 3rem 3rem 3rem; 217 239 } 218 240 … … 289 311 ul { 290 312 background-color: $light-background; 291 border-bottom: 1px solid rgba($border-color, 0.4); 313 border-bottom: 1px solid rgba($border-light, 0.9); 314 border-top: 1px solid rgba($border-light, 0.9); 292 315 overflow: hidden; 293 316 padding: $spacing-val-xs 0; … … 303 326 /*__ Horizontal menus __*/ 304 327 #object-nav { 328 305 329 ul { 306 330 overflow: hidden; … … 314 338 float: left; 315 339 } 316 // li:nth-child(1n+7) {clear: left;}317 340 } 318 341 } … … 407 430 408 431 span { 432 background: $content-background; 409 433 border-radius: 10%; 410 434 float: right; 411 margin-right: 15px;435 margin-right: 2px; 412 436 } 413 437 } … … 418 442 border-left: 1px solid $border-med; 419 443 overflow: hidden; 420 padding: 0 $spacing-val-sm;444 padding: 0 0 0 $spacing-val-md; 421 445 width: auto; 422 446 423 447 #subnav { 424 margin: 0 (-$spacing-val-sm);448 margin: 0 0 0 (-$spacing-val-md); 425 449 } 426 450 } … … 477 501 */ 478 502 503 // Adjusts Meta items and various elements to match 2015 font-family 504 #buddypress { 505 .item-list { 506 .activity-header, 507 .activity-meta { 508 @include default-font-sans(); 509 } 510 } 511 } 512 479 513 // Trying to position the action div absolute has bad consequences where 480 514 // aditional items are displayed, floating is an alternative that … … 482 516 // This block: 483 517 // * Manages li items, Stacks them small screen, floated left at wider screens. 484 // * Adjusts display of action buttons at small screen 485 // mobile up.518 // * Adjusts display of action buttons at small screen mobile up. 519 // Adjusts Meta items to match 2015 font-family 486 520 487 521 #buddypress { … … 489 523 li { 490 524 overflow: hidden !important; 525 491 526 // Undo BP floats to center avatars initially mobile up 492 527 .item-avatar { … … 672 707 #buddypress { 673 708 674 .activity-list { 675 676 // re-size activity avatars 709 #activity-stream { 710 711 // re-size activity avatars and stack small screen 712 // refactor main elements positioning medium up. 677 713 li { 714 padding: 25px 0 15px; 715 678 716 .activity-avatar { 717 float: none; 718 text-align: center; 719 679 720 a { 721 display: inline-block; 722 680 723 img.avatar { 724 display: inline; 725 float: none; 681 726 height: 60px; 727 margin-bottom: $spacing-val-md; 682 728 margin-left: 0; 683 729 width: 60px; 684 730 } 685 731 } 686 } 687 } 732 } // close .activity-avatar 733 734 .activity-content { 735 margin-left: 0; 736 737 .activity-header { 738 @include font-size(14); 739 } 740 } 741 742 @media screen and (min-width: 46.25em) { 743 744 .activity-avatar { 745 float: left; 746 margin-right: $spacing-val-sm; 747 text-align: left; 748 a {border-bottom: 0;} 749 } 750 751 .activity-content { 752 margin: 0; 753 overflow: hidden; 754 755 .activity-header { 756 @include font-size(16); 757 } 758 } 759 760 } // close @media 761 762 } // close li 688 763 689 764 li.mini { … … 709 784 710 785 .activity-header { 711 @include font-size(16);712 786 line-height: inherit; 713 787 margin-right: 0; … … 724 798 } 725 799 } // close .activity-header 800 726 801 .activity-meta { 727 802 a { … … 737 812 } // close .activity-content 738 813 739 .load-more a {display: block;} 740 741 } // close .activity-list 814 .load-more { 815 background: $light-background; 816 border: 1px solid transparent; 817 padding: $spacing-val-sm; 818 819 &:focus, 820 &:hover { 821 background: darken($light-background, 1%); 822 border: 1px solid rgba(#9fd1e2, 0.3); 823 a { font-style: italic; } 824 } 825 826 a { 827 display: block; 828 } 829 } 830 831 } // close #activity-stream 742 832 } // close #buddypress 833 834 /* Single activity view - activity permalink */ 835 836 .activity-permalink { 837 #buddypress { 838 #activity-stream { 839 840 li.activity-item { 841 padding: $spacing-val-md; 842 } 843 844 li.mini { 845 .activity-header { 846 @include font-size(16); 847 @media screen and (min-width: 46.25em) { 848 @include font-size(20); 849 } 850 margin-bottom: $spacing-val-lg; 851 p {padding: $spacing-val-md;} 852 } 853 } 854 } 855 } 856 } 743 857 744 858 /** … … 748 862 */ 749 863 #buddypress { 750 .activity { 864 865 #activity-stream { 751 866 .activity-comments { 752 867 border-left: 1px solid $border-light; … … 755 870 ul { 756 871 background: rgba($light-background, 0.6); 757 margin: 30px 0 0 2px;872 margin: 15px 0 0 2px; 758 873 } 759 874 … … 828 943 */ 829 944 945 .bp-user, 946 .single-item.groups { 947 @media screen and (max-width: 46.25em) { 948 main { 949 header.entry-header { 950 padding-bottom: 1rem; 951 } 952 } 953 } 954 955 @media screen and (max-width: 38.75em) { 956 h1, 957 #item-header-content { 958 text-align: center; 959 } 960 } 961 962 #buddypress { 963 @media screen and (max-width: 46.25em) { 964 #item-header { 965 .generic-button { 966 float: none; 967 margin: 1.5em 0 0 0; 968 } 969 } 970 } 971 972 @media screen and (max-width: 38.75em) { 973 h1 { 974 margin-bottom: 0; 975 } 976 977 #item-header-avatar { 978 img.avatar { 979 margin-right: 0; 980 } 981 } 982 983 #item-header-content { 984 width: 100%; 985 } 986 } 987 } 988 } 989 830 990 /** 831 991 *----------------------------------------------------- … … 838 998 .single-item.groups { 839 999 #buddypress { 1000 @media screen and (max-width: 46.25em) { 1001 #item-header { 1002 #item-meta { 1003 margin-bottom: $spacing-val-md; 1004 } 1005 } 1006 } 840 1007 841 1008 // Move visual flow of avatar & item-actions at narrow width, … … 1101 1268 li { 1102 1269 @media screen and (max-width: 38.75em) { 1103 background: #fff;1270 background: $content-background; 1104 1271 padding: $spacing-val-md 0; 1105 1272 } … … 1324 1491 position: static; 1325 1492 } 1326 } 1493 } // close .message-meta 1327 1494 1328 1495 .message-content { … … 1332 1499 padding: 0.3em; 1333 1500 } 1334 } 1335 1336 table#message-threads { 1337 1338 .bulk-select-check, 1339 .thread-star { 1340 width: 10%; 1341 } 1342 1343 .thread-star a { 1344 outline: none; 1345 } 1346 1347 .thread-from, 1348 .thread-info { 1349 width: 30%; 1350 } 1351 1352 .thread-options { 1353 width: 20%; 1501 1502 #send-reply { 1503 .message-content { 1504 background: $content-background; 1505 border: 0; 1506 } 1507 } 1508 1509 .alt { 1510 background: $content-background; 1511 } 1512 1513 } // close message-thread Singular view! 1514 1515 #message-threads { 1516 display: block; 1517 1518 thead { 1519 tr { 1520 background: lighten($dark-background, 10%); 1521 } 1354 1522 } 1355 1523 1356 1524 tr { 1357 1358 1525 td { 1359 background: $stripe-odd; 1360 } 1361 } 1362 1363 tr.alt { 1364 td { 1365 background: $stripe-even; 1526 background: $content-background; 1527 display: inline-block; 1528 float: left; 1529 } 1530 1531 td.thread-star, 1532 td.thread-options { 1533 border-bottom-color: $medium-background; 1534 border-bottom-width: 2px; 1535 height: 2.4em; 1536 padding-bottom: 0.2em; 1537 padding-top: 0.2em; 1538 1539 @media screen and (max-width: 46.25em) { 1540 padding-top: 0; 1541 } 1542 } 1543 1544 td.bulk-select-check, 1545 td.thread-from { 1546 height: 2.6em; 1547 @media screen and (max-width: 38.75em) { 1548 height: 5.2em; 1549 } 1550 } 1551 1552 td.thread-from, 1553 td.thread-options { 1554 border-left: 0 !important; 1555 @include calc(width, "100% - 30px"); 1556 margin-left: 0; 1557 } 1558 1559 td.thread-info { 1560 padding-left: 41px; 1561 width: 100%; 1562 1563 a::after { 1564 content: " \2013 \00a0"attr(title); 1565 @include font-size(12); 1566 } 1567 } 1568 1569 td.thread-options { 1570 text-align: right; 1571 1572 a { 1573 @include font-size(12); 1574 line-height: 2.2; 1575 } 1576 } 1577 1578 span.from { 1579 display: none; 1580 } 1581 1582 span.activity { 1583 display: block; 1584 float: right; 1585 line-height: 2; 1586 @media screen and (max-width: 38.75em) { 1587 clear: both; 1588 @include font-size(11); 1589 width: 100%; 1590 } 1366 1591 } 1367 1592 } … … 1370 1595 td { 1371 1596 background: $unread; 1372 border-bottom: 1px solid #e4cdff; 1373 border-top: 1px solid #e4cdff; 1374 } 1375 } 1376 1377 tr.read { 1378 td { 1379 background: $light-background; 1380 } 1597 border-color: $border-color; 1598 } 1599 } 1600 1601 th { 1602 display: none; 1603 } 1604 1605 th.bulk-select-all { 1606 border-bottom: 0; 1607 display: inline-block; 1608 text-align: left; 1609 } 1610 1611 th.bulk-select-all, 1612 td.bulk-select-check, 1613 td.thread-star { 1614 border-right: 0; 1615 width: 30px; 1381 1616 } 1382 1617 }
Note: See TracChangeset
for help on using the changeset viewer.