@egovernments/digit-ui-components-css 0.0.2-beta.1 → 0.0.2-beta.11

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 (197) hide show
  1. package/CHANGELOG.md +88 -54
  2. package/README.md +80 -80
  3. package/dist/index.css +5782 -14109
  4. package/dist/index.min.css +2 -2
  5. package/package.json +69 -67
  6. package/src/digitv2/components/FormComposerV2.scss +118 -118
  7. package/src/digitv2/components/actionbarV2.scss +207 -110
  8. package/src/digitv2/components/backLinkV2.scss +37 -0
  9. package/src/digitv2/components/bodyContainerV2.scss +39 -39
  10. package/src/digitv2/components/breadcrumbV2.scss +57 -0
  11. package/src/digitv2/components/buttonsV2.scss +451 -407
  12. package/src/digitv2/components/cardV2.scss +498 -383
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  14. package/src/digitv2/components/{cardLabelV2.scss → cardlabelV2.scss} +7 -7
  15. package/src/digitv2/components/checkboxV2.scss +83 -79
  16. package/src/digitv2/components/{tagV2.scss → chipV2.scss} +129 -120
  17. package/src/digitv2/components/dividerV2.scss +11 -0
  18. package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +20 -18
  19. package/src/digitv2/components/fieldV1.scss +96 -96
  20. package/src/digitv2/components/headerdropdownV2.scss +152 -0
  21. package/src/digitv2/components/infoCardV2.scss +139 -142
  22. package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +75 -75
  23. package/src/digitv2/components/labelFieldPairV2.scss +66 -57
  24. package/src/digitv2/components/mobileNumberV2.scss +65 -65
  25. package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
  26. package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +160 -160
  27. package/src/digitv2/components/{panels.scss → panelV2.scss} +114 -114
  28. package/src/digitv2/components/popUpV2.scss +330 -308
  29. package/src/digitv2/components/radiobtnV2.scss +115 -113
  30. package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +364 -360
  31. package/src/digitv2/components/{stepper.scss → stepperV2.scss} +147 -126
  32. package/src/digitv2/components/textInputV2.scss +462 -462
  33. package/src/digitv2/components/textareaV2.scss +99 -99
  34. package/src/digitv2/components/{textblock.scss → textblockV2.scss} +46 -46
  35. package/src/digitv2/components/{timeline.scss → timelineV2.scss} +170 -126
  36. package/src/digitv2/components/toastV2.scss +80 -80
  37. package/src/digitv2/components/{toggle.scss → toggleV2.scss} +72 -72
  38. package/src/digitv2/components/topbarV2.scss +388 -187
  39. package/src/digitv2/components/treeSelectV2.scss +132 -132
  40. package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +556 -468
  41. package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
  42. package/src/digitv2/index.scss +169 -197
  43. package/src/digitv2/pages/employee/index.scss +1 -1
  44. package/src/digitv2/pages/employee/workbench.scss +615 -615
  45. package/src/digitv2/typography.scss +638 -657
  46. package/src/index.scss +681 -774
  47. package/src/pages/employee/index.scss +625 -625
  48. package/src/pages/employee/login.scss +220 -220
  49. package/img/browser-icon.png +0 -0
  50. package/img/m_seva_white_logo.png +0 -0
  51. package/img/mseva-demo.png +0 -0
  52. package/src/components/CardBasedOptions.scss +0 -46
  53. package/src/components/CitizenHomeCard.scss +0 -56
  54. package/src/components/EllipsisMenu.scss +0 -17
  55. package/src/components/EventCalendarView.scss +0 -10
  56. package/src/components/FAQ.scss +0 -64
  57. package/src/components/OnGroundEventCard.scss +0 -72
  58. package/src/components/PageBasedInput.scss +0 -29
  59. package/src/components/PopupHeadingLabel.scss +0 -15
  60. package/src/components/PropertySearchForm.scss +0 -58
  61. package/src/components/SearchForm.scss +0 -56
  62. package/src/components/SearchOnRadioButton.scss +0 -10
  63. package/src/components/StandaloneSearchBar.scss +0 -10
  64. package/src/components/TimeLine.scss +0 -68
  65. package/src/components/WhatsNewCard.scss +0 -13
  66. package/src/components/actionLink.scss +0 -3
  67. package/src/components/actionbar.scss +0 -97
  68. package/src/components/bannercomponents.scss +0 -136
  69. package/src/components/body.scss +0 -144
  70. package/src/components/buttons.scss +0 -101
  71. package/src/components/card.scss +0 -391
  72. package/src/components/cardHeaderWithOptions.scss +0 -14
  73. package/src/components/changeLanguage.scss +0 -3
  74. package/src/components/charts.scss +0 -186
  75. package/src/components/checkbox.scss +0 -53
  76. package/src/components/checkpoint.scss +0 -63
  77. package/src/components/citizenInfoLabel.scss +0 -14
  78. package/src/components/custombtn.scss +0 -11
  79. package/src/components/datatable.scss +0 -134
  80. package/src/components/datewrap.scss +0 -21
  81. package/src/components/detailscard.scss +0 -6
  82. package/src/components/detailscontainer.scss +0 -13
  83. package/src/components/filters.scss +0 -98
  84. package/src/components/grey.scss +0 -3
  85. package/src/components/hoc/InboxComposer.scss +0 -115
  86. package/src/components/hoc/index.scss +0 -1
  87. package/src/components/howItWorks.scss +0 -71
  88. package/src/components/imageviewer.scss +0 -33
  89. package/src/components/inboxv2/InboxLinks.scss +0 -59
  90. package/src/components/inboxv2/horizontalNav.scss +0 -224
  91. package/src/components/inboxv2/inboxSearch.scss +0 -116
  92. package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
  93. package/src/components/inboxv2/index.scss +0 -5
  94. package/src/components/inboxv2/searchComponentTable.scss +0 -44
  95. package/src/components/info-banner.scss +0 -35
  96. package/src/components/inputotp.scss +0 -15
  97. package/src/components/keynote.scss +0 -27
  98. package/src/components/languageSelector.scss +0 -24
  99. package/src/components/loader.scss +0 -96
  100. package/src/components/map.scss +0 -30
  101. package/src/components/menu.scss +0 -0
  102. package/src/components/metricsTable.scss +0 -28
  103. package/src/components/multiLink.scss +0 -88
  104. package/src/components/multiSelectDropdown.scss +0 -77
  105. package/src/components/navbar.scss +0 -312
  106. package/src/components/plusMinus.scss +0 -15
  107. package/src/components/popup.scss +0 -16
  108. package/src/components/radiobtn.scss +0 -45
  109. package/src/components/ratingstar.scss +0 -33
  110. package/src/components/roundedLabel.scss +0 -10
  111. package/src/components/searchAction.scss +0 -20
  112. package/src/components/sectionalDropdown.scss +0 -43
  113. package/src/components/selectdropdown.scss +0 -174
  114. package/src/components/sidebar.scss +0 -141
  115. package/src/components/staticDynamicMessages.scss +0 -107
  116. package/src/components/staticSideBar.scss +0 -27
  117. package/src/components/statushighlight.scss +0 -17
  118. package/src/components/submiterrors.scss +0 -11
  119. package/src/components/summary.scss +0 -29
  120. package/src/components/table.scss +0 -201
  121. package/src/components/tag.scss +0 -27
  122. package/src/components/telephone.scss +0 -17
  123. package/src/components/textfields.scss +0 -96
  124. package/src/components/toast.scss +0 -31
  125. package/src/components/toggleSwitch.scss +0 -41
  126. package/src/components/topbar.scss +0 -153
  127. package/src/components/uploadcomponents.scss +0 -100
  128. package/src/digitv2/components/CitizenHomeCardV2.scss +0 -56
  129. package/src/digitv2/components/PageBasedInputV2.scss +0 -33
  130. package/src/digitv2/components/WhatsNewCardV2.scss +0 -13
  131. package/src/digitv2/components/actionLinkV2.scss +0 -9
  132. package/src/digitv2/components/appContainerV2.scss +0 -49
  133. package/src/digitv2/components/backButtonV2.scss +0 -26
  134. package/src/digitv2/components/bannerV2.scss +0 -120
  135. package/src/digitv2/components/breadCrumbV2.scss +0 -34
  136. package/src/digitv2/components/breakLineV2.scss +0 -6
  137. package/src/digitv2/components/cardBasedOptionsV2.scss +0 -46
  138. package/src/digitv2/components/checkpointV2.scss +0 -71
  139. package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
  140. package/src/digitv2/components/dateWrapV2.scss +0 -17
  141. package/src/digitv2/components/detailsCardV2.scss +0 -17
  142. package/src/digitv2/components/displayPhotosV2.scss +0 -33
  143. package/src/digitv2/components/footerV2.scss +0 -55
  144. package/src/digitv2/components/headerBarV2.scss +0 -34
  145. package/src/digitv2/components/headerV2.scss +0 -12
  146. package/src/digitv2/components/keynoteV2.scss +0 -35
  147. package/src/digitv2/components/loaderV2.scss +0 -85
  148. package/src/digitv2/components/modalV2.scss +0 -46
  149. package/src/digitv2/components/multiUploadWrapperV2.scss +0 -6
  150. package/src/digitv2/components/navbarV2.scss +0 -9
  151. package/src/digitv2/components/noresultsfoundV2.scss +0 -11
  152. package/src/digitv2/components/numeric.scss +0 -47
  153. package/src/digitv2/components/otpInputV2.scss +0 -15
  154. package/src/digitv2/components/paragraphV2.scss +0 -5
  155. package/src/digitv2/components/ratingV2.scss +0 -33
  156. package/src/digitv2/components/searchActionV2.scss +0 -11
  157. package/src/digitv2/components/searchFormV2.scss +0 -76
  158. package/src/digitv2/components/searchcomponent.scss +0 -7
  159. package/src/digitv2/components/sidebarV2.scss +0 -11
  160. package/src/digitv2/components/telephoneV2.scss +0 -18
  161. package/src/digitv2/components/toggleswitchV2.scss +0 -42
  162. package/src/digitv2/components/uploadFileV2.scss +0 -146
  163. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +0 -8
  164. package/src/pages/citizen/DocumentList.scss +0 -305
  165. package/src/pages/citizen/Events.scss +0 -47
  166. package/src/pages/citizen/HomePageWrapper.scss +0 -158
  167. package/src/pages/citizen/SurveyList.scss +0 -22
  168. package/src/pages/citizen/citizenDocument.scss +0 -22
  169. package/src/pages/citizen/container.scss +0 -19
  170. package/src/pages/citizen/payment/payment-type.scss +0 -3
  171. package/src/pages/citizen/updatePropertyNumber.scss +0 -46
  172. package/src/pages/employee/EmployeeLogin.scss +0 -7
  173. package/src/pages/employee/cardfix.scss +0 -13
  174. package/src/pages/employee/container.scss +0 -72
  175. package/src/pages/employee/dss.scss +0 -266
  176. package/src/pages/employee/form-fields.scss +0 -13
  177. package/src/pages/employee/iframe.scss +0 -66
  178. package/src/pages/employee/inbox.scss +0 -585
  179. package/src/pages/employee/oldMobileInbox.scss +0 -5
  180. package/src/pages/employee/popupmodule.scss +0 -34
  181. package/src/pages/employee/response.scss +0 -3
  182. package/src/pages/employee/scroll-table.scss +0 -119
  183. package/src/pages/employee/surveys.scss +0 -273
  184. package/src/pages/employee/tooltip.scss +0 -36
  185. package/src/pages/employee/updateNumber.scss +0 -13
  186. package/svg/arrowdown.svg +0 -1
  187. package/svg/arrowleft.svg +0 -1
  188. package/svg/calendar.svg +0 -1
  189. package/svg/camera.svg +0 -4
  190. package/svg/check.svg +0 -4
  191. package/svg/close.svg +0 -4
  192. package/svg/error.svg +0 -4
  193. package/svg/error2.svg +0 -5
  194. package/svg/searchicon.svg +0 -4
  195. package/svg/starempty.svg +0 -4
  196. package/svg/starfilled.svg +0 -5
  197. package/svg/success.svg +0 -4
