@use '../mat-selectors.scss' as ms;

adf-content-node-selector {
    .adf-upload-dialog {
        box-shadow: none;
        height: 100%;
        width: 100%;
        position: unset;
        bottom: unset;

        &__content {
            max-height: 64%;
        }
    }

    .adf-upload-dialog-container {
        height: 380px;
    }

    .adf-toolbar-title {
        place-items: center;
    }

    .adf-content-node-selector-local-upload-content {
        height: 50vh;

        adf-upload-drag-area {
            adf-empty-list {
                .adf-empty-folder-drag-drop {
                    min-height: 46px;
                    font-size: 40px;
                }

                .adf-empty-folder-image {
                    height: 100px;
                    width: 460px;
                }
            }
        }
    }
}

.adf-content-node-selector-dialog {
    #{ms.$mat-form-field} {
        width: 100%;
    }

    .adf-dropdown-breadcrumb-icon {
        color: var(--mat-sys-on-secondary-container);
    }

    .adf-content-node-selector-dialog-actions {
        padding: 8px;
        height: 77px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (width <=768px) {
    .adf-content-node-selector-dialog {
        height: 100vh;
    }
}
