@egovernments/digit-ui-components-css 0.0.1-pucar.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +81 -0
  3. package/dist/index.css +17004 -0
  4. package/dist/index.min.css +6 -0
  5. package/img/browser-icon.png +0 -0
  6. package/img/m_seva_white_logo.png +0 -0
  7. package/img/mseva-demo.png +0 -0
  8. package/package.json +67 -0
  9. package/src/components/CardBasedOptions.scss +46 -0
  10. package/src/components/CitizenHomeCard.scss +56 -0
  11. package/src/components/EllipsisMenu.scss +17 -0
  12. package/src/components/EventCalendarView.scss +10 -0
  13. package/src/components/FAQ.scss +64 -0
  14. package/src/components/OnGroundEventCard.scss +72 -0
  15. package/src/components/PageBasedInput.scss +29 -0
  16. package/src/components/PopupHeadingLabel.scss +15 -0
  17. package/src/components/PropertySearchForm.scss +58 -0
  18. package/src/components/SearchForm.scss +56 -0
  19. package/src/components/SearchOnRadioButton.scss +10 -0
  20. package/src/components/StandaloneSearchBar.scss +10 -0
  21. package/src/components/TimeLine.scss +68 -0
  22. package/src/components/WhatsNewCard.scss +13 -0
  23. package/src/components/actionLink.scss +3 -0
  24. package/src/components/actionbar.scss +97 -0
  25. package/src/components/bannercomponents.scss +136 -0
  26. package/src/components/body.scss +144 -0
  27. package/src/components/buttons.scss +101 -0
  28. package/src/components/card.scss +391 -0
  29. package/src/components/cardHeaderWithOptions.scss +14 -0
  30. package/src/components/changeLanguage.scss +3 -0
  31. package/src/components/charts.scss +186 -0
  32. package/src/components/checkbox.scss +53 -0
  33. package/src/components/checkpoint.scss +63 -0
  34. package/src/components/citizenInfoLabel.scss +14 -0
  35. package/src/components/custombtn.scss +11 -0
  36. package/src/components/datatable.scss +134 -0
  37. package/src/components/datewrap.scss +21 -0
  38. package/src/components/detailscard.scss +6 -0
  39. package/src/components/detailscontainer.scss +13 -0
  40. package/src/components/filters.scss +98 -0
  41. package/src/components/grey.scss +3 -0
  42. package/src/components/hoc/InboxComposer.scss +115 -0
  43. package/src/components/hoc/index.scss +1 -0
  44. package/src/components/howItWorks.scss +71 -0
  45. package/src/components/imageviewer.scss +33 -0
  46. package/src/components/inboxv2/InboxLinks.scss +59 -0
  47. package/src/components/inboxv2/horizontalNav.scss +224 -0
  48. package/src/components/inboxv2/inboxSearch.scss +116 -0
  49. package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
  50. package/src/components/inboxv2/index.scss +5 -0
  51. package/src/components/inboxv2/searchComponentTable.scss +44 -0
  52. package/src/components/info-banner.scss +35 -0
  53. package/src/components/inputotp.scss +15 -0
  54. package/src/components/keynote.scss +27 -0
  55. package/src/components/languageSelector.scss +24 -0
  56. package/src/components/loader.scss +96 -0
  57. package/src/components/map.scss +30 -0
  58. package/src/components/menu.scss +0 -0
  59. package/src/components/metricsTable.scss +28 -0
  60. package/src/components/multiLink.scss +88 -0
  61. package/src/components/multiSelectDropdown.scss +77 -0
  62. package/src/components/navbar.scss +312 -0
  63. package/src/components/plusMinus.scss +15 -0
  64. package/src/components/popup.scss +16 -0
  65. package/src/components/radiobtn.scss +45 -0
  66. package/src/components/ratingstar.scss +33 -0
  67. package/src/components/roundedLabel.scss +10 -0
  68. package/src/components/searchAction.scss +20 -0
  69. package/src/components/sectionalDropdown.scss +43 -0
  70. package/src/components/selectdropdown.scss +174 -0
  71. package/src/components/sidebar.scss +141 -0
  72. package/src/components/staticDynamicMessages.scss +107 -0
  73. package/src/components/staticSideBar.scss +27 -0
  74. package/src/components/statushighlight.scss +17 -0
  75. package/src/components/submiterrors.scss +11 -0
  76. package/src/components/summary.scss +29 -0
  77. package/src/components/table.scss +201 -0
  78. package/src/components/tag.scss +27 -0
  79. package/src/components/telephone.scss +17 -0
  80. package/src/components/textfields.scss +96 -0
  81. package/src/components/toast.scss +31 -0
  82. package/src/components/toggleSwitch.scss +41 -0
  83. package/src/components/topbar.scss +153 -0
  84. package/src/components/uploadcomponents.scss +100 -0
  85. package/src/digitv2/components/CitizenHomeCardV2.scss +56 -0
  86. package/src/digitv2/components/ErrorMessage.scss +19 -0
  87. package/src/digitv2/components/FormComposerV2.scss +118 -0
  88. package/src/digitv2/components/PageBasedInputV2.scss +33 -0
  89. package/src/digitv2/components/WhatsNewCardV2.scss +13 -0
  90. package/src/digitv2/components/actionLinkV2.scss +9 -0
  91. package/src/digitv2/components/actionbarV2.scss +110 -0
  92. package/src/digitv2/components/appContainerV2.scss +49 -0
  93. package/src/digitv2/components/backButtonV2.scss +26 -0
  94. package/src/digitv2/components/bannerV2.scss +120 -0
  95. package/src/digitv2/components/bodyContainerV2.scss +39 -0
  96. package/src/digitv2/components/breadCrumbV2.scss +34 -0
  97. package/src/digitv2/components/breakLineV2.scss +6 -0
  98. package/src/digitv2/components/buttonsV2.scss +407 -0
  99. package/src/digitv2/components/cardBasedOptionsV2.scss +46 -0
  100. package/src/digitv2/components/cardLabelV2.scss +8 -0
  101. package/src/digitv2/components/cardV2.scss +383 -0
  102. package/src/digitv2/components/checkboxV2.scss +80 -0
  103. package/src/digitv2/components/checkpointV2.scss +71 -0
  104. package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
  105. package/src/digitv2/components/dateWrapV2.scss +17 -0
  106. package/src/digitv2/components/detailsCardV2.scss +17 -0
  107. package/src/digitv2/components/displayPhotosV2.scss +33 -0
  108. package/src/digitv2/components/fieldV1.scss +97 -0
  109. package/src/digitv2/components/footerV2.scss +55 -0
  110. package/src/digitv2/components/headerBarV2.scss +34 -0
  111. package/src/digitv2/components/headerV2.scss +12 -0
  112. package/src/digitv2/components/infoCardV2.scss +143 -0
  113. package/src/digitv2/components/infobuttons.scss +76 -0
  114. package/src/digitv2/components/keynoteV2.scss +35 -0
  115. package/src/digitv2/components/labelFieldPairV2.scss +58 -0
  116. package/src/digitv2/components/loaderV2.scss +85 -0
  117. package/src/digitv2/components/mobileNumberV2.scss +65 -0
  118. package/src/digitv2/components/modalV2.scss +46 -0
  119. package/src/digitv2/components/multiSelectDropdownV2.scss +316 -0
  120. package/src/digitv2/components/multiUploadWrapperV2.scss +6 -0
  121. package/src/digitv2/components/navbarV2.scss +9 -0
  122. package/src/digitv2/components/noresultsfoundV2.scss +11 -0
  123. package/src/digitv2/components/numeric.scss +47 -0
  124. package/src/digitv2/components/otpInputV2.scss +15 -0
  125. package/src/digitv2/components/panelcard.scss +161 -0
  126. package/src/digitv2/components/panels.scss +115 -0
  127. package/src/digitv2/components/paragraphV2.scss +5 -0
  128. package/src/digitv2/components/popUpV2.scss +309 -0
  129. package/src/digitv2/components/radiobtnV2.scss +114 -0
  130. package/src/digitv2/components/ratingV2.scss +33 -0
  131. package/src/digitv2/components/searchActionV2.scss +11 -0
  132. package/src/digitv2/components/searchFormV2.scss +76 -0
  133. package/src/digitv2/components/searchcomponent.scss +7 -0
  134. package/src/digitv2/components/selectdropdownV2.scss +361 -0
  135. package/src/digitv2/components/sidebarV2.scss +11 -0
  136. package/src/digitv2/components/stepper.scss +127 -0
  137. package/src/digitv2/components/tagV2.scss +121 -0
  138. package/src/digitv2/components/telephoneV2.scss +18 -0
  139. package/src/digitv2/components/textInputV2.scss +463 -0
  140. package/src/digitv2/components/textareaV2.scss +100 -0
  141. package/src/digitv2/components/textblock.scss +47 -0
  142. package/src/digitv2/components/timeline.scss +127 -0
  143. package/src/digitv2/components/toastV2.scss +81 -0
  144. package/src/digitv2/components/toggle.scss +73 -0
  145. package/src/digitv2/components/toggleswitchV2.scss +42 -0
  146. package/src/digitv2/components/topbarV2.scss +187 -0
  147. package/src/digitv2/components/treeSelectV2.scss +133 -0
  148. package/src/digitv2/components/uploadFileV2.scss +146 -0
  149. package/src/digitv2/components/uploader.scss +469 -0
  150. package/src/digitv2/index.scss +198 -0
  151. package/src/digitv2/pages/employee/index.scss +1 -0
  152. package/src/digitv2/pages/employee/workbench.scss +615 -0
  153. package/src/digitv2/typography.scss +658 -0
  154. package/src/index.scss +774 -0
  155. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -0
  156. package/src/pages/citizen/DocumentList.scss +305 -0
  157. package/src/pages/citizen/Events.scss +47 -0
  158. package/src/pages/citizen/HomePageWrapper.scss +158 -0
  159. package/src/pages/citizen/SurveyList.scss +22 -0
  160. package/src/pages/citizen/citizenDocument.scss +22 -0
  161. package/src/pages/citizen/container.scss +19 -0
  162. package/src/pages/citizen/payment/payment-type.scss +3 -0
  163. package/src/pages/citizen/updatePropertyNumber.scss +46 -0
  164. package/src/pages/employee/EmployeeLogin.scss +7 -0
  165. package/src/pages/employee/cardfix.scss +13 -0
  166. package/src/pages/employee/container.scss +72 -0
  167. package/src/pages/employee/dss.scss +266 -0
  168. package/src/pages/employee/form-fields.scss +13 -0
  169. package/src/pages/employee/iframe.scss +66 -0
  170. package/src/pages/employee/inbox.scss +585 -0
  171. package/src/pages/employee/index.scss +626 -0
  172. package/src/pages/employee/login.scss +221 -0
  173. package/src/pages/employee/oldMobileInbox.scss +5 -0
  174. package/src/pages/employee/popupmodule.scss +34 -0
  175. package/src/pages/employee/response.scss +3 -0
  176. package/src/pages/employee/scroll-table.scss +119 -0
  177. package/src/pages/employee/surveys.scss +273 -0
  178. package/src/pages/employee/tooltip.scss +36 -0
  179. package/src/pages/employee/updateNumber.scss +13 -0
  180. package/svg/arrowdown.svg +1 -0
  181. package/svg/arrowleft.svg +1 -0
  182. package/svg/calendar.svg +1 -0
  183. package/svg/camera.svg +4 -0
  184. package/svg/check.svg +4 -0
  185. package/svg/close.svg +4 -0
  186. package/svg/error.svg +4 -0
  187. package/svg/error2.svg +5 -0
  188. package/svg/searchicon.svg +4 -0
  189. package/svg/starempty.svg +4 -0
  190. package/svg/starfilled.svg +5 -0
  191. package/svg/success.svg +4 -0
