@djb25/digit-ui-css 1.0.17 → 1.0.19

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.
@@ -56,7 +56,6 @@
56
56
  border-right: 1px solid #e0e0e0;
57
57
  background: #f8f9fa;
58
58
  transition: width 0.3s ease;
59
- width: 100%;
60
59
  }
61
60
 
62
61
  .employee-app-wrapper {
@@ -84,11 +83,6 @@
84
83
  flex-direction: row;
85
84
  }
86
85
 
87
- .ground-container {
88
- margin-bottom: 56px;
89
- /* @apply p-md; */
90
- }
91
-
92
86
  .collapsible-sidebar-container {
93
87
  width: auto;
94
88
  }
@@ -14,6 +14,24 @@
14
14
 
15
15
  .stepper-form-wrapper {
16
16
  display: grid;
17
- grid-template-columns: repeat(2, 1fr);
18
- gap: 20px;
17
+ gap: 20px 48px;
18
+ height: max-content;
19
+ .employee-select-wrap{
20
+ margin-bottom: 0;
21
+ }
22
+ @media (min-width:768px) {
23
+ grid-template-columns: repeat(2, 1fr);
24
+ }
25
+ @media (max-width:768px){
26
+
27
+ @media (max-width:480px){
28
+ display: flex;
29
+ flex-direction: column;
30
+ }
31
+ gap: 20px 10px;
32
+ }
33
+
34
+ .card-label-smaller{
35
+ width: 100%;
36
+ }
19
37
  }
@@ -0,0 +1,19 @@
1
+ .employee-form {
2
+ display: flex;
3
+ width: 100%;
4
+ height: 100%;
5
+ gap: 24px;
6
+ overflow-y: auto;
7
+ }
8
+
9
+ .mobile-view {
10
+ flex-direction: column !important;
11
+ gap: 0 !important;
12
+ }
13
+
14
+ @media (max-width: 768px) {
15
+ .employee-form {
16
+ flex-direction: column;
17
+ gap: 24px;
18
+ }
19
+ }
@@ -139,6 +139,7 @@
139
139
 
