@import "variables";

:host {
    width: 340px;
    display: block;
    &.compact {
        width: 50px;
    }
}

.placeholder {
    text-align: center;
    color: $color-grey-3;
}

.featured-asset {
    text-align: center;
    background: $color-grey-2;
    padding: 6px;

    &.compact {
        width: 50px;
        min-height: 40px;
        padding: 0;
        position: relative;
    }

    .compact-select {
        position: absolute;
        bottom: 6px;
        right: 6px;
        margin: 0;
    }
}

.all-assets {
    display: flex;
    flex-wrap: wrap;

    .asset-thumb {
        margin: 3px;
        padding: 0;
        border: 2px solid $color-grey-2;
        cursor: pointer;

        &.featured {
            border-color: $color-brand;
        }
    }

    .remove-asset {
        color: $color-warning;
    }

    &.compact {
        .asset-thumb {
            margin: 1px;
            border-width: 1px;
        }
    }
}
