@dsebastien/music-notation 0.21.1 → 0.22.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.
@@ -296,6 +296,48 @@
296
296
  opacity: 0.85;
297
297
  }
298
298
 
299
+ /* The tab and score bar's tempo (#114): − 60 BPM + · 70 %. The value is a small field to type in;
300
+ the unit switches BPM and percent; the other unit, dim, goes back to 100 % on a click. */
301
+ .mn-tempo {
302
+ display: inline-flex;
303
+ align-items: center;
304
+ gap: 2px;
305
+ white-space: nowrap;
306
+ }
307
+
308
+ .mn-play .mn-tempo button {
309
+ min-width: 0;
310
+ padding: 0 4px;
311
+ font: inherit;
312
+ line-height: 1.4;
313
+ }
314
+
315
+ .mn-play .mn-tempo-value {
316
+ width: 3.5ch;
317
+ padding: 0 2px;
318
+ border: 1px solid var(--mn-faint);
319
+ border-radius: 4px;
320
+ background: transparent;
321
+ color: inherit;
322
+ font: inherit;
323
+ font-variant-numeric: tabular-nums;
324
+ text-align: right;
325
+ }
326
+
327
+ .mn-play .mn-tempo-unit {
328
+ font-size: 0.9em;
329
+ }
330
+
331
+ .mn-play .mn-tempo-other {
332
+ opacity: 0.7;
333
+ font-variant-numeric: tabular-nums;
334
+ }
335
+
336
+ .mn-play .mn-tempo-other:disabled {
337
+ cursor: default;
338
+ opacity: 0.55;
339
+ }
340
+
299
341
  /* What Copy as image says (#11): "Copied", or what to do when the browser refuses. */
300
342
  .mn-play-said {
301
343
  font-size: 0.85em;