mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-17 07:41:35 +03:00
Animate skeleton
This commit is contained in:
parent
a18659ee27
commit
7f9742b50a
1 changed files with 15 additions and 1 deletions
|
@ -79,12 +79,26 @@
|
|||
.status.large.visibility-direct {
|
||||
background-image: var(--fade-in-out-bg), var(--yellow-stripes);
|
||||
}
|
||||
|
||||
@keyframes skeleton-breathe {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
40% {
|
||||
opacity: 0.4;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.status.skeleton {
|
||||
color: var(--outline-color);
|
||||
animation: skeleton-breathe 6s linear infinite;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
contain: layout;
|
||||
text-rendering: optimizeSpeed;
|
||||
}
|
||||
|
||||
.status.skeleton > .avatar {
|
||||
background-color: var(--outline-color);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue