@djb25/digit-ui-css 1.0.14 → 1.0.16

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.14",
3
+ "version": "1.0.16",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -180,7 +180,6 @@
180
180
  }
181
181
 
182
182
  @screen dt {
183
-
184
183
  .submit-bar,
185
184
  .submit-bar-disabled {
186
185
  width: 240px;
@@ -298,7 +297,6 @@
298
297
  flex-direction: column;
299
298
  gap: 8px;
300
299
  /* Adjust spacing between label and field */
301
- margin-bottom: 16px;
302
300
  /* Space between form groups */
303
301
  }
304
302
 
@@ -308,6 +306,7 @@
308
306
  color: #333;
309
307
  font-size: 14px;
310
308
  line-height: 1.4;
309
+ width: 100%;
311
310
  }
312
311
 
313
312
  .label-field-pair .field {
@@ -343,8 +342,9 @@
343
342
  }
344
343
 
345
344
  /* Remove any default margins that might interfere */
346
- .label-field-pair>* {
345
+ .label-field-pair > * {
347
346
  margin: 0;
347
+ width: 100%;
348
348
  }
349
349
 
350
350
  /* Ensure proper spacing for the mandatory asterisk */
@@ -374,7 +374,8 @@
374
374
  margin-right: auto;
375
375
  }
376
376
 
377
- .header-content {}
377
+ .header-content {
378
+ }
378
379
 
379
380
  .header-end {
380
381
  margin-left: auto;
@@ -415,8 +416,6 @@
415
416
  margin-bottom: 24px;
416
417
  }
417
418
 
418
- .info-banner-wrap-citizen-override {}
419
-
420
419
  .oc-aknowledgement-screen {
421
420
  width: auto;
422
421
  min-width: 240px;
@@ -474,7 +473,7 @@
474
473
  gap: 24px;
475
474
  width: 100%;
476
475
  max-width: 426px;
477
- min-height: 270px;
476
+ min-height: 210px;
478
477
  box-shadow: 0 14px 10px -6px rgba(0, 0, 0, 0.12), 0 8px 12px -8px rgba(0, 0, 0, 0.08);
479
478
  font-family: "Inter", -apple-system, sans-serif;
480
479
  overflow: hidden;
@@ -497,7 +496,7 @@
497
496
  z-index: 0;
498
497
  }
499
498
 
