@djb25/digit-ui-css 1.0.1 → 1.0.3

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 (98) hide show
  1. package/README.md +80 -0
  2. package/dist/index.css +2 -2
  3. package/dist/index.min.css +1 -1
  4. package/package.json +1 -1
  5. package/src/components/CardBasedOptions.scss +36 -101
  6. package/src/components/CitizenHomeCard.scss +41 -43
  7. package/src/components/PageBasedInput.scss +0 -2
  8. package/src/components/PropertySearchForm.scss +4 -4
  9. package/src/components/SearchOnRadioButton.scss +1 -1
  10. package/src/components/StandaloneSearchBar.scss +1 -1
  11. package/src/components/TimeLine.scss +4 -4
  12. package/src/components/bannercomponents.scss +3 -4
  13. package/src/components/body.scss +4 -7
  14. package/src/components/buttons.scss +57 -1
  15. package/src/components/card.scss +97 -42
  16. package/src/components/charts.scss +3 -150
  17. package/src/components/checkbox.scss +4 -35
  18. package/src/components/checkpoint.scss +1 -3
  19. package/src/components/datatable.scss +65 -7
  20. package/src/components/filters.scss +3 -3
  21. package/src/components/financeUi.scss +875 -0
  22. package/src/components/hoc/InboxComposer.scss +1 -1
  23. package/src/components/inboxv2/InboxLinks.scss +59 -0
  24. package/src/components/inboxv2/horizontalNav.scss +224 -0
  25. package/src/components/inboxv2/inboxSearch.scss +116 -0
  26. package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
  27. package/src/components/inboxv2/index.scss +5 -0
  28. package/src/components/inboxv2/searchComponentTable.scss +44 -0
  29. package/src/components/languageSelector.scss +1 -2
  30. package/src/components/loader.scss +1 -1
  31. package/src/components/metricsTable.scss +2 -1
  32. package/src/components/multiLink.scss +1 -1
  33. package/src/components/multiSelectDropdown.scss +4 -0
  34. package/src/components/navbar.scss +13 -9
  35. package/src/components/plusMinus.scss +3 -3
  36. package/src/components/radiobtn.scss +0 -12
  37. package/src/components/searchAction.scss +1 -1
  38. package/src/components/selectdropdown.scss +12 -37
  39. package/src/components/sidebar.scss +141 -0
  40. package/src/components/table.scss +60 -8
  41. package/src/components/textfields.scss +4 -16
  42. package/src/components/toggleSwitch.scss +1 -1
  43. package/src/components/topbar.scss +11 -8
  44. package/src/components/uploadcomponents.scss +3 -16
  45. package/src/digitv2/components/ErrorMessage.scss +6 -0
  46. package/src/digitv2/components/FormComposerV2.scss +120 -0
  47. package/src/digitv2/components/actionLinkV2.scss +7 -0
  48. package/src/digitv2/components/actionbarV2.scss +110 -0
  49. package/src/digitv2/components/appContainerV2.scss +55 -0
  50. package/src/digitv2/components/backButtonV2.scss +26 -0
  51. package/src/digitv2/components/bannerV2.scss +120 -0
  52. package/src/digitv2/components/bodyContainerV2.scss +39 -0
  53. package/src/digitv2/components/breadCrumbV2.scss +31 -0
  54. package/src/digitv2/components/breakLineV2.scss +6 -0
  55. package/src/digitv2/components/buttonsV2.scss +40 -0
  56. package/src/digitv2/components/cardV2.scss +385 -0
  57. package/src/digitv2/components/checkboxV2.scss +61 -0
  58. package/src/digitv2/components/checkpointV2.scss +71 -0
  59. package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
  60. package/src/digitv2/components/dateWrapV2.scss +12 -0
  61. package/src/digitv2/components/displayPhotosV2.scss +33 -0
  62. package/src/digitv2/components/headerV2.scss +6 -0
  63. package/src/digitv2/components/infoBannerV2.scss +37 -0
  64. package/src/digitv2/components/keynoteV2.scss +35 -0
  65. package/src/digitv2/components/loaderV2.scss +81 -0
  66. package/src/digitv2/components/mobileNumberV2.scss +33 -0
  67. package/src/digitv2/components/multiSelectDropdownV2.scss +92 -0
  68. package/src/digitv2/components/noresultsfoundV2.scss +11 -0
  69. package/src/digitv2/components/otpInputV2.scss +15 -0
  70. package/src/digitv2/components/popUpV2.scss +16 -0
  71. package/src/digitv2/components/radiobtnV2.scss +51 -0
  72. package/src/digitv2/components/ratingV2.scss +33 -0
  73. package/src/digitv2/components/selectdropdownV2.scss +170 -0
  74. package/src/digitv2/components/tagV2.scss +28 -0
  75. package/src/digitv2/components/telephoneV2.scss +18 -0
  76. package/src/digitv2/components/textInputV2.scss +123 -0
  77. package/src/digitv2/components/textareaV2.scss +11 -0
  78. package/src/digitv2/components/uploadFileV2.scss +146 -0
  79. package/src/digitv2/index.scss +168 -0
  80. package/src/digitv2/pages/employee/index.scss +1 -0
  81. package/src/digitv2/pages/employee/workbench.scss +1042 -0
  82. package/src/digitv2/typography.scss +241 -0
  83. package/src/index.scss +109 -74
  84. package/src/pages/citizen/DocumentList.scss +5 -5
  85. package/src/pages/citizen/HomePageWrapper.scss +6 -11
  86. package/src/pages/citizen/container.scss +1 -1
  87. package/src/pages/employee/cardfix.scss +1 -2
  88. package/src/pages/employee/container.scss +8 -9
  89. package/src/pages/employee/dss.scss +29 -12
  90. package/src/pages/employee/inbox.scss +91 -144
  91. package/src/pages/employee/index.scss +244 -248
  92. package/src/pages/employee/login.scss +135 -93
  93. package/src/pages/employee/popupmodule.scss +0 -13
  94. package/src/pages/employee/scroll-table.scss +9 -4
  95. package/src/pages/employee/surveys.scss +14 -13
  96. package/svg/check.svg +1 -1
  97. package/svg/starempty.svg +1 -1
  98. package/svg/starfilled.svg +1 -1
