@robotical/martyblocksjr 1.0.2 → 1.0.5

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.
@@ -51,12 +51,12 @@ div.frame {
51
51
  *.rightpanel {
52
52
  position: absolute;
53
53
  top: ${css_vh(0)};
54
- right: ${css_vh(5.73)};
54
+ right: ${css_vh_ratio_adj(5.73)};
55
55
  margin: ${css_vh(0)};
56
56
  padding: ${css_vh(0)};
57
57
  display: inline-block;
58
- height: ${css_vh(61.20)};
59
- width: ${css_vh(21.09)};
58
+ height: ${css_vh_ratio_adj(61.20)};
59
+ width: ${css_vh_ratio_adj(21.09)};
60
60
  }
61
61
 
62
62
  /* Pages Thumbnails */
@@ -255,7 +255,7 @@ div.frame {
255
255
  position: relative;
256
256
  margin: ${css_vh(0)} ${css_vh(0)} ${css_vh(0)};
257
257
  height: ${64 * scaleMultiplier}px;
258
- width: ${678 * scaleMultiplier}px;
258
+ width: ${800 * scaleMultiplier}px;
259
259
  z-index:4;
260
260
  overflow: hidden;
261
261
  }
@@ -382,7 +382,7 @@ z-index: 5;
382
382
  .controlundo {
383
383
  position: absolute;
384
384
  display: inline-block;
385
- top: -${css_vh(10)};
385
+ top: ${css_vh(0.91)};
386
386
  right: ${css_vh(1)};
387
387
  margin: ${css_vh(0.00)};
388
388
  padding: ${css_vh(0.00)};
@@ -3,9 +3,8 @@
3
3
  .flipme {
4
4
  position: absolute;
5
5
  margin: 0px;
6
- margin-top: 50px;
7
6
  padding: 0px;
8
- top: ${css_vh(0.13)};
7
+ top: ${css_vh(10.38)};
9
8
  left: ${css_vh(1.69)};
10
9
  background: url('../assets/ui/scratchjr-home.svg');
11
10
  background-repeat: no-repeat;
@@ -35,9 +34,9 @@
35
34
  font-size: 0.7em;
36
35
  font-weight: bold;
37
36
  top: ${css_vh(0.13)};
38
- left: ${css_vh(1.69+10)};
37
+ left: ${css_vw(5)};
39
38
  /*width: ${css_vh(29.95)};*/
40
- width: ${css_vh(21.95)};
39
+ width: ${css_vw(12.95)};
41
40
  /*height: ${css_vh(5.20)};*/
42
41
  height: ${css_vh(8.38)};
43
42
  }
@@ -78,9 +77,9 @@
78
77
  display: inline-block;
79
78
  margin: 0px;
80
79
  padding: 0px;
81
- /*top: ${css_vh(9.38)};*/
80
+ /* top: ${css_vh(9.38)}; */
82
81
  top: ${css_vh(19.38)};
83
- width: ${css_vh(33.85)};
82
+ width: ${css_vh_ratio_adj(33.85)};
84
83
  overflow-x: hidden;
85
84
  }
86
85
 
@@ -93,9 +92,9 @@
93
92
  display: block;
94
93
  overflow-y: scroll;
95
94
  overflow-x: hidden;
96
- width: ${css_vh(33.85)};
95
+ width: ${css_vh_ratio_adj(33.85)};
97
96
  /*max-height: ${css_vh(40.63)};*/
98
- max-height: ${css_vh(30.47)};
97
+ max-height: ${css_vh_ratio_adj(30.47)};
99
98
  }
100
99
 
101
100
  .spritethumbs::-webkit-scrollbar {
@@ -104,9 +103,9 @@
104
103
 
105
104
  #library .spritethumbs .spritecc{
106
105
  position: relative;
107
- margin: 0px ${css_vh(2.34)} 0px;
106
+ margin: 0px ${css_vh_ratio_adj(2.34)} 0px;
108
107
  padding: 0px;
109
- width: ${css_vh(29.95)};
108
+ width: ${css_vh_ratio_adj(29.95)};
110
109
  }
111
110
 
112
111
  #library .addsprite {
@@ -114,9 +113,9 @@
114
113
  display: inline-block;
115
114
  background: url('../assets/ui/newsprite2.png') no-repeat left top;
116
115
  background-size: 100%;