@@ -0,0 +1,361 @@
1
+ .digit-dropdown-employee-select-wrap {
2
+ @apply w-full relative;
3
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
4
+ /* Media query for tablets */
5
+ max-width: 27.5rem;
6
+ }
7
+ @media (max-aspect-ratio: 9/16) {
8
+ /* Media query for mobile */
9
+ max-width: 20.5rem;
10
+ width: 100%;
11
+ }
12
+ @media (min-aspect-ratio: 3/4) {
13
+ /* Media query for desktop */
14
+ max-width: 37.5rem;
15
+ }
16
+ .digit-dropdown-select {
17
+ @extend .light-input-border;
18
+ @apply relative block w-full h-10 bg-white;
19
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
20
+ &.digit-field-error {
21
+ border: 0.063rem solid;
22
+ border-color: theme(digitv2.lightTheme.alert-error);
23
+ }
24
+ &.disabled {
25
+ pointer-events: none !important;
26
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
27
+ color: theme(digitv2.lightTheme.generic-divider) !important;
28
+ }
29
+ input[type="text"] {
30
+ @extend .typography.body-l;
31
+ @apply absolute z-10 h-full outline-none;
32
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
33
+ background-color: transparent;
34
+ padding-top:theme(digitv2.spacers.spacer2);
35
+ padding-bottom: theme(digitv2.spacers.spacer2);
36
+ padding-left:theme(digitv2.spacers.spacer3);
37
+ color: theme(digitv2.lightTheme.text-primary);
38
+ }
39
+ p {
40
+ @extend .light-text-color-primary;
41
+ padding-top: 0.563rem;
42
+ @apply text-form-field text-text-primary float-left ml-sm;
43
+ }
44
+ img {
45
+ @apply float-right h-6 w-6 mt-sm mr-sm;
46
+ }
47
+ svg {
48
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
49
+ }
50
+ }
51
+ .digit-dropdown-select-active {
52
+ @apply relative block w-full h-10;
53
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
54
+ input[type="text"] {
55
+ @extend .typography.body-l;
56
+ @apply absolute z-10 h-full outline-none;
57
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
58
+ background-color: transparent;
59
+ font-size: theme(digitv2.spacers.spacer4);
60
+ padding-top: theme(digitv2.spacers.spacer2);
61
+ padding-bottom: theme(digitv2.spacers.spacer2);
62
+ padding-left: theme(digitv2.spacers.spacer3);
63
+ color: theme(digitv2.lightTheme.text-primary);
64
+ }
65
+ p {
66
+ @extend .light-text-color-primary;
67
+ @apply text-form-field text-text-primary float-left ml-sm;
68
+ }
69
+ p {
70
+ padding-top: 0.563rem;
71
+ }
72
+ img {
73
+ @apply float-right h-6 w-6 mt-sm mr-sm;
74
+ }
75
+ svg {
76
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
77
+ }
78
+ }
79
+ .digit-dropdown-options-card {
80
+ width: 100% !important;
81
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
82
+ max-height: 20vmax;
83
+ @apply absolute z-20 bg-white max-w-full overflow-y-auto overflow-x-hidden;
84
+ p {
85
+ @extend .light-text-color-primary;
86
+ padding-top: 0.875rem;
87
+ @apply w-full h-12 pl-sm text-text-primary text-form-field;
88
+ &:hover {
89
+ @extend .light-background;
90
+ @apply bg-grey-mid;
91
+ }
92
+ }
93
+ }
94
+ .digit-dropdown-select,
95
+ .digit-dropdown-select-active {
96
+ &.treedropdown,
97
+ &.notSearchable {
98
+ @apply cursor-pointer;
99
+ }
100
+ }
101
+ }
102
+ .digit-dropdown-options-card::-webkit-scrollbar {
103
+ width: theme(digitv2.spacers.spacer2);
104
+ background-color: theme(digitv2.lightTheme.generic-background);
105
+ }
106
+ .digit-dropdown-options-card::-webkit-scrollbar-track {
107
+ background-color: theme(digitv2.lightTheme.generic-background);
108
+ border-radius: 0.563rem;
109
+ }
110
+ .digit-dropdown-options-card::-webkit-scrollbar-thumb {
111
+ background-color: theme(digitv2.lightTheme.generic-divider);
112
+ border-radius: 0.563rem;
113
+ }
114
+ .digit-nested-category {
115
+ @apply flex items-center flex-shrink-0;
116
+ background: theme(digitv2.lightTheme.background);
117
+ height: 2.4375rem;
118
+ padding: theme(digitv2.spacers.spacer4) 0.625rem;
119
+ gap: 0.625rem;
120
+ }
121
+ .digit-nested-category:not(:first-child) {
122
+ margin-top: theme(digitv2.spacers.spacer4);
123
+ }
124
+ .digit-category-name {
125
+ @extend .typography.heading-s;
126
+ @apply flex items-center overflow-hidden whitespace-no-wrap;
127
+ color: theme(digitv2.lightTheme.text-primary);
128
+ gap: theme(digitv2.spacers.spacer1);
129
+ }
130
+ .digit-dropdown-item {
131
+ @apply flex flex-row;
132
+ padding: 0.625rem;
133
+ gap: 0.625rem;
134
+ min-height: 2.438rem;
135
+ color: theme(digitv2.lightTheme.text-primary) !important;
136
+ .profile-icon-container {
137
+ flex-shrink: 0;
138
+ border-radius: 4.5rem;
139
+ background-size: cover;
140
+ background-position: center;
141
+ }
142
+ .option-des-container {
143
+ @apply flex-col justify-center w-full max-w-full overflow-hidden box-border;
144
+ display: flex !important;
145
+ align-items: center;
146
+ min-height: 1.125rem;
147
+ .icon-option{
148
+ @apply w-full items-center;
149
+ display: flex !important;
150
+ gap:theme(digitv2.spacers.spacer1);
151
+ svg{
152
+ flex-shrink: 0;
153
+ }
154
+ }
155
+ .main-option {
156
+ @extend .typography.body-s;
157
+ @apply whitespace-no-wrap w-full max-w-full overflow-hidden;
158
+ text-overflow: ellipsis;
159
+ &.nestedtextdropdown,
160
+ &.profilenestedtext {
161
+ @extend .typography.body-l;
162
+ color: theme(digitv2.lightTheme.text-secondary);
163
+ }
164
+ }
165
+ .option-description {
166
+ @extend .typography.body-xs;
167
+ color: theme(digitv2.lightTheme.text-secondary);
168
+ }
169
+ }
170
+ &:not(.nesteddropdown, .treedropdown):not(:active):nth-of-type(even) {
171
+ background: theme(digitv2.lightTheme.paper-secondary);
172
+ }
173
+ &.nesteddropdown {
174
+ position: relative;
175
+ height: 2.4375rem;
176
+ &::before {
177
+ content: "";
178
+ position: absolute;
179
+ bottom: 0;
180
+ left: 0.625rem;
181
+ right: 0.635rem;
182
+ border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
183
+ }
184
+ &:hover,
185
+ &:active {
186
+ &::before {
187
+ border-bottom: none;
188
+ }
189
+ }
190
+ }
191
+ &:hover,
192
+ &.keyChange{
193
+ background: theme(digitv2.lightTheme.primary-bg) !important;
194
+ border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
195
+ }
196
+ &:active {
197
+ background: theme(digitv2.lightTheme.primary-1) !important;
198
+ span,
199
+ .option-description {
200
+ color: theme(digitv2.lightTheme.paper-primary);
201
+ }
202
+ .svg {
203
+ width: 6.25rem;
204
+ }
205
+ .option-des-container {
206
+ .main-option {
207
+ @extend .typography.heading-s;
208
+ }
209
+ }
210
+ }
211
+ &.nestedtextdropdown {
212
+ min-height: 4.75rem;
213
+ padding: theme(digitv2.spacers.spacer2) 0.635rem theme(digitv2.spacers.spacer2) 0.635rem;
214
+ color: theme(digitv2.lightTheme.text-secondary) !important;
215
+ &:hover {
216
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
217
+ }
218
+ .option-des-container {
219
+ padding-right: 0.125rem !important;
220
+ }
221
+ &:active {
222
+ .option-des-container {
223
+ .main-option {
224
+ @extend .typography.heading-s;
225
+ color: theme(digitv2.lightTheme.paper-primary);
226
+ }
227
+ }
228
+ }
229
+ }
230
+ &.profiledropdown {
231
+ min-height: theme(digitv2.spacers.spacer12);
232
+ padding: theme(digitv2.spacers.spacer2) 0.625rem;
233
+ }
234
+ &.profilenestedtext {
235
+ min-height: 4.75rem;
236
+ padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
237
+ gap: theme(digitv2.spacers.spacer4);
238
+ align-items: center;
239
+ color: theme(digitv2.lightTheme.text-secondary) !important;
240
+ &:active {
241
+ .option-des-container {
242
+ .main-option {
243
+ @extend .typography.heading-s;
244
+ color: theme(digitv2.lightTheme.paper-primary);
245
+ }
246
+ }
247
+ }
248
+ }
249
+ &.unsuccessfulresults {
250
+ background-color: theme(digitv2.lightTheme.paper-secondary);
251
+ pointer-events: none;
252
+ span {
253
+ @extend .typography.body-s;
254
+ color: theme(digitv2.lightTheme.text-disabled);
255
+ }
256
+ }
257
+ }
258
+ .digit-dropdown-employee-select-wrap--elipses {
259
+ @apply overflow-hidden whitespace-no-wrap;
260
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
261
+ text-overflow: ellipsis;
262
+ &.treedropdown,
263
+ &.notSearchable {
264
+ @apply pointer-events-none;
265
+ }
266
+ }
267
+ .digit-dropdown-select-wrap {
268
+ @apply mb-lg relative bg-white;
269
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
270
+ /* Media query for tablets */
271
+ max-width: 27.5rem;
272
+ }
273
+ @media (max-aspect-ratio: 9/16) {
274
+ /* Media query for mobile */
275
+ max-width: 20.5rem;
276
+ width: 100%;
277
+ }
278
+ @media (min-aspect-ratio: 3/4) {
279
+ /* Media query for desktop */
280
+ max-width: 37.5rem;
281
+ }
282
+ .digit-dropdown-select {
283
+ @extend .light-input-border;
284
+ @apply relative block w-full h-10 bg-white;
285
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
286
+ input[type="text"] {
287
+ @extend .typography.body-l;
288
+ @apply absolute z-10 h-full outline-none;
289
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
290
+ background-color: transparent;
291
+ padding-top: theme(digitv2.spacers.spacer2);
292
+ padding-bottom: theme(digitv2.spacers.spacer2);
293
+ padding-left: theme(digitv2.spacers.spacer3);
294
+ color: theme(digitv2.lightTheme.text-primary);
295
+ }
296
+ &.disabled {
297
+ pointer-events: none !important;
298
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
299
+ color: theme(digitv2.lightTheme.generic-divider) !important;
300
+ }
301
+ p {
302
+ @extend .light-text-color-primary;
303
+ padding-top: 0.563rem;
304
+ @apply text-form-field text-text-primary float-left ml-sm;
305
+ }
306
+ img {
307
+ @apply float-right h-6 w-6 mt-sm mr-sm;
308
+ }
309
+ svg {
310
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
311
+ }
312
+ }
313
+ .digit-dropdown-select-active {
314
+ @apply relative block w-full h-10;
315
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
316
+ input[type="text"] {
317
+ @extend .typography.body-l;
318
+ @apply absolute z-10 h-full outline-none;
319
+ width:calc(100%- (theme(digitv2.spacers.spacer7)));
320
+ background-color: transparent;
321
+ padding-top: theme(digitv2.spacers.spacer2);
322
+ padding-bottom: theme(digitv2.spacers.spacer2);
323
+ padding-left: theme(digitv2.spacers.spacer3);
324
+ color: theme(digitv2.lightTheme.text-primary);
325
+ }
326
+ p {
327
+ @extend .light-text-color-primary;
328
+ @apply text-form-field text-text-primary float-left ml-sm;
329
+ }
330
+ p {
331
+ padding-top: 0.563rem;
332
+ }
333
+ img {
334
+ @apply float-right h-6 w-6 mt-sm mr-sm;
335
+ }
336
+ svg {
337
+ @apply absolute right-0 float-right h-6 w-6 mt-sm mr-sm mb-sm;
338
+ }
339
+ }
340
+ .digit-dropdown-select,
341
+ .digit-dropdown-select-active {
342
+ &.treedropdown,
343
+ &.notSearchable {
344
+ @apply cursor-pointer;
345
+ }
346
+ }
347
+ .digit-dropdown-options-card {
348
+ width: 100% !important;
349
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
350
+ @apply z-20 bg-white overflow-y-auto overflow-x-hidden;
351
+ max-height: 20vmax;
352
+ p {
353
+ @extend .light-text-color-primary;
354
+ padding-top: 0.875rem;
355
+ @apply w-full h-12 pl-sm text-text-primary text-form-field;
356
+ &:hover {
357
+ @apply bg-grey-mid;
358
+ }
359
+ }
360
+ }
361
+ }
@@ -0,0 +1,11 @@
1
+ @media screen and (max-width: 640px) {
2
+ .digit-employeeSidebar {
3
+ display: none;
4
+ }
5
+ }
6
+
7
+ @media screen and (min-width: 641px) {
8
+ .digit-citizenSidebar {
9
+ display: none;
10
+ }
11
+ }
@@ -0,0 +1,127 @@
1
+ .digit-stepper-container {
2
+ @apply flex overflow-auto;
3
+ min-height: 4rem;
4
+
5
+ &.vertical {
6
+ @apply flex-col;
7
+ }
8
+
9
+ .digit-stepper-checkpoint {
10
+ @apply relative flex-1;
11
+ min-height: 4rem;
12
+ z-index: 1;
13
+ }
14
+
15
+ .digit-stepper-content {
16
+ @apply flex flex-col items-center;
17
+ min-height: 4rem;
18
+ gap: theme(digitv2.spacers.spacer2);
19
+
20
+ .stepper-label {
21
+ @extend .typography.body-s;
22
+ @apply text-center;
23
+ color: theme(digitv2.lightTheme.text-secondary);
24
+ letter-spacing: theme(digitv2.spacers.spacer0);
25
+ &.completed {
26
+ color: theme(digitv2.lightTheme.text-primary);
27
+ }
28
+ &.current {
29
+ @extend .typography.heading-s;
30
+ line-height:1.37rem;
31
+ color: theme(digitv2.lightTheme.text-primary);
32
+ }
33
+ &.vertical{
34
+ @apply text-left;
35
+ margin-top:0.438rem;
36
+ }
37
+ }
38
+ &.vertical {
39
+ @apply flex-row;
40
+ }
41
+ }
42
+ .stepper-circle {
43
+ @apply flex text-center justify-center items-center font-regular w-8 h-8;
44
+ background-color: theme(digitv2.lightTheme.paper-primary);
45
+ border-radius: 50%;
46
+ margin-top: theme(digitv2.spacers.spacer1);
47
+ border: 0.125rem solid theme(digitv2.lightTheme.generic-divider);
48
+ color: #787878;
49
+ @media (max-aspect-ratio: 9/16) {
50
+ @apply w-6 h-6;
51
+ }
52
+ }
53
+ .active {
54
+ @apply font-bold;
55
+ background-color: theme(digitv2.lightTheme.primary-1);
56
+ border-color: theme(digitv2.lightTheme.primary-1);
57
+ color:theme(digitv2.lightTheme.paper-primary);
58
+ }
59
+ .stepper-connect {
60
+ @apply absolute;
61
+ top: theme(digitv2.spacers.spacer5);
62
+ left: calc(50% + (theme(digitv2.spacers.spacer2)));
63
+ right: calc(-50% + (theme(digitv2.spacers.spacer2)));
64
+ border-top: 0.125rem solid theme(colors.border);
65
+ z-index: -1;
66
+ height: 0.125rem;
67
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
68
+ min-width: 6.313rem;
69
+ max-width: 39.438rem;
70
+ }
71
+ @media (max-aspect-ratio: 9/16) {
72
+ min-width: 4.313rem;
73
+ max-width: 16.875rem;
74
+ top: 0.875rem;
75
+ }
76
+ @media (min-aspect-ratio: 3/4) {
77
+ min-width: 5.313rem;
78
+ max-width: 82.688rem;
79
+ }
80
+ &.active {
81
+ background-color: theme(digitv2.lightTheme.primary-1);
82
+ border-color: theme(digitv2.lightTheme.primary-1);
83
+ height:theme(digitv2.spacers.spacer1);
84
+ border-top: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
85
+ }
86
+ &.vertical {
87
+ top: calc(50% + (theme(digitv2.spacers.spacer2)));
88
+ bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
89
+ left: -(theme(digitv2.spacers.spacer12));
90
+ width: 0.125rem;
91
+ height: auto;
92
+ transform: rotate(90deg);
93
+ &.active {
94
+ background-color: transparent;
95
+ border-color: theme(digitv2.lightTheme.primary-1);
96
+ }
97
+ }
98
+ }
99
+ .digit-stepper-content:hover {
100
+ .stepper-circle.active {
101
+ outline: theme(digitv2.spacers.spacer1) solid #F477381F;
102
+ }
103
+ .stepper-label {
104
+ &.completed {
105
+ @extend .typography.heading-s;
106
+ line-height:1.37rem;
107
+ color: theme(digitv2.lightTheme.text-primary);
108
+ }
109
+ }
110
+ }
111
+ }
112
+
113
+ .digit-stepper-container::-webkit-scrollbar {
114
+ width:theme(digitv2.spacers.spacer2);
115
+ height:theme(digitv2.spacers.spacer2);
116
+ background-color: theme(digitv2.lightTheme.generic-background);
117
+ }
118
+
119
+ .digit-stepper-container::-webkit-scrollbar-track {
120
+ background-color: theme(digitv2.lightTheme.generic-background);
121
+ border-radius: 0.563rem;
122
+ }
123
+
124
+ .digit-stepper-container::-webkit-scrollbar-thumb {
125
+ background-color: theme(digitv2.lightTheme.generic-divider);
126
+ border-radius: 0.563rem;
127
+ }
@@ -0,0 +1,121 @@
1
+ .digit-tag-error-container {
2
+ @apply flex flex-col max-w-full;
3
+ gap: theme(digitv2.spacers.spacer1);
4
+ }
5
+
6
+ .digit-tag-container {
7
+ @apply flex flex-wrap mb-md items-center;
8
+ gap: theme(digitv2.spacers.spacer2);
9
+ margin-top: theme(digitv2.spacers.spacer2);
10
+
11
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
12
+ /* Media query for tablets */
13
+ max-width: 27.5rem;
14
+ min-width: 12.5rem;
15
+ }
16
+
17
+ @media (max-aspect-ratio: 9/16) {
18
+ /* Media query for mobile */
19
+ width: 100%;
20
+ max-width: 100%;
21
+ }
22
+
23
+ @media (min-aspect-ratio: 3/4) {
24
+ /* Media query for desktop */
25
+ max-width: 37.5rem;
26
+ min-width: 12.5rem;
27
+ }
28
+
29
+ .digit-tag {
30
+ @apply inline-flex items-center h-10 w-full max-w-full;
31
+ padding: theme(digitv2.spacers.spacer2);
32
+ gap: theme(digitv2.spacers.spacer2);
33
+ border-radius: theme(digitv2.spacers.spacer1);
34
+ background: theme(digitv2.lightTheme.generic-background);
35
+ margin: theme(digitv2.spacers.spacer0);
36
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
37
+
38
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
39
+ /* Media query for tablets */
40
+ height: theme(digitv2.spacers.spacer9);
41
+ }
42
+
43
+ @media (max-aspect-ratio: 9/16) {
44
+ /* Media query for mobile */
45
+ height: theme(digitv2.spacers.spacer9);
46
+ }
47
+
48
+
49
+ .digit-text {
50
+ @extend .typography.body-xs;
51
+ @apply overflow-hidden items-center whitespace-no-wrap;
52
+ max-width: calc(100% - (theme(digitv2.spacers.spacer7)));
53
+ width: calc(100% - (theme(digitv2.spacers.spacer7)));
54
+ text-overflow: clip;
55
+ color: theme(digitv2.lightTheme.text-primary);
56
+ display: flex;
57
+ text-overflow: ellipsis;
58
+ }
59
+
60
+ .close-icon {
61
+ @apply items-center w-6 h-6 cursor-pointer flex-shrink-0;
62
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
63
+ border-radius: theme(digitv2.spacers.spacer1);
64
+ background-color: theme(digitv2.lightTheme.text-secondary);
65
+ display: flex !important;
66
+ justify-content: center;
67
+
68
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
69
+ /* Media query for tablets */
70
+ height: theme(digitv2.spacers.spacer5);
71
+ width: theme(digitv2.spacers.spacer5);
72
+ }
73
+
74
+ @media (max-aspect-ratio: 9/16) {
75
+ /* Media query for mobile */
76
+ height: theme(digitv2.spacers.spacer5);
77
+ width: theme(digitv2.spacers.spacer5);
78
+ }
79
+
80
+ &.disabled{
81
+ pointer-events: none;
82
+ }
83
+
84
+ svg{
85
+ @apply items-center flex-shrink-0;
86
+ width: theme(digitv2.spacers.spacer6);
87
+ height: theme(digitv2.spacers.spacer6);
88
+ display: flex !important;
89
+ justify-content: center;
90
+
91
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
92
+ /* Media query for tablets */
93
+ height: theme(digitv2.spacers.spacer5);
94
+ width: theme(digitv2.spacers.spacer5);
95
+ }
96
+
97
+ @media (max-aspect-ratio: 9/16) {
98
+ /* Media query for mobile */
99
+ height: theme(digitv2.spacers.spacer5);
100
+ width: theme(digitv2.spacers.spacer5);
101
+ }
102
+ }
103
+ }
104
+
105
+ &.errortag {
106
+ border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
107
+ background-color: theme(digitv2.lightTheme.paper-primary);
108
+ box-shadow: 0.125rem 0.125rem theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #D4351C4D;
109
+
110
+ .digit-text {
111
+ @extend .typography.heading-xs;
112
+ color: theme(digitv2.lightTheme.alert-error);
113
+ }
114
+
115
+ .close-icon {
116
+ border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
117
+ background-color: theme(digitv2.lightTheme.alert-error);
118
+ }
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,18 @@
1
+ .digit-telephone {
2
+ @apply flex items-baseline;
3
+ img,
4
+ svg {
5
+ height: 22px;
6
+ width: 20px;
7
+ @apply text-primary-main ml-sm items-center;
8
+ margin-left: 0px;
9
+ }
10
+
11
+ p {
12
+ @apply text-text-primary text-body-l pl-sm;
13
+ }
14
+ }
15
+
16
+ .digit-call {
17
+ @apply flex text-text-secondary text-body-l;
18
+ }