summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_loading.scss
blob: bc819e8f5d5bd5f4118c9bc1f1de5cfe91399d67 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.loading-screen {
	display: table;
	width: 100%;
	height: 100%;
	position: absolute;
	@include box-sizing(border-box);
	text-align: center;
	&.loading-screen--channel {
		position: relative;
		padding: 4em 0 3.5em;
	}
	.loading__content {
		display: table-cell;
		vertical-align: middle;
		font-size: 0;
		h3 {
			font-size: 16px;
			font-weight: 400;
			margin: 0 0.2em 0;
			display: inline-block;
		}
	}
}

.loading-screen {
	.loading__content {
		.round {
			background-color: #444;
			width: 4px;
			height: 4px;
			display: inline-block;
			margin: 0 2px;
			opacity: 0.1;
			@include border-radius(10px);
			-moz-animation: move 0.75s infinite linear;
			-webkit-animation: move 0.75s infinite linear;
		}

		#round_1 {
			-moz-animation-delay: .2s;
			-webkit-animation-delay: .2s;
		}

		#round_2 {
			-moz-animation-delay: .4s;
			-webkit-animation-delay: .4s;
		}

		#round_3 {
			-moz-animation-delay: .6s;
			-webkit-animation-delay: .6s;
		}

		@-moz-keyframes move {
			0% {
				opacity: 1;
			}

			100% {
				opacity: 0.1;
			};
		}

		@-webkit-keyframes move {
			0% {
				opacity: 1;
			}

			100% {
				opacity: 0.1;
			};
		}
	}
}