@quillmark/svelte 0.35.0 → 0.35.1
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.
|
@@ -257,13 +257,13 @@
|
|
|
257
257
|
|
|
258
258
|
It takes no fill either: the surface itself opens on hover.
|
|
259
259
|
|
|
260
|
-
At rest it
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
260
|
+
At rest it stands at the rung a live glyph control rests at, so a reader sees that
|
|
261
|
+
guidance exists before touching anything, and it comes up whole with the scope
|
|
262
|
+
that owns its row (the field, the property, the array or matrix, the table its
|
|
263
|
+
column heads, the section a lone field is named by), each reached by child steps so
|
|
264
|
+
a nested field's marker stays at rest under its container's hover, and while its
|
|
265
|
+
surface is open. The keyboard's `Mod-/` and the parked description do not depend on
|
|
266
|
+
the lift. */
|
|
267
267
|
.qm-field-hint {
|
|
268
268
|
/* The marker recedes to the label rung; the surface carries the text. */
|
|
269
269
|
color: var(--_qm-ink-label);
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
cursor: help;
|
|
272
272
|
padding: 0;
|
|
273
273
|
background: none;
|
|
274
|
-
opacity:
|
|
274
|
+
opacity: var(--_qm-opacity-rest);
|
|
275
275
|
transition: opacity var(--_qm-duration-fast) var(--_qm-ease-reverse);
|
|
276
276
|
}
|
|
277
277
|
:global(:is(.qm-field, .qm-object-prop):is(:hover, :focus-within) > .qm-field-label-row)
|
|
@@ -286,13 +286,6 @@
|
|
|
286
286
|
.qm-field-hint[aria-expanded='true'] {
|
|
287
287
|
opacity: 1;
|
|
288
288
|
}
|
|
289
|
-
/* Without a hover there is no lift to wait for, and a tap is the glyph's only door, so
|
|
290
|
-
it rests drawn at the rung a live glyph control rests at. */
|
|
291
|
-
@media (hover: none) {
|
|
292
|
-
.qm-field-hint {
|
|
293
|
-
opacity: var(--_qm-opacity-rest);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
289
|
/* The lift, the translucency, the blur and the scale-in come from
|
|
297
290
|
`.qm-popover-surface` (controls.css). This surface's own is a measure: guidance
|
|
298
291
|
is prose, and prose past ~40 characters a line stops being scannable; plus the
|
|
@@ -126,6 +126,13 @@
|
|
|
126
126
|
calc(-1 * var(--_qm-space-half)) 0 0 var(--_qm-review-lit),
|
|
127
127
|
var(--_qm-space-half) 0 0 var(--_qm-review-lit);
|
|
128
128
|
}
|
|
129
|
+
/* Forced colours drop the tint, so the proposed words take the line prose's take
|
|
130
|
+
(`codec/prose.css`). */
|
|
131
|
+
@media (forced-colors: active) {
|
|
132
|
+
.qm-review-ins {
|
|
133
|
+
text-decoration: underline;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
129
136
|
.qm-review-where {
|
|
130
137
|
color: var(--_qm-ink-label);
|
|
131
138
|
}
|