File size: 2,116 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@import '@/app/globalStyles/config/mixin.scss';

.Modal {
    position: fixed;
    top: 0;
    left: 0;
    //z-index: var(--modal-z-index);
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: 0.5s;
    z-index: 100;

    &.opened {
        visibility: visible;
        opacity: 1;

        .content {
            opacity: 1;
            transform: translate(0, 0);
        }
    }
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 30px 10px;
}

.content {
    position: relative;
    background: var(--s-inverted-c);
    transition: 0.5s;
    transform: translate(0, -100%);
    opacity: 0;
    width: 100%;
    max-width: 778px;
    padding: 60px;
    border-radius: 32px;

    @include before-768 {
        padding: 20px 24px 24px;
    }
}

.title {
    margin-bottom: 36px;
    font-size: 32px;
    line-height: 45px;
    color: var(--t-primery-c);

    @include before-768 {
        font-size: 22px;
        line-height: 33px;
    }
}

.text {
    margin: 0 0 10px;
    font-weight: normal;
    color: var(--t-primery-c);
}

.close {
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(30%, -30%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--s-primery-c);
    cursor: pointer;
    transition: 0.3s;

    &:hover {
        background-color: var(--s-accent-c);
    }
}

.closeIcon {
    fill: var(--s-inverted-c);
    transition: 0.3s;
}

// Темы
.onSide {
    background-color: transparent;

    .container {
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100%;
        padding: 0;
    }

    .content {
        transform: translate(-100%, 0);
        max-width: 700px;
        padding: 48px;
        box-shadow: -5px 0px 10px 0px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }

    .close {
        display: none;
    }
}