@import "../variables"; @import "./Modal.module"; .modal { z-index: 10000; } .md-content { min-width: 30vw; } .alert-warning { & > .alert-title { background-color: $red; } } .alert { z-index: 4000; width: 100%; } .alert-overlay { position: absolute; top: 50%; z-index: 3000; left: 50%; transform: translate(-50%, -50%); height: 100vh; width: 100vw; background-color: black; opacity: 0.8; transition: 0.2s; } .alert-msg { width: 100%; padding: 24px; background-color: $background; font-size: 0.9em; } .alert-options-container { background-color: $background; width: 100%; padding: 0 24px 24px; border-radius: 0 0 5px 5px; } .alert-options { border-top: 1px solid grey; padding-top: 24px; display: flex; justify-content: flex-end; & > button { min-height: 36px; padding-inline: 16px; margin-left: 2%; border: none; border-radius: 8px; transition: ease-in-out 0.3s; } } .alert-title { width: 100%; padding: 26px 24px; display: flex; justify-content: space-between; font-size: 1.1em; border-radius: 5px 5px 0 0; & a { cursor: pointer; } } .title-label { display: flex; align-items: center; & svg { margin-inline-end: 8px; } }