user-list.less 1.05 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
/* ------------------------------------------------------------------------------
 *
 *  # User list
 *
 *  Styles for user lists - layouts, contact details etc.
 *
 *  Version: 1.0
 *  Latest update: May 25, 2015
 *
 * ---------------------------------------------------------------------------- */


// Collapsible details
// ------------------------------

.contact-details {
    padding: @content-padding-base;
    padding-left: (@content-padding-base * 2);
    background-color: #fcfcfc;
    border-top: 1px solid @gray-lighter;
    border-bottom: 1px solid @gray-lighter;

    // Remove bottom border
    .media-list-bordered & {
        border-bottom: 0;
    }

    // If inside panel body
    .panel-body > .media-list & {
        padding-left: @content-padding-base;
        background-color: transparent;
        margin-top: @content-padding-base;
    }
    .panel-body > .media-list-bordered & {
        padding-bottom: 0;
    }

    // Remove margin from first list item
    > ul {
        &,
        > li:first-child {
            margin: 0;
        }
    }
}