500
- .new-employee-card>* {
499
+ .new-employee-card > * {
501
500
  position: relative;
502
501
  z-index: 1;
503
502
  }
@@ -506,6 +505,18 @@
506
505
  display: flex;
507
506
  justify-content: space-between;
508
507
  align-items: center;
508
+ position: relative;
509
+ padding-bottom: 12px;
510
+ }
511
+ .card-header-row::after {
512
+ content: "";
513
+ position: absolute;
514
+ bottom: 0;
515
+ left: 0;
516
+ width: 100%;
517
+ height: 2px;
518
+ background: linear-gradient(90deg, #1a67a3 0%, rgba(26, 103, 163, 0) 100%);
519
+ border-radius: 2px;
509
520
  }
510
521
 
511
522
  .module-title {
@@ -518,7 +529,7 @@
518
529
  .module-icon-wrap {
519
530
  width: 36px;
520
531
  height: 36px;
521
- background-color: #2563eb;
532
+ background-color: #1a67a3;
522
533
  border-radius: 8px;
523
534
  display: flex;
524
535
  justify-content: center;
@@ -541,7 +552,7 @@
541
552
  .main-kpi-number {
542
553
  font-size: 4.5rem;
543
554
  font-weight: 700;
544
- color: #1d4ed8;
555
+ color: #1a67a3;
545
556
  line-height: 0.8;
546
557
  letter-spacing: -2px;
547
558
  }
@@ -566,7 +577,7 @@
566
577
  }
567
578
 
568
579
  .main-kpi-label {
569
- color: #1d4ed8;
580
+ color: #1a67a3;
570
581
  font-weight: 500;
571
582
  font-size: 1.1rem;
572
583
  }
@@ -635,7 +646,7 @@
635
646
 
636
647
  .pill-link {
637
648
  background-color: #eff6ff;
638
- color: #2563eb;
649
+ color: #1a67a3;
639
650
  padding: 6px 12px;
640
651
  border-radius: 6px;
641
652
  font-size: 0.75rem;
@@ -673,9 +684,6 @@
673
684
  background-color: #0f172a;
674
685
  }
675
686
 
676
- /* --- EXISTING CARD STYLES (Keep your existing styles) --- */
677
- /* Ensure .new-employee-card, .card-header-row, etc. remain as they were */
678
-
679
687
  /* --- NEW: EXPANDED VIEW OVERLAY --- */
680
688
  .expanded-overlay {
681
689
  position: fixed;
@@ -684,7 +692,6 @@
684
692
  width: 100vw;
685
693
  height: 100vh;
686
694
  background-color: rgba(0, 0, 0, 0.5);
687
- /* Dim background */
688
695
  z-index: 9999;
689
696
  display: flex;
690
697
  justify-content: center;
@@ -703,7 +710,6 @@
703
710
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
704
711
  }
705
712
 
706
- /* --- LEFT SIDEBAR --- */
707
713
  .expanded-sidebar {
708
714
  width: 20%;
709
715
  background-color: #ffffff;
@@ -759,10 +765,8 @@
759
765
  background-color: #f3f4f6;
760
766
  }
761
767
 
762
- /* Active State matches the screenshot (Blue bg, White text) */
763
768
  .sidebar-item.active {
764
769
  background-color: #00adef;
765
- /* Match the Property Tax highlight */
766
770
  color: #ffffff;
767
771
  box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
768
772
  padding: 6px;
@@ -779,7 +783,6 @@
779
783
 
780
784
  .sidebar-item.active .sidebar-icon-placeholder svg {
781
785
  stroke: #ffffff;
782
- /* Make icon white when active */
783
786
  }
784
787
 
785
788
  /* --- RIGHT CONTENT --- */
@@ -809,13 +812,6 @@
809
812
  gap: 12px;
810
813
  }
811
814
 
812
- .content-section-title {
813
- font-size: 1rem;
814
- font-weight: 700;
815
- color: #1a365d;
816
- margin-bottom: 16px;
817
- }
818
-
819
815
  .content-links-list {
820
816
  display: flex;
821
817
  flex-direction: column;
@@ -857,12 +853,8 @@
857
853
  .expanded-page-container {
858
854
  display: flex;
859
855
  width: 100%;
860
- /* Adjust height to fit within the layout minus header/footer if needed,
861
- or just let it flow.
862
- For a "page" feel similar to the modal, let's give it min-height.
863
- */
856
+
864
857
  min-height: calc(100vh - 100px);
865
- /* border-radius: 8px; */
866
858
  overflow: hidden;
867
859
  gap: 20px;
868
860
  }
@@ -887,7 +879,6 @@
887
879
  max-width: 1200px;
888
880
  height: 80vh;
889
881
  background-color: #f7f8fa;
890
- /* Light grey background like screenshot */
891
882
  border-radius: 8px;
892
883
  overflow: hidden;
893
884
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
@@ -903,13 +894,6 @@
903
894
  flex-shrink: 0;
904
895
  }
905
896
 
906
- .sidebar-header {
907
- display: flex;
908
- justify-content: space-between;
909
- align-items: center;
910
- margin-bottom: 24px;
911
- }
912
-
913
897
  .sidebar-title {
914
898
  font-size: 1.2rem;
915
899
  font-weight: 600;
@@ -947,7 +931,6 @@
947
931
  background-color: #f3f4f6;
948
932
  }
949
933
 
950
- /* Active State: Blue Background, White Text */
951
934
  .sidebar-item.active {
952
935
  background-color: #00adef;
953
936
  color: #ffffff;
@@ -972,15 +955,13 @@
972
955
  .sidebar-icon {
973
956
  width: 18px;
974
957
  height: 18px;
975
- color: #2563eb;
976
- /* Professional blue */
958
+ color: #1a67a3;
977
959
  transition: all 0.25s ease;
978
960
  opacity: 0.75;
979
961
  }
980
962
 
981
963
  .sidebar-item.active .sidebar-icon {
982
- color: #1d4ed8;
983
- /* Slightly deeper blue when active */
964
+ color: #1a67a3;
984
965
  transform: scale(1.1);
985
966
  opacity: 1;
986
967
  }
@@ -991,24 +972,10 @@
991
972
  background-color: #ffffff;
992
973
  padding: 30px;
993
974
  overflow-y: auto;
994
- /* Gap between sidebar and content */
995
975
  border-radius: 8px;
996
976
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.02);
997
977
  }
998
978
 
999
- .content-header {
1000
- border-bottom: 1px solid #e5e7eb;
1001
- padding-bottom: 16px;
1002
- margin-bottom: 24px;
1003
- }
1004
-
1005
- .content-title {
1006
- font-size: 1.5rem;
1007
- font-weight: 700;
1008
- color: #1a365d;
1009
- margin: 0;
1010
- }
1011
-
1012
979
  .content-section-title {
1013
980
  font-size: 1rem;
1014
981
  font-weight: 700;
@@ -1023,7 +990,6 @@
1023
990
  margin-top: 16px;
1024
991
  }
1025
992
 
1026
- /* Link Wrapper to handle <a> or <Link> tags */
1027
993
  .link-wrapper a {
1028
994
  text-decoration: none;
1029
995
  color: inherit;
@@ -1052,7 +1018,7 @@
1052
1018
  top: 0;
1053
1019
  bottom: 0;
1054
1020
  width: 4px;
1055
- background: linear-gradient(135deg, #00adef, #2563eb);
1021
+ background: linear-gradient(135deg, #00adef, #1a67a3);
1056
1022
  opacity: 0;
1057
1023
  transition: opacity 0.3s ease;
1058
1024
  }
@@ -1080,7 +1046,7 @@
1080
1046
  }
1081
1047
 
1082
1048
  .module-link-card:hover .link-card-label {
1083
- color: #2563eb;
1049
+ color: #1a67a3;
1084
1050
  }
1085
1051
 
1086
1052
  .link-card-count {
@@ -1088,7 +1054,7 @@
1088
1054
  align-items: center;
1089
1055
  justify-content: center;
1090
1056
  background-color: #eff6ff;
1091
- color: #2563eb;
1057
+ color: #1a67a3;
1092
1058
  font-size: 0.8rem;
1093
1059
  font-weight: 700;
1094
1060
  padding: 2px 8px;
@@ -1110,7 +1076,7 @@
1110
1076
 
1111
1077
  .module-link-card:hover .link-card-arrow {
1112
1078
  background-color: #dbeafe;
1113
- color: #2563eb;
1079
+ color: #1a67a3;
1114
1080
  transform: translateX(4px);
1115
1081
  }
1116
1082
 
@@ -1132,7 +1098,7 @@
1132
1098
  --text-muted: #64748b;
1133
1099
  --hover-bg: #f8fafc;
1134
1100
  --active-bg: #eff6ff;
1135
- --active-text: #2563eb;
1101
+ --active-text: #1a67a3;
1136
1102
 
1137
1103
  /* Animations */
1138
1104
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
@@ -1177,14 +1143,13 @@
1177
1143
  .brand-container {
1178
1144
  display: flex;
1179
1145
  align-items: center;
1180
- /* Gap removed to allow for smooth width reduction */
1181
1146
  }
1182
1147
 
1183
1148
  .brand-icon {
1184
1149
  width: 36px;
1185
1150
  height: 36px;
1186
1151
  border-radius: 10px;
1187
- background: linear-gradient(135deg, #2563eb, #3b82f6);
1152
+ background: linear-gradient(135deg, #1a67a3, #3b82f6);
1188
1153
  color: white;
1189
1154
  display: flex;
1190
1155
  justify-content: center;
@@ -1198,10 +1163,8 @@
1198
1163
  font-weight: 700;
1199
1164
  color: var(--text-main);
1200
1165
  margin: 0 0 0 16px;
1201
- /* Spacing applied here instead of flex gap */
1202
1166
  transition: opacity var(--transition-fast), width var(--transition-fast), margin var(--transition-fast);
1203
1167
  overflow: hidden;
1204
- /* Prevents text squishing */
1205
1168
  }
1206
1169
 
1207
1170
  .collapse-toggle {
@@ -1223,7 +1186,6 @@
1223
1186
  color: var(--text-main);
1224
1187
  }
1225
1188
 
1226
- /* --- Navigation --- */
1227
1189
  .sidebar-nav {
1228
1190
  display: flex;
1229
1191
  flex-direction: column;
@@ -1244,7 +1206,6 @@
1244
1206
  display: flex;
1245
1207
  align-items: center;
1246
1208
  padding: 12px;
1247
- /* Gap removed here as well */
1248
1209
  }
1249
1210
 
1250
1211
  .nav-icon-wrapper {
@@ -1261,7 +1222,6 @@
1261
1222
  font-weight: 700;
1262
1223
  letter-spacing: 0.5px;
1263
1224
  background-color: var(--border-color);
1264
- /* Added a subtle background circle for initials */
1265
1225
  color: var(--text-muted);
1266
1226
  width: 100%;
1267
1227
  height: 100%;
@@ -1283,7 +1243,6 @@
1283
1243
  overflow: hidden;
1284
1244
  }
1285
1245
 
1286
- /* Hover & Active States */
1287
1246
  .nav-link:hover {
1288
1247
  background-color: var(--hover-bg);
1289
1248
  color: var(--text-main);
@@ -1305,7 +1264,6 @@
1305
1264
 
1306
1265
  /* --- COLLAPSED STATE STYLES --- */
1307
1266
 
1308
- /* Smoothly shrink and hide text */
1309
1267
  .collapsed .brand-name,
1310
1268
  .collapsed .nav-text {
1311
1269
  opacity: 0;
@@ -1334,4 +1292,4 @@
1334
1292
  .collapsed .nav-item-content {
1335
1293
  justify-content: center;
1336
1294
  padding: 12px 0;
1337
- }
1295
+ }
@@ -0,0 +1,23 @@
1
+ .juridictions-wrapper {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 8px;
5
+ }
6
+
7
+ .juridictions {
8
+ display: grid;
9
+ grid-template-columns: repeat(2, 1fr);
10
+ width: 100%;
11
+ grid-column: span 2;
12
+ gap: 16px;
13
+
14
+ .juridiction-form {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 8px;
18
+ }
19
+ .label-field-pair {
20
+ display: flex;
21
+ flex-direction: row;
22
+ }
23
+ }