@djb25/digit-ui-css 1.0.11 → 1.0.12
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/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/img/1.png +0 -0
- package/package.json +2 -2
- package/src/components/card.scss +18 -3
- package/src/pages/employee/container.scss +37 -3
- package/src/pages/employee/index.scss +13 -11
package/img/1.png
ADDED
|
Binary file
|
package/package.json
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -470,9 +470,7 @@
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.new-employee-card {
|
|
473
|
-
|
|
474
|
-
background-size: cover;
|
|
475
|
-
background-position: center;
|
|
473
|
+
position: relative;
|
|
476
474
|
border: 1px solid #f3f4f6;
|
|
477
475
|
border-radius: 12px;
|
|
478
476
|
padding: 15px;
|
|
@@ -483,6 +481,23 @@
|
|
|
483
481
|
max-width: 426px;
|
|
484
482
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
485
483
|
font-family: "Inter", -apple-system, sans-serif;
|
|
484
|
+
overflow: hidden;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.new-employee-card::before {
|
|
488
|
+
content: "";
|
|
489
|
+
position: absolute;
|
|
490
|
+
inset: 0;
|
|
491
|
+
background-image: url("https://objectstorage.ap-hyderabad-1.oraclecloud.com/n/axn3czn1s06y/b/djb-dev-asset-bucket/o/dashboard_card_img.png");
|
|
492
|
+
background-size: cover;
|
|
493
|
+
background-position: center;
|
|
494
|
+
opacity: 0.2;
|
|
495
|
+
z-index: 0;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.new-employee-card>* {
|
|
499
|
+
position: relative;
|
|
500
|
+
z-index: 1;
|
|
486
501
|
}
|
|
487
502
|
|
|
488
503
|
.card-header-row {
|
|
@@ -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
|
+
}
|
|
@@ -217,8 +217,7 @@
|
|
|
217
217
|
&.active {
|
|
218
218
|
border-left: 4px solid theme(colors.primary.main);
|
|
219
219
|
|
|
220
|
-
&.level-0 {
|
|
221
|
-
}
|
|
220
|
+
&.level-0 {}
|
|
222
221
|
|
|
223
222
|
&.level-1 {
|
|
224
223
|
border-left: 8.5px solid theme(colors.primary.main);
|
|
@@ -228,8 +227,7 @@
|
|
|
228
227
|
border-left: 4px solid theme(colors.primary.main);
|
|
229
228
|
}
|
|
230
229
|
|
|
231
|
-
&.level-3 {
|
|
232
|
-
}
|
|
230
|
+
&.level-3 {}
|
|
233
231
|
|
|
234
232
|
color: theme(colors.primary.main) !important;
|
|
235
233
|
border-right: none;
|
|
@@ -396,8 +394,10 @@
|
|
|
396
394
|
padding: 14px;
|
|
397
395
|
border-radius: 11px;
|
|
398
396
|
|
|
399
|
-
|
|
400
|
-
align-items:
|
|
397
|
+
|
|
398
|
+
align-items: flex-end;
|
|
399
|
+
justify-content: flex-end;
|
|
400
|
+
gap: 10px;
|
|
401
401
|
|
|
402
402
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
403
403
|
|
|
@@ -405,14 +405,14 @@
|
|
|
405
405
|
margin: 0;
|
|
406
406
|
font-size: 25px;
|
|
407
407
|
font-weight: 700;
|
|
408
|
-
color: #
|
|
408
|
+
color: #ffffff;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.subtitle {
|
|
412
412
|
margin: 0;
|
|
413
413
|
font-size: 20px;
|
|
414
414
|
font-weight: 700;
|
|
415
|
-
color: #
|
|
415
|
+
color: #ffffff;
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
|
|
@@ -429,16 +429,19 @@
|
|
|
429
429
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
430
430
|
font-size: 14px;
|
|
431
431
|
font-weight: 500;
|
|
432
|
+
|
|
432
433
|
.icon {
|
|
433
434
|
width: 35px;
|
|
434
435
|
aspect-ratio: 1/1;
|
|
435
436
|
fill: #fff;
|
|
436
437
|
}
|
|
438
|
+
|
|
437
439
|
.home-icon {
|
|
438
440
|
width: 24px;
|
|
439
441
|
aspect-ratio: 1/1;
|
|
440
442
|
fill: #fff;
|
|
441
443
|
}
|
|
444
|
+
|
|
442
445
|
.iconn {
|
|
443
446
|
font-feature-settings: "kern";
|
|
444
447
|
font-size: 16px;
|
|
@@ -528,8 +531,7 @@
|
|
|
528
531
|
justify-content: center;
|
|
529
532
|
}
|
|
530
533
|
|
|
531
|
-
.center-container {
|
|
532
|
-
}
|
|
534
|
+
.center-container {}
|
|
533
535
|
}
|
|
534
536
|
}
|
|
535
537
|
|
|
@@ -663,4 +665,4 @@
|
|
|
663
665
|
/* TODO fix required NABEEL/ANIL for home screen card */
|
|
664
666
|
.customEmployeeCard {
|
|
665
667
|
@apply m-sm !important;
|
|
666
|
-
}
|
|
668
|
+
}
|