@nyris/nyris-webapp 0.3.3 → 0.3.6

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 (205) hide show
  1. package/build/asset-manifest.json +18 -32
  2. package/build/index.html +1 -1
  3. package/build/{precache-manifest.01ce682577e62add75aa397b2a944b75.js → precache-manifest.bffed513ca17d8ac16af1cc3aaa7d908.js} +13 -89
  4. package/build/service-worker.js +1 -1
  5. package/build/static/css/2.43a1c8b7.chunk.css +2 -0
  6. package/build/static/css/2.43a1c8b7.chunk.css.map +1 -0
  7. package/build/static/css/main.2a76dc8a.chunk.css +2 -0
  8. package/build/static/css/main.2a76dc8a.chunk.css.map +1 -0
  9. package/build/static/js/2.4e9a4ce1.chunk.js +3 -0
  10. package/build/static/js/2.4e9a4ce1.chunk.js.LICENSE.txt +79 -0
  11. package/build/static/js/2.4e9a4ce1.chunk.js.map +1 -0
  12. package/build/static/js/main.ec93aa4d.chunk.js +2 -0
  13. package/build/static/js/main.ec93aa4d.chunk.js.map +1 -0
  14. package/build/static/js/{runtime-main.b418ff16.js → runtime-main.f5553a9b.js} +1 -1
  15. package/build/static/js/{runtime-main.b418ff16.js.map → runtime-main.f5553a9b.js.map} +1 -1
  16. package/package.json +7 -30
  17. package/src/App.css +64 -20
  18. package/src/App.tsx +253 -19
  19. package/src/AppMD.tsx +320 -0
  20. package/src/Demo2.tsx +220 -0
  21. package/src/actions/nyrisAppActions.ts +76 -0
  22. package/src/actions/searchActions.ts +218 -0
  23. package/src/components/ExampleImages.tsx +17 -32
  24. package/src/components/Feedback.tsx +48 -87
  25. package/src/components/FiltersList.tsx +69 -0
  26. package/src/components/Header.tsx +17 -32
  27. package/src/components/Result.tsx +113 -186
  28. package/src/components/Sidebar.tsx +40 -0
  29. package/src/defaults.ts +3 -4
  30. package/src/{Store/epics → epics}/feedback.ts +0 -0
  31. package/src/epics/index.ts +154 -0
  32. package/src/epics/search.ts +203 -0
  33. package/src/{Store/epics → epics}/types.ts +1 -1
  34. package/src/{common/assets/fonts → fonts}/roboto-bold-webfont.woff +0 -0
  35. package/src/{common/assets/fonts → fonts}/roboto-bold-webfont.woff2 +0 -0
  36. package/src/{common/assets/fonts → fonts}/roboto-italic-webfont.woff +0 -0
  37. package/src/{common/assets/fonts → fonts}/roboto-italic-webfont.woff2 +0 -0
  38. package/src/{common/assets/fonts → fonts}/roboto-regular-webfont.woff +0 -0
  39. package/src/{common/assets/fonts → fonts}/roboto-regular-webfont.woff2 +0 -0
  40. package/src/{common/assets/fonts → fonts}/robotocondensed-bold-webfont.woff +0 -0
  41. package/src/{common/assets/fonts → fonts}/robotocondensed-bold-webfont.woff2 +0 -0
  42. package/src/{common/assets/fonts → fonts}/robotocondensed-bolditalic-webfont.woff +0 -0
  43. package/src/{common/assets/fonts → fonts}/robotocondensed-bolditalic-webfont.woff2 +0 -0
  44. package/src/{common/assets/images → images}/fav/android-icon-192x192.png +0 -0
  45. package/src/{common/assets/images → images}/fav/apple-icon-114x114.png +0 -0
  46. package/src/{common/assets/images → images}/fav/apple-icon-120x120.png +0 -0
  47. package/src/{common/assets/images → images}/fav/apple-icon-144x144.png +0 -0
  48. package/src/{common/assets/images → images}/fav/apple-icon-152x152.png +0 -0
  49. package/src/{common/assets/images → images}/fav/apple-icon-180x180.png +0 -0
  50. package/src/{common/assets/images → images}/fav/apple-icon-57x57.png +0 -0
  51. package/src/{common/assets/images → images}/fav/apple-icon-60x60.png +0 -0
  52. package/src/{common/assets/images → images}/fav/apple-icon-72x72.png +0 -0
  53. package/src/{common/assets/images → images}/fav/apple-icon-76x76.png +0 -0
  54. package/src/{common/assets/images → images}/fav/browserconfig.xml +0 -0
  55. package/src/{common/assets/images → images}/fav/favicon-16x16.png +0 -0
  56. package/src/{common/assets/images → images}/fav/favicon-32x32.png +0 -0
  57. package/src/{common/assets/images → images}/fav/favicon-96x96.png +0 -0
  58. package/src/{common/assets/images → images}/fav/manifest.json +0 -0
  59. package/src/{common/assets/images → images}/ic_cam.png +0 -0
  60. package/src/{common/assets/images → images}/ic_cam.svg +0 -0
  61. package/src/{common/assets/images → images}/ic_cam_large.png +0 -0
  62. package/src/{common/assets/images → images}/ic_cam_large.svg +0 -0
  63. package/src/{common/assets/images → images}/ic_cam_large_noimage.png +0 -0
  64. package/src/{common/assets/images → images}/ic_close_feedback.png +0 -0
  65. package/src/{common/assets/images → images}/ic_close_feedback.svg +0 -0
  66. package/src/{common/assets/images → images}/ic_shopNow.png +0 -0
  67. package/src/{common/assets/images → images}/ic_shopNow.svg +0 -0
  68. package/src/{common/assets/images → images}/ic_shopNowLight.png +0 -0
  69. package/src/{common/assets/images → images}/ic_shopNowLight.svg +0 -0
  70. package/src/{common/assets/images → images}/nyris_logo.png +0 -0
  71. package/src/{common/assets/images → images}/rewe.svg +0 -0
  72. package/src/{common/assets/images → images}/sectionTransBack.png +0 -0
  73. package/src/{common/assets/images → images}/sectionTransBack.svg +0 -0
  74. package/src/{common/assets/images → images}/sectionTransTop.png +0 -0
  75. package/src/{common/assets/images → images}/sectionTransTop.svg +0 -0
  76. package/src/index.css +416 -573
  77. package/src/index.tsx +190 -39
  78. package/src/types.ts +3 -43
  79. package/tsconfig.json +8 -3
  80. package/build/js/settings.example.js +0 -31
  81. package/build/js/test.js +0 -56
  82. package/build/static/css/2.8285176a.chunk.css +0 -2
  83. package/build/static/css/2.8285176a.chunk.css.map +0 -1
  84. package/build/static/css/main.6676fe1f.chunk.css +0 -2
  85. package/build/static/css/main.6676fe1f.chunk.css.map +0 -1
  86. package/build/static/js/2.d1562c08.chunk.js +0 -3
  87. package/build/static/js/2.d1562c08.chunk.js.LICENSE.txt +0 -133
  88. package/build/static/js/2.d1562c08.chunk.js.map +0 -1
  89. package/build/static/js/main.5c08aba4.chunk.js +0 -2
  90. package/build/static/js/main.5c08aba4.chunk.js.map +0 -1
  91. package/build/static/media/Fill.37094b44.svg +0 -3
  92. package/build/static/media/Montserrat-Bold.5a052e98.otf +0 -0
  93. package/build/static/media/Montserrat-Light.21789e89.otf +0 -0
  94. package/build/static/media/Montserrat-Medium.a53e0373.otf +0 -0
  95. package/build/static/media/Montserrat-Regular.71cdc681.otf +0 -0
  96. package/build/static/media/Montserrat-SemiBold.f613d915.otf +0 -0
  97. package/build/static/media/Rectangle.4dd8b747.png +0 -0
  98. package/build/static/media/admin.9529c7f6.svg +0 -3
  99. package/build/static/media/bg-support-page.6ac55268.svg +0 -9
  100. package/build/static/media/book_mark.8e294c0b.svg +0 -3
  101. package/build/static/media/icon_dislike.94607ca6.svg +0 -3
  102. package/build/static/media/icon_like.a4fb1b18.svg +0 -3
  103. package/build/static/media/icon_modal_image.3068d0ea.svg +0 -21
  104. package/build/static/media/icon_search_image.c2c728c0.svg +0 -3
  105. package/build/static/media/nyris_logo.22d8f250.svg +0 -3
  106. package/build/static/media/reload_icon.4b579a74.svg +0 -3
  107. package/build/static/media/save_search.bebaeebf.svg +0 -3
  108. package/build/static/media/support.289c3a3c.svg +0 -3
  109. package/build/static/media/translate_icon.f0492297.svg +0 -3
  110. package/public/js/settings.example.js +0 -31
  111. package/public/js/test.js +0 -56
  112. package/src/Router.tsx +0 -97
  113. package/src/Store/Auth.ts +0 -44
  114. package/src/Store/Nyris.ts +0 -77
  115. package/src/Store/Search.ts +0 -269
  116. package/src/Store/Store.ts +0 -46
  117. package/src/Store/common.d.ts +0 -10
  118. package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Bold.otf +0 -0
  119. package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Light.otf +0 -0
  120. package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Medium.otf +0 -0
  121. package/src/common/assets/fonts/Montserrat_OTF/Montserrat-Regular.otf +0 -0
  122. package/src/common/assets/fonts/Montserrat_OTF/Montserrat-SemiBold.otf +0 -0
  123. package/src/common/assets/icons/Fill.png +0 -0
  124. package/src/common/assets/icons/Fill.svg +0 -3
  125. package/src/common/assets/icons/Icon_wechat.png +0 -0
  126. package/src/common/assets/icons/Icon_whatsapp.png +0 -0
  127. package/src/common/assets/icons/admin.png +0 -0
  128. package/src/common/assets/icons/admin.svg +0 -3
  129. package/src/common/assets/icons/book_mark.png +0 -0
  130. package/src/common/assets/icons/book_mark.svg +0 -3
  131. package/src/common/assets/icons/icon_barcode.png +0 -0
  132. package/src/common/assets/icons/icon_camera.png +0 -0
  133. package/src/common/assets/icons/icon_dislike.svg +0 -3
  134. package/src/common/assets/icons/icon_disslike.png +0 -0
  135. package/src/common/assets/icons/icon_email.png +0 -0
  136. package/src/common/assets/icons/icon_like.png +0 -0
  137. package/src/common/assets/icons/icon_like.svg +0 -3
  138. package/src/common/assets/icons/icon_modal_image.png +0 -0
  139. package/src/common/assets/icons/icon_modal_image.svg +0 -21
  140. package/src/common/assets/icons/icon_picture.png +0 -0
  141. package/src/common/assets/icons/icon_search_image.png +0 -0
  142. package/src/common/assets/icons/icon_search_image.svg +0 -3
  143. package/src/common/assets/icons/nyris_logo.svg +0 -3
  144. package/src/common/assets/icons/reload_icon.png +0 -0
  145. package/src/common/assets/icons/reload_icon.svg +0 -3
  146. package/src/common/assets/icons/save_search.png +0 -0
  147. package/src/common/assets/icons/save_search.svg +0 -3
  148. package/src/common/assets/icons/setting_search_icon.png +0 -0
  149. package/src/common/assets/icons/support.png +0 -0
  150. package/src/common/assets/icons/support.svg +0 -3
  151. package/src/common/assets/icons/translate_icon.png +0 -0
  152. package/src/common/assets/icons/translate_icon.svg +0 -3
  153. package/src/common/assets/icons/view_off.png +0 -0
  154. package/src/common/assets/images/Rectangle.png +0 -0
  155. package/src/common/assets/images/bg-support-page.svg +0 -9
  156. package/src/common/assets/images/image_test.png +0 -0
  157. package/src/components/CustomHits/index.tsx +0 -57
  158. package/src/components/DetailItem.tsx +0 -175
  159. package/src/components/DragDropFile.tsx +0 -188
  160. package/src/components/FilterComponent.tsx +0 -33
  161. package/src/components/Footer.tsx +0 -29
  162. package/src/components/FooterMD.tsx +0 -54
  163. package/src/components/FooterNewVersion.tsx +0 -12
  164. package/src/components/FooterResult.tsx +0 -47
  165. package/src/components/HeaderMd.tsx +0 -39
  166. package/src/components/HeaderNewVersion.tsx +0 -92
  167. package/src/components/Layout.tsx +0 -46
  168. package/src/components/LoadingScreen/index.tsx +0 -29
  169. package/src/components/Navigation.tsx +0 -34
  170. package/src/components/Panigation/Pagination.tsx +0 -140
  171. package/src/components/Panigation/cx.js +0 -3
  172. package/src/components/Panigation/isModifierClick.js +0 -10
  173. package/src/components/Saved/AllItem.tsx +0 -32
  174. package/src/components/Saved/Category.tsx +0 -16
  175. package/src/components/carousel/DefaultCarousel.tsx +0 -48
  176. package/src/components/common.d.ts +0 -9
  177. package/src/components/common.scss +0 -54
  178. package/src/components/default-select.tsx +0 -44
  179. package/src/components/hitItem/hits.tsx +0 -50
  180. package/src/components/hitItem/infinitiHits.tsx +0 -33
  181. package/src/components/input/inputSearch.tsx +0 -77
  182. package/src/components/modal/DefaultModal.tsx +0 -28
  183. package/src/components/preview/preview.tsx +0 -433
  184. package/src/components/results/ItemResult.tsx +0 -155
  185. package/src/components/search/ListSearch.tsx +0 -209
  186. package/src/modules/LandingPage/common.scss +0 -1304
  187. package/src/modules/LandingPage/indexApp.tsx +0 -492
  188. package/src/modules/LandingPage/indexAppMD.tsx +0 -501
  189. package/src/modules/LandingPage/indexNewVersion.tsx +0 -117
  190. package/src/page/Auth/login.tsx +0 -7
  191. package/src/page/Exception/404.tsx +0 -11
  192. package/src/page/History/index.tsx +0 -76
  193. package/src/page/Profile/index.tsx +0 -87
  194. package/src/page/Saved/MockData.ts +0 -223
  195. package/src/page/Saved/index.tsx +0 -166
  196. package/src/page/Support/index.tsx +0 -160
  197. package/src/page/result/MockData.ts +0 -36
  198. package/src/page/result/index.tsx +0 -473
  199. package/src/services/Feedback.ts +0 -65
  200. package/src/services/findByImage.ts +0 -24
  201. package/src/services/findRegionsCustom.ts +0 -212
  202. package/src/services/image.ts +0 -110
  203. package/src/services/nyris.ts +0 -123
  204. package/src/services/session.ts +0 -20
  205. package/src/services/types.ts +0 -96
