ros.grant.common 2.0.1650 → 2.0.1651

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  .page-wrapper {
2
2
  .header-travel {
3
- padding: 16px 0;
3
+ padding-top: 16px;
4
4
  color: var(--neutral-text-primary);
5
5
  background: transparent;
6
6
  z-index: 6;
@@ -13,6 +13,11 @@
13
13
  align-items: center;
14
14
  justify-content: space-between;
15
15
  position: relative;
16
+ margin-bottom: 16px;
17
+
18
+ @media (max-width: 767px) {
19
+ align-items: start;
20
+ }
16
21
  }
17
22
 
18
23
  // header-travel-logo
@@ -40,11 +45,13 @@
40
45
  align-items: center;
41
46
  justify-content: center;
42
47
  position: relative;
43
- font-family: 'PT Sans', sans-serif;
48
+
49
+ @media (max-width: 767px) {
50
+ margin-top: 60px;
51
+ }
44
52
 
45
53
  // header-travel-auth:hover
46
54
  &:hover {
47
-
48
55
  .header-travel-auth-user-menu {
49
56
  display: flex;
50
57
  }
@@ -150,6 +157,7 @@
150
157
  color: var(--neutral-text-primary);
151
158
  border-color: var(--neutral-text-primary);
152
159
  border-radius: 8px;
160
+ font-family: inherit;
153
161
 
154
162
  &:hover {
155
163
  color: #fff;
@@ -159,11 +167,157 @@
159
167
  }
160
168
  }
161
169
  }
170
+
171
+ // header-travel__nav
172
+ &__nav {
173
+ display: flex;
174
+ align-items: center;
175
+
176
+
177
+ // header-travel__nav-list
178
+ &-list {
179
+ display: flex;
180
+ flex-wrap: wrap;
181
+ padding-top: 12px;
182
+ padding-bottom: 16px;
183
+
184
+ @media (max-width: 767px) {
185
+ display: none;
186
+ position: absolute;
187
+ overflow: hidden;
188
+ width: calc(100% - 20px);
189
+ text-align: center;
190
+ top: 75px;
191
+ left: 10px;
192
+ padding-bottom: 0;
193
+ padding-top: 0;
194
+ background: #fff;
195
+ box-shadow: 0px 1px 15px 0px rgba(142, 142, 142, 1);
196
+ border-radius: 8px;
197
+ z-index: 20;
198
+
199
+ &.list-active{
200
+ display: block;
201
+ }
202
+ }
203
+ }
204
+
205
+ // header-travel__nav-link
206
+ &-link {
207
+ font-size: 14px;
208
+ line-height: 20px;
209
+ margin-right: 32px;
210
+ color: var(--neutral-text-primary);
211
+ position: relative;
212
+
213
+ @media (max-width: 767px) {
214
+ display: flex;
215
+ justify-content: center;
216
+ padding: 16px 0;
217
+ margin: 0;
218
+
219
+ &:not(:last-child){
220
+ border-bottom: 1px solid var(--neutral-bg-stroke-default);
221
+ }
222
+ }
223
+
224
+ // header-travel__nav-link _active
225
+ &_active {
226
+ // header-travel__nav-link _active:after
227
+ &:after {
228
+ content: '';
229
+ position: absolute;
230
+ left: 0;
231
+ bottom: -16px;
232
+ width: 100%;
233
+ height: 2px;
234
+ background: var(--brand-bg-primary-default);
235
+
236
+ @media (max-width: 767px) {
237
+ content: none;
238
+ }
239
+ }
240
+ }
241
+ }
242
+
243
+ // header-travel__nav-trigger
244
+ &-trigger {
245
+ display: none;
246
+
247
+ @media (max-width: 767px) {
248
+ display: block;
249
+ position: absolute;
250
+ top: 20px;
251
+ width: 24px;
252
+ height: 24px;
253
+ right: 15px;
254
+
255
+ &-btn {
256
+ border: none!important;
257
+ width: 24px!important;
258
+ height: 24px!important;
259
+
260
+ &:hover {
261
+ background-color: transparent !important;
262
+ }
263
+
264
+ &-icon {
265
+ top: 13px;
266
+ position: absolute;
267
+ width: 18px;
268
+ height: 2px;
269
+ background: var(--neutral-text-primary);
270
+ border-radius: 2px;
271
+ left: 6px;
272
+ display: block;
273
+ transition: transform 0.4s;
274
+ }
275
+
276
+ &:before {
277
+ top: 6px;
278
+ content: ''
279
+ }
280
+
281
+ &:after {
282
+ top: 20px;
283
+ content: '';
284
+ }
285
+
286
+ &:before,
287
+ &:after {
288
+ position: absolute;
289
+ width: 18px;
290
+ height: 2px;
291
+ background: var(--neutral-text-primary);
292
+ border-radius: 2px;
293
+ left: 6px;
294
+ display: block;
295
+ transition: transform 0.4s;
296
+ }
297
+
298
+ &.active {
299
+ .header-travel__nav-trigger-btn-icon {
300
+ transform: translate3d(0, 0, 0) rotate(45deg);
301
+ background: var(--neutral-text-primary);
302
+ }
303
+
304
+ &:before {
305
+ transform: translate3d(0, -5px, 0) rotate(-90deg);
306
+ opacity: 0;
307
+ }
308
+
309
+ &:after {
310
+ transform: rotate(-45deg) translate3d(5px, -5px, 0);
311
+ background: var(--neutral-text-primary);
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
162
318
  }
163
319
 
164
320
  header.header-travel{
165
- border-bottom: 1px solid var(--neutral-bg-stroke-default)!important;
166
-
167
321
  .container{
168
322
  max-width: 1330px!important;
169
323
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1650",
2
+ "version": "2.0.1651",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "scripts": {
Binary file