Skip to:
Content

BuddyPress.org

Changeset 9341


Ignore:
Timestamp:
01/09/2015 10:53:41 PM (5 years ago)
Author:
r-a-y
Message:

bp-legacy: Improve styling of widgets with avatars.

This removes the default bullet lists from widgets with avatars that might
not be styled in certain WP themes. Commit also enlarges widget avatars
when displayed in a list.

Props mercime.

See #5817.

Location:
trunk/src/bp-templates/bp-legacy/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css

    r9340 r9341  
    15271527.widget.buddypress div.item-content {
    15281528    font-size: 11px;
    1529     margin-right: 38px;
     1529    margin-right: 50px;
    15301530}
    15311531
    15321532.widget.buddypress ul.item-list img.avatar {
    1533     height: 20px;
     1533    height: 40px;
    15341534    margin-left: 10px;
    1535     width: 20px;
     1535    width: 40px;
    15361536}
    15371537.widget.buddypress div.item-avatar img {
     
    15561556.widget.buddypress .bp-login-widget-user-avatar {
    15571557    float: right;
    1558     width: 60px;
     1558    width: 40px;
    15591559}
    15601560
     
    15691569.widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a {
    15701570    font-weight: bold;
     1571}
     1572
     1573.widget.buddypress #groups-list,
     1574.widget.buddypress #members-list,
     1575.widget.buddypress #friends-list {
     1576    margin-right: 0;
     1577    padding-right: 0;
     1578}
     1579
     1580.widget.buddypress #groups-list li,
     1581.widget.buddypress #members-list li,
     1582.widget.buddypress #friends-list li {
     1583    list-style-type: none;
    15711584}
    15721585
  • trunk/src/bp-templates/bp-legacy/css/buddypress.css

    r9279 r9341  
    15271527.widget.buddypress div.item-content {
    15281528    font-size: 11px;
    1529     margin-left: 38px;
     1529    margin-left: 50px;
    15301530}
    15311531
    15321532.widget.buddypress ul.item-list img.avatar {
    1533     height: 20px;
     1533    height: 40px;
    15341534    margin-right: 10px;
    1535     width: 20px;
     1535    width: 40px;
    15361536}
    15371537.widget.buddypress div.item-avatar img {
     
    15561556.widget.buddypress .bp-login-widget-user-avatar {
    15571557    float: left;
    1558     width: 60px;
     1558    width: 40px;
    15591559}
    15601560
     
    15691569.widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a {
    15701570    font-weight: bold;
     1571}
     1572
     1573.widget.buddypress #groups-list,
     1574.widget.buddypress #members-list,
     1575.widget.buddypress #friends-list {
     1576    margin-left: 0;
     1577    padding-left: 0;
     1578}
     1579
     1580.widget.buddypress #groups-list li,
     1581.widget.buddypress #members-list li,
     1582.widget.buddypress #friends-list li {
     1583    list-style-type: none;
    15711584}
    15721585
Note: See TracChangeset for help on using the changeset viewer.