@djb25/digit-ui-css 1.0.33 → 1.0.35

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.33",
3
+ "version": "1.0.35",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -4,13 +4,19 @@
4
4
  padding: 16px;
5
5
  background-color: #fff;
6
6
  border-radius: 12px;
7
- /* Reduced padding slightly to fit better if needed, or keep 24 */
8
- height: 100%;
7
+ overflow-y: scroll;
8
+ height: fit-content;
9
+ @media (min-width: 768px) {
10
+ max-width: 25%;
11
+ min-width: 250px;
12
+ min-height: 500px;
13
+ }
9
14
  }
10
15
 
11
16
  .vertical-timeline-step {
12
17
  display: flex;
13
18
  position: relative;
19
+ gap: 16px;
14
20
  @media (min-width: 768px) {
15
21
  min-height: 80px;
16
22
  padding-bottom: 20px;
@@ -57,7 +63,6 @@
57
63
  /* Larger text */
58
64
  color: #6b7280;
59
65
  z-index: 1;
60
- margin-right: 16px;
61
66
  flex-shrink: 0;
62
67
  transition: all 0.3s ease;
63
68
  }
@@ -92,10 +97,7 @@
92
97
  color: #4b5563;
93
98
  font-weight: 500;
94
99
  line-height: normal;
95
- /* Reset line height */
96
- @media (min-width: 768px) {
97
- text-wrap: nowrap;
98
- }
100
+ word-wrap: anywhere;
99
101
  }
100
102
 
101
103
  .vertical-timeline-step.active .vertical-timeline-label {
@@ -124,7 +126,7 @@
124
126
  max-width: 100%;
125
127
  }
126
128
 
127
- .active {
129
+ .activeTimeline {
128
130
  background-color: #fff;
129
131
  border-radius: 99999px;
130
132
  height: 2rem;
@@ -26,12 +26,22 @@
26
26
  box-sizing: border-box;
27
27
  }
28
28
 
29
+ .hidden-content {
30
+ display: none !important;
31
+ }
32
+
33
+ @media (max-width: 768px) {
34
+ .hidden-card {
35
+ display: none !important;
36
+ }
37
+ }
38
+
29
39
  .timeline-container2 {
30
40
  display: flex;
31
41
  flex-direction: column;
32
42
  position: relative;
33
43
  padding: 10px 0;
34
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
44
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
35
45
  }
36
46
 
37
47
  .timeline-item2 {
@@ -111,7 +121,7 @@
111
121
 
112
122
  /* Tiny triangle pointer pointing to the circle */
113
123
  .timeline-content2::before {
114
- content: '';
124
+ content: "";
115
125
  position: absolute;
116
126
  left: -5px;
117
127
  top: calc(var(--tl-circle-size) / 2 - 5px);
@@ -185,6 +195,18 @@
185
195
  border-left: 2px solid #d1d5db;
186
196
  }
187
197
 
198
+ .timeline-header-wrapper {
199
+ transition: transform 0.3s ease;
200
+ transform-origin: center;
201
+ margin-bottom: 16px;
202
+ display: flex;
203
+ justify-content: space-between;
204
+ }
205
+
206
+ .timeline-arrow.collapsed {
207
+ transform: rotate(180deg);
208
+ }
209
+
188
210
  /* Footer section: Assignee */
189
211
  .timeline-footer2 {
190
212
  margin-top: 8px;
@@ -213,4 +235,4 @@
213
235
  /* Optional: Make the whole clock pulse gently if it's the current item */
214
236
  .timeline-item2.current2 .timeline-circle2 svg {
215
237
  filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.5));
216
- }
238
+ }
@@ -40,6 +40,13 @@
40
40
  padding-right: 24px;
41
41
  text-align: right;
42
42
  }
