Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/12/2021 03:38:48 AM (4 years ago)
Author:
imath
Message:

BP Nouveau: add the generated content type parts & needed styles

Props vapvarun, oztaser

See #8581

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss

    r12571 r13182  
    11// BP Activity Entries - activity loop
    22// @since 3.0.0
    3 // @version 5.0.0
     3// @version 10.0.0
    44
    55.activity-list {
     
    437437    }
    438438}
     439
     440// Activity Types Entry View
     441.bp-member-preview-cover,
     442.bp-group-preview-cover {
     443    position: relative;
     444    min-height: 150px;
     445    background: #c5c5c5;
     446
     447    img {
     448        background: #c5c5c5;
     449        object-fit: cover;
     450        border: 0;
     451        display: block;
     452        margin: 0;
     453        padding: 0;
     454        width: 100%;
     455        z-index: 1;
     456        height: 150px;
     457    }
     458}
     459
     460.bp-member-short-description,
     461.bp-group-short-description {
     462    position: relative;
     463    text-align: center;
     464}
     465
     466.bp-member-avatar-content,
     467.bp-group-avatar-content {
     468    width: 120px;
     469    position: relative;
     470    z-index: 2;
     471    margin: auto;
     472
     473    img.profile-photo,
     474    img.group-photo {
     475        border: solid 2px #fff;
     476        background: rgba(255, 255, 255, 0.8);
     477        height: 80px;
     478        width: 80px;
     479    }
     480
     481    &.has-cover-image {
     482        width: 200px;
     483        margin-top: -75px;
     484
     485        img.profile-photo,
     486        img.group-photo {
     487            height: inherit;
     488            width: inherit;
     489        }
     490    }
     491}
     492
     493.bp-member-short-description-title a,
     494.bp-group-short-description-title a {
     495    font-weight: 600;
     496}
     497
     498@include medium-max() {
     499
     500    .bp-member-avatar-content,
     501    .bp-group-avatar-content {
     502        width: 100%;
     503        margin-bottom: 15px;
     504
     505        img.profile-photo,
     506        img.group-photo {
     507            margin: auto;
     508        }
     509    }
     510
     511    .bp-profile-button {
     512        position: relative;
     513        margin-top: 15px;
     514    }
     515
     516} // close @media
     517
     518@include medium-up {
     519
     520    .bp-profile-button {
     521        text-align: right;
     522    }
     523
     524} // close @media
Note: See TracChangeset for help on using the changeset viewer.