.dialog { margin: 0; border-radius: 1px; z-index: 999999 !important; position: fixed; -webkit-font-smoothing: antialiased; box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4); height: auto; border: 0; padding: 0; will-change: transform; contain: style; } .dialog.fixedSize { position: fixed !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; margin: 0 !important; border-radius: 0 !important; max-height: none !important; max-width: none !important; width: auto; } .dialog.centeredDialog { top: 50%; left: 50%; max-width: 70%; max-height: 84%; } @media all and (min-width: 1280px) and (min-height: 720px) { .dialog.medium { top: 10% !important; bottom: 10% !important; left: 10% !important; right: 10% !important; } .dialog.small { top: 10% !important; bottom: 10% !important; left: 20% !important; right: 20% !important; } } @media all and (min-width: 1280px) and (min-height: 720px) { .dialog.fullscreen-border { top: 5% !important; bottom: 5% !important; left: 5% !important; right: 5% !important; } } .noScroll { overflow-x: hidden !important; overflow-y: hidden !important; } .dialog > * { padding: 0 24px; } .dialog .buttons { position: relative; padding: 0; margin: 1em; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-direction: row; -webkit-flex-direction: row; flex-direction: row; -ms-flex-pack: end; -webkit-justify-content: flex-end; justify-content: flex-end; } .dialog .buttons button { color: #52B54B; padding: 0.35em 1em; margin: 0; } .dialog .buttons button:focus { color: #fff; background-color: #52B54B; } .dialogBackdrop { background-color: #000; opacity: 0; position: fixed !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; margin: 0 !important; z-index: 999999 !important; transition: opacity ease-out 0.2s; } .dialogBackdrop.opened { opacity: .6; } .dialog::backdrop { opacity: 0; background-color: #000; transition: opacity ease-out 0.2s; } .mouseIdle .dialog::backdrop { cursor: none !important; } .dialog.opened::backdrop { opacity: .6; }