43
+
44
+ @media (max-width: 768px) {
45
+ .action-bar-wrap {
46
+ margin-bottom: 30px;
47
+ }
48
+ }
49
+
43
50
  @screen dt {
44
51
  .action-bar-wrap {
45
52
  box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
@@ -96,6 +103,10 @@
96
103
  color: rgb(244, 119, 56);
97
104
  display: flex;
98
105
  cursor: pointer;
106
+
107
+ @media (max-width: 480px) {
108
+ padding: 5px;
109
+ }
99
110
  }
100
111
 
101
112
  .search-add-icon {
@@ -27,7 +27,7 @@ body {
27
27
  }
28
28
 
29
29
  .link-label {
30
- @apply block text-link text-primary-main mb-md ml-md cursor-pointer;
30
+ @apply block text-link text-primary-main cursor-pointer;
31
31
 
32
32
  &:hover {
33
33
  @apply text-primary-main;
@@ -121,6 +121,7 @@ body {
121
121
  flex-direction: column;
122
122
  gap: 12px;
123
123
  padding-top: 12px;
124
+ padding-bottom: 12px;
124
125
  }
125
126
 
126
127
  .wt-inbox {
@@ -266,10 +267,6 @@ body {
266
267
  @apply text-heading-l-dt;
267
268
  }
268
269
 
269
- .link-label {
270
- margin-left: 0;
271
- }
272
-
273
270
  .back-btn {
274
271
  margin-left: 0;
275
272
  }
@@ -305,17 +302,6 @@ body {
305
302
  margin: 0;
306
303
  }
307
304
 
308
- .module-carousel-header h3::before {
309
- content: "";
310
- position: absolute;
311
- left: 0;
312
- top: 4px;
313
- height: 16px;
314
- width: 4px;
315
- background: #3b82f6;
316
- border-radius: 4px;
317
- }
318
-
319
305
  .module-carousel-header {
320
306
  background: linear-gradient(135deg, #3585c4, #6fa0f0 40%, #80b3ff);
321
307
  padding: 12px 16px;
@@ -107,6 +107,7 @@
107
107
  }
108
108
 
109
109
  .card-label {
110
+ word-wrap: anywhere;
110
111
  @apply text-legend text-text-primary mb-md;
111
112
  }
112
113
 
@@ -131,6 +132,12 @@
131
132
  }
132
133
  }
133
134
 
135
+ .card-form-container {
136
+ display: flex;
137
+ flex-direction: column;
138
+ gap: 16px;
139
+ }
140
+
134
141
  .vehicle-details-card {
135
142
  width: 100%;
136
143
  height: fit-content;
@@ -182,7 +189,7 @@
182
189
  }
183
190
 
184
191
  header {
185
- @apply font-rc font-medium text-legend text-white leading-10;
192
+ @apply font-rc font-medium text-legend text-white;
186
193
  }
187
194
  }
188
195
 
@@ -199,6 +206,14 @@
199
206
  }
200
207
  }
201
208
 
209
+ @media (max-width: 768px) {
210
+ .submit-bar {
211
+ padding-inline: 24px;
212
+ border-radius: 10px;
213
+ box-shadow: none;
214
+ background: linear-gradient(278deg, rgba(110, 191, 221, 0.925) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
215
+ }
216
+ }
202
217
  @screen dt {
203
218
  .submit-bar,
204
219
  .submit-bar-disabled {
@@ -916,7 +931,6 @@
916
931
  display: flex;
917
932
  flex-direction: column;
918
933
  width: 100%;
919
- padding-bottom: 16px;
920
934
  overflow-y: scroll;
921
935
  }
922
936
 
@@ -1217,6 +1231,7 @@
1217
1231
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.04);
1218
1232
  position: relative;
1219
1233
  z-index: 101;
1234
+ padding: 20px;
1220
1235
  }
1221
1236
 
1222
1237
  /* Width Control */
@@ -1226,6 +1241,7 @@
1226
1241
 
1227
1242
  .premium-sidebar.collapsed {
1228
1243
  width: var(--sidebar-collapsed);
1244
+ padding: 5px;
1229
1245
  }
1230
1246
 
1231
1247
  /* --- Header & Brand --- */
@@ -1415,15 +1431,20 @@
1415
1431
  display: none;
1416
1432
  }
1417
1433
 
1434
+ .module-sidebar-wrapper {
1435
+ height: 100%;
1436
+ }
1437
+
1418
1438
  @media (max-width: 768px) {
1419
1439
  /* Wrapper becomes a sticky top bar, not a flex column member */
1420
1440
  .module-sidebar-wrapper {
1421
- position: sticky;
1441
+ position: fixed;
1422
1442
  top: 0;
1423
- z-index: 200;
1424
- width: 100%;
1425
- height: auto;
1426
- flex-shrink: 0;
1443
+ left: 0;
1444
+ height: 100vh;
1445
+ z-index: 100;
1446
+ pointer-events: none;
1447
+ /* Let clicks pass through when hidden */
1427
1448
  }
1428
1449
 
1429
1450
  /* Hide desktop sidebar — zero dimensions so flex row is unaffected */
@@ -1436,6 +1457,14 @@
1436
1457
  border: none !important;
1437
1458
  padding: 0 !important;
1438
1459
  margin: 0 !important;
1460
+ position: absolute;
1461
+ top: 0;
1462
+ left: 0;
1463
+ height: 100vh;
1464
+ width: 280px !important;
1465
+ /* Force fixed width on mobile drawer */
1466
+ transform: translateX(-100%);
1467
+ box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
1439
1468
  }
