gatsby-matrix-theme 25.1.6 → 25.1.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [25.1.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.6...v25.1.7) (2023-06-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * wagering calculator styling ([85f83ba](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/85f83ba584c1f13a021325b28519174bdb285daf))
7
+
1
8
  ## [25.1.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v25.1.5...v25.1.6) (2023-06-12)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "25.1.6",
3
+ "version": "25.1.7",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -108,8 +108,11 @@ const WageringCalculator = ({
108
108
 
109
109
  {!!result && (
110
110
  <div className={styles.resultContainer}>
111
- <span>{translate(translations, 'wagecalc_result', 'Result')}</span>
112
- <span>{result}</span>
111
+ <span>{translate(translations, 'wagecalc_result', 'Results:')}</span>
112
+ <span>
113
+ {translate(translations, 'wagecalc_result_currency', '€')}
114
+ {result}
115
+ </span>
113
116
  </div>
114
117
  )}
115
118
  </form>
@@ -19,7 +19,7 @@
19
19
  gap: 1rem;
20
20
  @include flex-direction(column);
21
21
  svg {
22
- margin-left: 1.2rem;
22
+ margin-left: 3.5rem;
23
23
  height: 2.67rem;
24
24
  width: 2.67rem;
25
25
  vertical-align: text-bottom;
@@ -36,6 +36,20 @@
36
36
  display: grid;
37
37
  grid-template-columns: 1fr 1fr;
38
38
  gap: 1rem;
39
+ column-gap: 4.8rem;
40
+ }
41
+
42
+ > div:nth-child(5) {
43
+ position: relative;
44
+ &:after {
45
+ @include arrow(var(--primary-text-color), 1rem, down, false);
46
+ position: absolute;
47
+ right: 2rem;
48
+ top: 40%;
49
+ @include min(tablet) {
50
+ top: 65%;
51
+ }
52
+ }
39
53
  }
40
54
  }
41
55
  }
@@ -83,16 +97,21 @@
83
97
  .mainTitle,
84
98
  .infoTitle {
85
99
  margin-top: 0;
86
- margin-bottom: 2.4rem;
100
+ margin-bottom: 3.2rem;
87
101
  width: 100%;
88
102
  }
89
103
 
104
+ .mainTitle {
105
+ margin-bottom: 1.4rem;
106
+ @include min(tablet) {
107
+ margin-bottom: 3.2rem;
108
+ }
109
+ }
110
+
90
111
  .label {
91
112
  line-height: 2.6rem;
92
113
  font-size: 1.6rem;
93
- @include min(tablet) {
94
- margin-top: 1.6rem;
95
- }
114
+ margin-bottom: 0.8rem;
96
115
  }
97
116
 
98
117
  .input,
@@ -101,6 +120,15 @@
101
120
  height: 4.8rem;
102
121
  background: #f8f7f5;
103
122
  border-radius: 4px;
123
+ border: 0px;
124
+ outline: 0px;
125
+ }
126
+
127
+ .select {
128
+ -webkit-appearance: none;
129
+ -moz-appearance: none;
130
+ padding-right: 1rem;
131
+ position: relative;
104
132
  }
105
133
 
106
134
  .input:invalid:required {
@@ -116,7 +144,7 @@
116
144
  .resultContainer {
117
145
  position: relative;
118
146
  order: 11;
119
- margin-top: 3.2rem;
147
+ margin-top: 2.2rem;
120
148
  width: 100%;
121
149
  @include flex-align(center, space-between);
122
150
  padding: 1.6rem;
@@ -127,11 +155,8 @@
127
155
  flex-direction: column;
128
156
  gap: 1rem;
129
157
  grid-column: 1/3;
130
-
131
- @include min(tablet) {
132
- flex-direction: row;
133
- gap: 0;
134
- }
158
+ flex-direction: row;
159
+ gap: 0;
135
160
 
136
161
  &:before {
137
162
  content: '';
@@ -164,7 +189,12 @@
164
189
 
165
190
  .reccommendedCasinos {
166
191
  > h3 {
167
- margin-top: 1rem;
192
+ margin-top: 2.4rem;
193
+ margin-bottom: 1.6rem;
194
+
195
+ @include min(tablet) {
196
+ margin-top: 3.2rem;
197
+ }
168
198
  }
169
199
 
170
200
  > div {
@@ -172,19 +202,44 @@
172
202
  background: #f1efec;
173
203
  border-radius: 1.6rem;
174
204
  @include flex-align(center, space-between);
175
- padding: 1.6rem;
205
+ padding: 0.8rem;
176
206
  gap: 1rem;
207
+ @include min(tablet) {
208
+ padding: 1.6rem;
209
+ }
210
+
211
+ &:last-child {
212
+ margin-bottom: 0;
213
+ }
214
+
215
+ a:first-child {
216
+ height: 6.4rem;
217
+ width: 6.4rem;
218
+
219
+ flex-grow: 1;
220
+
221
+ }
177
222
 
178
223
  img {
179
224
  border-radius: 0.8rem;
225
+ height: 100%;
226
+ }
227
+
228
+ a:last-child {
229
+ padding: 0.8rem 1.3rem;
230
+ @include min(tablet) {
231
+ padding: 0.9rem 3rem;
232
+ }
180
233
  }
181
234
 
182
235
  > div {
183
- flex-grow: 1;
236
+ flex-grow: inherit;
184
237
  @include flex-align(flex-start, center);
185
238
  @include flex-direction(column);
186
-
239
+ flex-basis: 39%;
187
240
  @include min(tablet) {
241
+ flex-basis: auto;
242
+ flex-grow: 1;
188
243
  @include flex-align(center, flex-start);
189
244
  @include flex-direction(row);
190
245
  }
@@ -345,4 +345,4 @@
345
345
 
346
346
 
347
347
 
348
- window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.349b6fb9.iframe.bundle.js"></script><script src="134.8ffd6917.iframe.bundle.js"></script><script src="main.0c963906.iframe.bundle.js"></script></body></html>
348
+ window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.349b6fb9.iframe.bundle.js"></script><script src="134.8ffd6917.iframe.bundle.js"></script><script src="main.f03d4a3e.iframe.bundle.js"></script></body></html>