File size: 1,058 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
import styled from '@emotion/styled';

const LoaderText = styled.span`
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	position: relative;

	&:before {
		content: '';
		display: inline-block;
		border-radius: 50%;
		margin-right: 10px;
		content: '';
		width: 16px;
		height: 16px;
		border: solid 2px #074ee8;
		border-radius: 50%;
		border-bottom-color: transparent;
		-webkit-transition: all 0.5s ease-in;
		-webkit-animation-name: rotate;
		-webkit-animation-duration: 1s;
		-webkit-animation-iteration-count: infinite;
		-webkit-animation-timing-function: linear;

		transition: all 0.5s ease-in;
		animation-name: rotate;
		animation-duration: 1s;
		animation-iteration-count: infinite;
		animation-timing-function: linear;
	}

	@keyframes rotate {
		from {
			transform: rotate( 0deg );
		}
		to {
			transform: rotate( 360deg );
		}
	}

	@-webkit-keyframes rotate {
		from {
			-webkit-transform: rotate( 0deg );
		}
		to {
			-webkit-transform: rotate( 360deg );
		}
	}
`;

export default LoaderText;