UNPKG

@shakthillc/components

Version:

React generic components for shakthi products

47 lines (46 loc) 822 B
.container { width: 100%; height: 100%; background-color: rgb(12, 12, 12, 0.5); position: fixed; left: 0px; top: 0px; z-index: 998; } .container--hide { width: 100%; height: 100%; background-color: rgb(12, 12, 12, 0.5); position: fixed; left: 0px; top: 0px; z-index: 998; display: none; } .modal__container { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 500px; height: 170px; background-color: white; position: relative; left: 50%; transform: translateX(-50%); top: 30%; z-index: 999; padding: 20px 30px; border-radius: 4px; } .modal__text { margin-bottom: 45px; } .modal__button { } .modal__close { cursor: pointer; position: absolute; right: 5px; top: 5px; }