@djb25/digit-ui-css 1.0.32 → 1.0.33
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/SearchForm.scss +1 -1
- package/src/components/VerticalTimeline.scss +138 -62
- package/src/components/body.scss +15 -8
- package/src/components/card.scss +54 -8
- package/src/components/hoc/InboxComposer.scss +5 -0
- package/src/index.scss +1 -2
- package/src/pages/employee/hrms.scss +5 -5
- package/src/pages/employee/inbox.scss +1 -1
- package/src/pages/employee/index.scss +30 -8
package/package.json
CHANGED
|
@@ -1,106 +1,182 @@
|
|
|
1
1
|
.vertical-timeline-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding: 16px;
|
|
5
|
+
background-color: #fff;
|
|
6
|
+
border-radius: 12px;
|
|
7
|
+
/* Reduced padding slightly to fit better if needed, or keep 24 */
|
|
8
|
+
height: 100%;
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
.vertical-timeline-step {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
display: flex;
|
|
13
|
+
position: relative;
|
|
14
|
+
@media (min-width: 768px) {
|
|
13
15
|
min-height: 80px;
|
|
16
|
+
padding-bottom: 20px;
|
|
17
|
+
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
.vertical-timeline-step:last-child {
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
padding-bottom: 0;
|
|
22
|
+
min-height: auto;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
.vertical-timeline-connector {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 36px;
|
|
28
|
+
left: 17px;
|
|
29
|
+
width: 3px;
|
|
30
|
+
height: calc(100% - 10px);
|
|
31
|
+
/* Adjust based on padding/spacing */
|
|
32
|
+
background-color: #e0e0e0;
|
|
33
|
+
z-index: 0;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
.vertical-timeline-step:last-child .vertical-timeline-connector {
|
|
33
|
-
|
|
37
|
+
display: none;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
.vertical-timeline-connector.completed {
|
|
37
|
-
|
|
41
|
+
background-color: #667eea;
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
.vertical-timeline-pill {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
45
|
+
width: 38px;
|
|
46
|
+
/* Larger pill */
|
|
47
|
+
height: 38px;
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
background-color: #fff;
|
|
50
|
+
border: 3px solid #d1d5db;
|
|
51
|
+
/* Thicker border */
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
font-weight: bold;
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
/* Larger text */
|
|
58
|
+
color: #6b7280;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
margin-right: 16px;
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
transition: all 0.3s ease;
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
.vertical-timeline-step.active .vertical-timeline-pill {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
background-color: #667eea;
|
|
67
|
+
border-color: #667eea;
|
|
68
|
+
color: #fff;
|
|
69
|
+
box-shadow: 0 0 0 5px rgba(244, 119, 56, 0.2);
|
|
70
|
+
/* Enhanced glow */
|
|
71
|
+
transform: scale(1.1);
|
|
72
|
+
/* Slight pulse effect */
|
|
69
73
|
}
|
|
70
74
|
|
|
71
75
|
.vertical-timeline-step.completed .vertical-timeline-pill {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
background-color: #667eea;
|
|
77
|
+
border-color: #667eea;
|
|
78
|
+
color: #fff;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
.vertical-timeline-content {
|
|
78
|
-
|
|
79
|
-
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
@media (min-width: 768px) {
|
|
80
85
|
min-height: 38px;
|
|
81
86
|
margin-top: 10px;
|
|
87
|
+
}
|
|
82
88
|
}
|
|
83
89
|
|
|
84
90
|
.vertical-timeline-label {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
font-size: 16px;
|
|
92
|
+
color: #4b5563;
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
line-height: normal;
|
|
95
|
+
/* Reset line height */
|
|
96
|
+
@media (min-width: 768px) {
|
|
97
|
+
text-wrap: nowrap;
|
|
98
|
+
}
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
.vertical-timeline-step.active .vertical-timeline-label {
|
|
93
|
-
|
|
94
|
-
|
|
102
|
+
color: #121416;
|
|
103
|
+
font-weight: 700;
|
|
95
104
|
}
|
|
96
105
|
|
|
97
106
|
.vertical-timeline-step.completed .vertical-timeline-label {
|
|
98
|
-
|
|
107
|
+
color: #111827;
|
|
99
108
|
}
|
|
100
109
|
|
|
101
|
-
/* Responsive: Hide on small screens or move to top */
|
|
102
110
|
@media (max-width: 768px) {
|
|
103
|
-
|
|
104
|
-
|
|
111
|
+
.vertical-timeline-container {
|
|
112
|
+
flex-direction: row;
|
|
113
|
+
gap: 12px;
|
|
114
|
+
padding: 12px;
|
|
115
|
+
height: fit-content;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.vertical-timeline-wrapper {
|
|
119
|
+
display: flex;
|
|
120
|
+
border-radius: 99999px;
|
|
121
|
+
padding: 0.25rem;
|
|
122
|
+
background-color: #667eea36;
|
|
123
|
+
overflow-x: scroll;
|
|
124
|
+
max-width: 100%;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.active {
|
|
128
|
+
background-color: #fff;
|
|
129
|
+
border-radius: 99999px;
|
|
130
|
+
height: 2rem;
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
padding-inline: 1rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.vertical-timeline-step {
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
height: 2rem;
|
|
143
|
+
padding-inline: 24px;
|
|
144
|
+
@media (min-width: 768px) {
|
|
145
|
+
min-width: 120px;
|
|
105
146
|
}
|
|
106
|
-
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* 🔥 pill becomes tab */
|
|
150
|
+
.vertical-timeline-pill {
|
|
151
|
+
display: none;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* label below */
|
|
155
|
+
.vertical-timeline-content {
|
|
156
|
+
align-items: center;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.vertical-timeline-label {
|
|
160
|
+
font-size: 12px;
|
|
161
|
+
text-align: center;
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.vertical-timeline-connector {
|
|
166
|
+
display: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* active tab */
|
|
170
|
+
.vertical-timeline-step.active .vertical-timeline-pill {
|
|
171
|
+
background-color: #667eea;
|
|
172
|
+
color: #fff;
|
|
173
|
+
transform: none;
|
|
174
|
+
box-shadow: none;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* completed tab */
|
|
178
|
+
.vertical-timeline-step.completed .vertical-timeline-pill {
|
|
179
|
+
background-color: #667eea;
|
|
180
|
+
color: #fff;
|
|
181
|
+
}
|
|
182
|
+
}
|
package/src/components/body.scss
CHANGED
|
@@ -98,16 +98,23 @@ body {
|
|
|
98
98
|
height: 100%;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
.employee-app-homepage-container {
|
|
102
|
+
width: 100%;
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
gap: 16px;
|
|
106
|
+
padding: 16px;
|
|
107
|
+
|
|
108
|
+
@media (min-width: 768px) {
|
|
109
|
+
padding: 24px;
|
|
109
110
|
}
|
|
110
111
|
|
|
112
|
+
@media (min-width: 1280px) {
|
|
113
|
+
padding-inline: 64px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@screen dt {
|
|
111
118
|
.employee-app-container {
|
|
112
119
|
@apply w-full;
|
|
113
120
|
display: flex;
|
package/src/components/card.scss
CHANGED
|
@@ -200,7 +200,6 @@
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
@screen dt {
|
|
203
|
-
|
|
204
203
|
.submit-bar,
|
|
205
204
|
.submit-bar-disabled {
|
|
206
205
|
width: 240px;
|
|
@@ -366,7 +365,7 @@
|
|
|
366
365
|
}
|
|
367
366
|
|
|
368
367
|
/* Remove any default margins that might interfere */
|
|
369
|
-
.label-field-pair
|
|
368
|
+
.label-field-pair > * {
|
|
370
369
|
margin: 0;
|
|
371
370
|
width: 100%;
|
|
372
371
|
}
|
|
@@ -507,7 +506,7 @@
|
|
|
507
506
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
|
|
508
507
|
}
|
|
509
508
|
|
|
510
|
-
.new-employee-card
|
|
509
|
+
.new-employee-card > * {
|
|
511
510
|
position: relative;
|
|
512
511
|
z-index: 1;
|
|
513
512
|
}
|
|
@@ -917,7 +916,8 @@
|
|
|
917
916
|
display: flex;
|
|
918
917
|
flex-direction: column;
|
|
919
918
|
width: 100%;
|
|
920
|
-
padding-bottom:
|
|
919
|
+
padding-bottom: 16px;
|
|
920
|
+
overflow-y: scroll;
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
.mobile-sidebar-toggle {
|
|
@@ -970,6 +970,7 @@
|
|
|
970
970
|
top: 0;
|
|
971
971
|
left: -100%;
|
|
972
972
|
width: 80%;
|
|
973
|
+
min-width: 250px;
|
|
973
974
|
max-width: 320px;
|
|
974
975
|
height: 100vh;
|
|
975
976
|
background-color: #ffffff;
|
|
@@ -1414,10 +1415,38 @@
|
|
|
1414
1415
|
display: none;
|
|
1415
1416
|
}
|
|
1416
1417
|
|
|
1417
|
-
@media (max-width:
|
|
1418
|
+
@media (max-width: 768px) {
|
|
1419
|
+
/* Wrapper becomes a sticky top bar, not a flex column member */
|
|
1420
|
+
.module-sidebar-wrapper {
|
|
1421
|
+
position: sticky;
|
|
1422
|
+
top: 0;
|
|
1423
|
+
z-index: 200;
|
|
1424
|
+
width: 100%;
|
|
1425
|
+
height: auto;
|
|
1426
|
+
flex-shrink: 0;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
/* Hide desktop sidebar — zero dimensions so flex row is unaffected */
|
|
1430
|
+
.premium-sidebar {
|
|
1431
|
+
display: none !important;
|
|
1432
|
+
width: 0 !important;
|
|
1433
|
+
min-width: 0 !important;
|
|
1434
|
+
height: 0 !important;
|
|
1435
|
+
overflow: hidden !important;
|
|
1436
|
+
border: none !important;
|
|
1437
|
+
padding: 0 !important;
|
|
1438
|
+
margin: 0 !important;
|
|
1439
|
+
}
|
|
1418
1440
|
|
|
1419
|
-
/*
|
|
1420
|
-
.module-sidebar-toggle
|
|
1441
|
+
/* Hide old toggle + backdrop */
|
|
1442
|
+
.module-sidebar-toggle,
|
|
1443
|
+
.module-sidebar-backdrop,
|
|
1444
|
+
.collapse-toggle {
|
|
1445
|
+
display: none !important;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/* Show the horizontal scrollable tab bar */
|
|
1449
|
+
.mobile-tab-bar {
|
|
1421
1450
|
display: flex;
|
|
1422
1451
|
position: fixed;
|
|
1423
1452
|
top: 68px;
|
|
@@ -1514,6 +1543,23 @@
|
|
|
1514
1543
|
width: auto !important;
|
|
1515
1544
|
margin-left: 16px !important;
|
|
1516
1545
|
}
|
|
1546
|
+
|
|
1547
|
+
/* expanded page container stacks vertically */
|
|
1548
|
+
.expanded-page-container {
|
|
1549
|
+
flex-direction: column !important;
|
|
1550
|
+
gap: 0 !important;
|
|
1551
|
+
width: 100% !important;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/* expanded sidebar NOT hidden on mobile to allow hamburger menu */
|
|
1555
|
+
|
|
1556
|
+
/* expanded content full width */
|
|
1557
|
+
.expanded-content {
|
|
1558
|
+
width: 100% !important;
|
|
1559
|
+
padding: 16px !important;
|
|
1560
|
+
border-radius: 0 !important;
|
|
1561
|
+
box-shadow: none !important;
|
|
1562
|
+
}
|
|
1517
1563
|
}
|
|
1518
1564
|
|
|
1519
1565
|
@media (min-width: 768px) {
|
|
@@ -1525,7 +1571,7 @@
|
|
|
1525
1571
|
|
|
1526
1572
|
.expanded-page-container {
|
|
1527
1573
|
flex-direction: row;
|
|
1528
|
-
gap:
|
|
1574
|
+
gap: 16px;
|
|
1529
1575
|
}
|
|
1530
1576
|
|
|
1531
1577
|
.expanded-sidebar {
|
package/src/index.scss
CHANGED
|
@@ -731,12 +731,11 @@ input[type="number"] {
|
|
|
731
731
|
width: 100%;
|
|
732
732
|
flex: 1;
|
|
733
733
|
min-width: 0;
|
|
734
|
-
|
|
735
734
|
}
|
|
736
735
|
|
|
737
736
|
.employee-app-wrapper {
|
|
738
737
|
min-height: calc(100vh - 8em);
|
|
739
|
-
height: calc(100vh -
|
|
738
|
+
height: calc(100vh - 110px);
|
|
740
739
|
}
|
|
741
740
|
|
|
742
741
|
.ws-custom-wrapper {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
5
|
-
gap:
|
|
5
|
+
gap: 16px;
|
|
6
6
|
overflow-y: auto;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.mobile-view {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
flex-direction: column !important;
|
|
11
|
+
gap: 0 !important;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@media (max-width: 768px) {
|
|
15
15
|
.employee-form {
|
|
16
16
|
flex-direction: column;
|
|
17
|
-
gap:
|
|
17
|
+
gap: 16px;
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
}
|
|
@@ -14,14 +14,10 @@
|
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
gap: 12px;
|
|
17
|
-
padding: 20px 20px 0;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
/* @apply flex flex-col; */
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@media (min-width: 325px) and (max-width: 768px) {
|
|
24
|
-
.ground-container {
|
|
20
|
+
@media (min-width: 325px) and (max-width: 768px) {
|
|
25
21
|
padding-top: 11px;
|
|
26
22
|
padding-inline: 10px;
|
|
27
23
|
}
|
|
@@ -101,9 +97,8 @@
|
|
|
101
97
|
}
|
|
102
98
|
|
|
103
99
|
.employee-form-content {
|
|
104
|
-
flex: 1
|
|
100
|
+
flex: 1;
|
|
105
101
|
overflow-y: auto;
|
|
106
|
-
height: 100%;
|
|
107
102
|
display: flex;
|
|
108
103
|
flex-direction: column;
|
|
109
104
|
gap: 16px;
|
|
@@ -113,7 +108,34 @@
|
|
|
113
108
|
margin-bottom: 62px;
|
|
114
109
|
}
|
|
115
110
|
|
|
116
|
-
.
|
|
111
|
+
.employee-form-section-wrapper {
|
|
112
|
+
flex: 1 1 0%;
|
|
113
|
+
overflow-y: auto;
|
|
114
|
+
height: 100%;
|
|
115
|
+
display: flex;
|
|
116
|
+
gap: 16px;
|
|
117
|
+
@media (max-width: 768px) {
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.employee-form-section {
|
|
123
|
+
display: flex;
|
|
124
|
+
gap: 16px;
|
|
125
|
+
width: 100%;
|
|
126
|
+
overflow-y: scroll;
|
|
127
|
+
@media (max-width: 768px) {
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
flex: 1 1 0%;
|
|
130
|
+
overflow-y: auto;
|
|
131
|
+
height: 100%;
|
|
132
|
+
display: flex;
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
gap: 16px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.employee-form .citizen {
|
|
117
139
|
.main {
|
|
118
140
|
padding-top: 82px;
|
|
119
141
|
min-height: calc(100vh - 90px);
|