Skip to:
Content

BuddyPress.org

Changeset 13485


Ignore:
Timestamp:
05/21/2023 11:55:30 AM (12 months ago)
Author:
imath
Message:

Remove Legacy Widget assets

  • Stop registering Widgets' JavaScripts,
  • Remove BP Template packs styles about Widgets.

Fixes #8869
Closes https://github.com/buddypress/buddypress/pull/103

Location:
trunk/src
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-cssjs.php

    r13464 r13485  
    7676        // Legacy.
    7777        'bp-confirm'        => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
    78         'bp-widget-members' => array( 'file' => "{$url}widget-members{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
    7978        'bp-jquery-query'   => array( 'file' => "{$url}jquery-query{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
    8079        'bp-jquery-cookie'  => array( 'file' => "{$url}vendor/jquery-cookie{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
     
    137136     * Filters the BuddyPress Core javascript files to register.
    138137     *
    139      * Default handles include 'bp-confirm', 'bp-widget-members',
    140      * 'bp-jquery-query', 'bp-jquery-cookie', and 'bp-jquery-scroll-to'.
     138     * Default handles include 'bp-confirm', 'bp-jquery-query',
     139     * 'bp-jquery-cookie', and 'bp-jquery-scroll-to'.
    141140     *
    142141     * @since 2.1.0 'jquery-caret', 'jquery-atwho' added.
     
    455454        'jquery',
    456455        'bp-confirm',
    457         'bp-widget-members',
    458456        'bp-jquery-query',
    459457        'bp-jquery-cookie',
  • trunk/src/bp-members/bp-members-membership-requests.php

    r13395 r13485  
    377377/**
    378378 * Filter/add "Request Membership" links in the following locations:
    379  * - BP login widget,
     379 * - BP login block widget,
    380380 * - Sidebar register link,
    381381 * - WP Toolbar,
     
    384384
    385385/**
    386  * Add "Request Membership" link to Widget login form.
     386 * Add "Request Membership" link to Block Widget login form.
    387387 *
    388388 * @since 10.0.0
  • trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css

    r13342 r13485  
    2525    3.9 - Private Messaging Threads
    2626    3.10 - Extended Profiles
    27     3.11 - Widgets
    28     3.12 - Tooltips
     27    3.11 - Tooltips
    29284.0 - Media Queries
    3029    4.1 - Smartphones Landscape
     
    20042003
    20052004/*--------------------------------------------------------------
    2006 3.11 - Widgets
    2007 --------------------------------------------------------------*/
    2008 
    2009 .widget.buddypress span.activity {
    2010     display: inline-block;
    2011     font-size: small;
    2012     padding: 0;
    2013 }
    2014 
    2015 .widget.buddypress div.item-options {
    2016     font-size: 90%;
    2017     margin: 0 0 1em;
    2018     padding: 1em 0;
    2019 }
    2020 
    2021 .widget.buddypress div.item {
    2022     margin: 0 0 1em;
    2023 }
    2024 
    2025 .widget.buddypress div.item-meta,
    2026 .widget.buddypress div.item-content {
    2027     font-size: 11px;
    2028     margin-right: 50px;
    2029 }
    2030 
    2031 .widget.buddypress div.avatar-block:after {
    2032     clear: both;
    2033     content: "";
    2034     display: table;
    2035 }
    2036 
    2037 .widget.buddypress .item-avatar a {
    2038     float: right;
    2039     margin-bottom: 15px;
    2040     margin-left: 10px;
    2041 }
    2042 
    2043 .widget.buddypress div.item-avatar img {
    2044     display: inline-block;
    2045     height: 40px;
    2046     margin: 1px;
    2047     width: 40px;
    2048 }
    2049 
    2050 .widget.buddypress .item-avatar a,
    2051 .widget.buddypress .item-avatar a:hover,
    2052 .widget.buddypress .item-avatar a:focus,
    2053 .widget.buddypress .item-avatar a:active,
    2054 .widget.buddypress .item-avatar a img {
    2055     box-shadow: none;
    2056 }
    2057 
    2058 .widget.buddypress #bp-login-widget-form label {
    2059     display: block;
    2060     margin: 1rem 0 0.5rem;
    2061 }
    2062 
    2063 .widget.buddypress #bp-login-widget-form #bp-login-widget-submit {
    2064     margin-left: 10px;
    2065 }
    2066 
    2067 .widget.buddypress .bp-login-widget-user-avatar {
    2068     float: right;
    2069 }
    2070 
    2071 .bp-login-widget-user-avatar img.avatar {
    2072     height: 40px;
    2073     width: 40px;
    2074 }
    2075 
    2076 .widget.buddypress .bp-login-widget-user-links > div {
    2077     padding-right: 60px;
    2078 }
    2079 
    2080 .widget.buddypress .bp-login-widget-user-links > div {
    2081     margin-bottom: 0.5rem;
    2082 }
    2083 
    2084 .widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a {
    2085     font-weight: 700;
    2086 }
    2087 
    2088 .widget.buddypress #groups-list,
    2089 .widget.buddypress #members-list,
    2090 .widget.buddypress #friends-list {
    2091     margin-right: 0;
    2092     padding-right: 0;
    2093 }
    2094 
    2095 .widget.buddypress #groups-list li,
    2096 .widget.buddypress #members-list li,
    2097 .widget.buddypress #friends-list li {
    2098     clear: both;
    2099     list-style-type: none;
    2100 }
    2101 
    2102 /*--------------------------------------------------------------
    2103 3.12 - Tooltips
     20053.11 - Tooltips
    21042006--------------------------------------------------------------*/
    21052007
  • trunk/src/bp-templates/bp-legacy/css/buddypress.css

    r13342 r13485  
    2525    3.9 - Private Messaging Threads
    2626    3.10 - Extended Profiles
    27     3.11 - Widgets
    28     3.12 - Tooltips
     27    3.11 - Tooltips
    29284.0 - Media Queries
    3029    4.1 - Smartphones Landscape
     
    20042003
    20052004/*--------------------------------------------------------------
    2006 3.11 - Widgets
    2007 --------------------------------------------------------------*/
    2008 
    2009 .widget.buddypress span.activity {
    2010     display: inline-block;
    2011     font-size: small;
    2012     padding: 0;
    2013 }
    2014 
    2015 .widget.buddypress div.item-options {
    2016     font-size: 90%;
    2017     margin: 0 0 1em;
    2018     padding: 1em 0;
    2019 }
    2020 
    2021 .widget.buddypress div.item {
    2022     margin: 0 0 1em;
    2023 }
    2024 
    2025 .widget.buddypress div.item-meta,
    2026 .widget.buddypress div.item-content {
    2027     font-size: 11px;
    2028     margin-left: 50px;
    2029 }
    2030 
    2031 .widget.buddypress div.avatar-block:after {
    2032     clear: both;
    2033     content: "";
    2034     display: table;
    2035 }
    2036 
    2037 .widget.buddypress .item-avatar a {
    2038     float: left;
    2039     margin-bottom: 15px;
    2040     margin-right: 10px;
    2041 }
    2042 
    2043 .widget.buddypress div.item-avatar img {
    2044     display: inline-block;
    2045     height: 40px;
    2046     margin: 1px;
    2047     width: 40px;
    2048 }
    2049 
    2050 .widget.buddypress .item-avatar a,
    2051 .widget.buddypress .item-avatar a:hover,
    2052 .widget.buddypress .item-avatar a:focus,
    2053 .widget.buddypress .item-avatar a:active,
    2054 .widget.buddypress .item-avatar a img {
    2055     box-shadow: none;
    2056 }
    2057 
    2058 .widget.buddypress #bp-login-widget-form label {
    2059     display: block;
    2060     margin: 1rem 0 0.5rem;
    2061 }
    2062 
    2063 .widget.buddypress #bp-login-widget-form #bp-login-widget-submit {
    2064     margin-right: 10px;
    2065 }
    2066 
    2067 .widget.buddypress .bp-login-widget-user-avatar {
    2068     float: left;
    2069 }
    2070 
    2071 .bp-login-widget-user-avatar img.avatar {
    2072     height: 40px;
    2073     width: 40px;
    2074 }
    2075 
    2076 .widget.buddypress .bp-login-widget-user-links > div {
    2077     padding-left: 60px;
    2078 }
    2079 
    2080 .widget.buddypress .bp-login-widget-user-links > div {
    2081     margin-bottom: 0.5rem;
    2082 }
    2083 
    2084 .widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a {
    2085     font-weight: 700;
    2086 }
    2087 
    2088 .widget.buddypress #groups-list,
    2089 .widget.buddypress #members-list,
    2090 .widget.buddypress #friends-list {
    2091     margin-left: 0;
    2092     padding-left: 0;
    2093 }
    2094 
    2095 .widget.buddypress #groups-list li,
    2096 .widget.buddypress #members-list li,
    2097 .widget.buddypress #friends-list li {
    2098     clear: both;
    2099     list-style-type: none;
    2100 }
    2101 
    2102 /*--------------------------------------------------------------
    2103 3.12 - Tooltips
     20053.11 - Tooltips
    21042006--------------------------------------------------------------*/
    21052007
  • trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css

    r13365 r13485  
    47554755}
    47564756
    4757 .buddypress.widget .item-options {
    4758     font-size: 12px;
    4759     margin: 0 0 1em;
    4760     padding: 1em 0;
    4761 }
    4762 
    4763 .buddypress.widget .bp-login-widget-user-avatar {
    4764     float: right;
    4765 }
    4766 
    4767 .buddypress.widget .bp-login-widget-user-links {
    4768     margin-right: 70px;
    4769 }
    4770 
    4771 .buddypress.widget ul.item-list {
    4772     list-style: none;
    4773     margin: 10px 0;
    4774 }
    4775 
    4776 .buddypress.widget ul.activity-list {
    4777     padding: 0;
    4778 }
    4779 
    4780 .buddypress.widget ul.activity-list blockquote {
    4781     margin: 0 0 1.5em;
    4782     overflow: visible;
    4783     padding: 0 0.75em 0.75em 0;
    4784 }
    4785 
    4786 .buddypress.widget ul.activity-list img {
    4787     margin-bottom: 0.5em;
    4788 }
    4789 
    4790 .buddypress.widget ul.activity-list li {
    4791     border-bottom: 1px solid #ccc;
    4792     margin-bottom: 1em;
    4793 }
    4794 
    4795 .buddypress.widget ul.activity-list li .activity-header p {
    4796     margin-bottom: 0.5em;
    4797 }
    4798 
    4799 .buddypress.widget ul.activity-list li:last-child {
    4800     border-bottom: 0;
    4801 }
    4802 
    4803 .buddypress.widget div.activity-list blockquote {
    4804     padding: 0;
    4805     border: none;
    4806 }
    4807 
    4808 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini) {
    4809     position: relative;
    4810     box-shadow: -1px 0 4px rgba(0, 0, 0, 0.15);
    4811     padding: 0 1em;
    4812 }
    4813 
    4814 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after, .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before {
    4815     position: absolute;
    4816     right: 15px;
    4817     display: block;
    4818     width: 0;
    4819     height: 0;
    4820     border-style: solid;
    4821     border-color: transparent;
    4822     content: "";
    4823 }
    4824 
    4825 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before {
    4826     bottom: -18px;
    4827     border-top-color: rgba(0, 0, 0, 0.15);
    4828     border-width: 9px;
    4829     right: 14px;
    4830 }
    4831 
    4832 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after {
    4833     bottom: -16px;
    4834     border-top-color: #fff;
    4835     border-width: 8px;
    4836 }
    4837 
    4838 .buddypress.widget div.activity-list blockquote .activity-item.mini .avatar {
    4839     display: inline-block;
    4840     width: 20px;
    4841     height: 20px;
    4842     vertical-align: middle;
    4843     margin-left: 2px;
    4844 }
    4845 
    4846 .buddypress.widget div.activity-list footer {
    4847     display: flex;
    4848     align-items: center;
    4849 }
    4850 
    4851 .buddypress.widget div.activity-list footer img.avatar {
    4852     display: inline-block;
    4853     border: none;
    4854     margin-left: 0.5em;
    4855 }
    4856 
    4857 .buddypress.widget div.activity-list footer .activity-time-since {
    4858     font-size: 90%;
    4859 }
    4860 
    4861 .buddypress.widget .avatar-block {
    4862     display: -moz-flex;
    4863     display: -ms-flex;
    4864     display: -o-flex;
    4865     display: flex;
    4866     -o-flex-flow: row wrap;
    4867     flex-flow: row wrap;
    4868 }
    4869 
    4870 .buddypress.widget .avatar-block img {
    4871     margin: 0.5em;
    4872 }
    4873 
    4874 .buddypress.widget ul#friends-list li:before,
    4875 .buddypress.widget ul#friends-list li:after,
    4876 .buddypress.widget ul#groups-list li:before,
    4877 .buddypress.widget ul#groups-list li:after,
    4878 .buddypress.widget ul#members-list li:before,
    4879 .buddypress.widget ul#members-list li:after {
    4880     content: " ";
    4881     display: table;
    4882 }
    4883 
    4884 .buddypress.widget ul#friends-list li:after,
    4885 .buddypress.widget ul#groups-list li:after,
    4886 .buddypress.widget ul#members-list li:after {
    4887     clear: both;
    4888 }
    4889 
    4890 .buddypress.widget ul#friends-list li,
    4891 .buddypress.widget ul#groups-list li,
    4892 .buddypress.widget ul#members-list li {
    4893     margin-bottom: 1em;
    4894 }
    4895 
    4896 .buddypress.widget ul#friends-list li .item-avatar,
    4897 .buddypress.widget ul#groups-list li .item-avatar,
    4898 .buddypress.widget ul#members-list li .item-avatar {
    4899     float: right;
    4900     width: 60px;
    4901 }
    4902 
    4903 .buddypress.widget ul#friends-list li .item,
    4904 .buddypress.widget ul#groups-list li .item,
    4905 .buddypress.widget ul#members-list li .item {
    4906     margin-right: 70px;
    4907 }
    4908 
    4909 .buddypress-wrap .buddypress.widget ul#friends-list,
    4910 .buddypress-wrap .buddypress.widget ul#groups-list,
    4911 .buddypress-wrap .buddypress.widget ul#members-list {
    4912     display: -moz-flex;
    4913     display: -ms-flex;
    4914     display: -o-flex;
    4915     display: flex;
    4916     -o-flex-flow: column nowrap;
    4917     flex-flow: column nowrap;
    4918 }
    4919 
    4920 @media screen and (min-width: 32em) {
    4921     .buddypress-wrap .buddypress.widget ul#friends-list,
    4922     .buddypress-wrap .buddypress.widget ul#groups-list,
    4923     .buddypress-wrap .buddypress.widget ul#members-list {
    4924         display: -moz-flex;
    4925         display: -ms-flex;
    4926         display: -o-flex;
    4927         display: flex;
    4928         -o-flex-flow: row wrap;
    4929         flex-flow: row wrap;
    4930     }
    4931 }
    4932 
    4933 .buddypress-wrap .buddypress.widget ul#friends-list li,
    4934 .buddypress-wrap .buddypress.widget ul#groups-list li,
    4935 .buddypress-wrap .buddypress.widget ul#members-list li {
    4936     border: 1px solid #eee;
    4937     align-items: stretch;
    4938     -moz-flex: 1 1 46%;
    4939     -o-flex: 1 1 46%;
    4940     flex: 1 1 46%;
    4941     margin: 2%;
    4942 }
    4943 
    4944 @media screen and (min-width: 75em) {
    4945     .buddypress-wrap .buddypress.widget ul#friends-list li,
    4946     .buddypress-wrap .buddypress.widget ul#groups-list li,
    4947     .buddypress-wrap .buddypress.widget ul#members-list li {
    4948         -moz-flex: 0 1 20%;
    4949         -o-flex: 0 1 20%;
    4950         flex: 0 1 20%;
    4951     }
    4952 }
    4953 
    4954 .buddypress-wrap .buddypress.widget ul#friends-list li .item-avatar,
    4955 .buddypress-wrap .buddypress.widget ul#groups-list li .item-avatar,
    4956 .buddypress-wrap .buddypress.widget ul#members-list li .item-avatar {
    4957     padding: 0.5em;
    4958     text-align: center;
    4959 }
    4960 
    4961 .buddypress-wrap .buddypress.widget ul#friends-list li .item,
    4962 .buddypress-wrap .buddypress.widget ul#groups-list li .item,
    4963 .buddypress-wrap .buddypress.widget ul#members-list li .item {
    4964     padding: 0.5em;
    4965 }
    4966 
    4967 .buddypress-wrap .buddypress.widget ul#friends-list li .item .item-meta,
    4968 .buddypress-wrap .buddypress.widget ul#groups-list li .item .item-meta,
    4969 .buddypress-wrap .buddypress.widget ul#members-list li .item .item-meta {
    4970     font-size: 12px;
    4971     overflow-wrap: break-word;
    4972 }
    4973 
    4974 @media screen and (min-width: 75em) {
    4975     .buddypress-wrap .buddypress.widget ul#friends-list,
    4976     .buddypress-wrap .buddypress.widget ul#groups-list,
    4977     .buddypress-wrap .buddypress.widget ul#members-list {
    4978         margin: 10px -2%;
    4979         width: 100%;
    4980     }
    4981     .buddypress-wrap .buddypress.widget ul#friends-list li,
    4982     .buddypress-wrap .buddypress.widget ul#groups-list li,
    4983     .buddypress-wrap .buddypress.widget ul#members-list li {
    4984         -moz-flex: 0 1 auto;
    4985         -o-flex: 0 1 auto;
    4986         flex: 0 1 auto;
    4987         margin: 10px 2% 1%;
    4988         width: 46%;
    4989     }
    4990 }
    4991 
    4992 .buddypress-wrap .buddypress.widget blockquote {
    4993     margin: 0 0 1.5em;
    4994     overflow: visible;
    4995     padding: 0 0.75em 0.75em 0;
    4996 }
    4997 
    49984757#buddypress-wrap * {
    49994758    transition: opacity 0.1s ease-in-out 0.1s;
  • trunk/src/bp-templates/bp-nouveau/css/buddypress.css

    r13365 r13485  
    47554755}
    47564756
    4757 .buddypress.widget .item-options {
    4758     font-size: 12px;
    4759     margin: 0 0 1em;
    4760     padding: 1em 0;
    4761 }
    4762 
    4763 .buddypress.widget .bp-login-widget-user-avatar {
    4764     float: left;
    4765 }
    4766 
    4767 .buddypress.widget .bp-login-widget-user-links {
    4768     margin-left: 70px;
    4769 }
    4770 
    4771 .buddypress.widget ul.item-list {
    4772     list-style: none;
    4773     margin: 10px 0;
    4774 }
    4775 
    4776 .buddypress.widget ul.activity-list {
    4777     padding: 0;
    4778 }
    4779 
    4780 .buddypress.widget ul.activity-list blockquote {
    4781     margin: 0 0 1.5em;
    4782     overflow: visible;
    4783     padding: 0 0 0.75em 0.75em;
    4784 }
    4785 
    4786 .buddypress.widget ul.activity-list img {
    4787     margin-bottom: 0.5em;
    4788 }
    4789 
    4790 .buddypress.widget ul.activity-list li {
    4791     border-bottom: 1px solid #ccc;
    4792     margin-bottom: 1em;
    4793 }
    4794 
    4795 .buddypress.widget ul.activity-list li .activity-header p {
    4796     margin-bottom: 0.5em;
    4797 }
    4798 
    4799 .buddypress.widget ul.activity-list li:last-child {
    4800     border-bottom: 0;
    4801 }
    4802 
    4803 .buddypress.widget div.activity-list blockquote {
    4804     padding: 0;
    4805     border: none;
    4806 }
    4807 
    4808 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini) {
    4809     position: relative;
    4810     box-shadow: 1px 0 4px rgba(0, 0, 0, 0.15);
    4811     padding: 0 1em;
    4812 }
    4813 
    4814 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after, .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before {
    4815     position: absolute;
    4816     left: 15px;
    4817     display: block;
    4818     width: 0;
    4819     height: 0;
    4820     border-style: solid;
    4821     border-color: transparent;
    4822     content: "";
    4823 }
    4824 
    4825 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before {
    4826     bottom: -18px;
    4827     border-top-color: rgba(0, 0, 0, 0.15);
    4828     border-width: 9px;
    4829     left: 14px;
    4830 }
    4831 
    4832 .buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after {
    4833     bottom: -16px;
    4834     border-top-color: #fff;
    4835     border-width: 8px;
    4836 }
    4837 
    4838 .buddypress.widget div.activity-list blockquote .activity-item.mini .avatar {
    4839     display: inline-block;
    4840     width: 20px;
    4841     height: 20px;
    4842     vertical-align: middle;
    4843     margin-right: 2px;
    4844 }
    4845 
    4846 .buddypress.widget div.activity-list footer {
    4847     display: flex;
    4848     align-items: center;
    4849 }
    4850 
    4851 .buddypress.widget div.activity-list footer img.avatar {
    4852     display: inline-block;
    4853     border: none;
    4854     margin-right: 0.5em;
    4855 }
    4856 
    4857 .buddypress.widget div.activity-list footer .activity-time-since {
    4858     font-size: 90%;
    4859 }
    4860 
    4861 .buddypress.widget .avatar-block {
    4862     display: -moz-flex;
    4863     display: -ms-flex;
    4864     display: -o-flex;
    4865     display: flex;
    4866     -o-flex-flow: row wrap;
    4867     flex-flow: row wrap;
    4868 }
    4869 
    4870 .buddypress.widget .avatar-block img {
    4871     margin: 0.5em;
    4872 }
    4873 
    4874 .buddypress.widget ul#friends-list li:before,
    4875 .buddypress.widget ul#friends-list li:after,
    4876 .buddypress.widget ul#groups-list li:before,
    4877 .buddypress.widget ul#groups-list li:after,
    4878 .buddypress.widget ul#members-list li:before,
    4879 .buddypress.widget ul#members-list li:after {
    4880     content: " ";
    4881     display: table;
    4882 }
    4883 
    4884 .buddypress.widget ul#friends-list li:after,
    4885 .buddypress.widget ul#groups-list li:after,
    4886 .buddypress.widget ul#members-list li:after {
    4887     clear: both;
    4888 }
    4889 
    4890 .buddypress.widget ul#friends-list li,
    4891 .buddypress.widget ul#groups-list li,
    4892 .buddypress.widget ul#members-list li {
    4893     margin-bottom: 1em;
    4894 }
    4895 
    4896 .buddypress.widget ul#friends-list li .item-avatar,
    4897 .buddypress.widget ul#groups-list li .item-avatar,
    4898 .buddypress.widget ul#members-list li .item-avatar {
    4899     float: left;
    4900     width: 60px;
    4901 }
    4902 
    4903 .buddypress.widget ul#friends-list li .item,
    4904 .buddypress.widget ul#groups-list li .item,
    4905 .buddypress.widget ul#members-list li .item {
    4906     margin-left: 70px;
    4907 }
    4908 
    4909 .buddypress-wrap .buddypress.widget ul#friends-list,
    4910 .buddypress-wrap .buddypress.widget ul#groups-list,
    4911 .buddypress-wrap .buddypress.widget ul#members-list {
    4912     display: -moz-flex;
    4913     display: -ms-flex;
    4914     display: -o-flex;
    4915     display: flex;
    4916     -o-flex-flow: column nowrap;
    4917     flex-flow: column nowrap;
    4918 }
    4919 
    4920 @media screen and (min-width: 32em) {
    4921     .buddypress-wrap .buddypress.widget ul#friends-list,
    4922     .buddypress-wrap .buddypress.widget ul#groups-list,
    4923     .buddypress-wrap .buddypress.widget ul#members-list {
    4924         display: -moz-flex;
    4925         display: -ms-flex;
    4926         display: -o-flex;
    4927         display: flex;
    4928         -o-flex-flow: row wrap;
    4929         flex-flow: row wrap;
    4930     }
    4931 }
    4932 
    4933 .buddypress-wrap .buddypress.widget ul#friends-list li,
    4934 .buddypress-wrap .buddypress.widget ul#groups-list li,
    4935 .buddypress-wrap .buddypress.widget ul#members-list li {
    4936     border: 1px solid #eee;
    4937     align-items: stretch;
    4938     -moz-flex: 1 1 46%;
    4939     -o-flex: 1 1 46%;
    4940     flex: 1 1 46%;
    4941     margin: 2%;
    4942 }
    4943 
    4944 @media screen and (min-width: 75em) {
    4945     .buddypress-wrap .buddypress.widget ul#friends-list li,
    4946     .buddypress-wrap .buddypress.widget ul#groups-list li,
    4947     .buddypress-wrap .buddypress.widget ul#members-list li {
    4948         -moz-flex: 0 1 20%;
    4949         -o-flex: 0 1 20%;
    4950         flex: 0 1 20%;
    4951     }
    4952 }
    4953 
    4954 .buddypress-wrap .buddypress.widget ul#friends-list li .item-avatar,
    4955 .buddypress-wrap .buddypress.widget ul#groups-list li .item-avatar,
    4956 .buddypress-wrap .buddypress.widget ul#members-list li .item-avatar {
    4957     padding: 0.5em;
    4958     text-align: center;
    4959 }
    4960 
    4961 .buddypress-wrap .buddypress.widget ul#friends-list li .item,
    4962 .buddypress-wrap .buddypress.widget ul#groups-list li .item,
    4963 .buddypress-wrap .buddypress.widget ul#members-list li .item {
    4964     padding: 0.5em;
    4965 }
    4966 
    4967 .buddypress-wrap .buddypress.widget ul#friends-list li .item .item-meta,
    4968 .buddypress-wrap .buddypress.widget ul#groups-list li .item .item-meta,
    4969 .buddypress-wrap .buddypress.widget ul#members-list li .item .item-meta {
    4970     font-size: 12px;
    4971     overflow-wrap: break-word;
    4972 }
    4973 
    4974 @media screen and (min-width: 75em) {
    4975     .buddypress-wrap .buddypress.widget ul#friends-list,
    4976     .buddypress-wrap .buddypress.widget ul#groups-list,
    4977     .buddypress-wrap .buddypress.widget ul#members-list {
    4978         margin: 10px -2%;
    4979         width: 100%;
    4980     }
    4981     .buddypress-wrap .buddypress.widget ul#friends-list li,
    4982     .buddypress-wrap .buddypress.widget ul#groups-list li,
    4983     .buddypress-wrap .buddypress.widget ul#members-list li {
    4984         -moz-flex: 0 1 auto;
    4985         -o-flex: 0 1 auto;
    4986         flex: 0 1 auto;
    4987         margin: 10px 2% 1%;
    4988         width: 46%;
    4989     }
    4990 }
    4991 
    4992 .buddypress-wrap .buddypress.widget blockquote {
    4993     margin: 0 0 1.5em;
    4994     overflow: visible;
    4995     padding: 0 0 0.75em 0.75em;
    4996 }
    4997 
    49984757#buddypress-wrap * {
    49994758    transition: opacity 0.1s ease-in-out 0.1s;
  • trunk/src/bp-templates/bp-nouveau/sass/buddypress.scss

    r13182 r13485  
    423423@import "../common-styles/_bp_info_messages";
    424424
    425 // Import BP Widget styles
    426 
    427 @import "../common-styles/_bp_widgets";
    428 
    429425// Import BP Animations & Transitions - fluffy effects :)
    430426
Note: See TracChangeset for help on using the changeset viewer.