@djb25/digit-ui-css 1.0.16 → 1.0.18

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.
@@ -9,9 +9,14 @@
9
9
  .ground-container {
10
10
  margin-bottom: 56px;
11
11
  padding-inline: 30px;
12
+ width: 100%;
12
13
  /* @apply flex flex-col; */
13
14
  }
14
15
 
16
+ @media (max-width: 425px) {
17
+ padding-top: 10px;
18
+ }
19
+
15
20
  .card-home {
16
21
  cursor: pointer;
17
22
  overflow: hidden;
@@ -212,8 +217,7 @@
212
217
  &.active {
213
218
  border-left: 4px solid theme(colors.primary.main);
214
219
 
215
- &.level-0 {
216
- }
220
+ &.level-0 {}
217
221
 
218
222
  &.level-1 {
219
223
  border-left: 8.5px solid theme(colors.primary.main);
@@ -223,8 +227,7 @@
223
227
  border-left: 4px solid theme(colors.primary.main);
224
228
  }
225
229
 
226
- &.level-3 {
227
- }
230
+ &.level-3 {}
228
231
 
229
232
  color: theme(colors.primary.main) !important;
230
233
  border-right: none;
@@ -388,59 +391,119 @@
388
391
  .header-top-section {
389
392
  position: relative;
390
393
  width: 100%;
391
- padding: 20px 50px;
392
- border-radius: 18px;
394
+ padding: 24px 40px;
395
+ border-radius: 24px;
393
396
  display: flex;
394
397
  align-items: center;
395
- justify-content: flex-end;
396
-
397
- background: linear-gradient(98deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
398
-
399
- backdrop-filter: blur(18px) saturate(140%);
400
- -webkit-backdrop-filter: blur(18px) saturate(140%);
398
+ justify-content: space-between;
399
+ /* Space between Greeting and Search */
400
+ flex-wrap: wrap;
401
+ gap: 20px;
402
+
403
+ background: linear-gradient(135deg, rgba(110, 192, 221, 0.8) 0%, rgba(97, 119, 236, 0.95) 100%);
404
+ backdrop-filter: blur(20px) saturate(150%);
405
+ -webkit-backdrop-filter: blur(20px) saturate(150%);
406
+ border: 1px solid rgba(255, 255, 255, 0.3);
407
+
408
+ box-shadow:
409
+ inset 0 2px 4px rgba(255, 255, 255, 0.4),
410
+ inset 0 -2px 6px rgba(0, 0, 0, 0.1),
411
+ 0 12px 30px rgba(97, 119, 236, 0.2);
412
+
413
+ /* --- Left: Greeting Area --- */
414
+ .header-greeting-area {
415
+ display: flex;
416
+ flex-direction: column;
417
+ gap: 4px;
418
+ }
401
419
 
402
- border: 1px solid rgba(255, 255, 255, 0.35);
420
+ .greeting-title {
421
+ margin: 0;
422
+ font-size: 28px;
423
+ font-weight: 800;
424
+ color: #ffffff;
425
+ letter-spacing: -0.5px;
426
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
427
+ display: flex;
428
+ align-items: center;
429
+ gap: 10px;
403
430
 
404
- box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.5), inset 0 -2px 6px rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.18),
405
- 0 8px 16px rgba(0, 0, 0, 0.12);
431
+ .greeting-emoji {
432
+ font-size: 24px;
433
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
434
+ }
435
+ }
406
436
 
407
- transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
437
+ .greeting-date {
438
+ margin: 0;
439
+ font-size: 15px;
440
+ font-weight: 500;
441
+ color: rgba(255, 255, 255, 0.9);
442
+ letter-spacing: 0.5px;
443
+ text-transform: uppercase;
444
+ }
408
445
 
409
- &::before {
410
- content: "";
411
- position: absolute;
412
- inset: 0;
413
- border-radius: inherit;
414
- background: linear-gradient(120deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.05) 100%);
415
- pointer-events: none;
446
+ /* --- Right: Omni Search Area --- */
447
+ .header-search-area {
448
+ flex-shrink: 0;
449
+ width: 100%;
450
+ max-width: 400px;
416
451
  }
417
452
 
418
- &::after {
419
- content: "";
420
- position: absolute;
421
- inset: 0;
422
- border-radius: inherit;
423
- box-shadow: 0 0 30px rgba(97, 119, 236, 0.25);
424
- transition: opacity 0.3s ease;
453
+ .omni-search-form {
454
+ position: relative;
455
+ display: flex;
456
+ align-items: center;
457
+ background: rgba(255, 255, 255, 0.15);
458
+ border: 1px solid rgba(255, 255, 255, 0.4);
459
+ border-radius: 100px;
460
+ padding: 4px 6px;
461
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
462
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
463
+
464
+ &:hover,
465
+ &:focus-within {
466
+ background: rgba(255, 255, 255, 0.25);
467
+ border-color: rgba(255, 255, 255, 0.7);
468
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
469
+ transform: translateY(-2px);
470
+ }
425
471
  }
426
472
 
427
- &:hover {
428
- box-shadow: inset 0 3px 8px rgba(255, 255, 255, 0.6), inset 0 -3px 8px rgba(255, 255, 255, 0.25), 0 30px 60px rgba(0, 0, 0, 0.25),
429
- 0 10px 20px rgba(0, 0, 0, 0.15);
473
+ .omni-search-icon {
474
+ color: #ffffff;
475
+ margin-left: 12px;
476
+ margin-right: 8px;
477
+ display: flex;
478
+ align-items: center;
479
+ }
430
480
 
431
- &::after {
432
- opacity: 1;
481
+ .omni-search-input {
482
+ flex: 1;
483
+ background: transparent;
484
+ border: none;
485
+ color: #ffffff;
486
+ font-size: 15px;
487
+ font-weight: 500;
488
+ padding: 10px 0;
489
+ outline: none;
490
+
491
+ &::placeholder {
492
+ color: rgba(255, 255, 255, 0.7);
493
+ font-weight: 400;
433
494
  }
434
495
  }
435
496
 
436
- .title {
437
- margin: 0;
438
- font-size: 26px;
439
- font-weight: 800;
497
+ .omni-search-shortcut {
498
+ background: rgba(255, 255, 255, 0.2);
440
499
  color: #ffffff;
441
-
442
- /* More premium glass text effect */
443
- text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(52, 51, 51, 0.15);
500
+ font-size: 12px;
501
+ font-weight: 700;
502
+ padding: 4px 10px;
503
+ border-radius: 8px;
504
+ margin-right: 6px;
505
+ font-family: 'SFMono-Regular', Consolas, monospace;
506
+ border: 1px solid rgba(255, 255, 255, 0.3);
444
507
  }
445
508
  }
446
509
 
@@ -552,8 +615,7 @@
552
615
  justify-content: center;
553
616
  }
554
617
 
555
- .center-container {
556
- }
618
+ .center-container {}
557
619
  }
558
620
  }
559
621
 
@@ -771,81 +833,52 @@
771
833
  }
772
834
  }
