@expressms/smartapp-ui 1.1.8 → 2.0.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.
Files changed (191) hide show
  1. package/README.md +1 -6
  2. package/build/main/constants/constants.js +1 -0
  3. package/build/main/constants/constants.js.map +1 -0
  4. package/build/main/constants/index.js +1 -0
  5. package/build/main/constants/index.js.map +1 -0
  6. package/build/main/constants/types.js +1 -0
  7. package/build/main/constants/types.js.map +1 -0
  8. package/build/main/helpers/index.js +1 -0
  9. package/build/main/helpers/index.js.map +1 -0
  10. package/build/main/index.d.ts +1 -0
  11. package/build/main/index.js +2 -0
  12. package/build/main/index.js.map +1 -0
  13. package/build/main/styles/index.d.ts +1 -0
  14. package/build/main/styles/index.js +2 -0
  15. package/build/main/styles/index.js.map +1 -0
  16. package/build/main/styles/styles.scss +2 -2
  17. package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
  18. package/build/main//321/201omponents/ActionModal/ActionModal.js +4 -3
  19. package/build/main//321/201omponents/ActionModal/ActionModal.js.map +1 -0
  20. package/build/main//321/201omponents/ActionModal/index.js +1 -0
  21. package/build/main//321/201omponents/ActionModal/index.js.map +1 -0
  22. package/build/main//321/201omponents/ActionModal/types.js +1 -0
  23. package/build/main//321/201omponents/ActionModal/types.js.map +1 -0
  24. package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +1 -1
  25. package/build/main//321/201omponents/AttachedFile/AttachedFile.js +2 -1
  26. package/build/main//321/201omponents/AttachedFile/AttachedFile.js.map +1 -0
  27. package/build/main//321/201omponents/AttachedFile/index.js +1 -0
  28. package/build/main//321/201omponents/AttachedFile/index.js.map +1 -0
  29. package/build/main//321/201omponents/AttachedFile/types.js +1 -0
  30. package/build/main//321/201omponents/AttachedFile/types.js.map +1 -0
  31. package/build/main//321/201omponents/Avatar/Avatar.d.ts +1 -1
  32. package/build/main//321/201omponents/Avatar/Avatar.js +2 -1
  33. package/build/main//321/201omponents/Avatar/Avatar.js.map +1 -0
  34. package/build/main//321/201omponents/Avatar/index.js +1 -0
  35. package/build/main//321/201omponents/Avatar/index.js.map +1 -0
  36. package/build/main//321/201omponents/Avatar/types.js +1 -0
  37. package/build/main//321/201omponents/Avatar/types.js.map +1 -0
  38. package/build/main//321/201omponents/Button/Button.d.ts +2 -2
  39. package/build/main//321/201omponents/Button/Button.js +2 -1
  40. package/build/main//321/201omponents/Button/Button.js.map +1 -0
  41. package/build/main//321/201omponents/Button/index.js +1 -0
  42. package/build/main//321/201omponents/Button/index.js.map +1 -0
  43. package/build/main//321/201omponents/Button/types.js +1 -0
  44. package/build/main//321/201omponents/Button/types.js.map +1 -0
  45. package/build/main//321/201omponents/Calendar/Calendar.d.ts +1 -1
  46. package/build/main//321/201omponents/Calendar/Calendar.js +2 -1
  47. package/build/main//321/201omponents/Calendar/Calendar.js.map +1 -0
  48. package/build/main//321/201omponents/Calendar/index.js +1 -0
  49. package/build/main//321/201omponents/Calendar/index.js.map +1 -0
  50. package/build/main//321/201omponents/Calendar/types.js +1 -0
  51. package/build/main//321/201omponents/Calendar/types.js.map +1 -0
  52. package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +2 -2
  53. package/build/main//321/201omponents/Checkbox/Checkbox.js +2 -1
  54. package/build/main//321/201omponents/Checkbox/Checkbox.js.map +1 -0
  55. package/build/main//321/201omponents/Checkbox/index.js +1 -0
  56. package/build/main//321/201omponents/Checkbox/index.js.map +1 -0
  57. package/build/main//321/201omponents/Checkbox/types.js +1 -0
  58. package/build/main//321/201omponents/Checkbox/types.js.map +1 -0
  59. package/build/main//321/201omponents/Chips/Chips.d.ts +1 -1
  60. package/build/main//321/201omponents/Chips/Chips.js +2 -1
  61. package/build/main//321/201omponents/Chips/Chips.js.map +1 -0
  62. package/build/main//321/201omponents/Chips/index.js +1 -0
  63. package/build/main//321/201omponents/Chips/index.js.map +1 -0
  64. package/build/main//321/201omponents/Chips/types.js +1 -0
  65. package/build/main//321/201omponents/Chips/types.js.map +1 -0
  66. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  67. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +2 -1
  68. package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js.map +1 -0
  69. package/build/main//321/201omponents/ConfirmationModal/index.js +1 -0
  70. package/build/main//321/201omponents/ConfirmationModal/index.js.map +1 -0
  71. package/build/main//321/201omponents/ConfirmationModal/types.js +1 -0
  72. package/build/main//321/201omponents/ConfirmationModal/types.js.map +1 -0
  73. package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +1 -1
  74. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +2 -1
  75. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -0
  76. package/build/main//321/201omponents/CustomSelect/index.js +1 -0
  77. package/build/main//321/201omponents/CustomSelect/index.js.map +1 -0
  78. package/build/main//321/201omponents/CustomSelect/types.js +1 -0
  79. package/build/main//321/201omponents/CustomSelect/types.js.map +1 -0
  80. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +1 -1
  81. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +3 -2
  82. package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js.map +1 -0
  83. package/build/main//321/201omponents/CustomSelectPriority/index.js +1 -0
  84. package/build/main//321/201omponents/CustomSelectPriority/index.js.map +1 -0
  85. package/build/main//321/201omponents/CustomSelectPriority/types.js +1 -0
  86. package/build/main//321/201omponents/CustomSelectPriority/types.js.map +1 -0
  87. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +1 -1
  88. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +2 -1
  89. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -0
  90. package/build/main//321/201omponents/CustomSelectProfiles/index.js +1 -0
  91. package/build/main//321/201omponents/CustomSelectProfiles/index.js.map +1 -0
  92. package/build/main//321/201omponents/CustomSelectProfiles/types.js +1 -0
  93. package/build/main//321/201omponents/CustomSelectProfiles/types.js.map +1 -0
  94. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +1 -1
  95. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +3 -2
  96. package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js.map +1 -0
  97. package/build/main//321/201omponents/DragAndDrop/index.js +1 -0
  98. package/build/main//321/201omponents/DragAndDrop/index.js.map +1 -0
  99. package/build/main//321/201omponents/DragAndDrop/types.js +1 -0
  100. package/build/main//321/201omponents/DragAndDrop/types.js.map +1 -0
  101. package/build/main//321/201omponents/Error/Error.d.ts +1 -1
  102. package/build/main//321/201omponents/Error/Error.js +2 -1
  103. package/build/main//321/201omponents/Error/Error.js.map +1 -0
  104. package/build/main//321/201omponents/Error/index.js +1 -0
  105. package/build/main//321/201omponents/Error/index.js.map +1 -0
  106. package/build/main//321/201omponents/Error/types.js +1 -0
  107. package/build/main//321/201omponents/Error/types.js.map +1 -0
  108. package/build/main//321/201omponents/Header/Header.d.ts +1 -1
  109. package/build/main//321/201omponents/Header/Header.js +2 -1
  110. package/build/main//321/201omponents/Header/Header.js.map +1 -0
  111. package/build/main//321/201omponents/Header/index.js +1 -0
  112. package/build/main//321/201omponents/Header/index.js.map +1 -0
  113. package/build/main//321/201omponents/Header/types.js +1 -0
  114. package/build/main//321/201omponents/Header/types.js.map +1 -0
  115. package/build/main//321/201omponents/Input/Input.d.ts +1 -1
  116. package/build/main//321/201omponents/Input/Input.js +2 -1
  117. package/build/main//321/201omponents/Input/Input.js.map +1 -0
  118. package/build/main//321/201omponents/Input/index.js +1 -0
  119. package/build/main//321/201omponents/Input/index.js.map +1 -0
  120. package/build/main//321/201omponents/Input/types.js +1 -0
  121. package/build/main//321/201omponents/Input/types.js.map +1 -0
  122. package/build/main//321/201omponents/Loader/Loader.d.ts +1 -1
  123. package/build/main//321/201omponents/Loader/Loader.js +5 -6
  124. package/build/main//321/201omponents/Loader/Loader.js.map +1 -0
  125. package/build/main//321/201omponents/Loader/index.js +1 -0
  126. package/build/main//321/201omponents/Loader/index.js.map +1 -0
  127. package/build/main//321/201omponents/Loader/types.js +1 -0
  128. package/build/main//321/201omponents/Loader/types.js.map +1 -0
  129. package/build/main//321/201omponents/Modal/Modal.d.ts +1 -1
  130. package/build/main//321/201omponents/Modal/Modal.js +2 -1
  131. package/build/main//321/201omponents/Modal/Modal.js.map +1 -0
  132. package/build/main//321/201omponents/Modal/index.js +1 -0
  133. package/build/main//321/201omponents/Modal/index.js.map +1 -0
  134. package/build/main//321/201omponents/Modal/types.js +1 -0
  135. package/build/main//321/201omponents/Modal/types.js.map +1 -0
  136. package/build/main//321/201omponents/Notification/Notification.d.ts +1 -1
  137. package/build/main//321/201omponents/Notification/Notification.js +2 -1
  138. package/build/main//321/201omponents/Notification/Notification.js.map +1 -0
  139. package/build/main//321/201omponents/Notification/index.js +1 -0
  140. package/build/main//321/201omponents/Notification/index.js.map +1 -0
  141. package/build/main//321/201omponents/Notification/types.js +1 -0
  142. package/build/main//321/201omponents/Notification/types.js.map +1 -0
  143. package/build/main//321/201omponents/Profile/Profile.d.ts +1 -1
  144. package/build/main//321/201omponents/Profile/Profile.js +3 -2
  145. package/build/main//321/201omponents/Profile/Profile.js.map +1 -0
  146. package/build/main//321/201omponents/Profile/index.js +1 -0
  147. package/build/main//321/201omponents/Profile/index.js.map +1 -0
  148. package/build/main//321/201omponents/Profile/types.js +1 -0
  149. package/build/main//321/201omponents/Profile/types.js.map +1 -0
  150. package/build/main//321/201omponents/RadioButton/RadioButton.d.ts +2 -2
  151. package/build/main//321/201omponents/RadioButton/RadioButton.js +2 -1
  152. package/build/main//321/201omponents/RadioButton/RadioButton.js.map +1 -0
  153. package/build/main//321/201omponents/RadioButton/index.js +1 -0
  154. package/build/main//321/201omponents/RadioButton/index.js.map +1 -0
  155. package/build/main//321/201omponents/RadioButton/types.js +1 -0
  156. package/build/main//321/201omponents/RadioButton/types.js.map +1 -0
  157. package/build/main//321/201omponents/Stories/Stories.d.ts +1 -1
  158. package/build/main//321/201omponents/Stories/Stories.js +14 -13
  159. package/build/main//321/201omponents/Stories/Stories.js.map +1 -0
  160. package/build/main//321/201omponents/Stories/index.js +1 -0
  161. package/build/main//321/201omponents/Stories/index.js.map +1 -0
  162. package/build/main//321/201omponents/Stories/types.js +1 -0
  163. package/build/main//321/201omponents/Stories/types.js.map +1 -0
  164. package/build/main//321/201omponents/Switcher/Switcher.d.ts +1 -1
  165. package/build/main//321/201omponents/Switcher/Switcher.js +2 -1
  166. package/build/main//321/201omponents/Switcher/Switcher.js.map +1 -0
  167. package/build/main//321/201omponents/Switcher/index.js +1 -0
  168. package/build/main//321/201omponents/Switcher/index.js.map +1 -0
  169. package/build/main//321/201omponents/Switcher/types.js +1 -0
  170. package/build/main//321/201omponents/Switcher/types.js.map +1 -0
  171. package/build/main//321/201omponents/SyncLoader/SyncLoader.d.ts +2 -2
  172. package/build/main//321/201omponents/SyncLoader/SyncLoader.js +6 -7
  173. package/build/main//321/201omponents/SyncLoader/SyncLoader.js.map +1 -0
  174. package/build/main//321/201omponents/SyncLoader/index.js +1 -0
  175. package/build/main//321/201omponents/SyncLoader/index.js.map +1 -0
  176. package/build/main//321/201omponents/SyncLoader/types.js +1 -0
  177. package/build/main//321/201omponents/SyncLoader/types.js.map +1 -0
  178. package/build/main//321/201omponents/Toggle/Toggle.d.ts +1 -1
  179. package/build/main//321/201omponents/Toggle/Toggle.js +2 -1
  180. package/build/main//321/201omponents/Toggle/Toggle.js.map +1 -0
  181. package/build/main//321/201omponents/Toggle/index.js +1 -0
  182. package/build/main//321/201omponents/Toggle/index.js.map +1 -0
  183. package/build/main//321/201omponents/Toggle/types.js +1 -0
  184. package/build/main//321/201omponents/Toggle/types.js.map +1 -0
  185. package/build/main//321/201omponents/index.js +1 -0
  186. package/build/main//321/201omponents/index.js.map +1 -0
  187. package/build/main//321/201omponents/types.js +1 -0
  188. package/build/main//321/201omponents/types.js.map +1 -0
  189. package/package.json +33 -57
  190. package/build/main/styles/stories.module.scss +0 -1639
  191. package/build/main/styles/styles.min.css +0 -146
