File size: 1,096 Bytes
41a71fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import '@/app/globalStyles/config/mixin.scss';

.Burger {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;

    &--desktop {
        height: 100%;
        border-radius: 0;

        @include before-768 {
            display: none;
        }
    }

    &--mobile {
        display: none;

        @include before-768 {
            display: block;
            margin-right: 17px;
        }
    }
}

.burger__strip,
.burger__strip:before,
.burger__strip:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    margin-top: -1px;
    margin-left: -8px;
    background-color: var(--t-descriptive-c-2);
}

.burger__strip:before,
.burger__strip:after {
    content: '';
    transition: 0.3s;
}

.burger__strip:before {
    transform: translateY(-5px);
}

.burger__strip:after {
    transform: translateY(5px);
}

.active .burger__strip {
    height: 0;
}

.active .burger__strip:before {
    transform: rotate(45deg);
}

.active .burger__strip:after {
    transform: rotate(-45deg);
}