@everymatrix/player-account-gaming-limits 0.0.166 → 0.0.170

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": "@everymatrix/player-account-gaming-limits",
3
- "version": "0.0.166",
3
+ "version": "0.0.170",
4
4
  "main": "dist/player-account-gaming-limits.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "cc5cea8f5d4ed68bf0b052d98cc82ce69e97fc45"
39
+ "gitHead": "3836860c7d1128dcea8bc1638c7912ee0f50ce6b"
40
40
  }
@@ -16,7 +16,7 @@
16
16
  Object.keys(PlayerGamingLimitsCardTranslations).forEach((item) => {
17
17
  addNewMessages(item, PlayerGamingLimitsCardTranslations[item]);
18
18
  });
19
-
19
+
20
20
  let isLoading:boolean = false;
21
21
  let userAgent:String = window.navigator.userAgent;
22
22
  let isMobile = (getDevice(userAgent) === 'PC') ? false : true;
@@ -84,21 +84,18 @@
84
84
  {#if limitsGroupView}
85
85
  <div class="PlayerAccountGamingLimitsWrapper {isMobile ? 'PlayerAccountMobileGamingLimitsWrapper' : ''} {mediaQuery.matches && isMobile ? 'PlayerAccountTabletGamingLimitsWrapper' : ''}">
86
86
  {#if isMobile}
87
- <div class="MenuReturnButton" on:click={() => toggleScreen()}>
88
- <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
89
- viewBox="0 0 240.823 240.823" style="enable-background:new 0 0 240.823 240.823;" xml:space="preserve" width="18px" fill="#58586B">
90
- <g>
91
- <path id="Chevron_Right" d="M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
92
- l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816
93
- C52.942,116.507,52.942,124.327,57.633,129.007z"/>
94
- </g>
95
- </svg>
96
- <span>{$_('gamingLimits.returnToMenu')}</span>
97
- </div>
87
+ <div class="MenuReturnButton" on:click={() => toggleScreen()}>
88
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)">
89
+ <g transform="translate(20 158)">
90
+ <path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"/>
91
+ </g></g>
92
+ </svg>
93
+ <h2 class="PlayerGamingLimitsTitleMobile">{$_('gamingLimits.gamingLimitsText')}</h2>
94
+ </div>
98
95
  {/if}
99
- <div class="PlayerAccountGamingLimitsHeader">
100
- <h3 class="PlayerAccountGamingLimitsTitle {isMobile ? "PlayerAccountGamingLimitsMobileTitle" : ''}">{$_('gamingLimits.gamingLimitsText')}</h3>
101
- </div>
96
+ <h2 class="PlayerGamingLimitsTitle {isMobile ? 'PlayerGamingLimitsTitleNone' : ''}">{$_('gamingLimits.gamingLimitsText')}</h2>
97
+
98
+
102
99
  <div class="PlayerAccountGamingLimitsContainer">
103
100
  <player-account-gaming-limits-info-card limitsdata={depositlimit} limitname={depositLimitName} {playercurrency}></player-account-gaming-limits-info-card>
104
101
  <player-account-gaming-limits-info-card limitsdata={wageringlimit} limitname={wageringLimitName} {playercurrency}></player-account-gaming-limits-info-card>
@@ -136,12 +133,27 @@
136
133
  }
137
134
  }
138
135
 
136
+ .PlayerGamingLimitsTitle {
137
+ font-size: 26px;
138
+ color: #D0046C;
139
+ font-weight: 400;
140
+ }
141
+
142
+ .PlayerGamingLimitsTitleMobile {
143
+ font-size: 16px;
144
+ color: #D0046C;
145
+ }
146
+
147
+ .PlayerGamingLimitsTitleNone {
148
+ display: none;
149
+ }
150
+
139
151
  .MenuReturnButton{
140
152
  color: #D0046C;
141
153
  display: inline-flex;
142
154
  align-items: center;
143
- column-gap: ttp(0.625);
144
- margin-bottom: ttp(1.875);
155
+ column-gap: 10px;
156
+ margin-bottom: 10px;
145
157
  & svg {
146
158
  fill: #D0046C;
147
159
  }