// Chips
.chip {
    align-content: space-around;
    align-items: center;
    border-radius: $border-radius;
    display: flex;
    list-style: none;
    margin: 0;
    padding: .5rem 0;
    .chip-icon {
        flex: 0 0 auto;
    }
    .chip-content {
        flex: 1 1 auto;
        @extend .text-ellipsis;
        &:not(:first-child) {
            padding-left: 1rem;
        }
        &:not(:last-child) {
            padding-right: 1rem;
        }
    }
    .chip-action {
        flex: 0 0 auto;
    }
    .chip-title {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }
    .chip-meta {
        color: lighten($body-font-color, 50%);
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
}

// Small chips
.chip-sm {
    align-items: center;
    background: $core-border-color;
    border-radius: $border-radius;
    color: #666;
    display: inline-flex;
    height: 3rem;
    margin: .1rem .2rem .1rem 0;
    max-width: 100%;
    padding: .5rem .7rem;
    text-decoration: none;
    vertical-align: middle;
    &.selected {
        background: $core-color;
        color: $core-light-color;
    }
    .avatar {
        font-size: 1rem;
        height: 2rem;
        margin-right: .4rem;
        width: 2rem;
    }
    .btn-clear {
        &::before {
            color: currentColor;
            font-size: 1.6rem;
        }
    }
}