@@ -96,7 +96,7 @@
96
96
  justify-content: unset;
97
97
  margin-bottom: 0;
98
98
  .complaint-input-container {
99
- display: grid !important;
99
+ display: grid;
100
100
  grid-template-columns: 33.33% 33.33% 33.33%;
101
101
  }
102
102
  .form-field {
@@ -0,0 +1,59 @@
1
+ @import url("../../digitv2/index.scss");
2
+
3
+ .inbox-search-links-container {
4
+ @extend .light-paper-primary;
5
+ height: 100%;
6
+ width: 100% !important;
7
+ display: flex;
8
+ flex-direction: column;
9
+ padding: 1rem;
10
+ .header {
11
+ @extend .light-text-color-primary;
12
+ display: grid;
13
+ grid-template-columns: 20% 1fr;
14
+ .logo {
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: flex-start;
18
+ .inbox-search-icon--projects {
19
+ fill : #f47738;
20
+ height: 2rem;
21
+ width: 2rem;
22
+ }
23
+ }
24
+ .text {
25
+ @extend .light-text-color-primary;
26
+ line-height: 32px;
27
+ font-weight: 700;
28
+ color : black;
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: flex-start;
32
+ }
33
+
34
+ @media (min-width: 1024px) {
35
+ .text {
36
+ font-size: 24px;
37
+ }
38
+ }
39
+
40
+ @media (max-width: 1024px) {
41
+ .text {
42
+ font-size: 20px;
43
+ }
44
+ }
45
+ }
46
+ .contents {
47
+ margin-top: 1rem;
48
+ box-sizing: border-box;
49
+ display: flex;
50
+ flex-direction: column;
51
+ .link {
52
+ @extend .light-primary;
53
+ padding: 8px;
54
+ --text-opacity: 1;
55
+ color: #f47738;
56
+ color: rgba(244, 119, 56, var(--text-opacity));
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,224 @@
1
+ @import url("../../digitv2/index.scss");
2
+
3
+ .horizontal-nav {
4
+ @extend .light-paper-primary;
5
+ @extend .light-text-color-primary;
6
+ overflow: auto;
7
+ display: flex;
8
+ margin-top: 3rem;
9
+
10
+ .menu-item {
11
+ border: 10px;
12
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
13
+ cursor: pointer;
14
+ text-decoration: none;
15
+ margin: 0px;
16
+ padding: 0px;
17
+ outline: none;
18
+ font-size: 16px;
19
+ position: relative;
20
+ color: rgb(95, 92, 98);
21
+ line-height: 48px;
22
+ transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
23
+ min-height: 48px;
24
+ white-space: initial;
25
+ background: none;
26
+
27
+ .icon {
28
+ @extend .light-background;
29
+ display: block;
30
+ color: rgb(117, 117, 117);
31
+ fill: rgb(117, 117, 117);
32
+ height: 21px !important;
33
+ width: 21px !important;
34
+ float: left;
35
+ margin-top: 12px;
36
+ }
37
+
38
+ .edit-btn-ico {
39
+ height: 17px;
40
+ width: 17px;
41
+ margin-top: 16px;
42
+ }
43
+
44
+ .icon+.menu-label {
45
+ margin-left: 36px;
46
+ overflow: hidden;
47
+ text-overflow: ellipsis;
48
+ white-space: nowrap;
49
+ }
50
+ }
51
+
52
+ @media (min-width: 780px) {
53
+ .sidebar-list {
54
+ padding-right: 30px;
55
+ padding-left: 30px;
56
+ background-color: #EEEEEE;
57
+ border: 1px solid #DDDDDD;
58
+ border-radius: 8px 8px 0px 0px;
59
+
60
+ &.active {
61
+ font-weight: 600;
62
+ border-bottom: 3px solid theme(colors.primary.main);
63
+
64
+ background-color: #FFFFFF;
65
+
66
+ .menu-label {
67
+ color: theme(colors.primary.main);
68
+ }
69
+
70
+ .icon {
71
+ fill: theme(colors.primary.main);
72
+ }
73
+ }
74
+
75
+ .submenu-container {
76
+ cursor: pointer;
77
+ display: flex;
78
+ flex-direction: column;
79
+
80
+ .sidebar-link {
81
+ display: flex;
82
+ justify-content: space-between;
83
+ align-items: center;
84
+ padding: 15px!important;
85
+ padding-top: 20px!important;
86
+ svg {
87
+ width: 24px !important;
88
+ height: 24px !important;
89
+ color: rgb(117, 117, 117);
90
+ fill: rgb(117, 117, 117);
91
+ }
92
+
93
+ .actions {
94
+ .tooltip {
95
+ margin-left: 16px;
96
+ }
97
+ }
98
+ }
99
+
100
+ .actions {
101
+ display: flex;
102
+ align-items: center;
103
+ overflow: hidden !important;
104
+
105
+ span {
106
+ margin-left: 13px;
107
+ line-height: 48px;
108
+ white-space: nowrap;
109
+ color: #5f5c62;
110
+ overflow: hidden;
111
+ text-overflow: ellipsis;
112
+ }
113
+ }
114
+ }
115
+ .submenu-container:first-child {
116
+ margin-top:5px;
117
+ .employee-search-input{
118
+ margin-left:16px !important;
119
+ }
120
+ }
121
+ }
122
+ .sidebar-list-search-form {
123
+ padding-right: 30px;
124
+ padding-left: 30px;
125
+
126
+ &.active {
127
+ font-weight: 600;
128
+ border-bottom: 3px solid theme(colors.primary.main);
129
+
130
+ background-color: #FFFFFF;
131
+
132
+ .menu-label {
133
+ color: theme(colors.primary.main);
134
+ }
135
+
136
+ .icon {
137
+ fill: theme(colors.primary.main);
138
+ }
139
+ }
140
+
141
+ .submenu-container {
142
+ cursor: pointer;
143
+ display: flex;
144
+ flex-direction: column;
145
+
146
+ .sidebar-link {
147
+ display: flex;
148
+ justify-content: space-between;
149
+ align-items: center;
150
+ padding: 15px!important;
151
+ padding-top: 20px!important;
152
+ svg {
153
+ width: 24px !important;
154
+ height: 24px !important;
155
+ color: rgb(117, 117, 117);
156
+ fill: rgb(117, 117, 117);
157
+ }
158
+
159
+ .actions {
160
+ .tooltip {
161
+ margin-left: 16px;
162
+ }
163
+ }
164
+ }
165
+
166
+ .actions {
167
+ display: flex;
168
+ align-items: center;
169
+ overflow: hidden !important;
170
+
171
+ span {
172
+ margin-left: 13px;
173
+ line-height: 48px;
174
+ white-space: nowrap;
175
+ color: #5f5c62;
176
+ overflow: hidden;
177
+ text-overflow: ellipsis;
178
+ }
179
+ }
180
+ }
181
+ .submenu-container:first-child {
182
+ margin-top:5px;
183
+ .employee-search-input{
184
+ margin-left:16px !important;
185
+ }
186
+ }
187
+ }
188
+
189
+
190
+ .dropdown-link {
191
+ .actions {
192
+ display: flex;
193
+ padding: 1em;
194
+
195
+ svg {
196
+ width: 21px;
197
+ height: 21px;
198
+ color: rgb(117, 117, 117);
199
+ fill: rgb(117, 117, 117);
200
+ }
201
+
202
+ span {
203
+ color: #5f5c62;
204
+ }
205
+ }
206
+ }
207
+ }
208
+ }
209
+
210
+
211
+
212
+ .sidebar-link {
213
+ display: flex;
214
+ justify-content: space-between;
215
+ align-items: center;
216
+ padding: 15px!important;
217
+ padding-top: 20px!important;
218
+ svg {
219
+ width: 24px !important;
220
+ height: 26px !important;
221
+ color: rgb(117, 117, 117);
222
+ fill: rgb(117, 117, 117);
223
+ }
224
+ }
@@ -0,0 +1,116 @@
1
+ @import url("../../digitv2/index.scss");
2
+
3
+ .search-wrapper {
4
+ @extend .light-text-color-primary;
5
+ @extend .light-paper-primary;
6
+ height: 100%;
7
+ width: 100%;
8
+ padding: 1rem;
9
+
10
+ .popup-label {
11
+ display: flex;
12
+ font-size: large;
13
+ @extend .light-text-color-primary;
14
+ .header {
15
+ @extend .light-text-color-primary;
16
+ width: 100%;
17
+ font-weight: normal;
18
+ font-size: large;
19
+ .icon {
20
+ @extend .light-primary;
21
+ margin-right: 12px;
22
+ margin-top: 5px;
23
+ }
24
+ }
25
+ }
26
+
27
+ .filter-header-wrapper {
28
+ @extend .light-text-color-primary;
29
+ display: grid;
30
+ grid-template-columns: 15% 1fr 15%;
31
+ height: 3rem;
32
+ margin-bottom: 1rem;
33
+ .icon-refresh {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ border: 1px solid #00000017;
38
+ cursor: pointer;
39
+ svg {
40
+ height: 60%;
41
+ width: 40%;
42
+ }
43
+ }
44
+ .label {
45
+ @extend .light-text-color-primary;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: flex-start;
49
+ }
50
+
51
+ @media (min-width: 1024px) {
52
+ .label {
53
+ font-size: 24px;
54
+ }
55
+ }
56
+
57
+ @media (max-width: 1024px) {
58
+ .label {
59
+ font-size: 16px;
60
+ }
61
+ }
62
+
63
+ .icon-filter {
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: flex-start;
67
+ }
68
+ }
69
+
70
+ .search-field-wrapper {
71
+ display: grid;
72
+ row-gap: 0.25rem;
73
+ column-gap: 1rem;
74
+ &.inbox {
75
+ grid-template-columns: repeat(3, 1fr);
76
+ &.filter {
77
+ display: flex;
78
+ flex-direction: column;
79
+ }
80
+ }
81
+ &.search {
82
+ grid-template-columns: repeat(4, 1fr);
83
+ }
84
+ .text-input{
85
+ @extend .light-primary;
86
+ }
87
+ }
88
+
89
+ .search-button-wrapper {
90
+ display: flex;
91
+ align-items: center;
92
+ justify-content: flex-end;
93
+ gap: 1rem;
94
+ padding-top: 8px;
95
+ &.inbox {
96
+ grid-column: 2 / span 2;
97
+ &.filter {
98
+ button {
99
+ width: 100%;
100
+ }
101
+ }
102
+ }
103
+ &.search {
104
+ grid-column: 3 / span 2;
105
+ }
106
+ }
107
+ }
108
+
109
+ @screen sm {
110
+ .search-wrapper {
111
+ .search-field-wrapper {
112
+ display: flex;
113
+ flex-direction: column;
114
+ }
115
+ }
116
+ }
@@ -0,0 +1,134 @@
1
+ @import url("../../digitv2/index.scss");
2
+
3
+ .inbox-search-wrapper {
4
+ /*
5
+ TODO NABEEL/ANIL Removed these since it creates issues in search screen
6
+ @extend .light-background;
7
+
8
+ */
9
+ height: 100%;
10
+ .inbox-search-component-wrapper {
11
+ /*
12
+ TODO NABEEL/ANIL Removed these since it creates issues in search screen
13
+ @extend .light-background;
14
+
15
+ */ height: 100%;
16
+ width: 100%;
17
+ .sections-parent {
18
+ /*
19
+ TODO NABEEL/ANIL Removed these since it creates issues in search screen
20
+ @extend .light-background;
21
+
22
+ */ height: 100%;
23
+ display: grid;
24
+ grid-template-columns: 20% 1fr;
25
+ gap : 1rem;
26
+ &.inbox {
27
+ @extend .light-text-color-primary;
28
+ .links{
29
+ @extend .light-primary;
30
+ @extend .light-paper-primary;
31
+ .text{
32
+ @extend .light-text-color-primary;
33
+ }
34
+ .inbox-links-icon{
35
+ color:#f47738;
36
+ fill:#f47738;
37
+ path{
38
+ fill:#f47738;
39
+ }
40
+ }
41
+ }
42
+ }
43
+ &.search {
44
+ display: flex;
45
+ flex-direction: column;
46
+ .section {
47
+ &.links {
48
+ display: none;
49
+ }
50
+ &.filter {
51
+ display: none;
52
+ }
53
+ }
54
+ .search-wrapper {
55
+ @extend .light-paper-primary;
56
+ .search-field-wrapper.search.custom-both-clear-search{
57
+ .search-button-wrapper.search {
58
+ grid-column: initial;
59
+ }
60
+ .search-button-wrapper{
61
+ .link-label{
62
+ @extend .light-primary;
63
+ white-space:initial;
64
+ }
65
+ .submit-bar {
66
+ @extend .light-primary-button;
67
+ width: 60%;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ &.download {
74
+ grid-template-columns: 100%
75
+ }
76
+ .section {
77
+ @extend .light-paper-primary;
78
+ @extend .light-text-color-primary;
79
+ min-height: 10rem;
80
+ /* background-color: white; */
81
+ display: flex;
82
+ align-items: center;
83
+ justify-content: center;
84
+ border-radius: 4px;
85
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 16%);
86
+ &.search-results {
87
+ min-height: 0;
88
+ }
89
+ &.links {
90
+ height: 100%;
91
+ color : #f47738;
92
+ .inbox-search-links-component {
93
+ height: 100% !important;
94
+ width: 100%;
95
+ }
96
+ }
97
+ &.filter {
98
+ @extend .light-paper-primary;
99
+ @extend .light-text-color-primary;
100
+ height: fit-content;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+
107
+ @screen sm {
108
+ .employee-main-application-details-for-modal {
109
+ padding: 0 !important;
110
+ }
111
+ .inbox-search-wrapper {
112
+ .inbox-search-component-wrapper {
113
+ .sections-parent {
114
+ display: flex;
115
+ flex-direction : column;
116
+ .section {
117
+ &.search-results {
118
+ }
119
+ &.links {
120
+ }
121
+ &.filter {
122
+
123
+ }
124
+ &.as-modal {
125
+ position : fixed;
126
+ top : 0;
127
+ height : 100vh;
128
+ width : 100vw;
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
@@ -0,0 +1,5 @@
1
+ @import "./horizontalNav.scss";
2
+ @import "./InboxLinks.scss";
3
+ @import "./inboxSearch.scss";
4
+ @import "./searchComponentTable.scss";
5
+ @import "./inboxSearchComposer.scss";
@@ -0,0 +1,44 @@
1
+ .search-component-table {
2
+ width: 100%;
3
+ display: block;
4
+ overflow-x: auto;
5
+ overflow-y:hidden;
6
+ table {
7
+ th {
8
+ .tooltip {
9
+ min-width: 80px;
10
+ }
11
+ }
12
+ tr {
13
+ td {
14
+ span {
15
+ white-space: pre;
16
+ min-width: 80px;
17
+ .tooltip {
18
+ position: relative;
19
+ min-width: 80px;
20
+ display: inline-block;
21
+ margin-left: 16px;
22
+ .tooltiptext {
23
+ visibility: hidden;
24
+ background-color: #555;
25
+ color: #fff;
26
+ text-align: left;
27
+ border-radius: 6px;
28
+ padding: 5px;
29
+ position: absolute;
30
+ z-index: 1;
31
+ bottom: 125%;
32
+ left: 50%;
33
+ margin-left: -60px;
34
+ opacity: 0;
35
+ transition: opacity 0.3s;
36
+ width: 30rem;
37
+ }
38
+ }
39
+
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
@@ -10,14 +10,13 @@
10
10
  height: 2.5rem;
11
11
  }
12
12
  .bannerCard .customBtn {
13
- border-color: #505a5f;
13
+ border-color: theme(colors.text.secondary);
14
14
  }
15
15
  .bannerCard .customBtn:focus {
16
16
  outline: none;
17
17
  }
18
18
  .bannerCard .customBtn-selected {
19
19
  border-color: transparent;
20
- background-color: #5a1166 !important;
21
20
  }
22
21
  .bannerCard .bannerHeader p {
23
22
  font-size: 19px;
@@ -25,7 +25,7 @@
25
25
  position: absolute;
26
26
  width: 52px;
27
27
  height: 52px;
28
- border: 12px solid #22394d;
28
+ border: 12px solid theme(colors.secondary);
29
29
  border-top-color: transparent;
30
30
  border-radius: 50%;
31
31
  }
@@ -16,7 +16,7 @@
16
16
 
17
17
  .upper_green {
18
18
  @apply inline;
19
- color: #00703C;
19
+ color: theme(colors.success);
20
20
  }
21
21
  }
22
22
 
@@ -24,4 +24,5 @@
24
24
  display: flex;
25
25
  flex-wrap: wrap;
26
26
  margin-top: 15px;
27
+ justify-content: space-evenly;
27
28
  }
@@ -39,7 +39,7 @@
39
39
  top: unset;
40
40
  @apply relative text-text-primary !important;
41
41
  svg{
42
- fill: #505A5F;
42
+ fill: theme(colors.text.secondary);
43
43
  }
44
44
  span{
45
45
  @apply text-text-primary !important;
@@ -40,6 +40,8 @@
40
40
  @apply absolute min-w-full z-20;
41
41
  div{
42
42
  @apply flex w-full bg-white;
43
+ justify-content: flex-start;
44
+ align-items: center;
43
45
  &:hover{
44
46
  @apply bg-grey-mid;
45
47
  }
@@ -49,6 +51,8 @@
49
51
  }
50
52
  p{
51
53
  padding: 12px;
54
+ margin-top: 5px;
55
+ margin-bottom: 5px;
52
56
  @apply text-form-field text-text-primary;
53
57
  }
54
58
  .custom-checkbox{