$mediaSelected: '.mediaSelected';

#{$mediaSelected} {
    display: none;
    width: 100%;

    &__header {
        width: 70px;
        margin-right: 20px;
    }

    &__content {
        position: relative;
        width: calc(100% - 90px);

        &:after {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            width: 25px;
            background-image: -webkit-gradient(linear,right top,left top,from(rgba($color-white, 1)),to(rgba($color-white ,0)));
            background-image: -webkit-linear-gradient(right,rgba($color-white, 1),rgba($color-white, 0));
            background-image: linear-gradient(to left,rgba($color-white, 1),rgba($color-white, 0));
        }
    }

    &__list,
    &__item {
        @include list-reset;
    }

    &__info {
        margin-bottom: 2px;
        font-weight: 600;
        font-size: $font-size-small;
    }

    &__list {
        display: flex;
        width: 100%;
        height: 44px;
        overflow: hidden;
    }

    &__item {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        margin-right: 10px;

        img {
            width: 100%;
            height: 100%;
            margin-bottom: 0;
            object-fit: cover;
        }
    }

    &__action {
        button {
            padding: 2px 6px;
            font-size: $font-size-smallest;
        }
    }

    &#{$mediaSelected}_state_active {
        display: flex;
    }
}
