@djb25/digit-ui-css 1.0.40 → 1.0.42

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 (37) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.min.css +1 -1
  3. package/package.json +1 -1
  4. package/src/components/SearchForm.scss +10 -16
  5. package/src/components/TimeLine.scss +6 -6
  6. package/src/components/VerticalTimeline.scss +8 -8
  7. package/src/components/body.scss +14 -6
  8. package/src/components/buttons.scss +3 -3
  9. package/src/components/card.scss +26 -6
  10. package/src/components/datatable.scss +19 -1
  11. package/src/components/financeUi.scss +9 -15
  12. package/src/components/inboxv2/InboxLinks.scss +53 -53
  13. package/src/components/inboxv2/inboxSearchComposer.scss +112 -111
  14. package/src/components/juridictions.scss +4 -0
  15. package/src/components/landingpage.scss +4 -4
  16. package/src/components/moduleHeader.scss +1 -1
  17. package/src/components/multiSelectDropdown.scss +17 -4
  18. package/src/components/radiobtn.scss +13 -13
  19. package/src/components/selectdropdown.scss +18 -3
  20. package/src/components/table.scss +2 -2
  21. package/src/components/textfields.scss +8 -1
  22. package/src/components/toast.scss +1 -1
  23. package/src/components/topbar.scss +193 -0
  24. package/src/digitv2/components/FormComposerV2.scss +1 -1
  25. package/src/digitv2/pages/employee/workbench.scss +7 -10
  26. package/src/index.scss +42 -3
  27. package/src/pages/citizen/Register.scss +1 -1
  28. package/src/pages/employee/ekyc.scss +168 -168
  29. package/src/pages/employee/inbox.scss +24 -3
  30. package/src/pages/employee/index.scss +31 -0
  31. package/src/pages/employee/userProfile.scss +17 -6
  32. package/svg/check.svg +1 -1
  33. package/svg/close.svg +1 -1
  34. package/svg/error2.svg +1 -1
  35. package/svg/starempty.svg +1 -1
  36. package/svg/starfilled.svg +1 -1
  37. package/svg/success.svg +1 -1
@@ -75,7 +75,7 @@
75
75
 
76
76
  .card-textarea,
77
77
  .employee-card-textarea {
78
- @apply block outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
78
+ @apply block outline-none w-full bg-white h-24 text-form-field text-text-primary p-sm;
79
79
  @extend .light-input-border;
80
80
  }
81
81
 
@@ -544,11 +544,11 @@
544
544
  text-decoration: none;
545
545
  .browse-text {
546
546
  text-decoration: none;
547
- color: #f47738;
547
+ color: #3a8dcc;
548
548
  transition: color 0.3s;
549
549
  }
550
550
  .browse-text:hover {
551
- color: #f47738;
551
+ color: #3a8dcc;
552
552
  text-decoration: underline;
553
553
  cursor: pointer;
554
554
  }
@@ -718,9 +718,6 @@ button:hover {
718
718
  display: block;
719
719
  width: 100%;
720
720
  height: 2.5rem;
721
- --border-opacity: 1;
722
- border: 1px solid #f47738;
723
- border-color: rgba(244, 119, 56, var(--border-opacity));
724
721
  }
725
722
 
