rc-toastr
Version:
A fully customized reactJs toasting library
73 lines (65 loc) • 1.27 kB
CSS
._3o6gs {
position: relative;
z-index: 20;
border-radius: 0.375rem;
pointer-events: all;
}
._1gjw2 {
position: relative;
color: #ffffff;
overflow: hidden;
margin: 0 auto;
}
._26hLR {
display: flex;
gap: 0.25rem;
width: 100%;
flex-direction: column;
padding: 2.5rem;
max-width: 24rem;
pointer-events: none;
}
._1PJpC {
display: flex;
position: relative;
z-index: 20;
gap: 1rem;
}
._2RnOX {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
background-color: rgba(0, 0, 0, 0.3);
pointer-events: none;
}
._3lJ0n {
width: 100%;
cursor: pointer;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
line-height: 1.5em;
text-align: left;
margin: 0;
}
._1Of5w {
position: absolute;
top: 0.5rem;
right: 1rem;
z-index: 20;
color: #ffffff;
width: 1.5rem;
height: 1.5rem;
cursor: pointer;
background: transparent;
border: none;
}
._WfpkX {
width: 1.5rem;
height: 1.5rem;
background: transparent;
color: #ffffff;
}