File size: 872 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
// PlaceholderLines component
.inline-help__results-placeholder {
	margin: 16px;
	min-height: 120px;
}

.inline-help__results-placeholder-item {
	height: 16px;
	margin: 16px 0;
	border-radius: 16px; /* stylelint-disable-line scales/radii */
	background-color: var(--color-neutral-0);
	color: transparent;
	animation: inline-help__results-placeholder-loading 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
	animation-delay: 0s;

	&:nth-child(1) {
		animation-delay: -1.3s;
	}

	&:nth-child(2) {
		animation-delay: -2.5s;
	}

	&:nth-child(3) {
		animation-delay: -3.8s;
	}

	&::after {
		content: "\00a0";
	}
}

@keyframes inline-help__results-placeholder-loading {
	0% {
		opacity: 0.3;
		width: 65%;
	}
	25% {
		opacity: 0.6;
		width: 90%;
	}
	50% {
		opacity: 0.5;
		width: 18%;
	}
	75% {
		opacity: 0.8;
		width: 75%;
	}
	100% {
		opacity: 0.3;
		width: 65%;
	}
}