@pmidc/upyog-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 (122) hide show
  1. package/example/employee.html +16 -0
  2. package/example/garbage.webp +0 -0
  3. package/example/index.css +10476 -0
  4. package/example/index.html +374 -0
  5. package/example/map.js +72 -0
  6. package/example/package.json +24 -0
  7. package/gulpfile.js +55 -0
  8. package/img/browser-icon.png +0 -0
  9. package/img/m_seva_white_logo.png +0 -0
  10. package/img/mseva-demo.png +0 -0
  11. package/package.json +53 -0
  12. package/postcss.config.js +55 -0
  13. package/src/components/CardBasedOptions.scss +110 -0
  14. package/src/components/CitizenHomeCard.scss +58 -0
  15. package/src/components/EllipsisMenu.scss +17 -0
  16. package/src/components/EventCalendarView.scss +10 -0
  17. package/src/components/FAQ.scss +64 -0
  18. package/src/components/OnGroundEventCard.scss +72 -0
  19. package/src/components/PageBasedInput.scss +31 -0
  20. package/src/components/PopupHeadingLabel.scss +15 -0
  21. package/src/components/PropertySearchForm.scss +58 -0
  22. package/src/components/SearchForm.scss +56 -0
  23. package/src/components/SearchOnRadioButton.scss +10 -0
  24. package/src/components/StandaloneSearchBar.scss +10 -0
  25. package/src/components/TimeLine.scss +68 -0
  26. package/src/components/WhatsNewCard.scss +13 -0
  27. package/src/components/actionLink.scss +3 -0
  28. package/src/components/actionbar.scss +97 -0
  29. package/src/components/bannercomponents.scss +137 -0
  30. package/src/components/body.scss +147 -0
  31. package/src/components/buttons.scss +50 -0
  32. package/src/components/card.scss +411 -0
  33. package/src/components/cardHeaderWithOptions.scss +14 -0
  34. package/src/components/changeLanguage.scss +3 -0
  35. package/src/components/charts.scss +186 -0
  36. package/src/components/checkbox.scss +83 -0
  37. package/src/components/checkpoint.scss +65 -0
  38. package/src/components/citizenInfoLabel.scss +14 -0
  39. package/src/components/custombtn.scss +16 -0
  40. package/src/components/datatable.scss +76 -0
  41. package/src/components/datewrap.scss +21 -0
  42. package/src/components/detailscard.scss +6 -0
  43. package/src/components/detailscontainer.scss +13 -0
  44. package/src/components/filters.scss +98 -0
  45. package/src/components/grey.scss +3 -0
  46. package/src/components/hoc/InboxComposer.scss +115 -0
  47. package/src/components/hoc/index.scss +1 -0
  48. package/src/components/howItWorks.scss +71 -0
  49. package/src/components/imageviewer.scss +33 -0
  50. package/src/components/info-banner.scss +35 -0
  51. package/src/components/inputotp.scss +15 -0
  52. package/src/components/keynote.scss +27 -0
  53. package/src/components/languageSelector.scss +24 -0
  54. package/src/components/loader.scss +96 -0
  55. package/src/components/map.scss +30 -0
  56. package/src/components/menu.scss +0 -0
  57. package/src/components/metricsTable.scss +27 -0
  58. package/src/components/multiLink.scss +88 -0
  59. package/src/components/multiSelectDropdown.scss +73 -0
  60. package/src/components/navbar.scss +308 -0
  61. package/src/components/plusMinus.scss +15 -0
  62. package/src/components/popup.scss +16 -0
  63. package/src/components/radiobtn.scss +45 -0
  64. package/src/components/ratingstar.scss +33 -0
  65. package/src/components/roundedLabel.scss +10 -0
  66. package/src/components/searchAction.scss +20 -0
  67. package/src/components/sectionalDropdown.scss +43 -0
  68. package/src/components/selectdropdown.scss +201 -0
  69. package/src/components/staticDynamicMessages.scss +107 -0
  70. package/src/components/staticSideBar.scss +27 -0
  71. package/src/components/statushighlight.scss +17 -0
  72. package/src/components/submiterrors.scss +11 -0
  73. package/src/components/summary.scss +29 -0
  74. package/src/components/table.scss +178 -0
  75. package/src/components/tag.scss +27 -0
  76. package/src/components/telephone.scss +17 -0
  77. package/src/components/textfields.scss +111 -0
  78. package/src/components/toast.scss +31 -0
  79. package/src/components/toggleSwitch.scss +41 -0
  80. package/src/components/topbar.scss +148 -0
  81. package/src/components/uploadcomponents.scss +113 -0
  82. package/src/index.scss +780 -0
  83. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -0
  84. package/src/pages/citizen/DocumentList.scss +305 -0
  85. package/src/pages/citizen/Events.scss +47 -0
  86. package/src/pages/citizen/HomePageWrapper.scss +163 -0
  87. package/src/pages/citizen/SurveyList.scss +22 -0
  88. package/src/pages/citizen/citizenDocument.scss +22 -0
  89. package/src/pages/citizen/container.scss +19 -0
  90. package/src/pages/citizen/payment/payment-type.scss +3 -0
  91. package/src/pages/citizen/updatePropertyNumber.scss +46 -0
  92. package/src/pages/employee/EmployeeLogin.scss +7 -0
  93. package/src/pages/employee/cardfix.scss +14 -0
  94. package/src/pages/employee/container.scss +73 -0
  95. package/src/pages/employee/dss.scss +249 -0
  96. package/src/pages/employee/faq.scss +353 -0
  97. package/src/pages/employee/form-fields.scss +13 -0
  98. package/src/pages/employee/iframe.scss +66 -0
  99. package/src/pages/employee/inbox.scss +707 -0
  100. package/src/pages/employee/index.scss +632 -0
  101. package/src/pages/employee/landing.scss +177 -0
  102. package/src/pages/employee/login.scss +570 -0
  103. package/src/pages/employee/oldMobileInbox.scss +5 -0
  104. package/src/pages/employee/popupmodule.scss +47 -0
  105. package/src/pages/employee/response.scss +3 -0
  106. package/src/pages/employee/scroll-table.scss +114 -0
  107. package/src/pages/employee/surveys.scss +272 -0
  108. package/src/pages/employee/tooltip.scss +36 -0
  109. package/src/pages/employee/updateNumber.scss +13 -0
  110. package/svg/arrowdown.svg +1 -0
  111. package/svg/arrowleft.svg +1 -0
  112. package/svg/calendar.svg +1 -0
  113. package/svg/camera.svg +4 -0
  114. package/svg/check.svg +4 -0
  115. package/svg/close.svg +4 -0
  116. package/svg/error.svg +4 -0
  117. package/svg/error2.svg +5 -0
  118. package/svg/searchicon.svg +4 -0
  119. package/svg/starempty.svg +4 -0
  120. package/svg/starfilled.svg +5 -0
  121. package/svg/success.svg +4 -0
  122. package/tailwind.config.js +105 -0
