@djb25/digit-ui-css 1.0.19 → 1.0.21

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -1,11 +1,10 @@
1
1
  .search-form-wrapper {
2
- @apply flex flex-wrap justify-between bg-white;
2
+ @apply flex flex-wrap gap-5 justify-between bg-white;
3
3
 
4
4
  padding: 20px;
5
5
  border-radius: 11px;
6
6
  .form-field {
7
- width: calc(25% - 16px);
8
- @apply inline-block mr-md align-middle;
7
+ @apply align-middle;
9
8
  }
10
9
 
11
10
  .SubmitAndClearAllContainer {
@@ -66,6 +65,34 @@
66
65
  }
67
66
  }
68
67
 
68
+ .formcomposer-section-grid {
69
+ display: grid;
70
+ grid-template-columns: 1fr 1fr;
71
+ gap: 16px;
72
+ width: 100%;
73
+ .grid-title {
74
+ grid-column: span 2;
75
+ }
76
+ }
77
+
78
+ @media (max-width: 768px) {
79
+ .formcomposer-section-grid {
80
+ grid-template-columns: 1fr;
81
+
82
+ .grid-title {
83
+ grid-column: span 1;
84
+ }
85
+ }
86
+ }
87
+
88
+ .formcomposer-section-button {
89
+ display: flex;
90
+ justify-content: end;
91
+ align-items: center;
92
+ gap: 24px;
93
+ width: 100%;
94
+ }
95
+
69
96
  .finance-heading {
70
97
  display: flex;
71
98
  justify-content: center;
@@ -289,7 +289,6 @@ body {
289
289
  margin-top: 90px;
290
290
  }
291
291
 
292
- /* --- MODULE CAROUSEL STYLES --- */
293
292
 
294
293
  .module-carousel-section {
295
294
  display: flex;
@@ -297,13 +296,29 @@ body {
297
296
  width: 100%;
298
297
  padding-bottom: 20px;
299
298
  }
299
+ .module-carousel-header h3 {
300
+ font-size: 20px;
301
+ font-weight: 600;
302
+ color: #ffffff;
303
+ margin: 0;
304
+ }
300
305
 
306
+ .module-carousel-header h3::before {
307
+ content: "";
308
+ position: absolute;
309
+ left: 0;
310
+ top: 4px;
311
+ height: 16px;
312
+ width: 4px;
313
+ background: #3B82F6;
314
+ border-radius: 4px;
315
+ }
301
316
  .module-carousel-header {
302
- display: flex;
303
- justify-content: flex-end;
317
+ background: linear-gradient(135deg, #3585c4, #6fa0f0 40%, #80b3ff);
318
+ padding: 12px 16px;
319
+ border-radius: 10px;
304
320
  align-items: center;
305
- width: 100%;
306
- padding: 0 10px 15px;
321
+ margin-top:10px;
307
322
  }
308
323
 
309
324
  .module-carousel-actions {
@@ -320,54 +335,53 @@ body {
320
335
 
321
336
  .carousel-track {
322
337
  display: grid;
323
- grid-template-rows: repeat(2, 1fr);
324
- grid-auto-flow: column;
338
+ grid-template-columns: repeat(4, minmax(0, 1fr));
339
+ grid-auto-flow: row;
325
340
  gap: 20px;
326
341
  overflow-x: auto;
327
342
  scroll-behavior: smooth;
328
343
  scroll-snap-type: x mandatory;
329
344
  width: 100%;
330
345
  padding: 10px 0px;
331
-
332
- /* Hide standard scrollbars for a clean look */
346
+ column-gap: 20px;
333
347
  -ms-overflow-style: none;
334
- /* IE and Edge */
335
348
  scrollbar-width: none;
336
- /* Firefox */
337
349
  }
338
350
 
339
351
  .carousel-track::-webkit-scrollbar {
340
352
  display: none;
341
- /* Chrome, Safari, Opera */
342
353
  }
343
354
 
344
- /* Default mobile width */
345
- .carousel-track>div {
355
+ .carousel-track > div {
346
356
  scroll-snap-align: start;
347
357
  box-sizing: border-box;
358
+ width: 100%;
359
+ height: 100%;
360
+ margin: 0 !important;
348
361
  }
349
362
 
350
- /* 1 Column / 2 Rows on Mobile slightly overflowing for affordance */
351
363
  .carousel-track {
352
- grid-auto-columns: calc(100% - 20px);
364
+ grid-template-columns: repeat(4, minmax(0, 1fr));
353
365
  }
354
366
 
355
367
  @media (min-width: 640px) {
356
368
 
357
- /* 2 Columns / 2 Rows on Tablets */
358
369
  .carousel-track {
359
370
  grid-auto-columns: calc((100% - 20px) / 2);
360
371
  }
361
372
  }
373
+ @media (min-width: 1024px) {
374
+ .carousel-track {
375
+ grid-auto-columns: calc((100% - 3 * 20px) / 4);
376
+ }
377
+ }
362
378
 
363
- /* Ensure the child card fills this wrapper without extraneous margins */
364
379
  .carousel-track .new-employee-card {
365
380
  width: 100%;
366
381
  height: 100%;
367
382
  margin: 0 !important;
368
383
  }
369
384
 
370
- /* Modern Minimalist Arrow Button Styles */
371
385
  .carousel-arrow {
372
386
  background-color: transparent;
373
387
  color: #555;
@@ -402,10 +416,8 @@ body {
402
416
  box-shadow: none;
403
417
  }
404
418
 
405
- /* Desktop sizing: exactly 4 columns width */
406
419
  @screen dt {
407
420
  .carousel-track {
408
- /* 25% width minus the gap offset to perfectly fit 4 per row */
409
- grid-auto-columns: calc((100% - 60px) / 4);
421
+ grid-auto-columns: calc((100% - 3 * 20px) / 4);
410
422
  }
411
423
  }
@@ -66,8 +66,7 @@
66
66
  }
67
67
 
68
68
  .employeeCard {
69
- @apply bg-white shadow-card p-xl;
70
- padding-inline: 48px;
69
+ @apply bg-white shadow-card p-md;
71
70
  border-radius: 6px;
72
71
 
73
72
  .card-header {
@@ -157,11 +156,12 @@
157
156
  }
158
157
 
159
158
  .submit-bar {
160
- @apply h-10 text-center w-full outline-none;
159
+ @apply h-10 text-center outline-none;
161
160
  background: linear-gradient(135deg, #667eea, #764ba2);
162
161
  box-shadow: inset 0px -2px 0px theme(colors.text.primary);
163
162
  cursor: pointer;
164
-
163
+ height: 36px !important;
164
+ border: none !important;
165
165
  &:focus {
166
166
  @apply outline-none;
167
167
  }
@@ -298,7 +298,8 @@
298
298
  display: flex;
299
299
  flex-direction: column;
300
300
  gap: 8px;
301
- justify-content: center;
301
+ justify-content: flex-start;
302
+ align-items: center;
302
303
  /* Adjust spacing between label and field */
303
304
  /* Space between form groups */
304
305
  }
@@ -652,7 +653,7 @@
652
653
  color: #1a67a3;
653
654
  padding: 6px 12px;
654
655
  border-radius: 6px;
655
- font-size: 0.75rem;
656
+ font-size: 9px;
656
657
  font-weight: 600;
657
658
  text-decoration: none;
658
659
  transition: background-color 0.2s;
@@ -886,7 +886,7 @@
886
886
 
887
887
  .stepper-row {
888
888
  display: flex;
889
- align-items: flex-start;
889
+ align-items: center;
890
890
  position: relative;
891
891
  }
892
892
 
@@ -933,12 +933,4 @@
933
933
  .step-label.active-text {
934
934
  color: #5a6ee1;
935
935
  font-weight: 600;
936
- }
937
-
938
-
939
- .formcomposer-section-grid {
940
- display: grid;
941
- grid-template-columns: 1fr 1fr;
942
- gap: 16px;
943
- width: 100%;
944
936
  }
@@ -20,6 +20,12 @@
20
20
  }
21
21
  }
22
22
 
23
+ @media (max-width: 768px) {
24
+ .search-form-wns-inbox {
25
+ grid-template-columns: 1fr;
26
+ }
27
+ }
28
+
23
29
  @screen dt {
24
30
  .InboxComposerWrapper {
25
31
  grid-template-columns: calc(25% - 32px) 75%;
@@ -68,6 +74,10 @@
68
74
  }
69
75
 
70
76
  .search-form-wns-inbox {
77
+ display: grid;
78
+ grid-template-columns: repeat(2, 1fr);
79
+ gap: 16px;
80
+
71
81
  .clear-search-container {
72
82
  grid-column: 2/3;
73
83
  text-align: right;
@@ -116,3 +126,20 @@
116
126
  }
117
127
  }
118
128
  }
129
+
130
+ .side-panel-item {
131
+ display: flex;
132
+ flex-direction: column;
133
+ gap: 16px;
134
+ overflow-y: scroll;
135
+
136
+ @media (min-width: 768px) {
137
+ width: 240px;
138
+ }
139
+
140
+ .inboxLinks {
141
+ @media (max-width: 768px) {
142
+ display: none;
143
+ }
144
+ }
145
+ }
@@ -2,6 +2,10 @@
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
 
5
+ @media (max-width: 768px) {
6
+ display: none;
7
+ }
8
+
5
9
  .header-top-section {
6
10
  width: 100%;
7
11
  background: linear-gradient(98deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
@@ -9,14 +13,11 @@
9
13
  border-radius: 11px;
10
14
  margin-inline: 42px;
11
15
 
12
-
13
16
  align-items: center;
14
17
  justify-content: center;
15
18
 
16
19
  /* 3D Box Shadow with Bevel Highlight */
17
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4),
18
- 0 8px 16px -4px rgba(0, 0, 0, 0.15),
19
- 0 4px 8px -4px rgba(0, 0, 0, 0.1);
20
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 8px 16px -4px rgba(0, 0, 0, 0.15), 0 4px 8px -4px rgba(0, 0, 0, 0.1);
20
21
  /* Modern Glass Effect */
21
22
  backdrop-filter: blur(10px);
22
23
  -webkit-backdrop-filter: blur(10px);
@@ -26,9 +27,7 @@
26
27
 
27
28
  &:hover {
28
29
  transform: translateY(-2px);
29
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5),
30
- 0 12px 20px -4px rgba(0, 0, 0, 0.2),
31
- 0 6px 10px -4px rgba(0, 0, 0, 0.15);
30
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 12px 20px -4px rgba(0, 0, 0, 0.2), 0 6px 10px -4px rgba(0, 0, 0, 0.15);
32
31
  }
33
32
 
34
33
  .title {
@@ -52,8 +51,7 @@
52
51
  justify-content: flex-start;
53
52
  color: #fff;
54
53
  /* Matching 3D Shadow and Bevel for Bottom Section */
55
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
56
- 0 4px 8px -2px rgba(0, 0, 0, 0.1);
54
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 8px -2px rgba(0, 0, 0, 0.1);
57
55
  backdrop-filter: blur(10px);
58
56
  -webkit-backdrop-filter: blur(10px);
59
57
  border: 1px solid rgba(255, 255, 255, 0.2);
@@ -87,7 +85,7 @@
87
85
  justify-content: center;
88
86
  padding-left: 20px;
89
87
 
90
- @media (max-width:768px){
88
+ @media (max-width: 768px) {
91
89
  display: none !important;
92
90
  }
93
91
  }
@@ -113,72 +111,70 @@
113
111
  justify-content: center;
114
112
  border-right: 1px solid #fff;
115
113
  padding-right: 20px;
116
- @media (max-width:768px){
114
+ @media (max-width: 768px) {
117
115
  display: none;
118
116
  }
119
117
  }
120
- @media (max-width:768px){
121
- justify-content: space-between;
122
- }
118
+ @media (max-width: 768px) {
119
+ justify-content: space-between;
120
+ }
123
121
  }
124
122
  }
125
123
 
126
- .hamburger-btn{
127
- display:none;
128
- background:none;
129
- border:none;
130
- font-size:22px;
131
- color:white;
132
- cursor:pointer;
124
+ .hamburger-btn {
125
+ display: none;
126
+ background: none;
127
+ border: none;
128
+ font-size: 22px;
129
+ color: white;
130
+ cursor: pointer;
133
131
  }
134
132
 
135
- .mobile-menu{
136
- display:none;
133
+ .mobile-menu {
134
+ display: none;
137
135
  }
138
136
 
139
- @media (max-width:768px){
140
-
141
- .hamburger-btn{
142
- display:block;
137
+ @media (max-width: 768px) {
138
+ .hamburger-btn {
139
+ display: block;
143
140
  }
144
141
 
145
- .desktop-back{
146
- display:none;
142
+ .desktop-back {
143
+ display: none;
147
144
  }
148
145
 
149
- .mobile-menu{
150
- display:none;
151
- position:absolute;
152
- top:55px;
153
- left:0;
154
- width:100%;
155
- background: #667eea;
156
- color:#fff;
157
- flex-direction:column;
158
- padding:16px;
159
- border-radius:8px;
160
- box-shadow:0 8px 20px rgba(0,0,0,0.15);
161
- z-index:999999;
162
- gap:12px;
146
+ .mobile-menu {
147
+ display: none;
148
+ position: absolute;
149
+ top: 55px;
150
+ left: 0;
151
+ width: 100%;
152
+ background: #667eea;
153
+ color: #fff;
154
+ flex-direction: column;
155
+ padding: 16px;
156
+ border-radius: 8px;
157
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
158
+ z-index: 999999;
159
+ gap: 12px;
163
160
  opacity: 1;
164
161
  }
165
162
 
166
- .mobile-menu.open{
167
- display:flex;
163
+ .mobile-menu.open {
164
+ display: flex;
168
165
  position: absolute;
169
166
  z-index: 999;
170
167
  }
171
168
 
172
- .mobile-back{
173
- font-weight:600;
174
- padding-bottom:10px;
175
- border-bottom:1px solid #eee;
169
+ .mobile-back {
170
+ font-weight: 600;
171
+ padding-bottom: 10px;
172
+ border-bottom: 1px solid #eee;
176
173
  cursor: pointer;
177
174
  }
178
175
 
179
176
  .crumbs {
180
177
  width: max-content;
181
- cursor: pointer;
178
+ cursor: pointer;
182
179
  }
183
-
184
- }
180
+ }
@@ -7,6 +7,7 @@
7
7
  @screen dt {
8
8
  .popup-wrap {
9
9
  background: rgba(0, 0, 0, 0.7);
10
+ z-index: 99999;
10
11
  @apply min-h-screen;
11
12
  }
12
13
  }
@@ -19,7 +19,7 @@
19
19
  }
20
20
  */
21
21
  .employee-select-wrap {
22
- @apply mb-lg relative rounded-md;
22
+ @apply relative rounded-md;
23
23
 
24
24
  .select {
25
25
  @apply relative block w-full h-10 border border-solid border-input-border rounded-md;
@@ -1,4 +1,6 @@
1
1
  .tag-container {
2
+ max-height: 120px;
3
+ overflow: scroll;
2
4
  @apply flex flex-wrap mb-md;
3
5
  .tag {
4
6
  @apply bg-grey-mid rounded-2xl pt-sm pb-sm flex justify-between items-center;
@@ -21,6 +21,7 @@
21
21
  background: theme(colors.grey.mid);
22
22
  border-right: 0;
23
23
  padding-right: 5px;
24
+ border-radius: 6px 0 0 6px;
24
25
  }
25
26
  .employee-card-input-error {
26
27
  @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;
@@ -2,14 +2,12 @@
2
2
  .inbox-main-container {
3
3
  flex: 1;
4
4
  padding-right: -24px;
5
- background-color: #ffffff;
6
5
  border-radius: 12px;
7
6
  }
8
7
 
9
8
  .inbox-wrapper {
10
9
  min-width: 100%;
11
10
  padding: 24px;
12
- background-color: rgb(241 241 241);
13
11
  border-radius: 12px;
14
12
  }
15
13
 
@@ -29,10 +27,12 @@
29
27
  .ekyc-status-card {
30
28
  flex: 1;
31
29
  text-align: center;
32
- padding: 24px;
33
- border: 1px solid #EAECF0;
34
- border-radius: 12px;
35
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
30
+ padding: 8px 24px;
31
+ border-right: 1px solid #EAECF0;
32
+
33
+ &:last-child {
34
+ border-right: none;
35
+ }
36
36
 
37
37
  .count {
38
38
  font-size: 32px;
@@ -3,10 +3,6 @@
3
3
  }
4
4
 
5
5
  @screen dt {
6
- .form-field {
7
- @apply w-1/2;
8
- }
9
-
10
6
  .desktop-w-full {
11
7
  @apply w-full !important;
12
8
  }
@@ -137,10 +137,21 @@
137
137
  }
138
138
  }
139
139
 
140
+ @media (max-width: 768px) {
141
+ .inbox-container {
142
+ display: flex;
143
+ flex-direction: column;
144
+ }
145
+ }
146
+
140
147
  .inbox-container {
141
148
  gap: 16px;
142
149
 
143
150
  .filters-container {
151
+ display: flex;
152
+ flex-direction: column;
153
+ gap: 16px;
154
+
144
155
  .filter {
145
156
  .filter-card {
146
157
  border-radius: 6px;
@@ -203,14 +214,38 @@
203
214
  }
204
215
  }
205
216
 
217
+ .generic-button {
218
+ height: 32px;
219
+ border-radius: 9999999px;
220
+ color: #e2e8f0;
221
+ border: 2px solid #e2e8f0;
222
+ padding: 0 32px;
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+ cursor: pointer;
227
+ transition: all 0.2s ease;
228
+
229
+ &:hover {
230
+ background-color: #e2e8f0;
231
+ color: #5d6774;
232
+ }
233
+ }
234
+
235
+ @media (max-width: 480px) {
236
+ .generic-button {
237
+ padding: 0 12px;
238
+ }
239
+ }
240
+
206
241
  .clear-search,
207
242
  .clear-search .link-label {
208
- @apply text-focus;
209
- @apply block;
243
+ @apply border-focus text-focus;
210
244
  cursor: pointer;
211
245
 
212
246
  &:hover {
213
- color: #000;
247
+ color: #3b59df;
248
+ background-color: #bdc7f3;
214
249
  }
215
250
  }
216
251
 
@@ -257,15 +292,22 @@
257
292
  padding: 8px !important;
258
293
  background: #fff;
259
294
  border-radius: 6px;
295
+
296
+ @media (max-width: 768px) {
297
+ display: none !important;
298
+ }
299
+
260
300
  .header {
261
301
  display: flex;
262
302
  border: none;
263
303
  @apply justify-start;
264
304
  align-items: center;
305
+
265
306
  .logo {
266
307
  @apply bg-white;
267
308
  display: flex;
268
309
  align-items: center;
310
+
269
311
  svg {
270
312
  path {
271
313
  fill: theme(colors.primary.main);
@@ -296,15 +338,12 @@
296
338
  .inbox-container {
297
339
  @apply flex;
298
340
  height: inherit;
299
- padding-bottom: 24px;
300
341
 
301
342
  .filters-container {
302
343
  width: 270px;
303
344
  overflow-y: scroll;
304
-
305
- .filter {
306
- @apply mt-md;
307
345
 
346
+ .filter {
308
347
  .filter-card {
309
348
  @apply p-md bg-white;
310
349
 
@@ -467,7 +506,8 @@
467
506
  .inbox-action-container {
468
507
  display: flex;
469
508
  justify-content: flex-end;
470
- align-items: flex-start;
509
+ align-items: center;
510
+ width: 100%;
471
511
  }
472
512
 
473
513
  /*