UNPKG

pragmate-ui

Version:

An advanced, on-demand React UI library optimized for BeyondJS. Pragmate UI provides modular, responsive, and accessible components with a focus on efficient bundle sizes and a streamlined development process.

64 lines (62 loc) 1.26 kB
.pui-image.pui-image-error { display: flex; align-items: center; justify-content: center; } .pui-image.pui-image-error .content-error { display: flex; align-items: center; justify-content: center; flex-direction: column; height: 100%; } .pui-image.pui-image-error .content-error .pui-icon-button { width: 50px; height: 50px; } .pui-image.pui-image-error .content-error .pui-icon-button svg.pui-icon { width: 35px; height: 35px; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; } .pui-image.pui-image-error .content-error span { font-size: 12px; display: block; text-align: center; } .pui-image { position: relative; margin: 0; padding: 0; display: inline-flex; } .pui-image.pui-image-error, .pui-image.pui-image-preload { background-color: var(--surface); display: block; } .pui-image.pui-image-error img, .pui-image.pui-image-preload img { width: 100%; height: 100%; } .pui-image img { width: 100%; height: 100%; } .pui-image.cover-image img { -o-object-fit: cover; object-fit: cover; } .pui-image.contain img { -o-object-fit: contain; object-fit: contain; } .pui-image.fill img { -o-object-fit: fill; object-fit: fill; } /*# sourceMappingURL=image.css.map*/