@use '../../variables' as *;

$b: '.action-list';

#{$b} {
    &__item {
    }

    &__link {
        align-items: center;
        color: $action-list-link-color;
        display: flex;
        padding: 4px * 2 4px * 4;
        width: 100%;

        #{$b}__item:first-child:not(:last-child) & {
            padding-top: 4px * 4;
        }

        #{$b}__item:last-child:not(:first-child) & {
            padding-bottom: 4px * 4;
        }

        &_separator {
            border-top: $action-list-link-separator-width solid $action-list-link-separator-color;
            margin-top: 4px;
            padding-top: 4px * 3;
        }
    }

    &__icon {
        fill: currentcolor;
        flex-shrink: 0;
        height: 4px * 6;
        margin-right: 4px * 2;
        width: 4px * 6;
    }
}
