@expressms/smartapp-ui 0.0.1

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.
Files changed (138) hide show
  1. package/README.md +11 -0
  2. package/build/main/assets/icons/arrow-back.svg +3 -0
  3. package/build/main/assets/icons/calendar.svg +4 -0
  4. package/build/main/assets/icons/cancel-cross.svg +3 -0
  5. package/build/main/assets/icons/check-mark.svg +3 -0
  6. package/build/main/assets/icons/close.svg +3 -0
  7. package/build/main/assets/icons/download.svg +4 -0
  8. package/build/main/assets/icons/ellipse.svg +3 -0
  9. package/build/main/assets/icons/error.svg +5 -0
  10. package/build/main/assets/icons/file.svg +3 -0
  11. package/build/main/assets/icons/logout.svg +4 -0
  12. package/build/main/assets/icons/order.svg +6 -0
  13. package/build/main/assets/icons/plus.svg +4 -0
  14. package/build/main/assets/icons/trash.svg +3 -0
  15. package/build/main/index.d.ts +1 -0
  16. package/build/main/index.js +1 -0
  17. package/build/main/styles/aac6c83b0a358f7f0f6a.svg +3 -0
  18. package/build/main/styles/stories.module.scss +939 -0
  19. package/build/main/styles/styles.min.css +274 -0
  20. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +5 -0
  21. package/build/main//321/201omponents/ActionModal/ActionModal.js +39 -0
  22. package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
  23. package/build/main//321/201omponents/ActionModal/index.js +1 -0
  24. package/build/main//321/201omponents/ActionModal/types.d.ts +9 -0
  25. package/build/main//321/201omponents/ActionModal/types.js +1 -0
  26. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +5 -0
  27. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +22 -0
  28. package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
  29. package/build/main//321/201omponents/AttachedFile/index.js +1 -0
  30. package/build/main//321/201omponents/AttachedFile/types.d.ts +12 -0
  31. package/build/main//321/201omponents/AttachedFile/types.js +1 -0
  32. package/build/main//321/201omponents/Avatar/Avatar.d.ts +5 -0
  33. package/build/main//321/201omponents/Avatar/Avatar.js +39 -0
  34. package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
  35. package/build/main//321/201omponents/Avatar/index.js +1 -0
  36. package/build/main//321/201omponents/Avatar/types.d.ts +10 -0
  37. package/build/main//321/201omponents/Avatar/types.js +6 -0
  38. package/build/main//321/201omponents/Button/Button.d.ts +5 -0
  39. package/build/main//321/201omponents/Button/Button.js +19 -0
  40. package/build/main//321/201omponents/Button/index.d.ts +1 -0
  41. package/build/main//321/201omponents/Button/index.js +1 -0
  42. package/build/main//321/201omponents/Button/types.d.ts +11 -0
  43. package/build/main//321/201omponents/Button/types.js +1 -0
  44. package/build/main//321/201omponents/Calendar/Calendar.d.ts +5 -0
  45. package/build/main//321/201omponents/Calendar/Calendar.js +49 -0
  46. package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
  47. package/build/main//321/201omponents/Calendar/index.js +1 -0
  48. package/build/main//321/201omponents/Calendar/types.d.ts +14 -0
  49. package/build/main//321/201omponents/Calendar/types.js +1 -0
  50. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +5 -0
  51. package/build/main//321/201omponents/Checkbox/Checkbox.js +18 -0
  52. package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
  53. package/build/main//321/201omponents/Checkbox/index.js +1 -0
  54. package/build/main//321/201omponents/Checkbox/types.d.ts +6 -0
  55. package/build/main//321/201omponents/Checkbox/types.js +1 -0
  56. package/build/main//321/201omponents/Chips/Chips.d.ts +5 -0
  57. package/build/main//321/201omponents/Chips/Chips.js +20 -0
  58. package/build/main//321/201omponents/Chips/index.d.ts +1 -0
  59. package/build/main//321/201omponents/Chips/index.js +1 -0
  60. package/build/main//321/201omponents/Chips/types.d.ts +4 -0
  61. package/build/main//321/201omponents/Chips/types.js +1 -0
  62. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +5 -0
  63. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +33 -0
  64. package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
  65. package/build/main//321/201omponents/ConfirmationModal/index.js +1 -0
  66. package/build/main//321/201omponents/ConfirmationModal/types.d.ts +9 -0
  67. package/build/main//321/201omponents/ConfirmationModal/types.js +1 -0
  68. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +5 -0
  69. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +34 -0
  70. package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
  71. package/build/main//321/201omponents/CustomSelect/index.js +1 -0
  72. package/build/main//321/201omponents/CustomSelect/types.d.ts +14 -0
  73. package/build/main//321/201omponents/CustomSelect/types.js +1 -0
  74. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +5 -0
  75. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +58 -0
  76. package/build/main//321/201omponents/CustomSelectPriority/index.d.ts +1 -0
  77. package/build/main//321/201omponents/CustomSelectPriority/index.js +1 -0
  78. package/build/main//321/201omponents/CustomSelectPriority/types.d.ts +14 -0
  79. package/build/main//321/201omponents/CustomSelectPriority/types.js +1 -0
  80. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +5 -0
  81. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +53 -0
  82. package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
  83. package/build/main//321/201omponents/CustomSelectProfiles/index.js +1 -0
  84. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +13 -0
  85. package/build/main//321/201omponents/CustomSelectProfiles/types.js +1 -0
  86. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +5 -0
  87. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +54 -0
  88. package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
  89. package/build/main//321/201omponents/DragAndDrop/index.js +1 -0
  90. package/build/main//321/201omponents/DragAndDrop/types.d.ts +16 -0
  91. package/build/main//321/201omponents/DragAndDrop/types.js +1 -0
  92. package/build/main//321/201omponents/Error/Error.d.ts +5 -0
  93. package/build/main//321/201omponents/Error/Error.js +19 -0
  94. package/build/main//321/201omponents/Error/index.d.ts +1 -0
  95. package/build/main//321/201omponents/Error/index.js +1 -0
  96. package/build/main//321/201omponents/Error/types.d.ts +4 -0
  97. package/build/main//321/201omponents/Error/types.js +1 -0
  98. package/build/main//321/201omponents/Header/Header.d.ts +5 -0
  99. package/build/main//321/201omponents/Header/Header.js +20 -0
  100. package/build/main//321/201omponents/Header/index.d.ts +1 -0
  101. package/build/main//321/201omponents/Header/index.js +1 -0
  102. package/build/main//321/201omponents/Header/types.d.ts +7 -0
  103. package/build/main//321/201omponents/Header/types.js +1 -0
  104. package/build/main//321/201omponents/Input/Input.d.ts +5 -0
  105. package/build/main//321/201omponents/Input/Input.js +18 -0
  106. package/build/main//321/201omponents/Input/index.d.ts +1 -0
  107. package/build/main//321/201omponents/Input/index.js +1 -0
  108. package/build/main//321/201omponents/Input/types.d.ts +8 -0
  109. package/build/main//321/201omponents/Input/types.js +1 -0
  110. package/build/main//321/201omponents/Loader/Loader.d.ts +5 -0
  111. package/build/main//321/201omponents/Loader/Loader.js +19 -0
  112. package/build/main//321/201omponents/Loader/index.d.ts +1 -0
  113. package/build/main//321/201omponents/Loader/index.js +1 -0
  114. package/build/main//321/201omponents/Loader/types.d.ts +4 -0
  115. package/build/main//321/201omponents/Loader/types.js +1 -0
  116. package/build/main//321/201omponents/Profile/Profile.d.ts +5 -0
  117. package/build/main//321/201omponents/Profile/Profile.js +36 -0
  118. package/build/main//321/201omponents/Profile/index.d.ts +1 -0
  119. package/build/main//321/201omponents/Profile/index.js +1 -0
  120. package/build/main//321/201omponents/Profile/types.d.ts +11 -0
  121. package/build/main//321/201omponents/Profile/types.js +1 -0
  122. package/build/main//321/201omponents/Switcher/Switcher.d.ts +5 -0
  123. package/build/main//321/201omponents/Switcher/Switcher.js +33 -0
  124. package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
  125. package/build/main//321/201omponents/Switcher/index.js +1 -0
  126. package/build/main//321/201omponents/Switcher/types.d.ts +6 -0
  127. package/build/main//321/201omponents/Switcher/types.js +1 -0
  128. package/build/main//321/201omponents/Toggle/Toggle.d.ts +5 -0
  129. package/build/main//321/201omponents/Toggle/Toggle.js +18 -0
  130. package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
  131. package/build/main//321/201omponents/Toggle/index.js +1 -0
  132. package/build/main//321/201omponents/Toggle/types.d.ts +5 -0
  133. package/build/main//321/201omponents/Toggle/types.js +1 -0
  134. package/build/main//321/201omponents/index.d.ts +19 -0
  135. package/build/main//321/201omponents/index.js +19 -0
  136. package/build/main//321/201omponents/types.d.ts +2 -0
  137. package/build/main//321/201omponents/types.js +1 -0
  138. package/package.json +214 -0
