aboutsummaryrefslogtreecommitdiff
path: root/client-web/public/assets/style/logger.css
blob: 6cc70f326f61626a86e948897467a1ddd4cb7488 (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
.logger-container {
    position: absolute;
    top: 0px;
    right: 0px;
    transition: width 1s;

    background-color: rgba(0, 0, 0, 0.376);
    border-radius: 0.2em;
    border: 0px solid transparent;
    padding: 0.2em;
}

.logger-error {
    font-size: 1.5em !important;
    color: red;
}
.logger-warn {
    font-size: 1.5em !important;
    color: yellow;
}

.logger-line {
    font-size: 1em;
    height: 1.2em;
    font-family: monospace;
    animation-name: appear;
    animation-timing-function: linear;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
}
.logger-line-disappear {
    animation-name: disappear;
    animation-timing-function: linear;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes appear {
    from {
        margin-top: -1.2em;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes disappear {
    from {
        opacity: 1;
    }
    to {
        margin-top: -1.2em;
        opacity: 0;
    }
}