Changeset 9835 for trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss
- Timestamp:
- 05/04/2015 12:18:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss
r9823 r9835 237 237 ul {border-bottom: 1px solid $border-med;} 238 238 239 @media screen and (max-width: 400px) { 240 ul { 241 li { 242 float: none; 243 overflow: hidden; 244 width: 100%; 245 } 246 } 247 } 248 239 249 @media screen and (min-width: 783px) { 240 250 ul { … … 542 552 margin: $spacing-val-lg 0; 543 553 554 #whats-new-avatar { 555 float: none; 556 margin-bottom: $spacing-val-md; 557 text-align: center; 558 } 559 560 #whats-new-content, 561 p.activity-greeting { 562 margin-left: 0; 563 padding-left: 0; 564 } 565 544 566 // Line-height issue inherited from BP rules, override. 545 567 p.activity-greeting { 568 clear: left; 546 569 line-height: inherit; 570 margin-bottom: $spacing-val-xs; 547 571 } 548 572 … … 550 574 width: 100%; 551 575 } 552 } 553 } 576 577 #whats-new-content.active { 578 textarea { 579 // !important to override the BP inline fixed height 580 height: auto !important; 581 } 582 583 #whats-new-options { 584 // Have to override the BP fixed height 585 height: auto !important; 586 } 587 588 @media screen and (max-width: 594px) { 589 #whats-new-options { 590 display: flex; 591 flex-direction: column; 592 593 #whats-new-submit { 594 order: 2; 595 596 input { 597 width: 100%; 598 } 599 } 600 601 #whats-new-post-in-box { 602 order: 1; 603 604 select { 605 margin-top: $spacing-val-xs; 606 max-width: 100%; 607 width: 100%; 608 } 609 } 610 } 611 } 612 } // close whats-new-content.active 613 614 @media screen and (min-width: 594px) { 615 #whats-new-avatar { 616 float: left; 617 } 618 619 #whats-new-content, 620 p.activity-greeting { 621 clear: none; 622 overflow: hidden; 623 padding-left: $spacing-val-md; 624 } 625 } 626 } // close form#whats-new-form 627 628 } // close #buddypress 554 629 555 630 /** … … 558 633 *------------------------------------------------- 559 634 */ 635 636 #buddypress { 637 .activity-list { 638 639 li.activity-item:not(.mini) { 640 .activity-avatar { 641 float: none; 642 margin-bottom: $spacing-val-sm; 643 text-align: center; 644 645 img.avatar { 646 display: inline; 647 float: none; 648 } 649 } 650 } 651 652 li.mini { 653 .activity-avatar { 654 img.avatar { 655 margin-left: 0; 656 } 657 } 658 659 .activity-meta { 660 a {@include font-size(12);} 661 } 662 } 663 664 .activity-content { 665 margin: 0; 666 667 .activity-header { 668 margin: -0.5em 0 0; 669 670 > p { 671 line-height: 1.4; 672 margin-top: -$spacing-val-sm; 673 } 674 675 // BP adds !important. need to override prop val 676 img.avatar { 677 margin-bottom: 0 !important; 678 vertical-align: middle; 679 } 680 } 681 682 .activity-inner {margin: $spacing-val-sm 0;} 683 } 684 685 @media screen and (min-width: 400px) { 686 li.activity-item:not(.mini) { 687 .activity-avatar { 688 float: left; 689 margin: 0 $spacing-val-md 0 0; 690 691 img.avatar { 692 display: inline; 693 float: none; 694 } 695 } 696 } 697 698 li.mini { 699 .activity-avatar { 700 margin: 0 $spacing-val-sm 0 5%; 701 } 702 } 703 704 .activity-content { 705 margin-left: 0; 706 overflow: hidden; 707 } 708 } 709 710 } // close .activity-list 711 } // close #buddypress 560 712 561 713 /** … … 1138 1290 clear: none; 1139 1291 float: right; 1140 margin: 0;1141 1292 1142 1293 form {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)