@dsebastien/music-notation 0.5.1 → 0.5.2

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.
@@ -120,6 +120,13 @@
120
120
  cursor: pointer;
121
121
  }
122
122
 
123
+ /* The opened list is a native popup on the page's background, not the bar's: its options take
124
+ the page's colors, not the bar's inherited text color (light text on white in dark themes). */
125
+ .mn-play select option {
126
+ color: var(--text-normal, #222);
127
+ background: var(--background-primary, #fff);
128
+ }
129
+
123
130
  .mn-play button:hover,
124
131
  .mn-play select:hover,
125
132
  .mn-play button:focus-visible,
@@ -161,16 +168,16 @@
161
168
  all: unset;
162
169
  appearance: none;
163
170
  width: 44px;
164
- /* The input is the track (3px); the thumb is pulled up to its middle below. */
165
- height: 3px;
171
+ /* As tall as the thumb, so no host or browser has to center it: the visible 3px track is a
172
+ centered line drawn by the background. */
173
+ height: 9px;
166
174
  margin: 0;
167
- border-radius: 2px;
168
- background: var(--mn-faint);
175
+ background: linear-gradient(var(--mn-faint), var(--mn-faint)) center / 100% 3px no-repeat;
169
176
  cursor: pointer;
170
177
  }
171
178
 
172
179
  .mn-play input[type='range']::-webkit-slider-runnable-track {
173
- height: 3px;
180
+ height: 9px;
174
181
  border: none;
175
182
  background: transparent;
176
183
  }
@@ -179,10 +186,10 @@
179
186
  appearance: none;
180
187
  width: 9px;
181
188
  height: 9px;
182
- /* Centered on the 3px track. Hosts may move thumbs (Obsidian: relative, top -6px). */
189
+ /* Hosts may move thumbs (Obsidian: relative, top -6px): the thumb fills the track instead. */
183
190
  position: static;
184
191
  top: 0;
185
- margin-top: -3px;
192
+ margin: 0;
186
193
  border: none;
187
194
  border-radius: 50%;
188
195
  background: var(--mn-accent);
@@ -195,15 +202,15 @@
195
202
  }
196
203
 
197
204
  .mn-play input[type='range']::-moz-range-track {
198
- height: 3px;
205
+ height: 9px;
199
206
  border: none;
200
- border-radius: 2px;
201
- background: var(--mn-faint);
207
+ background: transparent;
202
208
  }
203
209
 
204
210
  .mn-play input[type='range']::-moz-range-thumb {
205
211
  width: 9px;
206
212
  height: 9px;
213
+ margin: 0;
207
214
  border: none;
208
215
  border-radius: 50%;
209
216
  background: var(--mn-accent);
@@ -372,6 +379,12 @@
372
379
  font-weight: 600;
373
380
  }
374
381
 
382
+ .mn-svg .mn-key-finger {
383
+ font-size: 10px;
384
+ fill: var(--mn-fg);
385
+ font-weight: 600;
386
+ }
387
+
375
388
  /* Several diagrams in one block: a row that wraps, or a grid of at most `columns` columns that
376
389
  also wraps on narrow screens rather than shrinking diagrams to nothing. */
377
390
  .mn-block .mn-row {