@@ -1,1639 +0,0 @@
1
- @import '~animate.css/animate';
2
- @import 'react-datepicker/dist/react-datepicker';
3
-
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);
11
- $color-black-10: rgba(0, 0, 0, 0.1);
12
- $color-black-8: rgba(0, 0, 0, 0.08);
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);
19
- $color-lighter-gray: rgba(224, 228, 236, 1);
20
- $color-lightest-gray: rgba(239, 242, 244, 1);
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);
24
- $color-dark-red: rgba(222, 97, 97, 1);
25
- $color-red: rgba(235, 85, 69, 1);
26
- $color-light-red: rgba(200, 66, 53, 1);
27
- $color-purple: rgba(130, 98, 223, 1);
28
- $color-dark-blue: rgba(60, 130, 193, 1);
29
- $color-blue: rgba(71, 153, 227, 1);
30
- $color-light-blue: rgba(205, 244, 255, 1);
31
- $color-orange: rgba(252, 158, 90, 1);
32
- $color-orange-10: rgba(252, 158, 90, 0.1);
33
- $color-light-orange: rgba(253, 246, 228, 1);
34
-
35
- $popup-background: rgba(37, 77, 145, 0.2);
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);
37
-
38
- .smartapp-action-modal {
39
- width: 100%;
40
- padding: 0 20px;
41
-
42
- &__ios,
43
- &__android {
44
- padding: 0;
45
- }
46
-
47
- &__content {
48
- box-sizing: border-box;
49
- position: relative;
50
- display: flex;
51
- flex-direction: column;
52
- width: 100%;
53
- background-color: $color-white;
54
- border-radius: 4px;
55
- padding: 24px;
56
-
57
- &--ios,
58
- &--android {
59
- border-radius: 12px 12px 0 0;
60
- padding: 24px 24px 40px 24px;
61
- }
62
-
63
- &--cancel-cross {
64
- position: absolute;
65
- top: 8px;
66
- right: 8px;
67
- cursor: pointer;
68
- }
69
-
70
- &--title {
71
- font-family: Open Sans, 'sans-serif';
72
- font-size: 16px;
73
- font-weight: 700;
74
- line-height: 22px;
75
- text-align: center;
76
- color: $color-black;
77
- margin: 8px 0 24px 0;
78
-
79
- &__ios,
80
- &__android {
81
- margin-top: 0;
82
- }
83
- }
84
-
85
- &--input {
86
- margin-bottom: 24px;
87
- }
88
-
89
- &--delimiter {
90
- border-top: 0.5px solid $color-light-black-10;
91
- margin: 0 -24px 16px -24px;
92
- }
93
-
94
- &--buttons {
95
- display: flex;
96
- flex-direction: row;
97
- justify-content: center;
98
- }
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
- }
116
- }
117
-
118
- .action-modal-content {
119
- width: 100%;
120
- height: 100%;
121
- background: var(--action-modal-background, $popup-background);
122
- display: flex;
123
- justify-content: center;
124
- align-items: center;
125
- cursor: pointer;
126
- }
127
-
128
- .action-modal-ios-content,
129
- .action-modal-android-content {
130
- height: fit-content;
131
- border-radius: 12px 12px 0 0;
132
- margin: auto 0 0 !important;
133
- }
134
-
135
- .action-modal-ios-overlay,
136
- .action-modal-android-overlay {
137
- background: var(--action-modal-background, $popup-background);
138
- cursor: pointer;
139
- }
140
-
141
- .smartapp-attached-file {
142
- display: flex;
143
- align-items: center;
144
- font-family: Open Sans, 'sans-serif';
145
- margin-bottom: 8px;
146
-
147
- &--icon {
148
- display: flex;
149
- align-items: flex-start;
150
- margin-right: 4px;
151
- }
152
-
153
- &__value {
154
- display: flex;
155
- flex-direction: row;
156
- gap: 12px;
157
- width: 100%;
158
-
159
- &--info {
160
- &__name {
161
- font-weight: 700;
162
- font-size: 16px;
163
- line-height: 22px;
164
- color: $color-black;
165
- margin: 0 0 4px 0;
166
- }
167
-
168
- &__weight {
169
- font-weight: 400;
170
- font-size: 12px;
171
- line-height: 16px;
172
- color: $color-light-black-50;
173
- margin: 0;
174
- }
175
- }
176
-
177
- &--icons {
178
- display: flex;
179
- align-items: flex-start;
180
-
181
- &__close {
182
- cursor: pointer;
183
- margin-right: 4px;
184
- }
185
-
186
- &__download {
187
- cursor: pointer;
188
- margin-right: 4px;
189
- }
190
- }
191
- }
192
-
193
- .justify-space-between {
194
- justify-content: space-between;
195
- }
196
- }
197
-
198
- .smartapp-avatar {
199
- display: flex;
200
- align-items: center;
201
- justify-content: center;
202
- width: 40px;
203
- height: 40px;
204
- font-family: Open Sans, 'sans-serif';
205
- font-size: 18px;
206
- color: $color-white;
207
- background: linear-gradient(135deg, $color-purple 0%, $color-dark-red 100%);
208
- text-decoration: none;
209
- white-space: nowrap;
210
- font-weight: 500;
211
- border-radius: 50%;
212
- cursor: pointer;
213
-
214
- img {
215
- width: 100%;
216
- height: 100%;
217
- object-fit: contain;
218
- border-radius: 50%;
219
- }
220
- }
221
-
222
- .smartapp-button {
223
- width: 100%;
224
-
225
- &__standard {
226
- cursor: pointer;
227
- padding: 12px 32px;
228
- border-radius: 8px;
229
-
230
- &:focus-visible {
231
- outline: none;
232
- }
233
- }
234
-
235
- &__low {
236
- cursor: pointer;
237
- padding: 5px 32px;
238
- border-radius: 3px;
239
-
240
- &:focus-visible {
241
- outline: none;
242
- }
243
- }
244
-
245
- &__disabled {
246
- opacity: 0.3;
247
- }
248
-
249
- &__color--blue {
250
- font-family: Open Sans, 'sans-serif';
251
- font-size: 14px;
252
- font-weight: 600;
253
- line-height: 19px;
254
- text-align: center;
255
- color: $color-white;
256
- background: $color-blue;
257
- border: 0;
258
- }
259
-
260
- &__color--white {
261
- font-family: Open Sans, 'sans-serif';
262
- font-size: 14px;
263
- font-weight: 600;
264
- line-height: 19px;
265
- text-align: center;
266
- color: $color-blue;
267
- background: $color-white;
268
- border: 1px solid $color-blue;
269
- }
270
-
271
- &__color--red {
272
- font-family: Open Sans, 'sans-serif';
273
- font-size: 14px;
274
- font-weight: 600;
275
- line-height: 19px;
276
- text-align: center;
277
- color: $color-white;
278
- background: $color-red;
279
- border: 0;
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
- }
290
- }
291
-
292
- .smartapp-calendar-component {
293
- position: relative;
294
- width: 100%;
295
-
296
- &__icon {
297
- position: absolute;
298
- }
299
-
300
- .react-datepicker {
301
- font-family: Open Sans, 'sans-serif';
302
- border-color: $color-light-black-10 !important;
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;
304
- padding-bottom: 24px;
305
-
306
- // Соединитель datepicker с input
307
- &__triangle {
308
- margin-top: 0 !important;
309
- }
310
-
311
- // Контейнер datepicker
312
- &__month-container {
313
- width: 250px;
314
- border-radius: 12px !important;
315
- }
316
-
317
- // Голова
318
- &__header {
319
- background: $color-lightest-gray !important;
320
- color: $color-light-black-50;
321
- padding: 0;
322
- border-bottom: 0;
323
- }
324
-
325
- // Месяц
326
- &__current-month {
327
- font-weight: 700;
328
- font-size: 14px;
329
- line-height: 19px;
330
- color: $color-light-black-50;
331
- padding: 8px 0 !important;
332
- }
333
-
334
- // Дни названий недель
335
- &__day-name {
336
- font-weight: 700;
337
- font-size: 12px;
338
- line-height: 16px;
339
- color: $color-light-black-50;
340
- margin-top: 16px;
341
- }
342
-
343
- // Все дни недели
344
- &__day-names {
345
- margin: 0;
346
- font-weight: 700;
347
- font-size: 12px;
348
- line-height: 16px;
349
- text-transform: uppercase;
350
- color: $color-light-black-50 !important;
351
- background: $color-white;
352
- }
353
-
354
- // Каждый блок недели
355
- &__day-name {
356
- margin-right: 3px;
357
- }
358
-
359
- // Дни, которые уже прошли
360
- &__day--disabled {
361
- color: $color-light-gray !important;
362
- }
363
-
364
- // Каждый день
365
- &__day {
366
- margin-right: 3px;
367
- color: $color-black;
368
- opacity: 0.5;
369
- font-weight: 400;
370
- font-size: 16px;
371
- line-height: 22px;
372
-
373
- &:hover {
374
- border-radius: 8px;
375
- background-color: $color-light-black-30;
376
- color: $color-black;
377
- }
378
- }
379
-
380
- // Стрелка
381
- &__navigation-icon::before {
382
- border-width: 2px 2px 0 0 !important;
383
- border-radius: 1px;
384
- width: 7px !important;
385
- height: 7px !important;
386
- }
387
-
388
- // Сегодняшний день
389
- &__day--today {
390
- background: $color-white;
391
- color: $color-black;
392
- font-weight: 600;
393
- opacity: 1;
394
- }
395
-
396
- // Первый выбранный день
397
- &__day--keyboard-selected {
398
- border-radius: 0;
399
- background-color: $color-white;
400
- }
401
-
402
- // Выбранный день
403
- &__day--selected {
404
- background-color: $color-white;
405
- color: $color-blue;
406
- opacity: 1 !important;
407
- font-weight: 800;
408
- }
409
- }
410
-
411
- // // Сам input для календаря с выбранными датами
412
- .smartapp-calendar-input {
413
- font-family: Open Sans, 'sans-serif';
414
- font-weight: 400;
415
- font-size: 14px;
416
- line-height: 19px;
417
- display: flex;
418
- align-items: center;
419
- cursor: pointer;
420
- padding: 12px 16px;
421
- border: 1px solid $color-black-5;
422
- border-radius: 8px;
423
- box-sizing: border-box;
424
- width: 100%;
425
-
426
- &__span {
427
- color: $color-lighter-gray;
428
- margin-right: 5px;
429
- }
430
- }
431
- }
432
-
433
- .smartapp-check-box {
434
- &__custom-check-box {
435
- z-index: -1;
436
- opacity: 0;
437
- position: absolute;
438
- }
439
-
440
- .checkmark::before {
441
- content: '';
442
- display: inline-block;
443
- width: 17px;
444
- height: 17px;
445
- background-color: $color-white;
446
- border: 1.5px solid $color-dark-gray;
447
- border-radius: 50%;
448
- cursor: pointer;
449
- }
450
-
451
- /* стили при наведении курсора на радио */
452
- &__custom-check-box:not(:disabled):not(:checked) + .checkmark:hover::before {
453
- border-color: $color-darker-gray;
454
- }
455
-
456
- /* стили для активной радиокнопки (при нажатии на неё) */
457
- &__custom-check-box:not(:disabled):active + .checkmark::before {
458
- border-color: $color-dark-gray;
459
- }
460
-
461
- /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
462
- &__custom-check-box:focus:not(:checked) + .checkmark::before {
463
- border-color: $color-dark-gray;
464
- background-size: 60% 60%;
465
- }
466
-
467
- /* стили для радиокнопки, находящейся в состоянии checked */
468
- &__custom-check-box:checked + svg {
469
- height: 20px;
470
- width: 20px;
471
- cursor: pointer;
472
- }
473
-
474
- &__custom-check-box:checked:not(:disabled):hover + svg {
475
- color: var(--checkbox-hover-color, $color-dark-blue) !important;
476
- }
477
-
478
- &__custom-check-box:disabled:not(:checked) + .checkmark::before,
479
- &__custom-check-box:disabled:checked + svg {
480
- opacity: 0.3;
481
- cursor: default;
482
- }
483
- }
484
-
485
- .smartapp-chips {
486
- display: flex;
487
- box-sizing: border-box;
488
- justify-content: space-between;
489
- font-family: Open Sans, 'sans-serif';
490
- max-width: 172px;
491
- padding: 4px 8px 4px 4px;
492
- border-radius: 20px;
493
- background-color: $color-lightest-gray;
494
-
495
- &__info {
496
- display: flex;
497
- align-items: center;
498
-
499
- &--name {
500
- color: $color-black;
501
- max-width: 105px;
502
- font-weight: 400;
503
- font-size: 14px;
504
- line-height: 20px;
505
- margin: 0 0 0 8px;
506
- white-space: nowrap;
507
- overflow: hidden;
508
- text-overflow: ellipsis;
509
- }
510
- }
511
-
512
- &__cancel-icon {
513
- display: flex;
514
- cursor: pointer;
515
- }
516
- }
517
-
518
- .smartapp-confirmation-modal {
519
- width: 100%;
520
- padding: 0 20px;
521
-
522
- &__ios,
523
- &__android {
524
- padding: 0;
525
- }
526
-
527
- &__content {
528
- box-sizing: border-box;
529
- width: 100%;
530
- background-color: $color-white;
531
- border-radius: 4px;
532
- padding: 32px 24px 24px 24px;
533
-
534
- &--ios,
535
- &--android {
536
- border-radius: 12px 12px 0 0;
537
- padding: 24px 24px 40px 24px;
538
- }
539
-
540
- &--title {
541
- font-family: Open Sans, 'sans-serif';
542
- font-size: 16px;
543
- font-weight: 700;
544
- line-height: 22px;
545
- text-align: center;
546
- color: $color-black;
547
- margin: 0 0 24px 0;
548
- }
549
-
550
- &--text {
551
- font-family: Open Sans, 'sans-serif';
552
- font-size: 14px;
553
- font-weight: 400;
554
- line-height: 16px;
555
- text-align: center;
556
- color: $color-black;
557
- margin: 0 0 24px 0;
558
- }
559
-
560
- &--delimiter {
561
- border-top: 0.5px solid $color-light-black-10;
562
- margin: 0 -24px 16px -24px;
563
- }
564
-
565
- &--buttons {
566
- display: flex;
567
- flex-direction: row;
568
- justify-content: center;
569
- gap: 8px;
570
- }
571
- }
572
- }
573
-
574
- .confirmation-modal-content {
575
- width: 100%;
576
- height: 100%;
577
- background: var(--confirmation-modal-background, $popup-background);
578
- display: flex;
579
- justify-content: center;
580
- align-items: center;
581
- cursor: pointer;
582
- }
583
-
584
- .confirmation-modal-ios-content,
585
- .confirmation-modal-android-content {
586
- height: fit-content;
587
- border-radius: 12px 12px 0 0;
588
- margin: auto 0 0 !important;
589
- }
590
-
591
- .confirmation-modal-ios-overlay,
592
- .confirmation-modal-android-overlay {
593
- background: var(--confirmation-modal-background, $popup-background);
594
- cursor: pointer;
595
- }
596
-
597
- .smartapp-custom-select {
598
- display: flex;
599
- flex-direction: row;
600
- align-items: center;
601
- font-family: Open Sans, 'sans-serif';
602
- font-size: 14px;
603
- line-height: 19px;
604
- color: $color-black;
605
- width: 100%;
606
- cursor: pointer;
607
-
608
- &__placeholder {
609
- font-size: 14px;
610
- line-height: 19px;
611
- text-overflow: ellipsis;
612
- }
613
-
614
- &__title {
615
- margin-top: 0;
616
- margin-bottom: 0;
617
- font-weight: 400;
618
- font-size: 14px;
619
- line-height: 19px;
620
- color: $color-black;
621
- }
622
- .css-1okebmr-indicatorSeparator {
623
- width: 0;
624
- }
625
-
626
- &__wrapper {
627
- outline: none;
628
- cursor: pointer;
629
- width: 100%;
630
- }
631
- }
632
-
633
- .smartapp-custom-select {
634
- &__option {
635
- display: flex;
636
-
637
- &--avatar {
638
- margin: 0 8px;
639
- }
640
-
641
- &--info {
642
- &__title {
643
- font-weight: 700;
644
- font-size: 12px;
645
- line-height: 16px;
646
- margin: 0;
647
- }
648
-
649
- &__email {
650
- margin: 0;
651
- font-weight: 400;
652
- font-size: 12px;
653
- line-height: 16px;
654
- color: $color-light-black-50;
655
- }
656
- }
657
- }
658
- }
659
-
660
- .smartapp-drag-drop {
661
- &__header {
662
- display: flex;
663
- justify-content: space-between;
664
- margin-bottom: 20px;
665
-
666
- &--title {
667
- margin: 0;
668
- font-weight: 700;
669
- font-size: 14px;
670
- line-height: 19px;
671
- color: $color-black;
672
- }
673
-
674
- &--counter {
675
- margin: 0;
676
- font-weight: 400;
677
- font-size: 12px;
678
- line-height: 16px;
679
- color: $color-light-black-50;
680
- }
681
- }
682
-
683
- &__container {
684
- &--instance {
685
- display: flex;
686
- justify-content: space-between;
687
- margin-bottom: 20px;
688
-
689
- &__info {
690
- display: flex;
691
- cursor: pointer;
692
-
693
- &--name {
694
- font-family: Open Sans, 'sans-serif';
695
- font-weight: 400;
696
- font-size: 14px;
697
- line-height: 20px;
698
- border: none;
699
- text-decoration: none;
700
- outline: none;
701
- min-width: 250px;
702
- margin: 0;
703
-
704
- &__completed {
705
- font-weight: 400;
706
- font-size: 14px;
707
- line-height: 20px;
708
- margin: 0;
709
- border: none;
710
- outline: none;
711
- text-decoration: line-through;
712
- min-width: 250px;
713
- }
714
- }
715
- &--create-subtask {
716
- font-weight: 400;
717
- font-size: 14px;
718
- line-height: 20px;
719
- margin: 0;
720
- color: $color-blue;
721
- }
722
-
723
- &--create-input {
724
- width: 100%;
725
- border: none;
726
- text-decoration: none;
727
- outline: none;
728
- font-weight: 400;
729
- font-size: 14px;
730
- line-height: 20px;
731
- }
732
- }
733
- &__icons {
734
- display: flex;
735
- align-items: center;
736
- gap: 5px;
737
- }
738
- }
739
- }
740
- }
741
-
742
- .mt-65 {
743
- margin-top: 65px;
744
- }
745
-
746
- .cp {
747
- cursor: pointer;
748
- }
749
-
750
- .smartapp-error {
751
- display: flex;
752
- justify-content: center;
753
- flex-direction: column;
754
- font-family: Open Sans, 'sans-serif';
755
- background-color: $color-white;
756
-
757
- &__icon {
758
- align-items: center;
759
- text-align: center;
760
- margin-bottom: 40px;
761
- }
762
-
763
- &__title {
764
- font-weight: 700;
765
- font-size: 16px;
766
- line-height: 22px;
767
- color: $color-black;
768
- margin: 0 0 16px 0;
769
- word-break: break-word;
770
- text-align: center;
771
- }
772
-
773
- &__text {
774
- margin: 0;
775
- font-weight: 400;
776
- font-size: 16px;
777
- line-height: 22px;
778
- color: $color-light-black-50;
779
- word-break: break-word;
780
- text-align: center;
781
- }
782
- }
783
-
784
- .smartapp-header {
785
- font-family: Open Sans, 'sans-serif';
786
- font-weight: 700;
787
- display: flex;
788
- justify-content: space-between;
789
- padding: 14.5px 0 14.5px 16px;
790
-
791
- &__web {
792
- width: calc(100% - 98px);
793
- padding-right: 82px;
794
- }
795
-
796
- &__ios,
797
- &__android {
798
- width: calc(100% - 125px);
799
- padding-right: 109px;
800
- }
801
-
802
- &__info {
803
- display: flex;
804
- align-items: center;
805
-
806
- &--arrow-back {
807
- margin-right: 16px;
808
- }
809
-
810
- &--title {
811
- margin: 0;
812
- }
813
- }
814
-
815
- &__icons {
816
- display: flex;
817
- align-items: center;
818
- gap: 16px;
819
-
820
- &--trash {
821
- display: flex;
822
- align-items: center;
823
- }
824
-
825
- &--refresh {
826
- cursor: default !important;
827
- animation: spin 1s linear infinite;
828
- }
829
- }
830
-
831
- svg {
832
- cursor: pointer;
833
- }
834
- }
835
-
836
- @keyframes spin {
837
- to {
838
- transform: rotate(360deg);
839
- }
840
- }
841
-
842
- .smartapp-input {
843
- font-family: Open Sans, 'sans-serif';
844
- display: flex;
845
- flex-direction: column;
846
- position: relative;
847
-
848
- &__title {
849
- font-size: 14px;
850
- font-weight: 600;
851
- line-height: 19px;
852
- color: $color-black;
853
- margin: 0 0 8px 0;
854
- }
855
-
856
- &__container {
857
- position: relative;
858
-
859
- &--field {
860
- width: 100%;
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;
868
-
869
- &__with-clear-button {
870
- padding-right: 44px;
871
- }
872
-
873
- &::placeholder {
874
- font-size: inherit;
875
- font-weight: 400;
876
- line-height: inherit;
877
- color: $color-light-black-30;
878
- }
879
-
880
- &:focus-visible {
881
- border: 1px solid $color-blue !important;
882
- outline: none;
883
- }
884
- }
885
-
886
- &--eye-button {
887
- display: flex;
888
- align-items: center;
889
- justify-content: center;
890
- margin: 0;
891
- padding: 0 16px;
892
- background: none;
893
- border: none;
894
- transition: transform var(--timing-default) linear;
895
- cursor: pointer;
896
- position: absolute;
897
- right: 1px;
898
- top: 15px;
899
- color: $color-gray;
900
-
901
- &:active {
902
- transform: scale(0.95);
903
- }
904
- }
905
-
906
- &--clear-icon {
907
- position: absolute;
908
- top: 0;
909
- bottom: 0;
910
- right: 16px;
911
- margin: auto 0;
912
- cursor: pointer;
913
- }
914
- }
915
-
916
- &__error {
917
- font-size: 12px;
918
- line-height: 16px;
919
- color: $color-light-red;
920
- margin: 8px 0 0 0;
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
- }
942
- }
943
-
944
- .smartapp-loader-wrapper {
945
- font-family: Open Sans, 'sans-serif';
946
- display: flex;
947
- align-items: center;
948
- justify-content: center;
949
-
950
- &__full-screen {
951
- position: fixed;
952
- top: 0;
953
- right: 0;
954
- bottom: 0;
955
- left: 0;
956
- z-index: 100;
957
- }
958
- }
959
-
960
- .smartapp-loader {
961
- display: flex;
962
- flex-direction: column;
963
- align-items: center;
964
- gap: 16px;
965
- padding: 8px 0;
966
-
967
- &__title {
968
- font-weight: 400;
969
- text-align: center;
970
- color: $color-light-black-30;
971
- word-break: break-word;
972
- margin: 0;
973
-
974
- &--dark {
975
- color: $color-white;
976
- opacity: 0.3;
977
- }
978
- }
979
- }
980
-
981
- .smartapp-profile {
982
- position: absolute;
983
- padding: 16px;
984
- box-sizing: border-box;
985
- box-shadow: 2px 2px 6px $color-black-60;
986
- max-width: 330px;
987
- top: 45px;
988
- background-color: $color-white;
989
- min-width: 300px;
990
-
991
- &__container {
992
- position: relative;
993
- display: inline-flex;
994
- font-family: Open Sans, 'sans-serif';
995
- z-index: 1;
996
- max-width: 330px;
997
- }
998
-
999
- &__avatar {
1000
- display: flex;
1001
- align-items: center;
1002
- justify-content: center;
1003
- width: 40px;
1004
- height: 40px;
1005
- font-size: 18px;
1006
- color: $color-white;
1007
- background-color: $color-light-blue;
1008
- text-decoration: none;
1009
- white-space: nowrap;
1010
- font-weight: 500;
1011
- border-radius: 50%;
1012
- margin-right: 16px;
1013
- cursor: pointer;
1014
- }
1015
-
1016
- &__current-profile {
1017
- display: flex;
1018
- align-items: center;
1019
- justify-content: space-between;
1020
-
1021
- &--info {
1022
- display: flex;
1023
- align-items: center;
1024
-
1025
- &__data {
1026
- &--username {
1027
- margin: 0;
1028
- font-weight: 700;
1029
- font-size: 14px;
1030
- line-height: 19px;
1031
- }
1032
-
1033
- &--email {
1034
- margin: 0;
1035
- font-weight: 400;
1036
- font-size: 12px;
1037
- line-height: 16px;
1038
- }
1039
- }
1040
- }
1041
-
1042
- &--logout {
1043
- cursor: pointer;
1044
- }
1045
- }
1046
- &__add-profile {
1047
- display: flex;
1048
- align-items: center;
1049
- margin-top: 16px;
1050
- cursor: pointer;
1051
-
1052
- &--icon {
1053
- width: 44px;
1054
- height: 44px;
1055
- margin-right: 12px;
1056
- margin-left: -2px;
1057
- }
1058
-
1059
- &--title {
1060
- margin: 0;
1061
- color: $color-blue;
1062
- font-weight: 700;
1063
- font-size: 14px;
1064
- line-height: 19px;
1065
- }
1066
- }
1067
- }
1068
-
1069
- .smartapp-switcher {
1070
- font-family: Open Sans, 'sans-serif';
1071
-
1072
- &__instance {
1073
- padding: 8px 16px;
1074
- background: $color-black-5;
1075
- border-radius: 4px;
1076
- border: 0;
1077
- font-weight: 700;
1078
- font-size: 12px;
1079
- line-height: 16px;
1080
- letter-spacing: -0.01em;
1081
- color: $color-black-20;
1082
- text-decoration: none;
1083
- white-space: nowrap;
1084
- box-sizing: border-box;
1085
- cursor: pointer;
1086
- text-align: center !important;
1087
- width: 100% !important;
1088
-
1089
- &--active {
1090
- background: $color-blue;
1091
- color: $color-white;
1092
- }
1093
- }
1094
- .slick-slide {
1095
- margin-right: 5px !important;
1096
- text-align: center !important;
1097
- width: 100% !important;
1098
- }
1099
- .slick-track {
1100
- display: flex;
1101
- }
1102
- }
1103
-
1104
- .smartapp-toggle-wrapper {
1105
- display: flex;
1106
- flex-direction: row;
1107
- align-items: center;
1108
- width: fit-content;
1109
- }
1110
-
1111
- .smartapp-toggle {
1112
- position: relative;
1113
- display: inline-block;
1114
- width: 38px;
1115
- height: 20px;
1116
-
1117
- input {
1118
- display: none;
1119
- }
1120
- }
1121
-
1122
- .smartapp-slider {
1123
- position: absolute;
1124
- top: 0;
1125
- left: 0;
1126
- right: 0;
1127
- bottom: 0;
1128
- border-radius: 69px;
1129
- background: $color-dark-gray;
1130
- transition: 0.2s;
1131
- -webkit-transition: 0.2s;
1132
- cursor: pointer;
1133
-
1134
- &__disabled {
1135
- opacity: 0.3;
1136
- background: $color-dark-gray !important;
1137
- cursor: default;
1138
- }
1139
-
1140
- &:before {
1141
- content: '';
1142
- position: absolute;
1143
- left: 2px;
1144
- top: 0;
1145
- bottom: 0;
1146
- height: 16px;
1147
- width: 16px;
1148
- border-radius: 50%;
1149
- background: $color-white;
1150
- transition: 0.2s;
1151
- -webkit-transition: 0.2s;
1152
- margin: auto 0;
1153
- }
1154
-
1155
- &:hover {
1156
- background: $color-darker-gray;
1157
- }
1158
- }
1159
-
1160
- input:checked + .smartapp-slider {
1161
- background: var(--toggle-color, $color-blue);
1162
- }
1163
-
1164
- input:checked + .smartapp-slider__disabled {
1165
- background: var(--toggle-color, $color-blue) !important;
1166
- }
1167
-
1168
- input:checked + .smartapp-slider:hover {
1169
- background: var(--toggle-hover-color, $color-dark-blue);
1170
- }
1171
-
1172
- input:checked + .smartapp-slider:before {
1173
- transform: translateX(18px);
1174
- -ms-transform: translateX(18px);
1175
- -webkit-transform: translateX(18px);
1176
- }
1177
-
1178
- .smartapp-stories-content {
1179
- width: 100%;
1180
- height: 100%;
1181
- display: flex;
1182
- justify-content: center;
1183
- align-items: center;
1184
- background: $blurred-background;
1185
- -webkit-backdrop-filter: blur(15px);
1186
- backdrop-filter: blur(15px);
1187
- border: none;
1188
- padding: 0;
1189
-
1190
- &__background-video {
1191
- position: absolute;
1192
- width: 100%;
1193
- height: 100%;
1194
- background: $color-black;
1195
- object-fit: cover;
1196
- -webkit-filter: brightness(0.8) blur(15px);
1197
- filter: brightness(0.8) blur(15px);
1198
- -webkit-transform: scale(1.2, 1.1);
1199
- transform: scale(1.2, 1.1);
1200
- }
1201
-
1202
- & > .smartapp-stories-content__background-video:last-child {
1203
- -webkit-transform: scale(1.1, 1.1);
1204
- transform: scale(1.1, 1.1);
1205
- }
1206
-
1207
- &::before {
1208
- content: '';
1209
- position: absolute;
1210
- width: 100%;
1211
- height: 100%;
1212
- background: var(--background);
1213
- background-image: var(--background);
1214
- background-size: cover;
1215
- -webkit-filter: brightness(0.8) blur(15px);
1216
- filter: brightness(0.8) blur(15px);
1217
- -webkit-transform: scale(1.1, 1.1);
1218
- transform: scale(1.1, 1.1);
1219
- }
1220
- }
1221
-
1222
- .smartapp-stories {
1223
- height: 100%;
1224
- position: relative;
1225
-
1226
- & > div > div:nth-child(2) > div {
1227
- width: 100%;
1228
- height: 100%;
1229
-
1230
- & > video:first-child {
1231
- width: 100% !important;
1232
- height: 100%;
1233
- z-index: 2;
1234
- }
1235
- }
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
-
1243
- &__web {
1244
- width: 400px;
1245
- }
1246
-
1247
- &__ios,
1248
- &__android {
1249
- width: 100%;
1250
- }
1251
-
1252
- &__video {
1253
- z-index: 1;
1254
- }
1255
-
1256
- &__story {
1257
- height: 100%;
1258
- display: flex;
1259
- flex-direction: column;
1260
- justify-content: center;
1261
- color: $color-white;
1262
-
1263
- &--image-bg {
1264
- background: $color-light-black-20;
1265
- }
1266
-
1267
- &--title {
1268
- font-size: 24px;
1269
- font-weight: 700;
1270
- line-height: 33px;
1271
- margin-bottom: 8px;
1272
- padding: 0 24px;
1273
- }
1274
-
1275
- &--body {
1276
- font-size: 16px;
1277
- font-weight: 400;
1278
- line-height: 24px;
1279
- padding: 0 24px;
1280
- }
1281
-
1282
- &--image {
1283
- display: flex;
1284
- justify-content: center;
1285
- padding: 0 24px;
1286
- margin-bottom: 32px;
1287
-
1288
- img {
1289
- width: 100%;
1290
- }
1291
- }
1292
-
1293
- &--button {
1294
- position: absolute;
1295
- bottom: 32px;
1296
- font-size: 16px;
1297
- font-weight: 700;
1298
- line-height: 22px;
1299
- text-align: center;
1300
- border-radius: 8px;
1301
- padding: 12px 32px;
1302
- cursor: pointer;
1303
- z-index: 1000;
1304
-
1305
- &__web {
1306
- left: 24px;
1307
- right: 24px;
1308
- }
1309
-
1310
- &__ios,
1311
- &__android {
1312
- left: 16px;
1313
- right: 16px;
1314
- }
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
- }
1328
- }
1329
-
1330
- &__animate-right {
1331
- animation: slideInRight 0.5s;
1332
- }
1333
-
1334
- &__animate-left {
1335
- animation: slideInLeft 0.5s;
1336
- }
1337
-
1338
- &__icon {
1339
- position: absolute;
1340
- left: 16px;
1341
- z-index: 1000;
1342
- cursor: pointer;
1343
-
1344
- &--web {
1345
- top: 12px;
1346
- }
1347
-
1348
- &--ios {
1349
- top: 11px;
1350
- }
1351
-
1352
- &--android {
1353
- top: 16px;
1354
- }
1355
- }
1356
- }
1357
-
1358
- @media (min-width: 401px) {
1359
- .smartapp-stories__web > div > div:first-child {
1360
- max-width: calc(100% - 48px) !important;
1361
- padding-left: 24px !important;
1362
- padding-right: 24px !important;
1363
- }
1364
- }
1365
-
1366
- @keyframes loading {
1367
- to {
1368
- transform: rotate(360deg);
1369
- }
1370
- }
1371
-
1372
- .smartapp-sync-loader {
1373
- position: absolute;
1374
- left: 0;
1375
- right: 0;
1376
- width: fit-content;
1377
- display: flex;
1378
- align-items: center;
1379
- gap: 8px;
1380
- border-radius: 100px;
1381
- box-shadow: 0 1px 8px 0 $color-black-5;
1382
- padding: 8px 12px;
1383
- margin: 16px auto 0 auto;
1384
- z-index: 1000;
1385
- animation: loader-appear 0.25s linear;
1386
-
1387
- &__text {
1388
- font-size: 12px;
1389
- font-weight: 600;
1390
- line-height: 16px;
1391
- display: flex;
1392
- color: $color-black;
1393
-
1394
- &--dark {
1395
- color: $color-white;
1396
- }
1397
-
1398
- &--dots {
1399
- width: 1.45ch;
1400
- display: flex;
1401
- justify-content: flex-start;
1402
-
1403
- &__dot {
1404
- opacity: 0;
1405
- animation: dot-appear 1s ease-in 1;
1406
-
1407
- &:nth-child(1) {
1408
- animation-delay: 0.2s;
1409
- }
1410
-
1411
- &:nth-child(2) {
1412
- animation-delay: 0.4s;
1413
- }
1414
-
1415
- &:nth-child(3) {
1416
- animation-delay: 0.6s;
1417
- }
1418
- }
1419
- }
1420
- }
1421
-
1422
- &__icon {
1423
- animation: loader-spin 1s linear infinite;
1424
- }
1425
- }
1426
-
1427
- @keyframes loader-appear {
1428
- from {
1429
- transform: scale(0);
1430
- opacity: 0;
1431
- }
1432
- to {
1433
- transform: scale(1);
1434
- opacity: 1;
1435
- }
1436
- }
1437
-
1438
- @keyframes dot-appear {
1439
- 0% {
1440
- opacity: 0;
1441
- }
1442
- 25% {
1443
- opacity: 0.5;
1444
- }
1445
- 50% {
1446
- opacity: 1;
1447
- }
1448
- 100% {
1449
- opacity: 1;
1450
- }
1451
- }
1452
-
1453
- @keyframes loader-spin {
1454
- to {
1455
- transform: rotate(360deg);
1456
- }
1457
- }
1458
-
1459
- .smartapp-modal {
1460
- width: 100%;
1461
- padding: 0 20px;
1462
- cursor: default;
1463
-
1464
- &__ios,
1465
- &__android {
1466
- padding: 0;
1467
- }
1468
-
1469
- &__content {
1470
- box-sizing: border-box;
1471
- position: relative;
1472
- display: flex;
1473
- flex-direction: column;
1474
- gap: 24px;
1475
- width: 100%;
1476
- background-color: $color-white;
1477
- border-radius: 4px;
1478
- padding: 24px;
1479
-
1480
- &--ios,
1481
- &--android {
1482
- border-radius: 12px 12px 0 0;
1483
- padding: 24px 24px 40px 24px;
1484
- }
1485
-
1486
- &--title {
1487
- font-family: Open Sans, 'sans-serif';
1488
- font-size: 16px;
1489
- font-weight: 700;
1490
- line-height: normal;
1491
- text-align: center;
1492
- color: $color-black;
1493
- margin: 0;
1494
- }
1495
-
1496
- &--close-icon {
1497
- position: absolute;
1498
- top: 8px;
1499
- right: 8px;
1500
- cursor: pointer;
1501
- }
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
- }
1515
- }
1516
-
1517
- .modal-content {
1518
- width: 100%;
1519
- height: 100%;
1520
- background: var(--modal-background, $popup-background);
1521
- display: flex;
1522
- justify-content: center;
1523
- align-items: center;
1524
- cursor: pointer;
1525
- }
1526
-
1527
- .modal-ios-content,
1528
- .modal-android-content {
1529
- height: fit-content;
1530
- border-radius: 12px 12px 0 0;
1531
- margin: auto 0 0 !important;
1532
- }
1533
-
1534
- .modal-ios-overlay,
1535
- .modal-android-overlay {
1536
- background: var(--modal-background, $popup-background);
1537
- cursor: pointer;
1538
- }
1539
-
1540
- .smartapp-notification {
1541
- display: grid;
1542
- grid-template-columns: 24px auto;
1543
- gap: 8px;
1544
- width: calc(100vw - 50px);
1545
- font-family: Open Sans, 'sans-serif';
1546
- font-size: 14px;
1547
- font-weight: 400;
1548
- line-height: 19px;
1549
- color: $color-black;
1550
- background: $color-white;
1551
- border-radius: 4px;
1552
- border: 1px solid $color-black-10;
1553
- box-shadow: 0 2px 16px 0 $color-black-8;
1554
- padding: 16px;
1555
-
1556
- &__content {
1557
- display: flex;
1558
- align-items: center;
1559
- justify-content: space-between;
1560
-
1561
- &--action {
1562
- font-weight: 600;
1563
- color: $color-blue;
1564
- cursor: pointer;
1565
- }
1566
- }
1567
-
1568
- &__warning {
1569
- color: $color-orange;
1570
- background: $color-light-orange;
1571
- border: 1px solid $color-orange-10;
1572
- box-shadow: none;
1573
- }
1574
-
1575
- &__error {
1576
- color: $color-light-red;
1577
- }
1578
- }
1579
-
1580
- .notification-overlay {
1581
- inset: auto 8px 8px 8px !important;
1582
- }
1583
-
1584
- .notification-ios-overlay,
1585
- .notification-android-overlay {
1586
- bottom: 40px !important;
1587
- }
1588
-
1589
- .smartapp-radio-button {
1590
- width: fit-content;
1591
-
1592
- input[type="radio"] {
1593
- display: grid;
1594
- align-items: center;
1595
- justify-content: center;
1596
- width: 20px;
1597
- height: 20px;
1598
- border: 1.5px solid $color-dark-gray;
1599
- border-radius: 50%;
1600
- background-color: $color-white;
1601
- margin: 0;
1602
- appearance: none;
1603
- -webkit-appearance: none;
1604
- }
1605
-
1606
- input[type="radio"]:not(:disabled):hover {
1607
- border-color: $color-darker-gray;
1608
- cursor: pointer;
1609
- }
1610
-
1611
- input[type="radio"]:disabled {
1612
- opacity: 0.3;
1613
- }
1614
-
1615
- input[type="radio"]:checked {
1616
- border: 2px solid var(--radio-button-color, $color-blue);
1617
- }
1618
-
1619
- input[type="radio"]:checked:not(:disabled):hover {
1620
- border-color: var(--radio-button-hover-color, $color-dark-blue);
1621
- }
1622
-
1623
- input[type="radio"]::before {
1624
- content: "";
1625
- width: 10px;
1626
- height: 10px;
1627
- border-radius: 50%;
1628
- transform: scale(0);
1629
- background: var(--radio-button-color, $color-blue);
1630
- }
1631
-
1632
- input[type="radio"]:checked::before {
1633
- transform: scale(1);
1634
- }
1635
-
1636
- input[type="radio"]:checked:not(:disabled):hover::before {
1637
- background: var(--radio-button-hover-color, $color-dark-blue);
1638
- }
1639
- }