773
835
 
774
- /* Anchors the whole component to the right edge */
775
- .ra-wrapper {
776
- display: flex;
777
- justify-content: flex-end;
778
- align-items: flex-start;
779
-
780
- /* Change from relative/static to absolute/fixed */
781
- position: absolute;
782
- right: 0;
783
- top: 0;
784
- height: 100%; /* Or calc(100% - 40px) depending on your padding */
785
-
786
- /* Ensure it sits on top of everything else */
787
- z-index: 1000;
788
- font-family: "Inter", system-ui, -apple-system, sans-serif;
789
-
790
- /* Prevents the wrapper itself from blocking clicks on the page when closed */
791
- pointer-events: none;
792
- }
836
+ /* --- TOP INFO CARDS: NEWS & RECENT ACTIVITY --- */
793
837
 
794
- /* The parent container sets the outer shape and shadow */
795
- .ra-container {
796
- pointer-events: auto; /* Re-enable clicks for the card itself */
838
+ .top-info-cards-wrapper {
797
839
  display: flex;
798
- flex-direction: row;
799
- background: rgba(255, 255, 255, 0.7); /* Slightly more opaque for overlay readability */
800
- border-radius: 24px 0 0 24px; /* Rounded only on the left side since it's flush right */
801
-
802
- backdrop-filter: blur(16px) saturate(180%);
803
- -webkit-backdrop-filter: blur(16px) saturate(180%);
804
-
805
- border: 1px solid rgba(255, 255, 255, 0.4);
806
-
807
- /* Stronger shadow to emphasize the 'float' effect */
808
- box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1), 0 8px 32px 0 rgba(31, 38, 135, 0.15);
809
-
810
- overflow: hidden;
811
- height: 100%;
812
- transition: transform 0.3s ease;
840
+ flex-direction: column;
841
+ /* Stack natively on mobile */
842
+ gap: 20px;
843
+ width: 100%;
844
+ margin-bottom: 10px;
813
845
  }
814
846
 
