@robotical/martyblocksjr 4.2.8 → 4.2.10
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/editions/free/src/app.bundle.js +1 -1
- package/editions/free/src/css/editor.css +77 -49
- package/editions/free/src/css/editorleftpanel.css +44 -21
- package/editions/free/src/css/librarymodal.css +32 -0
- package/editions/free/src/css/thumbs.css +116 -14
- package/editions/free/src/settings.json +3 -0
- package/package.json +1 -1
- package/tests/CurriculumArtifact.test.js +272 -0
- package/tests/e2e/duplicate-page.e2e.test.js +46 -21
|
@@ -168,8 +168,39 @@ div.frame {
|
|
|
168
168
|
cursor: default;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
172
|
-
|
|
171
|
+
.deletepage {
|
|
172
|
+
appearance: none;
|
|
173
|
+
position: absolute;
|
|
174
|
+
right: 0;
|
|
175
|
+
bottom: 0;
|
|
176
|
+
width: ${24 * scaleMultiplier}px;
|
|
177
|
+
height: ${24 * scaleMultiplier}px;
|
|
178
|
+
padding: 0;
|
|
179
|
+
border: 0;
|
|
180
|
+
border-radius: 50%;
|
|
181
|
+
background: url('../assets/ui/closeit.svg') no-repeat center;
|
|
182
|
+
background-size: 100.5%;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
opacity: 0.55;
|
|
185
|
+
pointer-events: auto;
|
|
186
|
+
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
187
|
+
-webkit-user-select: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.deletepage:hover:not(:disabled),
|
|
191
|
+
.deletepage:focus-visible:not(:disabled) {
|
|
192
|
+
filter: brightness(1.08);
|
|
193
|
+
opacity: 1;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.deletepage:active:not(:disabled) {
|
|
197
|
+
opacity: 1;
|
|
198
|
+
transform: scale(0.94);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.deletepage:disabled {
|
|
202
|
+
opacity: 0.24;
|
|
203
|
+
cursor: default;
|
|
173
204
|
}
|
|
174
205
|
|
|
175
206
|
.duplicatepageicon,
|
|
@@ -301,22 +332,6 @@ div.frame {
|
|
|
301
332
|
background-size: 65%;
|
|
302
333
|
}
|
|
303
334
|
|
|
304
|
-
.deletethumb {
|
|
305
|
-
position: relative;
|
|
306
|
-
margin: ${css_vh(-3.9)} ${css_vh(0)} ${css_vh(0)};
|
|
307
|
-
width: ${css_vh(5.86)};
|
|
308
|
-
height: ${css_vh(5.73)};
|
|
309
|
-
background: url('../assets/ui/closeit.svg');
|
|
310
|
-
background-size: 100.5%; /* webview pixelates the image unless we do this */
|
|
311
|
-
visibility: hidden;
|
|
312
|
-
z-index: 5;
|
|
313
|
-
-webkit-user-select: none;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.deletethumb.on {visibility: visible; }
|
|
317
|
-
|
|
318
|
-
.deletethumb.off {visibility: hidden; }
|
|
319
|
-
|
|
320
335
|
.circle {
|
|
321
336
|
position: absolute;
|
|
322
337
|
width: ${css_vh(2.6)};
|
|
@@ -487,52 +502,65 @@ div.frame {
|
|
|
487
502
|
|
|
488
503
|
/* Palette animations */
|
|
489
504
|
|
|
490
|
-
.
|
|
505
|
+
.delete-recorded-sound {
|
|
506
|
+
appearance: none;
|
|
491
507
|
position: absolute;
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
508
|
+
width: ${css_vh(4.69)};
|
|
509
|
+
height: ${css_vh(4.69)};
|
|
510
|
+
padding: 0;
|
|
511
|
+
border: 0;
|
|
512
|
+
border-radius: 50%;
|
|
513
|
+
background: url('../assets/ui/closeit.svg') no-repeat center;
|
|
497
514
|
background-size: 100.5%; /* webview pixelates the image unless we do this */
|
|
498
515
|
z-index: 5;
|
|
516
|
+
cursor: pointer;
|
|
517
|
+
opacity: 0.55;
|
|
518
|
+
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
499
519
|
-webkit-user-select: none;
|
|
500
520
|
}
|
|
501
521
|
|
|
502
|
-
|
|
522
|
+
.delete-recorded-sound:hover,
|
|
523
|
+
.delete-recorded-sound:focus-visible {
|
|
524
|
+
filter: brightness(1.08);
|
|
525
|
+
opacity: 1;
|
|
526
|
+
}
|
|
503
527
|
|
|
504
|
-
.
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
width: ${css_vh(5.86)};
|
|
508
|
-
height: ${css_vh(5.73)};
|
|
509
|
-
background: url('../assets/ui/closeit.svg');
|
|
510
|
-
background-size: 100.5%; /* webview pixelates the image unless we do this */
|
|
511
|
-
z-index: 5;
|
|
512
|
-
zoom: 75%;
|
|
513
|
-
-webkit-user-select: none;
|
|
528
|
+
.delete-recorded-sound:active {
|
|
529
|
+
opacity: 1;
|
|
530
|
+
transform: scale(0.94);
|
|
514
531
|
}
|
|
515
532
|
|
|
516
|
-
.
|
|
533
|
+
.textsprite-delete-button {
|
|
534
|
+
appearance: none;
|
|
517
535
|
position: absolute;
|
|
518
|
-
|
|
519
|
-
width:
|
|
520
|
-
height:
|
|
521
|
-
|
|
536
|
+
top: -18px;
|
|
537
|
+
width: 36px;
|
|
538
|
+
height: 36px;
|
|
539
|
+
padding: 0;
|
|
540
|
+
border: 0;
|
|
541
|
+
border-radius: 50%;
|
|
542
|
+
background: url('../assets/ui/closeit.svg') no-repeat center;
|
|
522
543
|
background-size: 100.5%; /* webview pixelates the image unless we do this */
|
|
523
544
|
z-index: 5;
|
|
545
|
+
cursor: pointer;
|
|
546
|
+
opacity: 0.55;
|
|
547
|
+
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
524
548
|
-webkit-user-select: none;
|
|
525
549
|
}
|
|
526
550
|
|
|
527
|
-
.
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
551
|
+
.textsprite-delete-button:hover,
|
|
552
|
+
.textsprite-delete-button:focus-visible {
|
|
553
|
+
filter: brightness(1.08);
|
|
554
|
+
opacity: 1;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.textsprite-delete-button:active {
|
|
558
|
+
opacity: 1;
|
|
559
|
+
transform: scale(0.94);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.stage.fullscreen .textsprite-delete-button {
|
|
563
|
+
display: none;
|
|
536
564
|
}
|
|
537
565
|
|
|
538
566
|
.shakeme{
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
top: 0px;
|
|
288
288
|
right: 0;
|
|
289
289
|
width: ${css_vh(1.04)};
|
|
290
|
-
height: ${css_vh(
|
|
290
|
+
height: ${css_vh(39.58)};
|
|
291
291
|
background: rgba(255,255,255,0.5);
|
|
292
292
|
touch-action: none;
|
|
293
293
|
z-index: 8;
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
padding: 0px;
|
|
320
320
|
top: ${css_vh(14.75)};
|
|
321
321
|
left: ${css_vh(7.55)};
|
|
322
|
-
width: ${css_vh(
|
|
322
|
+
width: ${css_vh(27.34)};
|
|
323
323
|
overflow-x: hidden;
|
|
324
324
|
}
|
|
325
325
|
|
|
@@ -330,8 +330,8 @@
|
|
|
330
330
|
display: block;
|
|
331
331
|
overflow-y: scroll;
|
|
332
332
|
overflow-x: hidden;
|
|
333
|
-
width: ${css_vh(
|
|
334
|
-
max-height: ${css_vh(
|
|
333
|
+
width: ${css_vh(27.34)};
|
|
334
|
+
max-height: ${css_vh(39.58)};
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
.spritethumbs::-webkit-scrollbar {
|
|
@@ -345,6 +345,23 @@
|
|
|
345
345
|
width: ${css_vh(29.95)};
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
+
#library .spritethumbs .spriteactions {
|
|
349
|
+
position: absolute;
|
|
350
|
+
top: 0;
|
|
351
|
+
left: ${css_vh(2.34)};
|
|
352
|
+
width: ${css_vh(29.95)};
|
|
353
|
+
z-index: 7;
|
|
354
|
+
pointer-events: none;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.spriteactionrow {
|
|
358
|
+
position: relative;
|
|
359
|
+
width: ${css_vh(23.18)};
|
|
360
|
+
height: ${css_vh(10.16)};
|
|
361
|
+
margin: 0 0 ${css_vh(-0.39)};
|
|
362
|
+
pointer-events: none;
|
|
363
|
+
}
|
|
364
|
+
|
|
348
365
|
#library .addsprite {
|
|
349
366
|
position: relative;
|
|
350
367
|
display: inline-block;
|
|
@@ -461,28 +478,34 @@
|
|
|
461
478
|
background-size: 100% 100%;
|
|
462
479
|
}
|
|
463
480
|
|
|
464
|
-
.
|
|
481
|
+
.deletespritethumb {
|
|
482
|
+
appearance: none;
|
|
465
483
|
position: absolute;
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
width: ${css_vh(
|
|
469
|
-
height: ${css_vh(
|
|
470
|
-
|
|
484
|
+
top: ${css_vh(0.39)};
|
|
485
|
+
right: ${css_vh(0.52)};
|
|
486
|
+
width: ${css_vh(3.13)};
|
|
487
|
+
height: ${css_vh(3.13)};
|
|
488
|
+
padding: 0;
|
|
489
|
+
border: 0;
|
|
490
|
+
border-radius: 50%;
|
|
491
|
+
background: url('../assets/ui/closeit.svg') no-repeat center;
|
|
471
492
|
background-size: 100.5%; /* webview pixelates the image unless we do this */
|
|
472
|
-
|
|
493
|
+
cursor: pointer;
|
|
494
|
+
opacity: 0.55;
|
|
495
|
+
pointer-events: auto;
|
|
496
|
+
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
473
497
|
-webkit-user-select: none;
|
|
474
498
|
}
|
|
475
499
|
|
|
476
|
-
.
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
-webkit-user-select: none;
|
|
500
|
+
.deletespritethumb:hover,
|
|
501
|
+
.deletespritethumb:focus-visible {
|
|
502
|
+
filter: brightness(1.08);
|
|
503
|
+
opacity: 1;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.deletespritethumb:active {
|
|
507
|
+
opacity: 1;
|
|
508
|
+
transform: scale(0.94);
|
|
486
509
|
}
|
|
487
510
|
|
|
488
511
|
.spritethumb .icon{
|
|
@@ -200,6 +200,7 @@ hr.bigdivide{
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
.assetbox {
|
|
203
|
+
position: relative;
|
|
203
204
|
display: inline-block;
|
|
204
205
|
vertical-align: top;
|
|
205
206
|
width: ${css_vh(17.84)};
|
|
@@ -208,6 +209,37 @@ hr.bigdivide{
|
|
|
208
209
|
padding: ${css_vh(0.65)};
|
|
209
210
|
}
|
|
210
211
|
|
|
212
|
+
.asset-delete-button {
|
|
213
|
+
appearance: none;
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: ${css_vh(0.39)};
|
|
216
|
+
right: ${css_vh(0.39)};
|
|
217
|
+
width: ${css_vh(3.13)};
|
|
218
|
+
height: ${css_vh(3.13)};
|
|
219
|
+
padding: 0;
|
|
220
|
+
border: 0;
|
|
221
|
+
border-radius: 50%;
|
|
222
|
+
background: url('../assets/ui/closeit.svg') no-repeat center;
|
|
223
|
+
background-size: 100.5%;
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
opacity: 0.55;
|
|
226
|
+
pointer-events: auto;
|
|
227
|
+
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
228
|
+
z-index: 20;
|
|
229
|
+
-webkit-user-select: none;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.asset-delete-button:hover,
|
|
233
|
+
.asset-delete-button:focus-visible {
|
|
234
|
+
filter: brightness(1.08);
|
|
235
|
+
opacity: 1;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.asset-delete-button:active {
|
|
239
|
+
opacity: 1;
|
|
240
|
+
transform: scale(0.94);
|
|
241
|
+
}
|
|
242
|
+
|
|
211
243
|
.assetbox.off {
|
|
212
244
|
background: url('../assets/paint/thumbOff.png') no-repeat center top;
|
|
213
245
|
background-size: 100%;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
margin: 0px;
|
|
5
5
|
padding: 0px;
|
|
6
|
-
width: ${
|
|
6
|
+
width: ${css_vh(28.91)};
|
|
7
7
|
height: ${css_vh(26.04)};
|
|
8
8
|
vertical-align: top;
|
|
9
9
|
}
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
left: ${5 * scaleMultiplier}px;
|
|
31
31
|
width: ${css_vh(25)};
|
|
32
32
|
height: ${css_vh(18.75)};
|
|
33
|
+
-webkit-touch-callout: none;
|
|
34
|
+
-webkit-user-drag: none;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
.aproject.empty {
|
|
@@ -157,21 +159,121 @@
|
|
|
157
159
|
left: 8px;
|
|
158
160
|
}
|
|
159
161
|
|
|
160
|
-
.
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
.project-delete-button {
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
position: absolute;
|
|
167
|
+
top: ${css_vh(1.1)};
|
|
168
|
+
right: ${css_vh(0.8)};
|
|
169
|
+
z-index: 8;
|
|
170
|
+
width: ${css_vh(5.2)};
|
|
171
|
+
height: ${css_vh(5.2)};
|
|
172
|
+
padding: 0 0 ${css_vh(0.3)};
|
|
173
|
+
border: 2px solid #fff;
|
|
174
|
+
border-radius: 50%;
|
|
175
|
+
background: #E43D44;
|
|
176
|
+
box-shadow: 0 0 0 2px #9E1F28, 0 ${css_vh(0.25)} ${css_vh(0.55)} rgba(27, 62, 78, 0.35);
|
|
177
|
+
color: #fff;
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
font-family: 'Lato Regular';
|
|
180
|
+
font-size: ${css_vh(3.8)};
|
|
181
|
+
font-weight: bold;
|
|
182
|
+
line-height: 1;
|
|
183
|
+
opacity: 0.55;
|
|
184
|
+
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
185
|
+
-webkit-tap-highlight-color: transparent;
|
|
163
186
|
}
|
|
164
187
|
|
|
165
|
-
.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
188
|
+
.project-delete-button:hover,
|
|
189
|
+
.project-delete-button:focus-visible {
|
|
190
|
+
background: #C92F37;
|
|
191
|
+
opacity: 1;
|
|
192
|
+
outline: 3px solid #133C46;
|
|
193
|
+
outline-offset: 3px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.project-delete-button:active {
|
|
197
|
+
opacity: 1;
|
|
198
|
+
transform: scale(0.94);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.project-delete-dialog-backdrop {
|
|
202
|
+
position: fixed;
|
|
203
|
+
top: 0;
|
|
204
|
+
right: 0;
|
|
205
|
+
bottom: 0;
|
|
206
|
+
left: 0;
|
|
207
|
+
z-index: 12000;
|
|
208
|
+
display: flex;
|
|
209
|
+
align-items: center;
|
|
210
|
+
justify-content: center;
|
|
211
|
+
padding: ${css_vh(3)};
|
|
212
|
+
background: rgba(27, 51, 66, 0.72);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.project-delete-dialog {
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
width: ${css_vh(52)};
|
|
218
|
+
max-width: 90vw;
|
|
219
|
+
padding: ${css_vh(3)};
|
|
220
|
+
border: ${css_vh(0.4)} solid #315F7B;
|
|
221
|
+
border-radius: 18px;
|
|
222
|
+
background: #FFFDF7;
|
|
223
|
+
box-shadow: 0 ${css_vh(0.8)} ${css_vh(2)} rgba(0, 0, 0, 0.35);
|
|
224
|
+
text-align: center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.project-delete-dialog-title {
|
|
228
|
+
margin: 0;
|
|
229
|
+
color: #315F7B;
|
|
230
|
+
font-family: 'Lato Regular';
|
|
231
|
+
font-size: ${css_vh(3.2)};
|
|
232
|
+
line-height: 1.2;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.project-delete-dialog-description {
|
|
236
|
+
margin: ${css_vh(1.6)} 0 0;
|
|
237
|
+
color: #416E86;
|
|
238
|
+
font-family: 'Lato Regular';
|
|
239
|
+
font-size: ${css_vh(2.1)};
|
|
240
|
+
line-height: 1.35;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.project-delete-dialog-actions {
|
|
244
|
+
display: flex;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
gap: ${css_vh(1.4)};
|
|
247
|
+
margin-top: ${css_vh(2.6)};
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.project-delete-cancel,
|
|
251
|
+
.project-delete-confirm {
|
|
252
|
+
min-width: ${css_vh(14)};
|
|
253
|
+
min-height: ${css_vh(5.2)};
|
|
254
|
+
padding: ${css_vh(0.8)} ${css_vh(1.5)};
|
|
255
|
+
border: 2px solid #315F7B;
|
|
256
|
+
border-radius: 10px;
|
|
257
|
+
color: #fff;
|
|
258
|
+
cursor: pointer;
|
|
259
|
+
font-family: 'Lato Regular';
|
|
260
|
+
font-size: ${css_vh(1.9)};
|
|
261
|
+
font-weight: bold;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.project-delete-cancel {
|
|
265
|
+
background: #5D9CC8;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.project-delete-confirm {
|
|
269
|
+
border-color: #9E1F28;
|
|
270
|
+
background: #E43D44;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.project-delete-cancel:focus-visible,
|
|
274
|
+
.project-delete-confirm:focus-visible {
|
|
275
|
+
outline: 3px solid #133C46;
|
|
276
|
+
outline-offset: 3px;
|
|
175
277
|
}
|
|
176
278
|
|
|
177
279
|
.share {
|