@expressms/smartapp-ui 1.1.6 → 1.1.8
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.
- package/build/main/assets/icons/refresh.svg +1 -1
- package/build/main/assets/icons/story-loader.svg +3 -0
- package/build/main/constants/constants.d.ts +13 -13
- package/build/main/constants/constants.js +14 -13
- package/build/main/constants/index.d.ts +1 -0
- package/build/main/constants/index.js +1 -0
- package/build/main/constants/types.d.ts +8 -0
- package/build/main/constants/types.js +1 -0
- package/build/main/helpers/index.d.ts +3 -1
- package/build/main/helpers/index.js +6 -2
- package/build/main/styles/main.js +0 -0
- package/build/main/styles/stories.module.scss +167 -55
- package/build/main/styles/styles.min.css +30 -77
- package/build/main/styles/styles.scss +13 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.js +9 -9
- package/build/main//321/201omponents/ActionModal/types.d.ts +2 -2
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +3 -3
- package/build/main//321/201omponents/Button/Button.d.ts +1 -1
- package/build/main//321/201omponents/Button/Button.js +3 -2
- package/build/main//321/201omponents/Button/types.d.ts +2 -1
- package/build/main//321/201omponents/Checkbox/Checkbox.js +3 -3
- package/build/main//321/201omponents/Chips/Chips.js +2 -2
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +4 -4
- package/build/main//321/201omponents/ConfirmationModal/types.d.ts +2 -2
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +2 -2
- package/build/main//321/201omponents/Error/Error.js +2 -2
- package/build/main//321/201omponents/Header/Header.js +6 -6
- package/build/main//321/201omponents/Header/types.d.ts +3 -2
- package/build/main//321/201omponents/Input/Input.d.ts +1 -1
- package/build/main//321/201omponents/Input/Input.js +4 -4
- package/build/main//321/201omponents/Input/types.d.ts +2 -1
- package/build/main//321/201omponents/Loader/Loader.d.ts +1 -1
- package/build/main//321/201omponents/Loader/Loader.js +8 -5
- package/build/main//321/201omponents/Loader/types.d.ts +2 -1
- package/build/main//321/201omponents/Modal/Modal.d.ts +1 -1
- package/build/main//321/201omponents/Modal/Modal.js +7 -7
- package/build/main//321/201omponents/Modal/types.d.ts +2 -2
- package/build/main//321/201omponents/Notification/types.d.ts +2 -2
- package/build/main//321/201omponents/Profile/Profile.js +4 -4
- package/build/main//321/201omponents/RadioButton/RadioButton.js +3 -3
- package/build/main//321/201omponents/Stories/Stories.js +30 -8
- package/build/main//321/201omponents/Stories/types.d.ts +4 -3
- package/build/main//321/201omponents/SyncLoader/SyncLoader.js +2 -2
- package/build/main//321/201omponents/SyncLoader/types.d.ts +2 -2
- package/build/main//321/201omponents/Toggle/Toggle.js +3 -3
- package/package.json +3 -1
|
@@ -2,17 +2,25 @@
|
|
|
2
2
|
@import 'react-datepicker/dist/react-datepicker';
|
|
3
3
|
|
|
4
4
|
$color-black: rgba(17, 17, 17, 1);
|
|
5
|
+
$color-light-black-50: rgba(17, 17, 17, 0.5);
|
|
6
|
+
$color-light-black-30: rgba(17, 17, 17, 0.3);
|
|
7
|
+
$color-light-black-20: rgba(85, 85, 85, 0.2);
|
|
8
|
+
$color-light-black-10: rgba(17, 17, 17, 0.1);
|
|
9
|
+
$color-black-60: rgba(0, 0, 0, 0.6);
|
|
10
|
+
$color-black-20: rgba(0, 0, 0, 0.2);
|
|
5
11
|
$color-black-10: rgba(0, 0, 0, 0.1);
|
|
6
12
|
$color-black-8: rgba(0, 0, 0, 0.08);
|
|
7
|
-
$color-
|
|
8
|
-
$color-
|
|
9
|
-
$color-darker-gray
|
|
10
|
-
$color-
|
|
11
|
-
$color-gray: rgba(
|
|
12
|
-
$color-light-gray: rgba(
|
|
13
|
+
$color-black-5: rgba(0, 0, 0, 0.05);
|
|
14
|
+
$color-darkest-gray: rgba(61, 61, 61, 1);
|
|
15
|
+
$color-darker-gray: rgba(102, 102, 102, 1);
|
|
16
|
+
$color-dark-gray: rgba(128, 128, 128, 1);
|
|
17
|
+
$color-gray: rgba(140, 140, 140, 1);
|
|
18
|
+
$color-light-gray: rgba(204, 204, 204, 1);
|
|
13
19
|
$color-lighter-gray: rgba(224, 228, 236, 1);
|
|
14
|
-
$color-lightest-gray: rgba(
|
|
20
|
+
$color-lightest-gray: rgba(239, 242, 244, 1);
|
|
15
21
|
$color-white: rgba(255, 255, 255, 1);
|
|
22
|
+
$color-white-30: rgba(255, 255, 255, 0.3);
|
|
23
|
+
$color-white-5: rgba(255, 255, 255, 0.05);
|
|
16
24
|
$color-dark-red: rgba(222, 97, 97, 1);
|
|
17
25
|
$color-red: rgba(235, 85, 69, 1);
|
|
18
26
|
$color-light-red: rgba(200, 66, 53, 1);
|
|
@@ -24,13 +32,8 @@ $color-orange: rgba(252, 158, 90, 1);
|
|
|
24
32
|
$color-orange-10: rgba(252, 158, 90, 0.1);
|
|
25
33
|
$color-light-orange: rgba(253, 246, 228, 1);
|
|
26
34
|
|
|
27
|
-
$border-dark-gray-color: rgba(102, 102, 102, 1);
|
|
28
|
-
$border-gray-color: rgba(128, 128, 128, 1);
|
|
29
|
-
|
|
30
35
|
$popup-background: rgba(37, 77, 145, 0.2);
|
|
31
|
-
|
|
32
|
-
$box-shadow-light-color: rgba(0, 0, 0, 0.05);
|
|
33
|
-
$box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
36
|
+
$blurred-background: linear-gradient(0deg, rgba(85, 85, 85, 0.8) 0%, rgba(85, 85, 85, 0.8) 100%), rgba(255, 255, 255, 0.01);
|
|
34
37
|
|
|
35
38
|
.smartapp-action-modal {
|
|
36
39
|
width: 100%;
|
|
@@ -84,7 +87,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
&--delimiter {
|
|
87
|
-
border-top: 0.5px solid $color-
|
|
90
|
+
border-top: 0.5px solid $color-light-black-10;
|
|
88
91
|
margin: 0 -24px 16px -24px;
|
|
89
92
|
}
|
|
90
93
|
|
|
@@ -94,6 +97,22 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
94
97
|
justify-content: center;
|
|
95
98
|
}
|
|
96
99
|
}
|
|
100
|
+
|
|
101
|
+
&__dark {
|
|
102
|
+
.smartapp-action-modal {
|
|
103
|
+
&__content {
|
|
104
|
+
background-color: $color-darkest-gray;
|
|
105
|
+
|
|
106
|
+
&--title {
|
|
107
|
+
color: $color-white;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&--delimiter {
|
|
111
|
+
border-top-color: $color-white-5;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
97
116
|
}
|
|
98
117
|
|
|
99
118
|
.action-modal-content {
|
|
@@ -122,7 +141,9 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
122
141
|
.smartapp-attached-file {
|
|
123
142
|
display: flex;
|
|
124
143
|
align-items: center;
|
|
144
|
+
font-family: Open Sans, 'sans-serif';
|
|
125
145
|
margin-bottom: 8px;
|
|
146
|
+
|
|
126
147
|
&--icon {
|
|
127
148
|
display: flex;
|
|
128
149
|
align-items: flex-start;
|
|
@@ -134,6 +155,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
134
155
|
flex-direction: row;
|
|
135
156
|
gap: 12px;
|
|
136
157
|
width: 100%;
|
|
158
|
+
|
|
137
159
|
&--info {
|
|
138
160
|
&__name {
|
|
139
161
|
font-weight: 700;
|
|
@@ -147,7 +169,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
147
169
|
font-weight: 400;
|
|
148
170
|
font-size: 12px;
|
|
149
171
|
line-height: 16px;
|
|
150
|
-
color: $color-
|
|
172
|
+
color: $color-light-black-50;
|
|
151
173
|
margin: 0;
|
|
152
174
|
}
|
|
153
175
|
}
|
|
@@ -179,6 +201,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
179
201
|
justify-content: center;
|
|
180
202
|
width: 40px;
|
|
181
203
|
height: 40px;
|
|
204
|
+
font-family: Open Sans, 'sans-serif';
|
|
182
205
|
font-size: 18px;
|
|
183
206
|
color: $color-white;
|
|
184
207
|
background: linear-gradient(135deg, $color-purple 0%, $color-dark-red 100%);
|
|
@@ -255,6 +278,15 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
255
278
|
background: $color-red;
|
|
256
279
|
border: 0;
|
|
257
280
|
}
|
|
281
|
+
|
|
282
|
+
&__dark--blue,
|
|
283
|
+
&__dark--red {
|
|
284
|
+
color: $color-darkest-gray;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
&__dark--white {
|
|
288
|
+
background-color: $color-darkest-gray;
|
|
289
|
+
}
|
|
258
290
|
}
|
|
259
291
|
|
|
260
292
|
.smartapp-calendar-component {
|
|
@@ -266,7 +298,8 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
266
298
|
}
|
|
267
299
|
|
|
268
300
|
.react-datepicker {
|
|
269
|
-
|
|
301
|
+
font-family: Open Sans, 'sans-serif';
|
|
302
|
+
border-color: $color-light-black-10 !important;
|
|
270
303
|
box-shadow: 0 9px 24px rgba(0, 0, 0, 0.02), 0 6px 12px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.14) !important;
|
|
271
304
|
padding-bottom: 24px;
|
|
272
305
|
|
|
@@ -283,8 +316,8 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
283
316
|
|
|
284
317
|
// Голова
|
|
285
318
|
&__header {
|
|
286
|
-
background: $color-
|
|
287
|
-
color: $color-
|
|
319
|
+
background: $color-lightest-gray !important;
|
|
320
|
+
color: $color-light-black-50;
|
|
288
321
|
padding: 0;
|
|
289
322
|
border-bottom: 0;
|
|
290
323
|
}
|
|
@@ -294,7 +327,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
294
327
|
font-weight: 700;
|
|
295
328
|
font-size: 14px;
|
|
296
329
|
line-height: 19px;
|
|
297
|
-
color: $color-
|
|
330
|
+
color: $color-light-black-50;
|
|
298
331
|
padding: 8px 0 !important;
|
|
299
332
|
}
|
|
300
333
|
|
|
@@ -303,7 +336,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
303
336
|
font-weight: 700;
|
|
304
337
|
font-size: 12px;
|
|
305
338
|
line-height: 16px;
|
|
306
|
-
color: $color-
|
|
339
|
+
color: $color-light-black-50;
|
|
307
340
|
margin-top: 16px;
|
|
308
341
|
}
|
|
309
342
|
|
|
@@ -314,7 +347,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
314
347
|
font-size: 12px;
|
|
315
348
|
line-height: 16px;
|
|
316
349
|
text-transform: uppercase;
|
|
317
|
-
color: $color-
|
|
350
|
+
color: $color-light-black-50 !important;
|
|
318
351
|
background: $color-white;
|
|
319
352
|
}
|
|
320
353
|
|
|
@@ -325,7 +358,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
325
358
|
|
|
326
359
|
// Дни, которые уже прошли
|
|
327
360
|
&__day--disabled {
|
|
328
|
-
color: $color-
|
|
361
|
+
color: $color-light-gray !important;
|
|
329
362
|
}
|
|
330
363
|
|
|
331
364
|
// Каждый день
|
|
@@ -339,7 +372,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
339
372
|
|
|
340
373
|
&:hover {
|
|
341
374
|
border-radius: 8px;
|
|
342
|
-
background-color: $color-
|
|
375
|
+
background-color: $color-light-black-30;
|
|
343
376
|
color: $color-black;
|
|
344
377
|
}
|
|
345
378
|
}
|
|
@@ -377,6 +410,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
377
410
|
|
|
378
411
|
// // Сам input для календаря с выбранными датами
|
|
379
412
|
.smartapp-calendar-input {
|
|
413
|
+
font-family: Open Sans, 'sans-serif';
|
|
380
414
|
font-weight: 400;
|
|
381
415
|
font-size: 14px;
|
|
382
416
|
line-height: 19px;
|
|
@@ -384,7 +418,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
384
418
|
align-items: center;
|
|
385
419
|
cursor: pointer;
|
|
386
420
|
padding: 12px 16px;
|
|
387
|
-
border: 1px solid $color-
|
|
421
|
+
border: 1px solid $color-black-5;
|
|
388
422
|
border-radius: 8px;
|
|
389
423
|
box-sizing: border-box;
|
|
390
424
|
width: 100%;
|
|
@@ -409,24 +443,24 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
409
443
|
width: 17px;
|
|
410
444
|
height: 17px;
|
|
411
445
|
background-color: $color-white;
|
|
412
|
-
border: 1.5px solid $
|
|
446
|
+
border: 1.5px solid $color-dark-gray;
|
|
413
447
|
border-radius: 50%;
|
|
414
448
|
cursor: pointer;
|
|
415
449
|
}
|
|
416
450
|
|
|
417
451
|
/* стили при наведении курсора на радио */
|
|
418
452
|
&__custom-check-box:not(:disabled):not(:checked) + .checkmark:hover::before {
|
|
419
|
-
border-color: $
|
|
453
|
+
border-color: $color-darker-gray;
|
|
420
454
|
}
|
|
421
455
|
|
|
422
456
|
/* стили для активной радиокнопки (при нажатии на неё) */
|
|
423
457
|
&__custom-check-box:not(:disabled):active + .checkmark::before {
|
|
424
|
-
border-color: $
|
|
458
|
+
border-color: $color-dark-gray;
|
|
425
459
|
}
|
|
426
460
|
|
|
427
461
|
/* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
|
|
428
462
|
&__custom-check-box:focus:not(:checked) + .checkmark::before {
|
|
429
|
-
border-color: $
|
|
463
|
+
border-color: $color-dark-gray;
|
|
430
464
|
background-size: 60% 60%;
|
|
431
465
|
}
|
|
432
466
|
|
|
@@ -452,10 +486,11 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
452
486
|
display: flex;
|
|
453
487
|
box-sizing: border-box;
|
|
454
488
|
justify-content: space-between;
|
|
489
|
+
font-family: Open Sans, 'sans-serif';
|
|
455
490
|
max-width: 172px;
|
|
456
491
|
padding: 4px 8px 4px 4px;
|
|
457
492
|
border-radius: 20px;
|
|
458
|
-
background-color: $color-
|
|
493
|
+
background-color: $color-lightest-gray;
|
|
459
494
|
|
|
460
495
|
&__info {
|
|
461
496
|
display: flex;
|
|
@@ -523,7 +558,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
523
558
|
}
|
|
524
559
|
|
|
525
560
|
&--delimiter {
|
|
526
|
-
border-top: 0.5px solid $color-
|
|
561
|
+
border-top: 0.5px solid $color-light-black-10;
|
|
527
562
|
margin: 0 -24px 16px -24px;
|
|
528
563
|
}
|
|
529
564
|
|
|
@@ -563,6 +598,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
563
598
|
display: flex;
|
|
564
599
|
flex-direction: row;
|
|
565
600
|
align-items: center;
|
|
601
|
+
font-family: Open Sans, 'sans-serif';
|
|
566
602
|
font-size: 14px;
|
|
567
603
|
line-height: 19px;
|
|
568
604
|
color: $color-black;
|
|
@@ -615,7 +651,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
615
651
|
font-weight: 400;
|
|
616
652
|
font-size: 12px;
|
|
617
653
|
line-height: 16px;
|
|
618
|
-
color: $color-
|
|
654
|
+
color: $color-light-black-50;
|
|
619
655
|
}
|
|
620
656
|
}
|
|
621
657
|
}
|
|
@@ -640,7 +676,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
640
676
|
font-weight: 400;
|
|
641
677
|
font-size: 12px;
|
|
642
678
|
line-height: 16px;
|
|
643
|
-
color: $color-
|
|
679
|
+
color: $color-light-black-50;
|
|
644
680
|
}
|
|
645
681
|
}
|
|
646
682
|
|
|
@@ -655,6 +691,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
655
691
|
cursor: pointer;
|
|
656
692
|
|
|
657
693
|
&--name {
|
|
694
|
+
font-family: Open Sans, 'sans-serif';
|
|
658
695
|
font-weight: 400;
|
|
659
696
|
font-size: 14px;
|
|
660
697
|
line-height: 20px;
|
|
@@ -714,6 +751,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
714
751
|
display: flex;
|
|
715
752
|
justify-content: center;
|
|
716
753
|
flex-direction: column;
|
|
754
|
+
font-family: Open Sans, 'sans-serif';
|
|
717
755
|
background-color: $color-white;
|
|
718
756
|
|
|
719
757
|
&__icon {
|
|
@@ -737,13 +775,14 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
737
775
|
font-weight: 400;
|
|
738
776
|
font-size: 16px;
|
|
739
777
|
line-height: 22px;
|
|
740
|
-
color: $color-
|
|
778
|
+
color: $color-light-black-50;
|
|
741
779
|
word-break: break-word;
|
|
742
780
|
text-align: center;
|
|
743
781
|
}
|
|
744
782
|
}
|
|
745
783
|
|
|
746
784
|
.smartapp-header {
|
|
785
|
+
font-family: Open Sans, 'sans-serif';
|
|
747
786
|
font-weight: 700;
|
|
748
787
|
display: flex;
|
|
749
788
|
justify-content: space-between;
|
|
@@ -801,44 +840,45 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
801
840
|
}
|
|
802
841
|
|
|
803
842
|
.smartapp-input {
|
|
843
|
+
font-family: Open Sans, 'sans-serif';
|
|
804
844
|
display: flex;
|
|
805
845
|
flex-direction: column;
|
|
806
846
|
position: relative;
|
|
807
847
|
|
|
808
848
|
&__title {
|
|
809
|
-
font-weight: 700;
|
|
810
849
|
font-size: 14px;
|
|
850
|
+
font-weight: 600;
|
|
811
851
|
line-height: 19px;
|
|
812
|
-
margin: 0 0 8px 0;
|
|
813
852
|
color: $color-black;
|
|
853
|
+
margin: 0 0 8px 0;
|
|
814
854
|
}
|
|
815
855
|
|
|
816
856
|
&__container {
|
|
817
857
|
position: relative;
|
|
818
858
|
|
|
819
859
|
&--field {
|
|
820
|
-
padding: 13px 16px;
|
|
821
|
-
border: 1px solid $color-lightest-gray;
|
|
822
|
-
border-radius: 8px;
|
|
823
|
-
font-weight: 400;
|
|
824
|
-
color: $color-black;
|
|
825
860
|
width: 100%;
|
|
826
861
|
box-sizing: border-box;
|
|
862
|
+
font-family: inherit;
|
|
863
|
+
font-weight: 400;
|
|
864
|
+
color: $color-black;
|
|
865
|
+
border: 1px solid $color-black-5;
|
|
866
|
+
border-radius: 8px;
|
|
867
|
+
padding: 13px 16px;
|
|
827
868
|
|
|
828
869
|
&__with-clear-button {
|
|
829
870
|
padding-right: 44px;
|
|
830
871
|
}
|
|
831
872
|
|
|
832
873
|
&::placeholder {
|
|
833
|
-
font-family: Open Sans, 'sans-serif';
|
|
834
874
|
font-size: inherit;
|
|
835
875
|
font-weight: 400;
|
|
836
876
|
line-height: inherit;
|
|
837
|
-
color: $color-
|
|
877
|
+
color: $color-light-black-30;
|
|
838
878
|
}
|
|
839
879
|
|
|
840
880
|
&:focus-visible {
|
|
841
|
-
border: 1px solid $color-blue;
|
|
881
|
+
border: 1px solid $color-blue !important;
|
|
842
882
|
outline: none;
|
|
843
883
|
}
|
|
844
884
|
}
|
|
@@ -856,6 +896,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
856
896
|
position: absolute;
|
|
857
897
|
right: 1px;
|
|
858
898
|
top: 15px;
|
|
899
|
+
color: $color-gray;
|
|
859
900
|
|
|
860
901
|
&:active {
|
|
861
902
|
transform: scale(0.95);
|
|
@@ -875,12 +916,33 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
875
916
|
&__error {
|
|
876
917
|
font-size: 12px;
|
|
877
918
|
line-height: 16px;
|
|
878
|
-
color: $color-red;
|
|
919
|
+
color: $color-light-red;
|
|
879
920
|
margin: 8px 0 0 0;
|
|
880
921
|
}
|
|
922
|
+
|
|
923
|
+
&__dark {
|
|
924
|
+
.smartapp-input {
|
|
925
|
+
&__title {
|
|
926
|
+
color: $color-white;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
&__container {
|
|
930
|
+
&--field {
|
|
931
|
+
color: $color-white;
|
|
932
|
+
background: $color-darkest-gray;
|
|
933
|
+
border-color: $color-black-5;
|
|
934
|
+
|
|
935
|
+
&::placeholder {
|
|
936
|
+
color: $color-white-30;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
881
942
|
}
|
|
882
943
|
|
|
883
944
|
.smartapp-loader-wrapper {
|
|
945
|
+
font-family: Open Sans, 'sans-serif';
|
|
884
946
|
display: flex;
|
|
885
947
|
align-items: center;
|
|
886
948
|
justify-content: center;
|
|
@@ -905,9 +967,14 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
905
967
|
&__title {
|
|
906
968
|
font-weight: 400;
|
|
907
969
|
text-align: center;
|
|
908
|
-
color: $color-
|
|
970
|
+
color: $color-light-black-30;
|
|
909
971
|
word-break: break-word;
|
|
910
972
|
margin: 0;
|
|
973
|
+
|
|
974
|
+
&--dark {
|
|
975
|
+
color: $color-white;
|
|
976
|
+
opacity: 0.3;
|
|
977
|
+
}
|
|
911
978
|
}
|
|
912
979
|
}
|
|
913
980
|
|
|
@@ -915,7 +982,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
915
982
|
position: absolute;
|
|
916
983
|
padding: 16px;
|
|
917
984
|
box-sizing: border-box;
|
|
918
|
-
box-shadow: 2px 2px 6px $
|
|
985
|
+
box-shadow: 2px 2px 6px $color-black-60;
|
|
919
986
|
max-width: 330px;
|
|
920
987
|
top: 45px;
|
|
921
988
|
background-color: $color-white;
|
|
@@ -924,6 +991,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
924
991
|
&__container {
|
|
925
992
|
position: relative;
|
|
926
993
|
display: inline-flex;
|
|
994
|
+
font-family: Open Sans, 'sans-serif';
|
|
927
995
|
z-index: 1;
|
|
928
996
|
max-width: 330px;
|
|
929
997
|
}
|
|
@@ -999,16 +1067,18 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
999
1067
|
}
|
|
1000
1068
|
|
|
1001
1069
|
.smartapp-switcher {
|
|
1070
|
+
font-family: Open Sans, 'sans-serif';
|
|
1071
|
+
|
|
1002
1072
|
&__instance {
|
|
1003
1073
|
padding: 8px 16px;
|
|
1004
|
-
background: $color-
|
|
1074
|
+
background: $color-black-5;
|
|
1005
1075
|
border-radius: 4px;
|
|
1006
1076
|
border: 0;
|
|
1007
1077
|
font-weight: 700;
|
|
1008
1078
|
font-size: 12px;
|
|
1009
1079
|
line-height: 16px;
|
|
1010
1080
|
letter-spacing: -0.01em;
|
|
1011
|
-
color: $color-
|
|
1081
|
+
color: $color-black-20;
|
|
1012
1082
|
text-decoration: none;
|
|
1013
1083
|
white-space: nowrap;
|
|
1014
1084
|
box-sizing: border-box;
|
|
@@ -1056,14 +1126,14 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
1056
1126
|
right: 0;
|
|
1057
1127
|
bottom: 0;
|
|
1058
1128
|
border-radius: 69px;
|
|
1059
|
-
background: $
|
|
1129
|
+
background: $color-dark-gray;
|
|
1060
1130
|
transition: 0.2s;
|
|
1061
1131
|
-webkit-transition: 0.2s;
|
|
1062
1132
|
cursor: pointer;
|
|
1063
1133
|
|
|
1064
1134
|
&__disabled {
|
|
1065
1135
|
opacity: 0.3;
|
|
1066
|
-
background: $
|
|
1136
|
+
background: $color-dark-gray !important;
|
|
1067
1137
|
cursor: default;
|
|
1068
1138
|
}
|
|
1069
1139
|
|
|
@@ -1083,7 +1153,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
1083
1153
|
}
|
|
1084
1154
|
|
|
1085
1155
|
&:hover {
|
|
1086
|
-
background: $
|
|
1156
|
+
background: $color-darker-gray;
|
|
1087
1157
|
}
|
|
1088
1158
|
}
|
|
1089
1159
|
|
|
@@ -1111,7 +1181,9 @@ input:checked + .smartapp-slider:before {
|
|
|
1111
1181
|
display: flex;
|
|
1112
1182
|
justify-content: center;
|
|
1113
1183
|
align-items: center;
|
|
1114
|
-
background: $
|
|
1184
|
+
background: $blurred-background;
|
|
1185
|
+
-webkit-backdrop-filter: blur(15px);
|
|
1186
|
+
backdrop-filter: blur(15px);
|
|
1115
1187
|
border: none;
|
|
1116
1188
|
padding: 0;
|
|
1117
1189
|
|
|
@@ -1162,6 +1234,12 @@ input:checked + .smartapp-slider:before {
|
|
|
1162
1234
|
}
|
|
1163
1235
|
}
|
|
1164
1236
|
|
|
1237
|
+
&:has(> div:first-child > div:nth-child(2) > div:first-child > .smartapp-stories__story > .smartapp-stories__story--loader) {
|
|
1238
|
+
& > div:first-child > div:first-child {
|
|
1239
|
+
opacity: 1 !important;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1165
1243
|
&__web {
|
|
1166
1244
|
width: 400px;
|
|
1167
1245
|
}
|
|
@@ -1182,6 +1260,10 @@ input:checked + .smartapp-slider:before {
|
|
|
1182
1260
|
justify-content: center;
|
|
1183
1261
|
color: $color-white;
|
|
1184
1262
|
|
|
1263
|
+
&--image-bg {
|
|
1264
|
+
background: $color-light-black-20;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1185
1267
|
&--title {
|
|
1186
1268
|
font-size: 24px;
|
|
1187
1269
|
font-weight: 700;
|
|
@@ -1231,6 +1313,18 @@ input:checked + .smartapp-slider:before {
|
|
|
1231
1313
|
right: 16px;
|
|
1232
1314
|
}
|
|
1233
1315
|
}
|
|
1316
|
+
|
|
1317
|
+
&--loader {
|
|
1318
|
+
position: absolute;
|
|
1319
|
+
inset: 0;
|
|
1320
|
+
display: flex;
|
|
1321
|
+
align-items: center;
|
|
1322
|
+
justify-content: center;
|
|
1323
|
+
|
|
1324
|
+
svg {
|
|
1325
|
+
animation: loading 1s linear infinite;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1234
1328
|
}
|
|
1235
1329
|
|
|
1236
1330
|
&__animate-right {
|
|
@@ -1269,6 +1363,12 @@ input:checked + .smartapp-slider:before {
|
|
|
1269
1363
|
}
|
|
1270
1364
|
}
|
|
1271
1365
|
|
|
1366
|
+
@keyframes loading {
|
|
1367
|
+
to {
|
|
1368
|
+
transform: rotate(360deg);
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1272
1372
|
.smartapp-sync-loader {
|
|
1273
1373
|
position: absolute;
|
|
1274
1374
|
left: 0;
|
|
@@ -1278,7 +1378,7 @@ input:checked + .smartapp-slider:before {
|
|
|
1278
1378
|
align-items: center;
|
|
1279
1379
|
gap: 8px;
|
|
1280
1380
|
border-radius: 100px;
|
|
1281
|
-
box-shadow: 0 1px 8px 0 $
|
|
1381
|
+
box-shadow: 0 1px 8px 0 $color-black-5;
|
|
1282
1382
|
padding: 8px 12px;
|
|
1283
1383
|
margin: 16px auto 0 auto;
|
|
1284
1384
|
z-index: 1000;
|
|
@@ -1400,6 +1500,18 @@ input:checked + .smartapp-slider:before {
|
|
|
1400
1500
|
cursor: pointer;
|
|
1401
1501
|
}
|
|
1402
1502
|
}
|
|
1503
|
+
|
|
1504
|
+
&__dark {
|
|
1505
|
+
.smartapp-modal {
|
|
1506
|
+
&__content {
|
|
1507
|
+
background-color: $color-darkest-gray;
|
|
1508
|
+
|
|
1509
|
+
&--title {
|
|
1510
|
+
color: $color-white;
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1403
1515
|
}
|
|
1404
1516
|
|
|
1405
1517
|
.modal-content {
|
|
@@ -1483,7 +1595,7 @@ input:checked + .smartapp-slider:before {
|
|
|
1483
1595
|
justify-content: center;
|
|
1484
1596
|
width: 20px;
|
|
1485
1597
|
height: 20px;
|
|
1486
|
-
border: 1.5px solid $
|
|
1598
|
+
border: 1.5px solid $color-dark-gray;
|
|
1487
1599
|
border-radius: 50%;
|
|
1488
1600
|
background-color: $color-white;
|
|
1489
1601
|
margin: 0;
|
|
@@ -1492,7 +1604,7 @@ input:checked + .smartapp-slider:before {
|
|
|
1492
1604
|
}
|
|
1493
1605
|
|
|
1494
1606
|
input[type="radio"]:not(:disabled):hover {
|
|
1495
|
-
border-color: $
|
|
1607
|
+
border-color: $color-darker-gray;
|
|
1496
1608
|
cursor: pointer;
|
|
1497
1609
|
}
|
|
1498
1610
|
|