@djb25/digit-ui-css 1.0.24 → 1.0.25
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/package.json +1 -1
- package/src/components/body.scss +157 -25
- package/src/components/card.scss +4 -37
- package/src/pages/employee/index.scss +10 -11
package/package.json
CHANGED
package/src/components/body.scss
CHANGED
|
@@ -337,20 +337,30 @@ body {
|
|
|
337
337
|
|
|
338
338
|
.carousel-track {
|
|
339
339
|
display: grid;
|
|
340
|
-
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
341
340
|
grid-auto-flow: column;
|
|
342
|
-
grid-auto-
|
|
343
|
-
|
|
341
|
+
grid-auto-rows: 1fr;
|
|
342
|
+
grid-auto-columns: calc(25% - 9px);
|
|
343
|
+
gap: 12px;
|
|
344
344
|
overflow-x: auto;
|
|
345
345
|
scroll-behavior: smooth;
|
|
346
346
|
scroll-snap-type: x mandatory;
|
|
347
347
|
width: 100%;
|
|
348
|
-
padding: 10px 0px;
|
|
349
|
-
column-gap: 20px;
|
|
350
348
|
-ms-overflow-style: none;
|
|
351
349
|
scrollbar-width: none;
|
|
350
|
+
padding-top: 10px;
|
|
352
351
|
}
|
|
353
352
|
|
|
353
|
+
@media (max-width: 1024px) {
|
|
354
|
+
.carousel-track {
|
|
355
|
+
grid-auto-columns: calc(50% - 9px);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@media (max-width: 512px) {
|
|
360
|
+
.carousel-track {
|
|
361
|
+
grid-auto-columns: 100%;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
354
364
|
|
|
355
365
|
.carousel-track::-webkit-scrollbar {
|
|
356
366
|
display: none;
|
|
@@ -366,20 +376,6 @@ body {
|
|
|
366
376
|
|
|
367
377
|
|
|
368
378
|
|
|
369
|
-
|
|
370
|
-
@media (min-width: 640px) {
|
|
371
|
-
|
|
372
|
-
.carousel-track {
|
|
373
|
-
grid-auto-columns: calc((100% - 20px) / 2);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
@media (min-width: 1024px) {
|
|
378
|
-
.carousel-track {
|
|
379
|
-
grid-auto-columns: calc((100% - 3 * 20px) / 4);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
379
|
.carousel-track .new-employee-card {
|
|
384
380
|
width: 100%;
|
|
385
381
|
height: 100%;
|
|
@@ -420,14 +416,150 @@ body {
|
|
|
420
416
|
box-shadow: none;
|
|
421
417
|
}
|
|
422
418
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
419
|
+
.header-right-area {
|
|
420
|
+
display: flex;
|
|
421
|
+
flex-direction: column;
|
|
422
|
+
align-items: center;
|
|
423
|
+
justify-content: center;
|
|
424
|
+
gap: 10px;
|
|
425
|
+
position: relative;
|
|
426
|
+
margin-left: auto;
|
|
427
|
+
padding-right: 20px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.header-icon-area {
|
|
431
|
+
position: relative;
|
|
432
|
+
opacity: 0.9;
|
|
433
|
+
pointer-events: none;
|
|
434
|
+
width: 160px;
|
|
435
|
+
height: 110px;
|
|
436
|
+
display: flex;
|
|
437
|
+
align-items: center;
|
|
438
|
+
justify-content: center;
|
|
439
|
+
z-index: 1;
|
|
440
|
+
|
|
441
|
+
@media (max-width: 768px) {
|
|
442
|
+
width: 130px;
|
|
443
|
+
height: 90px;
|
|
444
|
+
transform: scale(0.85);
|
|
426
445
|
}
|
|
427
446
|
}
|
|
428
447
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
448
|
+
.header-actions-area {
|
|
449
|
+
z-index: 10;
|
|
450
|
+
position: relative;
|
|
451
|
+
|
|
452
|
+
@media (max-width: 1024px) {
|
|
453
|
+
margin-right: 140px;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
@media (max-width: 768px) {
|
|
457
|
+
margin-right: 0;
|
|
458
|
+
margin-left: 0;
|
|
459
|
+
width: 100%;
|
|
460
|
+
display: flex;
|
|
461
|
+
justify-content: flex-start;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.view-dashboard-btn {
|
|
466
|
+
display: flex;
|
|
467
|
+
align-items: center;
|
|
468
|
+
gap: 12px;
|
|
469
|
+
background: linear-gradient(135deg, #31a1f9 0%, #3585c4 100%);
|
|
470
|
+
padding: 6px 12px;
|
|
471
|
+
border-radius: 50px;
|
|
472
|
+
text-decoration: none;
|
|
473
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
474
|
+
box-shadow: 0 4px 15px rgba(26, 103, 163, 0.2);
|
|
475
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
476
|
+
width: fit-content;
|
|
477
|
+
|
|
478
|
+
.btn-text {
|
|
479
|
+
color: #ffffff;
|
|
480
|
+
font-size: 13px;
|
|
481
|
+
font-weight: 600;
|
|
482
|
+
letter-spacing: 0.3px;
|
|
483
|
+
white-space: nowrap;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.btn-icon-bg {
|
|
487
|
+
width: 24px;
|
|
488
|
+
height: 24px;
|
|
489
|
+
background: rgba(255, 255, 255, 0.15);
|
|
490
|
+
border-radius: 50%;
|
|
491
|
+
display: flex;
|
|
492
|
+
align-items: center;
|
|
493
|
+
justify-content: center;
|
|
494
|
+
transition: transform 0.3s ease;
|
|
495
|
+
|
|
496
|
+
svg.finance-chart-icon {
|
|
497
|
+
width: 14px;
|
|
498
|
+
height: 14px;
|
|
499
|
+
fill: white;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
&:hover {
|
|
504
|
+
background: linear-gradient(135deg, #217bbd 0%, #4a98d3 100%);
|
|
505
|
+
transform: translateY(-2px);
|
|
506
|
+
box-shadow: 0 6px 20px rgba(26, 103, 163, 0.3);
|
|
507
|
+
border-color: rgba(255, 255, 255, 0.3);
|
|
508
|
+
|
|
509
|
+
.btn-icon-bg {
|
|
510
|
+
transform: rotate(15deg) scale(1.1);
|
|
511
|
+
background: rgba(255, 255, 255, 0.25);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
&:active {
|
|
516
|
+
transform: translateY(0);
|
|
517
|
+
box-shadow: 0 2px 10px rgba(26, 103, 163, 0.2);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
@media (max-width: 640px) {
|
|
522
|
+
.view-dashboard-btn {
|
|
523
|
+
padding: 5px 10px;
|
|
524
|
+
gap: 8px;
|
|
525
|
+
|
|
526
|
+
.btn-text {
|
|
527
|
+
font-size: 12px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.btn-icon-bg {
|
|
531
|
+
width: 22px;
|
|
532
|
+
height: 22px;
|
|
533
|
+
|
|
534
|
+
svg {
|
|
535
|
+
width: 12px;
|
|
536
|
+
height: 12px;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
@keyframes toastSlideUp {
|
|
543
|
+
from {
|
|
544
|
+
transform: translateY(100%) scale(0.9);
|
|
545
|
+
opacity: 0;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
to {
|
|
549
|
+
transform: translateY(0) scale(1);
|
|
550
|
+
opacity: 1;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.coming-soon-toast {
|
|
555
|
+
h2 {
|
|
556
|
+
color: #ffffff !important;
|
|
557
|
+
margin: 0 !important;
|
|
558
|
+
font-size: 16px !important;
|
|
559
|
+
font-weight: 600 !important;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
svg {
|
|
563
|
+
fill: #ffffff !important;
|
|
432
564
|
}
|
|
433
565
|
}
|
package/src/components/card.scss
CHANGED
|
@@ -471,10 +471,7 @@
|
|
|
471
471
|
.new-employee-card {
|
|
472
472
|
position: relative;
|
|
473
473
|
background-color: #ffffff;
|
|
474
|
-
background-image:
|
|
475
|
-
radial-gradient(circle at 0% 0%, rgba(186, 230, 253, 0.6) 0%, transparent 60%),
|
|
476
|
-
radial-gradient(circle at 100% 0%, rgba(243, 232, 255, 0.5) 0%, transparent 60%),
|
|
477
|
-
radial-gradient(circle at 100% 100%, rgba(255, 237, 213, 0.4) 0%, transparent 60%);
|
|
474
|
+
background-image: linear-gradient(135deg, rgba(186, 230, 253, 0.2) 0%, rgba(243, 232, 255, 0.15) 100%);
|
|
478
475
|
border: 1px solid #eef1f5;
|
|
479
476
|
border-radius: 20px;
|
|
480
477
|
padding: 10px;
|
|
@@ -484,45 +481,15 @@
|
|
|
484
481
|
width: 100%;
|
|
485
482
|
max-width: 426px;
|
|
486
483
|
max-height: 180px;
|
|
487
|
-
box-shadow:
|
|
488
|
-
0 10px 25px -5px rgba(0, 0, 0, 0.04),
|
|
489
|
-
0 8px 10px -6px rgba(0, 0, 0, 0.02);
|
|
484
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
|
490
485
|
font-family: inherit;
|
|
491
486
|
overflow: hidden;
|
|
492
|
-
transition:
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.new-employee-card::after {
|
|
496
|
-
content: "";
|
|
497
|
-
position: absolute;
|
|
498
|
-
top: -10%;
|
|
499
|
-
right: -5%;
|
|
500
|
-
width: 200px;
|
|
501
|
-
height: 200px;
|
|
502
|
-
background: radial-gradient(circle, rgba(235, 244, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
|
|
503
|
-
filter: blur(40px);
|
|
504
|
-
border-radius: 50%;
|
|
505
|
-
z-index: 0;
|
|
506
|
-
pointer-events: none;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
.new-employee-card::before {
|
|
510
|
-
content: "";
|
|
511
|
-
position: absolute;
|
|
512
|
-
bottom: -15%;
|
|
513
|
-
left: -10%;
|
|
514
|
-
width: 250px;
|
|
515
|
-
height: 250px;
|
|
516
|
-
background: radial-gradient(circle, rgba(245, 243, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
|
|
517
|
-
filter: blur(50px);
|
|
518
|
-
border-radius: 50%;
|
|
519
|
-
z-index: 0;
|
|
520
|
-
pointer-events: none;
|
|
487
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
|
|
521
488
|
}
|
|
522
489
|
|
|
523
490
|
.new-employee-card:hover {
|
|
524
491
|
transform: translateY(-4px);
|
|
525
|
-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08)
|
|
492
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
|
|
526
493
|
}
|
|
527
494
|
|
|
528
495
|
.new-employee-card>* {
|
|
@@ -426,8 +426,6 @@
|
|
|
426
426
|
display: flex;
|
|
427
427
|
align-items: center;
|
|
428
428
|
justify-content: space-between;
|
|
429
|
-
/* Space between Greeting and Search */
|
|
430
|
-
flex-wrap: wrap;
|
|
431
429
|
gap: 20px;
|
|
432
430
|
overflow: hidden;
|
|
433
431
|
|
|
@@ -439,17 +437,12 @@
|
|
|
439
437
|
box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.1), 0 12px 30px rgba(97, 119, 236, 0.2);
|
|
440
438
|
|
|
441
439
|
.header-icon-area {
|
|
442
|
-
|
|
443
|
-
top: 41%;
|
|
444
|
-
right: 20px;
|
|
445
|
-
transform: translateY(-50%);
|
|
446
|
-
opacity: 0.5;
|
|
440
|
+
opacity: 0.8;
|
|
447
441
|
pointer-events: none;
|
|
448
442
|
max-width: 157px;
|
|
449
443
|
|
|
450
444
|
@media (max-width: 768px) {
|
|
451
|
-
|
|
452
|
-
transform: translateY(-50%) scale(0.8);
|
|
445
|
+
transform: scale(0.8);
|
|
453
446
|
}
|
|
454
447
|
}
|
|
455
448
|
|
|
@@ -874,12 +867,10 @@
|
|
|
874
867
|
}
|
|
875
868
|
}
|
|
876
869
|
|
|
877
|
-
/* --- TOP INFO CARDS: NEWS & RECENT ACTIVITY --- */
|
|
878
870
|
|
|
879
871
|
.top-info-cards-wrapper {
|
|
880
872
|
display: flex;
|
|
881
873
|
flex-direction: column;
|
|
882
|
-
/* Stack natively on mobile */
|
|
883
874
|
gap: 20px;
|
|
884
875
|
width: 100%;
|
|
885
876
|
margin-bottom: 10px;
|
|
@@ -913,6 +904,7 @@
|
|
|
913
904
|
margin-bottom: 8px;
|
|
914
905
|
padding: 0 16px;
|
|
915
906
|
}
|
|
907
|
+
|
|
916
908
|
.custom-tab-btn {
|
|
917
909
|
padding: 12px 16px;
|
|
918
910
|
background: none;
|
|
@@ -977,6 +969,7 @@
|
|
|
977
969
|
color: #64748b;
|
|
978
970
|
white-space: nowrap;
|
|
979
971
|
}
|
|
972
|
+
|
|
980
973
|
.compact-right-text.danger {
|
|
981
974
|
color: #ef4444;
|
|
982
975
|
font-weight: 600;
|
|
@@ -988,6 +981,7 @@
|
|
|
988
981
|
padding: 12px 16px;
|
|
989
982
|
border-bottom: 1px solid #f1f5f9;
|
|
990
983
|
}
|
|
984
|
+
|
|
991
985
|
.ra-compact-item:last-child {
|
|
992
986
|
border-bottom: none;
|
|
993
987
|
}
|
|
@@ -1009,6 +1003,7 @@
|
|
|
1009
1003
|
border-radius: 4px;
|
|
1010
1004
|
margin-right: 8px;
|
|
1011
1005
|
}
|
|
1006
|
+
|
|
1012
1007
|
.ra-footer {
|
|
1013
1008
|
margin-top: auto;
|
|
1014
1009
|
padding-top: 16px;
|
|
@@ -1093,12 +1088,14 @@
|
|
|
1093
1088
|
background: #f1f5f9;
|
|
1094
1089
|
color: #ef4444;
|
|
1095
1090
|
}
|
|
1091
|
+
|
|
1096
1092
|
.ra-timeline {
|
|
1097
1093
|
flex: 1;
|
|
1098
1094
|
overflow-y: auto;
|
|
1099
1095
|
min-height: 0;
|
|
1100
1096
|
padding-right: 8px;
|
|
1101
1097
|
}
|
|
1098
|
+
|
|
1102
1099
|
.ra-timeline-modal {
|
|
1103
1100
|
padding: 24px;
|
|
1104
1101
|
overflow-y: auto;
|
|
@@ -1502,6 +1499,7 @@
|
|
|
1502
1499
|
grid-template-columns: repeat(4, 1fr) !important;
|
|
1503
1500
|
gap: 16px;
|
|
1504
1501
|
width: 100%;
|
|
1502
|
+
margin-bottom: 40px;
|
|
1505
1503
|
}
|
|
1506
1504
|
|
|
1507
1505
|
.engagement-custom-card {
|
|
@@ -1528,6 +1526,7 @@
|
|
|
1528
1526
|
|
|
1529
1527
|
.complaint-links-container {
|
|
1530
1528
|
margin-top: auto;
|
|
1529
|
+
|
|
1531
1530
|
.employeeCard-link {
|
|
1532
1531
|
font-size: 13px;
|
|
1533
1532
|
padding: 4px 0;
|