@everymatrix/casino-header-controller 0.0.251 → 0.0.254

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/casino-header-controller",
3
- "version": "0.0.251",
3
+ "version": "0.0.254",
4
4
  "main": "dist/casino-header-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "d39a0752d3212dfa393748d70c01eb211ac4c902"
41
+ "gitHead": "454ff35bbd275f884b20cf31dae10609840f5abc"
42
42
  }
@@ -88,7 +88,11 @@
88
88
  break;
89
89
 
90
90
  case 'myaccount':
91
- window.postMessage({type: 'PlayerAccountMenuActive'}, window.location.href);
91
+ if(isMobile(userAgent)) {
92
+ window.postMessage({ type: 'ReturnToMenu' }, window.location.href);
93
+ } else {
94
+ window.postMessage({type: 'PlayerAccountMenuActive'}, window.location.href);
95
+ }
92
96
  break;
93
97
 
94
98
  case 'deposit':
@@ -450,7 +454,7 @@
450
454
  }
451
455
 
452
456
  .Item {
453
- padding: 0 ttp(0.9375);
457
+ padding: 0 15px;
454
458
  display: flex;
455
459
  align-items: center;
456
460
  }
@@ -507,6 +511,12 @@
507
511
  color: var(--emfe-w-color-white, #FFFFFF);
508
512
  border: none;
509
513
  cursor: pointer;
514
+ outline: none;
515
+ -webkit-appearance: none;
516
+ -moz-appearance: none;
517
+ appearance: none;
518
+ background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-color-header-bg, #050518);
519
+ background-position: calc(100% - 0.75rem) center;
510
520
 
511
521
  option {
512
522
  color: var(--emfe-w-color-contrast, #07072A);
@@ -583,12 +593,13 @@
583
593
 
584
594
  .HeaderItemsMenu {
585
595
  .Item {
596
+ padding: 0 10px;
586
597
  display: block;
587
598
  width: unset;
588
599
  }
589
600
 
590
601
  .ItemBalance {
591
- font-size: ttp(0.625);
602
+ font-size: 12px;
592
603
  }
593
604
 
594
605
  .ItemAccount {
@@ -597,9 +608,9 @@
597
608
  }
598
609
 
599
610
  .ItemRegister, .ItemDeposit, .ItemLogin {
600
- height: ttp(1.875);
601
- line-height: ttp(1.875);
602
- font-size: ttp(0.75);
611
+ height: 30px;
612
+ line-height: 30px;
613
+ font-size: 12px;
603
614
  }
604
615
 
605
616
  .ItemLogin {
@@ -22,7 +22,7 @@ export const CasinoHeaderController = {
22
22
  ro: {
23
23
  headerItem: {
24
24
  login: 'Autentificare',
25
- register: 'Inregistreaza-te',
25
+ register: 'Inregistrare',
26
26
  deposit: 'Depozit',
27
27
  },
28
28
  fallbackSecondaryMenu: {