@expressms/smartapp-ui 1.1.7 → 1.1.9

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