@djb25/digit-ui-css 1.0.11 → 1.0.13

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.11",
3
+ "version": "1.0.13",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -448,10 +448,6 @@
448
448
  height: 60px !important;
449
449
  }
450
450
 
451
- .employee-main-application-details {
452
- padding: 10px !important;
453
- }
454
-
455
451
  .employee-mulitlink-main-div {
456
452
  z-index: 10 !important;
457
453
  max-width: 41% !important;
@@ -470,9 +466,7 @@
470
466
  }
471
467
 
472
468
  .new-employee-card {
473
- background-image: url("https://objectstorage.ap-hyderabad-1.oraclecloud.com/n/axn3czn1s06y/b/djb-dev-asset-bucket/o/dashboard_card_img.png");
474
- background-size: cover;
475
- background-position: center;
469
+ position: relative;
476
470
  border: 1px solid #f3f4f6;
477
471
  border-radius: 12px;
478
472
  padding: 15px;
@@ -483,6 +477,23 @@
483
477
  max-width: 426px;
484
478
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
485
479
  font-family: "Inter", -apple-system, sans-serif;
480
+ overflow: hidden;
481
+ }
482
+
483
+ .new-employee-card::before {
484
+ content: "";
485
+ position: absolute;
486
+ inset: 0;
487
+ background-image: url("https://objectstorage.ap-hyderabad-1.oraclecloud.com/n/axn3czn1s06y/b/djb-dev-asset-bucket/o/dashboard_card_img.png");
488
+ background-size: cover;
489
+ background-position: center;
490
+ opacity: 0.2;
491
+ z-index: 0;
492
+ }
493
+
494
+ .new-employee-card>* {
495
+ position: relative;
496
+ z-index: 1;
486
497
  }
487
498
 
488
499
  .card-header-row {
@@ -1236,15 +1247,16 @@
1236
1247
  }
1237
1248
 
1238
1249
  .fallback-initial {
1239
- font-size: 0.85rem;
1250
+ font-size: 1rem;
1240
1251
  font-weight: 700;
1241
1252
  letter-spacing: 0.5px;
1242
1253
  background-color: var(--border-color);
1243
1254
  /* Added a subtle background circle for initials */
1244
1255
  color: var(--text-muted);
1245
- width: 32px;
1246
- height: 32px;
1247
- border-radius: 50%;
1256
+ width: 100%;
1257
+ height: 100%;
1258
+ border-radius: 2px;
1259
+ padding: 20px;
1248
1260
  display: flex;
1249
1261
  justify-content: center;
1250
1262
  align-items: center;
@@ -51,7 +51,7 @@
51
51
  .user-img-txt {
52
52
  background: theme(colors.primary.main);
53
53
  padding: 10px 15px;
54
- border-radius: 8px;
54
+ border-radius: 2px;
55
55
  color: white;
56
56
  height: 43px;
57
57
  width: 43px;
@@ -51,7 +51,41 @@
51
51
  min-width: 280px;
52
52
  }
53
53
 
54
+ .collapsible-sidebar-container {
55
+ flex-shrink: 0;
56
+ border-right: 1px solid #e0e0e0;
57
+ background: #f8f9fa;
58
+ transition: width 0.3s ease;
59
+ width: 100%;
60
+ }
61
+
62
+ .employee-app-wrapper {
63
+ display: flex;
64
+ flex-direction: column;
65
+ width: 100%;
66
+ min-height: calc(100vh - 90px);
67
+ }
68
+
69
+ .employee-app-container-inner {
70
+ flex: 1;
71
+ overflow-x: hidden;
72
+ width: 100%;
73
+ }
74
+
54
75
  @screen dt {
76
+ .employee-app-wrapper {
77
+ flex-direction: row;
78
+ }
79
+
80
+ .ground-container {
81
+ margin-bottom: 56px;
82
+ /* @apply p-md; */
83
+ }
84
+
85
+ .collapsible-sidebar-container {
86
+ width: auto;
87
+ }
88
+
55
89
  .heading-m {
56
90
  @apply text-heading-m-dt;
57
91
  }
@@ -65,8 +99,7 @@
65
99
  margin-bottom: 40px;
66
100
  }
67
101
 
68
- .employee-home-footer {
69
- }
102
+ .employee-home-footer {}
70
103
 
71
104
  .moduleCardWrapper {
72
105
  /* @apply flex flex-row flex-wrap !important; */
@@ -74,5 +107,6 @@
74
107
 
75
108
  .gridModuleWrapper {
76
109
  @apply grid grid-cols-4 gap-1;
110
+ gap: 20px;
77
111
  }
78
- }
112
+ }
@@ -12,12 +12,6 @@
12
12
  }