1440
1469
 
1441
1470
  /* Hide old toggle + backdrop */
@@ -1488,38 +1517,15 @@
1488
1517
  pointer-events: none;
1489
1518
  transition: opacity 0.4s ease;
1490
1519
  }
1491
-
1492
- .module-sidebar-backdrop.visible {
1520
+ module-sidebar-wrapper .module-sidebar-backdrop.visible {
1493
1521
  opacity: 1;
1494
1522
  pointer-events: auto;
1495
1523
  }
1496
1524
 
1497
- /* Sidebar Wrapper & Mobile Off-canvas Drawer */
1498
- .module-sidebar-wrapper {
1499
- position: fixed;
1500
- top: 0;
1501
- left: 0;
1502
- height: 100vh;
1503
- z-index: 100;
1504
- pointer-events: none;
1505
- /* Let clicks pass through when hidden */
1506
- }
1507
-
1508
1525
  .module-sidebar-wrapper.mobile-open {
1509
1526
  pointer-events: auto;
1510
1527
  }
1511
1528
 
1512
- .premium-sidebar {
1513
- position: absolute;
1514
- top: 0;
1515
- left: 0;
1516
- height: 100vh;
1517
- width: 280px !important;
1518
- /* Force fixed width on mobile drawer */
1519
- transform: translateX(-100%);
1520
- box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
1521
- }
1522
-
1523
1529
  .premium-sidebar.mobile-open {
1524
1530
  transform: translateX(0);
1525
1531
  }
@@ -12,7 +12,8 @@
12
12
  height: 38px;
13
13
  opacity: 0;
14
14
  position: absolute;
15
- top: 0;
15
+ top: 50%;
16
+ transform: translateY(-50%);
16
17
  left: 0;
17
18
  z-index: 10;
18
19
  cursor: pointer;
@@ -49,7 +50,8 @@
49
50
  background-color: #fff;
50
51
  border-radius: 2px;
51
52
  position: absolute;
52
- top: 0;
53
+ top: 50%;
54
+ transform: translateY(-50%);
53
55
  left: 0;
54
56
  z-index: 0;
55
57
  display: flex;
@@ -90,4 +92,4 @@
90
92
  margin-left: 48px;
91
93
  font-size: 14px;
92
94
  color: #333;
93
- }
95
+ }
@@ -51,6 +51,7 @@
51
51
  @apply text-heading-s;
52
52
  white-space: break-spaces !important;
53
53
  word-break: break-all;
54
+ text-align: center;
54
55
  }
55
56
 
56
57
  .caption {
@@ -109,7 +110,7 @@
109
110
  }
110
111
  &.status-radio-table {
111
112
  margin-top: 1rem;
112
- .row {
113
+ .row {
113
114
  span {
114
115
  width: 24px;
115
116
  display: block;
@@ -120,15 +121,17 @@
120
121
  }
121
122
 
122
123
  &.view-header {
123
- .row {
124
- display: grid;
125
- grid-template-columns: 1fr 68%;
126
- }
124
+ .row {
125
+ display: grid;
126
+ grid-template-columns: 1fr 68%;
127
+ }
127
128
  }
128
129
  }
129
130
 
130
-
131
- .pt-citizen {.data-table {.row {
132
- justify-content: space-between;
133
-
134
- }}}
131
+ .pt-citizen {
132
+ .data-table {
133
+ .row {
134
+ justify-content: space-between;
135
+ }
136
+ }
137
+ }
@@ -31,6 +31,7 @@
31
31
  min-width: 200px;
32
32
  }
33
33
  }
