@djb25/digit-ui-css 1.0.34 → 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/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/VerticalTimeline.scss +9 -5
- package/src/components/actionbar.scss +4 -0
- package/src/components/body.scss +1 -16
- package/src/components/card.scss +12 -8
- package/src/components/checkbox.scss +5 -3
- package/src/components/datatable.scss +13 -10
- package/src/components/hoc/InboxComposer.scss +1 -0
- package/src/components/loader.scss +8 -2
- package/src/components/topbar.scss +68 -1
- package/src/digitv2/components/bodyContainerV2.scss +1 -5
- package/src/index.scss +0 -2
- package/src/pages/employee/inbox.scss +111 -3
package/package.json
CHANGED
|
@@ -4,11 +4,19 @@
|
|
|
4
4
|
padding: 16px;
|
|
5
5
|
background-color: #fff;
|
|
6
6
|
border-radius: 12px;
|
|
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
|
+
}
|
|
7
14
|
}
|
|
8
15
|
|
|
9
16
|
.vertical-timeline-step {
|
|
10
17
|
display: flex;
|
|
11
18
|
position: relative;
|
|
19
|
+
gap: 16px;
|
|
12
20
|
@media (min-width: 768px) {
|
|
13
21
|
min-height: 80px;
|
|
14
22
|
padding-bottom: 20px;
|
|
@@ -55,7 +63,6 @@
|
|
|
55
63
|
/* Larger text */
|
|
56
64
|
color: #6b7280;
|
|
57
65
|
z-index: 1;
|
|
58
|
-
margin-right: 16px;
|
|
59
66
|
flex-shrink: 0;
|
|
60
67
|
transition: all 0.3s ease;
|
|
61
68
|
}
|
|
@@ -90,10 +97,7 @@
|
|
|
90
97
|
color: #4b5563;
|
|
91
98
|
font-weight: 500;
|
|
92
99
|
line-height: normal;
|
|
93
|
-
|
|
94
|
-
@media (min-width: 768px) {
|
|
95
|
-
text-wrap: nowrap;
|
|
96
|
-
}
|
|
100
|
+
word-wrap: anywhere;
|
|
97
101
|
}
|
|
98
102
|
|
|
99
103
|
.vertical-timeline-step.active .vertical-timeline-label {
|
package/src/components/body.scss
CHANGED
|
@@ -27,7 +27,7 @@ body {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.link-label {
|
|
30
|
-
@apply block text-link text-primary-main
|
|
30
|
+
@apply block text-link text-primary-main cursor-pointer;
|
|
31
31
|
|
|
32
32
|
&:hover {
|
|
33
33
|
@apply text-primary-main;
|
|
@@ -267,10 +267,6 @@ body {
|
|
|
267
267
|
@apply text-heading-l-dt;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
.link-label {
|
|
271
|
-
margin-left: 0;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
270
|
.back-btn {
|
|
275
271
|
margin-left: 0;
|
|
276
272
|
}
|
|
@@ -306,17 +302,6 @@ body {
|
|
|
306
302
|
margin: 0;
|
|
307
303
|
}
|
|
308
304
|
|
|
309
|
-
.module-carousel-header h3::before {
|
|
310
|
-
content: "";
|
|
311
|
-
position: absolute;
|
|
312
|
-
left: 0;
|
|
313
|
-
top: 4px;
|
|
314
|
-
height: 16px;
|
|
315
|
-
width: 4px;
|
|
316
|
-
background: #3b82f6;
|
|
317
|
-
border-radius: 4px;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
305
|
.module-carousel-header {
|
|
321
306
|
background: linear-gradient(135deg, #3585c4, #6fa0f0 40%, #80b3ff);
|
|
322
307
|
padding: 12px 16px;
|
package/src/components/card.scss
CHANGED
|
@@ -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
|
|
192
|
+
@apply font-rc font-medium text-legend text-white;
|
|
186
193
|
}
|
|
187
194
|
}
|
|
188
195
|
|
|
@@ -208,7 +215,6 @@
|
|
|
208
215
|
}
|
|
209
216
|
}
|
|
210
217
|
@screen dt {
|
|
211
|
-
|
|
212
218
|
.submit-bar,
|
|
213
219
|
.submit-bar-disabled {
|
|
214
220
|
width: 240px;
|
|
@@ -374,7 +380,7 @@
|
|
|
374
380
|
}
|
|
375
381
|
|
|
376
382
|
/* Remove any default margins that might interfere */
|
|
377
|
-
.label-field-pair
|
|
383
|
+
.label-field-pair > * {
|
|
378
384
|
margin: 0;
|
|
379
385
|
width: 100%;
|
|
380
386
|
}
|
|
@@ -515,7 +521,7 @@
|
|
|
515
521
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
|
|
516
522
|
}
|
|
517
523
|
|
|
518
|
-
.new-employee-card
|
|
524
|
+
.new-employee-card > * {
|
|
519
525
|
position: relative;
|
|
520
526
|
z-index: 1;
|
|
521
527
|
}
|
|
@@ -1235,7 +1241,7 @@
|
|
|
1235
1241
|
|
|
1236
1242
|
.premium-sidebar.collapsed {
|
|
1237
1243
|
width: var(--sidebar-collapsed);
|
|
1238
|
-
padding:5px;
|
|
1244
|
+
padding: 5px;
|
|
1239
1245
|
}
|
|
1240
1246
|
|
|
1241
1247
|
/* --- Header & Brand --- */
|
|
@@ -1430,7 +1436,6 @@
|
|
|
1430
1436
|
}
|
|
1431
1437
|
|
|
1432
1438
|
@media (max-width: 768px) {
|
|
1433
|
-
|
|
1434
1439
|
/* Wrapper becomes a sticky top bar, not a flex column member */
|
|
1435
1440
|
.module-sidebar-wrapper {
|
|
1436
1441
|
position: fixed;
|
|
@@ -1564,7 +1569,6 @@
|
|
|
1564
1569
|
}
|
|
1565
1570
|
|
|
1566
1571
|
@media (min-width: 768px) {
|
|
1567
|
-
|
|
1568
1572
|
.mobile-sidebar-toggle,
|
|
1569
1573
|
.mobile-close-btn,
|
|
1570
1574
|
.sidebar-backdrop {
|
|
@@ -1589,4 +1593,4 @@
|
|
|
1589
1593
|
padding: 20px;
|
|
1590
1594
|
transition: none;
|
|
1591
1595
|
}
|
|
1592
|
-
}
|
|
1596
|
+
}
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
height: 38px;
|
|
13
13
|
opacity: 0;
|
|
14
14
|
position: absolute;
|
|
15
|
-
top:
|
|
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:
|
|
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
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
.row {
|
|
125
|
+
display: grid;
|
|
126
|
+
grid-template-columns: 1fr 68%;
|
|
127
|
+
}
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
130
|
|
|
130
|
-
|
|
131
|
-
.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
131
|
+
.pt-citizen {
|
|
132
|
+
.data-table {
|
|
133
|
+
.row {
|
|
134
|
+
justify-content: space-between;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -4,11 +4,17 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.page-loader {
|
|
7
|
-
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 50%;
|
|
9
|
+
left: 50%;
|
|
10
|
+
transform: translate(-50%, -50%);
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
.module-loader {
|
|
11
|
-
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 50%;
|
|
17
|
+
transform: translate(-50%, -50%);
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
@keyframes ldio-pjg92h09b2o {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
&.state {
|
|
32
32
|
height: 50px;
|
|
33
|
-
max-height:
|
|
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
|
|
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
|
@@ -232,10 +232,8 @@
|
|
|
232
232
|
background-color: #e2e8f0;
|
|
233
233
|
color: #5d6774;
|
|
234
234
|
}
|
|
235
|
-
}
|
|
236
235
|
|
|
237
|
-
@media (max-width:
|
|
238
|
-
.generic-button {
|
|
236
|
+
@media (max-width: 768px) {
|
|
239
237
|
padding: 0 12px;
|
|
240
238
|
}
|
|
241
239
|
}
|
|
@@ -259,6 +257,110 @@
|
|
|
259
257
|
@apply inline ml-sm p-sm bg-primary-main rounded-full text-white text-heading-s align-middle text-center font-regular;
|
|
260
258
|
}
|
|
261
259
|
|
|
260
|
+
.inbox-container {
|
|
261
|
+
.search-container {
|
|
262
|
+
.search-complaint-container {
|
|
263
|
+
border-radius: 6px;
|
|
264
|
+
width: 100%;
|
|
265
|
+
margin: auto;
|
|
266
|
+
@apply flex flex-col items-start mb-md bg-white p-md;
|
|
267
|
+
|
|
268
|
+
.complaint-header {
|
|
269
|
+
display: flex;
|
|
270
|
+
@apply flex justify-between w-full;
|
|
271
|
+
margin-bottom: 20px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.complaint-input-container {
|
|
275
|
+
/* display: inline-block !important; */
|
|
276
|
+
display: grid;
|
|
277
|
+
grid-template-columns: 33.33% 33.33% 33.33%;
|
|
278
|
+
|
|
279
|
+
&.for-pt {
|
|
280
|
+
&.for-search {
|
|
281
|
+
grid-template-columns: 25% 25% 25% 25%;
|
|
282
|
+
|
|
283
|
+
.input-fields:nth-child(3n) {
|
|
284
|
+
@apply mr-md !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.input-fields:nth-child(4n) {
|
|
288
|
+
margin-right: 0 !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.search-submit-wrapper {
|
|
292
|
+
grid-column: 4/5;
|
|
293
|
+
/* margin-top: 56px;*/
|
|
294
|
+
max-width: unset;
|
|
295
|
+
margin-left: unset;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.search-submit-wrapper {
|
|
301
|
+
grid-column: 3/4;
|
|
302
|
+
margin-left: 50%;
|
|
303
|
+
max-width: 50%;
|
|
304
|
+
grid-column: 3/4;
|
|
305
|
+
@apply flex flex-col justify-center text-center;
|
|
306
|
+
|
|
307
|
+
.submit-bar-search {
|
|
308
|
+
margin-top: unset;
|
|
309
|
+
width: 100%;
|
|
310
|
+
margin-bottom: 20px;
|
|
311
|
+
margin-left: unset;
|
|
312
|
+
max-width: 100%;
|
|
313
|
+
width: 100%;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.input-fields {
|
|
318
|
+
/*width: calc(50% - 16px);*/
|
|
319
|
+
|
|
320
|
+
@apply inline-block mr-md !important;
|
|
321
|
+
|
|
322
|
+
.inbox-search-form-error {
|
|
323
|
+
padding-top: 0;
|
|
324
|
+
margin-top: 0;
|
|
325
|
+
@apply absolute;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.input-fields:nth-child(3n) {
|
|
330
|
+
margin-right: 0 !important;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.complaint-input {
|
|
334
|
+
@apply flex flex-col;
|
|
335
|
+
|
|
336
|
+
.clear-search {
|
|
337
|
+
@apply text-focus;
|
|
338
|
+
@apply block;
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
|
|
341
|
+
&:hover {
|
|
342
|
+
color: theme(colors.link.hover);
|
|
343
|
+
cursor: pointer;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.search-action-wrapper {
|
|
350
|
+
width: 33%;
|
|
351
|
+
margin-top: 28px;
|
|
352
|
+
@apply inline-block align-middle text-center;
|
|
353
|
+
|
|
354
|
+
button {
|
|
355
|
+
margin: 0;
|
|
356
|
+
width: 100%;
|
|
357
|
+
max-width: 300px !important;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
262
364
|
@screen dt {
|
|
263
365
|
.complaint-links-container {
|
|
264
366
|
/* @apply bg-white; */
|
|
@@ -634,6 +736,9 @@
|
|
|
634
736
|
|
|
635
737
|
.search-tab-head {
|
|
636
738
|
padding: 10px 35px;
|
|
739
|
+
@media (max-width: 480px) {
|
|
740
|
+
padding: 5px;
|
|
741
|
+
}
|
|
637
742
|
}
|
|
638
743
|
|
|
639
744
|
.search-tab-head-selected {
|
|
@@ -641,6 +746,9 @@
|
|
|
641
746
|
color: rgb(244, 119, 56);
|
|
642
747
|
border-bottom: 4px solid rgb(244, 119, 56);
|
|
643
748
|
font-weight: bold;
|
|
749
|
+
@media (max-width: 480px) {
|
|
750
|
+
padding: 5px;
|
|
751
|
+
}
|
|
644
752
|
}
|
|
645
753
|
|
|
646
754
|
.search-tab-head-selected:focus {
|