@everymatrix/player-account-gaming-limits-popup 0.0.258 → 0.0.259

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-popup",
3
- "version": "0.0.258",
3
+ "version": "0.0.259",
4
4
  "main": "dist/player-account-gaming-limits-popup.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": "29d9cee256c6fbdf17d95ed82bc3ebcc62241704"
39
+ "gitHead": "7e26e42bac250a646d98bd80910b234522350fd6"
40
40
  }
@@ -73,13 +73,6 @@
73
73
 
74
74
 
75
75
  <style lang="scss">
76
- //This function does a multiplication
77
- // in order to work with px the
78
- // same way as working with em
79
- @function ttp($value) {
80
- $multiplicator: 16px;
81
- @return $value * $multiplicator;
82
- }
83
76
 
84
77
  :host {
85
78
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
@@ -101,12 +94,12 @@
101
94
  background: var(--emfe-w-color-gray-50, #F9F8F8);
102
95
  }
103
96
  .InfoCardPopupWrapper {
104
- width: ttp(12.5);
105
- padding: ttp(1.25);
97
+ width: 200px;
98
+ padding: 20px;
106
99
  color: var(--emfe-w-color-black, #000000);
107
100
  background: var(--emfe-w-color-white, #FFFFFF);
108
- box-shadow: 0px ttp(0.25) ttp(0.75) var(--emfe-w-color-gray-100, #E6E6E6);
109
- border-radius: 0.3125;
101
+ box-shadow: 0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);
102
+ border-radius: 5px;
110
103
  display: block;
111
104
  position: absolute;
112
105
  top: 32px;
@@ -115,10 +108,10 @@
115
108
  &:before {
116
109
  content: "";
117
110
  position: absolute;
118
- top: - ttp(0.4375);
119
- left: ttp(6.5);
111
+ top: -7px;
112
+ left: 104px;
120
113
  border-style: solid;
121
- border-width: 0 ttp(0.4375) ttp(0.4375);
114
+ border-width: 0 7px 7px;
122
115
  border-color: var(--emfe-w-color-white, #FFFFFF) transparent;
123
116
  display: block;
124
117
  width: 0;
@@ -132,13 +125,13 @@
132
125
  transform: translate(-50%, -50%);
133
126
  z-index: 102;
134
127
  .InfoCardPopupTitle {
135
- font-size: ttp(1.125);
128
+ font-size: 18px;
136
129
  }
137
130
  .InfoCardPopupCloseButton {
138
- width: ttp(1.875);
131
+ width: 30px;
139
132
  }
140
133
  .InfoCardPopupContent {
141
- font-size: ttp(1);
134
+ font-size: 16px;
142
135
  }
143
136
  &:before {
144
137
  content: none;
@@ -148,32 +141,32 @@
148
141
  .InfoCardPopupHeader {
149
142
  display: inline-flex;
150
143
  .InfoCardPopupTitle {
151
- line-height: ttp(1.5);
152
- font-size: ttp(1);
144
+ line-height: 24px;
145
+ font-size: 16px;
153
146
  font-weight: 400;
154
- padding-left: ttp(0.625);
147
+ padding-left: 10px;
155
148
  }
156
149
  }
157
150
  .InfoCardPopupIcon {
158
151
  display: flex;
159
- font-size: ttp(1.5);
160
- width: ttp(1.5);
161
- height: ttp(1.5);
152
+ font-size: 24px;
153
+ width: 24px;
154
+ height: 24px;
162
155
  background: transparent;
163
156
  border: 1px solid var(--emfe-w-color-black, #000000);
164
157
  align-items: center;
165
158
  justify-content: center;
166
- border-radius: ttp(1.875);
159
+ border-radius: 30px;
167
160
  }
168
161
  .InfoCardPopupContent {
169
- font-size: ttp(0.875);
162
+ font-size: 14px;
170
163
  font-weight: 300;
171
164
  }
172
165
  .InfoCardPopupCloseButton {
173
- width: ttp(1.25);
166
+ width: 20px;
174
167
  position: absolute;
175
- right: ttp(0.625);
176
- top: ttp(0.625);
168
+ right: 10px;
169
+ top: 10px;
177
170
  cursor: pointer;
178
171
  transition-duration: 0.3s;
179
172
  &:hover {
@@ -186,17 +179,17 @@
186
179
  display: flex;
187
180
  align-items: center;
188
181
  justify-content: center;
189
- top: ttp(2);
190
- right: ttp(2);
191
- padding: ttp(1);
182
+ top: 32px;
183
+ right: 32px;
184
+ padding: 16px;
192
185
  border-radius: 50%;
193
186
  color: var(--emfe-w-color-white, #FFFFFF);
194
187
  cursor: pointer;
195
188
  transition: all 150ms ease-in-out;
196
189
 
197
190
  svg {
198
- width: ttp(2);
199
- height: ttp(2);
191
+ width: 32px;
192
+ height: 32px;
200
193
  fill: var(--emfe-w-color-black, #000000);
201
194
  }
202
195
  }