@import "~scss/variables";

.sw-import-export-entity-path-select {
    .sw-import-export-entity-path-select__selection-input {
        padding: 12px 22px 12px 0;
        width: 0;
        display: inline-block;

        &.is--expanded {
            width: 100%;
            display: block;
            padding: 12px 22px 12px 8px;
        }
    }

    .sw-import-export-entity-path-select__selection-text {
        display: inline-block;
        padding-left: 8px;

        &.is--placeholder {
            color: lighten($color-darkgray-200, 25%);
        }
    }

    &.sw-field--medium {
        .sw-select__selection {
            padding: 0 6px;
        }

        .sw-import-export-entity-path-select__selection-input {
            padding: 8px;
        }
    }

    &.sw-field--small {
        .sw-select__selection {
            padding: 0 6px;
        }

        .sw-import-export-entity-path-select__selection-input {
            padding: 4px 8px;
        }
    }

    &__listing-seperator {
        color: $color-gray-300;
        border: 1px solid $color-gray-300;
    }
}

.sw-import-export-entity-path-select__result-list {
    .sw-select-result__result-item-text {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
