@everymatrix/lottery-tipping-ticket-controller 0.1.6 → 0.2.0

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.
@@ -9,18 +9,25 @@
9
9
  flex-wrap: wrap;
10
10
  align-items: center;
11
11
  justify-content: space-between;
12
- padding: 0.5rem 1rem;
12
+ padding: 0 1rem;
13
13
  background: var(--emw--color-primary, #fed275);
14
- border-top: 2px solid var(--emw--color-primary-variant, #ffe66f);
15
- border-bottom: 2px solid var(--emw--color-primary-variant, #ffe66f);
14
+ border-top: 2px solid var(--emw--color-primary, #fed275);
15
+ border-bottom: 2px solid var(--emw--color-primary, #fed275);
16
16
  gap: 0.5rem;
17
17
  white-space: nowrap;
18
+ position: relative;
19
+ height: 46px;
18
20
  }
19
21
 
20
22
  .left {
21
23
  flex: 1;
22
24
  gap: 0.4rem;
23
25
  }
26
+ .left .logo {
27
+ width: 216px;
28
+ position: absolute;
29
+ top: -7px;
30
+ }
24
31
 
25
32
  .brand {
26
33
  font-weight: 700;
@@ -67,8 +67,8 @@ export class LotteryTippingTicketBanner {
67
67
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
68
68
  }
69
69
  render() {
70
- const backgroundImagePath = getAssetPath('../static/tipping-full-color.svg');
71
- return (h("div", { key: 'eb93e7946631d234963d841df9e8b753b651c795', ref: (el) => (this.stylingContainer = el), class: "lottery-tipping-ticket-banner__container" }, h("section", { key: '0133e845df14caa912b18e1734ad16c584b7359f', class: "banner" }, h("div", { key: '23bc3b34011dc5533bf70397f974936e238f04fe', class: "left" }, h("img", { key: '52110de0807e79c02d7934ec8a37c1322b73fe84', alt: "Betting", src: backgroundImagePath, class: "logo" })), h("div", { key: 'b5deae59d09b870777c913c5ebfca43886c3cf95', class: "mid period" }, this.formattedPeriod), h("div", { key: 'b404e474850233e2d5e139077fd774f178bc40fa', class: "right" }, h("span", { key: '3b9072c2165a033d17c9572c7cafe2a2c699447b', class: "pill" }, h("strong", { key: 'c560c2c27dc930a963b992c07e02745b18d0002f' }, translate('stop', this.language)), "\u00A0", translate('at', this.language), "\u00A0", this.formattedStopTime)))));
70
+ const backgroundImagePath = getAssetPath('../static/poolgame-bg.webp');
71
+ return (h("div", { key: '07515ab821761d26edcc285f83f6e81dfab269ca', ref: (el) => (this.stylingContainer = el), class: "lottery-tipping-ticket-banner__container" }, h("section", { key: 'bbd8a3ae1b718f77b726dc89be4f901757579541', class: "banner" }, h("div", { key: '2b1883da2db0bfae83e5b4997c999fff433eb7a8', class: "left" }, h("img", { key: '54b482734d27bdfbbd2983bc95704273195fdd0d', alt: "Betting", src: backgroundImagePath, class: "logo" })), h("div", { key: '2a735ea687f0aaea72b0142f7026c9da0e15195d', class: "mid period" }, this.formattedPeriod), h("div", { key: '9c797b4a3bc6d2f0a69f4fd8af07f80eb765d0aa', class: "right" }, h("span", { key: '8c3abf153cf7f9ee1e2afcd42f67f7d90fe2f2a6', class: "pill" }, h("strong", { key: '4b3d99c269b4f494f62cbacc943f93f248004a96' }, translate('stop', this.language)), "\u00A0", translate('at', this.language), "\u00A0", this.formattedStopTime)))));
72
72
  }
73
73
  static get is() { return "lottery-tipping-ticket-banner"; }
74
74
  static get encapsulation() { return "shadow"; }