blob: 03d97a30e892b841abcf89f118ac9f72f2a638ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
// Styles for /lib/components/data/specter.jsx component
export const specterStyles = /* css */ `
.specter {
position: absolute;
bottom: 0;
right: 30px;
display: flex;
align-items: flex-end;
z-index: 2;
pointer-events: none;
touch-action: none;
}
.simple-bar--animations-disabled .specter {
display: none;
}
.specter > span {
flex: 0 0 5px;
height: 15px;
max-height: 15px;
margin-left: 1px;
background-color: var(--main);
opacity: 0.1;
transform-origin: bottom;
}
.simple-bar--no-color-in-data .specter > span,
.simple-bar--widgets-background-color-as-foreground .specter > span {
background-color: currentColor;
}
.specter > span {
animation: specter-waving 640ms var(--transition-easing) infinite;
}
.simple-bar--animations-disabled .specter > span {
animation: none;
}
.specter > span:nth-of-type(1) {
animation-delay: -460ms;
}
.specter > span:nth-of-type(2) {
animation-delay: -320ms;
}
.specter > span:nth-of-type(3) {
animation-delay: -200ms;
}
.specter > span:nth-of-type(4) {
animation-delay: -240ms;
}
.specter > span:nth-of-type(5) {
animation-delay: -150ms;
}
@keyframes specter-waving {
50% {
transform: scaleY(0.2);
}
}
`;
|