117
- width: ${css_vh(23.18)};
118
- height: ${css_vh(10.29)};
119
- margin: 0px ${css_vh(2.34)} 0px;
116
+ width: ${css_vh_ratio_adj(23.18)};
117
+ height: ${css_vh_ratio_adj(10.29)};
118
+ margin: 0px ${css_vh_ratio_adj(2.34)} 0px;
120
119
  }
121
120
 
122
121
  #library .martymode {
@@ -124,9 +123,9 @@
124
123
  display: inline-block;
125
124
  background: url('../assets/ui/martyMode.png') no-repeat left top;
126
125
  background-size: 100%;
127
- width: ${css_vh(10.29)};
128
- height: ${css_vh(10.29)};
129
- margin: 0px ${css_vh(2.34)} 0px;
126
+ width: ${css_vh_ratio_adj(10.29)};
127
+ height: ${css_vh_ratio_adj(10.29)};
128
+ margin: 0px ${css_vh_ratio_adj(2.34)} 0px;
130
129
  }
131
130
 
132
131
  #library .buttonwrapper {
@@ -141,10 +140,10 @@
141
140
  display: inline-block;
142
141
  background: url('../assets/ui/scatchJrLogo.png') no-repeat left top;
143
142
  background-size: 100%;
144
- width: ${css_vh(10.29)};
143
+ width: ${css_vh_ratio_adj(10.29)};
145
144
  /*height: ${css_vh(8.33)};*/
146
- height: ${css_vh(10.29)};
147
- margin: 0px ${css_vh(2.34)} 0px;
145
+ height: ${css_vh_ratio_adj(10.29)};
146
+ margin: 0px ${css_vh_ratio_adj(2.34)} 0px;
148
147
  }
149
148
 
150
149
 
@@ -155,39 +154,39 @@
155
154
  position: relative;
156
155
  display: inline-block;
157
156
  word-spacing: -1;
158
- width: ${css_vh(29.95)};
159
- height: ${css_vh(10.16)};
157
+ width: ${css_vh_ratio_adj(29.95)};
158
+ height: ${css_vh_ratio_adj(10.16)};
160
159
  margin: 0px;
161
- margin-bottom: ${css_vh(-0.39)};
160
+ margin-bottom: ${css_vh_ratio_adj(-0.39)};
162
161
  padding: 0px;
163
162
  }
164
163
 
165
164
  .spritethumb .thumbcanvas{
166
165
  position: absolute;
167
- margin: ${css_vh(0.65)} ${css_vh(0.65)} 0px;
166
+ margin: ${css_vh_ratio_adj(0.65)} ${css_vh_ratio_adj(0.65)} 0px;
168
167
  padding: 0px;
169
168
  }
170
169
 
171
170
  .spritethumb.off {
172
171
  background: url('../assets/ui/viewOff.png') no-repeat left top;
173
- background-size: ${css_vh(23.18)};
172
+ background-size: ${css_vh_ratio_adj(23.18)};
174
173
  }
175
174
 
176
175
  .spritethumb.off.target {
177
176
  background: url('../assets/ui/viewOffTarget.png') no-repeat left top;
178
- background-size: ${css_vh(23.18)};
177
+ background-size: ${css_vh_ratio_adj(23.18)};
179
178
  }
180
179
 
181
180
  .spritethumb.on.target {
182
181
  background: url('../assets/ui/viewOnTarget.png') no-repeat left top;
183
182
  background-size: 100%;
184
- width: ${css_vh(29.95)};
183
+ width: ${css_vh_ratio_adj(29.95)};
185
184
  }
186
185
 
187
186
  .spritethumb.on {
188
187
  background: url('../assets/ui/viewOn.png') no-repeat left top;
189
188
  background-size: 100%;
190
- width: ${css_vh(29.95)};
189
+ width: ${css_vh_ratio_adj(29.95)};
191
190
  }
192
191
 
