@djb25/digit-ui-css 1.0.22 → 1.0.23
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 +27 -17
- package/src/components/card.scss +144 -63
- package/src/components/financeUi.scss +689 -657
package/package.json
CHANGED
package/src/components/body.scss
CHANGED
|
@@ -94,9 +94,9 @@ body {
|
|
|
94
94
|
padding-inline: 24px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
.app-container {
|
|
98
|
+
height: 100%;
|
|
99
|
+
}
|
|
100
100
|
|
|
101
101
|
@screen dt {
|
|
102
102
|
.employee-app-homepage-container {
|
|
@@ -231,14 +231,14 @@ body {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.form-container{
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
.form-container {
|
|
235
|
+
gap: 12px
|
|
236
|
+
}
|
|
237
|
+
|
|
238
238
|
.app-container {
|
|
239
239
|
width: 100%;
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
|
|
242
242
|
form {
|
|
243
243
|
.card {
|
|
244
244
|
max-width: 960px;
|
|
@@ -296,6 +296,7 @@ body {
|
|
|
296
296
|
width: 100%;
|
|
297
297
|
padding-bottom: 20px;
|
|
298
298
|
}
|
|
299
|
+
|
|
299
300
|
.module-carousel-header h3 {
|
|
300
301
|
font-size: 20px;
|
|
301
302
|
font-weight: 600;
|
|
@@ -313,12 +314,13 @@ body {
|
|
|
313
314
|
background: #3B82F6;
|
|
314
315
|
border-radius: 4px;
|
|
315
316
|
}
|
|
317
|
+
|
|
316
318
|
.module-carousel-header {
|
|
317
319
|
background: linear-gradient(135deg, #3585c4, #6fa0f0 40%, #80b3ff);
|
|
318
320
|
padding: 12px 16px;
|
|
319
321
|
border-radius: 10px;
|
|
320
322
|
align-items: center;
|
|
321
|
-
margin-top:10px;
|
|
323
|
+
margin-top: 10px;
|
|
322
324
|
}
|
|
323
325
|
|
|
324
326
|
.module-carousel-actions {
|
|
@@ -335,34 +337,35 @@ body {
|
|
|
335
337
|
|
|
336
338
|
.carousel-track {
|
|
337
339
|
display: grid;
|
|
338
|
-
grid-template-
|
|
339
|
-
grid-auto-flow:
|
|
340
|
+
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
341
|
+
grid-auto-flow: column;
|
|
342
|
+
grid-auto-columns: 100%;
|
|
340
343
|
gap: 20px;
|
|
341
344
|
overflow-x: auto;
|
|
342
345
|
scroll-behavior: smooth;
|
|
343
346
|
scroll-snap-type: x mandatory;
|
|
344
347
|
width: 100%;
|
|
345
348
|
padding: 10px 0px;
|
|
346
|
-
column-gap: 20px;
|
|
349
|
+
column-gap: 20px;
|
|
347
350
|
-ms-overflow-style: none;
|
|
348
351
|
scrollbar-width: none;
|
|
349
352
|
}
|
|
350
353
|
|
|
354
|
+
|
|
351
355
|
.carousel-track::-webkit-scrollbar {
|
|
352
356
|
display: none;
|
|
353
357
|
}
|
|
354
358
|
|
|
355
|
-
.carousel-track
|
|
359
|
+
.carousel-track>div {
|
|
356
360
|
scroll-snap-align: start;
|
|
357
361
|
box-sizing: border-box;
|
|
358
362
|
width: 100%;
|
|
359
363
|
height: 100%;
|
|
360
|
-
margin: 0 !important;
|
|
364
|
+
margin: 0 !important;
|
|
361
365
|
}
|
|
362
366
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}
|
|
367
|
+
|
|
368
|
+
|
|
366
369
|
|
|
367
370
|
@media (min-width: 640px) {
|
|
368
371
|
|
|
@@ -370,6 +373,7 @@ grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
|
370
373
|
grid-auto-columns: calc((100% - 20px) / 2);
|
|
371
374
|
}
|
|
372
375
|
}
|
|
376
|
+
|
|
373
377
|
@media (min-width: 1024px) {
|
|
374
378
|
.carousel-track {
|
|
375
379
|
grid-auto-columns: calc((100% - 3 * 20px) / 4);
|
|
@@ -416,6 +420,12 @@ grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
|
416
420
|
box-shadow: none;
|
|
417
421
|
}
|
|
418
422
|
|
|
423
|
+
@screen dt {
|
|
424
|
+
.carousel-track {
|
|
425
|
+
grid-auto-columns: calc((100% - 3 * 20px) / 4);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
419
429
|
@screen dt {
|
|
420
430
|
.carousel-track {
|
|
421
431
|
grid-auto-columns: calc((100% - 3 * 20px) / 4);
|
package/src/components/card.scss
CHANGED
|
@@ -162,6 +162,7 @@
|
|
|
162
162
|
cursor: pointer;
|
|
163
163
|
height: 36px !important;
|
|
164
164
|
border: none !important;
|
|
165
|
+
|
|
165
166
|
&:focus {
|
|
166
167
|
@apply outline-none;
|
|
167
168
|
}
|
|
@@ -185,6 +186,7 @@
|
|
|
185
186
|
}
|
|
186
187
|
|
|
187
188
|
@screen dt {
|
|
189
|
+
|
|
188
190
|
.submit-bar,
|
|
189
191
|
.submit-bar-disabled {
|
|
190
192
|
width: 240px;
|
|
@@ -346,7 +348,7 @@
|
|
|
346
348
|
}
|
|
347
349
|
|
|
348
350
|
/* Remove any default margins that might interfere */
|
|
349
|
-
.label-field-pair
|
|
351
|
+
.label-field-pair>* {
|
|
350
352
|
margin: 0;
|
|
351
353
|
width: 100%;
|
|
352
354
|
}
|
|
@@ -378,8 +380,7 @@
|
|
|
378
380
|
margin-right: auto;
|
|
379
381
|
}
|
|
380
382
|
|
|
381
|
-
.header-content {
|
|
382
|
-
}
|
|
383
|
+
.header-content {}
|
|
383
384
|
|
|
384
385
|
.header-end {
|
|
385
386
|
margin-left: auto;
|
|
@@ -469,76 +470,152 @@
|
|
|
469
470
|
|
|
470
471
|
.new-employee-card {
|
|
471
472
|
position: relative;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
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%);
|
|
478
|
+
border: 1px solid #eef1f5;
|
|
479
|
+
border-radius: 20px;
|
|
480
|
+
padding: 10px;
|
|
475
481
|
display: flex;
|
|
476
482
|
flex-direction: column;
|
|
477
|
-
gap:
|
|
483
|
+
gap: 13px;
|
|
478
484
|
width: 100%;
|
|
479
485
|
max-width: 426px;
|
|
480
|
-
|
|
481
|
-
box-shadow:
|
|
482
|
-
|
|
486
|
+
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);
|
|
490
|
+
font-family: inherit;
|
|
483
491
|
overflow: hidden;
|
|
484
|
-
transition:
|
|
492
|
+
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
485
493
|
}
|
|
486
494
|
|
|
487
|
-
.new-employee-card
|
|
488
|
-
|
|
489
|
-
|
|
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;
|
|
490
507
|
}
|
|
491
508
|
|
|
492
509
|
.new-employee-card::before {
|
|
493
510
|
content: "";
|
|
494
511
|
position: absolute;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
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%;
|
|
500
519
|
z-index: 0;
|
|
520
|
+
pointer-events: none;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.new-employee-card:hover {
|
|
524
|
+
transform: translateY(-4px);
|
|
525
|
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
|
|
501
526
|
}
|
|
502
527
|
|
|
503
|
-
.new-employee-card
|
|
528
|
+
.new-employee-card>* {
|
|
504
529
|
position: relative;
|
|
505
530
|
z-index: 1;
|
|
506
531
|
}
|
|
507
532
|
|
|
508
533
|
.card-header-row {
|
|
509
534
|
display: flex;
|
|
510
|
-
justify-content:
|
|
535
|
+
justify-content: flex-start;
|
|
511
536
|
align-items: center;
|
|
537
|
+
gap: 12px;
|
|
512
538
|
position: relative;
|
|
513
|
-
padding-bottom:
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
539
|
+
padding-bottom: 16px;
|
|
540
|
+
|
|
541
|
+
&::after {
|
|
542
|
+
content: "";
|
|
543
|
+
position: absolute;
|
|
544
|
+
bottom: 0;
|
|
545
|
+
left: 0;
|
|
546
|
+
right: 0;
|
|
547
|
+
height: 1px;
|
|
548
|
+
background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
|
|
549
|
+
}
|
|
524
550
|
}
|
|
525
551
|
|
|
526
552
|
.module-title {
|
|
527
|
-
font-size: 1.
|
|
528
|
-
font-weight:
|
|
553
|
+
font-size: 1.15rem;
|
|
554
|
+
font-weight: 600;
|
|
529
555
|
color: #111827;
|
|
530
556
|
margin: 0;
|
|
531
557
|
}
|
|
532
558
|
|
|
533
559
|
.module-icon-wrap {
|
|
534
|
-
width:
|
|
535
|
-
height:
|
|
536
|
-
|
|
537
|
-
border-radius: 8px;
|
|
560
|
+
width: 44px;
|
|
561
|
+
height: 44px;
|
|
562
|
+
border-radius: 12px;
|
|
538
563
|
display: flex;
|
|
539
564
|
justify-content: center;
|
|
540
565
|
align-items: center;
|
|
541
|
-
|
|
566
|
+
flex-shrink: 0;
|
|
567
|
+
transition: all 0.3s ease;
|
|
568
|
+
z-index: 1;
|
|
569
|
+
|
|
570
|
+
&.icon-blue {
|
|
571
|
+
background-color: #f0f9ff;
|
|
572
|
+
color: #0c4a6e;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
&.icon-purple {
|
|
576
|
+
background-color: #faf5ff;
|
|
577
|
+
color: #581c87;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
&.icon-orange {
|
|
581
|
+
background-color: #fff7ed;
|
|
582
|
+
color: #7c2d12;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
&.icon-green {
|
|
586
|
+
background-color: #f0fdf4;
|
|
587
|
+
color: #14532d;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
&.icon-brown {
|
|
591
|
+
background-color: #fffbeb;
|
|
592
|
+
color: #713f12;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
&.icon-violet {
|
|
596
|
+
background-color: #f5f3ff;
|
|
597
|
+
color: #4c1d95;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&.icon-teal {
|
|
601
|
+
background-color: #f0fdfa;
|
|
602
|
+
color: #134e4a;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
&.icon-default {
|
|
606
|
+
background-color: #f8fafc;
|
|
607
|
+
color: #334155;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
svg {
|
|
611
|
+
width: 26px;
|
|
612
|
+
height: 26px;
|
|
613
|
+
display: block;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.new-employee-card:hover .module-icon-wrap {
|
|
618
|
+
transform: scale(1.05);
|
|
542
619
|
}
|
|
543
620
|
|
|
544
621
|
.card-body-row {
|
|
@@ -554,11 +631,10 @@
|
|
|
554
631
|
}
|
|
555
632
|
|
|
556
633
|
.main-kpi-number {
|
|
557
|
-
font-size:
|
|
634
|
+
font-size: 2.5rem;
|
|
558
635
|
font-weight: 700;
|
|
559
|
-
color: #
|
|
560
|
-
line-height:
|
|
561
|
-
letter-spacing: -2px;
|
|
636
|
+
color: #111827;
|
|
637
|
+
line-height: 1;
|
|
562
638
|
}
|
|
563
639
|
|
|
564
640
|
.main-kpi-label-wrap {
|
|
@@ -581,9 +657,9 @@
|
|
|
581
657
|
}
|
|
582
658
|
|
|
583
659
|
.main-kpi-label {
|
|
584
|
-
color: #
|
|
585
|
-
font-weight:
|
|
586
|
-
font-size:
|
|
660
|
+
color: #6b7280;
|
|
661
|
+
font-weight: 400;
|
|
662
|
+
font-size: 0.9rem;
|
|
587
663
|
}
|
|
588
664
|
|
|
589
665
|
.secondary-kpi-section {
|
|
@@ -649,34 +725,37 @@
|
|
|
649
725
|
}
|
|
650
726
|
|
|
651
727
|
.pill-link {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
font-size: 9px;
|
|
657
|
-
font-weight: 600;
|
|
728
|
+
color: #2563eb;
|
|
729
|
+
padding: 6px 14px;
|
|
730
|
+
font-size: 13px;
|
|
731
|
+
font-weight: 500;
|
|
658
732
|
text-decoration: none;
|
|
659
|
-
transition:
|
|
733
|
+
transition: all 0.2s;
|
|
660
734
|
display: inline-flex;
|
|
661
735
|
align-items: center;
|
|
662
736
|
justify-content: center;
|
|
663
737
|
text-align: center;
|
|
738
|
+
border: 1px solid #dbeafe;
|
|
739
|
+
border-radius: 20px;
|
|
740
|
+
background-color: #f8fbff;
|
|
664
741
|
}
|
|
665
742
|
|
|
666
743
|
.pill-link:hover {
|
|
667
|
-
background-color: #
|
|
744
|
+
background-color: #eff6ff;
|
|
745
|
+
border-color: #bfdbfe;
|
|
746
|
+
transform: translateY(-1px);
|
|
668
747
|
}
|
|
669
748
|
|
|
670
749
|
.details-btn {
|
|
671
|
-
background-color:
|
|
672
|
-
color: #
|
|
673
|
-
padding: 6px
|
|
750
|
+
background-color: transparent;
|
|
751
|
+
color: #111827;
|
|
752
|
+
padding: 6px 16px;
|
|
674
753
|
border-radius: 6px;
|
|
675
|
-
font-size: 0.
|
|
676
|
-
font-weight:
|
|
677
|
-
border:
|
|
754
|
+
font-size: 0.85rem;
|
|
755
|
+
font-weight: 500;
|
|
756
|
+
border: 1px solid #e5e7eb;
|
|
678
757
|
cursor: pointer;
|
|
679
|
-
transition:
|
|
758
|
+
transition: all 0.2s;
|
|
680
759
|
display: inline-flex;
|
|
681
760
|
align-items: center;
|
|
682
761
|
justify-content: center;
|
|
@@ -685,7 +764,8 @@
|
|
|
685
764
|
}
|
|
686
765
|
|
|
687
766
|
.details-btn:hover {
|
|
688
|
-
background-color: #
|
|
767
|
+
background-color: #f9fafb;
|
|
768
|
+
border-color: #d1d5db;
|
|
689
769
|
}
|
|
690
770
|
|
|
691
771
|
/* --- NEW: EXPANDED VIEW OVERLAY --- */
|
|
@@ -1184,6 +1264,7 @@
|
|
|
1184
1264
|
justify-content: center;
|
|
1185
1265
|
transition: background-color 0.2s, color 0.2s;
|
|
1186
1266
|
flex-shrink: 0;
|
|
1267
|
+
outline: none !important;
|
|
1187
1268
|
}
|
|
1188
1269
|
|
|
1189
1270
|
.collapse-toggle:hover {
|
|
@@ -1297,4 +1378,4 @@
|
|
|
1297
1378
|
.collapsed .nav-item-content {
|
|
1298
1379
|
justify-content: center;
|
|
1299
1380
|
padding: 12px 0;
|
|
1300
|
-
}
|
|
1381
|
+
}
|