@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
@@ -1,134 +1,135 @@
1
1
  @import url("../../digitv2/index.scss");
2
2
 
3
3
  .inbox-search-wrapper {
4
- /*
4
+ /*
5
5
  TODO NABEEL/ANIL Removed these since it creates issues in search screen
6
6
  @extend .light-background;
7
7
 
8
8
  */
9
- height: 100%;
10
- .inbox-search-component-wrapper {
11
- /*
9
+ height: 100%;
10
+ .inbox-search-component-wrapper {
11
+ /*
12
12
  TODO NABEEL/ANIL Removed these since it creates issues in search screen
13
13
  @extend .light-background;
14
14
 
15
- */ height: 100%;
16
- width: 100%;
17
- .sections-parent {
18
- /*
15
+ */
16
+ height: 100%;
17
+ width: 100%;
18
+ .sections-parent {
19
+ /*
19
20
  TODO NABEEL/ANIL Removed these since it creates issues in search screen
20
21
  @extend .light-background;
21
22
 
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
- }
23
+ */
24
+ height: 100%;
25
+ display: grid;
26
+ grid-template-columns: 20% 1fr;
27
+ gap: 1rem;
28
+ &.inbox {
29
+ @extend .light-text-color-primary;
30
+ .links {
31
+ @extend .light-primary;
32
+ @extend .light-paper-primary;
33
+ .text {
34
+ @extend .light-text-color-primary;
35
+ }
36
+ .inbox-links-icon {
37
+ color: #3a8dcc;
38
+ fill: #3a8dcc;
39
+ path {
40
+ fill: #3a8dcc;
72
41
  }
73
- &.download {
74
- grid-template-columns: 100%
42
+ }
43
+ }
44
+ }
45
+ &.search {
46
+ display: flex;
47
+ flex-direction: column;
48
+ .section {
49
+ &.links {
50
+ display: none;
51
+ }
52
+ &.filter {
53
+ display: none;
54
+ }
55
+ }
56
+ .search-wrapper {
57
+ @extend .light-paper-primary;
58
+ .search-field-wrapper.search.custom-both-clear-search {
59
+ .search-button-wrapper.search {
60
+ grid-column: initial;
75
61
  }
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
- }
62
+ .search-button-wrapper {
63
+ .link-label {
64
+ @extend .light-primary;
65
+ white-space: initial;
66
+ }
67
+ .submit-bar {
68
+ @extend .light-primary-button;
69
+ width: 60%;
70
+ }
102
71
  }
72
+ }
73
+ }
74
+ }
75
+ &.download {
76
+ grid-template-columns: 100%;
77
+ }
78
+ .section {
79
+ @extend .light-paper-primary;
80
+ @extend .light-text-color-primary;
81
+ min-height: 10rem;
82
+ /* background-color: white; */
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: center;
86
+ border-radius: 4px;
87
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 16%);
88
+ &.search-results {
89
+ min-height: 0;
90
+ }
91
+ &.links {
92
+ height: 100%;
93
+ color: #3a8dcc;
94
+ .inbox-search-links-component {
95
+ height: 100% !important;
96
+ width: 100%;
97
+ }
98
+ }
99
+ &.filter {
100
+ @extend .light-paper-primary;
101
+ @extend .light-text-color-primary;
102
+ height: fit-content;
103
103
  }
104
+ }
104
105
  }
106
+ }
105
107
  }
106
108
 
107
109
  @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
- }
110
+ .employee-main-application-details-for-modal {
111
+ padding: 0 !important;
112
+ }
113
+ .inbox-search-wrapper {
114
+ .inbox-search-component-wrapper {
115
+ .sections-parent {
116
+ display: flex;
117
+ flex-direction: column;
118
+ .section {
119
+ &.search-results {
120
+ }
121
+ &.links {
122
+ }
123
+ &.filter {
124
+ }
125
+ &.as-modal {
126
+ position: fixed;
127
+ top: 0;
128
+ height: 100vh;
129
+ width: 100vw;
130
+ }
132
131
  }
132
+ }
133
133
  }
134
- }
134
+ }
135
+ }
@@ -9,6 +9,10 @@
9
9
  display: grid;
10
10
  grid-template-columns: repeat(2, 1fr);
11
11
  gap: 16px;
12
+
13
+ @media (max-width: 760px) {
14
+ grid-template-columns: 1fr;
15
+ }
12
16
  }
13
17
 
14
18
 
