@djb25/digit-ui-css 1.0.17 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -207,6 +207,7 @@ body {
207
207
  font-weight: 600;
208
208
  margin-right: 8px;
209
209
  }
210
+
210
211
  form {
211
212
  .card {
212
213
  max-width: 960px;
@@ -226,6 +227,7 @@ body {
226
227
  }
227
228
  }
228
229
  }
230
+
229
231
  .app-container {
230
232
  width: 100%;
231
233
 
@@ -278,3 +280,124 @@ body {
278
280
  max-height: 120px;
279
281
  margin-top: 90px;
280
282
  }
283
+
284
+ /* --- MODULE CAROUSEL STYLES --- */
285
+
286
+ .module-carousel-section {
287
+ display: flex;
288
+ flex-direction: column;
289
+ width: 100%;
290
+ padding-bottom: 20px;
291
+ }
292
+
293
+ .module-carousel-header {
294
+ display: flex;
295
+ justify-content: flex-end;
296
+ align-items: center;
297
+ width: 100%;
298
+ padding: 0 10px 15px;
299
+ }
300
+
301
+ .module-carousel-actions {
302
+ display: flex;
303
+ gap: 12px;
304
+ }
305
+
306
+ .module-carousel-wrapper {
307
+ position: relative;
308
+ display: flex;
309
+ align-items: center;
310
+ width: 100%;
311
+ }
312
+
313
+ .carousel-track {
314
+ display: grid;
315
+ grid-template-rows: repeat(2, 1fr);
316
+ grid-auto-flow: column;
317
+ gap: 20px;
318
+ overflow-x: auto;
319
+ scroll-behavior: smooth;
320
+ scroll-snap-type: x mandatory;
321
+ width: 100%;
322
+ padding: 10px 0px;
323
+
324
+ /* Hide standard scrollbars for a clean look */
325
+ -ms-overflow-style: none;
326
+ /* IE and Edge */
327
+ scrollbar-width: none;
328
+ /* Firefox */
329
+ }
330
+
331
+ .carousel-track::-webkit-scrollbar {
332
+ display: none;
333
+ /* Chrome, Safari, Opera */
334
+ }
335
+
336
+ /* Default mobile width */
337
+ .carousel-track>div {
338
+ scroll-snap-align: start;
339
+ box-sizing: border-box;
340
+ }
341
+
342
+ /* 1 Column / 2 Rows on Mobile slightly overflowing for affordance */
343
+ .carousel-track {
344
+ grid-auto-columns: calc(100% - 20px);
345
+ }
346
+
347
+ @media (min-width: 640px) {
348
+
349
+ /* 2 Columns / 2 Rows on Tablets */
350
+ .carousel-track {
351
+ grid-auto-columns: calc((100% - 20px) / 2);
352
+ }
353
+ }
354
+
355
+ /* Ensure the child card fills this wrapper without extraneous margins */
356
+ .carousel-track .new-employee-card {
357
+ width: 100%;
358
+ height: 100%;
359
+ margin: 0 !important;
360
+ }
361
+
362
+ /* Modern Minimalist Arrow Button Styles */
363
+ .carousel-arrow {
364
+ background-color: transparent;
365
+ color: #555;
366
+ border: 1px solid #e0e0e0;
367
+ border-radius: 50%;
368
+ width: 38px;
369
+ height: 38px;
370
+ display: flex;
371
+ justify-content: center;
372
+ align-items: center;
373
+ cursor: pointer;
374
+ transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
375
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
376
+ }
377
+
378
+ .carousel-arrow:hover:not(:disabled) {
379
+ background-color: #1a67a3;
380
+ color: white;
381
+ border-color: #1a67a3;
382
+ transform: translateY(-2px);
383
+ box-shadow: 0 4px 12px rgba(244, 119, 56, 0.3);
384
+ }
385
+
386
+ .carousel-arrow:active:not(:disabled) {
387
+ transform: translateY(0);
388
+ }
389
+
390
+ .carousel-arrow:disabled {
391
+ opacity: 0.3;
392
+ cursor: default;
393
+ background-color: #fafafa;
394
+ box-shadow: none;
395
+ }
396
+
397
+ /* Desktop sizing: exactly 4 columns width */
398
+ @screen dt {
399
+ .carousel-track {
400
+ /* 25% width minus the gap offset to perfectly fit 4 per row */
401
+ grid-auto-columns: calc((100% - 60px) / 4);
402
+ }
403
+ }
@@ -877,9 +877,9 @@
877
877
 
878
878
 
879
879
  .custom-stepper-card {
880
- width: 280px;
881
- background: #f3f3f3;
882
- padding: 30px 24px;
880
+ width: 20%;
881
+ background: #FFFFFF;
882
+ padding: 25px 25px;
883
883
  border-radius: 10px;
884
884
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
885
885
  }
@@ -933,4 +933,12 @@
933
933
  .step-label.active-text {
934
934
  color: #5a6ee1;
935
935
  font-weight: 600;
936
+ }
937
+
938
+
939
+ .formcomposer-section-grid {
940
+ display: grid;
941
+ grid-template-columns: 1fr 1fr;
942
+ gap: 16px;
943
+ width: 100%;
936
944
  }
@@ -191,7 +191,7 @@
191
191
  }
192
192
 
193
193
  .documentDetails_pdf {
194
- @apply flex gap-10 cursor-pointer;
194
+ @apply cursor-pointer;
195
195
  }
196
196
  .grid_section {
197
197
  @apply grid grid-cols-4 gap-4;
@@ -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
- .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;
836
+ /* --- TOP INFO CARDS: NEWS & RECENT ACTIVITY --- */
786
837
 
787
- pointer-events: none;
788
- }
789
-
790
- .ra-container {
791
- pointer-events: auto;
838
+ .top-info-cards-wrapper {
792
839
  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);
840
+ flex-direction: column;
841
+ /* Stack natively on mobile */
842
+ gap: 20px;
843
+ width: 100%;
844
+ margin-bottom: 10px;
809
845
  }
810
846
 
811
- .ra-container.open {
812
- height: 100%;
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
+ }
813
853
  }
814
854
 
855
+ @media (min-width: 375px) {}
815
856
 
816
- .ra-content-door {
817
- width: 0px;
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);
818
864
  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
865
  display: flex;
834
866
  flex-direction: column;
835
- align-items: center;
836
- justify-content: center;
837
867
  }
838
868
 
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 {
@@ -973,61 +1006,6 @@
973
1006
  font-weight: 500;
974
1007
  }
975
1008
 
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
1009
  .vendor-two-column-form .employeeCard {
1032
1010
  display: grid !important;
1033
1011
  grid-template-columns: 1fr 1fr;
@@ -1138,4 +1116,4 @@
1138
1116
  flex-direction: column !important;
1139
1117
  gap: 0px;
1140
1118
  }
1141
- }
1119
+ }