@@ -0,0 +1,107 @@
1
+ .pay-whatsapp-card{
2
+ display: flex;
3
+ justify-content: space-between;
4
+ cursor: pointer;
5
+ }
6
+ .pay-whatsapp-text{
7
+ color: #25D366;
8
+ float: left;
9
+ font-family: 'Roboto';
10
+ font-size: 16px;
11
+ font-weight: 700;
12
+ }
13
+ .dynamicDataCard{
14
+ background: rgba(244, 119, 56, 0.12);
15
+ mix-blend-mode: normal;
16
+ height: auto;
17
+ max-height: 64px;
18
+ border-radius: 4px;
19
+ margin-bottom: 16px;
20
+ }
21
+ .dynamicData{
22
+ padding: 10px 16px 16px 16px;
23
+ display: flex;
24
+ }
25
+ .dynamicData-content{
26
+ font-family: 'Roboto';
27
+ font-size: 14px;
28
+ font-weight: 400;
29
+ padding-top: 4px;
30
+ word-break: break-word;
31
+ margin-inline: 20px;
32
+ }
33
+ .staticDataCard{
34
+ background: rgba(238, 238, 238, 1);
35
+ mix-blend-mode: normal;
36
+ height: auto;
37
+ max-height: 100px;
38
+ border-radius: 4px;
39
+ margin-bottom: 16px;
40
+ }
41
+ .staticData{
42
+ display: flex;
43
+ }
44
+ .timerIcon{
45
+ padding: 16px 0px 16px 16px;
46
+ }
47
+ .static-data-content{
48
+ display: grid;
49
+ margin-inline: 20px;
50
+ padding-top: 8px;
51
+ }
52
+ .rupeeSymbol{
53
+ padding: 16px 0px 16px 16px;
54
+ }
55
+ .validityIcon{
56
+ padding: 16px 0px 16px 8px;
57
+ }
58
+ .static-data-content-first{
59
+ font-family: 'Roboto';
60
+ font-size: 14px;
61
+ font-weight: 400;
62
+ }
63
+ .static-data-content-second{
64
+ font-family: 'Roboto';
65
+ font-size: 16px;
66
+ font-weight: 700;
67
+ word-break: break-word;
68
+ }
69
+ .staticDataCardLast{
70
+ background: rgba(238, 238, 238, 1);
71
+ mix-blend-mode: normal;
72
+ height: 56px;
73
+ border-radius: 4px;
74
+ }
75
+ .whatsAppIconG{
76
+ float: right;
77
+ }
78
+ .static-home-Card{
79
+ display: flex;
80
+ justify-content: space-between;
81
+ }
82
+ .static-home-Card-header{
83
+ font-family: 'Roboto';
84
+ font-size: 16px;
85
+ font-weight: 700;
86
+ float: left;
87
+ }
88
+ .helplineIcon{
89
+ float: right;
90
+ }
91
+ .call-center-card-text{
92
+ display: grid;
93
+ }
94
+ .call-center-card-content{
95
+ float: left;
96
+ }
97
+ .serviceCentrIcon{
98
+ float: right;
99
+ }
100
+ .service-center-details-card{
101
+ display: flex;
102
+ overflow-wrap: break-word;
103
+ }
104
+ .service-center-details-text{
105
+ float: left;
106
+ width: 180px;
107
+ }
@@ -0,0 +1,27 @@
1
+ .sidebar-menu {
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding-top: 16px;
5
+ padding-left: 16px;
6
+ padding-right: 16px;
7
+ color: #757575;
8
+
9
+ .menu-item {
10
+ display: flex;
11
+ cursor: pointer;
12
+ min-height: 48px;
13
+ margin: 0;
14
+ padding: 0;
15
+ .menu-item-icon {
16
+ svg {
17
+ color: #757575;
18
+ fill: #757575;
19
+ width: 21px;
20
+ height: 21px;
21
+ }
22
+ }
23
+ .menu-item-text {
24
+ margin-left: 1em;
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,17 @@
1
+ .status-highlight {
2
+ --bg-opacity: 12% !important;
3
+ border-radius: 16px;
4
+ @apply h-8 w-20 bg-error mb-sm;
5
+
6
+ p {
7
+ padding-top: 6px;
8
+ @apply block text-center text-caption-m text-error cursor-pointer;
9
+ }
10
+
11
+ &.success {
12
+ @apply bg-success;
13
+ p {
14
+ @apply text-success;
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,11 @@
1
+ .error-message-wrap {
2
+ @apply w-full mb-sm p-md border-4 border-solid border-error;
3
+
4
+ h2 {
5
+ @apply font-bold text-caption-m block mb-sm;
6
+ }
7
+
8
+ p {
9
+ @apply font-bold text-caption-m text-error block;
10
+ }
11
+ }
@@ -0,0 +1,29 @@
1
+ .summary-wrapper {
2
+ @apply flex justify-around;
3
+
4
+ .wrapper-child {
5
+ @apply flex flex-col justify-center flex-grow;
6
+ }
7
+
8
+ .blocks {
9
+ display: flex;
10
+ margin-bottom: 25px;
11
+
12
+ p:only-child {
13
+ font-weight: bold;
14
+ font-size: 24px;
15
+ }
16
+
17
+ div {
18
+ margin-right: 25px;
19
+
20
+ p:not(:first-child) {
21
+ font-weight: bold;
22
+ font-size: 24px;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ .summary-card-margin{
28
+ margin:0 24px 20px 0px !important;
29
+ }
@@ -0,0 +1,178 @@
1
+ .table {
2
+ @apply bg-white w-full;
3
+
4
+ thead {
5
+ th {
6
+ padding: 20px 18px;
7
+ @apply font-bold align-middle text-left;
8
+ &:first-child {
9
+ min-width: 100px;
10
+ }
11
+ &:nth-child(2) {
12
+ min-width: 150px;
13
+ }
14
+ }
15
+ }
16
+
17
+ tbody {
18
+ border: none;
19
+ padding: 0;
20
+ margin: 0;
21
+ td {
22
+ @apply border-t border-border text-left align-middle;
23
+ padding: "20px 18px";
24
+ }
25
+ }
26
+ }
27
+
28
+ .pagination {
29
+ display: flex;
30
+ justify-content: flex-end;
31
+ background-color: rgba(255, 255, 255, var(--bg-opacity));
32
+ border-top: 1px solid rgb(214, 213, 212);
33
+ padding: 20px 40px 20px 0px;
34
+ color: rgb(80, 90, 95);
35
+
36
+ svg {
37
+ fill: #505a5f;
38
+ @apply ml-md;
39
+ }
40
+ }
41
+
42
+ .pagination button:nth-child(1) span::after {
43
+ content: "\f105";
44
+ }
45
+
46
+ .fullWidth {
47
+ width: 100% !important;
48
+ }
49
+
50
+ .customTable {
51
+ width: 100%;
52
+ th {
53
+ font-weight: bold;
54
+ }
55
+
56
+ th,
57
+ td {
58
+ text-align: left;
59
+ border-bottom: 1px solid #b1b4b6;
60
+ padding: 15px 10px;
61
+ }
62
+
63
+ tr:nth-child(odd) {
64
+ background-color: #eeeeee;
65
+ }
66
+ tr:nth-child(even) {
67
+ background-color: #fff;
68
+ }
69
+
70
+ thead {
71
+ tr:first-child {
72
+ background-color: unset;
73
+ }
74
+ }
75
+ }
76
+
77
+ .table-fixed-first-column {
78
+ thead {
79
+ th:first-child {
80
+ position: sticky;
81
+ background: #fff;
82
+ left: 0;
83
+ border-right: 1px solid #b1b4b6;
84
+ border-top-left-radius: 4px;
85
+ }
86
+ }
87
+ tbody {
88
+ td:first-child {
89
+ position: sticky;
90
+ background: #fff;
91
+ color:#a82227;
92
+ left: 0;
93
+ border-right: 1px solid #b1b4b6;
94
+ }
95
+ }
96
+ }
97
+ .table-fixed-column-common-pay {
98
+ thead {
99
+ th:first-child {
100
+ position: sticky;
101
+ background: rgb(238, 238, 238);
102
+ left: 0;
103
+ border-top-left-radius: 4px;
104
+ }
105
+ th:last-child {
106
+ position: sticky;
107
+ background: rgb(238, 238, 238);
108
+ right: 0;
109
+ border-top-left-radius: 4px;
110
+ }
111
+ }
112
+ tbody {
113
+ td:first-child {
114
+ position: sticky;
115
+ background: rgb(238, 238, 238);
116
+ left: 0;
117
+ }
118
+ td:last-child {
119
+ position: sticky;
120
+ background: rgb(238, 238, 238);
121
+ right: 0;
122
+ }
123
+ }
124
+ }
125
+
126
+ .table-fixed-first-second-column {
127
+ thead {
128
+ th:nth-child(2) {
129
+ position: sticky;
130
+ left: 0;
131
+ background-color: white;
132
+ }
133
+ }
134
+ tbody {
135
+ td:nth-child(2) {
136
+ position: sticky;
137
+ left: 0;
138
+ background-color: inherit;
139
+ }
140
+ }
141
+ }
142
+ .table-border-style {
143
+ border: 1px solid #b1b4b6;
144
+ border-radius: 4px;
145
+ border-spacing: 0;
146
+ border-collapse: separate;
147
+ }
148
+ .dss-table-wrapper {
149
+ width: 100%;
150
+ display: block;
151
+ overflow-x: auto;
152
+ table {
153
+ th {
154
+ .tooltip {
155
+ min-width: 80px;
156
+ }
157
+ }
158
+ tr {
159
+ td {
160
+ span {
161
+ white-space: pre;
162
+ min-width: 80px;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+
169
+ .reports-table {
170
+ margin-top: 2rem;
171
+ thead {
172
+ th {
173
+ &:first-child {
174
+ min-width: unset;
175
+ }
176
+ }
177
+ }
178
+ }
@@ -0,0 +1,27 @@
1
+ .tag-container {
2
+ @apply flex flex-wrap mb-md;
3
+ .tag {
4
+ @apply bg-grey-mid rounded-2xl pt-sm pb-sm flex justify-between items-center;
5
+ padding-left: 12px;
6
+ padding-right: 12px;
7
+ font-size: 14px;
8
+ margin-left: 2px;
9
+ height: 2rem;
10
+ margin-top: 1rem;
11
+ .text {
12
+ padding-right: 5px;
13
+ max-width: calc( 100% - 24px );
14
+ height: 22px;
15
+ overflow: hidden;
16
+ text-overflow: clip;
17
+ }
18
+
19
+ &:hover {
20
+ @apply cursor-pointer;
21
+
22
+ .close {
23
+ fill: black;
24
+ }
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,17 @@
1
+ .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
+ }
9
+
10
+ p {
11
+ @apply text-text-primary text-body-l pl-sm;
12
+ }
13
+ }
14
+
15
+ .call {
16
+ @apply flex text-text-secondary text-body-l;
17
+ }
@@ -0,0 +1,111 @@
1
+ .card-input {
2
+ @apply mb-lg pl-sm outline-none mt-sm block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
3
+ }
4
+
5
+ .card-input-error {
6
+ @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
7
+ }
8
+
9
+ .employee-card-input {
10
+ @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
11
+ margin-bottom: 16px !important;
12
+ height: 2.0rem !important;
13
+ padding: 1.5rem 1rem;
14
+ border-radius: 8px;
15
+ border: 1px solid #b4b4b4;
16
+ }
17
+ .employee-card-input:disabled {
18
+ @apply border-grey-dark text-grey-dark !important;
19
+ pointer-events: none !important;
20
+ }
21
+ .employee-card-input:disabled {
22
+ @apply border-grey-dark text-grey-dark !important;
23
+ pointer-events: none !important;
24
+ }
25
+ .employee-card-input--front {
26
+ width: fit-content !important;
27
+ display: flex;
28
+ align-items: center;
29
+ background: #eeeeee;
30
+ border-right: 0;
31
+ padding-right: 5px;
32
+ }
33
+ .employee-card-input-error {
34
+ @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
35
+ }
36
+
37
+ .card-textarea,
38
+ .employee-card-textarea {
39
+ @apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
40
+ }
41
+
42
+ .inputWrapper {
43
+ display: flex;
44
+ justify-content: flex-start;
45
+ max-width: 500px;
46
+
47
+ div {
48
+ max-width: 80px;
49
+ }
50
+
51
+ span {
52
+ margin-top: 16px;
53
+ margin-left: 10%;
54
+ margin-right: 10%;
55
+ }
56
+ }
57
+
58
+ @screen dt {
59
+ .card-input {
60
+ width: 480px;
61
+ }
62
+
63
+ .card-input-emp {
64
+ width: 240px;
65
+ }
66
+
67
+ .card-input-error {
68
+ width: 480px;
69
+ }
70
+
71
+ .employee-card-input {
72
+ @apply w-full;
73
+ }
74
+
75
+ .employee-card-input-error {
76
+ @apply w-full;
77
+ }
78
+
79
+ .card-textarea {
80
+ /* //width: 480px; */
81
+ @apply w-full;
82
+ max-width:540px;
83
+ }
84
+
85
+ .employee-card-textarea {
86
+ @apply w-full;
87
+ }
88
+
89
+ .card-input-emp {
90
+ width: 240px;
91
+ }
92
+ }
93
+
94
+ .citizen-card-input {
95
+ @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
96
+
97
+ }
98
+ .citizen-card-input{
99
+ height:2rem !important;
100
+ margin-bottom: 16px !important;
101
+ line-height: 2.0rem !important;
102
+ }
103
+
104
+ .citizen-card-input--front {
105
+ width: fit-content !important;
106
+ display: flex;
107
+ align-items: center;
108
+ background: #eeeeee;
109
+ border-right: 0;
110
+ padding-right: 5px;
111
+ }
@@ -0,0 +1,31 @@
1
+ .toast-success {
2
+ max-width: 480px;
3
+ width: calc(100% - 20px);
4
+ bottom: 64px;
5
+ left: 0;
6
+ margin: 0 10px;
7
+ gap: 16px;
8
+ border-radius: 4px;
9
+ min-height: 48px;
10
+ @apply fixed flex bg-success leading-7 z-20 items-center pl-md pr-sm;
11
+
12
+ svg {
13
+ height: 20px;
14
+ width: 20px;
15
+ }
16
+
17
+ .toast-close-btn {
18
+ margin-left: auto;
19
+ }
20
+
21
+ h2 {
22
+ @apply text-body-s-dt text-white;
23
+ }
24
+ }
25
+
26
+ @screen dt {
27
+ .toast-success {
28
+ width: 100%;
29
+ left: calc(50% - 240px);
30
+ }
31
+ }
@@ -0,0 +1,41 @@
1
+ .react-switch-checkbox {
2
+ height: 0;
3
+ width: 0;
4
+ visibility: hidden;
5
+ }
6
+
7
+ .react-switch-label {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-between;
11
+ cursor: pointer;
12
+ width: 50px;
13
+ height: 20px;
14
+ background: white;
15
+ border-radius: 100px;
16
+ position: relative;
17
+ transition: background-color .2s;
18
+ border: 1px solid #bbb;
19
+ }
20
+
21
+ .react-switch-label .react-switch-button {
22
+ content: '';
23
+ position: absolute;
24
+ top: 2px;
25
+ left: 2px;
26
+ width: 14px;
27
+ height: 14px;
28
+ border-radius: 45px;
29
+ transition: 0.2s;
30
+ background: #a82227;
31
+ box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
32
+ }
33
+
34
+ .react-switch-checkbox:checked + .react-switch-label .react-switch-button {
35
+ left: calc(100% - 2px);
36
+ transform: translateX(-100%);
37
+ }
38
+
39
+ .react-switch-label:active .react-switch-button {
40
+ width: 45px;
41
+ }