13
13
 
14
14
  .card-home {
15
- font-size: 16px;
16
- /* padding: 0 0 16px 0; */
17
- /* width: 23%; */
18
- border-radius: 10px;
19
- display: inline-block;
20
- margin: 8px auto;
21
15
  cursor: pointer;
22
16
  overflow: hidden;
23
17
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
@@ -217,8 +211,7 @@
217
211
  &.active {
218
212
  border-left: 4px solid theme(colors.primary.main);
219
213
 
220
- &.level-0 {
221
- }
214
+ &.level-0 {}
222
215
 
223
216
  &.level-1 {
224
217
  border-left: 8.5px solid theme(colors.primary.main);
@@ -228,8 +221,7 @@
228
221
  border-left: 4px solid theme(colors.primary.main);
229
222
  }
230
223
 
231
- &.level-3 {
232
- }
224
+ &.level-3 {}
233
225
 
234
226
  color: theme(colors.primary.main) !important;
235
227
  border-right: none;
@@ -396,8 +388,10 @@
396
388
  padding: 14px;
397
389
  border-radius: 11px;
398
390
 
399
- justify-content: space-between;
400
- align-items: center;
391
+
392
+ align-items: flex-end;
393
+ justify-content: flex-end;
394
+ gap: 10px;
401
395
 
402
396
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
403
397
 
@@ -405,14 +399,14 @@
405
399
  margin: 0;
406
400
  font-size: 25px;
407
401
  font-weight: 700;
408
- color: #0f172a;
402
+ color: #ffffff;
409
403
  }
410
404
 
411
405
  .subtitle {
412
406
  margin: 0;
413
407
  font-size: 20px;
414
408
  font-weight: 700;
415
- color: #0f172a;
409
+ color: #ffffff;
416
410
  }
417
411
  }
418
412
 
@@ -429,16 +423,19 @@
429
423
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
430
424
  font-size: 14px;
431
425
  font-weight: 500;
426
+
432
427
  .icon {
433
428
  width: 35px;
434
429
  aspect-ratio: 1/1;
435
430
  fill: #fff;
436
431
  }
432
+
437
433
  .home-icon {
438
434
  width: 24px;
439
435
  aspect-ratio: 1/1;
440
436
  fill: #fff;
441
437
  }
438
+
442
439
  .iconn {
443
440
  font-feature-settings: "kern";
444
441
  font-size: 16px;
@@ -488,12 +485,6 @@
488
485
  margin-left: 0;
489
486
  }
490
487
 
491
- .card-home {
492
- /* width: 23%; */
493
- margin-right: 10px;
494
- margin-bottom: 10px;
495
- }
496
-
497
488
  .card-home-hrms {
498
489
  width: 405px;
499
490
  padding: 0px;
@@ -528,8 +519,7 @@
528
519
  justify-content: center;
529
520
  }
530
521
 
531
- .center-container {
532
- }
522
+ .center-container {}
533
523
  }
534
524
  }
535
525
 
@@ -663,4 +653,4 @@
663
653
  /* TODO fix required NABEEL/ANIL for home screen card */
664
654
  .customEmployeeCard {
665
655
  @apply m-sm !important;
666
- }
656
+ }