summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_loading.scss
blob: ab8601df6bb61d3e85cd1e3920c6059e324675e6 (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
.loading-screen {
	display: table;
	width: 100%;
	height: 100%;
	padding: 60px;
	text-align: center;
	.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;
		}

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

		@for $i from 1 through 3 {
			.round-#{$i} {
				@include animation-delay(.2s*$i);
			}
		}

		@include keyframes(move) {
			from { opacity: 1; }
			to { opacity: 0.1; }
		}
	}
}