@refrakt-md/lumina 0.32.0 → 0.34.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.
- package/base.css +29 -29
- package/contracts/structures.json +58 -60
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +57 -57
- package/dist/icons.js.map +1 -1
- package/dist/presets/catppuccin.js.map +1 -1
- package/dist/presets/dracula.js.map +1 -1
- package/dist/presets/gruvbox.js.map +1 -1
- package/dist/presets/niwaki.js.map +1 -1
- package/dist/presets/nord.js.map +1 -1
- package/dist/presets/one-dark.js.map +1 -1
- package/dist/presets/solarized.js.map +1 -1
- package/dist/presets/tideline.d.ts.map +1 -1
- package/dist/presets/tideline.js +20 -4
- package/dist/presets/tideline.js.map +1 -1
- package/dist/presets/tokyo-night.js.map +1 -1
- package/dist/tokens.js.map +1 -1
- package/index.css +124 -124
- package/package.json +5 -5
- package/presets.json +61 -13
- package/styles/base/attributes.css +32 -13
- package/styles/dimensions/checklist.css +45 -46
- package/styles/dimensions/cover.css +71 -51
- package/styles/dimensions/density.css +69 -65
- package/styles/dimensions/frame.css +116 -57
- package/styles/dimensions/metadata.css +110 -103
- package/styles/dimensions/motion.css +42 -13
- package/styles/dimensions/reading.css +27 -27
- package/styles/dimensions/sections.css +44 -45
- package/styles/dimensions/sequence.css +56 -57
- package/styles/dimensions/state.css +8 -2
- package/styles/dimensions/substrate.css +82 -58
- package/styles/dimensions/surfaces.css +65 -62
- package/styles/elements/blockquote.css +24 -25
- package/styles/elements/code.css +72 -71
- package/styles/elements/table.css +36 -37
- package/styles/global.css +163 -121
- package/styles/layouts/blog.css +219 -218
- package/styles/layouts/default.css +168 -167
- package/styles/layouts/docs.css +121 -122
- package/styles/layouts/mobile.css +54 -55
- package/styles/layouts/on-this-page.css +46 -47
- package/styles/layouts/plan.css +248 -247
- package/styles/layouts/search.css +142 -140
- package/styles/layouts/split.css +45 -45
- package/styles/layouts/theme-toggle.css +33 -31
- package/styles/layouts/version-switcher.css +38 -37
- package/styles/runes/accordion.css +90 -81
- package/styles/runes/aggregate.css +50 -39
- package/styles/runes/annotate.css +46 -45
- package/styles/runes/api.css +22 -23
- package/styles/runes/audio.css +140 -141
- package/styles/runes/badge.css +12 -13
- package/styles/runes/bar.css +4 -5
- package/styles/runes/bento.css +73 -62
- package/styles/runes/bg.css +62 -47
- package/styles/runes/blog.css +89 -90
- package/styles/runes/bond.css +49 -50
- package/styles/runes/breadcrumb.css +34 -35
- package/styles/runes/budget.css +126 -127
- package/styles/runes/bug.css +28 -27
- package/styles/runes/card.css +63 -60
- package/styles/runes/carousel.css +15 -15
- package/styles/runes/cast.css +50 -51
- package/styles/runes/changelog.css +45 -46
- package/styles/runes/character.css +31 -32
- package/styles/runes/chart.css +194 -106
- package/styles/runes/codegroup.css +109 -100
- package/styles/runes/collection.css +87 -86
- package/styles/runes/compare.css +38 -39
- package/styles/runes/comparison.css +205 -179
- package/styles/runes/conversation.css +36 -33
- package/styles/runes/cta.css +135 -132
- package/styles/runes/datatable.css +84 -83
- package/styles/runes/decision.css +25 -26
- package/styles/runes/design-context.css +21 -23
- package/styles/runes/details.css +26 -27
- package/styles/runes/diagram.css +28 -29
- package/styles/runes/diff.css +75 -72
- package/styles/runes/drawer.css +276 -198
- package/styles/runes/embed.css +20 -21
- package/styles/runes/event.css +35 -36
- package/styles/runes/expand.css +43 -34
- package/styles/runes/faction.css +47 -48
- package/styles/runes/feature.css +119 -112
- package/styles/runes/figure.css +11 -12
- package/styles/runes/file-ref.css +11 -13
- package/styles/runes/form.css +155 -154
- package/styles/runes/gallery.css +59 -60
- package/styles/runes/grid.css +10 -7
- package/styles/runes/hero.css +189 -185
- package/styles/runes/hint.css +57 -58
- package/styles/runes/howto.css +62 -64
- package/styles/runes/itinerary.css +133 -134
- package/styles/runes/juxtapose.css +83 -82
- package/styles/runes/lore.css +32 -34
- package/styles/runes/map.css +106 -99
- package/styles/runes/mediatext.css +30 -27
- package/styles/runes/milestone.css +98 -97
- package/styles/runes/mockup.css +338 -335
- package/styles/runes/nav.css +465 -450
- package/styles/runes/organization.css +23 -20
- package/styles/runes/page-section.css +14 -15
- package/styles/runes/pagination.css +45 -44
- package/styles/runes/palette.css +78 -80
- package/styles/runes/placeholder.css +8 -9
- package/styles/runes/plan-history.css +160 -161
- package/styles/runes/plan-progress.css +15 -16
- package/styles/runes/plan-ref.css +32 -23
- package/styles/runes/playlist.css +106 -107
- package/styles/runes/plot.css +92 -91
- package/styles/runes/preview.css +152 -149
- package/styles/runes/pricing.css +133 -123
- package/styles/runes/progress.css +32 -27
- package/styles/runes/pullquote.css +89 -90
- package/styles/runes/realm.css +47 -48
- package/styles/runes/recipe.css +112 -114
- package/styles/runes/relationships.css +77 -76
- package/styles/runes/reveal.css +90 -79
- package/styles/runes/sandbox.css +59 -60
- package/styles/runes/section.css +57 -50
- package/styles/runes/showcase.css +35 -16
- package/styles/runes/sidenote.css +30 -27
- package/styles/runes/snippet.css +8 -9
- package/styles/runes/spacing.css +86 -88
- package/styles/runes/spec.css +24 -25
- package/styles/runes/steps.css +89 -80
- package/styles/runes/storyboard.css +46 -45
- package/styles/runes/swatch.css +22 -23
- package/styles/runes/symbol.css +117 -118
- package/styles/runes/tabs.css +88 -79
- package/styles/runes/testimonial.css +43 -44
- package/styles/runes/textblock.css +32 -28
- package/styles/runes/timeline.css +63 -64
- package/styles/runes/tint.css +214 -215
- package/styles/runes/toc.css +40 -41
- package/styles/runes/track.css +89 -90
- package/styles/runes/typography.css +89 -91
- package/styles/runes/work.css +47 -36
- package/styles/runes/xref.css +21 -22
|
@@ -1,87 +1,96 @@
|
|
|
1
1
|
@layer skin {
|
|
2
|
-
/* Accordion — skin. The eyebrow stretched-link, items passthrough, header flex +
|
|
2
|
+
/* Accordion — skin. The eyebrow stretched-link, items passthrough, header flex +
|
|
3
3
|
* chevron box/glyph/rotate mechanism, title/count flex, and the ::details-content
|
|
4
4
|
* collapse mechanism live in @refrakt-md/skeleton (styles/runes/accordion.css).
|
|
5
5
|
* No wrapping border / radius — the only chrome is the divider between items. */
|
|
6
|
-
.rf-accordion__preamble {
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
.rf-accordion__eyebrow {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
.rf-accordion__eyebrow:has(a) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
.rf-accordion__eyebrow:has(a):hover {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
.rf-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
6
|
+
.rf-accordion__preamble {
|
|
7
|
+
margin-bottom: 1.5rem;
|
|
8
|
+
}
|
|
9
|
+
.rf-accordion__eyebrow {
|
|
10
|
+
font-size: var(--rf-text-sm);
|
|
11
|
+
font-weight: var(--rf-weight-semibold);
|
|
12
|
+
letter-spacing: var(--rf-tracking-wider);
|
|
13
|
+
text-transform: uppercase;
|
|
14
|
+
color: var(--rf-color-primary);
|
|
15
|
+
margin: 0 0 0.5rem;
|
|
16
|
+
}
|
|
17
|
+
.rf-accordion__eyebrow:has(a) {
|
|
18
|
+
padding: 0.25rem 0.875rem;
|
|
19
|
+
border: 1px solid var(--rf-color-border);
|
|
20
|
+
border-radius: var(--rf-radius-full);
|
|
21
|
+
color: var(--rf-color-text);
|
|
22
|
+
font-weight: var(--rf-weight-normal);
|
|
23
|
+
text-transform: none;
|
|
24
|
+
letter-spacing: var(--rf-tracking-normal);
|
|
25
|
+
transition: border-color 150ms ease;
|
|
26
|
+
}
|
|
27
|
+
.rf-accordion__eyebrow:has(a):hover {
|
|
28
|
+
border-color: var(--rf-color-muted);
|
|
29
|
+
}
|
|
30
|
+
.rf-accordion__eyebrow:has(a) a {
|
|
31
|
+
color: var(--rf-color-primary);
|
|
32
|
+
font-weight: var(--rf-weight-semibold);
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
}
|
|
35
|
+
.rf-accordion__eyebrow:has(a) a::before {
|
|
36
|
+
border-radius: inherit;
|
|
37
|
+
}
|
|
38
|
+
.rf-accordion__headline {
|
|
39
|
+
margin-top: 0;
|
|
40
|
+
}
|
|
41
|
+
.rf-accordion__blurb {
|
|
42
|
+
color: var(--rf-color-muted);
|
|
43
|
+
margin-bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
.rf-accordion__image {
|
|
46
|
+
margin-bottom: 1rem;
|
|
47
|
+
}
|
|
48
|
+
.rf-accordion-item {
|
|
49
|
+
border-bottom: 1px solid var(--rf-color-border);
|
|
50
|
+
}
|
|
51
|
+
.rf-accordion-item:last-child {
|
|
52
|
+
border-bottom: none;
|
|
53
|
+
}
|
|
54
|
+
.rf-accordion-item__header {
|
|
55
|
+
gap: 0.5rem;
|
|
56
|
+
padding: 0.875rem 0rem;
|
|
57
|
+
font-weight: var(--rf-weight-semibold);
|
|
58
|
+
font-size: var(--rf-text);
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
user-select: none;
|
|
61
|
+
}
|
|
62
|
+
/* Chevron tint + rotate animation (the box + glyph + the open-rotate are
|
|
55
63
|
* skeleton). */
|
|
56
|
-
.rf-accordion-item__header::before {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
.rf-accordion-item__title {
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
/* Per-group count for collection/relationships group-display="accordion". */
|
|
64
|
-
.rf-accordion-item__count {
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
.rf-accordion-item::details-content {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
gap
|
|
85
|
-
|
|
86
|
-
|
|
64
|
+
.rf-accordion-item__header::before {
|
|
65
|
+
background: var(--rf-color-muted);
|
|
66
|
+
transition: transform 200ms ease;
|
|
67
|
+
}
|
|
68
|
+
.rf-accordion-item__title {
|
|
69
|
+
/* flex sizing is skeleton */
|
|
70
|
+
}
|
|
71
|
+
/* Per-group count for collection/relationships group-display="accordion". */
|
|
72
|
+
.rf-accordion-item__count {
|
|
73
|
+
/* flex-shrink is skeleton */
|
|
74
|
+
}
|
|
75
|
+
.rf-accordion-item::details-content {
|
|
76
|
+
transition:
|
|
77
|
+
block-size 250ms ease,
|
|
78
|
+
content-visibility 250ms allow-discrete;
|
|
79
|
+
}
|
|
80
|
+
.rf-accordion-item__body {
|
|
81
|
+
padding: 0 1.25rem 1rem;
|
|
82
|
+
}
|
|
83
|
+
/* Prose styles for the standalone accordion rune's bodies. */
|
|
84
|
+
.rf-accordion-item__body:not(:has([data-block])) {
|
|
85
|
+
font-size: var(--rf-text-sm);
|
|
86
|
+
line-height: var(--rf-leading-relaxed);
|
|
87
|
+
color: var(--rf-color-muted);
|
|
88
|
+
}
|
|
89
|
+
.rf-accordion-item__body p:last-child {
|
|
90
|
+
margin-bottom: 0;
|
|
91
|
+
}
|
|
92
|
+
/* Block-content panels get the small gap (the flex column is skeleton). */
|
|
93
|
+
.rf-accordion-item__body:has([data-block]) {
|
|
94
|
+
gap: var(--rf-spacing-sm);
|
|
95
|
+
}
|
|
87
96
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer skin {
|
|
2
|
-
/* Aggregate — counts and per-group breakdowns from the registry (SPEC-076).
|
|
2
|
+
/* Aggregate — counts and per-group breakdowns from the registry (SPEC-076).
|
|
3
3
|
*
|
|
4
4
|
* Two modes share the same block class. The no-body inline form is a `<span>`
|
|
5
5
|
* carrying the integer; the body-zoned form is a `<section>` rendering
|
|
@@ -9,58 +9,69 @@
|
|
|
9
9
|
* form.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
/* Block container — vertical rhythm matches collection / relationships. The
|
|
12
|
+
/* Block container — vertical rhythm matches collection / relationships. The
|
|
13
13
|
* bare selector also matches the inline form's `<span>`, but vertical margin
|
|
14
14
|
* on an inline span has no effect so it's safe to share. */
|
|
15
|
-
.rf-aggregate {
|
|
16
|
-
|
|
17
|
-
}
|
|
15
|
+
.rf-aggregate {
|
|
16
|
+
margin: var(--rf-spacing-md) 0;
|
|
17
|
+
}
|
|
18
18
|
|
|
19
|
-
/* Inline single-number form — `<span class="rf-aggregate" data-aggregate="count">`.
|
|
19
|
+
/* Inline single-number form — `<span class="rf-aggregate" data-aggregate="count">`.
|
|
20
20
|
* Tabular nums keep digits aligned when the count changes between renders;
|
|
21
21
|
* weight tuned to stand out modestly in prose. */
|
|
22
|
-
.rf-aggregate[data-aggregate=
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
22
|
+
.rf-aggregate[data-aggregate="count"] {
|
|
23
|
+
font-variant-numeric: tabular-nums;
|
|
24
|
+
font-weight: var(--rf-weight-semibold);
|
|
25
|
+
color: var(--rf-color-text);
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
/* Preamble — totals chrome above the breakdown (e.g. a progress bar). Trim
|
|
28
|
+
/* Preamble — totals chrome above the breakdown (e.g. a progress bar). Trim
|
|
29
29
|
* first/last-child block margins so the rune's outer rhythm wins over the
|
|
30
30
|
* template's inner block margins (same pattern collection uses). */
|
|
31
|
-
.rf-aggregate__preamble > :first-child {
|
|
32
|
-
|
|
31
|
+
.rf-aggregate__preamble > :first-child {
|
|
32
|
+
margin-top: 0;
|
|
33
|
+
}
|
|
34
|
+
.rf-aggregate__preamble > :last-child {
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
}
|
|
33
37
|
|
|
34
|
-
/* Empty state — replaces the breakdown when the query yields nothing. */
|
|
35
|
-
.rf-aggregate__empty {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
.rf-aggregate__empty > :first-child {
|
|
40
|
-
|
|
38
|
+
/* Empty state — replaces the breakdown when the query yields nothing. */
|
|
39
|
+
.rf-aggregate__empty {
|
|
40
|
+
color: var(--rf-color-muted);
|
|
41
|
+
font-size: 0.9375em;
|
|
42
|
+
}
|
|
43
|
+
.rf-aggregate__empty > :first-child {
|
|
44
|
+
margin-top: 0;
|
|
45
|
+
}
|
|
46
|
+
.rf-aggregate__empty > :last-child {
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
}
|
|
41
49
|
|
|
42
|
-
/* Items — either the per-group breakdown row, or the ungrouped single-render
|
|
50
|
+
/* Items — either the per-group breakdown row, or the ungrouped single-render
|
|
43
51
|
* slot. Default stack handles the ungrouped case (one block element from the
|
|
44
52
|
* body). With groups, switch to a wrapping inline row so per-group renders
|
|
45
53
|
* (badges, pills, …) flow across the page. */
|
|
46
|
-
.rf-aggregate__items {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
.rf-aggregate__items:has(.rf-aggregate__group) {
|
|
51
|
-
|
|
52
|
-
}
|
|
54
|
+
.rf-aggregate__items {
|
|
55
|
+
gap: var(--rf-spacing-sm);
|
|
56
|
+
margin-top: var(--rf-spacing-sm);
|
|
57
|
+
}
|
|
58
|
+
.rf-aggregate__items:has(.rf-aggregate__group) {
|
|
59
|
+
gap: var(--rf-spacing-xs) var(--rf-spacing-sm);
|
|
60
|
+
}
|
|
53
61
|
|
|
54
|
-
/* Direct children of __items (the ungrouped template render) — trim outer
|
|
62
|
+
/* Direct children of __items (the ungrouped template render) — trim outer
|
|
55
63
|
* block margins so the rune's outer rhythm wins, same pattern as preamble /
|
|
56
64
|
* empty. */
|
|
57
|
-
.rf-aggregate__items > :first-child {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
.rf-aggregate__items > :first-child {
|
|
66
|
+
margin-top: 0;
|
|
67
|
+
}
|
|
68
|
+
.rf-aggregate__items > :last-child {
|
|
69
|
+
margin-bottom: 0;
|
|
70
|
+
}
|
|
71
|
+
.rf-aggregate__group[data-block] > :first-child {
|
|
72
|
+
margin-top: 0;
|
|
73
|
+
}
|
|
74
|
+
.rf-aggregate__group[data-block] > :last-child {
|
|
75
|
+
margin-bottom: 0;
|
|
76
|
+
}
|
|
66
77
|
}
|
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
@layer skin {
|
|
2
|
-
/* Annotate — skin. The body passthrough, margin float, inline/tooltip display +
|
|
2
|
+
/* Annotate — skin. The body passthrough, margin float, inline/tooltip display +
|
|
3
3
|
* positioning + hover reveal, and metadata hide live in @refrakt-md/skeleton
|
|
4
4
|
* (styles/runes/annotate.css). */
|
|
5
|
-
.rf-annotate--margin .rf-annotate-note {
|
|
6
|
-
margin: 0.25rem 0 0.5rem 1rem;
|
|
7
|
-
padding: 0.5rem 0 0.5rem 1rem;
|
|
8
|
-
font-size: var(--rf-text-sm);
|
|
9
|
-
color: var(--rf-color-muted);
|
|
10
|
-
border-left: 2px solid var(--rf-color-border);
|
|
11
|
-
}
|
|
12
|
-
.rf-annotate--inline .rf-annotate-note {
|
|
13
|
-
margin: 0 0.25rem;
|
|
14
|
-
padding: 0.125rem 0 0.125rem 0.5rem;
|
|
15
|
-
font-size: var(--rf-text-sm);
|
|
16
|
-
color: var(--rf-color-muted);
|
|
17
|
-
border-left: 2px solid var(--rf-color-border);
|
|
18
|
-
}
|
|
19
|
-
.rf-annotate--tooltip .rf-annotate-note {
|
|
20
|
-
margin: 0 0.25rem;
|
|
21
|
-
padding: 0;
|
|
22
|
-
font-size: 0;
|
|
23
|
-
}
|
|
24
|
-
.rf-annotate--tooltip .rf-annotate-note::before {
|
|
25
|
-
content: '?';
|
|
26
|
-
font-size: var(--rf-text-xs);
|
|
27
|
-
font-weight: var(--rf-weight-bold);
|
|
28
|
-
color: var(--rf-color-primary);
|
|
29
|
-
border: 1px solid var(--rf-color-primary);
|
|
30
|
-
border-radius: var(--rf-radius-full, 50%);
|
|
31
|
-
cursor: help;
|
|
32
|
-
}
|
|
33
|
-
.rf-annotate--tooltip .rf-annotate-note__body {
|
|
34
|
-
padding: 0.75rem;
|
|
35
|
-
font-size: var(--rf-text-sm);
|
|
36
|
-
color: var(--rf-color-text);
|
|
37
|
-
background: var(--rf-color-bg);
|
|
38
|
-
border: 1px solid var(--rf-color-border);
|
|
39
|
-
border-radius: var(--rf-radius-md);
|
|
40
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
41
|
-
margin-bottom: 0.5rem;
|
|
42
|
-
}
|
|
43
|
-
.rf-annotate-note__body p:last-child { margin-bottom: 0; }
|
|
44
|
-
@media (max-width: 768px) {
|
|
45
5
|
.rf-annotate--margin .rf-annotate-note {
|
|
46
|
-
margin: 0.
|
|
47
|
-
padding: 0.
|
|
6
|
+
margin: 0.25rem 0 0.5rem 1rem;
|
|
7
|
+
padding: 0.5rem 0 0.5rem 1rem;
|
|
8
|
+
font-size: var(--rf-text-sm);
|
|
9
|
+
color: var(--rf-color-muted);
|
|
10
|
+
border-left: 2px solid var(--rf-color-border);
|
|
11
|
+
}
|
|
12
|
+
.rf-annotate--inline .rf-annotate-note {
|
|
13
|
+
margin: 0 0.25rem;
|
|
14
|
+
padding: 0.125rem 0 0.125rem 0.5rem;
|
|
15
|
+
font-size: var(--rf-text-sm);
|
|
16
|
+
color: var(--rf-color-muted);
|
|
17
|
+
border-left: 2px solid var(--rf-color-border);
|
|
18
|
+
}
|
|
19
|
+
.rf-annotate--tooltip .rf-annotate-note {
|
|
20
|
+
margin: 0 0.25rem;
|
|
21
|
+
padding: 0;
|
|
22
|
+
font-size: 0;
|
|
23
|
+
}
|
|
24
|
+
.rf-annotate--tooltip .rf-annotate-note::before {
|
|
25
|
+
content: "?";
|
|
26
|
+
font-size: var(--rf-text-xs);
|
|
27
|
+
font-weight: var(--rf-weight-bold);
|
|
28
|
+
color: var(--rf-color-primary);
|
|
29
|
+
border: 1px solid var(--rf-color-primary);
|
|
30
|
+
border-radius: var(--rf-radius-full, 50%);
|
|
31
|
+
cursor: help;
|
|
32
|
+
}
|
|
33
|
+
.rf-annotate--tooltip .rf-annotate-note__body {
|
|
34
|
+
padding: 0.75rem;
|
|
35
|
+
font-size: var(--rf-text-sm);
|
|
36
|
+
color: var(--rf-color-text);
|
|
37
|
+
background: var(--rf-color-bg);
|
|
38
|
+
border: 1px solid var(--rf-color-border);
|
|
39
|
+
border-radius: var(--rf-radius-md);
|
|
40
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
41
|
+
margin-bottom: 0.5rem;
|
|
42
|
+
}
|
|
43
|
+
.rf-annotate-note__body p:last-child {
|
|
44
|
+
margin-bottom: 0;
|
|
45
|
+
}
|
|
46
|
+
@media (max-width: 768px) {
|
|
47
|
+
.rf-annotate--margin .rf-annotate-note {
|
|
48
|
+
margin: 0.5rem 0 1rem;
|
|
49
|
+
padding: 0.75rem 1rem;
|
|
50
|
+
}
|
|
48
51
|
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
52
|
}
|
package/styles/runes/api.css
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
@layer skin {
|
|
2
|
-
/* Api */
|
|
2
|
+
/* Api */
|
|
3
3
|
|
|
4
|
-
/* SPEC-080: the endpoint header is a projected `eyebrow` bar (method + path
|
|
4
|
+
/* SPEC-080: the endpoint header is a projected `eyebrow` bar (method + path
|
|
5
5
|
* + auth). Geometry + the auth right-push come from `[data-zone-layout="bar"]`
|
|
6
6
|
* in dimensions/metadata.css; field shape (method/auth chips, path mono code)
|
|
7
7
|
* is intrinsic to metaType. */
|
|
8
|
-
.rf-api__eyebrow {
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
.rf-api__body {
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
.rf-api__body pre {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
.rf-api__body blockquote {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
.rf-api__body blockquote::before {
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
8
|
+
.rf-api__eyebrow {
|
|
9
|
+
padding: 0.5rem 0;
|
|
10
|
+
}
|
|
11
|
+
.rf-api__body {
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
.rf-api__body pre {
|
|
15
|
+
border-radius: var(--rf-radius-md);
|
|
16
|
+
margin: 1rem 0;
|
|
17
|
+
}
|
|
18
|
+
.rf-api__body blockquote {
|
|
19
|
+
border-left: 3px solid var(--rf-color-border);
|
|
20
|
+
padding: 0.5rem 1rem;
|
|
21
|
+
margin: 0.75rem 0;
|
|
22
|
+
border-radius: 0 var(--rf-radius-sm) var(--rf-radius-sm) 0;
|
|
23
|
+
font-size: var(--rf-text);
|
|
24
|
+
}
|
|
25
|
+
.rf-api__body blockquote::before {
|
|
26
|
+
content: none;
|
|
27
|
+
}
|
|
29
28
|
}
|