summaryrefslogtreecommitdiffstats
path: root/webapp/sass/routes/_loading.scss
blob: 39f37b1b3f6f2c4ea7595a50baf121d0fd4f1c71 (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
@charset 'UTF-8';

@import "compass/css3/animation";

.loading-screen {
    display: table;
    height: 100%;
    padding: 60px;
    text-align: center;
    width: 100%;

    .loading__content {
        display: table-cell;
        font-size: 0;
        vertical-align: middle;

        h3 {
            display: inline-block;
            font-size: 16px;
            font-weight: 400;
            margin: 0 .2em;
        }

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

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

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

            to {
                opacity: .1;
            }
        }
    }
}