@@ -2973,7 +2973,7 @@ svg text {
2973
2973
  /* Premium Professional Organizational Chart - Version 4.0 */
2974
2974
 
2975
2975
  :root {
2976
- --primary-color: #667eea;
2976
+ --primary-color: #1f5fa8;
2977
2977
  --primary-dark: #5a67d8;
2978
2978
  --secondary-color: #f093fb;
2979
2979
  --accent-color: #4facfe;
@@ -3319,7 +3319,7 @@ svg text {
3319
3319
 
3320
3320
  /* Instruction Banner */
3321
3321
  .instruction-banner {
3322
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
3322
+ background: linear-gradient(135deg, #1f5fa8 0%, #0b2e5b 100%);
3323
3323
  color: white;
3324
3324
  padding: 14px 24px;
3325
3325
  border-radius: 10px;
@@ -3553,7 +3553,7 @@ svg text {
3553
3553
 
3554
3554
  /* Hierarchy Level Styling */
3555
3555
  .org-tree > .org-node > .org-box {
3556
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
3556
+ background: linear-gradient(135deg, #1f5fa8 0%, #0b2e5b 100%);
3557
3557
  color: white;
3558
3558
  border-color: var(--primary-dark);
3559
3559
  font-size: 16px;
@@ -3740,7 +3740,7 @@ svg text {
3740
3740
  }
3741
3741
 
3742
3742
  .legend-color.level-1 {
3743
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
3743
+ background: linear-gradient(135deg, #1f5fa8 0%, #0b2e5b 100%);
3744
3744
  }
3745
3745
 
3746
3746
  .legend-color.level-2 {
@@ -149,7 +149,7 @@
149
149
  top: 55px;
150
150
  left: 0;
151
151
  width: 100%;
152
- background: #667eea;
152
+ background: #1f5fa8;
153
153
  color: #fff;
154
154
  flex-direction: column;
155
155
  padding: 16px;
@@ -2,9 +2,10 @@
2
2
  @apply relative text-form-field text-text-primary w-full;
3
3
  .master,
4
4
  .master-active {
5
- @apply relative border border-solid border-input-border h-10 w-full;
5
+ border: 2px solid #e5e5e7;
6
+ @apply rounded-md relative h-10 w-full;
6
7
  input[type="text"] {
7
- @apply absolute top-0 left-0 min-h-full opacity-0;
8
+ @apply rounded-l-md absolute top-0 left-0 min-h-full opacity-0;
8
9
  &:focus {
9
10
  @apply outline-none;
10
11
  }
@@ -17,12 +18,24 @@
17
18
  }
18
19
 
19
20
  &:hover {
20
- @apply border-2 border-solid border-primary-main;
21
+ border: 2px solid #a1a1aa;
22
+ @apply rounded-md;
23
+ }
24
+ &:focus-within {
25
+ border: 2px solid #007bff !important;
26
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
21
27
  }
22
28
  }
23
29
 
24
30
  .master-active {
25
- @apply border-2 border-primary-main;
31
+ &:hover {
32
+ border: 2px solid #a1a1aa;
33
+ @apply rounded-md;
34
+ }
35
+ &:focus-within {
36
+ border: 2px solid #007bff !important;
37
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
38
+ }
26
39
  input[type="text"] {
27
40
  @apply opacity-100;
28
41
  }
@@ -1,10 +1,10 @@
1
1
  .radio-wrap {
2
2
  flex-wrap: wrap;
3
3
  .radio-btn-outer-wrap {
4
- display: flex;
5
- align-items: center;
4
+ display: flex;
5
+ align-items: center;
6
6
  }
7
- @apply my-sm block leading-10 mb-lg;
7
+ @apply block leading-10;
8
8
 
9
9
  .radio-btn-wrap {
10
10
  @apply block float-left relative;
@@ -35,16 +35,16 @@
35
35
  @apply border-2 border-primary-main;
36
36
  }
37
37
 
38
- .radio-btn-wrap input:checked ~ .radio-btn-checkmark:after {
39
- @apply block bg-primary-main h-3 w-3 rounded-full absolute;
38
+ .radio-btn-wrap input:checked ~ .radio-btn-checkmark:after {
39
+ @apply block bg-primary-main h-3 w-3 rounded-full absolute;
40
40
 
41
- top: 50%;
42
- left: 50%;
43
- transform: translate(-50%, -50%);
44
- }
41
+ top: 50%;
42
+ left: 50%;
43
+ transform: translate(-50%, -50%);
44
+ }
45
45
  }
46
- .reverse-radio-selection-wrapper{
47
- div{
48
- @apply flex flex-row-reverse place-content-between items-center; ;
46
+ .reverse-radio-selection-wrapper {
47
+ div {
48
+ @apply flex flex-row-reverse place-content-between items-center;
49
49
  }
50
- }
50
+ }
@@ -50,7 +50,10 @@
50
50
  }
51
51
 
52
52
  .select-active {
53
- @apply relative block w-full h-10 border-2 border-solid border-primary-main rounded-md;
53
+ outline: none;
54
+ border: 2px solid #007bff;
55
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
56
+ @apply relative block w-full h-10 rounded-md;
54
57
 
55
58
  input[type="text"] {
56
59
  width: calc(100% - 32px);
@@ -77,9 +80,13 @@
77
80
  }
78
81
 
79
82
  .options-card {
83
+ position: absolute;
84
+ top: 100%;
85
+ margin-top: 4px;
86
+ z-index: 2;
80
87
  width: 100% !important;
81
88
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
82
- max-height: 400px;
89
+ max-height: 200px;
83
90
  overflow: auto;
84
91
  @apply absolute z-20 mt-xs bg-white max-w-full;
85
92
 
@@ -92,6 +99,11 @@
92
99
  }
93
100
  }
94
101
  }
102
+ & .options-card.open-up {
103
+ top: auto;
104
+ bottom: 100%;
105
+ margin-bottom: 4px;
106
+ }
95
107
  }
96
108
 
97
109
  .employee-select-wrap--elipses {
@@ -130,7 +142,10 @@
130
142
  }
131
143
 
132
144
  .select-active {
133
- @apply relative block w-full h-10 border-2 border-solid border-primary-main rounded-md;
145
+ outline: none;
146
+ border: 2px solid #007bff;
147
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
148
+ @apply relative block w-full h-10 rounded-md;
134
149
 
135
150
  input[type="text"] {
136
151
  width: calc(100% - 32px);
@@ -14,7 +14,7 @@
14
14
  text-align: left;
15
15
  white-space: nowrap;
16
16
  /* Updated gradient background to match screenshot */
17
- background: #667eea;
17
+ background: #1f5fa8;
18
18
  color: white;
19
19
  @apply font-bold align-middle text-left;
20
20
 
@@ -227,4 +227,4 @@
227
227
  }
228
228
  }
229
229
  }
230
- }
230
+ }
@@ -9,6 +9,9 @@
9
9
  .employee-card-input {
10
10
  border: 2px solid #e5e5e7;
11
11
  @apply pl-sm outline-none block w-full h-10 bg-white leading-10 text-form-field text-text-primary rounded-md;
12
+ &:hover {
13
+ border: 2px solid #a1a1aa;
14
+ }
12
15
  }
13
16
 
14
17
  .employee-card-input:disabled {
@@ -31,7 +34,11 @@
31
34
 
32
35
  .card-textarea,
33
36
  .employee-card-textarea {
34
- @apply block outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm rounded-md;
37
+ border: 2px solid #e5e5e7;
38
+ @apply block outline-none w-full bg-white h-24 text-form-field text-text-primary p-sm rounded-md;
39
+ &:hover {
40
+ border: 2px solid #a1a1aa;
41
+ }
35
42
  }
36
43
 
37
44
  .inputWrapper {
@@ -1,7 +1,7 @@
1
1
  .toast-success {
2
2
  max-width: 480px;
3
3
  width: calc(100% - 20px);
4
- bottom: 64px;
4
+ bottom: 100px;
5
5
  left: 0;
6
6
  margin: 0 10px;
7
7
  gap: 16px;
@@ -15,6 +15,26 @@
15
15
  width: 100%;
16
16
  }
17
17
 
18
+
19
+ .btx {
20
+ display: flex;
21
+ flex-direction: column;
22
+ justify-content: center;
23
+ gap: 2px; /* controls space between lines */
24
+
25
+ h1 {
26
+ margin: 0;
27
+ line-height: 1.1;
28
+ }
29
+
30
+ p {
31
+ margin: 0;
32
+ line-height: 1.1;
33
+ }
34
+
35
+
36
+ }
37
+
18
38
  img {
19
39
  display: inline;
20
40
 
@@ -110,6 +130,27 @@
110
130
  }
111
131
  }
112
132
  }
133
+
134
+ @media (max-width: 780px) {
135
+ padding: 10px 16px; // Reduce padding for mobile
136
+
137
+ .brand-mark {
138
+ width: 40px !important;
139
+ height: 40px !important;
140
+ img {
141
+ max-width: 32px;
142
+ }
143
+ }
144
+
145
+ .btx {
146
+ h1 {
147
+ font-size: 15px !important;
148
+ }
149
+ p {
150
+ font-size: 9px !important;
151
+ }
152
+ }
153
+ }
113
154
  }
114
155
 
115
156
  .cp {
@@ -235,3 +276,155 @@ video::-webkit-media-controls-panel {
235
276
  flex-shrink: 0;
236
277
  }
237
278
  }
279
+
280
+ .topbar-right-section {
281
+ display: flex;
282
+ align-items: center;
283
+ justify-content: flex-end;
284
+ flex: 1;
285
+ gap: 15px;
286
+
287
+ @media (max-width: 1024px) {
288
+ gap: 8px;
289
+ margin-right: 0px !important;
290
+ margin-left: 0px !important;
291
+ }
292
+ }
293
+
294
+ .topbar-item-wrapper {
295
+ display: flex !important;
296
+ align-items: center !important;
297
+ gap: 10px !important;
298
+ padding: 8px 14px !important;
299
+ border-radius: 8px !important;
300
+ border: 1px solid #e5e7eb !important;
301
+ background-color: #ffffff !important;
302
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
303
+ font-size: 14px !important;
304
+ font-weight: 500 !important;
305
+ color: #1f2937 !important;
306
+ white-space: nowrap !important;
307
+
308
+ @media (max-width: 1024px) {
309
+ padding: 6px 10px !important;
310
+ gap: 6px !important;
311
+ font-size: 12px !important;
312
+ }
313
+
314
+ @media (max-width: 780px) {
315
+ padding: 4px 6px !important;
316
+ font-size: 11px !important;
317
+ svg {
318
+ width: 14px !important;
319
+ height: 14px !important;
320
+ }
321
+ }
322
+
323
+ @media (max-width: 450px) {
324
+ padding: 3px 5px !important;
325
+ font-size: 10px !important;
326
+ gap: 4px !important;
327
+ svg {
328
+ width: 12px !important;
329
+ height: 12px !important;
330
+ }
331
+ }
332
+ }
333
+
334
+ .hide-on-mobile {
335
+ @media (max-width: 500px) {
336
+ display: none !important;
337
+ }
338
+ }
339
+
340
+ .vertical-divider {
341
+ width: 2px;
342
+ height: 28px;
343
+ background-color: rgb(203, 213, 225);
344
+
345
+ @media (max-width: 1024px) {
346
+ height: 20px;
347
+ }
348
+ @media (max-width: 780px) {
349
+ height: 16px;
350
+ }
351
+ }
352
+
353
+ @media (max-width: 1024px) {
354
+ .user-profile-pill {
355
+ padding: 4px !important;
356
+ gap: 0 !important;
357
+ .user-profile-info {
358
+ display: none !important;
359
+ }
360
+ }
361
+
362
+ .topbar img.spect-icon {
363
+ max-height: 40px !important;
364
+ padding-right: 10px !important;
365
+ }
366
+ }
367
+
368
+ @media (max-width: 780px) {
369
+ .topbar img.spect-icon {
370
+ display: none !important;
371
+ }
372
+
373
+ .user-profile-pill {
374
+ .user-profile-avatar,
375
+ .user-profile-img {
376
+ width: 32px !important;
377
+ height: 32px !important;
378
+ font-size: 14px !important;
379
+ }
380
+ }
381
+ }
382
+
383
+ @media (max-width: 360px) {
384
+ .topbar {
385
+ padding: 8px 10px !important;
386
+ }
387
+ .topbar-content {
388
+ gap: 0 !important;
389
+ }
390
+ .topbar .brand {
391
+ gap: 6px !important;
392
+ }
393
+ .topbar .brand-mark {
394
+ width: 34px !important;
395
+ height: 34px !important;
396
+ border-radius: 6px !important;
397
+ min-width: 34px !important;
398
+ display: flex !important;
399
+ align-items: center !important;
400
+ justify-content: center !important;
401
+ }
402
+ .topbar .brand-mark img {
403
+ max-width: 24px !important;
404
+ height: auto !important;
405
+ object-fit: contain !important;
406
+ }
407
+ .topbar .btx p {
408
+ display: none !important;
409
+ }
410
+ .topbar .btx h1 {
411
+ font-size: 14px !important;
412
+ line-height: 1 !important;
413
+ white-space: nowrap !important;
414
+ }
415
+ .user-profile-pill {
416
+ padding: 2px 6px 2px 2px !important;
417
+ gap: 4px !important;
418
+ border: none !important;
419
+ .user-profile-avatar,
420
+ .user-profile-img {
421
+ width: 28px !important;
422
+ height: 28px !important;
423
+ font-size: 13px !important;
424
+ }
425
+ }
426
+ .topbar-item-wrapper {
427
+ padding: 4px !important;
428
+ border: none !important;
429
+ }
430
+ }