@dsebastien/music-notation 0.16.0 → 0.18.0

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.
@@ -49,6 +49,13 @@
49
49
  .mn-svg.mn-fretboard {
50
50
  zoom: 1.34;
51
51
  }
52
+
53
+ /* A keyboard with a pick layer (Music Practice drills, click input): a black key (14 units)
54
+ becomes 24 px wide. Keyboards that only play keep their size. On a narrow screen max-width
55
+ still fits a wide range to the page: fewer keys, larger targets. */
56
+ .mn-svg.mn-keyboard[data-mn-pick] {
57
+ zoom: 1.72;
58
+ }
52
59
  }
53
60
 
54
61
  .mn-svg text {
@@ -360,26 +367,14 @@
360
367
  pointer-events: none;
361
368
  }
362
369
 
363
- /* Tabs and scores: the player bar stays at the bottom of the screen while the score scrolls. */
370
+ /* Tabs and scores: the player bar is a bar like the others (#82), below the score and always
371
+ shown; it also stays at the bottom of the screen while a long score scrolls. */
364
372
  .mn-tab {
365
373
  position: relative;
366
374
  }
367
375
 
368
- .mn-tab .mn-tab-bar {
369
- position: sticky;
370
- left: auto;
371
- right: auto;
376
+ .mn-tab .mn-play.mn-play-static.mn-tab-bar {
372
377
  bottom: 6px;
373
- width: fit-content;
374
- max-width: 100%;
375
- margin: 4px auto 0;
376
- }
377
-
378
- .mn-tab:hover .mn-tab-bar,
379
- .mn-tab:focus-within .mn-tab-bar,
380
- .mn-tab.mn-play-open .mn-tab-bar {
381
- opacity: 1;
382
- pointer-events: auto;
383
378
  }
384
379
 
385
380
  /* alphaTab's cursor (the bar that plays, the beat line) and the notes of the beat that sounds, in