@@ -1,1304 +0,0 @@
1
- // TODO: CSS common all repo
2
- * {
3
- margin: 0;
4
- padding: 0;
5
- font-family: "Montserrat" !important;
6
- }
7
- .w-100 {
8
- width: 100% !important;
9
- }
10
- .w-50 {
11
- width: 50% !important;
12
- }
13
- .textarea-ct {
14
- padding: 5px 10px;
15
- }
16
- .bg-dark {
17
- background-color: #2b2c46 !important;
18
- }
19
- .bg-pink2 {
20
- background-color: #e31b5d !important;
21
- }
22
- a {
23
- text-decoration: none !important;
24
- &:hover {
25
- color: #3e36dc !important;
26
- }
27
- }
28
- .text-gray2 {
29
- color: #55566b !important;
30
- }
31
-
32
- .box-gray2 {
33
- background-color: #e9e9ec;
34
- }
35
-
36
- button {
37
- min-width: auto !important;
38
- }
39
- .ml-auto {
40
- margin-left: auto !important;
41
- }
42
- .mr-auto {
43
- margin-right: auto !important;
44
- }
45
- .mt-auto {
46
- margin-top: auto !important;
47
- }
48
- .w-100 {
49
- width: 100%;
50
- }
51
-
52
- .fw-500 {
53
- font-weight: 500 !important;
54
- }
55
- .fw-600 {
56
- font-weight: 600 !important;
57
- }
58
- .fw-700 {
59
- font-weight: 700 !important;
60
- }
61
- .text-dark {
62
- color: #1e1f31;
63
- }
64
- .text-dark2 {
65
- color: #2b2c46;
66
- }
67
- .text-white {
68
- color: #fff !important;
69
- }
70
-
71
- .text-gray {
72
- color: #55566b;
73
- }
74
-
75
- .text-f40 {
76
- font-size: 40px !important;
77
- line-height: 37px !important;
78
- }
79
-
80
- .text-btn-small {
81
- font-family: "Montserrat";
82
- font-weight: 500 !important;
83
- font-size: 11px !important;
84
- line-height: 14px !important;
85
- text-transform: initial !important;
86
- }
87
- .bg-pink {
88
- background-color: #f9d1df !important;
89
- }
90
- .text-red {
91
- color: #e31b5d !important;
92
- }
93
-
94
- .text-f8 {
95
- font-family: "Montserrat" !important;
96
- font-weight: 500 !important;
97
- font-size: 11px !important;
98
- line-height: 14px !important;
99
- }
100
-
101
- .text-f9 {
102
- font-family: "Montserrat";
103
- font-size: 11px !important;
104
- line-height: 14px !important;
105
- }
106
-
107
- .text-f12 {
108
- font-size: 12px !important;
109
- line-height: 16px !important;
110
- }
111
- .text-f13 {
112
- font-size: 13px !important;
113
- line-height: 16px !important;
114
- }
115
-
116
- .text-f40 {
117
- font-size: 40px !important;
118
- line-height: 37px !important;
119
- }
120
-
121
- .text-f16 {
122
- font-size: 16px;
123
- line-height: 17px;
124
- }
125
- .max-line-1 {
126
- word-break: break-word;
127
- overflow: hidden;
128
- text-overflow: ellipsis;
129
- display: -webkit-box;
130
- max-height: 33px; /* fallback */
131
- -webkit-line-clamp: 1; /* number of lines to show */
132
- -webkit-box-orient: vertical;
133
- }
134
-
135
- .max-line-3 {
136
- word-break: break-word;
137
- overflow: hidden;
138
- text-overflow: ellipsis;
139
- display: -webkit-box;
140
- // max-height: 33px; /* fallback */
141
- -webkit-line-clamp: 3; /* number of lines to show */
142
- -webkit-box-orient: vertical;
143
- min-height: 42px;
144
- }
145
-
146
- .btn-ct {
147
- border-right: 1px solid #e9e9ec;
148
- font-weight: 500;
149
- font-size: 11 !important;
150
- line-height: 14px !important;
151
- color: #2b2c46 !important;
152
- font-family: "Montserrat" !important;
153
- padding: 0 10px;
154
- &::before,
155
- &::after {
156
- border: 0px !important;
157
- }
158
- .MuiSelect-select {
159
- &:focus {
160
- background-color: initial;
161
- }
162
- }
163
- }
164
- .box-wrap-loading {
165
- position: absolute;
166
- background: #00000075;
167
- left: 0;
168
- width: 100%;
169
- height: 100%;
170
- z-index: 100;
171
- top: 0;
172
- }
173
-
174
- .loadingSpinCT {
175
- position: absolute;
176
- width: 104px;
177
- height: 104px;
178
- top: calc(-104px / 2);
179
- // background: #fff;
180
- border-radius: 100%;
181
- z-index: 111;
182
- left: 0;
183
- right: 0;
184
- margin: auto;
185
- &::after {
186
- content: "loading";
187
- position: absolute;
188
- top: 0;
189
- margin: auto;
190
- bottom: 0;
191
- width: 87%;
192
- height: 87%;
193
- display: flex;
194
- justify-content: center;
195
- align-items: center;
196
- z-index: 112;
197
- font-size: 14px !important;
198
- line-height: 38px;
199
- font-weight: 500;
200
- color: #fff;
201
- background: rgba(43, 44, 70, 1);
202
- margin: auto;
203
- left: 0;
204
- right: 0;
205
- bottom: 0;
206
- border-radius: 100%;
207
- }
208
- &::before {
209
- content: "";
210
- }
211
- .box-content-spin {
212
- width: 104px;
213
- height: 104px;
214
- position: absolute;
215
- border-radius: 100%;
216
- animation: spin 2s linear infinite;
217
- &:before {
218
- content: "";
219
- position: absolute;
220
- top: 0;
221
- right: 0;
222
- bottom: 0;
223
- left: 0;
224
- z-index: 0;
225
- border-radius: 100%;
226
- // background: linear-gradient(
227
- // 180deg,
228
- // #3e36dc 0%,
229
- // #e31b5d 44.27%,
230
- // rgba(255, 255, 255, 0) 100%
231
- // );
232
- background: conic-gradient(
233
- from 90deg at 50.46% 50.46%,
234
- #322bb0 -30.73deg,
235
- #3e36dc 111.58deg,
236
- #00ff94 212.7deg,
237
- #322bb0 329.27deg,
238
- #3e36dc 471.58deg
239
- );
240
- box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
241
- }
242
- @-webkit-keyframes spin {
243
- 0% {
244
- -webkit-transform: rotate(0deg);
245
- }
246
- 100% {
247
- -webkit-transform: rotate(360deg);
248
- }
249
- }
250
-
251
- @keyframes spin {
252
- 0% {
253
- transform: rotate(0deg);
254
- }
255
- 100% {
256
- transform: rotate(360deg);
257
- }
258
- }
259
- }
260
- }
261
-
262
- .box-modal-default {
263
- height: 80%;
264
- width: 40%;
265
- min-height: 468px;
266
- min-width: 330px;
267
- display: flex;
268
- flex-direction: column;
269
- // justify-content: space-between;
270
- background-color: #fff;
271
- position: relative;
272
- &.box-modal-share {
273
- min-height: 192px;
274
- width: 186px;
275
- box-shadow: 0px 0px 13px rgba(30, 31, 49, 0.3);
276
- border-radius: 5px;
277
- .box-content-box-share {
278
- padding: 0px 10px 10px 10px;
279
- .box-input {
280
- display: flex;
281
- padding: 5px 10px;
282
- box-shadow: initial;
283
- background-color: #f3f3f5;
284
- input {
285
- color: #55566b !important;
286
- }
287
- }
288
- .box-media-share {
289
- button {
290
- width: 100%;
291
- padding: 0;
292
- .MuiButton-label {
293
- justify-content: flex-start !important;
294
- }
295
- }
296
- p {
297
- text-transform: initial;
298
- }
299
- }
300
- }
301
- }
302
- .icon-ct {
303
- font-size: 11px;
304
- }
305
-
306
- .btn-carousel-left {
307
- position: absolute;
308
- top: 0;
309
- left: -10px;
310
- bottom: 0;
311
- margin: auto;
312
- z-index: 11;
313
-
314
- &:hover {
315
- background-color: initial !important;
316
- }
317
- }
318
-
319
- .btn-carousel-right {
320
- position: absolute;
321
- top: 0;
322
- right: -10px;
323
- bottom: 0;
324
- margin: auto;
325
- z-index: 11;
326
- &:hover {
327
- background-color: initial !important;
328
- }
329
- }
330
-
331
- .box-carosel {
332
- height: 60%;
333
- padding: 0px 14px;
334
- min-height: 330px;
335
- position: relative;
336
- .carousel-root {
337
- height: 100%;
338
- .carousel-slider {
339
- height: 100%;
340
- }
341
- }
342
- .slider-wrapper{
343
- height: 100%;
344
- .slider{
345
- height: 100%;
346
- }
347
- }
348
- .icon-style {
349
- border-radius: 100%;
350
- position: absolute;
351
- bottom: 16px;
352
- left: 16px;
353
- button {
354
- padding: 0;
355
- }
356
- img {
357
- width: 32px !important;
358
- height: 32px;
359
- padding: 0;
360
- }
361
- }
362
- img {
363
- width: fit-content !important;
364
- // height: 330px;
365
- // padding-bottom: 20px;
366
- // max-width: 310px;
367
- }
368
- // overflow: hidden;
369
- .control-dots {
370
- margin: 0px;
371
- li.dot {
372
- box-shadow: none !important;
373
- width: 5px;
374
- height: 5px;
375
- padding: 0;
376
- background: #aaabb5;
377
- &.active {
378
- background: #55566b;
379
- }
380
- }
381
- }
382
- }
383
-
384
- .box-content {
385
- background-color: #fafafa;
386
- padding: 16px;
387
- min-height: 138px;
388
- margin-top: auto;
389
- height: 40%;
390
- .MuiIconButton-label {
391
- width: 100% !important;
392
- }
393
- .box-bottom {
394
- margin-top: auto;
395
- .btn-item {
396
- width: fit-content !important;
397
- min-width: auto !important;
398
- img {
399
- width: 20px;
400
- }
401
- padding: 0 5px;
402
- &:first-child {
403
- padding-left: 0;
404
- }
405
- &:last-child {
406
- padding-right: 0;
407
- }
408
- }
409
- }
410
- .box-gray {
411
- background: linear-gradient(180deg, #aaabb5 0%, #55566b 100%);
412
- &.box-support {
413
- width: 21px;
414
- height: 21px;
415
- border-radius: 100%;
416
- }
417
- img {
418
- width: 10px;
419
- height: 10px;
420
- }
421
- }
422
- }
423
-
424
- .box-btn-next-item {
425
- position: absolute;
426
- top: 0;
427
- bottom: 0;
428
- width: 140%;
429
- margin: auto;
430
- height: 36px;
431
- left: -20%;
432
- z-index: 22;
433
- .icon-left,
434
- .icon-right {
435
- border-radius: 100%;
436
- width: 32px;
437
- height: 32px;
438
- background: linear-gradient(0deg, #cc1854 0%, #e31b5d 100%);
439
- .style-icon {
440
- font-size: 11px;
441
- color: #fff;
442
- }
443
- }
444
- }
445
- }
446
-
447
- .wrap-main-item-result {
448
- .box-top {
449
- position: relative;
450
- .box-icon-modal {
451
- bottom: 10px;
452
- left: 10px;
453
- position: absolute;
454
- border-radius: 100%;
455
- filter: drop-shadow(0px 0px 2.66667px rgba(85, 86, 107, 0.502974));
456
- display: block;
457
- overflow: hidden;
458
- z-index: 11;
459
- button {
460
- padding: 0px;
461
- }
462
- }
463
- .box-image {
464
- text-align: center;
465
- background-color: #fff;
466
- height: 159px;
467
- z-index: 10;
468
- position: relative;
469
- .img-style {
470
- // width: 160px !important;
471
- height: 153px !important;
472
- }
473
- &:hover .box-hover {
474
- display: flex;
475
- }
476
- .box-hover {
477
- position: absolute;
478
- top: 0;
479
- right: 0;
480
- z-index: 10;
481
- background: #56576cb3;
482
- width: 100%;
483
- height: 100%;
484
- display: none;
485
- justify-content: center;
486
- align-items: center;
487
- button {
488
- font-size: 11px;
489
- font-weight: 600;
490
- line-height: 14px;
491
- color: #fafafa;
492
- text-transform: initial;
493
- }
494
- }
495
- }
496
- }
497
-
498
- .box-content {
499
- background-color: #e9e9ec;
500
- padding: 8px 12px;
501
- min-height: 82px;
502
- justify-content: space-between;
503
- .box-top {
504
- .btn-item {
505
- width: fit-content !important;
506
- min-width: auto !important;
507
- padding: 0 5px;
508
- &:first-child {
509
- padding-left: 0;
510
- }
511
- &:last-child {
512
- padding-right: 0;
513
- }
514
- }
515
- }
516
- .box-bottom {
517
- .btn-item {
518
- width: fit-content !important;
519
- min-width: auto !important;
520
- padding: 0 5px;
521
- &:first-child {
522
- padding-left: 0;
523
- }
524
- &:last-child {
525
- padding-right: 0;
526
- }
527
- }
528
- }
529
- .box-gray {
530
- background: linear-gradient(180deg, #aaabb5 0%, #55566b 100%);
531
- &.box-support {
532
- width: 21px;
533
- height: 21px;
534
- border-radius: 100%;
535
- }
536
- img {
537
- width: 10px;
538
- height: 10px;
539
- }
540
- }
541
- }
542
- }
543
-
544
- .box-content-main {
545
- position: relative;
546
- &.loading {
547
- &::before {
548
- content: "";
549
- position: absolute;
550
- width: 100%;
551
- height: 100%;
552
- background: rgba(43, 44, 70, 0.8);
553
- z-index: 111;
554
- }
555
-
556
- z-index: 111;
557
- }
558
- .box-thumb {
559
- .box-camera,
560
- .box-qr {
561
- width: 42px;
562
- height: 42px;
563
- background: #d8d7f8;
564
- border-radius: 2px;
565
- margin-right: 5px;
566
- display: flex;
567
- align-items: center;
568
- justify-content: center;
569
- button {
570
- padding: 0;
571
- width: 100%;
572
- height: 100%;
573
- }
574
- }
575
- .exampleImages {
576
- padding-bottom: 0px !important;
577
- display: flex;
578
- justify-content: center;
579
- }
580
- .useExampleImg {
581
- margin-top: 0px !important;
582
-
583
- .title-box {
584
- font-size: 11px;
585
- font-family: "Montserrat" !important;
586
- line-height: 21px;
587
- color: #fff !important;
588
- text-align: center;
589
- font-weight: 700;
590
- }
591
- .exImagesWrap {
592
- img {
593
- width: 42px;
594
- height: 42px;
595
- opacity: 1 !important;
596
- }
597
- }
598
- }
599
- }
600
-
601
- .text-tractor {
602
- font-size: 32px;
603
- line-height: 21px;
604
- color: #ffffff;
605
- font-weight: 300;
606
- font-family: "Montserrat";
607
- }
608
- .text-drop-file {
609
- font-family: "Montserrat";
610
- font-weight: 700;
611
- font-size: 32px;
612
- line-height: 21px;
613
- color: #ffffff;
614
- }
615
- display: flex;
616
- flex-direction: column;
617
- justify-content: space-between;
618
- align-items: center;
619
- height: 100%;
620
- background: #fff;
621
- .box-content_top {
622
- width: 100%;
623
- min-height: calc(100% - 341px);
624
- display: flex;
625
- justify-content: center;
626
- align-items: center;
627
- flex-direction: column;
628
- padding-bottom: 100px;
629
- .box-logo {
630
- width: 64px;
631
- height: 64px;
632
- background: linear-gradient(180deg, #fafafa 0%, #e9e9ec 100%);
633
- border-radius: 100%;
634
- display: flex;
635
- align-items: center;
636
- justify-content: center;
637
- }
638
- .box-input {
639
- margin-top: 27px;
640
- max-width: 640px;
641
- }
642
- .box-bottom {
643
- margin-top: 26px;
644
- .text-bottom {
645
- font-family: "Montserrat";
646
- font-weight: 600;
647
- font-size: 11px;
648
- line-height: 14px;
649
- color: #55566b;
650
- }
651
- }
652
- }
653
- .box-content_bottom {
654
- width: 100%;
655
- height: 100%;
656
- position: relative;
657
- @media screen and (min-width: 2047px) {
658
- position: initial;
659
- .loadingSpinCT{
660
- top: 0;
661
- bottom: 0;
662
- }
663
- }
664
-
665
- .box-content-drop {
666
- display: flex;
667
- flex-direction: column;
668
- align-items: center;
669
- }
670
- .box-image {
671
- width: 64px;
672
- height: 64px;
673
- background: linear-gradient(180deg, #56577c 0%, #2b2c46 100%);
674
- border-radius: 100%;
675
- display: flex;
676
- justify-content: center;
677
- align-items: center;
678
- margin-bottom: 16px;
679
- }
680
- .box-content-main-drop {
681
- background: linear-gradient(180deg, #3e36dc 0%, #2b2c46 100%);
682
- padding: 21px;
683
- height: 100%;
684
- animation: gradient 15s ease infinite;
685
- position: relative;
686
- background-size: 100% 100%;
687
- @media screen and (min-width: 2047px) {
688
- position: initial;
689
- }
690
- @keyframes gradient {
691
- 0% {
692
- background-position: 0% 50%;
693
- }
694
- 50% {
695
- background-position: 100% 50%;
696
- }
697
- 100% {
698
- background-position: 0% 50%;
699
- }
700
- }
701
- }
702
- .box-content-main {
703
- background: #1e1f31;
704
- padding: 21px;
705
- height: 100%;
706
- @media screen and (min-width: 2047px) {
707
- position: inherit;
708
- }
709
- }
710
- .box-border {
711
- border: 2px dashed #aaabb5;
712
- height: 100%;
713
- display: flex;
714
- justify-content: center;
715
- align-items: center;
716
- color: #fff;
717
- width: 100%;
718
- flex-direction: column;
719
- }
720
- }
721
- }
722
- .btn-input-search {
723
- background: #f7f7f7;
724
- border: 0px;
725
- width: 32px;
726
- height: 32px;
727
- border-radius: 100%;
728
- display: flex;
729
- justify-content: center;
730
- align-items: center;
731
- cursor: pointer;
732
- }
733
-
734
- .inputFile {
735
- // display: block !important;
736
- }
737
- .text-blue {
738
- color: #3e36dc !important;
739
- }
740
-
741
- .box-blue {
742
- background: #3e36dc;
743
- box-shadow: 1.33333px 1.33333px 13.3333px rgba(0, 0, 0, 0.3);
744
- border-radius: 16px;
745
- padding: 5px;
746
- }
747
- .text-f20 {
748
- font-family: "Montserrat";
749
- font-size: 16px;
750
- line-height: 21px;
751
- }
752
- .text-bold {
753
- font-weight: 600 !important;
754
- }
755
-
756
- .text-center {
757
- text-align: center !important;
758
- }
759
-
760
- // TODO: css result component
761
- .box-wrap-result-component {
762
- min-height: calc(100vh - 32px);
763
- display: flex;
764
- justify-content: space-between;
765
- flex-direction: column;
766
- // height: calc(100vh - 32px);
767
- background-color: #fafafa;
768
- .box-search {
769
- margin: 0px auto;
770
- padding: 32px 0;
771
- display: flex;
772
- justify-content: center;
773
- align-items: center;
774
- background-color: #fff;
775
- flex-direction: column;
776
- width: 100%;
777
- .box-filter {
778
- margin-top: 26px;
779
- background: #f3f3f5;
780
- max-width: 1083px;
781
- width: 100%;
782
- min-height: 32px;
783
- }
784
- }
785
- .box-result {
786
- // max-width: 1280px;
787
- // height: calc(100% - 164px - 32px);
788
- // overflow: hidden;
789
- height: calc(100vh - 164px - 104px);
790
- // width: 1280px;
791
- display: flex;
792
- justify-content: space-between;
793
- // margin: auto;
794
- overflow: auto;
795
- .col-left {
796
- width: fit-content;
797
- height: fit-content;
798
- margin-right: 62px;
799
- // width: 517px;
800
- min-height: 462px;
801
- // transform: rotate(90deg);
802
- // transition: ease-in-out 0.5s;
803
- position: relative;
804
- &.toggle {
805
- .box-title_col-left {
806
- display: none;
807
- }
808
- }
809
- .box-title_col-left {
810
- position: absolute;
811
- bottom: 10px;
812
- left: 0;
813
- right: 0;
814
- margin: auto;
815
- width: fit-content;
816
- }
817
- &.toggle {
818
- width: 32px;
819
- padding: 0px;
820
- div {
821
- // display: none;
822
- }
823
- .box-preview {
824
- border: 0px;
825
- .preview-item {
826
- }
827
- }
828
- .button-toggle {
829
- right: -5px;
830
- }
831
- }
832
- display: flex;
833
- justify-content: center;
834
- align-items: center;
835
- background: #1e1f31;
836
- padding: 32px;
837
- .box-preview {
838
- width: 100%;
839
- // border: 2px dashed #55566b;
840
- display: flex;
841
- justify-content: center;
842
- align-content: center;
843
- height: 100%;
844
- position: relative;
845
- // transition: ease-in-out 0.5s;
846
- .preview-item {
847
- // height: 100%;
848
- display: flex;
849
- align-items: center;
850
- justify-content: center;
851
- // width: 100%;
852
- max-width: 500px;
853
- max-height: 500px;
854
- }
855
- }
856
- .button-toggle {
857
- height: 32px;
858
- width: 10px;
859
- padding: 0px;
860
- min-width: auto;
861
- position: absolute;
862
- right: -37px;
863
- top: 0;
864
- bottom: 0;
865
- margin: auto;
866
- background-color: #e9e9ec;
867
- box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
868
- border-radius: 5px;
869
- // transition: ease-in-out 1s;
870
- }
871
- }
872
- .col-right {
873
- width: calc(100% - 462px);
874
- // overflow: auto;
875
- .box-item-result {
876
- max-width: 714px;
877
- @media screen and (min-width: 2047px) {
878
- max-width: 1300px;
879
- }
880
- margin: 16px 0;
881
- // margin-right: auto !important;
882
- ul {
883
- padding: 0;
884
- display: flex;
885
- flex-wrap: wrap;
886
- // justify-content: center;
887
- li {
888
- list-style: none;
889
- width: 174px;
890
- &:last-child {
891
- margin-right: auto !important;
892
- }
893
- }
894
- }
895
- .ais-InfiniteHits-loadMore {
896
- display: none;
897
- }
898
- }
899
- }
900
- }
901
-
902
- .box-notify {
903
- height: 32px;
904
- background: #f3f3f5;
905
- border-top: 1px solid #e9e9ec;
906
- .item-notify {
907
- height: 100%;
908
- display: flex;
909
- align-items: center;
910
- justify-content: center;
911
- }
912
- }
913
- }
914
-
915
- .box-main-filter {
916
- .item {
917
- width: calc(44% - 20px);
918
- padding: 0 10px;
919
- .btn-ct {
920
- padding: 2px !important;
921
- border: 0px;
922
- }
923
- }
924
- .item-one {
925
- min-width: 243px;
926
- }
927
- .item-tow {
928
- min-width: 122px;
929
- }
930
- .item-three {
931
- min-width: 259px;
932
- }
933
- .item-four {
934
- min-width: 125px;
935
- }
936
- .item-five {
937
- min-width: 123px;
938
- }
939
- .item-six {
940
- min-width: 115px;
941
- }
942
- .item-seven {
943
- min-width: 94px;
944
- display: flex;
945
- justify-content: center;
946
- align-items: center;
947
- }
948
- }
949
-
950
- // TODO: search history
951
- .wrap-main-search-history {
952
- background-color: #fafafa;
953
- height: 100%;
954
- .box-main-top {
955
- background-color: #fff;
956
- padding: 32px 0;
957
- margin: auto;
958
- display: flex;
959
- justify-content: center;
960
- }
961
-
962
- .box-main-bottom {
963
- padding: 20px 16px;
964
- height: calc(100% - 106px);
965
- display: flex;
966
- .col-left {
967
- .box-time {
968
- padding: 0;
969
- li {
970
- list-style-type: none;
971
- padding: 0;
972
- margin: 0;
973
- .active {
974
- font-weight: 700;
975
- }
976
- button {
977
- padding: 0;
978
- }
979
- }
980
- }
981
- }
982
- .col-right {
983
- min-width: 568px;
984
- margin-left: auto;
985
- margin-right: auto;
986
- // background-color: aquamarine;
987
- overflow: auto;
988
- .box-image-search {
989
- width: 32px;
990
- height: 32px;
991
- border-radius: 2px;
992
- background-color: #fff;
993
- display: flex;
994
- justify-content: center;
995
- align-items: center;
996
- margin-right: 10px;
997
- img {
998
- max-width: fit-content !important;
999
- }
1000
- }
1001
- .MuiDataGrid-root {
1002
- flex: none !important;
1003
- border: 0 !important;
1004
- .MuiDataGrid-columnHeader:focus-within,
1005
- .MuiDataGrid-root .MuiDataGrid-cell:focus-within {
1006
- outline: none !important;
1007
- }
1008
- .MuiDataGrid-columnHeaderTitleContainer {
1009
- justify-content: space-between;
1010
- }
1011
- .MuiDataGrid-sortIcon {
1012
- opacity: 1;
1013
- }
1014
- .MuiDataGrid-window {
1015
- top: 43px !important;
1016
- // height: f;
1017
- }
1018
- .MuiDataGrid-iconSeparator {
1019
- display: none !important;
1020
- }
1021
- .MuiDataGrid-columnsContainer {
1022
- background: #aaabb5;
1023
- min-height: auto !important;
1024
- line-height: 12px !important;
1025
- .MuiSvgIcon-root {
1026
- color: #fff !important;
1027
- }
1028
- }
1029
- .MuiDataGrid-row {
1030
- max-width: inherit !important;
1031
- min-height: inherit !important;
1032
- &.Mui-selected {
1033
- background-color: inherit !important;
1034
- }
1035
- }
1036
- .MuiDataGrid-cell--textLeft.MuiDataGrid-cell--withRenderer,
1037
- .MuiDataGrid-cell--textCenter.MuiDataGrid-cell--withRenderer {
1038
- line-height: inherit !important;
1039
- min-height: inherit !important;
1040
- max-height: inherit !important;
1041
- }
1042
- .MuiDataGrid-cell {
1043
- border: 0px !important;
1044
- &:last-child {
1045
- display: none;
1046
- }
1047
- }
1048
- }
1049
- }
1050
- }
1051
- }
1052
-
1053
- // Todo: css page saved
1054
- .wrap-main-saved {
1055
- height: 100%;
1056
- background-color: #fafafa;
1057
- .box-main-top {
1058
- .box-top {
1059
- background-color: #fff;
1060
- padding: 32px 0;
1061
- }
1062
- .box-bottom {
1063
- margin-top: 26px;
1064
- text-align: center;
1065
- display: flex;
1066
- justify-content: center;
1067
- }
1068
- }
1069
-
1070
- .box-main-bottom {
1071
- max-width: 726px;
1072
- width: 726px;
1073
- margin-left: auto;
1074
- margin-right: auto;
1075
- }
1076
- }
1077
-
1078
- // TODO: css page Profile
1079
-
1080
- .wrap-main-profile {
1081
- max-width: 1280px;
1082
- margin: auto;
1083
- .box-col-left {
1084
- .box-top {
1085
- min-height: 170px;
1086
- display: flex;
1087
- justify-content: center;
1088
- align-items: flex-start;
1089
- flex-direction: column;
1090
- padding: 0 94px;
1091
- background-color: #fff;
1092
- }
1093
- .box-bottom {
1094
- display: flex;
1095
- flex-direction: column;
1096
- justify-content: center;
1097
- align-items: center;
1098
- height: calc(100% - 170px);
1099
- background: #fafafa;
1100
- .box-content {
1101
- width: 242px;
1102
- span {
1103
- font-size: 11px !important;
1104
- line-height: 14px !important;
1105
- color: #2b2c46 !important;
1106
- font-weight: 500 !important;
1107
- margin-bottom: 5px;
1108
- }
1109
- input {
1110
- min-height: 21px !important;
1111
- background: #f3f3f5 !important;
1112
- width: 100% !important;
1113
- border: 0px !important;
1114
- }
1115
- .btn-log-out {
1116
- background: #2b2c46;
1117
- border-radius: 0px !important;
1118
- padding: 10px 35px 10px 10px;
1119
- span {
1120
- color: #fff !important;
1121
- font-size: 11px !important;
1122
- line-height: 14px !important;
1123
- font-weight: bold !important;
1124
- margin: 0;
1125
- padding: 0;
1126
- }
1127
- }
1128
- }
1129
- }
1130
- }
1131
- .box-col-right {
1132
- .box-bg-image {
1133
- // background-image: url("/common/assets/images/Rectangle.png");
1134
- }
1135
- }
1136
- }
1137
- .wrap-input-search {
1138
- width: 640px;
1139
- .box-input-search {
1140
- justify-content: space-between;
1141
- background: #ffffff;
1142
- box-shadow: 0px 0px 6.66667px rgba(0, 0, 0, 0.2);
1143
- border-radius: 21px;
1144
- padding: 5px 10px !important;
1145
- height: 42px;
1146
- form {
1147
- width: 100%;
1148
- display: flex;
1149
- }
1150
- .input-search {
1151
- padding: 0 6px;
1152
- width: 100%;
1153
- border: 0px !important;
1154
- &::-webkit-search-cancel-button {
1155
- position: relative;
1156
- right: 20px;
1157
-
1158
- -webkit-appearance: none;
1159
- height: 20px;
1160
- width: 20px;
1161
- border-radius: 10px;
1162
- background: red;
1163
- }
1164
- &:focus-visible {
1165
- outline: none !important;
1166
- }
1167
- &::before,
1168
- &::after {
1169
- display: none !important;
1170
- }
1171
- }
1172
- .btn-clear-text {
1173
- width: 32px;
1174
- height: 32px;
1175
- border-radius: 100%;
1176
- background-color: #f3f3f5;
1177
- z-index: 10;
1178
- cursor: pointer !important;
1179
- }
1180
- }
1181
- }
1182
-
1183
- .box-panigation {
1184
- .ais-Pagination-list {
1185
- display: flex;
1186
- justify-content: center;
1187
- align-items: center;
1188
- margin-bottom: 22px;
1189
- li {
1190
- list-style-type: none;
1191
- margin: 0px !important;
1192
- padding: 0px 5px !important;
1193
- a {
1194
- font-weight: 500 !important;
1195
- }
1196
-
1197
- font-size: 12px;
1198
- &.ais-Pagination-item--selected {
1199
- a {
1200
- font-weight: 700 !important;
1201
- }
1202
-
1203
- font-size: 13px;
1204
- }
1205
- }
1206
- }
1207
- }
1208
-
1209
- .wrap-main-result {
1210
- position: relative;
1211
- &.loading {
1212
- .loadingSpinCT {
1213
- display: block;
1214
- position: absolute;
1215
- top: 0;
1216
- bottom: 0;
1217
- margin: auto;
1218
- left: 0;
1219
- right: 0;
1220
- }
1221
- }
1222
- .loadingSpinCT {
1223
- display: none;
1224
- }
1225
- }
1226
-
1227
- .wrap-main-support-page {
1228
- // background-color: red;
1229
- min-height: calc(100vh - 32px);
1230
- // max-width: 1280px;
1231
- margin: auto;
1232
- .col-left {
1233
- width: 50%;
1234
- background-color: #322bb0;
1235
- .col-left__top {
1236
- background-color: #3e36dc;
1237
- min-height: 170px;
1238
- }
1239
-
1240
- .col-left__bottom {
1241
- .box-form {
1242
- max-width: 224px;
1243
- margin-left: auto;
1244
- margin-right: auto;
1245
- margin-top: 74px;
1246
- .MuiButton-label {
1247
- justify-content: flex-start !important;
1248
- }
1249
- }
1250
- .box-btn-upload {
1251
- .btn-upload {
1252
- background-color: #2b2c46;
1253
- border-radius: 3px;
1254
- }
1255
- .MuiIconButton-label {
1256
- width: 122px;
1257
- font-weight: 700 !important;
1258
- font-size: 11px !important;
1259
- line-height: 14px !important;
1260
- display: flex;
1261
- color: #fff;
1262
- justify-content: space-between;
1263
- }
1264
- }
1265
- .box-preview-image {
1266
- .box-image {
1267
- position: relative;
1268
- width: fit-content !important;
1269
- height: 106px !important;
1270
- border-radius: 2px;
1271
- padding: 5px 7px;
1272
- text-align: center;
1273
-
1274
- .btn-close {
1275
- position: absolute;
1276
- top: 5px;
1277
- right: 5px;
1278
- padding: 0px;
1279
- .MuiButton-label {
1280
- justify-content: flex-end !important;
1281
- }
1282
- }
1283
- }
1284
- }
1285
- }
1286
- }
1287
- .col-right {
1288
- width: 50%;
1289
- background-image: url("../../common/assets/images/bg-support-page.svg");
1290
- background-size: cover;
1291
- background-repeat: no-repeat;
1292
- }
1293
- }
1294
-
1295
- .border-rd-0 {
1296
- border-radius: 0px !important;
1297
- }
1298
-
1299
- .hide-btn-arrow {
1300
- .btn-carousel-right,
1301
- .btn-carousel-left {
1302
- display: none !important;
1303
- }
1304
- }