815
- /* --- THE FIX: Sliding Door Approach --- */
816
- /* When closed, width is exactly 0px, causing NO gaps. */
817
- .ra-content-door {
818
- width: 0px;
819
- overflow: hidden;
820
- transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
821
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
822
- }
823
- .ra-container.open .ra-content-door {
824
- width: 380px;
825
- border-right: 1px solid rgba(0, 0, 0, 0.05);
847
+ @media (min-width: 1024px) {
848
+ .top-info-cards-wrapper {
849
+ flex-direction: row;
850
+ /* 50/50 Split on Desktop */
851
+ align-items: stretch;
852
+ }
826
853
  }
827
854
 
828
- /* The inner content stays a fixed size so it doesn't wrap/squish while the door is opening */
829
- .ra-content-inner {
830
- width: 380px;
831
- height: 100%;
855
+ @media (min-width: 375px) {}
856
+
857
+ .static-card {
858
+ flex: 1;
859
+ /* Ensures perfect 50/50 width */
860
+ background: white;
861
+ border-radius: 16px;
862
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
863
+ border: 1px solid rgba(0, 0, 0, 0.05);
864
+ overflow: hidden;
832
865
  display: flex;
833
866
  flex-direction: column;
834
- align-items: center;
835
- justify-content: center;
836
867
  }
837
868
 
838
- /* --- Header & Layout Alignments --- */
839
869
  .ra-header {
840
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
841
- padding: 24px;
870
+ display: flex;
871
+ justify-content: space-between;
872
+ align-items: center;
873
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
874
+ padding: 20px 24px;
842
875
  }
843
876
 
844
877
  .ra-header h3 {
845
878
  margin: 0 0 4px 0;
846
- font-size: 16px;
847
- font-weight: 600;
848
- color: #0f172a;
879
+ font-size: 18px;
880
+ font-weight: 700;
881
+ color: #1a67a3;
849
882
  }
850
883
 
851
884
  .ra-subtitle {
@@ -873,7 +906,6 @@
873
906
  background: #eff6ff;
874
907
  }
875
908
 
876
- /* --- Timeline Area --- */
877
909
  .ra-timeline::-webkit-scrollbar-thumb {
878
910
  background: rgba(255, 255, 255, 0.5);
879
911
  border-radius: 10px;
@@ -901,7 +933,6 @@
901
933
  margin-bottom: 16px;
902
934
  }
903
935
 
904
- /* Indicator column strictly aligned */
905
936
  .ra-indicator {
906
937
  display: flex;
907
938
  flex-direction: column;
@@ -937,7 +968,6 @@
937
968
  flex: 1;
938
969
  padding-bottom: 8px;
939
970
  padding-top: 2px;
940
- /* Micro-adjustment for text alignment */
941
971
  }
942
972
 
943
973
  .ra-text {
@@ -961,7 +991,7 @@
961
991
  .ra-module {
962
992
  font-family: "SFMono-Regular", Consolas, monospace;
963
993
  font-size: 11px;
964
- background: rgba(255, 255, 255, 0.4); /* Glassy tag */
994
+ background: rgba(255, 255, 255, 0.4);
965
995
  color: #1e293b;
966
996
  padding: 4px 8px;
967
997
  border-radius: 6px;
@@ -976,59 +1006,114 @@
976
1006
  font-weight: 500;
977
1007
  }
978
1008
 
979
- /* --- Right Side Toggle Strip (Redesigned UI) --- */
980
- .ra-strip {
981
- width: 50px; /* Slimmer strip since it's an overlay */
982
- flex-shrink: 0;
983
- background: rgba(255, 255, 255, 0.8);
984
- display: flex;
985
- flex-direction: column;
986
- align-items: center;
987
- padding: 24px 0;
988
- cursor: pointer;
989
- z-index: 10;
1009
+ .vendor-two-column-form .employeeCard {
1010
+ display: grid !important;
1011
+ grid-template-columns: 1fr 1fr;
1012
+ column-gap: 2rem;
1013
+ row-gap: 1rem;
990
1014
  }
991
1015
 
992
- .ra-strip:hover {
993
- background: rgba(255, 255, 255, 0.4);
1016
+ .vendor-two-column-form .employeeCard>.card-header,
1017
+ .vendor-two-column-form .employeeCard>header,
1018
+ .vendor-two-column-form .employeeCard>.submit-bar,
1019
+ .vendor-two-column-form .employeeCard>.primary-label-btn,
1020
+ .vendor-two-column-form .employeeCard>.break-line {
1021
+ grid-column: 1 / -1;
994
1022
  }
995
1023
 
996
- .ra-chevron-icon {
997
- color: #64748b;
998
- margin-bottom: 40px;
999
- transition: color 0.2s, transform 0.2s;
1000
- display: flex;
1001
- align-items: center;
1002
- justify-content: center;
1024
+ .vendor-two-column-form .employeeCard .field-container,
1025
+ .vendor-two-column-form .employeeCard .field {
1026
+ width: 100%;
1003
1027
  }
1004
1028
 
1005
- .ra-strip:hover .ra-chevron-icon {
1006
- color: #0f172a;
1007
- transform: scale(1.1);
1029
+ @media (max-width: 768px) {
1030
+ .vendor-two-column-form .employeeCard {
1031
+ grid-template-columns: 1fr;
1032
+ }
1008
1033
  }
1009
1034
 
1010
- .ra-strip-text {
1011
- display: flex;
1035
+ .vendor-two-column-form .digit-card,
1036
+ .vendor-two-column-form .employeeCard,
1037
+ .vendor-two-column-form .card {
1038
+ display: grid !important;
1039
+ grid-template-columns: 1fr 1fr;
1040
+ grid-column-gap: 30px;
1041
+ grid-row-gap: 15px;
1042
+ align-items: flex-start;
1043
+ }
1044
+
1045
+ .vendor-two-column-form .digit-card>.card-header,
1046
+ .vendor-two-column-form .digit-card>.card-sub-header,
1047
+ .vendor-two-column-form .digit-card>header,
1048
+ .vendor-two-column-form .employeeCard>.card-header,
1049
+ .vendor-two-column-form .employeeCard>.card-sub-header,
1050
+ .vendor-two-column-form .employeeCard>header,
1051
+ .vendor-two-column-form .card>.card-header,
1052
+ .vendor-two-column-form .card>.card-sub-header,
1053
+ .vendor-two-column-form .card>header,
1054
+ .vendor-two-column-form .card>hr {
1055
+ grid-column: 1 / -1;
1056
+ width: 100%;
1057
+ }
1058
+
1059
+ @media (max-width: 768px) {
1060
+
1061
+ .vendor-two-column-form .digit-card,
1062
+ .vendor-two-column-form .employeeCard,
1063
+ .vendor-two-column-form .card {
1064
+ grid-template-columns: 1fr !important;
1065
+ }
1066
+ }
1067
+
1068
+ .vendor-details-two-column {
1069
+ display: grid;
1070
+ grid-template-columns: 1fr 1fr;
1071
+ grid-column-gap: 30px;
1072
+ grid-row-gap: 0px;
1012
1073
  align-items: center;
1013
- gap: 12px;
1014
- writing-mode: vertical-rl;
1015
- transform: rotate(180deg);
1016
- font-size: 14px;
1017
- font-weight: 600;
1018
- color: #475569;
1019
- letter-spacing: 0.5px;
1020
- text-transform: uppercase;
1021
- white-space: nowrap;
1022
- opacity: 0.8;
1023
- transition: opacity 0.2s;
1024
1074
  }
1025
1075
 
1026
- .ra-strip:hover .ra-strip-text {
1027
- opacity: 1;
1028
- color: #0f172a;
1076
+ @media (max-width: 768px) {
1077
+ .vendor-details-two-column {
1078
+ grid-template-columns: 1fr;
1079
+ }
1080
+ }
1081
+
1082
+ .vendor-two-column-form .input-wrap,
1083
+ .vendor-two-column-form .dropdown-wrap,
1084
+ .vendor-two-column-form .field {
1085
+ width: 100% !important;
1086
+ }
1087
+
1088
+ .vendor-details-two-column .input-wrap,
1089
+ .vendor-details-two-column .dropdown-wrap,
1090
+ .vendor-details-two-column .field {
1091
+ width: 100% !important;
1029
1092
  }
1030
1093
 
1031
- .ra-history-icon {
1032
- transform: rotate(90deg);
1033
- /* Re-orients the clock icon in vertical mode */
1094
+ .vendor-two-column-form input,
1095
+ .vendor-two-column-form .react-date-picker {
1096
+ width: 100% !important;
1034
1097
  }
1098
+
1099
+ .vendor-details-two-column input,
1100
+ .vendor-details-two-column .react-date-picker {
1101
+ width: 100% !important;
1102
+ }
1103
+
1104
+ .vendor-select-address-inline {
1105
+ display: flex !important;
1106
+ gap: 30px;
1107
+ width: 100%;
1108
+ }
1109
+
1110
+ .vendor-select-address-inline>.label-field-pair {
1111
+ flex: 1;
1112
+ }
1113
+
1114
+ @media (max-width: 768px) {
1115
+ .vendor-select-address-inline {
1116
+ flex-direction: column !important;
1117
+ gap: 0px;
1118
+ }
1119
+ }