34
+
34
35
  @screen dt {
35
36
  .InboxComposerWrapper {
36
37
  grid-template-columns: calc(25% - 32px) 75%;
@@ -4,11 +4,17 @@
4
4
  }
5
5
 
6
6
  .page-loader {
7
- padding-top: 88px;
7
+ position: absolute;
8
+ top: 50%;
9
+ left: 50%;
10
+ transform: translate(-50%, -50%);
8
11
  }
9
12
 
10
13
  .module-loader {
11
- padding: 16px;
14
+ position: absolute;
15
+ top: 50%;
16
+ left: 50%;
17
+ transform: translate(-50%, -50%);
12
18
  }
13
19
 
14
20
  @keyframes ldio-pjg92h09b2o {
@@ -76,6 +76,7 @@
76
76
  position: relative;
77
77
  min-height: 1px;
78
78
  overflow: auto;
79
+ padding-top: 60px !important;
79
80
 
80
81
  .menu-item {
81
82
  border: 10px;
@@ -1,5 +1,6 @@
1
1
  .popup-wrap {
2
2
  background: rgba(0, 0, 0, 0.7);
3
+ padding: 100px;
3
4
  @apply flex fixed w-full h-full overflow-auto top-0 left-0 min-h-screen;
4
5
  z-index: 10000;
5
6
  }
@@ -12,6 +13,6 @@
12
13
  }
13
14
  }
14
15
 
15
- .popup-close-icon{
16
+ .popup-close-icon {
16
17
  @apply flex justify-end;
17
- }
18
+ }
@@ -30,7 +30,7 @@
30
30
 
31
31
  &.state {
32
32
  height: 50px;
33
- max-height: 20px;
33
+ max-height: 30px;
34
34
  width: auto;
35
35
  }
36
36
  }
@@ -167,3 +167,70 @@ video::-webkit-media-controls-panel {
167
167
  .topbarOptionsClassName {
168
168
  right: -3rem !important;
169
169
  }
170
+
171
+ .user-profile-pill {
172
+ display: flex;
173
+ align-items: center;
174
+ padding: 4px 16px 4px 4px;
175
+ border: 1px solid #d6d6d6;
176
+ border-radius: 50px !important;
177
+ background: white;
178
+ cursor: pointer;
179
+ gap: 12px;
180
+ transition: all 0.2s ease;
181
+ min-width: fit-content;
182
+
183
+ &:hover {
184
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
185
+ border-color: #00497e;
186
+ }
187
+
188
+ .user-profile-avatar {
189
+ width: 42px;
190
+ height: 42px;
191
+ border-radius: 50%;
192
+ background: #00497e;
193
+ color: white;
194
+ display: flex;
195
+ align-items: center;
196
+ justify-content: center;
197
+ font-weight: 700;
198
+ font-size: 18px;
199
+ flex-shrink: 0;
200
+ }
201
+
202
+ .user-profile-img {
203
+ width: 42px;
204
+ height: 42px;
205
+ border-radius: 50%;
206
+ object-fit: cover;
207
+ flex-shrink: 0;
208
+ }
209
+
210
+ .user-profile-info {
211
+ display: flex;
212
+ flex-direction: column;
213
+ justify-content: center;
214
+ line-height: 1.2;
215
+
216
+ .user-profile-name {
217
+ font-weight: 700;
218
+ font-size: 15px;
219
+ color: #0b111d;
220
+ white-space: nowrap;
221
+ }
222
+
223
+ .user-profile-details {
224
+ font-size: 13px;
225
+ color: #6b778c;
226
+ font-weight: 400;
227
+ white-space: nowrap;
228
+ }
229
+ }
230
+
231
+ .chevron-icon {
232
+ margin-left: 2px;
233
+ color: #6b778c;
234
+ flex-shrink: 0;
235
+ }
236
+ }
@@ -20,7 +20,7 @@ body {
20
20
 
21
21
  .link-label {
22
22
  @extend .light-primary;
23
- @apply block mb-md ml-md cursor-pointer;
23
+ @apply block cursor-pointer;
24
24
 
25
25
  &:hover {
26
26
  @extend .light-text-color-primary;
@@ -32,8 +32,4 @@ body {
32
32
  margin-left: 0;
33
33
  @apply text-heading-l-dt;
34
34
  }
35
-
36
- .link-label {
37
- margin-left: 0;
38
- }
39
35
  }
package/src/index.scss CHANGED
@@ -216,6 +216,11 @@ h6 {
216
216
  margin-left: auto;
217
217
  }
218
218
 
219
+ .overflow-y-scroll {
220
+ overflow-y: scroll;
221
+ height: 100%;
222
+ }
223
+
219
224
  .application-details-link-button {
220
225
  @apply flex justify-between items-center;
221
226
 
@@ -514,8 +519,6 @@ input[type="number"] {
514
519
  }
515
520
 
516
521
  .submit-bar-search {
517
- margin-top: 32px;
518
- margin-left: 16px;
519
522
  max-width: 256px;
520
523
  }
521
524