@djb25/digit-ui-css 1.0.29 → 1.0.31
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/card.scss +112 -83
- package/src/index.scss +2 -0
- package/src/pages/employee/login.scss +40 -38
- package/src/pages/employee/userProfile.scss +235 -0
package/package.json
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -200,6 +200,7 @@
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
@screen dt {
|
|
203
|
+
|
|
203
204
|
.submit-bar,
|
|
204
205
|
.submit-bar-disabled {
|
|
205
206
|
width: 240px;
|
|
@@ -231,6 +232,10 @@
|
|
|
231
232
|
}
|
|
232
233
|
}
|
|
233
234
|
|
|
235
|
+
.label-field-pair {
|
|
236
|
+
align-items: center;
|
|
237
|
+
}
|
|
238
|
+
|
|
234
239
|
.employeeCard {
|
|
235
240
|
/* TODO need to revisit that we need mx-md NABEEL/ANIL
|
|
236
241
|
@apply mb-md mx-md !important;
|
|
@@ -361,7 +366,7 @@
|
|
|
361
366
|
}
|
|
362
367
|
|
|
363
368
|
/* Remove any default margins that might interfere */
|
|
364
|
-
.label-field-pair
|
|
369
|
+
.label-field-pair>* {
|
|
365
370
|
margin: 0;
|
|
366
371
|
width: 100%;
|
|
367
372
|
}
|
|
@@ -502,7 +507,7 @@
|
|
|
502
507
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
|
|
503
508
|
}
|
|
504
509
|
|
|
505
|
-
.new-employee-card
|
|
510
|
+
.new-employee-card>* {
|
|
506
511
|
position: relative;
|
|
507
512
|
z-index: 1;
|
|
508
513
|
}
|
|
@@ -1400,122 +1405,146 @@
|
|
|
1400
1405
|
}
|
|
1401
1406
|
|
|
1402
1407
|
@media (max-width: 768px) {
|
|
1403
|
-
|
|
1404
|
-
|
|
1408
|
+
|
|
1409
|
+
/* Wrapper becomes a sticky top bar, not a flex column member */
|
|
1410
|
+
.module-sidebar-wrapper {
|
|
1411
|
+
position: sticky;
|
|
1412
|
+
top: 0;
|
|
1413
|
+
z-index: 200;
|
|
1414
|
+
width: 100%;
|
|
1415
|
+
height: auto;
|
|
1416
|
+
flex-shrink: 0;
|
|
1405
1417
|
}
|
|
1406
1418
|
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1419
|
+
/* Hide desktop sidebar — zero dimensions so flex row is unaffected */
|
|
1420
|
+
.premium-sidebar {
|
|
1421
|
+
display: none !important;
|
|
1422
|
+
width: 0 !important;
|
|
1423
|
+
min-width: 0 !important;
|
|
1424
|
+
height: 0 !important;
|
|
1425
|
+
overflow: hidden !important;
|
|
1426
|
+
border: none !important;
|
|
1427
|
+
padding: 0 !important;
|
|
1428
|
+
margin: 0 !important;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
/* Hide old toggle + backdrop */
|
|
1432
|
+
.module-sidebar-toggle,
|
|
1433
|
+
.module-sidebar-backdrop,
|
|
1434
|
+
.collapse-toggle {
|
|
1435
|
+
display: none !important;
|
|
1411
1436
|
}
|
|
1412
1437
|
|
|
1413
|
-
|
|
1438
|
+
/* Show the horizontal scrollable tab bar */
|
|
1439
|
+
.mobile-tab-bar {
|
|
1414
1440
|
display: flex;
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
padding:
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1441
|
+
overflow-x: auto;
|
|
1442
|
+
overflow-y: hidden;
|
|
1443
|
+
-webkit-overflow-scrolling: touch;
|
|
1444
|
+
scrollbar-width: none;
|
|
1445
|
+
gap: 6px;
|
|
1446
|
+
padding: 8px 12px;
|
|
1447
|
+
background-color: #ffffff;
|
|
1448
|
+
border-bottom: 1px solid #e5e7eb;
|
|
1449
|
+
width: 100%;
|
|
1450
|
+
box-sizing: border-box;
|
|
1451
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
.mobile-tab-bar::-webkit-scrollbar {
|
|
1455
|
+
display: none;
|
|
1424
1456
|
}
|
|
1425
1457
|
|
|
1426
|
-
.
|
|
1427
|
-
|
|
1428
|
-
height: 20px;
|
|
1429
|
-
transition: transform 0.2s ease;
|
|
1458
|
+
.mobile-tab-wrapper {
|
|
1459
|
+
flex-shrink: 0;
|
|
1430
1460
|
}
|
|
1431
1461
|
|
|
1432
|
-
.
|
|
1433
|
-
|
|
1462
|
+
.mobile-tab-wrapper a {
|
|
1463
|
+
text-decoration: none;
|
|
1464
|
+
color: inherit;
|
|
1465
|
+
display: block;
|
|
1434
1466
|
}
|
|
1435
1467
|
|
|
1436
|
-
.
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
overflow: hidden;
|
|
1440
|
-
text-overflow: ellipsis;
|
|
1441
|
-
white-space: nowrap;
|
|
1468
|
+
.mobile-tab-wrapper.disabled {
|
|
1469
|
+
opacity: 0.5;
|
|
1470
|
+
pointer-events: none;
|
|
1442
1471
|
}
|
|
1443
1472
|
|
|
1444
|
-
.
|
|
1445
|
-
display:
|
|
1473
|
+
.mobile-tab-item {
|
|
1474
|
+
display: flex;
|
|
1475
|
+
align-items: center;
|
|
1476
|
+
gap: 6px;
|
|
1477
|
+
padding: 7px 14px;
|
|
1478
|
+
border-radius: 999px;
|
|
1479
|
+
border: 1px solid #e5e7eb;
|
|
1480
|
+
background-color: #f9fafb;
|
|
1481
|
+
white-space: nowrap;
|
|
1482
|
+
cursor: pointer;
|
|
1483
|
+
transition: all 0.2s ease;
|
|
1446
1484
|
}
|
|
1447
1485
|
|
|
1448
|
-
.
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
background: rgba(15, 23, 42, 0.35);
|
|
1453
|
-
opacity: 0;
|
|
1454
|
-
pointer-events: none;
|
|
1455
|
-
transition: opacity 0.2s ease;
|
|
1456
|
-
z-index: 1000;
|
|
1486
|
+
.mobile-tab-item.active {
|
|
1487
|
+
background-color: #eff6ff;
|
|
1488
|
+
border-color: #bfdbfe;
|
|
1489
|
+
color: #1a67a3;
|
|
1457
1490
|
}
|
|
1458
1491
|
|
|
1459
|
-
.
|
|
1460
|
-
|
|
1461
|
-
|
|
1492
|
+
.mobile-tab-icon {
|
|
1493
|
+
width: 16px;
|
|
1494
|
+
height: 16px;
|
|
1495
|
+
display: flex;
|
|
1496
|
+
align-items: center;
|
|
1497
|
+
justify-content: center;
|
|
1498
|
+
flex-shrink: 0;
|
|
1462
1499
|
}
|
|
1463
1500
|
|
|
1464
|
-
.
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
left: -100%;
|
|
1468
|
-
height: 100vh;
|
|
1469
|
-
width: 85vw;
|
|
1470
|
-
max-width: 320px;
|
|
1471
|
-
z-index: 1001;
|
|
1472
|
-
transition: left 0.3s ease;
|
|
1473
|
-
overflow-y: auto;
|
|
1474
|
-
border-right: none;
|
|
1501
|
+
.mobile-tab-icon svg {
|
|
1502
|
+
width: 16px;
|
|
1503
|
+
height: 16px;
|
|
1475
1504
|
}
|
|
1476
1505
|
|
|
1477
|
-
.
|
|
1478
|
-
|
|
1506
|
+
.mobile-tab-initial {
|
|
1507
|
+
font-size: 11px;
|
|
1508
|
+
font-weight: 700;
|
|
1509
|
+
color: #6b7280;
|
|
1479
1510
|
}
|
|
1480
1511
|
|
|
1481
|
-
.
|
|
1482
|
-
|
|
1512
|
+
.mobile-tab-item.active .mobile-tab-initial {
|
|
1513
|
+
color: #1a67a3;
|
|
1483
1514
|
}
|
|
1484
1515
|
|
|
1485
|
-
.
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
pointer-events: auto;
|
|
1516
|
+
.mobile-tab-label {
|
|
1517
|
+
font-size: 13px;
|
|
1518
|
+
font-weight: 500;
|
|
1519
|
+
color: #374151;
|
|
1520
|
+
line-height: 1;
|
|
1491
1521
|
}
|
|
1492
1522
|
|
|
1493
|
-
.
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
gap: 12px;
|
|
1497
|
-
justify-content: space-between;
|
|
1523
|
+
.mobile-tab-item.active .mobile-tab-label {
|
|
1524
|
+
color: #1a67a3;
|
|
1525
|
+
font-weight: 600;
|
|
1498
1526
|
}
|
|
1499
1527
|
|
|
1500
|
-
|
|
1501
|
-
|
|
1528
|
+
/* expanded page container stacks vertically */
|
|
1529
|
+
.expanded-page-container {
|
|
1530
|
+
flex-direction: column !important;
|
|
1531
|
+
gap: 0 !important;
|
|
1532
|
+
width: 100% !important;
|
|
1502
1533
|
}
|
|
1503
1534
|
|
|
1504
|
-
.premium-sidebar.collapsed .nav-item-content {
|
|
1505
|
-
justify-content: flex-start;
|
|
1506
|
-
padding: 12px;
|
|
1507
|
-
}
|
|
1508
1535
|
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
.
|
|
1513
|
-
|
|
1536
|
+
/* expanded sidebar NOT hidden on mobile to allow hamburger menu */
|
|
1537
|
+
|
|
1538
|
+
/* expanded content full width */
|
|
1539
|
+
.expanded-content {
|
|
1540
|
+
width: 100% !important;
|
|
1541
|
+
padding: 16px !important;
|
|
1542
|
+
border-radius: 0 !important;
|
|
1543
|
+
box-shadow: none !important;
|
|
1514
1544
|
}
|
|
1515
1545
|
}
|
|
1516
1546
|
|
|
1517
1547
|
@media (min-width: 768px) {
|
|
1518
|
-
|
|
1519
1548
|
.mobile-sidebar-toggle,
|
|
1520
1549
|
.mobile-close-btn,
|
|
1521
1550
|
.sidebar-backdrop {
|
|
@@ -1540,4 +1569,4 @@
|
|
|
1540
1569
|
padding: 20px;
|
|
1541
1570
|
transition: none;
|
|
1542
1571
|
}
|
|
1543
|
-
}
|
|
1572
|
+
}
|
package/src/index.scss
CHANGED
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
@import "./components/VerticalTimeline.scss";
|
|
118
118
|
@import "./components/juridictions.scss";
|
|
119
119
|
@import "./pages/employee/hrms.scss";
|
|
120
|
+
@import "./pages/employee/userProfile.scss";
|
|
120
121
|
|
|
121
122
|
.display-none {
|
|
122
123
|
display: none;
|
|
@@ -730,6 +731,7 @@ input[type="number"] {
|
|
|
730
731
|
width: 100%;
|
|
731
732
|
flex: 1;
|
|
732
733
|
min-width: 0;
|
|
734
|
+
|
|
733
735
|
}
|
|
734
736
|
|
|
735
737
|
.employee-app-wrapper {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.loginFormStyleEmployee {
|
|
2
2
|
.employeeCard {
|
|
3
|
-
|
|
3
|
+
background-color: transparent !important;
|
|
4
4
|
.submit-bar {
|
|
5
5
|
@apply w-full;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.banner .bannerCard{
|
|
9
|
+
.banner .bannerCard {
|
|
10
10
|
min-width: 420px !important;
|
|
11
11
|
}
|
|
12
12
|
.employeeForgotPassword .employeeCard .field .field-container .component-in-front {
|
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
.employeeForgotPassword .employeeCard .field .field-container .component-in-front {
|
|
20
20
|
padding: 7px;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
.loginFormStyleEmployee .employeeCard,
|
|
23
|
+
.banner .bannerCard {
|
|
23
24
|
min-width: 420px !important;
|
|
24
25
|
}
|
|
25
|
-
.employeeForgotPassword .employeeCard,
|
|
26
|
+
.employeeForgotPassword .employeeCard,
|
|
27
|
+
.employeeChangePassword .employeeCard {
|
|
26
28
|
max-width: 420px !important;
|
|
27
29
|
min-width: 420px !important;
|
|
28
30
|
}
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
.employeeCard .card-sub-header {
|
|
64
66
|
font-size: 24px;
|
|
65
67
|
}
|
|
66
|
-
.loginFormStyleEmployee .employeeCard .card-label,
|
|
68
|
+
.loginFormStyleEmployee .employeeCard .card-label,
|
|
69
|
+
.employeeForgotPassword .employeeCard .card-label {
|
|
67
70
|
font-weight: normal;
|
|
68
71
|
font-size: 16px;
|
|
69
72
|
line-height: 19px;
|
|
@@ -73,15 +76,12 @@
|
|
|
73
76
|
.banner .bannerHeader {
|
|
74
77
|
margin-bottom: 20px;
|
|
75
78
|
}
|
|
76
|
-
.employeeCard .card-label{
|
|
79
|
+
.employeeCard .card-label {
|
|
77
80
|
font-weight: normal;
|
|
78
81
|
font-size: 16px;
|
|
79
82
|
line-height: 19px;
|
|
80
83
|
color: theme(colors.text.primary);
|
|
81
84
|
}
|
|
82
|
-
.profile-label-margin{
|
|
83
|
-
margin-top: 10px;
|
|
84
|
-
}
|
|
85
85
|
|
|
86
86
|
.employeeForgotPassword .employeeCard .card-label-desc {
|
|
87
87
|
font-weight: normal;
|
|
@@ -114,78 +114,82 @@
|
|
|
114
114
|
padding-top: 0px !important;
|
|
115
115
|
}
|
|
116
116
|
.banner {
|
|
117
|
-
height: calc(100vh
|
|
117
|
+
height: calc(100vh) !important;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.employeeChangePassword .employeeCard .field .field-container{
|
|
120
|
+
.employeeChangePassword .employeeCard .field .field-container {
|
|
121
121
|
margin-bottom: 24px;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.employeeForgotPassword .employeeCard
|
|
124
|
+
.employeeForgotPassword .employeeCard .employee-card-sub-header,
|
|
125
|
+
.employeeChangePassword .employeeCard .employee-card-sub-header,
|
|
126
|
+
.loginFormStyleEmployee .employeeCard .employee-card-sub-header {
|
|
125
127
|
font-size: 24px !important;
|
|
126
128
|
line-height: 28px !important;
|
|
127
129
|
margin-bottom: 0px !important;
|
|
128
130
|
}
|
|
129
|
-
@media screen and (max-width
|
|
130
|
-
.employeeForgotPassword .employeeCard
|
|
131
|
+
@media screen and (max-width: 768px) {
|
|
132
|
+
.employeeForgotPassword .employeeCard .employee-card-sub-header,
|
|
133
|
+
.employeeChangePassword .employeeCard .employee-card-sub-header,
|
|
134
|
+
.loginFormStyleEmployee .employeeCard .employee-card-sub-header {
|
|
131
135
|
font-size: 18px !important;
|
|
132
136
|
line-height: 21px !important;
|
|
133
137
|
margin-bottom: 0px !important;
|
|
134
138
|
}
|
|
135
|
-
.loginFormStyleEmployee .employeeCard,
|
|
139
|
+
.loginFormStyleEmployee .employeeCard,
|
|
140
|
+
.banner .bannerCard {
|
|
136
141
|
min-width: 340px !important;
|
|
137
142
|
margin: 10px !important;
|
|
138
143
|
}
|
|
139
|
-
.employeeForgotPassword .employeeCard,
|
|
144
|
+
.employeeForgotPassword .employeeCard,
|
|
145
|
+
.employeeChangePassword .employeeCard {
|
|
140
146
|
max-width: 360px !important;
|
|
141
147
|
min-width: 340px !important;
|
|
142
148
|
margin: 10px !important;
|
|
143
149
|
}
|
|
144
150
|
}
|
|
145
|
-
.employeeChangePassword .employeeCard .card-text{
|
|
151
|
+
.employeeChangePassword .employeeCard .card-text {
|
|
146
152
|
margin-top: 18px !important;
|
|
147
153
|
margin-bottom: 20px !important;
|
|
148
154
|
}
|
|
149
|
-
.employeeBackbuttonAlign{
|
|
155
|
+
.employeeBackbuttonAlign {
|
|
150
156
|
display: none;
|
|
151
157
|
}
|
|
152
|
-
.resend-otp{
|
|
158
|
+
.resend-otp {
|
|
153
159
|
cursor: pointer;
|
|
154
160
|
}
|
|
155
161
|
|
|
156
162
|
.employee-select-wrap.login-city-dd {
|
|
157
|
-
.options-card{
|
|
158
|
-
|
|
163
|
+
.options-card {
|
|
164
|
+
max-height: 200px;
|
|
159
165
|
}
|
|
160
166
|
}
|
|
161
|
-
@media screen and (max-width: 768px){
|
|
162
|
-
.employeeBackbuttonAlign{
|
|
167
|
+
@media screen and (max-width: 768px) {
|
|
168
|
+
.employeeBackbuttonAlign {
|
|
163
169
|
display: block;
|
|
164
170
|
position: absolute;
|
|
165
171
|
top: 20px;
|
|
166
172
|
left: 20px;
|
|
167
173
|
}
|
|
168
|
-
.banner{
|
|
174
|
+
.banner {
|
|
169
175
|
align-items: flex-end;
|
|
170
176
|
padding-bottom: 40px;
|
|
171
177
|
height: 100vh !important;
|
|
172
178
|
}
|
|
173
|
-
|
|
174
|
-
.employee .loginContainer{
|
|
179
|
+
|
|
180
|
+
.employee .loginContainer {
|
|
175
181
|
padding-top: 0px !important;
|
|
176
182
|
}
|
|
177
|
-
.removeBottomMargin{
|
|
183
|
+
.removeBottomMargin {
|
|
178
184
|
margin-bottom: 0px !important;
|
|
179
185
|
}
|
|
180
186
|
.employee-select-wrap.login-city-dd {
|
|
181
|
-
.options-card{
|
|
182
|
-
|
|
187
|
+
.options-card {
|
|
188
|
+
max-height: 160px;
|
|
183
189
|
}
|
|
184
190
|
}
|
|
185
191
|
}
|
|
186
192
|
|
|
187
|
-
|
|
188
|
-
|
|
189
193
|
@media (max-width: 768px) {
|
|
190
194
|
.modernFinanceUIWelcomeContainer,
|
|
191
195
|
.modernFinanceUIWelcomeContent,
|
|
@@ -207,22 +211,21 @@
|
|
|
207
211
|
}
|
|
208
212
|
|
|
209
213
|
.loginFormStyleEmployee {
|
|
210
|
-
|
|
211
214
|
.loginCardSubHeaderClassName {
|
|
212
215
|
text-align: center !important;
|
|
213
216
|
}
|
|
214
217
|
.loginCardClassName {
|
|
215
|
-
|
|
216
|
-
margin: auto !important;
|
|
218
|
+
background-color: transparent !important;
|
|
219
|
+
margin: auto !important;
|
|
217
220
|
min-width: 408px !important;
|
|
218
|
-
header.employee-card-sub-header{
|
|
221
|
+
header.employee-card-sub-header {
|
|
219
222
|
text-align: center;
|
|
220
223
|
margin-top: 10px;
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
226
|
.buttonClassName {
|
|
224
227
|
max-width: 100% !important;
|
|
225
|
-
width: 100% !important
|
|
228
|
+
width: 100% !important;
|
|
226
229
|
}
|
|
227
230
|
.field .field-container .text-input input {
|
|
228
231
|
margin-bottom: 5px !important;
|
|
@@ -245,7 +248,7 @@
|
|
|
245
248
|
margin-right: 10px;
|
|
246
249
|
border-right: 1px solid #0b0c0c;
|
|
247
250
|
}
|
|
248
|
-
|
|
251
|
+
|
|
249
252
|
.primary-label-btn {
|
|
250
253
|
margin: 20px auto 0 auto !important;
|
|
251
254
|
}
|
|
@@ -255,7 +258,6 @@
|
|
|
255
258
|
}
|
|
256
259
|
}
|
|
257
260
|
@media screen and (max-width: 768px) {
|
|
258
|
-
|
|
259
261
|
/* remove ALL fixed/min widths */
|
|
260
262
|
.loginCardClassName,
|
|
261
263
|
.employeeCard,
|