@dsebastien/music-notation 0.19.1 → 0.20.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.
@@ -1240,3 +1240,38 @@
1240
1240
  align-items: center;
1241
1241
  gap: 2px 6px;
1242
1242
  }
1243
+
1244
+ /* Full screen for a tab or a score (#113): the block fills the screen (the browser's full screen,
1245
+ or the window when the browser refuses it), the score in a scroll area of its own at the
1246
+ screen's width, the bar at the bottom. The background is the page's, set by the control. */
1247
+ .mn-tab.mn-fullscreen {
1248
+ position: fixed;
1249
+ inset: 0;
1250
+ z-index: 9999;
1251
+ display: flex;
1252
+ flex-direction: column;
1253
+ box-sizing: border-box;
1254
+ width: auto;
1255
+ max-width: none;
1256
+ height: auto;
1257
+ margin: 0;
1258
+ padding: 12px 16px 8px;
1259
+ overflow: hidden;
1260
+ background: Canvas;
1261
+ }
1262
+
1263
+ .mn-tab.mn-fullscreen .mn-tab-surface {
1264
+ flex: 1 1 auto;
1265
+ min-height: 0;
1266
+ overflow: auto;
1267
+ overscroll-behavior: contain;
1268
+ /* The scroll bar has its room from the start: the score is drawn once, at the width left. */
1269
+ scrollbar-gutter: stable;
1270
+ outline: none;
1271
+ }
1272
+
1273
+ .mn-tab.mn-fullscreen .mn-play.mn-play-static.mn-tab-bar {
1274
+ position: static;
1275
+ flex: none;
1276
+ margin-top: 8px;
1277
+ }