@alifd/next
Version:
A configurable component library for web built on React.
31 lines (27 loc) • 770 B
CSS
.next-sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
top: 0;
margin: -1px; }
.next-overlay-wrapper .next-overlay-inner {
z-index: 1001; }
.next-overlay-wrapper .next-overlay-backdrop {
position: fixed;
z-index: 1001;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
background-color: var(--color-calculate-mask-background, rgba(0, 0, 0, 0.2));
transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
transition: opacity var(--motion-duration-standard, 300ms) var(--motion-default, cubic-bezier(0.4, 0, 0.2, 1));
opacity: 0; }
.next-overlay-wrapper.opened .next-overlay-backdrop {
opacity: 1; }