.FileList__item {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: solid 1px $color-border-gray;
    min-height: 60px;

    span {
        margin: 0 6px;
    }

    .FolderButton {
        padding: 0;
        overflow: hidden;
        white-space: normal;
        text-align: left;
        z-index: 9;
    }
}

.Indent {
    margin-left: 30px;
}

.Label {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 0;

    &:focus-within {
        outline: auto;
        outline-offset: 5px;
    }
}

.Checkbox {
    opacity: 0;
}

.Selected {
    background-color: $color-text-blue-dark;

    button {
        font-weight: 600;
        color: $color-text-white;
    }

    button:hover {
        color: $color-text-gray-cool;
    }
}

.FileList__item__name {
    display: flex;
    align-items: center;
    flex: 7;
}

.FileList__item__options {
    display: flex;
    align-items: center;
    padding-right: 2vw;
}

.MobileDropdownTrigger {
    z-index: 1;
}

.NoShrink {
    flex-shrink: 0;
}

.DownloadShareDropdown {
    padding-left: 20px;
}

.DropdownList {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    border: 1px solid $color-border-gray;

    &.DropdownList {
        width: max-content; // override width: auto from ember-basic-dropdown
    }

    button {
        padding: 8px 0 0;
    }
}
