mayak-common-library-payload 0.1.0

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.
@@ -0,0 +1,532 @@
1
+ // colors
2
+ $colorTextDark: #343434;
3
+ $colorTextLight: #fff;
4
+ $colorTextGold: #C8BCA1;
5
+ $colorTextGold2: #99835F;
6
+ $colorGray: #757575;
7
+ $colorGrayLight: #F5F5F5;
8
+ $colorGrayLight2: #FCFCFC;
9
+ $colorGrayMedium: #D0CED2;
10
+ $colorGray2: #FBFBFB;
11
+
12
+ $colorDark: #343434;
13
+
14
+ $bgGold: #C8BCA1;
15
+ $bgDark: #343434;
16
+ $bgLight: #fff;
17
+
18
+ $colorGold: #C8BCA1;
19
+ $colorGold2: #99835F;
20
+
21
+ $filterColorGold: invert(5%) sepia(22%) saturate(331%) hue-rotate(346deg) brightness(83%) contrast(86%);
22
+ $filterColorGold2: invert(64%) sepia(5%) saturate(2284%) hue-rotate(358deg) brightness(81%) contrast(87%);
23
+ $filterColorDark: invert(18%) sepia(13%) saturate(19%) hue-rotate(5deg) brightness(60%) contrast(90%);
24
+ $filterColorGray: invert(50%) sepia(10%) saturate(17%) hue-rotate(354deg) brightness(89%) contrast(90%);
25
+ $filterColorWhite: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
26
+ $filterColorBeige: invert(89%) sepia(12%) saturate(300%) hue-rotate(20deg) brightness(95%) contrast(90%);
27
+
28
+ // fonts
29
+ @mixin fontRock {
30
+ font-family: RockStar, sans-serif;
31
+ }
32
+
33
+ // font sizes
34
+
35
+ @mixin f16 {
36
+ font-size: 16px;
37
+ line-height: 20px;
38
+ //line-height: 120%;
39
+ //@include md(){
40
+ // line-height: 160%;
41
+ //}
42
+ }
43
+ @mixin f18 {
44
+ font-size: 18px;
45
+ line-height: 19px;
46
+ }
47
+ @mixin f20 {
48
+ font-size: 20px;
49
+ line-height: 22px;
50
+ }
51
+
52
+ @mixin f24 {
53
+ font-size: 24px;
54
+ line-height: 30px;
55
+ //line-height: 110%;
56
+ }
57
+ @mixin f26 {
58
+ font-size: 26px;
59
+ line-height: 31px;
60
+ //line-height: 120%;
61
+ }
62
+ @mixin f28 {
63
+ font-size: 28px;
64
+ line-height: 31px;
65
+ //line-height: 110%;
66
+ }
67
+ @mixin f30 {
68
+ font-size: 30px;
69
+ line-height: 33px;
70
+ }
71
+
72
+
73
+ @mixin f40 {
74
+ font-size: 40px;
75
+ line-height: 48px;
76
+ //line-height: 120%;
77
+ }
78
+ @mixin f50 {
79
+ font-size: 50px;
80
+ line-height: 55px;
81
+ }
82
+
83
+
84
+ // font weights
85
+ @mixin f400 {
86
+ font-weight: 400;
87
+ }
88
+ @mixin f800 {
89
+ font-weight: 800;
90
+ }
91
+
92
+ // screens width
93
+ $screen-sm: 650px;
94
+ $screen-md: 900px;
95
+ $screen-lg: 1200px;
96
+ $screen-xl: 1536px;
97
+
98
+ // media queries
99
+ @mixin sm {
100
+ @media screen and (max-width: #{$screen-sm}) {
101
+ @content;
102
+ }
103
+ }
104
+ @mixin sm-md {
105
+ @media screen and (min-width: #{$screen-sm}) and (max-width: #{$screen-md}) {
106
+ @content;
107
+ }
108
+ }
109
+ @mixin md {
110
+ @media screen and (max-width: #{$screen-md}) {
111
+ @content;
112
+ }
113
+ }
114
+ @mixin md-lg {
115
+ @media screen and (min-width: #{$screen-md}) and (max-width: #{$screen-lg}) {
116
+ @content;
117
+ }
118
+ }
119
+ @mixin lg {
120
+ @media screen and (max-width: #{$screen-lg}) {
121
+ @content;
122
+ }
123
+ }
124
+ @mixin min-lg {
125
+ @media screen and (min-width: #{$screen-lg}) {
126
+ @content;
127
+ }
128
+ }
129
+ @mixin xl {
130
+ @media screen and (max-width: #{$screen-xl}) {
131
+ @content;
132
+ }
133
+ }
134
+
135
+ .button {
136
+ width: fit-content;
137
+ padding: 12px 30px;
138
+ text-transform: unset;
139
+ border-radius: 0;
140
+ min-width: 145px;
141
+ font-size: 14px;
142
+ line-height: 16px;
143
+ box-shadow: none;
144
+ &_dark {
145
+ background-color: $bgDark;
146
+ color: $colorTextLight;
147
+ &:hover {
148
+ background-color: $bgDark;
149
+ }
150
+ }
151
+ }
152
+
153
+
154
+
155
+ .customImage {
156
+ position: relative;
157
+ img {
158
+ object-position: center;
159
+ object-fit: cover;
160
+ }
161
+ }
162
+
163
+ @layer components {
164
+ .white-block-snack {
165
+ @apply bg-white px-[10px] py-[2px] w-fit text-12;
166
+ }
167
+ .white-block-snack-border {
168
+ @apply bg-white border-solid px-[10px] py-[2px] w-fit text-14 border border-dark;
169
+ }
170
+ .gold-block-snack-border {
171
+ @apply bg-gold border-solid px-[10px] py-[2px] w-fit text-14 border border-gold;
172
+ }
173
+ .black-block-snack {
174
+ @apply bg-dark py-[6px] px-[16px] w-fit text-white font-extrabold text-12;
175
+ }
176
+ .gray-block-snack {
177
+ @apply bg-gray-light px-[10px] w-fit text-12;
178
+ }
179
+ .border-block-snack {
180
+ @apply px-[10px] py-[2px] text-12 border border-custom-gray-medium w-fit;
181
+ }
182
+ .border-gold-block-snack {
183
+ @apply w-fit px-[10px] py-[2px] text-gray border border-gold font-extrabold text-12 group-hover/card:text-white group-hover/card:bg-gold;
184
+ }
185
+ .text-gold2 {
186
+ color: $colorGold2;
187
+ }
188
+ .text-gold {
189
+ color: $colorGold;
190
+ }
191
+ .text-gray {
192
+ color: $colorGray;
193
+ }
194
+
195
+ //.text-14-gray {
196
+ // @include f14;
197
+ // color: $colorGray;
198
+ //}
199
+ //.text-14-bold {
200
+ // @include f14;
201
+ // @apply font-extrabold
202
+ //}
203
+ .text-16 {
204
+ @include f16;
205
+ }
206
+ .text-18 {
207
+ @include f18;
208
+ }
209
+ .text-20 {
210
+ @include f20;
211
+ }
212
+ .text-24 {
213
+ @include f24;
214
+ }
215
+ .text-26 {
216
+ @include f26;
217
+ //@apply font-extrabold;
218
+ }
219
+ .text-28 {
220
+ @include f28;
221
+ }
222
+ .text-30 {
223
+ @include f30;
224
+ }
225
+ .text-40 {
226
+ @include f40;
227
+ }
228
+ .text-light {
229
+ color: $colorTextLight;
230
+ }
231
+ .text-dark {
232
+ color: $colorTextDark;
233
+ }
234
+ .text-gold {
235
+ color: $colorTextGold;
236
+ }
237
+ .text-gray-light {
238
+ color: $colorGrayLight;
239
+ }
240
+ .bg-gray-light {
241
+ background-color: $colorGrayLight;
242
+ }
243
+ .bg-gray-light2 {
244
+ background-color: $colorGrayLight2;
245
+ }
246
+ .bg-gray-medium {
247
+ background-color: $colorGrayMedium;
248
+ }
249
+ .bg-gray {
250
+ background-color: $colorGray;
251
+ }
252
+ .bg-gray2 {
253
+ background-color: $colorGray2;
254
+ }
255
+ .bg-dark {
256
+ background-color: $bgDark;
257
+ }
258
+ .bg-light {
259
+ background-color: $bgLight;
260
+ }
261
+ .bg-gold {
262
+ background-color: $bgGold;
263
+ }
264
+ .border-custom-gray {
265
+ border-color: $colorGray;
266
+ }
267
+
268
+ .border-custom-gray-medium {
269
+ border-color: $colorGrayMedium
270
+ }
271
+
272
+ .border-custom-gray-light {
273
+ border-color: $colorGrayLight;
274
+ }
275
+
276
+ .border-custom-dark {
277
+ border-color: $colorTextDark;
278
+ }
279
+
280
+ .border-dark {
281
+ border-color: $colorTextDark;
282
+ }
283
+
284
+ .border-gold {
285
+ border-color: $colorGold;
286
+ }
287
+
288
+ .border-gold2 {
289
+ border-color: $colorGold2;
290
+ }
291
+
292
+ .big-title {
293
+ @apply uppercase font-extrabold text-34
294
+ }
295
+
296
+ .wrapper-gold {
297
+ @apply bg-gold py-[6px] px-[16px] w-fit md:py-[2px] md:px-[6px]
298
+ }
299
+
300
+ .block-gold {
301
+ @apply bg-gold py-[30px] px-[40px] flex flex-col
302
+ }
303
+
304
+ .block-simple-border {
305
+ @apply block border py-[16px] px-[24px] text-14 w-fit border-dark border-solid
306
+ }
307
+
308
+ .block-white-wrapper {
309
+ @apply bg-white pt-[13px] pb-[8px] px-[30px] block md:pt-[10px] md:pb-[6px] md:px-[10px] rounded-[8px]
310
+ }
311
+
312
+ .block-white {
313
+ @apply bg-white py-[30px] px-[40px]
314
+ }
315
+
316
+ .block-center {
317
+ @apply block mx-auto w-fit
318
+ }
319
+
320
+ .filter-gold2 {
321
+ filter: $filterColorGold2;
322
+ }
323
+
324
+ .filter-gold {
325
+ filter: $filterColorGold;
326
+ }
327
+ //.filter-beige {
328
+ // filter: $filterColorBeige;
329
+ //}
330
+ //.filter-white{
331
+ // filter: $filterColorWhite;
332
+ //}
333
+ .filter-gray {
334
+ filter: $filterColorGray;
335
+ }
336
+ .filter-dark {
337
+ filter: $filterColorDark;
338
+ }
339
+
340
+
341
+
342
+ .trim-2 {
343
+ display: -webkit-box;
344
+ -webkit-box-orient: vertical;
345
+ overflow: hidden;
346
+ -webkit-line-clamp: 2;
347
+ }
348
+
349
+ .trim-4 {
350
+ display: -webkit-box;
351
+ -webkit-box-orient: vertical;
352
+ overflow: hidden;
353
+ -webkit-line-clamp: 4;
354
+ }
355
+
356
+ .container-mini {
357
+ width: 100%;
358
+ margin-left: auto;
359
+ box-sizing: border-box;
360
+ margin-right: auto;
361
+ display: block;
362
+ max-width: 790px!important;
363
+ }
364
+
365
+ .dot-slider {
366
+ border: none;
367
+ width: 10px;
368
+ height: 10px;
369
+ background: $colorDark;
370
+ border-radius: 50%;
371
+ cursor: pointer;
372
+ &_big {
373
+ width: 14px;
374
+ height: 14px;
375
+ @include md {
376
+ width: 10px;
377
+ height: 10px;
378
+ }
379
+ }
380
+ }
381
+
382
+ .dot:focus {
383
+ outline: none;
384
+ }
385
+
386
+ .dot-slider_active {
387
+ background: $colorGold;
388
+ }
389
+
390
+ .trim-text-1 {
391
+ display: -webkit-box;
392
+ -webkit-box-orient: vertical;
393
+ overflow: hidden;
394
+ -webkit-line-clamp: 1;
395
+ }
396
+
397
+ .simpleZoomImgHover {
398
+ @apply opacity-90 transform scale-110 transition duration-300 ease-out
399
+ }
400
+
401
+ .simpleZoomImg {
402
+ -webkit-transform: scale(1);
403
+ -ms-transform: scale(1);
404
+ transform: scale(1);
405
+ -webkit-transition: .3s ease-out;
406
+ transition: .3s ease-out;
407
+ }
408
+
409
+ .bg-gold-gradient {
410
+ @apply bg-gradient-to-r from-[#{$colorGold2}] to-[#{$colorGold}]
411
+ }
412
+ }
413
+
414
+ .richTextBlock {
415
+ @include fontRock;
416
+ line-height: 24px;
417
+ p {
418
+ margin: 10px 0;
419
+ line-height: 160%;
420
+ }
421
+ ul {
422
+ margin: 16px 0;
423
+ padding-left: 20px;
424
+ list-style: disc;
425
+ @include md {
426
+ margin: 10px 0;
427
+ }
428
+ }
429
+ h2 {
430
+ @include f20;
431
+ font-weight: 800;
432
+ margin-top: 20px;
433
+ margin-bottom: 6px;
434
+ }
435
+ h3 {
436
+ @include f18;
437
+ font-weight: 800;
438
+ margin-top: 20px;
439
+ margin-bottom: 6px;
440
+ }
441
+ }
442
+
443
+ .input-form::placeholder {
444
+ color: $colorDark;
445
+ opacity: 1;
446
+ }
447
+
448
+ .fader {
449
+ height: 738px;
450
+ position: relative;
451
+ overflow: hidden;
452
+ @include sm {
453
+ height: 950px;
454
+ }
455
+ }
456
+
457
+ .fader__slide {
458
+ cursor: pointer;
459
+ width: 100%;
460
+ height: 100%;
461
+ position: absolute;
462
+ top: 0;
463
+ }
464
+
465
+
466
+
467
+ .homeLocaleSwitcher {
468
+ span {
469
+ color: white !important;
470
+ }
471
+ svg {
472
+ filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
473
+ }
474
+ &:hover {
475
+ span {
476
+ color: $colorDark!important;
477
+ }
478
+ svg {
479
+ filter: none;
480
+ }
481
+ }
482
+ }
483
+
484
+ .placeholder-style::placeholder {
485
+ position: relative;
486
+ //top: 2px;
487
+ left: 2px;
488
+ color: $colorDark !important;
489
+ }
490
+
491
+ .white-placeholder input::placeholder {
492
+ color: #fff !important;
493
+ }
494
+ .gray-placeholder input::placeholder {
495
+ color: $colorDark !important;
496
+ }
497
+
498
+ .placeholder-style-2::placeholder {
499
+ position: relative;
500
+ //top: 2px;
501
+ left: 2px;
502
+ color: $colorDark !important;
503
+ }
504
+
505
+
506
+ .placeholder-style-phone::placeholder {
507
+ //position: absolute;
508
+ //top: 0px;
509
+ //right: 30px;
510
+
511
+ color: $colorDark;
512
+ opacity: 1;
513
+ }
514
+
515
+
516
+ .arrow-faq-icon {
517
+ padding-right: 3px;
518
+ transform: rotateX(0deg);
519
+ transition: transform 0.3s ease;
520
+
521
+ &.rotated {
522
+ transform: rotateX(180deg);
523
+ }
524
+
525
+ @media (max-width: 768px) {
526
+ transform: rotateX(0deg) scale(0.8);
527
+
528
+ &.rotated {
529
+ transform: rotateX(180deg) scale(0.8);
530
+ }
531
+ }
532
+ }
@@ -0,0 +1,147 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+ @import 'common';
5
+
6
+ @font-face {
7
+ font-family: RockStar;
8
+ src: url("../styles/fonts/RockStar/Rock_Star_Regular_Web.woff2");
9
+ font-weight: 400;
10
+ }
11
+ @font-face {
12
+ font-family: RockStar;
13
+ src: url("../styles/fonts/RockStar/Rock_Star_Extra Bold_Web.woff2");
14
+ font-weight: 800;
15
+ }
16
+
17
+ @layer utilities {
18
+ /* Hide scrollbar for Chrome, Safari and Opera */
19
+ .no-scrollbar::-webkit-scrollbar {
20
+ display: none;
21
+ }
22
+ /* Hide scrollbar for IE, Edge and Firefox */
23
+ .no-scrollbar {
24
+ -ms-overflow-style: none; /* IE and Edge */
25
+ scrollbar-width: none; /* Firefox */
26
+ }
27
+ /* Show scrollbar */
28
+ .scrollbar::-webkit-scrollbar {
29
+ display: block;
30
+ }
31
+ .scrollbar {
32
+ -ms-overflow-style: auto; /* IE and Edge */
33
+ scrollbar-width: auto; /* Firefox */
34
+ }
35
+ }
36
+
37
+ body {
38
+ max-width: 100vw;
39
+ margin: 0;
40
+ display: flex;
41
+ flex-direction: column;
42
+ min-height: 100vh;
43
+ color: $colorTextDark;
44
+ background-color: #F5F5F5 !important;//$colorGrayLight;
45
+ font-size: 14px;
46
+ line-height: 20px;
47
+ font-weight: 400;
48
+ @include fontRock;
49
+ }
50
+
51
+ div {
52
+ box-sizing: border-box;
53
+ }
54
+
55
+ html {
56
+ overflow-x: hidden;
57
+ }
58
+
59
+ main {
60
+ flex-grow: 1;
61
+ }
62
+
63
+ a {
64
+ color: inherit;
65
+ text-decoration: none;
66
+ transition: all 0.3s ease-out;
67
+ &:not(.noHover):hover {
68
+ color: $colorGold2;
69
+ }
70
+ }
71
+
72
+ *:focus-visible {
73
+ outline: none;
74
+ }
75
+
76
+ .MuiContainer-root {
77
+ padding-left: 0!important;
78
+ padding-right: 0!important;
79
+ @media screen and (max-width: 1270px) {
80
+ padding-left: 40px!important;
81
+ padding-right: 40px!important;
82
+ }
83
+ @include md {
84
+ padding-left: 60px!important;
85
+ padding-right: 60px!important;
86
+ }
87
+ @include sm {
88
+ //padding-left: 30px!important;
89
+ //padding-right: 30px!important;
90
+ padding-left: 30px!important;
91
+ padding-right: 30px!important;
92
+ }
93
+ }
94
+
95
+ :root {
96
+ --map-tiles-filter: grayscale(0.5) saturate(0) ;
97
+ }
98
+
99
+ .map-tiles {
100
+ filter:var(--map-tiles-filter, none);
101
+ }
102
+
103
+ ::-webkit-input-placeholder {
104
+ opacity: 1!important;
105
+ }
106
+
107
+ input, textarea, select, span, p, button { @include fontRock; }
108
+
109
+
110
+ input,
111
+ textarea,
112
+ button,
113
+ select,
114
+ div,
115
+ a {
116
+ -webkit-tap-highlight-color: transparent;
117
+ }
118
+
119
+ h2 {
120
+ margin: 0;
121
+ }
122
+
123
+ .team-worker-image {
124
+ @include md(){
125
+ object-position: 100px 0 !important;
126
+ }
127
+ }
128
+
129
+ .react-international-phone-flag-emoji {
130
+ height: 22px !important;
131
+ width: 26px !important;
132
+ object-fit: cover;
133
+ position: relative;
134
+ left: -2px;
135
+ top: -3px;
136
+ }
137
+
138
+ input::-webkit-outer-spin-button,
139
+ input::-webkit-inner-spin-button {
140
+ /* display: none; <- Crashes Chrome on hover */
141
+ -webkit-appearance: none;
142
+ margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
143
+ }
144
+
145
+ input[type=number] {
146
+ -moz-appearance:textfield; /* Firefox */
147
+ }