.modal-dialog { margin: 20vh auto 0; } .modal-content { border-radius: $border-radius; } .modal-header { border-bottom: none; .close { padding: 0 1.4rem 0 0; margin-top: -2rem; font-weight: normal; color: theme-color("dark"); opacity: 1; &:hover { background-color: none; } } .modal-title { font-size: 1.25rem !important; font-weight: 500; line-height: 1.3; } } .modal-header { align-items: center; } .modal-body { display: flex; justify-content: flex-start; } .file-input_container > .custom-file { height: 100%; } .custom-file-input ~ .custom-file-label { background-color: transparent; border: 1px dashed $text-tretiatry; box-sizing: border-box; border-radius: $border-radius; height: 100%; display: flex; align-items: center; text-align: center; white-space: normal; justify-content: center; } .custom-file-input ~ .custom-file-label::after { display: none; } #modal-reset { .modal-body { flex-direction: column; } .modal-footer { flex-wrap: nowrap; } } #modal-dns, #configure-connection { .modal-body { > form { width: 100%; } } }