You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Styles/components/_skeleton.scss

44 lines
855 B

2 years ago

.skeleton {
height: 1.2em;
display: block;
background-color: rgba(0, 0, 0, 0.11);
}
.skeleton-text {
height: auto;
transform: scale(1, 0.60);
margin-top: 0;
border-radius: var(--default-borderradius);
margin-bottom: 0;
transform-origin: 0 60%;
}
.skeleton-text:empty:before {
content: "\00a0";
}
.skeleton-circle {
border-radius: 50%;
}
.skeleton-pulse {
animation: skeleton-keyframes-pulse 1.5s ease-in-out 0.5s infinite;
}
.skeleton-wave {
overflow: hidden;
position: relative;
}
.skeleton-wave::after {
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
position: absolute;
animation: skeleton-keyframes-wave 1.6s linear 0.5s infinite;
transform: translateX(-100%);
background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
}