aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/AntimodeMenu.scss
blob: 8a0e5480ea094bc61ce89fe9836a4cba05c155e1 (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
@import "./global/globalCssVariables";


.antimodeMenu-cont {
    position: absolute;
    z-index: 10001;
    height: $antimodemenu-height;
    background: $dark-gray;
    border-bottom: $standard-border;
    // box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
    // border-radius: 0px 6px 6px 6px;
    display: flex;

    &.with-rows {
        flex-direction: column
    }

    .antimodeMenu-row {
        display: flex;
        height: 35px;
    }

    .antimodeMenu-button {
        background-color: transparent;
        width: 35px;
        height: 35px;
        padding: 5;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;

        .svg {
            margin: 0;
        }

        &.active {
            background-color: #121212;
        }
    }

    .antimodeMenu-button:hover {
        background-color: rgba(0, 0, 0, 0.4);
    }

    .antimodeMenu-dragger {
        height: 100%;
        transition: width .2s;
        background-image: url("https://logodix.com/logo/1020374.png");
        background-size: 90% 100%;
        background-repeat: no-repeat;
        background-position: left center;
    }
}

@media only screen and (max-device-width: 480px) {
    .antimodeMenu-cont {
        height: 100px;
        width: 100vw;

        &.with-rows {
            flex-direction: column-reverse;
        }

        .antimodeMenu-row {
            display: flex;
            height: 100%;
            width: 100%;
        }

        .antimodeMenu-button {
            background-color: transparent;
            width: 100px;
            height: 100px;

            &.active {
                background-color: #121212;
            }
        }

        .antimodeMenu-button:hover {
            background-color: #121212;
        }
    }
}