aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/resources/css/ajax.css
blob: 1546df152dab6cfacb42415eee3a004a6c9efb0f (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
75
76
77
@import "./codename.css";

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

iframe {
    height: 100%;
    width: 100%;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: rotator 1.4s linear infinite;
}

@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@keyframes colors {
    0% {
        stroke: var(--codename-theme);
    }
    25% {
        stroke: var(--codename-secondary);
    }
    50% {
        stroke: var(--codename-light);
    }
    75% {
        stroke: var(--codename-theme);
    }
    100% {
        stroke: var(--codename-secondary);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}