aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/AntimodeMenu.scss
blob: 2ebf673fe3feec34aaa96d3f6f6dc0f3f24c8925 (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
@import './global/globalCssVariables.module';

.antimodeMenu-cont {
    position: absolute;
    z-index: 10001;
    height: $antimodemenu-height;
    width: fit-content;
    border-radius: $standard-border-radius;
    overflow: hidden;
    // box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
    // border-radius: 0px 6px 6px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;

    &.expanded {
        // Conditionally unset the height when the class is applied
        height: auto;
    }

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

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

    .antimodeMenu-dragger {
        height: 100%;
        transition: width 0.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;
        }
    }
}