@djb25/digit-ui-css 1.0.33 → 1.0.34
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 +1 -3
- package/src/components/WorkflowTimeline.scss +25 -3
- package/src/components/actionbar.scss +7 -0
- package/src/components/body.scss +1 -0
- package/src/components/card.scss +35 -33
- package/src/components/navbar.scss +1 -0
- package/src/components/popup.scss +3 -2
- package/src/index.scss +5 -0
- package/src/pages/employee/index.scss +8 -1
package/package.json
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
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%;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
.vertical-timeline-step {
|
|
@@ -124,7 +122,7 @@
|
|
|
124
122
|
max-width: 100%;
|
|
125
123
|
}
|
|
126
124
|
|
|
127
|
-
.
|
|
125
|
+
.activeTimeline {
|
|
128
126
|
background-color: #fff;
|
|
129
127
|
border-radius: 99999px;
|
|
130
128
|
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:
|
|
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
|
+
}
|
package/src/components/body.scss
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -199,7 +199,16 @@
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
@media (max-width: 768px) {
|
|
203
|
+
.submit-bar {
|
|
204
|
+
padding-inline: 24px;
|
|
205
|
+
border-radius: 10px;
|
|
206
|
+
box-shadow: none;
|
|
207
|
+
background: linear-gradient(278deg, rgba(110, 191, 221, 0.925) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
202
210
|
@screen dt {
|
|
211
|
+
|
|
203
212
|
.submit-bar,
|
|
204
213
|
.submit-bar-disabled {
|
|
205
214
|
width: 240px;
|
|
@@ -365,7 +374,7 @@
|
|
|
365
374
|
}
|
|
366
375
|
|
|
367
376
|
/* Remove any default margins that might interfere */
|
|
368
|
-
.label-field-pair
|
|
377
|
+
.label-field-pair>* {
|
|
369
378
|
margin: 0;
|
|
370
379
|
width: 100%;
|
|
371
380
|
}
|
|
@@ -506,7 +515,7 @@
|
|
|
506
515
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
|
|
507
516
|
}
|
|
508
517
|
|
|
509
|
-
.new-employee-card
|
|
518
|
+
.new-employee-card>* {
|
|
510
519
|
position: relative;
|
|
511
520
|
z-index: 1;
|
|
512
521
|
}
|
|
@@ -916,7 +925,6 @@
|
|
|
916
925
|
display: flex;
|
|
917
926
|
flex-direction: column;
|
|
918
927
|
width: 100%;
|
|
919
|
-
padding-bottom: 16px;
|
|
920
928
|
overflow-y: scroll;
|
|
921
929
|
}
|
|
922
930
|
|
|
@@ -1217,6 +1225,7 @@
|
|
|
1217
1225
|
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.04);
|
|
1218
1226
|
position: relative;
|
|
1219
1227
|
z-index: 101;
|
|
1228
|
+
padding: 20px;
|
|
1220
1229
|
}
|
|
1221
1230
|
|
|
1222
1231
|
/* Width Control */
|
|
@@ -1226,6 +1235,7 @@
|
|
|
1226
1235
|
|
|
1227
1236
|
.premium-sidebar.collapsed {
|
|
1228
1237
|
width: var(--sidebar-collapsed);
|
|
1238
|
+
padding:5px;
|
|
1229
1239
|
}
|
|
1230
1240
|
|
|
1231
1241
|
/* --- Header & Brand --- */
|
|
@@ -1415,15 +1425,21 @@
|
|
|
1415
1425
|
display: none;
|
|
1416
1426
|
}
|
|
1417
1427
|
|
|
1428
|
+
.module-sidebar-wrapper {
|
|
1429
|
+
height: 100%;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1418
1432
|
@media (max-width: 768px) {
|
|
1433
|
+
|
|
1419
1434
|
/* Wrapper becomes a sticky top bar, not a flex column member */
|
|
1420
1435
|
.module-sidebar-wrapper {
|
|
1421
|
-
position:
|
|
1436
|
+
position: fixed;
|
|
1422
1437
|
top: 0;
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1438
|
+
left: 0;
|
|
1439
|
+
height: 100vh;
|
|
1440
|
+
z-index: 100;
|
|
1441
|
+
pointer-events: none;
|
|
1442
|
+
/* Let clicks pass through when hidden */
|
|
1427
1443
|
}
|
|
1428
1444
|
|
|
1429
1445
|
/* Hide desktop sidebar — zero dimensions so flex row is unaffected */
|
|
@@ -1436,6 +1452,14 @@
|
|
|
1436
1452
|
border: none !important;
|
|
1437
1453
|
padding: 0 !important;
|
|
1438
1454
|
margin: 0 !important;
|
|
1455
|
+
position: absolute;
|
|
1456
|
+
top: 0;
|
|
1457
|
+
left: 0;
|
|
1458
|
+
height: 100vh;
|
|
1459
|
+
width: 280px !important;
|
|
1460
|
+
/* Force fixed width on mobile drawer */
|
|
1461
|
+
transform: translateX(-100%);
|
|
1462
|
+
box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
|
|
1439
1463
|
}
|
|
1440
1464
|
|
|
1441
1465
|
/* Hide old toggle + backdrop */
|
|
@@ -1488,38 +1512,15 @@
|
|
|
1488
1512
|
pointer-events: none;
|
|
1489
1513
|
transition: opacity 0.4s ease;
|
|
1490
1514
|
}
|
|
1491
|
-
|
|
1492
|
-
.module-sidebar-backdrop.visible {
|
|
1515
|
+
module-sidebar-wrapper .module-sidebar-backdrop.visible {
|
|
1493
1516
|
opacity: 1;
|
|
1494
1517
|
pointer-events: auto;
|
|
1495
1518
|
}
|
|
1496
1519
|
|
|
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
1520
|
.module-sidebar-wrapper.mobile-open {
|
|
1509
1521
|
pointer-events: auto;
|
|
1510
1522
|
}
|
|
1511
1523
|
|
|
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
1524
|
.premium-sidebar.mobile-open {
|
|
1524
1525
|
transform: translateX(0);
|
|
1525
1526
|
}
|
|
@@ -1563,6 +1564,7 @@
|
|
|
1563
1564
|
}
|
|
1564
1565
|
|
|
1565
1566
|
@media (min-width: 768px) {
|
|
1567
|
+
|
|
1566
1568
|
.mobile-sidebar-toggle,
|
|
1567
1569
|
.mobile-close-btn,
|
|
1568
1570
|
.sidebar-backdrop {
|
|
@@ -1587,4 +1589,4 @@
|
|
|
1587
1589
|
padding: 20px;
|
|
1588
1590
|
transition: none;
|
|
1589
1591
|
}
|
|
1590
|
-
}
|
|
1592
|
+
}
|
|
@@ -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
|
+
}
|
package/src/index.scss
CHANGED
|
@@ -102,10 +102,17 @@
|
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: column;
|
|
104
104
|
gap: 16px;
|
|
105
|
+
@media (max-width: 768px) {
|
|
106
|
+
padding-bottom: 12px;
|
|
107
|
+
}
|
|
105
108
|
}
|
|
106
109
|
|
|
107
110
|
.employee-form-content-with-action-bar {
|
|
108
|
-
|
|
111
|
+
padding-bottom: 48px;
|
|
112
|
+
height: 100%;
|
|
113
|
+
@media (max-width: 768px) {
|
|
114
|
+
padding-bottom: 68px;
|
|
115
|
+
}
|
|
109
116
|
}
|
|
110
117
|
|
|
111
118
|
.employee-form-section-wrapper {
|