@djb25/digit-ui-css 1.0.77 → 1.0.78

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -119,7 +119,7 @@
119
119
  overflow: hidden;
120
120
  }
121
121
 
122
- .citizen-app-container > * {
122
+ .citizen-app-container>* {
123
123
  position: relative;
124
124
  z-index: 1;
125
125
  }
@@ -304,6 +304,7 @@
304
304
  }
305
305
 
306
306
  @media (max-width: 780px) {
307
+
307
308
  /* On mobile, SideBarStatic shouldn't prevent the drawer from appearing. */
308
309
  .SideBarStatic {
309
310
  display: block;
@@ -341,44 +342,56 @@
341
342
  transition: filter 0.3s ease;
342
343
  }
343
344
 
344
- h1 {
345
- position: absolute;
346
- top: 100px;
347
- /* Base position */
348
- left: 21px;
349
- @apply text-heading-xl;
350
- /* Kept this as it's likely a custom framework class */
351
- color: #ffffff;
352
- /* text-white equivalent */
353
- font-weight: 800;
354
- /* font-extrabold equivalent */
355
- text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
356
- letter-spacing: 0.5px;
345
+ .moduleTitle {
346
+ position: absolute !important;
347
+ bottom: 35px !important;
348
+ left: 50% !important;
349
+ transform: translateX(-50%) !important;
350
+ z-index: 2 !important;
351
+ text-align: center !important;
352
+ width: max-content !important;
353
+
354
+ h1, h4 {
355
+ margin: 0 !important;
356
+ color: #fff !important;
357
+ font-weight: 800 !important;
358
+ letter-spacing: 0.5px !important;
359
+ text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
360
+ }
361
+
362
+ h1 {
363
+ @apply text-heading-xl;
364
+ font-size: 38px !important;
365
+ }
366
+
367
+ h4 {
368
+ font-size: 18px !important;
369
+ font-weight: 700 !important;
370
+ }
357
371
  }
358
372
 
359
373
  .moduleLinkHomePageBackButton {
360
374
  border: none;
361
375
  position: absolute;
362
- top: 80px;
363
- /* Align nicer */
364
- left: 16px;
365
- background: rgba(255, 255, 255, 0.2);
366
- backdrop-filter: blur(8px);
367
- -webkit-backdrop-filter: blur(8px);
376
+ top: 35px !important;
377
+ left: 16px !important;
378
+ background: #ffffff !important;
379
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
368
380
  border-radius: 50%;
369
- width: 40px;
370
- height: 40px;
381
+ width: 45px;
382
+ height: 45px;
371
383
  display: flex;
372
384
  justify-content: center;
373
385
  align-items: center;
374
- transition: background 0.2s ease;
386
+ transition: background 0.2s ease, transform 0.2s ease;
375
387
 
376
388
  &:hover {
377
- background: rgba(255, 255, 255, 0.4);
389
+ background: #f1f5f9 !important;
390
+ transform: scale(1.05);
378
391
  }
379
392
 
380
393
  svg {
381
- fill: #ffffff !important;
394
+ fill: #f37a20 !important;
382
395
  }
383
396
 
384
397
  /* remove ml-md inside so it centers */
@@ -406,6 +419,7 @@
406
419
  @screen dt {
407
420
  .HomePageWrapper {
408
421
  width: 100%;
422
+
409
423
  .BannerWithSearch {
410
424
  margin-bottom: 56px;
411
425
  width: 100% !important;
@@ -439,16 +453,13 @@
439
453
  /* Smoother curve on desktop */
440
454
  }
441
455
 
442
- h1 {
443
- top: calc(10vw + 60px);
444
- left: calc(15.8rem + 40px);
445
- /* Align slightly right of back button */
446
- font-size: 38px;
456
+ .moduleTitle {
457
+ bottom: 50px !important;
447
458
  }
448
459
 
449
460
  .moduleLinkHomePageBackButton {
450
- top: calc(10vw + 16px);
451
- left: 15.8rem;
461
+ top: 35px !important;
462
+ left: 16px !important;
452
463
  }
453
464
  }
454
465
 
@@ -456,4 +467,4 @@
456
467
  width: 100%;
457
468
  padding: 0 2rem;
458
469
  }
459
- }
470
+ }