@@ -1,469 +1,557 @@
1
- .digit-upload-image-drawer {
2
- @apply w-full fixed left-0 right-0 flex-col;
3
- display: flex;
4
- background-color: theme(digitv2.lightTheme.paper-primary);
5
- border-radius: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0);
6
- z-index: 1000;
7
- border-radius: theme(digitv2.spacers.spacer1);
8
- gap: theme(digitv2.spacers.spacer6);
9
- padding: theme(digitv2.spacers.spacer6);
10
-
11
- .image-upload-options {
12
- @apply h-full;
13
- display: flex;
14
-
15
- .upload-options {
16
- @apply items-center flex-col;
17
- display: flex;
18
- flex: 1;
19
- justify-content: center;
20
- gap: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
21
- }
22
-
23
- .upload-options-label {
24
- @extend .typography.label;
25
- @apply cursor-pointer;
26
- color: theme(digitv2.lightTheme.primary-1);
27
- }
28
- }
29
-
30
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
31
- height: 14.25rem;
32
- width: 27.5rem;
33
- left: 50%;
34
- top: 25%;
35
- transform: translateX(-50%);
36
- }
37
-
38
- @media (min-width: 48rem) {
39
- width: 37.5rem;
40
- height: 15rem;
41
- left: 50%;
42
- top: 25%;
43
- transform: translateX(-50%);
44
- }
45
-
46
- @media (max-width: 30rem) {
47
- height: 7.625rem;
48
- animation: slideInFromBottom 0.5s ease-out forwards;
49
- }
50
-
51
-
52
- .capture-close {
53
- @apply w-8 h-8 absolute top-0 right-0 cursor-pointer mt-sm mr-sm;
54
- display: flex;
55
-
56
- svg {
57
- flex-shrink: 0;
58
- }
59
- }
60
- }
61
-
62
-
63
- .digit-uploader-wrap {
64
- @apply flex flex-col;
65
- gap: theme(digitv2.spacers.spacer3);
66
-
67
- @media (max-width: 30rem) {
68
- gap: theme(digitv2.spacers.spacer2);
69
- }
70
-
71
- .digit-upload-label {
72
- @extend .typography.label;
73
- @apply text-left;
74
- margin: theme(digitv2.spacers.spacer0);
75
- color: theme(digitv2.lightTheme.text-primary);
76
- }
77
-
78
- .digit-uploader-content {
79
- @apply flex w-full;
80
- gap: theme(digitv2.spacers.spacer3);
81
- }
82
-
83
- label {
84
- outline: none !important;
85
- }
86
-
87
- .digit-uploader-content-uploadpopup {
88
- @apply flex flex-col w-full items-center justify-center max-w-full border-dashed;
89
- gap: theme(digitv2.spacers.spacer4);
90
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
91
- background: theme(digitv2.lightTheme.paper-secondary);
92
- padding: theme(digitv2.spacers.spacer4);
93
- height: 9rem;
94
-
95
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
96
- min-width: 18.75rem;
97
- }
98
-
99
- @media (max-width: 30rem) {
100
- min-width: 17.938rem;
101
- }
102
-
103
- @media (min-width: 48rem) {
104
- min-width: 18.75rem;
105
- }
106
-
107
- svg {
108
- flex-shrink: 0;
109
- }
110
-
111
- .drag-drop-text {
112
- @extend .typography.body-s;
113
- @apply items-center;
114
- color: theme(digitv2.lightTheme.text-disabled);
115
- display: flex;
116
- margin: theme(digitv2.spacers.spacer0);
117
-
118
- @media (max-width: 30rem) {
119
- @apply flex-col;
120
- }
121
- }
122
-
123
- &.error {
124
- @apply border-dashed;
125
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
126
- }
127
- }
128
-
129
- .digit-uploadpopup-label {
130
- @extend .typography.body-s;
131
- color: theme(digitv2.lightTheme.text-disabled);
132
- }
133
-
134
- .digit-upload {
135
- @apply h-10;
136
- }
137
-
138
- .digit-uploader-input {
139
- @extend .typography.body-s;
140
- @apply h-10;
141
- background-color: transparent;
142
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
143
- padding: theme(digitv2.spacers.spacer2);
144
- color: theme(digitv2.lightTheme.text-primary) !important;
145
-
146
- &:focus {
147
- @apply outline-none;
148
- }
149
-
150
- &.error {
151
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
152
- }
153
-
154
- }
155
-
156
- input::placeholder {
157
- color: theme(digitv2.lightTheme.text-disabled) !important;
158
- }
159
-
160
- .digit-upload,
161
- .digit-uploader-input {
162
-
163
- @apply w-full;
164
-
165
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
166
- max-width: 19rem;
167
- min-width: 12.5rem;
168
- }
169
-
170
- @media (max-width: 30rem) {
171
- max-width: 12.313rem;
172
- min-width: 9.75rem;
173
- }
174
-
175
- @media (min-width: 48rem) {
176
- max-width: 29.25rem;
177
- min-width: 12.5rem;
178
- }
179
-
180
- }
181
-
182
- .digit-img-container {
183
- @apply flex flex-wrap max-w-full;
184
- gap: theme(digitv2.spacers.spacer3);
185
-
186
- .preview-container {
187
- @apply relative cursor-pointer h-auto;
188
- width: 6.25rem;
189
- min-height: 6.25rem;
190
-
191
- .preview-file-name{
192
- @apply whitespace-pre-wrap break-words;
193
- color: theme(digitv2.lightTheme.text-primary);
194
- }
195
-
196
- img {
197
- width: 6.25rem !important;
198
- height: 6.25rem !important;
199
- }
200
-
201
- &.inprogress {
202
- background: #6F6F6FB2;
203
- }
204
-
205
- &.error {
206
- img {
207
- border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
208
- }
209
- }
210
- }
211
-
212
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
213
- min-width: 20.75rem;
214
- }
215
-
216
- @media (max-width: 30rem) {
217
- min-width: 18rem;
218
- }
219
-
220
- @media (min-width: 48rem) {
221
- min-width: 20.75rem;
222
- }
223
- }
224
-
225
- .digit-uploader-close-icon {
226
- @apply absolute top-0 right-0 w-6 h-6 cursor-pointer;
227
- background-color: theme(digitv2.lightTheme.primary-2);
228
- padding: theme(digitv2.spacers.spacer1);
229
-
230
- &.error {
231
- background-color: theme(digitv2.lightTheme.alert-error);
232
- }
233
- }
234
-
235
- .digit-upload-helptext {
236
- @extend .typography.body-s;
237
- @apply text-left;
238
- margin: theme(digitv2.spacers.spacer0);
239
- color: theme(digitv2.lightTheme.text-secondary);
240
- }
241
-
242
- .digit-uploaded-file-container {
243
- @apply items-start relative w-full max-w-full flex-wrap;
244
- display: flex !important;
245
- gap: theme(digitv2.spacers.spacer3);
246
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
247
- background-color: theme(digitv2.lightTheme.paper-secondary);
248
- margin: theme(digitv2.spacers.spacer0);
249
- padding: theme(digitv2.spacers.spacer4);
250
- border-radius: theme(digitv2.spacers.spacer0);
251
-
252
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
253
- min-width: 18.75rem;
254
- }
255
-
256
- @media (max-width: 30rem) {
257
- min-width: 17.938rem;
258
- }
259
-
260
- @media (min-width: 48rem) {
261
- min-width: 18.75rem;
262
- }
263
-
264
- .uploaded-file-container-sub {
265
- @apply items-center cursor-pointer;
266
- display: flex !important;
267
- gap: theme(digitv2.spacers.spacer2);
268
-
269
- .uploaded-file-details {
270
- @extend .typography.heading-s;
271
- color: theme(digitv2.lightTheme.text-secondary);
272
- }
273
-
274
- svg {
275
- flex-shrink: 0;
276
- }
277
- }
278
-
279
- .digit-upload-and-download-button {
280
- @apply flex-wrap;
281
- display: flex !important;
282
- gap: theme(digitv2.spacers.spacer4);
283
- margin-left: auto;
284
- margin-right: theme(digitv2.spacers.spacer6);
285
- }
286
-
287
- .digit-uploadpopup-close-icon {
288
- @apply absolute top-0 right-0 w-6 h-6 items-center cursor-pointer;
289
- background: theme(digitv2.lightTheme.generic-background);
290
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
291
- display: flex !important;
292
- justify-content: center;
293
- border-top: none;
294
- border-right: none;
295
-
296
- svg {
297
- flex-shrink: 0;
298
- }
299
- }
300
-
301
- &.error {
302
- border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
303
-
304
- .digit-uploadpopup-close-icon {
305
- background: theme(digitv2.lightTheme.alert-error);
306
- border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
307
- border-top: none;
308
- border-right: none;
309
- }
310
-
311
- .uploaded-file-container-sub {
312
-
313
- .uploaded-file-details {
314
- @apply flex-col;
315
- color: theme(digitv2.lightTheme.alert-error);
316
- display: flex;
317
- gap: theme(digitv2.spacers.spacer1);
318
- }
319
- }
320
-
321
- .uploadpopup-error-card {
322
- @apply w-full max-w-full;
323
- margin: theme(digitv2.spacers.spacer0);
324
- }
325
- }
326
- }
327
-
328
- .image-background {
329
- @apply fixed top-0 left-0 right-0 bottom-0 w-full;
330
- height: 100vh;
331
- background-color: theme(digitv2.lightTheme.text-color-primary);
332
- }
333
-
334
- .digit-image-uploader {
335
- @apply flex-col items-center cursor-pointer;
336
- display: flex;
337
- border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
338
- background-color: transparent;
339
- justify-content: center;
340
- gap: 0.188rem;
341
- padding: theme(digitv2.spacers.spacer10);
342
-
343
- width: 100%;
344
-
345
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
346
- min-width: 18.75rem;
347
- }
348
-
349
- @media (max-width: 30rem) {
350
- min-width: 17.938rem;
351
- }
352
-
353
- @media (min-width: 48rem) {
354
- min-width: 18.75rem;
355
- }
356
-
357
- .upload-image-label {
358
- @extend .typography.body-xs;
359
- color: theme(digitv2.lightTheme.primary-1);
360
- }
361
- }
362
-
363
- .webcam-container {
364
- @apply fixed flex-col;
365
- z-index: 1001;
366
- left: 50%;
367
- top: 25%;
368
- transform: translateX(-50%);
369
- gap: theme(digitv2.spacers.spacer6);
370
- background-color: theme(digitv2.lightTheme.paper-primary);
371
- border-radius: theme(digitv2.spacers.spacer1);
372
- padding: theme(digitv2.spacers.spacer6);
373
-
374
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
375
- max-height: 31.25rem;
376
- max-width: 27.5rem;
377
- top:15%;
378
- }
379
-
380
- @media (min-width: 48rem) {
381
- max-width: 45rem;
382
- max-height: 28rem;
383
- }
384
-
385
- @media (max-width: 30rem) {
386
- max-width: 20.5rem;
387
- max-height: 39rem;
388
- top: 4%;
389
- }
390
-
391
-
392
- .video-stream {
393
- width: 100% !important;
394
- height: 100% !important;
395
- max-width: 100%;
396
-
397
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
398
- max-height: 24.5rem;
399
- }
400
-
401
- @media (min-width: 48rem) {
402
- max-height: 17.875rem;
403
- }
404
-
405
- @media (max-width: 30rem) {
406
- max-height: 26rem;
407
- }
408
-
409
- video {
410
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
411
- width: 100% !important;
412
- height: 100% !important;
413
- max-width: 100% !important;
414
- }
415
- }
416
-
417
- .cancel-capture-button-wrap {
418
- gap: theme(digitv2.spacers.spacer6);
419
- margin-left: auto;
420
-
421
- @media (max-width: 30rem) {
422
- justify-content: space-between;
423
- margin-left: theme(digitv2.spacers.spacer0);
424
- flex-direction: column;
425
-
426
- button {
427
- @apply w-full;
428
- }
429
- }
430
- }
431
- }
432
-
433
- .capture-heading {
434
- @extend .typography.heading-m;
435
- @apply items-center;
436
- color: #000000;
437
- display: flex;
438
- justify-content: space-between;
439
- }
440
-
441
- .react-doc-viewer {
442
- .image-render {
443
- background-color: transparent;
444
- }
445
- }
446
-
447
- @media (min-width: 30.063rem) and (max-width: 47.938rem) {
448
- .digit-upload-image-drawer {
449
- @apply relative;
450
- }
451
- }
452
-
453
- @media (min-width: 48rem) {
454
- .digit-upload-image-drawer {
455
- @apply relative;
456
- }
457
- }
458
-
459
- }
460
-
461
- @keyframes slideInFromBottom {
462
- from {
463
- transform: translateY(100%);
464
- }
465
-
466
- to {
467
- transform: translateY(0);
468
- }
1
+ .digit-upload-image-drawer {
2
+ @apply w-full fixed left-0 right-0 flex-col;
3
+ display: flex;
4
+ background-color: theme(digitv2.lightTheme.paper-primary);
5
+ border-radius: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0);
6
+ z-index: 1000;
7
+ border-radius: theme(digitv2.spacers.spacer1);
8
+ gap: theme(digitv2.spacers.spacer6);
9
+ padding: theme(digitv2.spacers.spacer6);
10
+
11
+ .image-upload-options {
12
+ @apply h-full;
13
+ display: flex;
14
+
15
+ .upload-options {
16
+ @apply items-center flex-col;
17
+ display: flex;
18
+ flex: 1;
19
+ justify-content: center;
20
+ gap: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
21
+ }
22
+
23
+ .upload-options-label {
24
+ @extend .typography.label;
25
+ @apply cursor-pointer;
26
+ color: theme(digitv2.lightTheme.primary-1);
27
+ }
28
+ }
29
+
30
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
31
+ height: 14.25rem;
32
+ width: 27.5rem;
33
+ left: 50%;
34
+ top: 25%;
35
+ transform: translateX(-50%);
36
+ }
37
+
38
+ @media (min-width: 48rem) {
39
+ width: 37.5rem;
40
+ height: 15rem;
41
+ left: 50%;
42
+ top: 25%;
43
+ transform: translateX(-50%);
44
+ }
45
+
46
+ @media (max-width: 30rem) {
47
+ height: 7.625rem;
48
+ animation: slideInFromBottom 0.5s ease-out forwards;
49
+ }
50
+
51
+
52
+ .capture-close {
53
+ @apply w-8 h-8 absolute top-0 right-0 cursor-pointer mt-sm mr-sm;
54
+ display: flex;
55
+
56
+ svg {
57
+ flex-shrink: 0;
58
+ }
59
+ }
60
+ }
61
+
62
+
63
+ .digit-uploader-wrap {
64
+ @apply flex flex-col;
65
+ gap: theme(digitv2.spacers.spacer3);
66
+
67
+ @media (max-width: 30rem) {
68
+ gap: theme(digitv2.spacers.spacer2);
69
+ }
70
+
71
+ &.error{
72
+ gap:theme(digitv2.spacers.spacer1);
73
+ }
74
+
75
+ .digit-upload-label {
76
+ @extend .typography.label;
77
+ @apply text-left;
78
+ margin: theme(digitv2.spacers.spacer0);
79
+ color: theme(digitv2.lightTheme.text-primary);
80
+ }
81
+
82
+ .digit-uploader-content {
83
+ @apply flex w-full;
84
+ gap: theme(digitv2.spacers.spacer3);
85
+
86
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
87
+ max-width: 27.5rem;
88
+ min-width: 21rem;
89
+ }
90
+
91
+ @media (max-width: 30rem) {
92
+ max-width: 20.563rem;
93
+ min-width: 18rem;
94
+ }
95
+
96
+ @media (min-width: 48rem) {
97
+ max-width: 37.5rem;
98
+ min-width: 20.75rem;
99
+ }
100
+
101
+ }
102
+
103
+ label {
104
+ outline: none !important;
105
+ }
106
+
107
+ .digit-uploader-content-uploadpopup {
108
+ @apply flex flex-col w-full items-center justify-center max-w-full;
109
+ gap: theme(digitv2.spacers.spacer4);
110
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
111
+ background: theme(digitv2.lightTheme.paper-secondary);
112
+ padding: theme(digitv2.spacers.spacer4);
113
+ height: 9rem;
114
+ border-style: dashed;
115
+
116
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
117
+ min-width: 18.75rem;
118
+ }
119
+
120
+ @media (max-width: 30rem) {
121
+ min-width: 17.938rem;
122
+ }
123
+
124
+ @media (min-width: 48rem) {
125
+ min-width: 18.75rem;
126
+ }
127
+
128
+ svg {
129
+ flex-shrink: 0;
130
+ }
131
+
132
+ .drag-drop-text {
133
+ @extend .typography.body-s;
134
+ @apply items-center;
135
+ color: theme(digitv2.lightTheme.text-disabled);
136
+ display: flex;
137
+ margin: theme(digitv2.spacers.spacer0);
138
+
139
+ @media (max-width: 30rem) {
140
+ @apply flex-col;
141
+ }
142
+ }
143
+
144
+ &.error {
145
+ border-style: dashed !important;
146
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
147
+ }
148
+ }
149
+
150
+ .digit-uploadpopup-label {
151
+ @extend .typography.body-s;
152
+ color: theme(digitv2.lightTheme.text-disabled);
153
+ }
154
+
155
+ .digit-upload {
156
+ @apply h-10;
157
+ }
158
+
159
+ .digit-uploader-input {
160
+ @extend .typography.body-s;
161
+ @apply h-10;
162
+ background-color: transparent;
163
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
164
+ padding: theme(digitv2.spacers.spacer2);
165
+ color: theme(digitv2.lightTheme.text-primary) !important;
166
+
167
+ &:focus {
168
+ @apply outline-none;
169
+ }
170
+
171
+ &.error {
172
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
173
+ }
174
+
175
+ }
176
+
177
+ input::placeholder {
178
+ color: theme(digitv2.lightTheme.text-disabled) !important;
179
+ }
180
+
181
+ .digit-upload,
182
+ .digit-uploader-input {
183
+
184
+ @apply w-full;
185
+
186
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
187
+ max-width: 19rem;
188
+ min-width: 12.5rem;
189
+ }
190
+
191
+ @media (max-width: 30rem) {
192
+ max-width: 12.313rem;
193
+ min-width: 9.75rem;
194
+ }
195
+
196
+ @media (min-width: 48rem) {
197
+ max-width: 29.25rem;
198
+ min-width: 12.5rem;
199
+ }
200
+
201
+ }
202
+
203
+ .digit-img-container {
204
+ @apply flex flex-wrap max-w-full;
205
+ gap: theme(digitv2.spacers.spacer3);
206
+
207
+ .preview-container {
208
+ @apply relative cursor-pointer h-auto;
209
+ width: 6.25rem;
210
+ min-height: 6.25rem;
211
+
212
+ .overlay {
213
+ position: absolute;
214
+ top: 0;
215
+ left: 0;
216
+ width: 6.25rem !important;
217
+ height: 6.25rem !important;
218
+ background: #6f6f6fb2;
219
+ display: flex;
220
+ justify-content: center;
221
+ align-items: center;
222
+
223
+ &.error{
224
+ background: rgba(185, 25, 0, 0.2);
225
+
226
+ &:hover{
227
+ background: transparent;
228
+ }
229
+ }
230
+
231
+ &:hover{
232
+ background: transparent;
233
+ }
234
+ }
235
+
236
+ .digit-docupload-icon{
237
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
238
+
239
+ &:hover{
240
+ box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
241
+ }
242
+ }
243
+
244
+ .preview-file-name{
245
+ @extend .typography.body-xs;
246
+ @apply whitespace-pre-wrap break-words;
247
+ color: theme(digitv2.lightTheme.text-secondary);
248
+ word-break: break-word;
249
+ cursor: default;
250
+ }
251
+
252
+ img {
253
+ width: 6.25rem !important;
254
+ height: 6.25rem !important;
255
+ }
256
+
257
+ &.inprogress {
258
+ background: #6F6F6FB2;
259
+ }
260
+
261
+ &.error {
262
+ img {
263
+ border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
264
+ }
265
+ }
266
+
267
+ &.single.imageFile{
268
+ width: 100%;
269
+
270
+ img{
271
+ width: 100% !important;
272
+ }
273
+
274
+ .overlay{
275
+ width: 100% !important;
276
+ }
277
+ }
278
+ }
279
+
280
+ .preview-container.uploadImage.singleUpload {
281
+ width: 100%;
282
+ height: 100%;
283
+
284
+ img{
285
+ width: 100% !important;
286
+ height: 100% !important;
287
+ object-fit: cover;
288
+ }
289
+ }
290
+
291
+ &:not(.uploadImage){
292
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
293
+ max-width: 27.5rem;
294
+ min-width: 21rem;
295
+ }
296
+
297
+ @media (max-width: 30rem) {
298
+ max-width: 20.563rem;
299
+ min-width: 18rem;
300
+ }
301
+
302
+ @media (min-width: 48rem) {
303
+ max-width: 37.5rem;
304
+ min-width: 20.75rem;
305
+ }
306
+ }
307
+ }
308
+
309
+ .digit-uploader-close-icon {
310
+ @apply absolute top-0 right-0 w-6 h-6 cursor-pointer;
311
+ background-color: theme(digitv2.lightTheme.primary-2);
312
+ padding: theme(digitv2.spacers.spacer1);
313
+
314
+ &.error {
315
+ background-color: theme(digitv2.lightTheme.alert-error);
316
+ }
317
+ }
318
+
319
+ .digit-upload-helptext {
320
+ @extend .typography.body-s;
321
+ @apply text-left;
322
+ margin: theme(digitv2.spacers.spacer0);
323
+ color: theme(digitv2.lightTheme.text-secondary);
324
+ }
325
+
326
+ .digit-uploaded-file-container {
327
+ @apply items-start relative w-full max-w-full flex-wrap;
328
+ display: flex !important;
329
+ gap: theme(digitv2.spacers.spacer3);
330
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
331
+ background-color: theme(digitv2.lightTheme.paper-secondary);
332
+ margin: theme(digitv2.spacers.spacer0);
333
+ padding: theme(digitv2.spacers.spacer4);
334
+ border-radius: theme(digitv2.spacers.spacer0);
335
+
336
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
337
+ min-width: 18.75rem;
338
+ }
339
+
340
+ @media (max-width: 30rem) {
341
+ min-width: 17.938rem;
342
+ }
343
+
344
+ @media (min-width: 48rem) {
345
+ min-width: 18.75rem;
346
+ }
347
+
348
+ .uploaded-file-container-sub {
349
+ @apply items-center cursor-pointer;
350
+ display: flex !important;
351
+ gap: theme(digitv2.spacers.spacer2);
352
+
353
+ .uploaded-file-details {
354
+ @extend .typography.heading-s;
355
+ color: theme(digitv2.lightTheme.text-secondary);
356
+ }
357
+
358
+ svg {
359
+ flex-shrink: 0;
360
+ }
361
+ }
362
+
363
+ .digit-upload-and-download-button {
364
+ @apply flex-wrap;
365
+ display: flex !important;
366
+ gap: theme(digitv2.spacers.spacer4);
367
+ margin-left: auto;
368
+ margin-right: theme(digitv2.spacers.spacer6);
369
+
370
+ &.error-card{
371
+ margin-right: theme(digitv2.spacers.spacer0);
372
+ }
373
+ }
374
+
375
+ .digit-uploadpopup-close-icon {
376
+ @apply absolute top-0 right-0 w-6 h-6 items-center cursor-pointer;
377
+ background: theme(digitv2.lightTheme.generic-background);
378
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
379
+ display: flex !important;
380
+ justify-content: center;
381
+ border-top: none;
382
+ border-right: none;
383
+
384
+ svg {
385
+ flex-shrink: 0;
386
+ }
387
+ }
388
+
389
+ &.error {
390
+ border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
391
+
392
+ .digit-uploadpopup-close-icon {
393
+ background: theme(digitv2.lightTheme.alert-error);
394
+ border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
395
+ border-top: none;
396
+ border-right: none;
397
+ }
398
+
399
+ .uploaded-file-container-sub {
400
+
401
+ .uploaded-file-details {
402
+ @apply flex-col;
403
+ color: theme(digitv2.lightTheme.alert-error);
404
+ display: flex;
405
+ gap: theme(digitv2.spacers.spacer1);
406
+ }
407
+ }
408
+
409
+ .uploadpopup-error-card {
410
+ @apply w-full max-w-full;
411
+ margin: theme(digitv2.spacers.spacer0);
412
+ }
413
+ }
414
+ }
415
+
416
+ .image-background {
417
+ @apply fixed top-0 left-0 right-0 bottom-0 w-full;
418
+ height: 100vh;
419
+ background-color: theme(digitv2.lightTheme.text-color-primary);
420
+ }
421
+
422
+ .digit-image-uploader {
423
+ @apply flex-col items-center cursor-pointer;
424
+ display: flex;
425
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
426
+ background-color: transparent;
427
+ justify-content: center;
428
+ gap: 0.188rem;
429
+ padding: theme(digitv2.spacers.spacer10);
430
+
431
+ width: 100%;
432
+
433
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
434
+ min-width: 18.75rem;
435
+ }
436
+
437
+ @media (max-width: 30rem) {
438
+ min-width: 17.938rem;
439
+ }
440
+
441
+ @media (min-width: 48rem) {
442
+ min-width: 18.75rem;
443
+ }
444
+
445
+ .upload-image-label {
446
+ @extend .typography.body-xs;
447
+ color: theme(digitv2.lightTheme.primary-1);
448
+ }
449
+ }
450
+
451
+ .webcam-container {
452
+ @apply fixed flex-col;
453
+ z-index: 1001;
454
+ left: 50%;
455
+ top: 25%;
456
+ transform: translateX(-50%);
457
+ gap: theme(digitv2.spacers.spacer6);
458
+ background-color: theme(digitv2.lightTheme.paper-primary);
459
+ border-radius: theme(digitv2.spacers.spacer1);
460
+ padding: theme(digitv2.spacers.spacer6);
461
+
462
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
463
+ max-height: 31.25rem;
464
+ max-width: 27.5rem;
465
+ top:15%;
466
+ }
467
+
468
+ @media (min-width: 48rem) {
469
+ max-width: 45rem;
470
+ max-height: 28rem;
471
+ }
472
+
473
+ @media (max-width: 30rem) {
474
+ max-width: 20.5rem;
475
+ max-height: 39rem;
476
+ top: 4%;
477
+ }
478
+
479
+
480
+ .video-stream {
481
+ width: 100% !important;
482
+ height: 100% !important;
483
+ max-width: 100%;
484
+
485
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
486
+ max-height: 24.5rem;
487
+ }
488
+
489
+ @media (min-width: 48rem) {
490
+ max-height: 17.875rem;
491
+ }
492
+
493
+ @media (max-width: 30rem) {
494
+ max-height: 26rem;
495
+ }
496
+
497
+ video {
498
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
499
+ width: 100% !important;
500
+ height: 100% !important;
501
+ max-width: 100% !important;
502
+ }
503
+ }
504
+
505
+ .cancel-capture-button-wrap {
506
+ gap: theme(digitv2.spacers.spacer6);
507
+ margin-left: auto;
508
+
509
+ @media (max-width: 30rem) {
510
+ justify-content: space-between;
511
+ margin-left: theme(digitv2.spacers.spacer0);
512
+ flex-direction: column;
513
+
514
+ button {
515
+ @apply w-full;
516
+ }
517
+ }
518
+ }
519
+ }
520
+
521
+ .capture-heading {
522
+ @extend .typography.heading-m;
523
+ @apply items-center;
524
+ color: #000000;
525
+ display: flex;
526
+ justify-content: space-between;
527
+ }
528
+
529
+ .react-doc-viewer {
530
+ .image-render {
531
+ background-color: transparent;
532
+ }
533
+ }
534
+
535
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
536
+ .digit-upload-image-drawer {
537
+ @apply relative;
538
+ }
539
+ }
540
+
541
+ @media (min-width: 48rem) {
542
+ .digit-upload-image-drawer {
543
+ @apply relative;
544
+ }
545
+ }
546
+
547
+ }
548
+
549
+ @keyframes slideInFromBottom {
550
+ from {
551
+ transform: translateY(100%);
552
+ }
553
+
554
+ to {
555
+ transform: translateY(0);
556
+ }
469
557
  }