@expressms/smartapp-ui 1.1.6 → 1.1.7
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/constants/constants.d.ts +1 -0
- package/build/main/constants/constants.js +1 -0
- package/build/main/helpers/index.d.ts +2 -1
- package/build/main/helpers/index.js +6 -2
- package/build/main/styles/stories.module.scss +129 -54
- package/build/main/styles/styles.min.css +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.js +6 -6
- package/build/main//321/201omponents/ActionModal/types.d.ts +1 -0
- 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 +1 -0
- package/build/main//321/201omponents/Header/Header.js +3 -3
- package/build/main//321/201omponents/Header/types.d.ts +1 -0
- 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 +1 -0
- package/build/main//321/201omponents/Modal/Modal.d.ts +1 -1
- package/build/main//321/201omponents/Modal/Modal.js +4 -4
- package/build/main//321/201omponents/Modal/types.d.ts +1 -0
- package/package.json +3 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3.56794 9.99964C3.56794 8.12635 4.388 6.44602 5.67438 5.2722L7.58787 7.18569V2.36176H2.76395L4.53272 4.13054C2.95691 5.59379 1.95996 7.67612 1.95996 9.99964C1.95996 13.8617 4.6804 17.0832 8.30458 17.8602C8.77703 17.9615 9.19585 17.5803 9.19585 17.0972C9.19585 16.6848 8.88658 16.3426 8.48574 16.2459C5.66795 15.5657 3.56794 13.0229 3.56794 9.99964ZM18.0397 9.99964C18.0397 6.13764 15.3193 2.91614 11.6951 2.1391C11.2226 2.03781 10.8038 2.41894 10.8038 2.90212C10.8038 3.31447 11.1131 3.65666 11.5139 3.75342C14.3317 4.4336 16.4317 6.97643 16.4317 9.99964C16.4317 11.8729 15.6117 13.5533 14.3253 14.7271L12.4118 12.8136V17.6375H17.2357L15.4669 15.8688C17.0428 14.4055 18.0397 12.3232 18.0397 9.99964Z" fill="
|
|
2
|
+
<path d="M3.56794 9.99964C3.56794 8.12635 4.388 6.44602 5.67438 5.2722L7.58787 7.18569V2.36176H2.76395L4.53272 4.13054C2.95691 5.59379 1.95996 7.67612 1.95996 9.99964C1.95996 13.8617 4.6804 17.0832 8.30458 17.8602C8.77703 17.9615 9.19585 17.5803 9.19585 17.0972C9.19585 16.6848 8.88658 16.3426 8.48574 16.2459C5.66795 15.5657 3.56794 13.0229 3.56794 9.99964ZM18.0397 9.99964C18.0397 6.13764 15.3193 2.91614 11.6951 2.1391C11.2226 2.03781 10.8038 2.41894 10.8038 2.90212C10.8038 3.31447 11.1131 3.65666 11.5139 3.75342C14.3317 4.4336 16.4317 6.97643 16.4317 9.99964C16.4317 11.8729 15.6117 13.5533 14.3253 14.7271L12.4118 12.8136V17.6375H17.2357L15.4669 15.8688C17.0428 14.4055 18.0397 12.3232 18.0397 9.99964Z" fill="currentColor" fill-opacity="1"/>
|
|
3
3
|
</svg>
|
|
@@ -2,6 +2,7 @@ export declare const DEFAULT_BLUE_LIGHT_ICON_COLOR = "#4799E30D";
|
|
|
2
2
|
export declare const DEFAULT_BLUE_ICON_COLOR = "#4799E3";
|
|
3
3
|
export declare const DEFAULT_BLUE_ICON_HOVER_COLOR = "#3C82C1";
|
|
4
4
|
export declare const DEFAULT_RED_ICON_COLOR = "#EB5545";
|
|
5
|
+
export declare const DEFAULT_WHITE_LIGHT_ICON_COLOR = "#FFFFFF80";
|
|
5
6
|
export declare const DEFAULT_GRAY_ICON_COLOR = "#1111114D";
|
|
6
7
|
export declare const DEFAULT_BLACK_ICON_COLOR = "#111111";
|
|
7
8
|
export declare const DEFAULT_HEADER_TEXT_COLOR = "#111111";
|
|
@@ -2,6 +2,7 @@ export var DEFAULT_BLUE_LIGHT_ICON_COLOR = '#4799E30D';
|
|
|
2
2
|
export var DEFAULT_BLUE_ICON_COLOR = '#4799E3';
|
|
3
3
|
export var DEFAULT_BLUE_ICON_HOVER_COLOR = '#3C82C1';
|
|
4
4
|
export var DEFAULT_RED_ICON_COLOR = '#EB5545';
|
|
5
|
+
export var DEFAULT_WHITE_LIGHT_ICON_COLOR = '#FFFFFF80';
|
|
5
6
|
export var DEFAULT_GRAY_ICON_COLOR = '#1111114D';
|
|
6
7
|
export var DEFAULT_BLACK_ICON_COLOR = '#111111';
|
|
7
8
|
export var DEFAULT_HEADER_TEXT_COLOR = '#111111';
|
|
@@ -3,4 +3,5 @@ export declare const isWebPlatform: (platform: string) => boolean;
|
|
|
3
3
|
export declare const isIosPlatform: (platform: string) => boolean;
|
|
4
4
|
export declare const isAndroidPlatform: (platform: string) => boolean;
|
|
5
5
|
export declare const isMobilePlatform: (platform: string) => boolean;
|
|
6
|
-
export declare const getClassNames: (className: string, delimiter: string, additionalClassName: string) => string;
|
|
6
|
+
export declare const getClassNames: (className: string, delimiter: string, additionalClassName: string | string[]) => string;
|
|
7
|
+
export declare const getDefaultColorForCloseIcon: (theme: string) => "#FFFFFF80" | "#1111114D";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
|
-
import {
|
|
2
|
+
import { isArray } from 'lodash';
|
|
3
|
+
import { DEFAULT_GRAY_ICON_COLOR, DEFAULT_WHITE_LIGHT_ICON_COLOR, PLATFORM, THEME } from '../constants';
|
|
3
4
|
export var getColor = function (color, defaultColor) {
|
|
4
5
|
return (color && CSS.supports('color', color)) ? color : defaultColor;
|
|
5
6
|
};
|
|
@@ -7,4 +8,7 @@ export var isWebPlatform = function (platform) { return platform === PLATFORM.we
|
|
|
7
8
|
export var isIosPlatform = function (platform) { return platform === PLATFORM.ios; };
|
|
8
9
|
export var isAndroidPlatform = function (platform) { return platform === PLATFORM.android; };
|
|
9
10
|
export var isMobilePlatform = function (platform) { return isAndroidPlatform(platform) || isIosPlatform(platform); };
|
|
10
|
-
export var getClassNames = function (className, delimiter, additionalClassName) { return (
|
|
11
|
+
export var getClassNames = function (className, delimiter, additionalClassName) { return (isArray(additionalClassName)
|
|
12
|
+
? classNames(className, additionalClassName.map(function (name) { return "".concat(className).concat(delimiter).concat(name); }))
|
|
13
|
+
: classNames(className, "".concat(className).concat(delimiter).concat(additionalClassName))); };
|
|
14
|
+
export var getDefaultColorForCloseIcon = function (theme) { return theme === THEME.default ? DEFAULT_GRAY_ICON_COLOR : DEFAULT_WHITE_LIGHT_ICON_COLOR; };
|
|
@@ -2,17 +2,24 @@
|
|
|
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-10: rgba(17, 17, 17, 0.1);
|
|
8
|
+
$color-black-60: rgba(0, 0, 0, 0.6);
|
|
9
|
+
$color-black-20: rgba(0, 0, 0, 0.2);
|
|
5
10
|
$color-black-10: rgba(0, 0, 0, 0.1);
|
|
6
11
|
$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(
|
|
12
|
+
$color-black-5: rgba(0, 0, 0, 0.05);
|
|
13
|
+
$color-darkest-gray: rgba(61, 61, 61, 1);
|
|
14
|
+
$color-darker-gray: rgba(102, 102, 102, 1);
|
|
15
|
+
$color-dark-gray: rgba(128, 128, 128, 1);
|
|
16
|
+
$color-gray: rgba(140, 140, 140, 1);
|
|
17
|
+
$color-light-gray: rgba(204, 204, 204, 1);
|
|
13
18
|
$color-lighter-gray: rgba(224, 228, 236, 1);
|
|
14
|
-
$color-lightest-gray: rgba(
|
|
19
|
+
$color-lightest-gray: rgba(239, 242, 244, 1);
|
|
15
20
|
$color-white: rgba(255, 255, 255, 1);
|
|
21
|
+
$color-white-30: rgba(255, 255, 255, 0.3);
|
|
22
|
+
$color-white-5: rgba(255, 255, 255, 0.05);
|
|
16
23
|
$color-dark-red: rgba(222, 97, 97, 1);
|
|
17
24
|
$color-red: rgba(235, 85, 69, 1);
|
|
18
25
|
$color-light-red: rgba(200, 66, 53, 1);
|
|
@@ -24,14 +31,8 @@ $color-orange: rgba(252, 158, 90, 1);
|
|
|
24
31
|
$color-orange-10: rgba(252, 158, 90, 0.1);
|
|
25
32
|
$color-light-orange: rgba(253, 246, 228, 1);
|
|
26
33
|
|
|
27
|
-
$border-dark-gray-color: rgba(102, 102, 102, 1);
|
|
28
|
-
$border-gray-color: rgba(128, 128, 128, 1);
|
|
29
|
-
|
|
30
34
|
$popup-background: rgba(37, 77, 145, 0.2);
|
|
31
35
|
|
|
32
|
-
$box-shadow-light-color: rgba(0, 0, 0, 0.05);
|
|
33
|
-
$box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
34
|
-
|
|
35
36
|
.smartapp-action-modal {
|
|
36
37
|
width: 100%;
|
|
37
38
|
padding: 0 20px;
|
|
@@ -84,7 +85,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
&--delimiter {
|
|
87
|
-
border-top: 0.5px solid $color-
|
|
88
|
+
border-top: 0.5px solid $color-light-black-10;
|
|
88
89
|
margin: 0 -24px 16px -24px;
|
|
89
90
|
}
|
|
90
91
|
|
|
@@ -94,6 +95,22 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
94
95
|
justify-content: center;
|
|
95
96
|
}
|
|
96
97
|
}
|
|
98
|
+
|
|
99
|
+
&__dark {
|
|
100
|
+
.smartapp-action-modal {
|
|
101
|
+
&__content {
|
|
102
|
+
background-color: $color-darkest-gray;
|
|
103
|
+
|
|
104
|
+
&--title {
|
|
105
|
+
color: $color-white;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&--delimiter {
|
|
109
|
+
border-top-color: $color-white-5;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
97
114
|
}
|
|
98
115
|
|
|
99
116
|
.action-modal-content {
|
|
@@ -122,7 +139,9 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
122
139
|
.smartapp-attached-file {
|
|
123
140
|
display: flex;
|
|
124
141
|
align-items: center;
|
|
142
|
+
font-family: Open Sans, 'sans-serif';
|
|
125
143
|
margin-bottom: 8px;
|
|
144
|
+
|
|
126
145
|
&--icon {
|
|
127
146
|
display: flex;
|
|
128
147
|
align-items: flex-start;
|
|
@@ -134,6 +153,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
134
153
|
flex-direction: row;
|
|
135
154
|
gap: 12px;
|
|
136
155
|
width: 100%;
|
|
156
|
+
|
|
137
157
|
&--info {
|
|
138
158
|
&__name {
|
|
139
159
|
font-weight: 700;
|
|
@@ -147,7 +167,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
147
167
|
font-weight: 400;
|
|
148
168
|
font-size: 12px;
|
|
149
169
|
line-height: 16px;
|
|
150
|
-
color: $color-
|
|
170
|
+
color: $color-light-black-50;
|
|
151
171
|
margin: 0;
|
|
152
172
|
}
|
|
153
173
|
}
|
|
@@ -179,6 +199,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
179
199
|
justify-content: center;
|
|
180
200
|
width: 40px;
|
|
181
201
|
height: 40px;
|
|
202
|
+
font-family: Open Sans, 'sans-serif';
|
|
182
203
|
font-size: 18px;
|
|
183
204
|
color: $color-white;
|
|
184
205
|
background: linear-gradient(135deg, $color-purple 0%, $color-dark-red 100%);
|
|
@@ -255,6 +276,15 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
255
276
|
background: $color-red;
|
|
256
277
|
border: 0;
|
|
257
278
|
}
|
|
279
|
+
|
|
280
|
+
&__dark--blue,
|
|
281
|
+
&__dark--red {
|
|
282
|
+
color: $color-darkest-gray;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&__dark--white {
|
|
286
|
+
background-color: $color-darkest-gray;
|
|
287
|
+
}
|
|
258
288
|
}
|
|
259
289
|
|
|
260
290
|
.smartapp-calendar-component {
|
|
@@ -266,7 +296,8 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
266
296
|
}
|
|
267
297
|
|
|
268
298
|
.react-datepicker {
|
|
269
|
-
|
|
299
|
+
font-family: Open Sans, 'sans-serif';
|
|
300
|
+
border-color: $color-light-black-10 !important;
|
|
270
301
|
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
302
|
padding-bottom: 24px;
|
|
272
303
|
|
|
@@ -283,8 +314,8 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
283
314
|
|
|
284
315
|
// Голова
|
|
285
316
|
&__header {
|
|
286
|
-
background: $color-
|
|
287
|
-
color: $color-
|
|
317
|
+
background: $color-lightest-gray !important;
|
|
318
|
+
color: $color-light-black-50;
|
|
288
319
|
padding: 0;
|
|
289
320
|
border-bottom: 0;
|
|
290
321
|
}
|
|
@@ -294,7 +325,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
294
325
|
font-weight: 700;
|
|
295
326
|
font-size: 14px;
|
|
296
327
|
line-height: 19px;
|
|
297
|
-
color: $color-
|
|
328
|
+
color: $color-light-black-50;
|
|
298
329
|
padding: 8px 0 !important;
|
|
299
330
|
}
|
|
300
331
|
|
|
@@ -303,7 +334,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
303
334
|
font-weight: 700;
|
|
304
335
|
font-size: 12px;
|
|
305
336
|
line-height: 16px;
|
|
306
|
-
color: $color-
|
|
337
|
+
color: $color-light-black-50;
|
|
307
338
|
margin-top: 16px;
|
|
308
339
|
}
|
|
309
340
|
|
|
@@ -314,7 +345,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
314
345
|
font-size: 12px;
|
|
315
346
|
line-height: 16px;
|
|
316
347
|
text-transform: uppercase;
|
|
317
|
-
color: $color-
|
|
348
|
+
color: $color-light-black-50 !important;
|
|
318
349
|
background: $color-white;
|
|
319
350
|
}
|
|
320
351
|
|
|
@@ -325,7 +356,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
325
356
|
|
|
326
357
|
// Дни, которые уже прошли
|
|
327
358
|
&__day--disabled {
|
|
328
|
-
color: $color-
|
|
359
|
+
color: $color-light-gray !important;
|
|
329
360
|
}
|
|
330
361
|
|
|
331
362
|
// Каждый день
|
|
@@ -339,7 +370,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
339
370
|
|
|
340
371
|
&:hover {
|
|
341
372
|
border-radius: 8px;
|
|
342
|
-
background-color: $color-
|
|
373
|
+
background-color: $color-light-black-30;
|
|
343
374
|
color: $color-black;
|
|
344
375
|
}
|
|
345
376
|
}
|
|
@@ -377,6 +408,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
377
408
|
|
|
378
409
|
// // Сам input для календаря с выбранными датами
|
|
379
410
|
.smartapp-calendar-input {
|
|
411
|
+
font-family: Open Sans, 'sans-serif';
|
|
380
412
|
font-weight: 400;
|
|
381
413
|
font-size: 14px;
|
|
382
414
|
line-height: 19px;
|
|
@@ -384,7 +416,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
384
416
|
align-items: center;
|
|
385
417
|
cursor: pointer;
|
|
386
418
|
padding: 12px 16px;
|
|
387
|
-
border: 1px solid $color-
|
|
419
|
+
border: 1px solid $color-black-5;
|
|
388
420
|
border-radius: 8px;
|
|
389
421
|
box-sizing: border-box;
|
|
390
422
|
width: 100%;
|
|
@@ -409,24 +441,24 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
409
441
|
width: 17px;
|
|
410
442
|
height: 17px;
|
|
411
443
|
background-color: $color-white;
|
|
412
|
-
border: 1.5px solid $
|
|
444
|
+
border: 1.5px solid $color-dark-gray;
|
|
413
445
|
border-radius: 50%;
|
|
414
446
|
cursor: pointer;
|
|
415
447
|
}
|
|
416
448
|
|
|
417
449
|
/* стили при наведении курсора на радио */
|
|
418
450
|
&__custom-check-box:not(:disabled):not(:checked) + .checkmark:hover::before {
|
|
419
|
-
border-color: $
|
|
451
|
+
border-color: $color-darker-gray;
|
|
420
452
|
}
|
|
421
453
|
|
|
422
454
|
/* стили для активной радиокнопки (при нажатии на неё) */
|
|
423
455
|
&__custom-check-box:not(:disabled):active + .checkmark::before {
|
|
424
|
-
border-color: $
|
|
456
|
+
border-color: $color-dark-gray;
|
|
425
457
|
}
|
|
426
458
|
|
|
427
459
|
/* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
|
|
428
460
|
&__custom-check-box:focus:not(:checked) + .checkmark::before {
|
|
429
|
-
border-color: $
|
|
461
|
+
border-color: $color-dark-gray;
|
|
430
462
|
background-size: 60% 60%;
|
|
431
463
|
}
|
|
432
464
|
|
|
@@ -452,10 +484,11 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
452
484
|
display: flex;
|
|
453
485
|
box-sizing: border-box;
|
|
454
486
|
justify-content: space-between;
|
|
487
|
+
font-family: Open Sans, 'sans-serif';
|
|
455
488
|
max-width: 172px;
|
|
456
489
|
padding: 4px 8px 4px 4px;
|
|
457
490
|
border-radius: 20px;
|
|
458
|
-
background-color: $color-
|
|
491
|
+
background-color: $color-lightest-gray;
|
|
459
492
|
|
|
460
493
|
&__info {
|
|
461
494
|
display: flex;
|
|
@@ -523,7 +556,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
523
556
|
}
|
|
524
557
|
|
|
525
558
|
&--delimiter {
|
|
526
|
-
border-top: 0.5px solid $color-
|
|
559
|
+
border-top: 0.5px solid $color-light-black-10;
|
|
527
560
|
margin: 0 -24px 16px -24px;
|
|
528
561
|
}
|
|
529
562
|
|
|
@@ -563,6 +596,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
563
596
|
display: flex;
|
|
564
597
|
flex-direction: row;
|
|
565
598
|
align-items: center;
|
|
599
|
+
font-family: Open Sans, 'sans-serif';
|
|
566
600
|
font-size: 14px;
|
|
567
601
|
line-height: 19px;
|
|
568
602
|
color: $color-black;
|
|
@@ -615,7 +649,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
615
649
|
font-weight: 400;
|
|
616
650
|
font-size: 12px;
|
|
617
651
|
line-height: 16px;
|
|
618
|
-
color: $color-
|
|
652
|
+
color: $color-light-black-50;
|
|
619
653
|
}
|
|
620
654
|
}
|
|
621
655
|
}
|
|
@@ -640,7 +674,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
640
674
|
font-weight: 400;
|
|
641
675
|
font-size: 12px;
|
|
642
676
|
line-height: 16px;
|
|
643
|
-
color: $color-
|
|
677
|
+
color: $color-light-black-50;
|
|
644
678
|
}
|
|
645
679
|
}
|
|
646
680
|
|
|
@@ -655,6 +689,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
655
689
|
cursor: pointer;
|
|
656
690
|
|
|
657
691
|
&--name {
|
|
692
|
+
font-family: Open Sans, 'sans-serif';
|
|
658
693
|
font-weight: 400;
|
|
659
694
|
font-size: 14px;
|
|
660
695
|
line-height: 20px;
|
|
@@ -714,6 +749,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
714
749
|
display: flex;
|
|
715
750
|
justify-content: center;
|
|
716
751
|
flex-direction: column;
|
|
752
|
+
font-family: Open Sans, 'sans-serif';
|
|
717
753
|
background-color: $color-white;
|
|
718
754
|
|
|
719
755
|
&__icon {
|
|
@@ -737,13 +773,14 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
737
773
|
font-weight: 400;
|
|
738
774
|
font-size: 16px;
|
|
739
775
|
line-height: 22px;
|
|
740
|
-
color: $color-
|
|
776
|
+
color: $color-light-black-50;
|
|
741
777
|
word-break: break-word;
|
|
742
778
|
text-align: center;
|
|
743
779
|
}
|
|
744
780
|
}
|
|
745
781
|
|
|
746
782
|
.smartapp-header {
|
|
783
|
+
font-family: Open Sans, 'sans-serif';
|
|
747
784
|
font-weight: 700;
|
|
748
785
|
display: flex;
|
|
749
786
|
justify-content: space-between;
|
|
@@ -801,44 +838,45 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
801
838
|
}
|
|
802
839
|
|
|
803
840
|
.smartapp-input {
|
|
841
|
+
font-family: Open Sans, 'sans-serif';
|
|
804
842
|
display: flex;
|
|
805
843
|
flex-direction: column;
|
|
806
844
|
position: relative;
|
|
807
845
|
|
|
808
846
|
&__title {
|
|
809
|
-
font-weight: 700;
|
|
810
847
|
font-size: 14px;
|
|
848
|
+
font-weight: 600;
|
|
811
849
|
line-height: 19px;
|
|
812
|
-
margin: 0 0 8px 0;
|
|
813
850
|
color: $color-black;
|
|
851
|
+
margin: 0 0 8px 0;
|
|
814
852
|
}
|
|
815
853
|
|
|
816
854
|
&__container {
|
|
817
855
|
position: relative;
|
|
818
856
|
|
|
819
857
|
&--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
858
|
width: 100%;
|
|
826
859
|
box-sizing: border-box;
|
|
860
|
+
font-family: inherit;
|
|
861
|
+
font-weight: 400;
|
|
862
|
+
color: $color-black;
|
|
863
|
+
border: 1px solid $color-black-5;
|
|
864
|
+
border-radius: 8px;
|
|
865
|
+
padding: 13px 16px;
|
|
827
866
|
|
|
828
867
|
&__with-clear-button {
|
|
829
868
|
padding-right: 44px;
|
|
830
869
|
}
|
|
831
870
|
|
|
832
871
|
&::placeholder {
|
|
833
|
-
font-family: Open Sans, 'sans-serif';
|
|
834
872
|
font-size: inherit;
|
|
835
873
|
font-weight: 400;
|
|
836
874
|
line-height: inherit;
|
|
837
|
-
color: $color-
|
|
875
|
+
color: $color-light-black-30;
|
|
838
876
|
}
|
|
839
877
|
|
|
840
878
|
&:focus-visible {
|
|
841
|
-
border: 1px solid $color-blue;
|
|
879
|
+
border: 1px solid $color-blue !important;
|
|
842
880
|
outline: none;
|
|
843
881
|
}
|
|
844
882
|
}
|
|
@@ -856,6 +894,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
856
894
|
position: absolute;
|
|
857
895
|
right: 1px;
|
|
858
896
|
top: 15px;
|
|
897
|
+
color: $color-gray;
|
|
859
898
|
|
|
860
899
|
&:active {
|
|
861
900
|
transform: scale(0.95);
|
|
@@ -875,12 +914,33 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
875
914
|
&__error {
|
|
876
915
|
font-size: 12px;
|
|
877
916
|
line-height: 16px;
|
|
878
|
-
color: $color-red;
|
|
917
|
+
color: $color-light-red;
|
|
879
918
|
margin: 8px 0 0 0;
|
|
880
919
|
}
|
|
920
|
+
|
|
921
|
+
&__dark {
|
|
922
|
+
.smartapp-input {
|
|
923
|
+
&__title {
|
|
924
|
+
color: $color-white;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
&__container {
|
|
928
|
+
&--field {
|
|
929
|
+
color: $color-white;
|
|
930
|
+
background: $color-darkest-gray;
|
|
931
|
+
border-color: $color-black-5;
|
|
932
|
+
|
|
933
|
+
&::placeholder {
|
|
934
|
+
color: $color-white-30;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
}
|
|
881
940
|
}
|
|
882
941
|
|
|
883
942
|
.smartapp-loader-wrapper {
|
|
943
|
+
font-family: Open Sans, 'sans-serif';
|
|
884
944
|
display: flex;
|
|
885
945
|
align-items: center;
|
|
886
946
|
justify-content: center;
|
|
@@ -905,7 +965,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
905
965
|
&__title {
|
|
906
966
|
font-weight: 400;
|
|
907
967
|
text-align: center;
|
|
908
|
-
color: $color-
|
|
968
|
+
color: $color-light-black-30;
|
|
909
969
|
word-break: break-word;
|
|
910
970
|
margin: 0;
|
|
911
971
|
}
|
|
@@ -915,7 +975,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
915
975
|
position: absolute;
|
|
916
976
|
padding: 16px;
|
|
917
977
|
box-sizing: border-box;
|
|
918
|
-
box-shadow: 2px 2px 6px $
|
|
978
|
+
box-shadow: 2px 2px 6px $color-black-60;
|
|
919
979
|
max-width: 330px;
|
|
920
980
|
top: 45px;
|
|
921
981
|
background-color: $color-white;
|
|
@@ -924,6 +984,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
924
984
|
&__container {
|
|
925
985
|
position: relative;
|
|
926
986
|
display: inline-flex;
|
|
987
|
+
font-family: Open Sans, 'sans-serif';
|
|
927
988
|
z-index: 1;
|
|
928
989
|
max-width: 330px;
|
|
929
990
|
}
|
|
@@ -999,16 +1060,18 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
999
1060
|
}
|
|
1000
1061
|
|
|
1001
1062
|
.smartapp-switcher {
|
|
1063
|
+
font-family: Open Sans, 'sans-serif';
|
|
1064
|
+
|
|
1002
1065
|
&__instance {
|
|
1003
1066
|
padding: 8px 16px;
|
|
1004
|
-
background: $color-
|
|
1067
|
+
background: $color-black-5;
|
|
1005
1068
|
border-radius: 4px;
|
|
1006
1069
|
border: 0;
|
|
1007
1070
|
font-weight: 700;
|
|
1008
1071
|
font-size: 12px;
|
|
1009
1072
|
line-height: 16px;
|
|
1010
1073
|
letter-spacing: -0.01em;
|
|
1011
|
-
color: $color-
|
|
1074
|
+
color: $color-black-20;
|
|
1012
1075
|
text-decoration: none;
|
|
1013
1076
|
white-space: nowrap;
|
|
1014
1077
|
box-sizing: border-box;
|
|
@@ -1056,14 +1119,14 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
1056
1119
|
right: 0;
|
|
1057
1120
|
bottom: 0;
|
|
1058
1121
|
border-radius: 69px;
|
|
1059
|
-
background: $
|
|
1122
|
+
background: $color-dark-gray;
|
|
1060
1123
|
transition: 0.2s;
|
|
1061
1124
|
-webkit-transition: 0.2s;
|
|
1062
1125
|
cursor: pointer;
|
|
1063
1126
|
|
|
1064
1127
|
&__disabled {
|
|
1065
1128
|
opacity: 0.3;
|
|
1066
|
-
background: $
|
|
1129
|
+
background: $color-dark-gray !important;
|
|
1067
1130
|
cursor: default;
|
|
1068
1131
|
}
|
|
1069
1132
|
|
|
@@ -1083,7 +1146,7 @@ $box-shadow-dark-color: rgba(0, 0, 0, 0.6);
|
|
|
1083
1146
|
}
|
|
1084
1147
|
|
|
1085
1148
|
&:hover {
|
|
1086
|
-
background: $
|
|
1149
|
+
background: $color-darker-gray;
|
|
1087
1150
|
}
|
|
1088
1151
|
}
|
|
1089
1152
|
|
|
@@ -1278,7 +1341,7 @@ input:checked + .smartapp-slider:before {
|
|
|
1278
1341
|
align-items: center;
|
|
1279
1342
|
gap: 8px;
|
|
1280
1343
|
border-radius: 100px;
|
|
1281
|
-
box-shadow: 0 1px 8px 0 $
|
|
1344
|
+
box-shadow: 0 1px 8px 0 $color-black-5;
|
|
1282
1345
|
padding: 8px 12px;
|
|
1283
1346
|
margin: 16px auto 0 auto;
|
|
1284
1347
|
z-index: 1000;
|
|
@@ -1400,6 +1463,18 @@ input:checked + .smartapp-slider:before {
|
|
|
1400
1463
|
cursor: pointer;
|
|
1401
1464
|
}
|
|
1402
1465
|
}
|
|
1466
|
+
|
|
1467
|
+
&__dark {
|
|
1468
|
+
.smartapp-modal {
|
|
1469
|
+
&__content {
|
|
1470
|
+
background-color: $color-darkest-gray;
|
|
1471
|
+
|
|
1472
|
+
&--title {
|
|
1473
|
+
color: $color-white;
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1403
1478
|
}
|
|
1404
1479
|
|
|
1405
1480
|
.modal-content {
|
|
@@ -1483,7 +1558,7 @@ input:checked + .smartapp-slider:before {
|
|
|
1483
1558
|
justify-content: center;
|
|
1484
1559
|
width: 20px;
|
|
1485
1560
|
height: 20px;
|
|
1486
|
-
border: 1.5px solid $
|
|
1561
|
+
border: 1.5px solid $color-dark-gray;
|
|
1487
1562
|
border-radius: 50%;
|
|
1488
1563
|
background-color: $color-white;
|
|
1489
1564
|
margin: 0;
|
|
@@ -1492,7 +1567,7 @@ input:checked + .smartapp-slider:before {
|
|
|
1492
1567
|
}
|
|
1493
1568
|
|
|
1494
1569
|
input[type="radio"]:not(:disabled):hover {
|
|
1495
|
-
border-color: $
|
|
1570
|
+
border-color: $color-darker-gray;
|
|
1496
1571
|
cursor: pointer;
|
|
1497
1572
|
}
|
|
1498
1573
|
|