@egovernments/digit-ui-components-css 0.0.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 +50 -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,316 @@
1
+ @import url("../index.scss");
2
+ .digit-multiselectdropdown-wrap {
3
+ margin-bottom: 0.625rem;
4
+
5
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
6
+ /* Media query for tablets */
7
+ max-width: 27.5rem;
8
+ }
9
+
10
+ @media (max-aspect-ratio: 9/16) {
11
+ /* Media query for mobile */
12
+ max-width: 20.5rem;
13
+ width: 100%;
14
+ }
15
+
16
+ @media (min-aspect-ratio: 3/4) {
17
+ /* Media query for desktop */
18
+ max-width: 37.5rem;
19
+ }
20
+
21
+ @apply relative text-form-field text-text-primary w-full;
22
+ .digit-multiselectdropdown-master,
23
+ .digit-multiselectdropdown-master-active {
24
+ @apply relative h-10 w-full bg-white;
25
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
26
+ input[type="text"] {
27
+ @extend .typography.body-l;
28
+ @apply absolute top-0 left-0 p-sm min-h-full min-w-full opacity-0;
29
+ letter-spacing: theme(digitv2.spacers.spacer0);
30
+ &:focus {
31
+ @apply outline-none;
32
+ }
33
+ }
34
+ .digit-multiselectdropdown-label {
35
+ @apply flex justify-between p-sm w-full h-full;
36
+ svg {
37
+ @apply h-6 w-6;
38
+ }
39
+ }
40
+ }
41
+ .digit-multiselectdropdown-master {
42
+ &.disabled {
43
+ pointer-events: none !important;
44
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
45
+ color: theme(digitv2.lightTheme.generic-divider) !important;
46
+ }
47
+ }
48
+ .digit-multiselectdropdown-master-active {
49
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
50
+ }
51
+ .digit-multiselectdropdown-server {
52
+ top: theme(digitv2.spacers.spacer10);
53
+ @apply absolute z-20 bg-white overflow-x-hidden overflow-y-auto;
54
+ max-height: 20vmax;
55
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
56
+ width: 100% !important;
57
+ }
58
+ .digit-multiselectdropdown-server::-webkit-scrollbar {
59
+ width: theme(digitv2.spacers.spacer2);
60
+ background-color: theme(digitv2.lightTheme.generic-background);
61
+ }
62
+ .digit-multiselectdropdown-server::-webkit-scrollbar-track {
63
+ background-color: theme(digitv2.lightTheme.generic-background);
64
+ border-radius: 0.563rem;
65
+ }
66
+ .digit-multiselectdropdown-server::-webkit-scrollbar-thumb {
67
+ background-color: theme(digitv2.lightTheme.generic-divider);
68
+ border-radius: 0.563rem;
69
+ }
70
+ .digit-nested-category {
71
+ @apply flex items-center flex-shrink-0;
72
+ background: theme(digitv2.lightTheme.background);
73
+ height: 2.4375rem;
74
+ padding: theme(digitv2.spacers.spacer4) 0.625rem;
75
+ gap: 0.625rem;
76
+ margin-top: theme(digitv2.spacers.spacer4);
77
+ &.selectAll {
78
+ justify-content: space-between;
79
+ }
80
+ }
81
+ .digit-nested-category:nth-child(-n+2) {
82
+ margin-top: theme(digitv2.spacers.spacer0);
83
+ }
84
+ .digit-category-name {
85
+ @extend .typography.heading-s;
86
+ color: theme(digitv2.lightTheme.text-primary);
87
+ }
88
+ .digit-category-selectAll {
89
+ @apply flex relative;
90
+ gap: 0.625rem;
91
+ cursor: pointer !important;
92
+ align-items: center;
93
+ .category-selectAll-label {
94
+ @extend .typography.body-s;
95
+ text-align: left;
96
+ color: theme(digitv2.lightTheme.primary-1);
97
+ }
98
+ input {
99
+ @apply absolute top-0 left-0 w-full h-full opacity-0 cursor-pointer;
100
+ margin: theme(digitv2.spacers.spacer0);
101
+ }
102
+ .digit-multiselectdropodwn-custom-checkbox-selectAll {
103
+ height: theme(digitv2.spacers.spacer5);
104
+ width: theme(digitv2.spacers.spacer5);
105
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
106
+ svg {
107
+ @apply opacity-0 z-10;
108
+ }
109
+ }
110
+ input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
111
+ input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
112
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
113
+ background-color: theme(digitv2.lightTheme.paper-secondary);
114
+ }
115
+ input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
116
+ input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
117
+ @apply opacity-100;
118
+ width: theme(digitv2.spacers.spacer4);
119
+ height: theme(digitv2.spacers.spacer4);
120
+ }
121
+ }
122
+ .digit-multiselectdropodwn-menuitem {
123
+ @apply flex w-full bg-white justify-start items-center;
124
+ min-height: 2.438rem;
125
+ .option-des-container {
126
+ @apply w-full max-w-full overflow-hidden box-border;
127
+ margin: 0.594rem theme(digitv2.spacers.spacer0) 0.594rem theme(digitv2.spacers.spacer0);
128
+ .multiselectdropdown-icon-option {
129
+ @apply w-full items-center;
130
+ display: flex !important;
131
+ gap: theme(digitv2.spacers.spacer1);
132
+ svg {
133
+ flex-shrink: 0;
134
+ }
135
+ }
136
+ }
137
+ &.nestedmultiselect {
138
+ position: relative;
139
+ &:not(.selectAll)::before {
140
+ content: "";
141
+ position: absolute;
142
+ bottom: 0;
143
+ left: 0.625rem;
144
+ right: 0.625rem;
145
+ border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
146
+ }
147
+ &:not(.selectAll):hover,
148
+ &:not(.selectAll):active {
149
+ &::before {
150
+ border-bottom: none;
151
+ }
152
+ }
153
+ }
154
+ &:not(.nestedmultiselect, .keyChange, .checked):not(:active):not(:hover):nth-of-type(even) {
155
+ background: theme(digitv2.lightTheme.paper-secondary);
156
+ }
157
+ &:hover,
158
+ &.keyChange {
159
+ background: theme(digitv2.lightTheme.primary-bg);
160
+ border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
161
+ }
162
+ &:active,
163
+ &:active:hover {
164
+ background: theme(digitv2.lightTheme.primary-1);
165
+ border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
166
+ p {
167
+ @extend .typography.heading-s;
168
+ color: theme(digitv2.lightTheme.paper-primary);
169
+ }
170
+ .digit-label {
171
+ &.selectAll {
172
+ @extend .typography.body-l;
173
+ color: theme(digitv2.lightTheme.primary-1);
174
+ }
175
+ }
176
+ }
177
+ input {
178
+ min-height: 2.438rem;
179
+ @apply absolute min-w-full opacity-0 z-20 cursor-pointer;
180
+ }
181
+ p {
182
+ @extend .typography.body-s;
183
+ @apply w-full overflow-hidden whitespace-no-wrap max-w-full;
184
+ color: theme(digitv2.lightTheme.text-primary);
185
+ margin: theme(digitv2.spacers.spacer0);
186
+ text-overflow: ellipsis;
187
+ }
188
+ &.checked {
189
+ background: theme(digitv2.lightTheme.primary-1);
190
+ p {
191
+ @extend .typography.heading-s;
192
+ color: theme(digitv2.lightTheme.paper-primary);
193
+ }
194
+ .digit-label {
195
+ &.selectAll {
196
+ @extend .typography.body-l;
197
+ color: theme(digitv2.lightTheme.primary-1);
198
+ }
199
+ }
200
+ }
201
+ .digit-multiselectdropodwn-custom-checkbox,
202
+ .digit-multiselectdropodwn-custom-checkbox-selectAll {
203
+ height: theme(digitv2.spacers.spacer5);
204
+ width: theme(digitv2.spacers.spacer5);
205
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
206
+ margin: 0.594rem 0.75rem 0.594rem 0.625rem;
207
+ svg {
208
+ @apply opacity-0 z-10;
209
+ }
210
+ }
211
+ input:active~.digit-multiselectdropodwn-custom-checkbox,
212
+ input:checked~.digit-multiselectdropodwn-custom-checkbox {
213
+ border: 0.125rem solid theme(digitv2.lightTheme.paper-primary);
214
+ background-color: theme(digitv2.lightTheme.primary-1);
215
+ }
216
+ input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll,
217
+ input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll {
218
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
219
+ background-color: theme(digitv2.lightTheme.paper-secondary);
220
+ }
221
+ input:active~.digit-multiselectdropodwn-custom-checkbox svg,
222
+ input:checked~.digit-multiselectdropodwn-custom-checkbox svg,
223
+ input:active~.digit-multiselectdropodwn-custom-checkbox-selectAll svg,
224
+ input:checked~.digit-multiselectdropodwn-custom-checkbox-selectAll svg {
225
+ @apply opacity-100;
226
+ width: theme(digitv2.spacers.spacer4);
227
+ height: theme(digitv2.spacers.spacer4);
228
+ }
229
+ &.nestedtextmultiselect {
230
+ padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
231
+ gap: theme(digitv2.spacers.spacer3);
232
+ align-items: flex-start !important;
233
+ &:not(.selectAll) {
234
+ min-height: 4.75rem;
235
+ .input {
236
+ min-height: 3.75rem;
237
+ }
238
+ }
239
+ .option-des-container {
240
+ @apply flex flex-col justify-center items-start;
241
+ width: 100% !important;
242
+ margin: theme(digitv2.spacers.spacer0);
243
+ p {
244
+ @extend .typography.body-l;
245
+ color: theme(digitv2.lightTheme.text-secondary);
246
+ padding: theme(digitv2.spacers.spacer0);
247
+ margin-bottom: theme(digitv2.spacers.spacer0);
248
+ margin-top: theme(digitv2.spacers.spacer0);
249
+ }
250
+ .option-description {
251
+ color: theme(digitv2.lightTheme.text-secondary);
252
+ font-family: theme(digitv2.fontFamily.sans);
253
+ font-size: theme(digitv2.spacers.spacer3);
254
+ font-style: theme(digitv2.fontStyle.normal);
255
+ font-weight: theme(digitv2.fontWeight.regular);
256
+ line-height: 1.125rem;
257
+ }
258
+ .svg {
259
+ flex-shrink: 0;
260
+ }
261
+ }
262
+ .digit-multiselectdropodwn-custom-checkbox {
263
+ margin: theme(digitv2.spacers.spacer0);
264
+ margin-top: 0.125rem;
265
+ }
266
+ &:active,
267
+ &.checked {
268
+ .option-description,
269
+ p {
270
+ color: theme(digitv2.lightTheme.paper-primary);
271
+ }
272
+ .option-des-container {
273
+ p {
274
+ @extend .typography.heading-s;
275
+ }
276
+ }
277
+ .digit-multiselectdropodwn-custom-checkbox {
278
+ margin-top: theme(digitv2.spacers.spacer0);
279
+ }
280
+ }
281
+ &:active {
282
+ background: theme(digitv2.lightTheme.primary-1);
283
+ }
284
+ .digit-multiselectdropodwn-custom-checkbox-selectAll {
285
+ margin: theme(digitv2.spacers.spacer0);
286
+ margin-top: 0.125rem;
287
+ }
288
+ }
289
+ &.selectAll {
290
+ background-color: theme(digitv2.lightTheme.paper-secondary) !important;
291
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
292
+ }
293
+ .digit-label {
294
+ &.selectAll {
295
+ @extend .typography.body-l;
296
+ color: theme(digitv2.lightTheme.primary-1);
297
+ }
298
+ }
299
+ }
300
+ .digit-cursorPointer {
301
+ @apply cursor-pointer;
302
+ }
303
+ .digit-multiselectdropdown-master,
304
+ .digit-multiselectdropdown-master-active {
305
+ .digit-multiselectdropdown-label {
306
+ p {
307
+ white-space: pre;
308
+ margin: auto;
309
+ margin-left: theme(digitv2.spacers.spacer0);
310
+ padding-left: 1%;
311
+ font-size: theme(digitv2.spacers.spacer4);
312
+ line-height: theme(digitv2.spacers.spacer6);
313
+ }
314
+ }
315
+ }
316
+ }
@@ -0,0 +1,6 @@
1
+ @import url("../index.scss");
2
+
3
+ .digit-validation-error {
4
+ @extend .alert-error;
5
+ @apply block text-body-s text-error;
6
+ }
@@ -0,0 +1,9 @@
1
+ .navbar {
2
+ .digit-employee-select-wrap {
3
+ margin-bottom: 0px;
4
+ }
5
+ h3{
6
+ margin-top: 0;
7
+ margin-bottom: 0;
8
+ }
9
+ }
@@ -0,0 +1,11 @@
1
+ .digit-no-data-found {
2
+ height: 100%;
3
+ width: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ align-items: center;
8
+ .digit-error-msg {
9
+ margin-top: 2rem;
10
+ }
11
+ }
@@ -0,0 +1,47 @@
1
+ .Numeric {
2
+ width: 23.75rem;
3
+ text-align: center;
4
+ display: flex;
5
+ align-content: center;
6
+
7
+ &.disabled {
8
+ @apply border-grey-dark text-grey-dark !important;
9
+ pointer-events: none !important;
10
+ cursor: not-allowed;
11
+
12
+ }
13
+
14
+ &.focused {
15
+ border: 2px solid theme(digitv2.lightTheme.primary-1);
16
+ }
17
+
18
+ &.noneditable {
19
+ pointer-events: none !important;
20
+ border: 1px solid theme(digitv2.lightTheme.generic-inputborder);
21
+ background: theme(digitv2.lightTheme.generic-background);
22
+ color: theme(digitv2.lightTheme.text-secondary);
23
+ }
24
+
25
+ &.error {
26
+ border: 2px solid theme(digitv2.lightTheme.alert-error);
27
+ }
28
+ }
29
+
30
+ .NumericButton {
31
+ color: theme(digitv2.lightTheme.text-secondary);
32
+ font-size: 1.5rem;
33
+ font-weight: theme(digitv2.fontWeight.bold);
34
+ text-align: center;
35
+ width: 2.5rem;
36
+ height: 2.5rem;
37
+ border: 1px solid theme(digitv2.lightTheme.text-secondary);
38
+ font-family: theme(digitv2.fontFamily.sans);
39
+ font-style: theme(digitv2.fontStyle.normal);
40
+ line-height: theme(digitv2.lineHeight.normal);
41
+ }
42
+
43
+ input {
44
+ background-color: theme(digitv2.lightTheme.paper-primary);
45
+ width: 23.75rem;
46
+ height: 2.5rem;
47
+ }
@@ -0,0 +1,15 @@
1
+ .digit-input-otp-wrap {
2
+ @apply mb-lg;
3
+
4
+ input {
5
+ @apply border-2 border-solid border-input-border outline-none h-10 w-10 text-form-field text-text-primary mr-sm mb-sm text-center;
6
+ }
7
+ input::-webkit-outer-spin-button,
8
+ input::-webkit-inner-spin-button {
9
+ -webkit-appearance: none;
10
+ margin: 0;
11
+ }
12
+ input[type="number"] {
13
+ -moz-appearance: textfield;
14
+ }
15
+ }
@@ -0,0 +1,161 @@
1
+ .digit-panelcard-wrap {
2
+ @apply w-full flex-col;
3
+ display: flex;
4
+ height: fit-content;
5
+ border-radius: theme(digitv2.spacers.spacer1);
6
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
7
+ background: theme(digitv2.lightTheme.paper-primary);
8
+
9
+ .digit-panelcard-header{
10
+
11
+ &.with-shadow {
12
+ box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
13
+ }
14
+
15
+ @media (min-width: 48rem) {
16
+ padding: theme(digitv2.spacers.spacer6);
17
+ padding-bottom: theme(digitv2.spacers.spacer0);
18
+
19
+ &.with-shadow {
20
+ padding-bottom: theme(digitv2.spacers.spacer6);
21
+ }
22
+ }
23
+
24
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
25
+ padding: theme(digitv2.spacers.spacer5);
26
+ padding-bottom: theme(digitv2.spacers.spacer0);
27
+
28
+ &.with-shadow {
29
+ padding-bottom: theme(digitv2.spacers.spacer5);
30
+ }
31
+ }
32
+
33
+ @media (max-width: 30rem) {
34
+ padding: theme(digitv2.spacers.spacer4);
35
+ padding-bottom: theme(digitv2.spacers.spacer0);
36
+
37
+ &.with-shadow {
38
+ padding-bottom: theme(digitv2.spacers.spacer4);
39
+ }
40
+ }
41
+ }
42
+
43
+ .digit-panelcard-children-wrap {
44
+ @apply flex-col overflow-hidden overflow-y-auto ;
45
+
46
+ display: flex;
47
+ flex: 1;
48
+
49
+ &.inline {
50
+ flex-direction: row;
51
+ }
52
+
53
+ @media (min-width: 48rem) {
54
+ gap: theme(digitv2.spacers.spacer6);
55
+ padding: theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer6);
56
+
57
+ &.with-shadow,
58
+ &.without-footer{
59
+ padding: theme(digitv2.spacers.spacer6);
60
+ }
61
+
62
+ }
63
+
64
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
65
+ gap: theme(digitv2.spacers.spacer5);
66
+ padding: theme(digitv2.spacers.spacer5) theme(digitv2.spacers.spacer5) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer5);
67
+
68
+ &.with-shadow,
69
+ &.without-footer{
70
+ padding: theme(digitv2.spacers.spacer5);
71
+ }
72
+
73
+ }
74
+
75
+ @media (max-width: 30rem) {
76
+ gap: theme(digitv2.spacers.spacer4);
77
+ padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer4);
78
+
79
+ &.with-shadow,
80
+ &.without-footer{
81
+ padding: theme(digitv2.spacers.spacer4);
82
+ }
83
+ }
84
+
85
+ .digit-panelcard-description {
86
+ @extend .typography.body-s;
87
+ color: theme(digitv2.lightTheme.generic-inputborder);
88
+ }
89
+
90
+ }
91
+
92
+ .digit-panelcard-footer {
93
+ @apply flex-wrap;
94
+ display: flex;
95
+ gap: theme(digitv2.spacers.spacer4);
96
+
97
+ &.with-shadow {
98
+ box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
99
+ }
100
+
101
+ @media (min-width: 48rem) {
102
+ padding: theme(digitv2.spacers.spacer6);
103
+ }
104
+
105
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
106
+ @apply w-full;
107
+ padding: theme(digitv2.spacers.spacer5);
108
+ }
109
+
110
+ @media (max-width: 30rem) {
111
+ @apply flex-col;
112
+ padding: theme(digitv2.spacers.spacer4);
113
+ }
114
+ }
115
+
116
+ .digit-panelcard-footer-buttons {
117
+ margin-left: auto;
118
+ display: flex;
119
+ gap: theme(digitv2.spacers.spacer4);
120
+ @apply max-w-full flex-wrap;
121
+
122
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
123
+ @apply w-full;
124
+
125
+ button {
126
+ flex: 1;
127
+ }
128
+ }
129
+
130
+ @media (max-width: 30rem) {
131
+ @apply flex-col;
132
+ margin: theme(digitv2.spacers.spacer0);
133
+
134
+ button {
135
+ width: 100%;
136
+ }
137
+ }
138
+ }
139
+
140
+ .panelcard-infocard{
141
+ margin: theme(digitv2.spacers.spacer0);
142
+ width: 100%;
143
+ max-width: 100%;
144
+ min-width: 100%;
145
+ }
146
+ }
147
+
148
+ .digit-panelcard-children-wrap::-webkit-scrollbar {
149
+ width: theme(digitv2.spacers.spacer2);
150
+ background-color: theme(digitv2.lightTheme.generic-background);
151
+ }
152
+
153
+ .digit-panelcard-children-wrap::-webkit-scrollbar-track {
154
+ background-color: theme(digitv2.lightTheme.generic-background);
155
+ border-radius: 0.563rem;
156
+ }
157
+
158
+ .digit-panelcard-children-wrap::-webkit-scrollbar-thumb {
159
+ background-color: theme(digitv2.lightTheme.generic-divider);
160
+ border-radius: 0.563rem;
161
+ }
@@ -0,0 +1,115 @@
1
+ .digit-panel-wrapper {
2
+ @apply flex flex-col items-center;
3
+ gap: theme(digitv2.spacers.spacer6);
4
+
5
+ &.success {
6
+ background-color: theme(digitv2.lightTheme.alert-success);
7
+
8
+ @media (min-width: 48rem) {
9
+ padding: theme(digitv2.spacers.spacer10);
10
+ padding-top: 0.703rem;
11
+ }
12
+
13
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
14
+ padding: theme(digitv2.spacers.spacer10);
15
+ padding-top: theme(digitv2.spacers.spacer4);
16
+ }
17
+
18
+ @media (max-width: 30rem) {
19
+ padding: theme(digitv2.spacers.spacer8) theme(digitv2.spacers.spacer10);
20
+ padding-top: theme(digitv2.spacers.spacer4);
21
+ }
22
+
23
+ }
24
+
25
+ &.error,
26
+ &.with-svg {
27
+
28
+ @media (min-width: 48rem) {
29
+ padding: theme(digitv2.spacers.spacer10);
30
+ }
31
+
32
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
33
+ padding: theme(digitv2.spacers.spacer10);
34
+ }
35
+
36
+ @media (max-width: 30rem) {
37
+ padding: theme(digitv2.spacers.spacer8) theme(digitv2.spacers.spacer10);
38
+ }
39
+ }
40
+
41
+ &.error {
42
+ background-color: theme(digitv2.lightTheme.alert-error);
43
+ }
44
+
45
+ .digit-panel-message-wrapper {
46
+ @apply items-center;
47
+ display: flex;
48
+ flex-direction: column !important;
49
+
50
+ &.success {
51
+
52
+ @media (min-width: 48rem) {
53
+ gap: 0.422rem;
54
+ }
55
+
56
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
57
+ gap: theme(digitv2.spacers.spacer2);
58
+ }
59
+
60
+ @media (max-width: 30rem) {
61
+ gap: theme(digitv2.spacers.spacer2);
62
+ }
63
+ }
64
+
65
+
66
+ &.error,
67
+ &.with-svg {
68
+
69
+ @media (min-width: 48rem) {
70
+ gap: theme(digitv2.spacers.spacer6);
71
+ }
72
+
73
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
74
+ gap: theme(digitv2.spacers.spacer5);
75
+ }
76
+
77
+ @media (max-width: 30rem) {
78
+ gap: theme(digitv2.spacers.spacer4);
79
+ }
80
+
81
+ }
82
+
83
+ .digit-panel-message {
84
+ @extend .typography.heading-xl;
85
+ @apply whitespace-pre-wrap break-words text-center;
86
+ line-height: normal;
87
+ color: theme(digitv2.lightTheme.paper-primary);
88
+ }
89
+ }
90
+
91
+ .digit-panel-info-wrapper {
92
+ display: flex;
93
+ flex-direction: column !important;
94
+ align-items: center;
95
+ gap: theme(digitv2.spacers.spacer1);
96
+
97
+ .digit-panel-info {
98
+ @extend .typography.body-l;
99
+ color: theme(digitv2.lightTheme.paper-primary);
100
+ }
101
+
102
+ .digit-panel-multiple-responses {
103
+ display: flex;
104
+ flex-direction: column;
105
+ gap: theme(digitv2.spacers.spacer1);
106
+ }
107
+
108
+ .digit-panel-response {
109
+ @extend .typography.heading-m;
110
+ color: theme(digitv2.lightTheme.paper-primary);
111
+ line-height: normal;
112
+ }
113
+
114
+ }
115
+ }
@@ -0,0 +1,5 @@
1
+ @import url("../typography.scss");
2
+
3
+ .digit-paragraph {
4
+ @extend .typography.text-body-l;
5
+ }