@@ -0,0 +1,939 @@
1
+ @import 'react-datepicker/dist/react-datepicker';
2
+
3
+ $color-black: rgba(17, 17, 17, 1);
4
+ $color-dark-gray: rgba(17, 17, 17, 0.5);
5
+ $color-darker-gray: rgba(17, 17, 17, 0.3);
6
+ $color-gray: rgba(17, 17, 17, 0.1);
7
+ $color-lighter-gray: rgba(224, 228, 236, 1);
8
+ $color-lighter-gray-opacity: rgba(224, 228, 236, 0.4);
9
+ $color-light-gray: rgba(239, 242, 244, 1);
10
+ $color-white: rgba(255, 255, 255, 1);
11
+ $color-blue: rgba(71, 153, 227, 1);
12
+ $color-orange: rgba(242, 160, 112, 1);
13
+ $color-red: rgba(235, 85, 69, 1);
14
+ $color-light-blue: rgba(71, 153, 227, 0.2);
15
+
16
+ /*
17
+ body {
18
+ width: 400px;
19
+ padding: 0 !important;
20
+ }
21
+
22
+ html {
23
+ padding: 8px;
24
+ width: 400px;
25
+ margin: 0;
26
+ }
27
+ */
28
+
29
+ .smartapp-action-modal {
30
+ &__content {
31
+ position: relative;
32
+ display: flex;
33
+ flex-direction: column;
34
+ background-color: $color-white;
35
+ padding: 24px;
36
+ border: 1px solid rgba(85, 85, 85, 0.2);
37
+ border-radius: 3px;
38
+ width: 320px;
39
+
40
+ &__cancel-cross {
41
+ cursor: pointer;
42
+ position: absolute;
43
+ right: 10px;
44
+ top: 10px;
45
+ }
46
+
47
+ &--title {
48
+ color: $color-black;
49
+ font-weight: 800;
50
+ font-size: 18px;
51
+ line-height: 20px;
52
+ margin-bottom: 16px;
53
+ text-align: center;
54
+ }
55
+
56
+ &--input {
57
+ margin-bottom: 16px;
58
+ }
59
+
60
+ &--buttons {
61
+ display: flex;
62
+ flex-direction: row;
63
+ justify-content: center;
64
+ }
65
+ }
66
+ }
67
+
68
+ .popup-content {
69
+ width: 100%;
70
+ height: 100%;
71
+ background: rgba(0, 0, 0, 0.3);
72
+ display: flex;
73
+ justify-content: center;
74
+ align-items: center;
75
+ }
76
+
77
+ .smartapp-attached-file {
78
+ display: flex;
79
+ align-items: center;
80
+ margin-bottom: 8px;
81
+ &--icon {
82
+ display: flex;
83
+ align-items: flex-start;
84
+ margin-right: 4px;
85
+ }
86
+
87
+ &__value {
88
+ display: flex;
89
+ flex-direction: row;
90
+ gap: 12px;
91
+ width: 100%;
92
+ &--info {
93
+ &__name {
94
+ font-weight: 700;
95
+ font-size: 16px;
96
+ line-height: 22px;
97
+ color: $color-black;
98
+ margin: 0 0 4px 0;
99
+ }
100
+
101
+ &__weight {
102
+ font-weight: 400;
103
+ font-size: 12px;
104
+ line-height: 16px;
105
+ color: $color-dark-gray;
106
+ margin: 0;
107
+ }
108
+ }
109
+
110
+ &--icons {
111
+ display: flex;
112
+ align-items: flex-start;
113
+
114
+ &__close {
115
+ cursor: pointer;
116
+ margin-right: 4px;
117
+ }
118
+
119
+ &__download {
120
+ cursor: pointer;
121
+ margin-right: 4px;
122
+ }
123
+ }
124
+ }
125
+
126
+ .justify-space-between {
127
+ justify-content: space-between;
128
+ }
129
+ }
130
+
131
+ .smartapp-avatar {
132
+ display: flex;
133
+ align-items: center;
134
+ justify-content: center;
135
+ width: 40px;
136
+ height: 40px;
137
+ font-size: 18px;
138
+ color: $color-white;
139
+ background-color: #cdf4ff;
140
+ text-decoration: none;
141
+ white-space: nowrap;
142
+ font-weight: 500;
143
+ border-radius: 50%;
144
+ cursor: pointer;
145
+ }
146
+
147
+ .smartapp-button {
148
+ width: 100%;
149
+ &__standart {
150
+ cursor: pointer;
151
+ padding: 12px 32px;
152
+ border-radius: 8px;
153
+ }
154
+
155
+ &__low {
156
+ cursor: pointer;
157
+ padding: 5px 32px;
158
+ border-radius: 3px;
159
+ }
160
+
161
+ &__disabled {
162
+ opacity: 0.3;
163
+ }
164
+
165
+ &__color--blue {
166
+ font-weight: 700;
167
+ font-size: 16px;
168
+ line-height: 22px;
169
+ background: $color-blue;
170
+ color: $color-white;
171
+ text-align: center;
172
+ border: 0;
173
+ }
174
+
175
+ &__color--white {
176
+ font-weight: 700;
177
+ font-size: 16px;
178
+ line-height: 22px;
179
+ background: $color-white;
180
+ color: $color-blue;
181
+ text-align: center;
182
+ border: 1px solid $color-blue;
183
+ }
184
+
185
+ &__color--red {
186
+ font-weight: 700;
187
+ font-size: 16px;
188
+ line-height: 22px;
189
+ background: $color-red;
190
+ color: $color-white;
191
+ text-align: center;
192
+ border: 0;
193
+ }
194
+ }
195
+
196
+ .smartapp-calendar-component {
197
+ position: relative;
198
+ width: 100%;
199
+
200
+ &__icon {
201
+ position: absolute;
202
+ }
203
+
204
+ .react-datepicker {
205
+ border-color: $color-gray !important;
206
+ 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;
207
+ padding-bottom: 24px;
208
+
209
+ // Соединитель datepicker с input
210
+ &__triangle {
211
+ margin-top: 0 !important;
212
+ }
213
+
214
+ // Контейнер datepicker
215
+ &__month-container {
216
+ width: 250px;
217
+ border-radius: 12px !important;
218
+ }
219
+
220
+ // Голова
221
+ &__header {
222
+ background: #eff2f4 !important;
223
+ color: $color-dark-gray;
224
+ padding: 0;
225
+ border-bottom: 0;
226
+ }
227
+
228
+ // Месяц
229
+ &__current-month {
230
+ font-weight: 700;
231
+ font-size: 14px;
232
+ line-height: 19px;
233
+ color: $color-dark-gray;
234
+ padding: 8px 0 !important;
235
+ }
236
+
237
+ // Дни названий недель
238
+ &__day-name {
239
+ font-weight: 700;
240
+ font-size: 12px;
241
+ line-height: 16px;
242
+ color: $color-dark-gray;
243
+ margin-top: 16px;
244
+ }
245
+
246
+ // Все дни недели
247
+ &__day-names {
248
+ margin: 0;
249
+ font-weight: 700;
250
+ font-size: 12px;
251
+ line-height: 16px;
252
+ text-transform: uppercase;
253
+ color: $color-dark-gray !important;
254
+ background: $color-white;
255
+ }
256
+
257
+ // Каждый блок недели
258
+ &__day-name {
259
+ margin-right: 3px;
260
+ }
261
+
262
+ // Дни, которые уже прошли
263
+ &__day--disabled {
264
+ color: #ccc !important;
265
+ }
266
+
267
+ // Каждый день
268
+ &__day {
269
+ margin-right: 3px;
270
+ color: $color-black;
271
+ opacity: 0.5;
272
+ font-weight: 400;
273
+ font-size: 16px;
274
+ line-height: 22px;
275
+
276
+ &:hover {
277
+ border-radius: 8px;
278
+ background-color: $color-darker-gray;
279
+ color: $color-black;
280
+ }
281
+ }
282
+
283
+ // Стрелка
284
+ &__navigation-icon::before {
285
+ border-width: 2px 2px 0 0 !important;
286
+ border-radius: 1px;
287
+ width: 7px !important;
288
+ height: 7px !important;
289
+ }
290
+
291
+ // Сегодняшний день
292
+ &__day--today {
293
+ background: $color-white;
294
+ color: $color-black;
295
+ font-weight: 600;
296
+ opacity: 1;
297
+ }
298
+
299
+ // Первый выбранный день
300
+ &__day--keyboard-selected {
301
+ border-radius: 0;
302
+ background-color: $color-white;
303
+ }
304
+
305
+ // Выбранный день
306
+ &__day--selected {
307
+ background-color: $color-white;
308
+ color: $color-blue;
309
+ opacity: 1 !important;
310
+ font-weight: 800;
311
+ }
312
+ }
313
+
314
+ // // Сам input для календаря с выбранными датами
315
+ .smartapp-calendar-input {
316
+ font-weight: 400;
317
+ font-size: 14px;
318
+ line-height: 19px;
319
+ display: flex;
320
+ align-items: center;
321
+ cursor: pointer;
322
+ padding: 12px 16px;
323
+ border: 1px solid rgba(0, 0, 0, 0.05);
324
+ border-radius: 8px;
325
+ box-sizing: border-box;
326
+ width: 100%;
327
+
328
+ &__span {
329
+ color: $color-lighter-gray;
330
+ margin-right: 5px;
331
+ }
332
+ }
333
+ }
334
+
335
+ .smartapp-check-box {
336
+ display: flex;
337
+ align-items: center;
338
+
339
+ &__container {
340
+ display: flex;
341
+ flex-direction: row;
342
+
343
+ &__marker {
344
+ margin-right: 18px;
345
+ height: 24px;
346
+ width: 24px;
347
+ cursor: pointer;
348
+ }
349
+
350
+ &__marker-name {
351
+ padding-top: 5px;
352
+ }
353
+
354
+ &__custom-check-box {
355
+ z-index: -1;
356
+ opacity: 0;
357
+ position: absolute;
358
+ }
359
+
360
+ .checkmark {
361
+ display: inline-flex;
362
+ align-items: center;
363
+ user-select: none;
364
+ margin: 0;
365
+ }
366
+
367
+ .checkmark::before {
368
+ cursor: pointer;
369
+ content: '';
370
+ display: inline-block;
371
+ width: 20px;
372
+ height: 20px;
373
+ flex-shrink: 0;
374
+ flex-grow: 0;
375
+ font-size: 16px;
376
+ line-height: 22px;
377
+ background-color: $color-white;
378
+ border: 1px solid $color-gray;
379
+ border-radius: 50%;
380
+ margin-right: 15px;
381
+ background-repeat: no-repeat;
382
+ background-position: center center;
383
+ background-size: 60% 60%;
384
+ }
385
+
386
+ /* стили при наведении курсора на радио */
387
+ &--custom-check-box:not(:disabled):not(:checked) + .checkmark:hover::before {
388
+ border-color: $color-gray;
389
+ }
390
+
391
+ /* стили для активной радиокнопки (при нажатии на неё) */
392
+ &--custom-check-box:not(:disabled):active + .checkmark::before {
393
+ background-color: $color-gray;
394
+ border-color: $color-gray;
395
+ }
396
+
397
+ /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
398
+ &__custom-check-box:focus:not(:checked) + .checkmark::before {
399
+ border-color: $color-gray;
400
+ background-size: 60% 60%;
401
+ }
402
+
403
+ /* стили для радиокнопки, находящейся в состоянии checked */
404
+ &__custom-check-box:checked + .checkmark::before {
405
+ border: none;
406
+ height: 22px;
407
+ width: 22px;
408
+ background-image: url('../assets/icons/check-mark.svg');
409
+ background-size: 100% 100%;
410
+ background-repeat: no-repeat;
411
+ }
412
+ }
413
+ }
414
+
415
+ .smartapp-chips {
416
+ display: flex;
417
+ box-sizing: border-box;
418
+ justify-content: space-between;
419
+ max-width: 172px;
420
+ padding: 4px 8px 4px 4px;
421
+ border-radius: 20px;
422
+ background-color: $color-light-gray;
423
+
424
+ &__info {
425
+ display: flex;
426
+ align-items: center;
427
+
428
+ &--name {
429
+ color: $color-black;
430
+ max-width: 105px;
431
+ font-weight: 400;
432
+ font-size: 14px;
433
+ line-height: 20px;
434
+ margin: 0 0 0 8px;
435
+ white-space: nowrap;
436
+ overflow: hidden;
437
+ text-overflow: ellipsis;
438
+ }
439
+ }
440
+
441
+ &__cancel-icon {
442
+ display: flex;
443
+ cursor: pointer;
444
+ }
445
+ }
446
+
447
+ .smartapp-confirmation-modal {
448
+ &__content {
449
+ background-color: $color-white;
450
+ padding: 24px;
451
+ border: 1px solid rgba(85, 85, 85, 0.2);
452
+ border-radius: 3px;
453
+ width: 320px;
454
+
455
+ &--title {
456
+ color: $color-black;
457
+ margin: 0 0 24px 0;
458
+ font-weight: 700;
459
+ font-size: 20px;
460
+ line-height: 20px;
461
+ text-align: center;
462
+ }
463
+
464
+ &--text {
465
+ color: $color-black;
466
+ font-weight: 400;
467
+ font-size: 14px;
468
+ line-height: 16px;
469
+ margin-bottom: 16px;
470
+ text-align: center;
471
+ }
472
+
473
+ &--buttons {
474
+ display: flex;
475
+ flex-direction: row;
476
+ justify-content: center;
477
+ gap: 16px;
478
+ }
479
+ }
480
+ }
481
+
482
+ .popup-content {
483
+ width: 100%;
484
+ height: 100%;
485
+ background: rgba(0, 0, 0, 0.3);
486
+ display: flex;
487
+ justify-content: center;
488
+ align-items: center;
489
+ }
490
+
491
+ .smartapp-custom-select {
492
+ display: flex;
493
+ flex-direction: row;
494
+ align-items: center;
495
+ font-size: 14px;
496
+ line-height: 19px;
497
+ color: $color-black;
498
+ width: 100%;
499
+ cursor: pointer;
500
+
501
+ &__placeholder {
502
+ font-size: 14px;
503
+ line-height: 19px;
504
+ text-overflow: ellipsis;
505
+ }
506
+
507
+ &__title {
508
+ margin-top: 0;
509
+ margin-bottom: 0;
510
+ font-weight: 400;
511
+ font-size: 14px;
512
+ line-height: 19px;
513
+ color: $color-black;
514
+ }
515
+ .css-1okebmr-indicatorSeparator {
516
+ width: 0;
517
+ }
518
+
519
+ &__wrapper {
520
+ outline: none;
521
+ cursor: pointer;
522
+ width: 100%;
523
+ }
524
+ }
525
+
526
+ .smartapp-custom-select {
527
+ &__option {
528
+ display: flex;
529
+
530
+ &--avatar {
531
+ margin: 0 8px;
532
+ }
533
+
534
+ &--info {
535
+ &__title {
536
+ font-weight: 700;
537
+ font-size: 12px;
538
+ line-height: 16px;
539
+ margin: 0;
540
+ }
541
+
542
+ &__email {
543
+ margin: 0;
544
+ font-weight: 400;
545
+ font-size: 12px;
546
+ line-height: 16px;
547
+ color: rgba(17, 17, 17, 0.5);
548
+ }
549
+ }
550
+ }
551
+ }
552
+
553
+ .smartapp-drag-drop {
554
+ &__header {
555
+ display: flex;
556
+ justify-content: space-between;
557
+ margin-bottom: 20px;
558
+
559
+ &--title {
560
+ margin: 0;
561
+ font-weight: 700;
562
+ font-size: 14px;
563
+ line-height: 19px;
564
+ color: $color-black;
565
+ }
566
+
567
+ &--counter {
568
+ margin: 0;
569
+ font-weight: 400;
570
+ font-size: 12px;
571
+ line-height: 16px;
572
+ color: rgba(17, 17, 17, 0.5);
573
+ }
574
+ }
575
+
576
+ &__container {
577
+ &--instance {
578
+ display: flex;
579
+ justify-content: space-between;
580
+ margin-bottom: 20px;
581
+
582
+ &__info {
583
+ display: flex;
584
+ cursor: pointer;
585
+
586
+ &--name {
587
+ font-weight: 400;
588
+ font-size: 14px;
589
+ line-height: 20px;
590
+ border: none;
591
+ text-decoration: none;
592
+ outline: none;
593
+ min-width: 250px;
594
+ margin: 0;
595
+
596
+ &__completed {
597
+ font-weight: 400;
598
+ font-size: 14px;
599
+ line-height: 20px;
600
+ margin: 0;
601
+ border: none;
602
+ outline: none;
603
+ text-decoration: line-through;
604
+ min-width: 250px;
605
+ }
606
+ }
607
+ &--create-subtask {
608
+ font-weight: 400;
609
+ font-size: 14px;
610
+ line-height: 20px;
611
+ margin: 0;
612
+ color: $color-blue;
613
+ }
614
+
615
+ &--create-input {
616
+ width: 100%;
617
+ border: none;
618
+ text-decoration: none;
619
+ outline: none;
620
+ font-weight: 400;
621
+ font-size: 14px;
622
+ line-height: 20px;
623
+ }
624
+ }
625
+ &__icons {
626
+ display: flex;
627
+ align-items: center;
628
+ gap: 5px;
629
+ }
630
+ }
631
+ }
632
+ }
633
+
634
+ .mt-65 {
635
+ margin-top: 65px;
636
+ }
637
+
638
+ .cp {
639
+ cursor: pointer;
640
+ }
641
+
642
+ .smartapp-error {
643
+ display: flex;
644
+ justify-content: center;
645
+ flex-direction: column;
646
+ max-width: 200px;
647
+ background-color: $color-white;
648
+
649
+ &__icon {
650
+ align-items: center;
651
+ text-align: center;
652
+ margin-bottom: 40px;
653
+ }
654
+
655
+ &__title {
656
+ font-weight: 700;
657
+ font-size: 16px;
658
+ line-height: 22px;
659
+ color: $color-black;
660
+ margin: 0 0 16px 0;
661
+ word-break: break-word;
662
+ text-align: center;
663
+ }
664
+
665
+ &__text {
666
+ margin: 0;
667
+ font-weight: 400;
668
+ font-size: 16px;
669
+ line-height: 22px;
670
+ color: $color-dark-gray;
671
+ word-break: break-word;
672
+ text-align: center;
673
+ }
674
+ }
675
+
676
+ .smartapp-header {
677
+ width: 100%;
678
+ font-weight: 700;
679
+ font-size: 16px;
680
+ line-height: 22px;
681
+ color: $color-black;
682
+ display: flex;
683
+ justify-content: space-between;
684
+
685
+ &__info {
686
+ display: flex;
687
+ align-items: center;
688
+
689
+ &--arrow-back {
690
+ margin-right: 16px;
691
+ }
692
+
693
+ &--title {
694
+ margin: 0;
695
+ }
696
+ }
697
+ }
698
+
699
+ .smartapp-input {
700
+ display: flex;
701
+ flex-direction: column;
702
+
703
+ &__title {
704
+ font-weight: 700;
705
+ font-size: 14px;
706
+ line-height: 19px;
707
+ margin: 0 0 8px 0;
708
+ color: $color-black;
709
+ }
710
+
711
+ &__field {
712
+ padding: 12px 16px;
713
+ border: 1px solid rgba(0, 0, 0, 0.05);
714
+ border-radius: 8px;
715
+ font-weight: 400;
716
+ font-size: 14px;
717
+ line-height: 19px;
718
+ color: $color-black;
719
+
720
+ &::placeholder {
721
+ font-weight: 400;
722
+ font-size: 14px;
723
+ line-height: 20px;
724
+ color: $color-darker-gray;
725
+ }
726
+ }
727
+ }
728
+
729
+ .smartapp-loader-wrapper {
730
+ position: fixed;
731
+ z-index: 100;
732
+ top: 0;
733
+ right: 0;
734
+ bottom: 0;
735
+ left: 0;
736
+ display: flex;
737
+ align-items: center;
738
+ justify-content: center;
739
+ background: $color-lighter-gray;
740
+ }
741
+
742
+ .smartapp-loader {
743
+ display: flex;
744
+ flex-direction: column;
745
+ align-items: center;
746
+ width: 150px;
747
+
748
+ &__title {
749
+ margin: 8px 0 0 0;
750
+ font-weight: 400;
751
+ font-size: 14px;
752
+ line-height: 19px;
753
+ color: $color-darker-gray;
754
+ word-break: break-word;
755
+ }
756
+ }
757
+
758
+ .smartapp-profile {
759
+ position: absolute;
760
+ padding: 16px;
761
+ box-sizing: border-box;
762
+ box-shadow: 2px 2px 6px rgb(0 0 0 / 60%);
763
+ max-width: 330px;
764
+ top: 45px;
765
+ background-color: $color-white;
766
+ min-width: 300px;
767
+
768
+ &__container {
769
+ position: relative;
770
+ display: inline-flex;
771
+ z-index: 1;
772
+ max-width: 330px;
773
+ }
774
+
775
+ &__avatar {
776
+ display: flex;
777
+ align-items: center;
778
+ justify-content: center;
779
+ width: 40px;
780
+ height: 40px;
781
+ font-size: 18px;
782
+ color: $color-white;
783
+ background-color: #cdf4ff;
784
+ text-decoration: none;
785
+ white-space: nowrap;
786
+ font-weight: 500;
787
+ border-radius: 50%;
788
+ margin-right: 16px;
789
+ cursor: pointer;
790
+ }
791
+
792
+ &__current-profile {
793
+ display: flex;
794
+ align-items: center;
795
+ justify-content: space-between;
796
+
797
+ &--info {
798
+ display: flex;
799
+ align-items: center;
800
+
801
+ &__data {
802
+ &--username {
803
+ margin: 0;
804
+ font-weight: 700;
805
+ font-size: 14px;
806
+ line-height: 19px;
807
+ }
808
+
809
+ &--email {
810
+ margin: 0;
811
+ font-weight: 400;
812
+ font-size: 12px;
813
+ line-height: 16px;
814
+ }
815
+ }
816
+ }
817
+
818
+ &--logout {
819
+ cursor: pointer;
820
+ }
821
+ }
822
+ &__add-profile {
823
+ display: flex;
824
+ align-items: center;
825
+ margin-top: 16px;
826
+ cursor: pointer;
827
+
828
+ &--icon {
829
+ width: 44px;
830
+ height: 44px;
831
+ margin-right: 12px;
832
+ margin-left: -2px;
833
+ }
834
+
835
+ &--title {
836
+ margin: 0;
837
+ color: $color-blue;
838
+ font-weight: 700;
839
+ font-size: 14px;
840
+ line-height: 19px;
841
+ }
842
+ }
843
+ }
844
+
845
+ .smartapp-switcher {
846
+ &__instance {
847
+ padding: 8px 16px;
848
+ background: rgba(0, 0, 0, 0.05);
849
+ border-radius: 4px;
850
+ border: 0;
851
+ font-weight: 700;
852
+ font-size: 12px;
853
+ line-height: 16px;
854
+ letter-spacing: -0.01em;
855
+ color: rgba(0, 0, 0, 0.2);
856
+ text-decoration: none;
857
+ white-space: nowrap;
858
+ box-sizing: border-box;
859
+ cursor: pointer;
860
+ text-align: center !important;
861
+ width: 100% !important;
862
+
863
+ &--active {
864
+ background: $color-blue;
865
+ color: $color-white;
866
+ }
867
+ }
868
+ .slick-slide {
869
+ margin-right: 5px !important;
870
+ text-align: center !important;
871
+ width: 100% !important;
872
+ }
873
+ .slick-track {
874
+ display: flex;
875
+ }
876
+ }
877
+
878
+ .smartapp-toggle {
879
+ position: relative;
880
+ display: inline-block;
881
+ width: 34px;
882
+ height: 14px;
883
+ }
884
+
885
+ .smartapp-toggle-wrapper {
886
+ display: flex;
887
+ flex-direction: row;
888
+ align-items: center;
889
+ }
890
+
891
+ .smartapp-toggle input {
892
+ display: none;
893
+ }
894
+
895
+ .smartapp-slider {
896
+ position: absolute;
897
+ cursor: pointer;
898
+ top: 0;
899
+ left: 0;
900
+ right: 0;
901
+ bottom: 0;
902
+ background: $color-dark-gray;
903
+ -webkit-transition: 0.2s;
904
+ transition: 0.2s;
905
+ }
906
+
907
+ .smartapp-slider:before {
908
+ position: absolute;
909
+ content: '';
910
+ height: 20px;
911
+ width: 20px;
912
+ top: -3px;
913
+ left: 0;
914
+ bottom: 3px;
915
+ background: $color-lighter-gray;
916
+ -webkit-transition: 0.2s;
917
+ transition: 0.2s;
918
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
919
+ }
920
+
921
+ input:checked + .smartapp-slider {
922
+ background: $color-light-blue;
923
+ }
924
+
925
+ input:checked + .smartapp-slider:before {
926
+ -webkit-transform: translateX(14px);
927
+ -ms-transform: translateX(14px);
928
+ transform: translateX(14px);
929
+ background-color: $color-blue;
930
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
931
+ }
932
+
933
+ .smartapp-slider.round {
934
+ border-radius: 34px;
935
+ }
936
+
937
+ .smartapp-slider.round:before {
938
+ border-radius: 50%;
939
+ }