GoScrobble/web/node_modules/react-toastify/scss/_closeButton.scss

27 lines
386 B
SCSS
Raw Normal View History

2022-04-25 02:47:15 +00:00
.#{$rt-namespace}__close-button {
color: #fff;
background: transparent;
outline: none;
border: none;
padding: 0;
cursor: pointer;
opacity: 0.7;
transition: 0.3s ease;
align-self: flex-start;
&--default {
color: #000;
opacity: 0.3;
}
& > svg {
fill: currentColor;
height: 16px;
width: 14px;
}
&:hover, &:focus {
opacity: 1;
}
}