@djb25/digit-ui-css 1.0.29 → 1.0.30
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
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;
|
|
@@ -361,7 +362,7 @@
|
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
/* Remove any default margins that might interfere */
|
|
364
|
-
.label-field-pair
|
|
365
|
+
.label-field-pair>* {
|
|
365
366
|
margin: 0;
|
|
366
367
|
width: 100%;
|
|
367
368
|
}
|
|
@@ -502,7 +503,7 @@
|
|
|
502
503
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
|
|
503
504
|
}
|
|
504
505
|
|
|
505
|
-
.new-employee-card
|
|
506
|
+
.new-employee-card>* {
|
|
506
507
|
position: relative;
|
|
507
508
|
z-index: 1;
|
|
508
509
|
}
|
|
@@ -1400,117 +1401,142 @@
|
|
|
1400
1401
|
}
|
|
1401
1402
|
|
|
1402
1403
|
@media (max-width: 768px) {
|
|
1403
|
-
|
|
1404
|
-
|
|
1404
|
+
|
|
1405
|
+
/* Wrapper becomes a sticky top bar, not a flex column member */
|
|
1406
|
+
.module-sidebar-wrapper {
|
|
1407
|
+
position: sticky;
|
|
1408
|
+
top: 0;
|
|
1409
|
+
z-index: 200;
|
|
1410
|
+
width: 100%;
|
|
1411
|
+
height: auto;
|
|
1412
|
+
flex-shrink: 0;
|
|
1405
1413
|
}
|
|
1406
1414
|
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1415
|
+
/* Hide desktop sidebar — zero dimensions so flex row is unaffected */
|
|
1416
|
+
.premium-sidebar {
|
|
1417
|
+
display: none !important;
|
|
1418
|
+
width: 0 !important;
|
|
1419
|
+
min-width: 0 !important;
|
|
1420
|
+
height: 0 !important;
|
|
1421
|
+
overflow: hidden !important;
|
|
1422
|
+
border: none !important;
|
|
1423
|
+
padding: 0 !important;
|
|
1424
|
+
margin: 0 !important;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/* Hide old toggle + backdrop */
|
|
1428
|
+
.module-sidebar-toggle,
|
|
1429
|
+
.module-sidebar-backdrop,
|
|
1430
|
+
.collapse-toggle {
|
|
1431
|
+
display: none !important;
|
|
1411
1432
|
}
|
|
1412
1433
|
|
|
1413
|
-
|
|
1434
|
+
/* Show the horizontal scrollable tab bar */
|
|
1435
|
+
.mobile-tab-bar {
|
|
1414
1436
|
display: flex;
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
padding:
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1437
|
+
overflow-x: auto;
|
|
1438
|
+
overflow-y: hidden;
|
|
1439
|
+
-webkit-overflow-scrolling: touch;
|
|
1440
|
+
scrollbar-width: none;
|
|
1441
|
+
gap: 6px;
|
|
1442
|
+
padding: 8px 12px;
|
|
1443
|
+
background-color: #ffffff;
|
|
1444
|
+
border-bottom: 1px solid #e5e7eb;
|
|
1445
|
+
width: 100%;
|
|
1446
|
+
box-sizing: border-box;
|
|
1447
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
.mobile-tab-bar::-webkit-scrollbar {
|
|
1451
|
+
display: none;
|
|
1424
1452
|
}
|
|
1425
1453
|
|
|
1426
|
-
.
|
|
1427
|
-
|
|
1428
|
-
height: 20px;
|
|
1429
|
-
transition: transform 0.2s ease;
|
|
1454
|
+
.mobile-tab-wrapper {
|
|
1455
|
+
flex-shrink: 0;
|
|
1430
1456
|
}
|
|
1431
1457
|
|
|
1432
|
-
.
|
|
1433
|
-
|
|
1458
|
+
.mobile-tab-wrapper a {
|
|
1459
|
+
text-decoration: none;
|
|
1460
|
+
color: inherit;
|
|
1461
|
+
display: block;
|
|
1434
1462
|
}
|
|
1435
1463
|
|
|
1436
|
-
.
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
overflow: hidden;
|
|
1440
|
-
text-overflow: ellipsis;
|
|
1441
|
-
white-space: nowrap;
|
|
1464
|
+
.mobile-tab-wrapper.disabled {
|
|
1465
|
+
opacity: 0.5;
|
|
1466
|
+
pointer-events: none;
|
|
1442
1467
|
}
|
|
1443
1468
|
|
|
1444
|
-
.
|
|
1445
|
-
display:
|
|
1469
|
+
.mobile-tab-item {
|
|
1470
|
+
display: flex;
|
|
1471
|
+
align-items: center;
|
|
1472
|
+
gap: 6px;
|
|
1473
|
+
padding: 7px 14px;
|
|
1474
|
+
border-radius: 999px;
|
|
1475
|
+
border: 1px solid #e5e7eb;
|
|
1476
|
+
background-color: #f9fafb;
|
|
1477
|
+
white-space: nowrap;
|
|
1478
|
+
cursor: pointer;
|
|
1479
|
+
transition: all 0.2s ease;
|
|
1446
1480
|
}
|
|
1447
1481
|
|
|
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;
|
|
1482
|
+
.mobile-tab-item.active {
|
|
1483
|
+
background-color: #eff6ff;
|
|
1484
|
+
border-color: #bfdbfe;
|
|
1485
|
+
color: #1a67a3;
|
|
1457
1486
|
}
|
|
1458
1487
|
|
|
1459
|
-
.
|
|
1460
|
-
|
|
1461
|
-
|
|
1488
|
+
.mobile-tab-icon {
|
|
1489
|
+
width: 16px;
|
|
1490
|
+
height: 16px;
|
|
1491
|
+
display: flex;
|
|
1492
|
+
align-items: center;
|
|
1493
|
+
justify-content: center;
|
|
1494
|
+
flex-shrink: 0;
|
|
1462
1495
|
}
|
|
1463
1496
|
|
|
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;
|
|
1497
|
+
.mobile-tab-icon svg {
|
|
1498
|
+
width: 16px;
|
|
1499
|
+
height: 16px;
|
|
1475
1500
|
}
|
|
1476
1501
|
|
|
1477
|
-
.
|
|
1478
|
-
|
|
1502
|
+
.mobile-tab-initial {
|
|
1503
|
+
font-size: 11px;
|
|
1504
|
+
font-weight: 700;
|
|
1505
|
+
color: #6b7280;
|
|
1479
1506
|
}
|
|
1480
1507
|
|
|
1481
|
-
.
|
|
1482
|
-
|
|
1508
|
+
.mobile-tab-item.active .mobile-tab-initial {
|
|
1509
|
+
color: #1a67a3;
|
|
1483
1510
|
}
|
|
1484
1511
|
|
|
1485
|
-
.
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
pointer-events: auto;
|
|
1512
|
+
.mobile-tab-label {
|
|
1513
|
+
font-size: 13px;
|
|
1514
|
+
font-weight: 500;
|
|
1515
|
+
color: #374151;
|
|
1516
|
+
line-height: 1;
|
|
1491
1517
|
}
|
|
1492
1518
|
|
|
1493
|
-
.
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
gap: 12px;
|
|
1497
|
-
justify-content: space-between;
|
|
1519
|
+
.mobile-tab-item.active .mobile-tab-label {
|
|
1520
|
+
color: #1a67a3;
|
|
1521
|
+
font-weight: 600;
|
|
1498
1522
|
}
|
|
1499
1523
|
|
|
1500
|
-
|
|
1501
|
-
|
|
1524
|
+
/* expanded page container stacks vertically */
|
|
1525
|
+
.expanded-page-container {
|
|
1526
|
+
flex-direction: column !important;
|
|
1527
|
+
gap: 0 !important;
|
|
1528
|
+
width: 100% !important;
|
|
1502
1529
|
}
|
|
1503
1530
|
|
|
1504
|
-
.premium-sidebar.collapsed .nav-item-content {
|
|
1505
|
-
justify-content: flex-start;
|
|
1506
|
-
padding: 12px;
|
|
1507
|
-
}
|
|
1508
1531
|
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
.
|
|
1513
|
-
|
|
1532
|
+
/* expanded sidebar NOT hidden on mobile to allow hamburger menu */
|
|
1533
|
+
|
|
1534
|
+
/* expanded content full width */
|
|
1535
|
+
.expanded-content {
|
|
1536
|
+
width: 100% !important;
|
|
1537
|
+
padding: 16px !important;
|
|
1538
|
+
border-radius: 0 !important;
|
|
1539
|
+
box-shadow: none !important;
|
|
1514
1540
|
}
|
|
1515
1541
|
}
|
|
1516
1542
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
padding: 10px 8px 14px;
|
|
47
47
|
transition: width 0.3s ease, box-shadow 0.3s ease;
|
|
48
48
|
overflow: hidden;
|
|
49
|
-
|
|
49
|
+
height:inherit;
|
|
50
50
|
padding-top: 56px;
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
float: none;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.citizen-static-sidebar .drawer-desktop .menu-item .icon
|
|
159
|
+
.citizen-static-sidebar .drawer-desktop .menu-item .icon+.menu-label {
|
|
160
160
|
margin-left: 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -230,4 +230,4 @@
|
|
|
230
230
|
.citizen-sidebar-toggle {
|
|
231
231
|
display: none;
|
|
232
232
|
}
|
|
233
|
-
}
|
|
233
|
+
}
|
package/src/index.scss
CHANGED