726
723
  .modal-content .label-field-pair {
@@ -741,7 +738,7 @@ button:hover {
741
738
  flex-direction: row-reverse;
742
739
  .add-new {
743
740
  position: relative;
744
- color: #f47738;
741
+ color: #3a8dcc;
745
742
  cursor: pointer;
746
743
  margin-right: 1em;
747
744
  font-weight: bolder;
@@ -788,7 +785,7 @@ button:hover {
788
785
 
789
786
  .view-all-link {
790
787
  background-color: #bdc5d1;
791
- color: #f47738;
788
+ color: #3a8dcc;
792
789
  font-size: 16px;
793
790
  text-decoration: underline;
794
791
  cursor: pointer;
@@ -842,7 +839,7 @@ button:hover {
842
839
  .success-container {
843
840
  display: flex;
844
841
  flex-direction: row;
845
- background-color: #00703c;
842
+ background-color: #2e9e8f;
846
843
  color: #fff;
847
844
  padding: 5px 10px;
848
845
  border-radius: 5px;
@@ -851,7 +848,7 @@ button:hover {
851
848
 
852
849
  .success-count {
853
850
  background-color: #fff;
854
- color: #00703c;
851
+ color: #2e9e8f;
855
852
  padding: 3px 5px;
856
853
  border-radius: 3px;
857
854
  margin-left: 5px;
@@ -902,7 +899,7 @@ button:hover {
902
899
  cursor: pointer;
903
900
 
904
901
  &:hover {
905
- background-color: #d4351c;
902
+ background-color: #d83a2f;
906
903
  color: white;
907
904
  /* Yellowish color on hover */
908
905
  }
package/src/index.scss CHANGED
@@ -308,6 +308,10 @@ input[readonly] {
308
308
  @apply border-grey-dark text-grey-dark !important;
309
309
  pointer-events: none !important;
310
310
  }
311
+ .disabled-label {
312
+ @apply border-grey-dark text-grey-dark !important;
313
+ pointer-events: none !important;
314
+ }
311
315
 
312
316
  .card-date-input {
313
317
  @apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
@@ -342,7 +346,7 @@ input[readonly] {
342
346
  .border-none {
343
347
  border: none;
344
348
  justify-content: space-between;
345
- max-width: 450px;
349
+ max-width: 600px;
346
350
  }
347
351
 
348
352
  input[type="number"]::-webkit-inner-spin-button,
@@ -489,7 +493,28 @@ input[type="number"] {
489
493
  }
490
494
 
491
495
  input {
492
- border: 1px solid #e5e5e7;
496
+ border: 2px solid #a1a1aa;
497
+ color: #a1a1aa;
498
+ &:focus-within {
499
+ outline: none;
500
+ border-color: #007bff;
501
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
502
+ }
503
+ }
504
+ }
505
+
506
+ .phone-input-wrapper:focus-within {
507
+ .employee-card-input--front {
508
+ outline: none;
509
+ border-color: #007bff;
510
+ border-right: 0;
511
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
512
+ z-index: 1;
513
+ }
514
+ input {
515
+ outline: none;
516
+ border-color: #007bff;
517
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
493
518
  }
494
519
  }
495
520
 
@@ -567,7 +592,7 @@ input[type="number"] {
567
592
  display: flex;
568
593
  flex-direction: column;
569
594
  overflow-x: scroll;
570
- border-radius: 6px;
595
+ border-radius: 12px;
571
596
  flex: 1 1 0%;
572
597
  scrollbar-width: none;
573
598
  }
@@ -888,6 +913,20 @@ input[type="number"] {
888
913
  height: 100%;
889
914
  }
890
915
 
916
+ .flex-gap-1 {
917
+ display: flex;
918
+ justify-content: center;
919
+ align-items: center;
920
+ gap: 4px;
921
+ }
922
+
923
+ .flex-gap-2 {
924
+ display: flex;
925
+ justify-content: center;
926
+ align-items: center;
927
+ gap: 8px;
928
+ }
929
+
891
930
  .bc-white {
892
931
  background-color: #fff;
893
932
  }
@@ -220,7 +220,7 @@
220
220
  }
221
221
 
222
222
  .error-text {
223
- color: #d4351c;
223
+ color: #d83a2f;
224
224
  font-size: 14px;
225
225
  margin-top: 4px;
226
226
  }
@@ -1,191 +1,191 @@
1
1
  .ekyc-employee-container {
2
- .inbox-main-container {
3
- flex: 1;
4
- padding-right: -24px;
5
- border-radius: 12px;
2
+ .inbox-main-container {
3
+ flex: 1;
4
+ padding-right: -24px;
5
+ border-radius: 12px;
6
+ }
7
+
8
+ .inbox-wrapper {
9
+ min-width: 100%;
10
+ padding: 24px;
11
+ border-radius: 12px;
12
+ }
13
+
14
+ .ekyc-header-container {
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ margin-bottom: 24px;
19
+ }
20
+
21
+ .ekyc-status-container {
22
+ display: flex;
23
+ gap: 24px;
24
+ margin-bottom: 32px;
25
+ }
26
+
27
+ .ekyc-status-card {
28
+ flex: 1;
29
+ text-align: center;
30
+ padding: 8px 24px;
31
+ border-right: 1px solid #eaecf0;
32
+
33
+ &:last-child {
34
+ border-right: none;
6
35
  }
7
36
 
8
- .inbox-wrapper {
9
- min-width: 100%;
10
- padding: 24px;
11
- border-radius: 12px;
12
- }
37
+ .count {
38
+ font-size: 32px;
39
+ font-weight: 700;
40
+ color: #101828;
41
+
42
+ &.pending {
43
+ color: #b54708;
44
+ }
13
45
 
14
- .ekyc-header-container {
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- margin-bottom: 24px;
46
+ &.completed {
47
+ color: #027a48;
48
+ }
19
49
  }
20
50
 
21
- .ekyc-status-container {
22
- display: flex;
23
- gap: 24px;
24
- margin-bottom: 32px;
51
+ .label {
52
+ color: #667085;
53
+ margin-top: 8px;
54
+ font-size: 14px;
55
+ font-weight: 500;
56
+ }
57
+ }
58
+
59
+ .ekyc-search-card {
60
+ margin-bottom: 24px;
61
+ padding: 20px;
62
+ background-color: #fff;
63
+ border-radius: 12px;
64
+ }
65
+
66
+ .ekyc-search-container {
67
+ width: 100%;
68
+ flex: 1;
69
+
70
+ .search-inner {
71
+ padding: 0px;
72
+ background-color: #fff;
73
+ border: none;
25
74
  }
26
75
 
27
- .ekyc-status-card {
28
- flex: 1;
29
- text-align: center;
30
- padding: 8px 24px;
31
- border-right: 1px solid #EAECF0;
32
-
33
- &:last-child {
34
- border-right: none;
35
- }
36
-
37
- .count {
38
- font-size: 32px;
39
- font-weight: 700;
40
- color: #101828;
41
-
42
- &.pending {
43
- color: #B54708;
44
- }
45
-
46
- &.completed {
47
- color: #027A48;
48
- }
49
- }
50
-
51
- .label {
52
- color: #667085;
53
- margin-top: 8px;
54
- font-size: 14px;
55
- font-weight: 500;
56
- }
76
+ .search-field-wrapper {
77
+ display: flex;
78
+ align-items: flex-end;
79
+ gap: 24px;
80
+ width: 100%;
57
81
  }
58
82
 
59
- .ekyc-search-card {
60
- margin-bottom: 24px;
61
- padding: 20px;
62
- background-color: #fff;
63
- border-radius: 12px;
83
+ .search-fields-container {
84
+ display: flex;
85
+ flex-wrap: wrap;
86
+ gap: 24px;
87
+ flex: 1;
64
88
  }
65
89
 
66
- .ekyc-search-container {
67
- width: 100%;
68
- flex: 1;
69
-
70
- .search-inner {
71
- padding: 0px;
72
- background-color: #fff;
73
- border: none;
74
- }
75
-
76
- .search-field-wrapper {
77
- display: flex;
78
- align-items: flex-end;
79
- gap: 24px;
80
- width: 100%;
81
- }
82
-
83
- .search-fields-container {
84
- display: flex;
85
- flex-wrap: wrap;
86
- gap: 24px;
87
- flex: 1;
88
- }
89
-
90
- .search-field {
91
- display: flex;
92
- flex-direction: column;
93
- gap: 8px;
94
- min-width: 250px;
95
- flex: 1;
96
-
97
- label {
98
- margin-bottom: 0 !important;
99
- margin-top: 20px !important;
100
- font-size: 16px !important;
101
- font-weight: 600 !important;
102
- color: #344054 !important;
103
- }
104
-
105
- input,
106
- .dropdown-wrapper {
107
- border-radius: 12px !important;
108
- height: 40px !important;
109
- }
110
- }
111
-
112
- .search-action-container {
113
- display: flex;
114
- align-items: center;
115
- gap: 20px;
116
- margin-left: auto;
117
- padding-bottom: 4px;
118
-
119
- .submit-bar {
120
- height: 40px !important;
121
- padding: 0 24px !important;
122
- margin-bottom: 0 !important;
123
- border-radius: 12px !important;
124
- position: relative !important;
125
- top: -20px !important;
126
- }
127
-
128
- .link-label {
129
- margin: 0 !important;
130
- font-weight: 600 !important;
131
- cursor: pointer !important;
132
- white-space: nowrap !important;
133
- position: relative !important;
134
- top: -20px !important;
135
- color: #F47738 !important;
136
- }
137
- }
90
+ .search-field {
91
+ display: flex;
92
+ flex-direction: column;
93
+ gap: 8px;
94
+ min-width: 250px;
95
+ flex: 1;
96
+
97
+ label {
98
+ margin-bottom: 0 !important;
99
+ margin-top: 20px !important;
100
+ font-size: 16px !important;
101
+ font-weight: 600 !important;
102
+ color: #344054 !important;
103
+ }
104
+
105
+ input,
106
+ .dropdown-wrapper {
107
+ border-radius: 12px !important;
108
+ height: 40px !important;
109
+ }
138
110
  }
139
111
 
140
- .ekyc-table-card {
141
- padding: 0px;
142
- overflow: hidden;
112
+ .search-action-container {
113
+ display: flex;
114
+ align-items: center;
115
+ gap: 20px;
116
+ margin-left: auto;
117
+ padding-bottom: 4px;
118
+
119
+ .submit-bar {
120
+ height: 40px !important;
121
+ padding: 0 24px !important;
122
+ margin-bottom: 0 !important;
123
+ border-radius: 12px !important;
124
+ position: relative !important;
125
+ top: -20px !important;
126
+ }
127
+
128
+ .link-label {
129
+ margin: 0 !important;
130
+ font-weight: 600 !important;
131
+ cursor: pointer !important;
132
+ white-space: nowrap !important;
133
+ position: relative !important;
134
+ top: -20px !important;
135
+ color: #3a8dcc !important;
136
+ }
137
+ }
138
+ }
139
+
140
+ .ekyc-table-card {
141
+ padding: 0px;
142
+ overflow: hidden;
143
+ }
144
+
145
+ .ekyc-status-tag {
146
+ padding: 6px 12px;
147
+ border-radius: 20px;
148
+ font-size: 12px;
149
+ font-weight: 600;
150
+ text-transform: uppercase;
151
+
152
+ &.ALL {
153
+ background-color: #f4f4f4;
154
+ color: #505a5f;
143
155
  }
144
156
 
145
- .ekyc-status-tag {
146
- padding: 6px 12px;
147
- border-radius: 20px;
148
- font-size: 12px;
149
- font-weight: 600;
150
- text-transform: uppercase;
151
-
152
- &.ALL {
153
- background-color: #F4F4F4;
154
- color: #505A5F;
155
- }
156
-
157
- &.COMPLETED {
158
- background-color: #E7F4E9;
159
- color: #0B6623;
160
- }
161
-
162
- &.PENDING {
163
- background-color: #FFF5E6;
164
- color: #945700;
165
- }
166
-
167
- &.REJECTED {
168
- background-color: #FBEAE9;
169
- color: #AF1E11;
170
- }
171
-
172
- &.DEFAULT {
173
- background-color: #F4F4F4;
174
- color: #505A5F;
175
- }
157
+ &.COMPLETED {
158
+ background-color: #e7f4e9;
159
+ color: #0b6623;
176
160
  }
177
161
 
178
- .ekyc-metrics-section {
179
- margin-bottom: 24px;
162
+ &.PENDING {
163
+ background-color: #fff5e6;
164
+ color: #945700;
180
165
  }
181
166
 
182
- .ekyc-table-cell {
183
- padding: 20px 18px;
184
- font-size: 16px;
167
+ &.REJECTED {
168
+ background-color: #fbeae9;
169
+ color: #af1e11;
185
170
  }
186
171
 
187
- .ekyc-application-link {
188
- font-weight: 600;
189
- color: #F47738;
172
+ &.DEFAULT {
173
+ background-color: #f4f4f4;
174
+ color: #505a5f;
190
175
  }
191
- }
176
+ }
177
+
178
+ .ekyc-metrics-section {
179
+ margin-bottom: 24px;
180
+ }
181
+
182
+ .ekyc-table-cell {
183
+ padding: 20px 18px;
184
+ font-size: 16px;
185
+ }
186
+
187
+ .ekyc-application-link {
188
+ font-weight: 600;
189
+ color: #3a8dcc;
190
+ }
191
+ }
@@ -32,7 +32,7 @@
32
32
 
33
33
  .link {
34
34
  @apply p-sm items-center;
35
- color: #764ba2 !important;
35
+ color: #0b2e5b !important;
36
36
  display: flex !important;
37
37
 
38
38
  a {
@@ -216,6 +216,26 @@
216
216
  }
217
217
  }
218
218
 
219
+ .hover-button {
220
+ &:hover {
221
+ height: 32px;
222
+ border-radius: 9999999px;
223
+ border: 2px solid #a82227;
224
+ padding: 0 32px;
225
+ display: flex;
226
+ align-items: center;
227
+ justify-content: center;
228
+ cursor: pointer;
229
+ transition: all 0.2s ease;
230
+ width: fit-content;
231
+ text-decoration: none;
232
+
233
+ @media (max-width: 768px) {
234
+ padding: 0 12px;
235
+ }
236
+ }
237
+ }
238
+
219
239
  .generic-button {
220
240
  height: 32px;
221
241
  border-radius: 9999999px;
@@ -242,7 +262,8 @@
242
262
  .clear-search .link-label {
243
263
  @apply border-focus text-focus;
244
264
  cursor: pointer;
245
-
265
+ min-width: 110px;
266
+ text-align: center;
246
267
  &:hover {
247
268
  color: #3b59df;
248
269
  background-color: #bdc7f3;
@@ -386,7 +407,7 @@
386
407
 
387
408
  .link {
388
409
  @apply p-sm;
389
- color: #764ba2 !important;
410
+ color: #0b2e5b !important;
390
411
  }
391
412
  }
392
413
  }
@@ -142,6 +142,17 @@
142
142
  }
143
143
  }
144
144
 
145
+ .single-page-form-container {
146
+ display: flex;
147
+ flex-direction: column;
148
+ gap: 24px;
149
+ width: 100%;
150
+ }
151
+
152
+ .form-section-unit {
153
+ width: 100%;
154
+ }
155
+
145
156
  .employee-form .citizen {
146
157
  .main {
147
158
  padding-top: 82px;
@@ -658,6 +669,14 @@
658
669
  }
659
670
  }
660
671
 
672
+ .hover-button:hover {
673
+ border: 2px solid #a82227 !important;
674
+ }
675
+
676
+ .hover-button-round:hover {
677
+ padding: 4px !important;
678
+ }
679
+
661
680
  @media (min-width: 640px) {
662
681
  .employee {
663
682
  display: flex;
@@ -684,6 +703,18 @@
684
703
  /* width: calc(100%-83px); */
685
704
  }
686
705
 
706
+ .add-details-link {
707
+ color: #a82227;
708
+ cursor: pointer;
709
+ text-decoration: underline;
710
+ display: flex;
711
+ width: fit-content;
712
+ &:hover {
713
+ padding: 0 32px;
714
+ margin-left: 0;
715
+ }
716
+ }
717
+
687
718
  .citizen-home-container {
688
719
  display: flex;
689
720
  flex-direction: unset !important;
@@ -9,6 +9,7 @@
9
9
 
10
10
  &.employee {
11
11
  @media (min-width: 768px) {
12
+ overflow-y: scroll;
12
13
  width: 33.33%;
13
14
  height: fit-content;
14
15
  min-width: 250px;
@@ -104,16 +105,16 @@
104
105
  flex-direction: column;
105
106
  gap: 16px;
106
107
  width: 100%;
107
- padding-top: 16px;
108
- padding-inline: 20px;
109
- margin-bottom: 88px;
110
-
108
+ height: 100%;
109
+ @media (min-width: 768px) {
110
+ padding-inline: 20px;
111
+ }
111
112
  .generic-button {
112
113
  color: #fff;
113
114
  cursor: pointer;
114
115
  position: relative;
115
116
  border-radius: 10px;
116
- background-color: #171f1d;
117
+ background-color: #7696e7;
117
118
  }
118
119
  }
119
120
 
@@ -128,6 +129,15 @@
128
129
  position: relative;
129
130
  }
130
131
 
132
+ .login {
133
+ .user-profile-wrapper {
134
+ padding-bottom: 16px;
135
+ @media (max-width: 768px) {
136
+ padding-bottom: 76px;
137
+ }
138
+ }
139
+ }
140
+
131
141
  .user-profile-wrapper {
132
142
  display: flex;
133
143
  flex: 1;
@@ -135,6 +145,7 @@
135
145
 
136
146
  @media (min-width: 768px) {
137
147
  flex-direction: row;
148
+ overflow-y: scroll;
138
149
  }
139
150
  @media (max-width: 768px) {
140
151
  align-items: center;
@@ -192,7 +203,7 @@
192
203
  gap: 8px;
193
204
 
194
205
  &.employee {
195
- flex: 7.5;
206
+ overflow-y: scroll;
196
207
  padding: 24px;
197
208
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
198
209
  }
package/svg/check.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#F47738" >
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#3A8DCC" >
2
2
  <path d="M0 0h24v24H0z" fill="none"/>
3
3
  <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/>
4
4
  </svg>
package/svg/close.svg CHANGED
@@ -1,4 +1,4 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="18px" height="18px">
2
- <path d="M0 0h24v24H0V0z" fill="#d4351c"/>
2
+ <path d="M0 0h24v24H0V0z" fill="#D83A2F"/>
3
3
  <path d="M18.3 5.71c-.39-.39-1.02-.39-1.41 0L12 10.59 7.11 5.7c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"/>
4
4
  </svg>