@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,72 @@
1
+ .icon-bg-secondary {
2
+ @apply flex bg-secondary w-12 h-12;
3
+
4
+ svg {
5
+ margin: auto;
6
+ @apply w-6 h-6;
7
+ }
8
+ }
9
+
10
+ .heading-m {
11
+ @apply font-bold text-text-primary text-heading-m ml-md pt-sm;
12
+ }
13
+ .BPAheading-m {
14
+ margin-left: 22px;
15
+ }
16
+
17
+ .break-line {
18
+ @apply border-border my-lg;
19
+ }
20
+
21
+ .employee-home-footer {
22
+ @apply flex h-10 pb-md pt-sm justify-center w-full;
23
+ img {
24
+ height: 100%;
25
+ }
26
+ }
27
+ .employee-login-home-footer{
28
+ @apply flex fixed bottom-0 h-10 bg-grey-bg pb-md pt-sm justify-center w-full;
29
+ img{
30
+ @apply ml-sm
31
+ }
32
+ }
33
+ .fieldInspectionWrapper{
34
+ border: 1px solid theme(colors.border);
35
+ padding: 16px;
36
+ margin-top: 8px;
37
+ background: theme(colors.grey.light);
38
+ }
39
+
40
+ .fieldInsepctionInsideWrapper {
41
+ border: 1px solid theme(colors.border);
42
+ padding: 16px;
43
+ margin-top: 8px;
44
+ background: theme(colors.white);
45
+ max-width: 70%;
46
+ min-width: 280px;
47
+ }
48
+
49
+ @screen dt {
50
+ .ground-container {
51
+ margin-bottom: 56px;
52
+ @apply p-md;
53
+ }
54
+ .heading-m {
55
+ @apply text-heading-m-dt;
56
+ }
57
+ .BPAheading-m {
58
+ margin-left: 22px;
59
+ }
60
+ .break-line {
61
+ margin-top: 40px;
62
+ margin-bottom: 40px;
63
+ }
64
+ .employee-home-footer {
65
+ }
66
+ .moduleCardWrapper {
67
+ @apply flex flex-row flex-wrap !important;
68
+ }
69
+ .gridModuleWrapper {
70
+ @apply grid grid-cols-4 gap-4;
71
+ }
72
+ }
@@ -0,0 +1,266 @@
1
+ .dss-switch-tabs{/* Card / Primary */
2
+
3
+ /* Light Theme / Paper */
4
+
5
+ background: theme(colors.white);
6
+ /* Card-Shadow */
7
+
8
+ box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
9
+ border-radius: 4px;
10
+ margin-bottom:3%;
11
+ margin-right:25px;
12
+ }
13
+
14
+ .dss-header-label{
15
+ font-weight: 600 !important;
16
+ font-size: 22px !important;
17
+ white-space: pre-line;
18
+ }
19
+ .dss-switch-tab-wrapper{
20
+ cursor:pointer;
21
+ display: flex;
22
+ flex-direction: row;
23
+ height: 50px;
24
+ align-items: center;
25
+ }
26
+
27
+ .dss-switch-tab-selected{
28
+ /* Revenue */
29
+ border-bottom: 3px solid theme(colors.primary.main);
30
+ font-family: Roboto;
31
+ font-style: normal;
32
+ font-weight: 500;
33
+ font-size: 22px;
34
+ color: theme(colors.primary.main);
35
+ padding: 7px 24px;
36
+
37
+ }
38
+ .dss-switch-tab-unselected{
39
+
40
+ font-family: Roboto;
41
+ font-style: normal;
42
+ font-weight: 500;
43
+ font-size: 22px;
44
+ color: theme(colors.text.secondary);
45
+ padding: 8px 24px;
46
+
47
+ }
48
+
49
+ .dss-table-subheader{
50
+ position: relative;
51
+ top: -7px;
52
+ font-size: 13px;
53
+ font-weight: 400;
54
+ color: rgba(80, 90, 95, 1);
55
+ }
56
+
57
+ .dss-pie-subheader{
58
+ position: relative;
59
+ top: -7px;
60
+ font-size: 13px;
61
+ font-weight: 400;
62
+ color: rgba(80, 90, 95, 1);
63
+ }
64
+
65
+ .recharts-legend-item{
66
+ margin-bottom: 20px !important;
67
+ white-space: pre;
68
+ }
69
+
70
+ .dss-white-pre{
71
+ white-space: pre;
72
+
73
+ }
74
+ .dss-white-pre-line{
75
+ white-space: pre-line;
76
+
77
+ }
78
+ .dss-white-pre-temp{
79
+ white-space: pre-line;
80
+
81
+ }
82
+
83
+ .multi-select-dropdown-wrap{
84
+ .master{
85
+ .label{
86
+ p{
87
+ white-space:pre;
88
+ margin: auto;
89
+ margin-left:0px;
90
+ padding-left: 1%;
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ .divToBeHidden{
97
+ display:block;
98
+ }
99
+
100
+ .divWillGetHidden{
101
+ display:none;
102
+ }
103
+
104
+ .dss-temp-white-pre{
105
+ white-space: pre;
106
+ }
107
+
108
+ .dss-input-active-border{
109
+ --border-opacity: 1;
110
+ border: 1px solid theme(colors.primary.main) !important;
111
+ border-color: rgba(244, 119, 56, var(--border-opacity));
112
+ }
113
+
114
+ .dss-card {
115
+ display: flex;
116
+ flex-wrap: wrap;
117
+ }
118
+
119
+ .dss-card-parent {
120
+ display: flex;
121
+ flex-direction: column;
122
+ width: 31%;
123
+ border-radius: 6px;
124
+ padding: 25px;
125
+ margin: 15px 11.5px;
126
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
127
+ cursor: pointer;
128
+ }
129
+
130
+ .dss-card-body {
131
+ display: flex;
132
+ flex-wrap: wrap;
133
+ cursor: pointer;
134
+ }
135
+
136
+ .dss-card-header {
137
+ display: flex;
138
+ margin-bottom: 30px;
139
+ align-items: center;
140
+
141
+ p {
142
+ font-size: 24px;
143
+ font-family: "Roboto", sans-serif;
144
+ font-weight: 500;
145
+ color: theme(colors.black);
146
+ }
147
+
148
+ svg {
149
+ width: 50px;
150
+ height: 50px;
151
+ }
152
+ }
153
+
154
+
155
+ .dss-insight-card {
156
+ margin: 10px 0;
157
+
158
+ p {
159
+ font-family: "Roboto", sans-serif;
160
+ }
161
+
162
+ .p1 {
163
+ font-size: 16px;
164
+ color: #585858;
165
+ }
166
+
167
+ .p3 {
168
+ font-size: 16px;
169
+ font-weight: 400;
170
+ }
171
+
172
+ .p2 {
173
+ font-size: 24px;
174
+ font-weight: 500;
175
+ color: theme(colors.black);
176
+ }
177
+
178
+ .color-green {
179
+ color: theme(colors.success);
180
+ }
181
+
182
+ .color-red {
183
+ color: theme(colors.error);
184
+ }
185
+ }
186
+ .w-100 {
187
+ width: 100%;
188
+ }
189
+ .dss-w-100 {
190
+ width: 97%;
191
+ }
192
+
193
+ .h-100{
194
+ width: 100%;
195
+ height: 100%;
196
+ }
197
+
198
+ .dss-h-100{
199
+ width: 97%;
200
+ height: 100%;
201
+ }
202
+
203
+ .tab-rows{
204
+ display: flex;
205
+ justify-content:space-between;
206
+ height: 30px;
207
+ align-items: center;
208
+ width: 60%;
209
+ margin-left: 13%;
210
+ }
211
+ .tab-header{
212
+ font-weight: 700;
213
+ font-size: 16px;
214
+ line-height: 19px;
215
+ border-bottom: 1px solid #b1b4b6;
216
+ color: #2a3340;
217
+ }
218
+ .map-status{
219
+ position: relative;
220
+ width: 33%;
221
+ left: 50%;
222
+ bottom: 130px;
223
+ }
224
+ .map-row{
225
+ display: flex;
226
+ align-items: center;
227
+ margin-top: 5px;
228
+ }
229
+ .map-box{
230
+ display: inline-block;
231
+ height: 10px;
232
+ width: 10px;
233
+ }
234
+ .map-text{
235
+ margin-left: 5px;
236
+ color: #636363;
237
+ font-size: 14px;
238
+ }
239
+
240
+
241
+ @media screen and (max-width: 768px) {
242
+ .dss-switch-tabs{/* Card / Primary */
243
+ margin-right:0px;
244
+ }
245
+
246
+ .dss-card-parent{
247
+ width:100%;
248
+ }
249
+ }
250
+
251
+ .dss-metric-horizontal{
252
+ width: 48%;
253
+ max-width: 48%;
254
+ }
255
+ .dss-primary{
256
+ display: inline;
257
+ margin-right: 10px;
258
+ path{
259
+ fill:theme(colors.primary.main);
260
+ }
261
+ }
262
+
263
+ .dss-horizontal-v2{
264
+ width: 22.7%;
265
+ max-width: 22.7%;
266
+ }
@@ -0,0 +1,13 @@
1
+ .form-field{
2
+ @apply w-full
3
+ }
4
+
5
+ @screen dt {
6
+ .form-field{
7
+ @apply w-1/2
8
+ }
9
+
10
+ .desktop-w-full{
11
+ @apply w-full !important
12
+ }
13
+ }
@@ -0,0 +1,66 @@
1
+ body {
2
+ margin: 0;
3
+ padding: 0;
4
+ font-family: "Roboto";
5
+ background: #f4f7fb;
6
+ }
7
+
8
+
9
+ .app-container-iframe {
10
+ border-width: 0px;
11
+ div[class^="MuiCircularProgress"] {
12
+ position: sticky;
13
+ top: 90%;
14
+ left: 50%;
15
+ }
16
+ div[role^="progressbar"] {
17
+ left: 50%;
18
+ position: sticky;
19
+ }
20
+ }
21
+
22
+ @media only screen and (min-width: 953px) {
23
+ .app-container-iframe {
24
+ border-width: 0px;
25
+ position: fixed;
26
+ width: 83.5%;
27
+ height: calc(100vh - 64px);
28
+ }
29
+ }
30
+
31
+
32
+ @media (max-width: 768px) {
33
+ .app-container-iframe {
34
+ border-width: 0;
35
+ width: 100vw;
36
+ height: 100vh;
37
+ margin: 32px 0 0 0;
38
+ }
39
+ }
40
+ @media (max-width: 375px) {
41
+ .app-container-iframe {
42
+ border-width: 0;
43
+ width: 100vw;
44
+ height: 100vh;
45
+ margin: 32px 0 0 0;
46
+ }
47
+ }
48
+
49
+ .app-iframe-wrapper{
50
+ left: 64px;
51
+ border-width: 0;
52
+ position: fixed;
53
+ top: 80px;
54
+ }
55
+ .app-iframe{
56
+ width: 97%;
57
+ height: calc(100vh - 90px);
58
+ border-width: 0;
59
+ position: fixed;
60
+ }
61
+ @media (max-width: 768px) {
62
+
63
+ .app-iframe-wrapper{
64
+ left: 0px;
65
+ }
66
+ }