aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
blob: 6861663757e4c901840479ce2ba3fea0bd8fcff0 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
::-webkit-scrollbar {
    display: none;
}

html {
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    -webkit-overflow-scrolling: touch;
}

@-webkit-keyframes animation {
    from {
        opacity: 0;
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    60% {
        opacity: 1;
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    }
}

body {
    font-size: 1.2rem;
    font-family: Arial;
    color: map-get($colors, font);
    margin: 0 5%;

    .parent {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        height: 100%;

        .item {
            &:active {
                .icon {
                    &.inactive {
                        display: none;
                    }

                    &.enabled{
                        display: block;
                    }
                }
            }

            color: map-get($colors, font);
            text-decoration: none;

            -webkit-animation-name: animation;
            -webkit-animation-duration: 2s;

            .icon {

                &.inactive {
                    display: block;
                }

                &.enabled{
                    display: none;
                }

                width: 70%;
                margin: 5% 15%;
            }

            .name {
                width: 100%;
                text-align: center;
                text-transform: uppercase;
            }
        }
    }

    .log {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 1080px;
        background: white;
        font-size: 1.5rem;
    }
}