@djb25/digit-ui-css 1.0.30 → 1.0.32
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 +94 -119
- package/src/components/staticSideBar.scss +108 -4
- package/src/index.scss +1 -0
- package/src/pages/citizen/HomePageWrapper.scss +60 -13
- 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
|
@@ -232,6 +232,10 @@
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
.label-field-pair {
|
|
236
|
+
align-items: center;
|
|
237
|
+
}
|
|
238
|
+
|
|
235
239
|
.employeeCard {
|
|
236
240
|
/* TODO need to revisit that we need mx-md NABEEL/ANIL
|
|
237
241
|
@apply mb-md mx-md !important;
|
|
@@ -417,7 +421,7 @@
|
|
|
417
421
|
}
|
|
418
422
|
|
|
419
423
|
.home-page-info-banner-wrap {
|
|
420
|
-
margin:
|
|
424
|
+
margin: 0px 16px 24px 16px;
|
|
421
425
|
}
|
|
422
426
|
|
|
423
427
|
@media (min-width: 780px) {
|
|
@@ -1203,13 +1207,15 @@
|
|
|
1203
1207
|
height: 100%;
|
|
1204
1208
|
display: flex;
|
|
1205
1209
|
flex-direction: column;
|
|
1206
|
-
background-color:
|
|
1207
|
-
border-right: 1px solid
|
|
1208
|
-
transition: width
|
|
1210
|
+
background-color: #ffffff;
|
|
1211
|
+
border-right: 1px solid rgba(0, 0, 0, 0.05);
|
|
1212
|
+
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1209
1213
|
overflow-x: hidden;
|
|
1210
1214
|
box-sizing: border-box;
|
|
1211
|
-
font-family:
|
|
1212
|
-
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.
|
|
1215
|
+
font-family: inherit;
|
|
1216
|
+
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.04);
|
|
1217
|
+
position: relative;
|
|
1218
|
+
z-index: 101;
|
|
1213
1219
|
}
|
|
1214
1220
|
|
|
1215
1221
|
/* Width Control */
|
|
@@ -1392,6 +1398,14 @@
|
|
|
1392
1398
|
padding: 12px 0;
|
|
1393
1399
|
}
|
|
1394
1400
|
|
|
1401
|
+
.mobile-only {
|
|
1402
|
+
display: none !important;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
.desktop-only {
|
|
1406
|
+
display: flex !important;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1395
1409
|
.module-sidebar-toggle {
|
|
1396
1410
|
display: none;
|
|
1397
1411
|
}
|
|
@@ -1400,148 +1414,109 @@
|
|
|
1400
1414
|
display: none;
|
|
1401
1415
|
}
|
|
1402
1416
|
|
|
1403
|
-
@media (max-width:
|
|
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;
|
|
1413
|
-
}
|
|
1414
|
-
|
|
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;
|
|
1432
|
-
}
|
|
1417
|
+
@media (max-width: 780px) {
|
|
1433
1418
|
|
|
1434
|
-
/*
|
|
1435
|
-
.
|
|
1419
|
+
/* Toggle Button */
|
|
1420
|
+
.module-sidebar-toggle {
|
|
1436
1421
|
display: flex;
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1422
|
+
position: fixed;
|
|
1423
|
+
top: 68px;
|
|
1424
|
+
/* Slightly below the top header */
|
|
1425
|
+
left: 12px;
|
|
1426
|
+
z-index: 50;
|
|
1427
|
+
width: 44px;
|
|
1428
|
+
height: 44px;
|
|
1429
|
+
background: #ffffff;
|
|
1430
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
1431
|
+
border-radius: 50%;
|
|
1432
|
+
justify-content: center;
|
|
1433
|
+
align-items: center;
|
|
1434
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
1435
|
+
color: #1e293b;
|
|
1436
|
+
cursor: pointer;
|
|
1437
|
+
transition: all 0.3s ease;
|
|
1452
1438
|
}
|
|
1453
1439
|
|
|
1454
|
-
.
|
|
1455
|
-
|
|
1440
|
+
.module-sidebar-toggle.hidden {
|
|
1441
|
+
opacity: 0;
|
|
1442
|
+
pointer-events: none;
|
|
1443
|
+
transform: scale(0.8);
|
|
1456
1444
|
}
|
|
1457
1445
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
color: inherit;
|
|
1446
|
+
/* Backdrop Overlay */
|
|
1447
|
+
.module-sidebar-backdrop {
|
|
1461
1448
|
display: block;
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1449
|
+
position: fixed;
|
|
1450
|
+
top: 0;
|
|
1451
|
+
left: 0;
|
|
1452
|
+
width: 100vw;
|
|
1453
|
+
height: 100vh;
|
|
1454
|
+
background: rgba(0, 0, 0, 0.4);
|
|
1455
|
+
backdrop-filter: blur(4px);
|
|
1456
|
+
-webkit-backdrop-filter: blur(4px);
|
|
1457
|
+
z-index: 99;
|
|
1458
|
+
opacity: 0;
|
|
1466
1459
|
pointer-events: none;
|
|
1460
|
+
transition: opacity 0.4s ease;
|
|
1467
1461
|
}
|
|
1468
1462
|
|
|
1469
|
-
.
|
|
1470
|
-
|
|
1471
|
-
|
|
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;
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
.mobile-tab-item.active {
|
|
1483
|
-
background-color: #eff6ff;
|
|
1484
|
-
border-color: #bfdbfe;
|
|
1485
|
-
color: #1a67a3;
|
|
1463
|
+
.module-sidebar-backdrop.visible {
|
|
1464
|
+
opacity: 1;
|
|
1465
|
+
pointer-events: auto;
|
|
1486
1466
|
}
|
|
1487
1467
|
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1468
|
+
/* Sidebar Wrapper & Mobile Off-canvas Drawer */
|
|
1469
|
+
.module-sidebar-wrapper {
|
|
1470
|
+
position: fixed;
|
|
1471
|
+
top: 0;
|
|
1472
|
+
left: 0;
|
|
1473
|
+
height: 100vh;
|
|
1474
|
+
z-index: 100;
|
|
1475
|
+
pointer-events: none;
|
|
1476
|
+
/* Let clicks pass through when hidden */
|
|
1495
1477
|
}
|
|
1496
1478
|
|
|
1497
|
-
.mobile-
|
|
1498
|
-
|
|
1499
|
-
height: 16px;
|
|
1479
|
+
.module-sidebar-wrapper.mobile-open {
|
|
1480
|
+
pointer-events: auto;
|
|
1500
1481
|
}
|
|
1501
1482
|
|
|
1502
|
-
.
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1483
|
+
.premium-sidebar {
|
|
1484
|
+
position: absolute;
|
|
1485
|
+
top: 0;
|
|
1486
|
+
left: 0;
|
|
1487
|
+
height: 100vh;
|
|
1488
|
+
width: 280px !important;
|
|
1489
|
+
/* Force fixed width on mobile drawer */
|
|
1490
|
+
transform: translateX(-100%);
|
|
1491
|
+
box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
|
|
1506
1492
|
}
|
|
1507
1493
|
|
|
1508
|
-
.
|
|
1509
|
-
|
|
1494
|
+
.premium-sidebar.mobile-open {
|
|
1495
|
+
transform: translateX(0);
|
|
1510
1496
|
}
|
|
1511
1497
|
|
|
1512
|
-
.mobile-
|
|
1513
|
-
|
|
1514
|
-
font-weight: 500;
|
|
1515
|
-
color: #374151;
|
|
1516
|
-
line-height: 1;
|
|
1498
|
+
.mobile-only {
|
|
1499
|
+
display: flex !important;
|
|
1517
1500
|
}
|
|
1518
1501
|
|
|
1519
|
-
.
|
|
1520
|
-
|
|
1521
|
-
font-weight: 600;
|
|
1502
|
+
.desktop-only {
|
|
1503
|
+
display: none !important;
|
|
1522
1504
|
}
|
|
1523
1505
|
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
width: 100% !important;
|
|
1506
|
+
.brand-name {
|
|
1507
|
+
opacity: 1 !important;
|
|
1508
|
+
width: auto !important;
|
|
1509
|
+
margin-left: 16px !important;
|
|
1529
1510
|
}
|
|
1530
1511
|
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
.expanded-content {
|
|
1536
|
-
width: 100% !important;
|
|
1537
|
-
padding: 16px !important;
|
|
1538
|
-
border-radius: 0 !important;
|
|
1539
|
-
box-shadow: none !important;
|
|
1512
|
+
.nav-text {
|
|
1513
|
+
opacity: 1 !important;
|
|
1514
|
+
width: auto !important;
|
|
1515
|
+
margin-left: 16px !important;
|
|
1540
1516
|
}
|
|
1541
1517
|
}
|
|
1542
1518
|
|
|
1543
1519
|
@media (min-width: 768px) {
|
|
1544
|
-
|
|
1545
1520
|
.mobile-sidebar-toggle,
|
|
1546
1521
|
.mobile-close-btn,
|
|
1547
1522
|
.sidebar-backdrop {
|
|
@@ -1566,4 +1541,4 @@
|
|
|
1566
1541
|
padding: 20px;
|
|
1567
1542
|
transition: none;
|
|
1568
1543
|
}
|
|
1569
|
-
}
|
|
1544
|
+
}
|
|
@@ -44,10 +44,12 @@
|
|
|
44
44
|
flex-direction: column;
|
|
45
45
|
gap: 8px;
|
|
46
46
|
padding: 10px 8px 14px;
|
|
47
|
-
transition: width 0.3s
|
|
47
|
+
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
48
48
|
overflow: hidden;
|
|
49
|
-
|
|
49
|
+
position: relative;
|
|
50
|
+
z-index: 101;
|
|
50
51
|
padding-top: 56px;
|
|
52
|
+
height: 100vh;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
.citizen-static-sidebar.expanded {
|
|
@@ -129,6 +131,7 @@ height:inherit;
|
|
|
129
131
|
border: 1px solid #eef2f7;
|
|
130
132
|
flex: 1;
|
|
131
133
|
overflow-y: auto;
|
|
134
|
+
overflow-x: hidden;
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
.citizen-static-sidebar .drawer-desktop .sidebar-list {
|
|
@@ -137,7 +140,7 @@ height:inherit;
|
|
|
137
140
|
|
|
138
141
|
.citizen-static-sidebar .drawer-desktop .sidebar-list.active {
|
|
139
142
|
border-left: none;
|
|
140
|
-
|
|
143
|
+
|
|
141
144
|
border-radius: 12px;
|
|
142
145
|
padding-left: 4px;
|
|
143
146
|
}
|
|
@@ -194,10 +197,10 @@ height:inherit;
|
|
|
194
197
|
align-items: center;
|
|
195
198
|
width: 100%;
|
|
196
199
|
padding: 10px 0;
|
|
200
|
+
margin-left: 7px;
|
|
197
201
|
}
|
|
198
202
|
|
|
199
203
|
.citizen-static-sidebar.collapsed .drawer-desktop .sidebar-list.active {
|
|
200
|
-
background: #e0efff;
|
|
201
204
|
padding: 6px 4px;
|
|
202
205
|
}
|
|
203
206
|
|
|
@@ -226,8 +229,109 @@ height:inherit;
|
|
|
226
229
|
display: none;
|
|
227
230
|
}
|
|
228
231
|
|
|
232
|
+
.citizen-mobile-toggle {
|
|
233
|
+
display: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.citizen-sidebar-backdrop {
|
|
237
|
+
display: none;
|
|
238
|
+
}
|
|
239
|
+
|
|
229
240
|
@media (max-width: 780px) {
|
|
230
241
|
.citizen-sidebar-toggle {
|
|
231
242
|
display: none;
|
|
232
243
|
}
|
|
244
|
+
|
|
245
|
+
.citizen-mobile-toggle {
|
|
246
|
+
display: flex;
|
|
247
|
+
position: fixed;
|
|
248
|
+
bottom: 30px;
|
|
249
|
+
left: 50%;
|
|
250
|
+
transform: translateX(-50%);
|
|
251
|
+
z-index: 50;
|
|
252
|
+
height: 48px;
|
|
253
|
+
padding: 0 24px;
|
|
254
|
+
background: rgba(255, 255, 255, 0.85);
|
|
255
|
+
backdrop-filter: blur(12px);
|
|
256
|
+
-webkit-backdrop-filter: blur(12px);
|
|
257
|
+
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
258
|
+
border-radius: 999px;
|
|
259
|
+
justify-content: center;
|
|
260
|
+
align-items: center;
|
|
261
|
+
gap: 8px;
|
|
262
|
+
box-shadow: 0 8px 32px rgba(30, 58, 138, 0.15), 0 2px 8px rgba(30, 58, 138, 0.1);
|
|
263
|
+
color: #1e3a8a;
|
|
264
|
+
cursor: pointer;
|
|
265
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
266
|
+
|
|
267
|
+
.toggle-label {
|
|
268
|
+
font-size: 14px;
|
|
269
|
+
font-weight: 700;
|
|
270
|
+
letter-spacing: 0.5px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:active {
|
|
274
|
+
transform: translateX(-50%) scale(0.95);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.citizen-mobile-toggle.hidden {
|
|
279
|
+
opacity: 0;
|
|
280
|
+
pointer-events: none;
|
|
281
|
+
transform: translateX(-50%) translateY(20px) scale(0.9);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.citizen-sidebar-backdrop {
|
|
285
|
+
display: block;
|
|
286
|
+
position: fixed;
|
|
287
|
+
top: 0;
|
|
288
|
+
left: 0;
|
|
289
|
+
width: 100vw;
|
|
290
|
+
height: 100vh;
|
|
291
|
+
background: rgba(0, 0, 0, 0.4);
|
|
292
|
+
backdrop-filter: blur(4px);
|
|
293
|
+
-webkit-backdrop-filter: blur(4px);
|
|
294
|
+
z-index: 99;
|
|
295
|
+
opacity: 0;
|
|
296
|
+
pointer-events: none;
|
|
297
|
+
transition: opacity 0.4s ease;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.citizen-sidebar-backdrop.visible {
|
|
301
|
+
opacity: 1;
|
|
302
|
+
pointer-events: auto;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.citizen-static-sidebar {
|
|
306
|
+
position: fixed;
|
|
307
|
+
top: 0;
|
|
308
|
+
left: 0;
|
|
309
|
+
height: 100vh;
|
|
310
|
+
width: 280px !important;
|
|
311
|
+
transform: translateX(-100%);
|
|
312
|
+
box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.citizen-static-sidebar.mobile-open {
|
|
316
|
+
transform: translateX(0);
|
|
317
|
+
margin-top: 40px;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/* When on mobile, drawer is always expanded visually inside */
|
|
321
|
+
.citizen-static-sidebar .citizen-sidebar-brand-text,
|
|
322
|
+
.citizen-static-sidebar .drawer-desktop .menu-label {
|
|
323
|
+
opacity: 1 !important;
|
|
324
|
+
width: auto !important;
|
|
325
|
+
margin-left: 0 !important;
|
|
326
|
+
pointer-events: auto !important;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.citizen-static-sidebar .drawer-desktop .menu-item {
|
|
330
|
+
justify-content: flex-start !important;
|
|
331
|
+
padding: 8px 10px !important;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.citizen-static-sidebar .profile-section .label-container {
|
|
335
|
+
display: flex !important;
|
|
336
|
+
}
|
|
233
337
|
}
|
package/src/index.scss
CHANGED
|
@@ -323,8 +323,17 @@
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
@media (max-width: 780px) {
|
|
326
|
+
|
|
327
|
+
/* On mobile, SideBarStatic shouldn't prevent the drawer from appearing. */
|
|
326
328
|
.SideBarStatic {
|
|
327
|
-
display:
|
|
329
|
+
display: block;
|
|
330
|
+
position: fixed;
|
|
331
|
+
top: 0;
|
|
332
|
+
left: 0;
|
|
333
|
+
z-index: 1000;
|
|
334
|
+
width: 0;
|
|
335
|
+
/* No physical width so it doesn't push map content */
|
|
336
|
+
height: 100vh;
|
|
328
337
|
}
|
|
329
338
|
}
|
|
330
339
|
|
|
@@ -334,7 +343,6 @@
|
|
|
334
343
|
position: relative;
|
|
335
344
|
overflow: hidden;
|
|
336
345
|
padding-bottom: 40px;
|
|
337
|
-
height:inherit;
|
|
338
346
|
|
|
339
347
|
&::before {
|
|
340
348
|
content: "";
|
|
@@ -343,7 +351,6 @@
|
|
|
343
351
|
top: -5%;
|
|
344
352
|
width: 50vw;
|
|
345
353
|
height: 50vw;
|
|
346
|
-
background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
|
|
347
354
|
border-radius: 50%;
|
|
348
355
|
opacity: 0.8;
|
|
349
356
|
z-index: 0;
|
|
@@ -369,36 +376,71 @@
|
|
|
369
376
|
flex: 1;
|
|
370
377
|
min-width: 0;
|
|
371
378
|
margin-top: -25px;
|
|
379
|
+
position: relative;
|
|
372
380
|
|
|
373
381
|
img {
|
|
374
382
|
height: 33vw;
|
|
375
|
-
|
|
376
|
-
|
|
383
|
+
min-height: 220px;
|
|
384
|
+
filter: brightness(0.65) contrast(1.1);
|
|
385
|
+
@apply w-full object-cover rounded-b-2xl;
|
|
386
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
387
|
+
transition: filter 0.3s ease;
|
|
377
388
|
}
|
|
378
389
|
|
|
379
390
|
h1 {
|
|
380
391
|
position: absolute;
|
|
381
392
|
top: 100px;
|
|
393
|
+
/* Base position */
|
|
382
394
|
left: 21px;
|
|
383
|
-
@apply text-heading-xl
|
|
395
|
+
@apply text-heading-xl;
|
|
396
|
+
/* Kept this as it's likely a custom framework class */
|
|
397
|
+
color: #ffffff;
|
|
398
|
+
/* text-white equivalent */
|
|
399
|
+
font-weight: 800;
|
|
400
|
+
/* font-extrabold equivalent */
|
|
401
|
+
text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
402
|
+
letter-spacing: 0.5px;
|
|
384
403
|
}
|
|
385
404
|
|
|
386
405
|
.moduleLinkHomePageBackButton {
|
|
387
406
|
border: none;
|
|
388
|
-
|
|
407
|
+
position: absolute;
|
|
408
|
+
top: 80px;
|
|
409
|
+
/* Align nicer */
|
|
410
|
+
left: 16px;
|
|
411
|
+
background: rgba(255, 255, 255, 0.2);
|
|
412
|
+
backdrop-filter: blur(8px);
|
|
413
|
+
-webkit-backdrop-filter: blur(8px);
|
|
414
|
+
border-radius: 50%;
|
|
415
|
+
width: 40px;
|
|
416
|
+
height: 40px;
|
|
417
|
+
display: flex;
|
|
418
|
+
justify-content: center;
|
|
419
|
+
align-items: center;
|
|
420
|
+
transition: background 0.2s ease;
|
|
421
|
+
|
|
422
|
+
&:hover {
|
|
423
|
+
background: rgba(255, 255, 255, 0.4);
|
|
424
|
+
}
|
|
389
425
|
|
|
390
426
|
svg {
|
|
391
|
-
fill:
|
|
427
|
+
fill: #ffffff !important;
|
|
392
428
|
}
|
|
393
429
|
|
|
394
|
-
|
|
430
|
+
/* remove ml-md inside so it centers */
|
|
395
431
|
}
|
|
396
432
|
}
|
|
397
433
|
|
|
398
434
|
.moduleLinkHomePageModuleLinks {
|
|
399
|
-
@apply mt-md;
|
|
435
|
+
@apply mt-md mx-sm;
|
|
400
436
|
|
|
401
437
|
.CitizenHomeCard {
|
|
438
|
+
background: rgba(255, 255, 255, 0.8) !important;
|
|
439
|
+
backdrop-filter: blur(12px);
|
|
440
|
+
border-radius: 16px !important;
|
|
441
|
+
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
|
|
442
|
+
border: 1px solid rgba(255, 255, 255, 0.9);
|
|
443
|
+
|
|
402
444
|
.header {
|
|
403
445
|
@apply hidden;
|
|
404
446
|
}
|
|
@@ -439,21 +481,26 @@
|
|
|
439
481
|
img {
|
|
440
482
|
min-width: 100vw;
|
|
441
483
|
height: 20vw;
|
|
484
|
+
border-radius: 0 0 24px 24px;
|
|
485
|
+
/* Smoother curve on desktop */
|
|
442
486
|
}
|
|
443
487
|
|
|
444
488
|
h1 {
|
|
445
|
-
top: calc(10vw +
|
|
446
|
-
left: 15.8rem;
|
|
489
|
+
top: calc(10vw + 60px);
|
|
490
|
+
left: calc(15.8rem + 40px);
|
|
491
|
+
/* Align slightly right of back button */
|
|
492
|
+
font-size: 38px;
|
|
447
493
|
}
|
|
448
494
|
|
|
449
495
|
.moduleLinkHomePageBackButton {
|
|
450
496
|
top: calc(10vw + 16px);
|
|
451
|
-
|
|
497
|
+
left: 15.8rem;
|
|
452
498
|
}
|
|
453
499
|
}
|
|
454
500
|
|
|
455
501
|
.moduleLinkHomePageModuleLinks {
|
|
456
502
|
width: 100%;
|
|
503
|
+
padding: 0 2rem;
|
|
457
504
|
}
|
|
458
505
|
}
|
|
459
506
|
|