summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/pages/_loading.scss
blob: 5e4e7359ad88c57e0a4cfa086d83a923313f2881 (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
@charset 'UTF-8';

.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 .2em 0;
            display: inline-block;
        }

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

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

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