@bytebrand/fe-ui-core-autobahn 1.0.74 → 1.0.76

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/theme/md3.css CHANGED
@@ -4626,17 +4626,20 @@ line-height: 31px;
4626
4626
  border: 1px solid transparent;
4627
4627
  }
4628
4628
  .md3 .cc-card .deal-chip--drop {
4629
- background: rgba(17, 110, 57, 0.2) !important;
4629
+ /* solid equivalent of rgba(17, 110, 57, 0.2) over white — the badge now sits over an
4630
+ edge-to-edge photo (CardCarousel padding removed), so a translucent fill let the image
4631
+ show through instead of the intended pastel tint. */
4632
+ background: rgb(207, 226, 215) !important;
4630
4633
  border-color: rgba(17, 110, 57, 0.05);
4631
4634
  color: #116e39 !important;
4632
4635
  }
4633
4636
  .md3 .cc-card .deal-chip--percent {
4634
- background: rgba(217, 45, 32, 0.2) !important;
4637
+ background: rgb(247, 213, 210) !important;
4635
4638
  border-color: rgba(217, 45, 32, 0.05);
4636
4639
  color: #d92d20 !important;
4637
4640
  }
4638
4641
  .md3 .cc-card .deal-chip--zerodown {
4639
- background: rgba(0, 92, 255, 0.2) !important;
4642
+ background: rgb(204, 222, 255) !important;
4640
4643
  border-color: rgba(0, 92, 255, 0.05);
4641
4644
  color: #005cff !important;
4642
4645
  }
@@ -4644,7 +4647,7 @@ line-height: 31px;
4644
4647
  .md3 .cc-card .neu-badge {
4645
4648
  height: 30px;
4646
4649
  padding: 0 10px;
4647
- background: rgba(255, 184, 0, 0.2);
4650
+ background: rgb(255, 241, 204);
4648
4651
  border: 1px solid rgba(255, 184, 0, 0.05);
4649
4652
  color: #ffb800;
4650
4653
  font-size: 13px;
@@ -4655,7 +4658,7 @@ line-height: 31px;
4655
4658
  height: 30px;
4656
4659
  padding: 0 10px;
4657
4660
  border-radius: 10px;
4658
- background: rgba(0, 0, 0, 0.2);
4661
+ background: rgb(204, 204, 204);
4659
4662
  border: 1px solid rgba(0, 0, 0, 0.05);
4660
4663
  color: #000;
4661
4664
  font-size: 14px;
@@ -4667,12 +4670,34 @@ line-height: 31px;
4667
4670
  }
4668
4671
  .md3 .cc-price .fin-tabs { margin-bottom: 12px; }
4669
4672
  .md3 .cc-price .fin-tab { font-size: 17px; font-weight: 700; padding: 10px 5px; }
4673
+ @media (max-width: 1024px) {
4674
+ /* mobile CarCard tabs: only the ACTIVE tab bold + blue, matching the min-width:1025px desktop
4675
+ override further below — :not(.on) matches its specificity so a later, equal-specificity
4676
+ rule (.md3 .fin-tab:not(.on), bold+#111820 for both states) can't win the cascade on
4677
+ source-order alone. */
4678
+ .md3 .cc-price .fin-tab:not(.on) {
4679
+ font-family: 'Arial';
4680
+ font-weight: 400;
4681
+ font-size: 14px;
4682
+ line-height: 16px;
4683
+ color: #0E2238;
4684
+ }
4685
+ .md3 .cc-price .fin-tab.on {
4686
+ font-family: 'Arial';
4687
+ font-weight: 700;
4688
+ font-size: 14px;
4689
+ line-height: 16px;
4690
+ color: #005CFF;
4691
+ }
4692
+ }
4670
4693
  /* Finanzierung tab price row (Figma "similar cars" card) — matches the VDP finance-calculator's
4671
4694
  MOBILE .fin-price-grid treatment one-to-one (same rate/old-price/pill typography and colors),
4672
4695
  by explicit spec. Previously gated to min-width:601px (left the pre-existing mobile .cc-card
4673
4696
  price row alone); now applied at every width on request, so mobile CarCard matches too. */
