@djb25/digit-ui-css 1.0.56 → 1.0.58

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.56",
3
+ "version": "1.0.58",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -882,27 +882,21 @@
882
882
  stroke: #ffffff;
883
883
  }
884
884
 
885
- .expanded-content {
886
- flex: 1;
887
- background-color: #ffffff;
888
- padding: 40px;
889
- overflow-y: auto;
890
- border-radius: 8px;
891
- height: 100%;
892
- }
893
-
894
885
  .content-header {
895
- border-bottom: 1px solid #e5e7eb;
896
- padding-bottom: 16px;
897
- margin-bottom: 24px;
886
+ display: flex;
887
+ align-items: center;
888
+ justify-content: space-between;
889
+ margin-bottom: 28px;
890
+ padding-bottom: 18px;
891
+ border-bottom: 1px solid #f1f5f9;
898
892
  }
899
893
 
900
894
  .content-title {
901
- font-size: 1.5rem;
902
- font-weight: 700;
903
- color: #1a365d;
904
- /* Dark Blue */
905
895
  margin: 0;
896
+ font-size: 28px;
897
+ font-weight: 800;
898
+ letter-spacing: -0.03em;
899
+ color: #0f172a;
906
900
  display: flex;
907
901
  align-items: center;
908
902
  gap: 12px;
@@ -911,21 +905,7 @@
911
905
  .content-links-list {
912
906
  display: flex;
913
907
  flex-direction: column;
914
- gap: 0;
915
- }
916
-
917
- .content-link-row {
918
- display: flex;
919
- justify-content: space-between;
920
- align-items: center;
921
- padding: 20px 0;
922
- border-bottom: 1px solid #f3f4f6;
923
- cursor: pointer;
924
- transition: color 0.2s;
925
- }
926
-
927
- .content-link-row:hover {
928
- color: #00adef;
908
+ gap: 14px;
929
909
  }
930
910
 
931
911
  .link-label {
@@ -933,17 +913,6 @@
933
913
  font-weight: 500;
934
914
  }
935
915
 
936
- .link-arrow {
937
- display: flex;
938
- align-items: center;
939
- }
940
-
941
- .no-links-msg {
942
- color: #9ca3af;
943
- font-style: italic;
944
- padding: 20px 0;
945
- }
946
-
947
916
  .expanded-page-container {
948
917
  display: flex;
949
918
  flex-direction: column;
@@ -1100,15 +1069,6 @@
1100
1069
  opacity: 1;
1101
1070
  }
1102
1071
 
1103
- .expanded-content {
1104
- flex: 1;
1105
- background-color: #ffffff;
1106
- padding: 30px;
1107
- overflow-y: auto;
1108
- border-radius: 8px;
1109
- box-shadow: -2px 0 10px rgba(0, 0, 0, 0.02);
1110
- }
1111
-
1112
1072
  .content-section-title {
1113
1073
  font-size: 1rem;
1114
1074
  font-weight: 700;
@@ -1123,6 +1083,17 @@
1123
1083
  margin-top: 16px;
1124
1084
  }
1125
1085
 
1086
+ .expanded-content {
1087
+ flex: 1;
1088
+ height: 100%;
1089
+ overflow-y: auto;
1090
+ background-color: #ffffff;
1091
+ padding: 32px;
1092
+ border-radius: 28px;
1093
+ border: 1px solid #eef2f7;
1094
+ box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
1095
+ }
1096
+
1126
1097
  .link-wrapper a {
1127
1098
  text-decoration: none;
1128
1099
  color: inherit;
@@ -1130,17 +1101,16 @@
1130
1101
  }
1131
1102
 
1132
1103
  .module-link-card {
1104
+ position: relative;
1133
1105
  display: flex;
1134
1106
  justify-content: space-between;
1135
1107
  align-items: center;
1136
- padding: 24px 20px;
1108
+ padding: 20px;
1137
1109
  background-color: #ffffff;
1138
1110
  border-radius: 12px;
1139
- border: 1px solid #f3f4f6;
1140
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
1111
+ border: 1px solid #edf2f7;
1141
1112
  cursor: pointer;
1142
- transition: all 0.3s ease;
1143
- position: relative;
1113
+ transition: all 0.25s ease;
1144
1114
  overflow: hidden;
1145
1115
  }
1146
1116
 
@@ -1151,72 +1121,131 @@
1151
1121
  top: 0;
1152
1122
  bottom: 0;
1153
1123
  width: 4px;
1154
- background: linear-gradient(135deg, #00adef, #1a67a3);
1124
+ height: 100%;
1125
+ background: linear-gradient(180deg, #2563eb, #0ea5e9);
1155
1126
  opacity: 0;
1156
- transition: opacity 0.3s ease;
1127
+ transition: opacity 0.25s ease;
1157
1128
  }
1158
1129
 
1159
1130
  .module-link-card:hover {
1160
- transform: translateY(-4px);
1161
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
1131
+ transform: translateY(-2px);
1162
1132
  border-color: #dbeafe;
1133
+ background: #fcfdff;
1134
+ box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
1163
1135
  }
1164
1136
 
1165
1137
  .module-link-card:hover::before {
1166
1138
  opacity: 1;
1167
1139
  }
1168
1140
 
1141
+ .module-link-card:hover .link-card-label {
1142
+ color: #2563eb;
1143
+ }
1144
+
1145
+ .module-link-card:hover .link-card-arrow {
1146
+ background: #f8f9fd;
1147
+ border-color: #d3dcf0;
1148
+ color: white;
1149
+ transform: translateX(3px);
1150
+ }
1151
+
1169
1152
  .link-card-info {
1170
1153
  display: flex;
1154
+ align-items: center;
1155
+ justify-content: space-between;
1156
+ gap: 16px;
1157
+ flex: 1;
1158
+ }
1159
+
1160
+ .link-card-copy {
1161
+ display: flex;
1162
+ flex-direction: column;
1171
1163
  gap: 6px;
1172
1164
  }
1173
1165
 
1174
1166
  .link-card-label {
1175
- font-size: 1.05rem;
1176
- font-weight: 600;
1177
- color: #1f2937;
1178
- transition: color 0.3s ease;
1167
+ font-size: 16px;
1168
+ font-weight: 700;
1169
+ color: #0f172a;
1170
+ transition: color 0.25s ease;
1179
1171
  }
1180
1172
 
1181
- .module-link-card:hover .link-card-label {
1182
- color: #1a67a3;
1173
+ .link-card-sublabel {
1174
+ font-size: 13px;
1175
+ line-height: 1.5;
1176
+ color: #64748b;
1183
1177
  }
1184
1178
 
1185
1179
  .link-card-count {
1186
1180
  display: inline-flex;
1187
1181
  align-items: center;
1188
1182
  justify-content: center;
1189
- background-color: #eff6ff;
1190
- color: #1a67a3;
1191
- font-size: 0.8rem;
1183
+ min-width: 34px;
1184
+ height: 34px;
1185
+ padding: 0 12px;
1186
+ border-radius: 999px;
1187
+ background: #eff6ff;
1188
+ color: #2563eb;
1189
+ font-size: 13px;
1192
1190
  font-weight: 700;
1193
- padding: 2px 8px;
1194
- border-radius: 9999px;
1195
- width: fit-content;
1191
+ flex-shrink: 0;
1196
1192
  }
1197
1193
 
1198
1194
  .link-card-arrow {
1195
+ width: 42px;
1196
+ height: 42px;
1197
+ border-radius: 14px;
1198
+ background: #f8fafc;
1199
+ border: 1px solid #eef2f7;
1199
1200
  display: flex;
1200
1201
  align-items: center;
1201
1202
  justify-content: center;
1202
- width: 32px;
1203
- height: 32px;
1204
- border-radius: 50%;
1205
- background-color: #f3f4f6;
1206
- color: #9ca3af;
1207
- transition: all 0.3s ease;
1203
+ color: #64748b;
1204
+ transition: all 0.25s ease;
1205
+ flex-shrink: 0;
1208
1206
  }
1209
1207
 
1210
- .module-link-card:hover .link-card-arrow {
1211
- background-color: #dbeafe;
1212
- color: #1a67a3;
1213
- transform: translateX(4px);
1208
+ .no-links-msg {
1209
+ padding: 40px 20px;
1210
+ text-align: center;
1211
+ border-radius: 20px;
1212
+ background: #f8fafc;
1213
+ color: #64748b;
1214
+ font-size: 14px;
1215
+ border: 1px dashed #cbd5e1;
1214
1216
  }
1215
1217
 
1216
- .no-links-msg {
1217
- color: #9ca3af;
1218
- font-style: italic;
1219
- padding: 20px 0;
1218
+ .expanded-content::-webkit-scrollbar {
1219
+ width: 8px;
1220
+ }
1221
+
1222
+ .expanded-content::-webkit-scrollbar-thumb {
1223
+ background: #dbeafe;
1224
+
1225
+ border-radius: 999px;
1226
+ }
1227
+
1228
+ @media (max-width: 768px) {
1229
+ .expanded-content {
1230
+ padding: 20px;
1231
+ }
1232
+
1233
+ .content-title {
1234
+ font-size: 22px;
1235
+ }
1236
+
1237
+ .module-link-card {
1238
+ padding: 18px;
1239
+ }
1240
+
1241
+ .link-card-label {
1242
+ font-size: 15px;
1243
+ }
1244
+
1245
+ .link-card-arrow {
1246
+ width: 38px;
1247
+ height: 38px;
1248
+ }
1220
1249
  }
1221
1250
 
1222
1251
  :root {
@@ -64,7 +64,7 @@
64
64
  .checkbox-wrap .custom-checkbox svg,
65
65
  .checkbox-wrap .custom-checkbox-emp svg {
66
66
  opacity: 0;
67
- color: #e84335;
67
+ color: #00497e;
68
68
  transition: opacity 0.15s ease;
69
69
  pointer-events: none;
70
70
  }
@@ -72,7 +72,7 @@
72
72
  /* Checked state */
73
73
  .checkbox-wrap input:checked + .custom-checkbox,
74
74
  .checkbox-wrap input:checked + .custom-checkbox-emp {
75
- border-color: #e84335;
75
+ border-color: #00497e;
76
76
  }
77
77
 
78
78
  .checkbox-wrap input:checked + .custom-checkbox svg,
@@ -97,8 +97,8 @@
97
97
 
98
98
  .icon {
99
99
  display: block;
100
- color: rgb(117, 117, 117);
101
- fill: rgb(117, 117, 117);
100
+ color: #065297;
101
+ fill: #065297;
102
102
  height: 21px;
103
103
  width: 21px;
104
104
  float: left;
@@ -111,7 +111,7 @@
111
111
  margin-top: 16px;
112
112
  }
113
113
 
114
- .icon+.menu-label {
114
+ .icon + .menu-label {
115
115
  margin-left: 36px;
116
116
  text-overflow: ellipsis;
117
117
  white-space: nowrap;
@@ -232,7 +232,7 @@
232
232
  margin-top: 16px;
233
233
  }
234
234
 
235
- .icon+.menu-label {
235
+ .icon + .menu-label {
236
236
  margin-left: 36px;
237
237
  overflow: hidden;
238
238
  text-overflow: ellipsis;
@@ -342,4 +342,4 @@
342
342
  img {
343
343
  @apply mr-sm;
344
344
  }
345
- }
345
+ }
@@ -43,12 +43,12 @@
43
43
  flex-direction: column;
44
44
  gap: 8px;
45
45
  padding: 10px 8px 14px;
46
- transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
46
+ transition: width 0.3s ease-in-out, box-shadow 0.3s ease, transform 0.3s ease-in-out;
47
47
  overflow: hidden;
48
48
  position: relative;
49
49
  z-index: 101;
50
- padding-top: 70px;
51
50
  min-height: 100%;
51
+ height: 100%;
52
52
  }
53
53
 
54
54
  .citizen-static-sidebar.expanded {
@@ -57,6 +57,7 @@
57
57
 
58
58
  .citizen-static-sidebar.collapsed {
59
59
  width: var(--sidebar-collapsed);
60
+ height: 100%;
60
61
  }
61
62
 
62
63
  .citizen-sidebar-header {
@@ -112,8 +113,7 @@
112
113
  .citizen-static-sidebar .profile-section {
113
114
  background: #f8fafc;
114
115
  border-radius: 14px;
115
- padding: 16px 10px 12px;
116
- margin: 0 6px;
116
+ padding: 8px;
117
117
  }
118
118
 
119
119
  .citizen-static-sidebar .profile-section img {
@@ -123,14 +123,12 @@
123
123
  }
124
124
 
125
125
  .citizen-static-sidebar .drawer-desktop {
126
- background: #ffffff;
126
+ background-color: #edf2fd;
127
127
  border-radius: 14px;
128
128
  padding: 6px;
129
- margin: 0 4px;
130
129
  border: 1px solid #eef2f7;
131
130
  flex: 1;
132
- overflow-y: auto;
133
- overflow-x: hidden;
131
+ overflow-y: scroll;
134
132
  }
135
133
 
136
134
  .citizen-static-sidebar .drawer-desktop .sidebar-list {
@@ -181,6 +179,14 @@
181
179
  pointer-events: none;
182
180
  }
183
181
 
182
+ .citizen-static-sidebar.collapsed {
183
+ .citizen-sidebar-header {
184
+ .citizen-sidebar-brand {
185
+ display: none;
186
+ }
187
+ }
188
+ }
189
+
184
190
  .citizen-static-sidebar.collapsed .citizen-sidebar-header {
185
191
  flex-direction: column;
186
192
  gap: 10px;
@@ -213,10 +219,6 @@
213
219
  margin: 0;
214
220
  }
215
221
 
216
- .citizen-static-sidebar.collapsed .profile-section {
217
- padding: 14px 6px 10px;
218
- }
219
-
220
222
  .citizen-static-sidebar.collapsed .profile-section img {
221
223
  width: 44px;
222
224
  height: 44px;