193
192
  .spritethumb.noneditable {
@@ -199,8 +198,8 @@
199
198
  position: absolute;
200
199
  margin: 0px 0px 0px;
201
200
  left: 0px;
202
- width: ${css_vh(5.86)};
203
- height: ${css_vh(5.73)};
201
+ width: ${css_vh_ratio_adj(5.86)};
202
+ height: ${css_vh_ratio_adj(5.73)};
204
203
  background: url('../assets/ui/closeit.svg');
205
204
  background-size: 100.5%; /* webview pixelates the image unless we do this */
206
205
  z-index: 5;
@@ -211,8 +210,8 @@
211
210
  position: absolute;
212
211
  margin: 0px 0px 0px;
213
212
  left: 0px;
214
- width: ${css_vh(5.86)};
215
- height: ${css_vh(5.73)};
213
+ width: ${css_vh_ratio_adj(5.86)};
214
+ height: ${css_vh_ratio_adj(5.73)};
216
215
  background: url('../assets/ui/closeit.svg');
217
216
  background-size: 100.5%; /* webview pixelates the image unless we do this */
218
217
  z-index: 5;
@@ -223,10 +222,10 @@
223
222
  position: absolute;
224
223
  top: ${css_vh(0.65)};
225
224
  left: ${css_vh(1.04)};
226
- width: ${css_vh(8.33)};
227
- height: ${css_vh(8.33)};
228
- margin: ${css_vh(0.00)};
229
- padding: ${css_vh(0.00)};
225
+ width: ${css_vh_ratio_adj(8.33)};
226
+ height: ${css_vh_ratio_adj(8.33)};
227
+ margin: ${css_vh_ratio_adj(0.00)};
228
+ padding: ${css_vh_ratio_adj(0.00)};
230
229
  overflow: hidden;
231
230
  }
232
231
 
@@ -244,39 +243,39 @@
244
243
  font-family: Roboto;
245
244
  font-weight: bold;
246
245
  font-size: ${css_vh(1.69)};
247
- width: ${css_vh(11.97)};
246
+ width: ${css_vh_ratio_adj(11.97)};
248
247
  cursor: default;
249
248
  color: #999999;
250
249
  }
251
250
 
252
251
  .spritethumb.off .sname{
253
252
  color: #999999;
254
- top: ${css_vh(3.52)};
255
- left: ${css_vh(9.89)};
256
- width: ${css_vh(11.97)};
253
+ top: ${css_vh_ratio_adj(3.52)};
254
+ left: ${css_vh_ratio_adj(9.89)};
255
+ width: ${css_vh_ratio_adj(11.97)};
257
256
  }
258
257
 
259
258
  .spritethumb.on .sname{
260
259
  color: #F9A737;
261
- top: ${css_vh(3.91)};
262
- left: ${css_vh(9.24)};
263
- width: ${css_vh(11.97)};
260
+ top: ${css_vh_ratio_adj(3.91)};
261
+ left: ${css_vh_ratio_adj(9.24)};
262
+ width: ${css_vh_ratio_adj(11.97)};
264
263
  }
265
264
  .spritethumb.noneditable .sname{
266
265
  color: #999;
267
- top: ${css_vh(3.91)};
268
- left: ${css_vh(9.24)};
269
- width: ${css_vh(11.97)};
266
+ top: ${css_vh_ratio_adj(3.91)};
267
+ left: ${css_vh_ratio_adj(9.24)};
268
+ width: ${css_vh_ratio_adj(11.97)};
270
269
  }
271
270
 
272
271
  .spritethumb .brush {
273
272
  position: absolute;
274
273
  background: url('../assets/paint/paintbrush.svg');
275
274
  background-size: ${css_vh(7.03)} ${css_vh(7.03)};
276
- width: ${css_vh(7.03)};
277
- height: ${css_vh(7.03)};
275
+ width: ${css_vh_ratio_adj(7.03)};
276
+ height: ${css_vh_ratio_adj(7.03)};
278
277
  top: ${css_vh(1.30)};
279
- left: ${css_vh(21.75)};
278
+ left: ${css_vh_ratio_adj(21.75)};
280
279
  margin: 0px;
281
280
  padding: 0px;
282
281
  }
@@ -14,7 +14,7 @@
14
14
 
15
15
  .fullscreen.presentationmode#full {
16
16
  left: 0px;
17
- top: 50px;
17
+ top: ${css_vh(10.65)};
18
18
  background: url('../assets/ui/fullOn2.svg');
19
19
  background-size: 100%;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/martyblocksjr",
3
- "version": "1.0.2",
3
+ "version": "1.0.5",
4
4
  "description": "ScratchJr",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
package/webpack.config.js CHANGED
@@ -1,6 +1,4 @@
1
1
  var WebpackNotifierPlugin = require("webpack-notifier");
2
- // var { FilerWebpackPlugin } = require('filer/webpack');
3
- // var fallbackConfig = require("./config-overrides");
4
2
 
5
3
  module.exports = {
6
4
  resolve: {