UNPKG

react-nexalib-popup

Version:

Elevate your React applications with NexaLib – the go-to npm package for crafting dynamic and user-friendly popup modals. With NexaLib, creating customizable and responsive popups becomes a breeze. Streamline your coding and enhance user experience – Nexa

128 lines (98 loc) 1.91 kB
/* CSS for Popup */ .fixed { position: fixed; } .inset-0 { top: 0; right: 0; bottom: 0; left: 0; } .flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; } .nexalib-container .absolute { position: absolute; } .nexalib-container .opacity-60 { opacity: 0.6; } .nexalib-container .bg-black { background-color: #000; } .nexalib-container .z-10 { z-index: 10; } .nexalib-container .bg-white { background-color: #fff; } .nexalib-container .rounded { border-radius: 0.25rem; } .nexalib-container .p-4 { padding: 1rem; } .nexalib-container .absolute { position: absolute; } .nexalib-container .right-1 { right: 2px; } .nexalib-container .relative { position: relative; } .nexalib-container .top-0 { top: 0; } .nexalib-container .cursor-pointer { cursor: pointer; } .nexalib-container .text-slate-500 { color: #6b7280; } .nexalib-container .nexalib-modal-content { max-width: 80%; min-width: 50%; } .nexalib-container .nexalib-modal-close-button { outline: none; border: none; } .nexalib-container .block { display: block; } .nexalib-container .mx-auto { margin-left: auto; margin-right: auto; } .nexalib-container .mt-2 { margin-top: 0.5rem; } .nexalib-container .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } .nexalib-container .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } .nexalib-container .text-white { color: #fff; } .nexalib-container .nexalib-modal-footer-container { border-top-width: 1px; } .nexalib-container .my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; } .nexalib-children { max-height: 80vh; max-width: 100%; }