@reown/appkit-scaffold-ui
Version:
The full stack toolkit to build onchain app UX.
56 lines (49 loc) • 936 B
JavaScript
import { css } from 'lit';
export default css `
@keyframes shake {
0% {
transform: translateX(0);
}
25% {
transform: translateX(3px);
}
50% {
transform: translateX(-3px);
}
75% {
transform: translateX(3px);
}
100% {
transform: translateX(0);
}
}
wui-flex:first-child:not(:only-child) {
position: relative;
}
wui-loading-hexagon {
position: absolute;
}
wui-icon-box {
position: absolute;
right: 4px;
bottom: 0;
opacity: 0;
transform: scale(0.5);
z-index: 1;
}
wui-button {
display: none;
}
[data-error='true'] wui-icon-box {
opacity: 1;
transform: scale(1);
}
[data-error='true'] > wui-flex:first-child {
animation: shake 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
wui-button[data-retry='true'] {
display: block;
opacity: 1;
}
`;
//# sourceMappingURL=styles.js.map