4674
4697
  .md3 .cc-price .pp-eyebrow,
4675
- .md3 .fin-calc-card .pp-eyebrow {
4698
+ .md3 .fin-calc-card .pp-eyebrow,
4699
+ .md3 .vdp-bottom-bar .pp-eyebrow,
4700
+ .md3 .fin-modal .pp-eyebrow {
4676
4701
  position: relative;
4677
4702
  font-family: Arial, Helvetica, sans-serif;
4678
4703
  font-style: normal;
@@ -4688,7 +4713,9 @@ line-height: 31px;
4688
4713
  corner — absolute against .pp-eyebrow's own position:relative above. Shared by the CarCard
4689
4714
  hero (.cc-price) and the VDP FinanceCalculator's own rate example (.fin-calc-card). */
4690
4715
  .md3 .cc-price .pp-eyebrow-badge,
4691
- .md3 .fin-calc-card .pp-eyebrow-badge {
4716
+ .md3 .fin-calc-card .pp-eyebrow-badge,
4717
+ .md3 .vdp-bottom-bar .pp-eyebrow-badge,
4718
+ .md3 .fin-modal .pp-eyebrow-badge {
4692
4719
  display: inline-flex;
4693
4720
  align-items: center;
4694
4721
  justify-content: center;
@@ -4711,7 +4738,9 @@ line-height: 31px;
4711
4738
  }
4712
4739
  /* mobile-only nudge: same badge, tucked slightly closer to the eyebrow text on narrow cards. */
4713
4740
  @media (max-width: 1024px) {
4714
- .md3 .cc-price .pp-eyebrow-badge {
4741
+ .md3 .cc-price .pp-eyebrow-badge,
4742
+ .md3 .vdp-bottom-bar .pp-eyebrow-badge,
4743
+ .md3 .fin-modal .pp-eyebrow-badge {
4715
4744
  top: -5px;
4716
4745
  right: -5px;
4717
4746
  }
@@ -4719,13 +4748,17 @@ line-height: 31px;
4719
4748
  /* "2" badge (Kaufen, nested in .pp-hero-old instead of .pp-eyebrow) sits closer to the price
4720
4749
  figure than the "3" badge's own offsets above. */
4721
4750
  .md3 .cc-price .pp-hero-old .pp-eyebrow-badge,
4722
- .md3 .fin-calc-card .pp-hero-old .pp-eyebrow-badge {
4751
+ .md3 .fin-calc-card .pp-hero-old .pp-eyebrow-badge,
4752
+ .md3 .vdp-bottom-bar .fin-rate-old-bb .pp-eyebrow-badge,
4753
+ .md3 .fin-modal .fin-rate-old-list .pp-eyebrow-badge {
4723
4754
  top: -7px;
4724
4755
  right: -12px;
4725
4756
  }
4726
4757
  /* "3" footnote popover — click the badge above to open, the × or an outside click to close. */
4727
4758
  .md3 .cc-price .pp-uvp-tooltip,
4728
- .md3 .fin-calc-card .pp-uvp-tooltip {
4759
+ .md3 .fin-calc-card .pp-uvp-tooltip,
4760
+ .md3 .vdp-bottom-bar .pp-uvp-tooltip,
4761
+ .md3 .fin-modal .pp-uvp-tooltip {
4729
4762
  position: absolute;
4730
4763
  top: 6px;
4731
4764
  right: -84px;
@@ -4738,10 +4771,18 @@ line-height: 31px;
4738
4771
  white-space: normal;
4739
4772
  cursor: default;
4740
4773
  }
4774
+ /* the bottom bar spans nearly the full phone width, so the shared -84px offset (tuned for
4775
+ the narrower .cc-price card / .fin-calc-card sheet) leaves the popover sitting too far left. */
4776
+ .md3 .vdp-bottom-bar .pp-uvp-tooltip {
4777
+ top: -20px;
4778
+ right: -110px;
4779
+ }
4741
4780
  /* floating circular close button — overlaps the tooltip's top-right corner from outside,
4742
4781
  same "glass circle" convention as VdpViewer's close/back/next overlay buttons. */
4743
4782
  .md3 .cc-price .pp-uvp-tooltip-close,
4744
- .md3 .fin-calc-card .pp-uvp-tooltip-close {
4783
+ .md3 .fin-calc-card .pp-uvp-tooltip-close,
4784
+ .md3 .vdp-bottom-bar .pp-uvp-tooltip-close,
4785
+ .md3 .fin-modal .pp-uvp-tooltip-close {
4745
4786
  position: absolute;
4746
4787
  top: -38px;
4747
4788
  right: -35px;
@@ -4757,7 +4798,9 @@ line-height: 31px;
4757
4798
  cursor: pointer;
4758
4799
  }
4759
4800
  .md3 .cc-price .pp-uvp-tooltip-body,
4760
- .md3 .fin-calc-card .pp-uvp-tooltip-body {
4801
+ .md3 .fin-calc-card .pp-uvp-tooltip-body,
4802
+ .md3 .vdp-bottom-bar .pp-uvp-tooltip-body,
4803
+ .md3 .fin-modal .pp-uvp-tooltip-body {
4761
4804
  font-family: Arial, Helvetica, sans-serif;
4762
4805
  font-weight: 400;
4763
4806
  font-size: 11px;
@@ -4845,6 +4888,25 @@ line-height: 31px;
4845
4888
  order: -1;
4846
4889
  align-self: flex-end;
4847
4890
  }
4891
+ /* Kaufen hero price on mobile — was falling through to the generic (rate-sized) .pp-hero-val
4892
+ above (65px, shrinking only via the rate-digit len4/5/6 classes cardParts.tsx never applies
4893
+ in Kaufen mode), so real purchase prices had no digit-based shrink at all here and could
4894
+ overflow. Mirrors the existing min-width:1025px desktop rule exactly. */
4895
+ .md3 .cc-price .pp-hero--buy .pp-hero-val {
4896
+ font-family: 'Arial';
4897
+ font-weight: 700;
4898
+ font-size: 52px;
4899
+ line-height: 58px;
4900
+ color: #005CFF;
4901
+ }
4902
+ .md3 .cc-price .pp-hero--buy .pp-hero-val.pp-hero-val--buy-len6 {
4903
+ font-size: 48px;
4904
+ line-height: 54px;
4905
+ }
4906
+ .md3 .cc-price .pp-hero--buy .pp-hero-val.pp-hero-val--buy-len7 {
4907
+ font-size: 43px;
4908
+ line-height: 47px;
4909
+ }
4848
4910
  /* Preisbewertung pill + segmented tier bar, grouped in one column exactly like the VDP
4849
4911
  finance-calculator's MOBILE .fin-eval-col (FinanceCalculator.tsx) — replaces the old
4850
4912
  StatChip pill + full-width gradient .pp-bar (see PriceEvalCol in cardParts.tsx). No
@@ -4876,9 +4938,11 @@ line-height: 31px;
4876
4938
  /* footnote 4 ("Top-Preis" claim) — .fin-eval-pill is a flex container, so vertical-align has
4877
4939
  no effect on the sup (it's a flex item, not inline content); position:relative/top raises
4878
4940
  it instead, same technique as the hero price's own 1/2/3 footnote markers. Shared by the
4879
- CarCard hero (.cc-price) and the VDP FinanceCalculator's own pill (.fin-calc-card). */
4941
+ CarCard hero (.cc-price), the VDP FinanceCalculator's own pill (.fin-calc-card), and the
4942
+ FinanceDetailsModal's embedded mobile rate sheet (.fin-modal). */
4880
4943
  .md3 .cc-price .fin-eval-pill sup,
4881
- .md3 .fin-calc-card .fin-eval-pill sup {
4944
+ .md3 .fin-calc-card .fin-eval-pill sup,
4945
+ .md3 .fin-modal .fin-eval-pill sup {
4882
4946
  position: relative;
4883
4947
  top: 0px;
4884
4948
  left: -4px;
@@ -4908,11 +4972,12 @@ line-height: 31px;
4908
4972
  (PricePaths); the link resets button chrome and reuses the primary color so it reads as tappable. */
4909
4973
  .md3 .cc-terms {
4910
4974
  margin-top: 9px;
4975
+ margin-bottom: 10px;
4911
4976
  font-family: Arial, Helvetica, sans-serif;
4912
4977
  font-style: normal;
4913
4978
  font-weight: 400;
4914
- font-size: 13px;
4915
- line-height: 15px;
4979
+ font-size: 12px;
4980
+ line-height: 14px;
4916
4981
  color: #0e2238;
4917
4982
  }
4918
4983
  .md3 .cc-terms-dot {
@@ -4935,6 +5000,7 @@ line-height: 31px;
4935
5000
  line-height: 15px;
4936
5001
  letter-spacing: -0.03em;
4937
5002
  color: #0e2238;
5003
+ text-decoration: underline;
4938
5004
  cursor: pointer;
4939
5005
  }
4940
5006
  /* card CTA row (Angebot anfragen / phone / Rate anpassen) — the shared .mbtn padding (0 24px)
@@ -4994,6 +5060,12 @@ line-height: 31px;
4994
5060
  border-bottom: 1px solid var(--md-outline-variant);
4995
5061
  margin-bottom: 18px;
4996
5062
  }
5063
+ /* VDP FinanceCalculator card only — scoped so it doesn't touch .vdp-bottom-bar / .fin-modal-body /
5064
+ .vdp-aside's own .fin-tabs margins (desktop base + mobile override above are both 1-class, so
5065
+ this 2-class selector wins purely on specificity regardless of viewport or source order). */
5066
+ .md3 .fin-calc-card .fin-tabs {
5067
+ margin-bottom: 10px;
5068
+ }
4997
5069
  .md3 .fin-tab {
4998
5070
  flex: 1;
4999
5071
  background: none;
@@ -5034,7 +5106,7 @@ line-height: 31px;
5034
5106
  grid-template-areas: "rate pill" "cond bar";
5035
5107
  gap: 12px 16px;
5036
5108
  align-items: center;
5037
- margin-top: 8px;
5109
+ margin-top: 0;
5038
5110
  }
5039
5111
  .md3 .fin-rate-main {
5040
5112
  grid-area: rate;
@@ -5487,7 +5559,24 @@ line-height: 31px;
5487
5559
  }
5488
5560
  .md3 .bb-tabs .fin-tab {
5489
5561
  padding: 15px 14px 10px 14px;
5490
- font-size: 13.5px;
5562
+ }
5563
+ /* :not(.on) — a later, equal-specificity mobile rule (.md3 .fin-tab:not(.on), Figma "dark +
5564
+ bold" spec for the desktop-style tabs) would otherwise win on source order alone; matching
5565
+ its :not(.on) here brings this to 4 classes vs its 3 so bb-tabs always wins regardless of
5566
+ where either rule sits in the file. */
5567
+ .md3 .bb-tabs .fin-tab:not(.on) {
5568
+ font-family: 'Arial';
5569
+ font-weight: 400;
5570
+ font-size: 14px;
5571
+ line-height: 16px;
5572
+ color: #0E2238;
5573
+ }
5574
+ .md3 .bb-tabs .fin-tab.on {
5575
+ font-family: 'Arial';
5576
+ font-weight: 700;
5577
+ font-size: 14px;
5578
+ line-height: 16px;
5579
+ color: #005CFF;
5491
5580
  }
5492
5581
  .md3 .bb-price-row .num.num--len5 {
5493
5582
  font-size: 42px;
@@ -7993,15 +8082,6 @@ color: #005CFF;
7993
8082
  line-height: 9px;
7994
8083
  color: #111820;
7995
8084
  }
7996
- /* "z.B. 499 €² / mtl.³" representative-example line under the hero rate */
7997
- .md3 .fin-rate-main .fin-rate-example-label {
7998
- font-family: Arial, Helvetica, sans-serif;
7999
- font-style: normal;
8000
- font-weight: 700;
8001
- font-size: 10px;
8002
- line-height: 11px;
8003
- color: #5b6b7f;
8004
- }
8005
8085
  .md3 .fin-rate-main .fin-rate-example-price {
8006
8086
  position: relative;
8007
8087
  display: inline-block;