Blame view

public/scss/blocks/_popup.scss 3.73 KB
242debab8   thesolarwind   Первый коммит в п...
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
  .popup {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 100;
      width: 100%;
      height: 100%;
      display: flex;
      opacity: 0;
      visibility: hidden;
      background-color: rgba(#03090F, .6);
      transition: .3s;
      
  
      @media (min-width: 640px) {
          overflow-y: auto;
      }
  
      &.active {
          opacity: 1;
          visibility: visible;
      }
  
  
      &__wrap {
          position: relative;
          background-color: #FFFFFF;
  
          @media (min-width: 640px) {
              border-radius: 10px;
              box-shadow: 0px 4px 32px rgba(14, 56, 94, 0.12);
              margin: auto;
          }
      }
  
      &__close {
          position: absolute;
          top: 0;
          right: 0;
          width: 60px;
          height: 60px;
          display: flex;
          align-items: center;
          justify-content: center;
  
          svg {
              fill: $black;
              transition: .3s;
          }
  
          &:hover {
              svg {
                  @media (min-width: 1200px) {
                      fill: $blue;
                  }
              }
          }
      }
  
  }
  
  .popup-feedback {
  
      .popup__wrap {
          width: 100%;
          padding: 60px 0 0 20px;
  
          @media (min-width: 640px) {
              max-width: 500px;
              padding: 60px 54px 60px;
          }
      }
  
      &__form {
          overflow-y: auto;
          height: 100%;
          padding: 0 20px 30px 0;
          @media (min-width: 640px) {
              overflow-y: visible;
              height: auto;
              padding: 0;
          }
      }
  
      &__title {
          font-size: 32px;
          line-height: 36px;
          font-weight: 700;
          margin-bottom: 40px;
  
          @media (min-width: 1200px) {
              line-height: 48px;
          }
      }
  
      &__fields {
          margin-bottom: 40px;
      }
  
      &__field {
  
          input {
              border-color: #CDCECF;
          }
  
          &:not(:last-child) {
              margin-bottom: 16px;
          }
      }
  
      &__btn {
          width: 100%;
          
          margin-bottom: 16px;
  
          @media (min-width: 480px) {
              width: auto;
              padding: 12px 78px;
          }
  
          &.btn-animate {
              animation: btn-animate 0.5s linear infinite;
              background-size: 30px 30px;
              background-image: linear-gradient(45deg, rgba($white, 0.3) 25%, transparent 25%, transparent 50%, rgba($white, 0.3) 50%, rgba($white, 0.3) 75%, transparent 75%, transparent);
          }
  
      }
  
      &__confirm {
          color: #9A9C9F;
          font-size: 14px;
          line-height: 20px;
          font-weight: 500;
  
          a {
              text-decoration: underline;
              padding: 0;
              margin: 0;
          }
      }
  }
  
  @keyframes btn-animate {
      from {
          background-position: 0 0;
      }
  
      to {
          background-position: 60px 30px;
      }
  }
  
  .popup-success {
  
      .popup__wrap {
          width: 100%;
          text-align: center;
          padding: 60px 0 0 20px;
          @media (min-width: 640px) {
              max-width: 600px;
              padding: 60px 75px 70px;
          }
      }
  
      &__inner {
          overflow-y: auto;
          height: 100%;
          padding: 0 20px 30px 0;
          @media (min-width: 640px) {
              overflow-y: visible;
              height: auto;
              padding: 0;
          }
      }
  
      &__logo {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 96px;
          height: 96px;
          border-radius: 50%;
          margin: 0 auto 30px;
          background-color: $blue;
  
          svg {
              stroke: $white;
          }
      }
  
      &__title {
          margin-bottom: 12px;
          font-size: 36px;
          line-height: 48px;
          font-weight: 800;
      }
  
      &__descr {
          color: #9A9C9F;
          font-size: 18px;
          line-height: 24px;
          font-weight: 500;
      }
  }