140
140
  .inbox-container {
141
141
  gap: 16px;
142
+
142
143
  .filters-container {
143
144
  .filter {
144
145
  .filter-card {
@@ -294,10 +295,13 @@
294
295
 
295
296
  .inbox-container {
296
297
  @apply flex;
298
+ height: inherit;
299
+ padding-bottom: 24px;
297
300
 
298
301
  .filters-container {
299
302
  width: 270px;
300
-
303
+ overflow-y: scroll;
304
+
301
305
  .filter {
302
306
  @apply mt-md;
303
307
 
@@ -7,11 +7,25 @@
7
7
  }
8
8
 
9
9
  .ground-container {
10
- margin-bottom: 56px;
11
10
  padding-inline: 30px;
11
+ width: 100%;
12
+ height: 100%;
13
+ @media (max-width: 768px) {
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: 12px;
17
+ padding: 20px 20px 0;
18
+ }
12
19
  /* @apply flex flex-col; */
13
20
  }
14
21
 
22
+ @media (min-width: 325px) and (max-width: 768px) {
23
+ .ground-container {
24
+ padding-top: 11px;
25
+ padding-inline: 10px;
26
+ }
27
+ }
28
+
15
29
  .card-home {
16
30
  cursor: pointer;
17
31
  overflow: hidden;
@@ -212,8 +226,7 @@
212
226
  &.active {
213
227
  border-left: 4px solid theme(colors.primary.main);
214
228
 
215
- &.level-0 {
216
- }
229
+ &.level-0 {}
217
230
 
218
231
  &.level-1 {
219
232
  border-left: 8.5px solid theme(colors.primary.main);
@@ -223,8 +236,7 @@
223
236
  border-left: 4px solid theme(colors.primary.main);
224
237
  }
225
238
 
226
- &.level-3 {
227
- }
239
+ &.level-3 {}
228
240
 
229
241
  color: theme(colors.primary.main) !important;
230
242
  border-right: none;
@@ -388,59 +400,119 @@
388
400
  .header-top-section {
389
401
  position: relative;
390
402
  width: 100%;
391
- padding: 20px 50px;
392
- border-radius: 18px;
403
+ padding: 24px 40px;
404
+ border-radius: 24px;
393
405
  display: flex;
394
406
  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%);
407
+ justify-content: space-between;
408
+ /* Space between Greeting and Search */
409
+ flex-wrap: wrap;
410
+ gap: 20px;
411
+
412
+ background: linear-gradient(135deg, rgba(110, 192, 221, 0.8) 0%, rgba(97, 119, 236, 0.95) 100%);
413
+ backdrop-filter: blur(20px) saturate(150%);
414
+ -webkit-backdrop-filter: blur(20px) saturate(150%);
415
+ border: 1px solid rgba(255, 255, 255, 0.3);
416
+
417
+ box-shadow:
418
+ inset 0 2px 4px rgba(255, 255, 255, 0.4),
419
+ inset 0 -2px 6px rgba(0, 0, 0, 0.1),
420
+ 0 12px 30px rgba(97, 119, 236, 0.2);
421
+
422
+ /* --- Left: Greeting Area --- */
423
+ .header-greeting-area {
424
+ display: flex;
425
+ flex-direction: column;
426
+ gap: 4px;
427
+ }
401
428
 
402
- border: 1px solid rgba(255, 255, 255, 0.35);
429
+ .greeting-title {
430
+ margin: 0;
431
+ font-size: 28px;
432
+ font-weight: 800;
433
+ color: #ffffff;
434
+ letter-spacing: -0.5px;
435
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
436
+ display: flex;
437
+ align-items: center;
438
+ gap: 10px;
403
439
 
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);
440
+ .greeting-emoji {
441
+ font-size: 24px;
442
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
443
+ }
444
+ }
406
445
 
407
- transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
446
+ .greeting-date {
447
+ margin: 0;
448
+ font-size: 15px;
449
+ font-weight: 500;
450
+ color: rgba(255, 255, 255, 0.9);
451
+ letter-spacing: 0.5px;
452
+ text-transform: uppercase;
453
+ }
408
454
 
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;
455
+ /* --- Right: Omni Search Area --- */
456
+ .header-search-area {
457
+ flex-shrink: 0;
458
+ width: 100%;
459
+ max-width: 400px;
416
460
  }
417
461
 
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;
462
+ .omni-search-form {
463
+ position: relative;
464
+ display: flex;
465
+ align-items: center;
466
+ background: rgba(255, 255, 255, 0.15);
467
+ border: 1px solid rgba(255, 255, 255, 0.4);
468
+ border-radius: 100px;
469
+ padding: 4px 6px;
470
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
471
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
472
+
473
+ &:hover,
474
+ &:focus-within {
475
+ background: rgba(255, 255, 255, 0.25);
476
+ border-color: rgba(255, 255, 255, 0.7);
477
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
478
+ transform: translateY(-2px);
479
+ }
425
480
  }
426
481
 
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);
482
+ .omni-search-icon {
483
+ color: #ffffff;
484
+ margin-left: 12px;
485
+ margin-right: 8px;
486
+ display: flex;
487
+ align-items: center;
488
+ }
430
489
 
431
- &::after {
432
- opacity: 1;
490
+ .omni-search-input {
491
+ flex: 1;
492
+ background: transparent;
493
+ border: none;
494
+ color: #ffffff;
495
+ font-size: 15px;
496
+ font-weight: 500;
497
+ padding: 10px 0;
498
+ outline: none;
499
+
500
+ &::placeholder {
501
+ color: rgba(255, 255, 255, 0.7);
502
+ font-weight: 400;
433
503
  }
434
504
  }
435
505
 
436
- .title {
437
- margin: 0;
438
- font-size: 26px;
439
- font-weight: 800;
506
+ .omni-search-shortcut {
507
+ background: rgba(255, 255, 255, 0.2);
440
508
  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);
509
+ font-size: 12px;
510
+ font-weight: 700;
511
+ padding: 4px 10px;
512
+ border-radius: 8px;
513
+ margin-right: 6px;
514
+ font-family: 'SFMono-Regular', Consolas, monospace;
515
+ border: 1px solid rgba(255, 255, 255, 0.3);
444
516
  }
445
517
  }
446
518
 
@@ -552,8 +624,7 @@
552
624
  justify-content: center;
553
625
  }
554
626
 
555
- .center-container {
556
- }
627
+ .center-container {}
557
628
  }
558
629
  }
559
630
 
@@ -771,81 +842,52 @@
771
842
  }
772
843
  }
773
844
 
774
- .ra-wrapper {
775
- display: flex;
776
- justify-content: flex-end;
777
- align-items: center;
778
-
779
- position: absolute;
780
- right: 0;
781
- top: 0;
782
- height: 100%;
783
-
784
- z-index: 1000;
785
- font-family: 'Inter', system-ui, -apple-system, sans-serif;
845
+ /* --- TOP INFO CARDS: NEWS & RECENT ACTIVITY --- */
786
846
 
787
- pointer-events: none;
788
- }
789
-
790
- .ra-container {
791
- pointer-events: auto;
847
+ .top-info-cards-wrapper {
792
848
  display: flex;
793
- flex-direction: row;
794
- background: rgba(255, 255, 255, 0.7);
795
- border-radius: 24px 0 0 24px;
796
-
797
- backdrop-filter: blur(16px) saturate(180%);
798
- -webkit-backdrop-filter: blur(16px) saturate(180%);
799
-
800
- border: 1px solid rgba(255, 255, 255, 0.4);
801
-
802
- box-shadow:
803
- -10px 0 30px rgba(0, 0, 0, 0.1),
804
- 0 8px 32px 0 rgba(31, 38, 135, 0.15);
805
-
806
- overflow: hidden;
807
- height: 50%;
808
- transition: transform 0.3s ease, height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
849
+ flex-direction: column;
850
+ /* Stack natively on mobile */
851
+ gap: 20px;
852
+ width: 100%;
853
+ margin-bottom: 10px;
809
854
  }
810
855
 
811
- .ra-container.open {
812
- height: 100%;
856
+ @media (min-width: 1024px) {
857
+ .top-info-cards-wrapper {
858
+ flex-direction: row;
859
+ /* 50/50 Split on Desktop */
860
+ align-items: stretch;
861
+ }
813
862
  }
814
863
 
864
+ @media (min-width: 375px) {}
815
865
 
816
- .ra-content-door {
817
- width: 0px;
866
+ .static-card {
867
+ flex: 1;
868
+ /* Ensures perfect 50/50 width */
869
+ background: white;
870
+ border-radius: 16px;
871
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
872
+ border: 1px solid rgba(0, 0, 0, 0.05);
818
873
  overflow: hidden;
819
- transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
820
- background: linear-gradient(135deg,
821
- rgba(255, 255, 255, 0.4) 0%,
822
- rgba(255, 255, 255, 0.2) 100%);
823
- }
824
-
825
- .ra-container.open .ra-content-door {
826
- width: 380px;
827
- border-right: 1px solid rgba(0, 0, 0, 0.05);
828
- }
829
-
830
- .ra-content-inner {
831
- width: 380px;
832
- height: 100%;
833
874
  display: flex;
834
875
  flex-direction: column;
835
- align-items: center;
836
- justify-content: center;
837
876
  }
838
877
 
839
878
  .ra-header {
840
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
841
- padding: 24px;
879
+ display: flex;
880
+ justify-content: space-between;
881
+ align-items: center;
882
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
883
+ padding: 20px 24px;
842
884
  }
843
885
 
844
886
  .ra-header h3 {
845
887
  margin: 0 0 4px 0;
846
- font-size: 16px;
847
- font-weight: 600;
848
- color: #0f172a;
888
+ font-size: 18px;
889
+ font-weight: 700;
890
+ color: #1a67a3;
849
891
  }
850
892
 
851
893
  .ra-subtitle {
@@ -973,61 +1015,6 @@
973
1015
  font-weight: 500;
974
1016
  }
975
1017
 
976
- .ra-strip {
977
- width: 50px;
978
- flex-shrink: 0;
979
- background: rgba(255, 255, 255, 0.8);
980
- display: flex;
981
- flex-direction: column;
982
- align-items: center;
983
- padding: 24px 0;
984
- cursor: pointer;
985
- z-index: 10;
986
- }
987
-
988
- .ra-strip:hover {
989
- background: rgba(255, 255, 255, 0.4);
990
- }
991
-
992
- .ra-chevron-icon {
993
- color: #64748b;
994
- margin-bottom: 40px;
995
- transition: color 0.2s, transform 0.2s;
996
- display: flex;
997
- align-items: center;
998
- justify-content: center;
999
- }
1000
-
1001
- .ra-strip:hover .ra-chevron-icon {
1002
- color: #0f172a;
1003
- transform: scale(1.1);
1004
- }
1005
-
1006
- .ra-strip-text {
1007
- display: flex;
1008
- align-items: center;
1009
- gap: 12px;
1010
- writing-mode: vertical-rl;
1011
- transform: rotate(180deg);
1012
- font-size: 14px;
1013
- font-weight: 600;
1014
- color: #475569;
1015
- letter-spacing: 0.5px;
1016
- text-transform: uppercase;
1017
- white-space: nowrap;
1018
- opacity: 0.8;
1019
- transition: opacity 0.2s;
1020
- }
1021
-
1022
- .ra-strip:hover .ra-strip-text {
1023
- opacity: 1;
1024
- color: #0f172a;
1025
- }
1026
-
1027
- .ra-history-icon {
1028
- transform: rotate(90deg);
1029
- }
1030
-
1031
1018
  .vendor-two-column-form .employeeCard {
1032
1019
  display: grid !important;
1033
1020
  grid-template-columns: 1fr 1fr;
@@ -1138,4 +1125,13 @@
1138
1125
  flex-direction: column !important;
1139
1126
  gap: 0px;
1140
1127
  }
1141
- }
1128
+
1129
+ @media (min-width: 325px) and (max-width: 768px) {
1130
+ .home-header {
1131
+
1132
+ .header-top-section {
1133
+ margin-inline: 10px;
1134
+ }
1135
+ }
1136
+ }
1137
+ }
@@ -170,10 +170,7 @@
170
170
  padding-bottom: 40px;
171
171
  height: 100vh !important;
172
172
  }
173
- .topbar{
174
- background: rgba(34, 57, 77, var(--bg-opacity)) !important;
175
- color: white;
176
- }
173
+
177
174
  .employee .loginContainer{
178
175
  padding-top: 0px !important;
179
176
  }