@refrakt-md/skeleton 0.33.0 → 0.35.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.
Files changed (69) hide show
  1. package/index.css +102 -102
  2. package/package.json +2 -2
  3. package/styles/dimensions/checklist.css +1 -1
  4. package/styles/dimensions/cover.css +12 -3
  5. package/styles/dimensions/guest-posture.css +2 -1
  6. package/styles/dimensions/metadata.css +12 -4
  7. package/styles/dimensions/sequence.css +1 -1
  8. package/styles/global.css +52 -12
  9. package/styles/layouts/blog.css +89 -25
  10. package/styles/layouts/default.css +63 -18
  11. package/styles/layouts/docs.css +111 -29
  12. package/styles/layouts/mobile.css +24 -8
  13. package/styles/layouts/on-this-page.css +6 -2
  14. package/styles/layouts/plan.css +108 -32
  15. package/styles/layouts/search.css +27 -9
  16. package/styles/layouts/split.css +45 -13
  17. package/styles/runes/accordion.css +25 -9
  18. package/styles/runes/annotate.css +9 -4
  19. package/styles/runes/audio.css +3 -1
  20. package/styles/runes/bento.css +151 -41
  21. package/styles/runes/bond.css +2 -2
  22. package/styles/runes/breadcrumb.css +6 -2
  23. package/styles/runes/budget.css +3 -1
  24. package/styles/runes/card.css +32 -10
  25. package/styles/runes/cast.css +12 -4
  26. package/styles/runes/changelog.css +12 -4
  27. package/styles/runes/character.css +3 -1
  28. package/styles/runes/chart.css +10 -3
  29. package/styles/runes/codegroup.css +6 -2
  30. package/styles/runes/collection.css +7 -7
  31. package/styles/runes/compare.css +3 -1
  32. package/styles/runes/comparison.css +33 -12
  33. package/styles/runes/conversation.css +6 -2
  34. package/styles/runes/cta.css +1 -1
  35. package/styles/runes/details.css +7 -2
  36. package/styles/runes/drawer.css +4 -20
  37. package/styles/runes/feature.css +1 -1
  38. package/styles/runes/figure.css +22 -7
  39. package/styles/runes/file-ref.css +3 -1
  40. package/styles/runes/form.css +3 -1
  41. package/styles/runes/gallery.css +3 -1
  42. package/styles/runes/grid.css +57 -19
  43. package/styles/runes/hero.css +20 -7
  44. package/styles/runes/hint.css +20 -6
  45. package/styles/runes/itinerary.css +25 -9
  46. package/styles/runes/juxtapose.css +15 -5
  47. package/styles/runes/lore.css +6 -2
  48. package/styles/runes/map.css +17 -7
  49. package/styles/runes/mediatext.css +28 -10
  50. package/styles/runes/milestone.css +1 -1
  51. package/styles/runes/mockup.css +5 -2
  52. package/styles/runes/nav.css +10 -4
  53. package/styles/runes/plan-history.css +13 -5
  54. package/styles/runes/plot.css +14 -5
  55. package/styles/runes/preview.css +18 -6
  56. package/styles/runes/pricing.css +7 -3
  57. package/styles/runes/pullquote.css +12 -4
  58. package/styles/runes/relationships.css +7 -7
  59. package/styles/runes/reveal.css +4 -3
  60. package/styles/runes/sandbox.css +6 -2
  61. package/styles/runes/section.css +1 -1
  62. package/styles/runes/showcase.css +6 -2
  63. package/styles/runes/steps.css +16 -6
  64. package/styles/runes/storyboard.css +15 -6
  65. package/styles/runes/symbol.css +9 -3
  66. package/styles/runes/tabs.css +1 -1
  67. package/styles/runes/testimonial.css +6 -2
  68. package/styles/runes/textblock.css +9 -3
  69. package/styles/runes/timeline.css +14 -6
@@ -5,20 +5,54 @@
5
5
  /* Height pinned to --rf-header-height so the docked mobile nav panel
6
6
  (top: var(--rf-header-height)) lines up exactly with the header bottom
7
7
  regardless of brand/logo size. */
8
- .rf-header { position: sticky; top: 0; z-index: 100; height: var(--rf-header-height, 3.5rem); }
9
- .rf-header__inner { display: flex; align-items: center; }
10
- .rf-header__inner .rf-search-trigger { margin-left: auto; order: 1; }
11
- .rf-header__inner > rf-nav { order: 3; }
12
- .rf-header__inner p ~ p { order: 1; }
13
- .rf-header__inner .rf-mobile-menu-btn { order: 3; }
14
- .rf-header a { display: inline-block; }
15
- .rf-header p:first-child a { display: inline-flex; align-items: center; }
8
+ .rf-header {
9
+ position: sticky;
10
+ top: 0;
11
+ z-index: 100;
12
+ height: var(--rf-header-height, 3.5rem);
13
+ }
14
+ .rf-header__inner {
15
+ display: flex;
16
+ align-items: center;
17
+ }
18
+ .rf-header__inner .rf-search-trigger {
19
+ margin-left: auto;
20
+ order: 1;
21
+ }
22
+ .rf-header__inner > rf-nav {
23
+ order: 3;
24
+ }
25
+ .rf-header__inner p ~ p {
26
+ order: 1;
27
+ }
28
+ .rf-header__inner .rf-mobile-menu-btn {
29
+ order: 3;
30
+ }
31
+ .rf-header a {
32
+ display: inline-block;
33
+ }
34
+ .rf-header p:first-child a {
35
+ display: inline-flex;
36
+ align-items: center;
37
+ }
16
38
  .rf-header img,
17
- .rf-header p:first-child a > .rf-icon { height: 2rem; width: 2rem; }
18
- .rf-header img { width: auto; }
19
- .rf-header p:first-child a > .rf-icon { display: inline-block; }
20
- .rf-header__inner p ~ p a svg { width: 1.1rem; height: 1.1rem; }
21
- .rf-page-content { container-type: inline-size; }
39
+ .rf-header p:first-child a > .rf-icon {
40
+ height: 2rem;
41
+ width: 2rem;
42
+ }
43
+ .rf-header img {
44
+ width: auto;
45
+ }
46
+ .rf-header p:first-child a > .rf-icon {
47
+ display: inline-block;
48
+ }
49
+ .rf-header__inner p ~ p a svg {
50
+ width: 1.1rem;
51
+ height: 1.1rem;
52
+ }
53
+ .rf-page-content {
54
+ container-type: inline-size;
55
+ }
22
56
  .rf-page-content > article {
23
57
  display: grid;
24
58
  grid-template-columns:
@@ -29,7 +63,9 @@
29
63
  [wide-end] 1fr
30
64
  [full-end];
31
65
  }
32
- .rf-page-content > article > * { grid-column: content; }
66
+ .rf-page-content > article > * {
67
+ grid-column: content;
68
+ }
33
69
  .rf-page-content > article > [data-width="compact"] {
34
70
  max-width: var(--rf-width-compact, 30rem);
35
71
  margin-inline: auto;
@@ -38,17 +74,26 @@
38
74
  max-width: var(--rf-width-narrow, 40rem);
39
75
  margin-inline: auto;
40
76
  }
41
- .rf-page-content > article > [data-width="wide"] { grid-column: wide; }
42
- .rf-page-content > article > [data-width="full"] { grid-column: full; }
77
+ .rf-page-content > article > [data-width="wide"] {
78
+ grid-column: wide;
79
+ }
80
+ .rf-page-content > article > [data-width="full"] {
81
+ grid-column: full;
82
+ }
43
83
  .rf-page-content > article > :is([data-tint], [data-color-scheme]):not([data-width]) {
44
84
  grid-column: full;
45
85
  }
46
86
  @media (max-width: 768px) {
47
- .rf-header__inner p ~ p { display: none; }
87
+ .rf-header__inner p ~ p {
88
+ display: none;
89
+ }
48
90
  }
49
91
  .rf-footer {
50
92
  display: flex;
51
93
  flex-direction: column;
52
94
  align-items: center;
53
95
  }
54
- .rf-footer > * { width: 100%; max-width: 80rem; }
96
+ .rf-footer > * {
97
+ width: 100%;
98
+ max-width: 80rem;
99
+ }
@@ -7,19 +7,54 @@
7
7
  toolbar and the docked mobile nav panel can offset against a known value —
8
8
  otherwise a header that renders shorter than the assumed height leaves a
9
9
  gap the page content scrolls through, and a taller one overlaps. */
10
- .rf-docs-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: var(--rf-header-height, 3.5rem); }
11
- .rf-docs-header__inner { display: flex; align-items: center; }
12
- .rf-docs-header__inner .rf-search-trigger { margin-left: auto; order: 1; }
13
- .rf-docs-header__inner > rf-nav { order: 3; }
14
- .rf-docs-header__inner p ~ p { order: 1; }
15
- .rf-docs-header__inner .rf-mobile-menu-btn { order: 3; }
16
- .rf-docs-header a { display: inline-block; }
17
- .rf-docs-header p:first-child a { display: inline-flex; align-items: center; }
10
+ .rf-docs-header {
11
+ position: fixed;
12
+ top: 0;
13
+ left: 0;
14
+ right: 0;
15
+ z-index: 10;
16
+ height: var(--rf-header-height, 3.5rem);
17
+ }
18
+ .rf-docs-header__inner {
19
+ display: flex;
20
+ align-items: center;
21
+ }
22
+ .rf-docs-header__inner .rf-search-trigger {
23
+ margin-left: auto;
24
+ order: 1;
25
+ }
26
+ .rf-docs-header__inner > rf-nav {
27
+ order: 3;
28
+ }
29
+ .rf-docs-header__inner p ~ p {
30
+ order: 1;
31
+ }
32
+ .rf-docs-header__inner .rf-mobile-menu-btn {
33
+ order: 3;
34
+ }
35
+ .rf-docs-header a {
36
+ display: inline-block;
37
+ }
38
+ .rf-docs-header p:first-child a {
39
+ display: inline-flex;
40
+ align-items: center;
41
+ }
18
42
  .rf-docs-header img,
19
- .rf-docs-header p:first-child a > .rf-icon { height: 2rem; width: 2rem; }
20
- .rf-docs-header p:first-child a > .rf-icon { display: inline-block; }
21
- .rf-docs-header__inner p ~ p a svg { width: 1.1rem; height: 1.1rem; }
22
- .rf-docs-body { display: flex; align-items: flex-start; }
43
+ .rf-docs-header p:first-child a > .rf-icon {
44
+ height: 2rem;
45
+ width: 2rem;
46
+ }
47
+ .rf-docs-header p:first-child a > .rf-icon {
48
+ display: inline-block;
49
+ }
50
+ .rf-docs-header__inner p ~ p a svg {
51
+ width: 1.1rem;
52
+ height: 1.1rem;
53
+ }
54
+ .rf-docs-body {
55
+ display: flex;
56
+ align-items: flex-start;
57
+ }
23
58
  .rf-docs-sidebar {
24
59
  position: sticky;
25
60
  top: 3.125rem;
@@ -30,18 +65,26 @@
30
65
  overflow-y: auto;
31
66
  z-index: 5;
32
67
  }
33
- html:has(.rf-docs-header) .rf-docs-sidebar { margin-top: 3.125rem; }
68
+ html:has(.rf-docs-header) .rf-docs-sidebar {
69
+ margin-top: 3.125rem;
70
+ }
34
71
  .rf-docs-content {
35
72
  flex: 1;
36
73
  min-width: 0;
37
74
  container-type: inline-size;
38
75
  }
39
- .rf-docs-content__inner { max-width: 60rem; margin: 0 auto; }
76
+ .rf-docs-content__inner {
77
+ max-width: 60rem;
78
+ margin: 0 auto;
79
+ }
40
80
  .rf-docs-content__inner--has-toc {
41
81
  display: flex;
42
82
  max-width: calc(60rem + 220px + 6rem);
43
83
  }
44
- .rf-docs-content__inner--has-toc .rf-docs-content__body { flex: 1; min-width: 0; }
84
+ .rf-docs-content__inner--has-toc .rf-docs-content__body {
85
+ flex: 1;
86
+ min-width: 0;
87
+ }
45
88
  .rf-docs-content__body > div > article {
46
89
  display: grid;
47
90
  grid-template-columns:
@@ -50,11 +93,21 @@ html:has(.rf-docs-header) .rf-docs-sidebar { margin-top: 3.125rem; }
50
93
  [content-end] minmax(var(--rf-content-padding, 2.5rem), var(--rf-docs-wide-inset, 3rem))
51
94
  [wide-end];
52
95
  }
53
- .rf-docs-content__body > div > article > * { grid-column: content; }
96
+ .rf-docs-content__body > div > article > * {
97
+ grid-column: content;
98
+ }
54
99
  .rf-docs-content__body > div > article > [data-width="wide"],
55
- .rf-docs-content__body > div > article > [data-width="full"] { grid-column: wide; }
56
- .rf-docs-content__body > div > article > [data-width="compact"] { max-width: var(--rf-width-compact, 30rem); margin-inline: auto; }
57
- .rf-docs-content__body > div > article > [data-width="narrow"] { max-width: var(--rf-width-narrow, 40rem); margin-inline: auto; }
100
+ .rf-docs-content__body > div > article > [data-width="full"] {
101
+ grid-column: wide;
102
+ }
103
+ .rf-docs-content__body > div > article > [data-width="compact"] {
104
+ max-width: var(--rf-width-compact, 30rem);
105
+ margin-inline: auto;
106
+ }
107
+ .rf-docs-content__body > div > article > [data-width="narrow"] {
108
+ max-width: var(--rf-width-narrow, 40rem);
109
+ margin-inline: auto;
110
+ }
58
111
  .rf-docs-toc {
59
112
  width: 220px;
60
113
  flex-shrink: 0;
@@ -64,33 +117,62 @@ html:has(.rf-docs-header) .rf-docs-sidebar { margin-top: 3.125rem; }
64
117
  max-height: calc(100vh - 5.75rem);
65
118
  overflow-y: auto;
66
119
  }
67
- html:has(.rf-docs-header) { scroll-padding-top: 5rem; }
120
+ html:has(.rf-docs-header) {
121
+ scroll-padding-top: 5rem;
122
+ }
68
123
  .rf-docs-toolbar {
69
124
  display: none;
70
125
  align-items: center;
71
126
  max-width: 100%;
72
127
  overflow: hidden;
73
128
  }
74
- .rf-docs-toolbar__hamburger { flex-shrink: 0; }
75
- .rf-docs-toolbar__breadcrumb { flex: 1 1 0; min-width: 0; overflow: hidden; }
129
+ .rf-docs-toolbar__hamburger {
130
+ flex-shrink: 0;
131
+ }
132
+ .rf-docs-toolbar__breadcrumb {
133
+ flex: 1 1 0;
134
+ min-width: 0;
135
+ overflow: hidden;
136
+ }
76
137
  @media (max-width: 1100px) {
77
- .rf-docs-toc { display: none; }
78
- .rf-docs-content__inner--has-toc { display: block; max-width: 60rem; }
138
+ .rf-docs-toc {
139
+ display: none;
140
+ }
141
+ .rf-docs-content__inner--has-toc {
142
+ display: block;
143
+ max-width: 60rem;
144
+ }
79
145
  }
80
146
  @media (max-width: 768px) {
81
- .rf-docs-header { position: sticky; top: 0; }
82
- .rf-docs-header__inner p ~ p { display: none; }
147
+ .rf-docs-header {
148
+ position: sticky;
149
+ top: 0;
150
+ }
151
+ .rf-docs-header__inner p ~ p {
152
+ display: none;
153
+ }
83
154
  /* Pin the toolbar to a known height (border-box, so padding + border are
84
155
  included) so the docked nav panel can offset against it exactly. A
85
156
  content-driven height let the panel's hardcoded guess undershoot the real
86
157
  toolbar, and the toolbar's higher z-index then covered the panel's first
87
158
  link. */
88
- .rf-docs-toolbar { display: flex; position: sticky; top: var(--rf-header-height, 3.5rem); z-index: 100; height: var(--rf-docs-toolbar-height, 3.25rem); box-sizing: border-box; }
159
+ .rf-docs-toolbar {
160
+ display: flex;
161
+ position: sticky;
162
+ top: var(--rf-header-height, 3.5rem);
163
+ z-index: 100;
164
+ height: var(--rf-docs-toolbar-height, 3.25rem);
165
+ box-sizing: border-box;
166
+ }
89
167
  /* Two classes (0,2,0) so this beats the base `.rf-mobile-panel { top }` rule
90
168
  in mobile.css — both live in @layer skeleton and mobile.css is imported
91
169
  later, so an equal-specificity single-class override would lose on source
92
170
  order and the panel would dock under the site header (hiding its first
93
171
  link behind the toolbar) instead of under the toolbar. */
94
- .rf-mobile-panel.rf-mobile-panel--nav { top: calc(var(--rf-header-height, 3.5rem) + var(--rf-docs-toolbar-height, 3.25rem)); }
95
- .rf-docs-sidebar { display: none; }
172
+ .rf-mobile-panel.rf-mobile-panel--nav {
173
+ top: calc(var(--rf-header-height, 3.5rem) + var(--rf-docs-toolbar-height, 3.25rem));
174
+ }
175
+ .rf-docs-sidebar {
176
+ display: none;
177
+ }
96
178
  }
@@ -2,10 +2,18 @@
2
2
  * panel positioning + scroll, the panel-link block display, the panel open, and the
3
3
  * mobile media-query reveal/hide of the button + inline nav + duplicated brand.
4
4
  * Button/link chrome, padding, and type are skin. */
5
- .rf-mobile-menu-btn { display: none; }
6
- .rf-mobile-menu-btn__icon-close { display: none; }
7
- .rf-mobile-menu-btn[aria-expanded="true"] .rf-mobile-menu-btn__icon-open { display: none; }
8
- .rf-mobile-menu-btn[aria-expanded="true"] .rf-mobile-menu-btn__icon-close { display: inline; }
5
+ .rf-mobile-menu-btn {
6
+ display: none;
7
+ }
8
+ .rf-mobile-menu-btn__icon-close {
9
+ display: none;
10
+ }
11
+ .rf-mobile-menu-btn[aria-expanded="true"] .rf-mobile-menu-btn__icon-open {
12
+ display: none;
13
+ }
14
+ .rf-mobile-menu-btn[aria-expanded="true"] .rf-mobile-menu-btn__icon-close {
15
+ display: inline;
16
+ }
9
17
  .rf-mobile-panel {
10
18
  display: none;
11
19
  position: fixed;
@@ -20,20 +28,28 @@
20
28
  overflow-y: auto;
21
29
  -webkit-overflow-scrolling: touch;
22
30
  }
23
- .rf-mobile-panel__nav img { display: none; }
31
+ .rf-mobile-panel__nav img {
32
+ display: none;
33
+ }
24
34
  .rf-mobile-panel__nav a,
25
35
  .rf-mobile-panel .rf-nav--menubar .rf-nav__top-level .rf-nav-item__link,
26
36
  .rf-mobile-panel .rf-nav--menubar .rf-nav-group .rf-nav-item__link,
27
37
  .rf-mobile-panel .rf-nav--menubar .rf-nav-group__panel .rf-nav--columns .rf-nav-item__link {
28
38
  display: block;
29
39
  }
30
- .rf-mobile-panel[data-open] { display: block; }
40
+ .rf-mobile-panel[data-open] {
41
+ display: block;
42
+ }
31
43
  @media (max-width: 768px) {
32
- .rf-mobile-menu-btn { display: block; }
44
+ .rf-mobile-menu-btn {
45
+ display: block;
46
+ }
33
47
  .rf-header__inner > rf-nav,
34
48
  .rf-docs-header__inner > rf-nav,
35
49
  .rf-blog-header__inner > rf-nav {
36
50
  display: none;
37
51
  }
38
- .rf-mobile-panel__nav > p:first-child { display: none; }
52
+ .rf-mobile-panel__nav > p:first-child {
53
+ display: none;
54
+ }
39
55
  }
@@ -1,4 +1,8 @@
1
1
  /* on-this-page — structure. The list reset + the block link box. Type, colours,
2
2
  * indents, and the active rail are skin. */
3
- .rf-on-this-page__list { list-style: none; }
4
- .rf-on-this-page__item a { display: block; }
3
+ .rf-on-this-page__list {
4
+ list-style: none;
5
+ }
6
+ .rf-on-this-page__item a {
7
+ display: block;
8
+ }
@@ -8,7 +8,9 @@
8
8
  display: grid;
9
9
  grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
10
10
  }
11
- .rf-plan-dashboard__section { min-width: 0; }
11
+ .rf-plan-dashboard__section {
12
+ min-width: 0;
13
+ }
12
14
  .rf-plan-sidebar {
13
15
  position: fixed;
14
16
  inset-block: 0;
@@ -26,38 +28,81 @@
26
28
  align-items: center;
27
29
  justify-content: center;
28
30
  }
29
- .rf-plan-sidebar__search-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }
31
+ .rf-plan-sidebar__search-trigger svg {
32
+ width: 16px;
33
+ height: 16px;
34
+ flex-shrink: 0;
35
+ }
30
36
  .rf-plan-sidebar__status-header {
31
37
  display: flex;
32
38
  align-items: center;
33
39
  justify-content: space-between;
34
40
  width: 100%;
35
41
  }
36
- .rf-plan-sidebar__status-header::before { content: '\25B8'; display: inline-block; }
37
- .rf-plan-sidebar__status-header[aria-expanded="true"]::before { transform: rotate(90deg); }
38
- .rf-plan-sidebar__status-label { flex: 1; }
39
- .rf-plan-sidebar__status-count { min-width: 1.25rem; }
40
- .rf-plan-sidebar__status-items[hidden] { display: none; }
41
- .rf-plan-sidebar__link { display: block; }
42
- .rf-plan-sidebar__link--dashboard { display: flex; align-items: center; }
43
- .rf-plan-sidebar__dashboard-icon { flex-shrink: 0; }
44
- .rf-plan-sidebar__status-link { display: flex; align-items: center; justify-content: space-between; }
45
- .rf-plan-sidebar__blocker-icon { margin-left: auto; flex-shrink: 0; }
46
- .rf-plan-sidebar__link .rf-plan-sidebar__view-label { flex: 1; overflow: hidden; }
47
- .rf-plan-sidebar__link .rf-plan-sidebar__view-count { min-width: 1.25rem; }
42
+ .rf-plan-sidebar__status-header::before {
43
+ content: "\25B8";
44
+ display: inline-block;
45
+ }
46
+ .rf-plan-sidebar__status-header[aria-expanded="true"]::before {
47
+ transform: rotate(90deg);
48
+ }
49
+ .rf-plan-sidebar__status-label {
50
+ flex: 1;
51
+ }
52
+ .rf-plan-sidebar__status-count {
53
+ min-width: 1.25rem;
54
+ }
55
+ .rf-plan-sidebar__status-items[hidden] {
56
+ display: none;
57
+ }
58
+ .rf-plan-sidebar__link {
59
+ display: block;
60
+ }
61
+ .rf-plan-sidebar__link--dashboard {
62
+ display: flex;
63
+ align-items: center;
64
+ }
65
+ .rf-plan-sidebar__dashboard-icon {
66
+ flex-shrink: 0;
67
+ }
68
+ .rf-plan-sidebar__status-link {
69
+ display: flex;
70
+ align-items: center;
71
+ justify-content: space-between;
72
+ }
73
+ .rf-plan-sidebar__blocker-icon {
74
+ margin-left: auto;
75
+ flex-shrink: 0;
76
+ }
77
+ .rf-plan-sidebar__link .rf-plan-sidebar__view-label {
78
+ flex: 1;
79
+ overflow: hidden;
80
+ }
81
+ .rf-plan-sidebar__link .rf-plan-sidebar__view-count {
82
+ min-width: 1.25rem;
83
+ }
48
84
  .rf-plan-sidebar__group[data-type="views"] .rf-plan-sidebar__link {
49
85
  display: flex;
50
86
  align-items: center;
51
87
  justify-content: space-between;
52
88
  }
53
- .rf-plan-main { margin-inline-start: var(--plan-sidebar-width, 240px); }
89
+ .rf-plan-main {
90
+ margin-inline-start: var(--plan-sidebar-width, 240px);
91
+ }
54
92
  .rf-plan-main__inner--has-toc {
55
93
  display: flex;
56
94
  max-width: calc(60rem + 200px + 2rem);
57
95
  margin: 0 auto;
58
96
  }
59
- .rf-plan-main__inner--has-toc .rf-plan-main__body { flex: 1; min-width: 0; max-width: 60rem; }
60
- .rf-plan-main__body { max-width: 60rem; margin: 0 auto; }
97
+ .rf-plan-main__inner--has-toc .rf-plan-main__body {
98
+ flex: 1;
99
+ min-width: 0;
100
+ max-width: 60rem;
101
+ }
102
+ .rf-plan-main__body {
103
+ max-width: 60rem;
104
+ margin: 0 auto;
105
+ }
61
106
  .rf-plan-toc {
62
107
  width: 200px;
63
108
  flex-shrink: 0;
@@ -74,9 +119,16 @@
74
119
  top: 0;
75
120
  z-index: 100;
76
121
  }
77
- .rf-plan-toolbar__hamburger { flex-shrink: 0; }
78
- .rf-plan-toolbar__title { flex: 1; min-width: 0; }
79
- .rf-plan-toolbar__section-nav-toggle { flex-shrink: 0; }
122
+ .rf-plan-toolbar__hamburger {
123
+ flex-shrink: 0;
124
+ }
125
+ .rf-plan-toolbar__title {
126
+ flex: 1;
127
+ min-width: 0;
128
+ }
129
+ .rf-plan-toolbar__section-nav-toggle {
130
+ flex-shrink: 0;
131
+ }
80
132
  .rf-section-nav {
81
133
  display: none;
82
134
  position: absolute;
@@ -85,19 +137,43 @@
85
137
  min-width: 14rem;
86
138
  z-index: 200;
87
139
  }
88
- .rf-section-nav[data-open] { display: block; }
89
- .rf-section-nav__list { list-style: none; }
90
- .rf-section-nav__link { display: block; }
140
+ .rf-section-nav[data-open] {
141
+ display: block;
142
+ }
143
+ .rf-section-nav__list {
144
+ list-style: none;
145
+ }
146
+ .rf-section-nav__link {
147
+ display: block;
148
+ }
91
149
  @media (max-width: 64rem) {
92
- .rf-plan-toc { display: none; }
93
- .rf-plan-main__inner--has-toc { display: block; }
150
+ .rf-plan-toc {
151
+ display: none;
152
+ }
153
+ .rf-plan-main__inner--has-toc {
154
+ display: block;
155
+ }
94
156
  }
95
157
  @media (max-width: 48rem) {
96
- html:has(.rf-plan-toolbar) { scroll-padding-top: 3.5rem; }
97
- .rf-plan-toolbar { display: flex; }
98
- .rf-plan-sidebar { display: none; }
99
- .rf-mobile-panel .rf-plan-sidebar__search-trigger { display: none; }
100
- .rf-layout-plan .rf-mobile-panel--nav { top: 3.0625rem; }
101
- .rf-plan-main { margin-inline-start: 0; }
102
- .rf-plan-dashboard { grid-template-columns: 1fr; }
158
+ html:has(.rf-plan-toolbar) {
159
+ scroll-padding-top: 3.5rem;
160
+ }
161
+ .rf-plan-toolbar {
162
+ display: flex;
163
+ }
164
+ .rf-plan-sidebar {
165
+ display: none;
166
+ }
167
+ .rf-mobile-panel .rf-plan-sidebar__search-trigger {
168
+ display: none;
169
+ }
170
+ .rf-layout-plan .rf-mobile-panel--nav {
171
+ top: 3.0625rem;
172
+ }
173
+ .rf-plan-main {
174
+ margin-inline-start: 0;
175
+ }
176
+ .rf-plan-dashboard {
177
+ grid-template-columns: 1fr;
178
+ }
103
179
  }
@@ -13,7 +13,9 @@
13
13
  height: 16px;
14
14
  flex-shrink: 0;
15
15
  }
16
- .rf-search-trigger__label { pointer-events: none; }
16
+ .rf-search-trigger__label {
17
+ pointer-events: none;
18
+ }
17
19
  .rf-search-trigger__kbd {
18
20
  display: inline-flex;
19
21
  align-items: center;
@@ -35,9 +37,15 @@
35
37
  display: flex;
36
38
  align-items: center;
37
39
  }
38
- .rf-search-dialog__icon { flex-shrink: 0; }
39
- .rf-search-dialog__input { flex: 1; }
40
- .rf-search-dialog__input::-webkit-search-cancel-button { display: none; }
40
+ .rf-search-dialog__icon {
41
+ flex-shrink: 0;
42
+ }
43
+ .rf-search-dialog__input {
44
+ flex: 1;
45
+ }
46
+ .rf-search-dialog__input::-webkit-search-cancel-button {
47
+ display: none;
48
+ }
41
49
  .rf-search-dialog__esc {
42
50
  display: inline-flex;
43
51
  align-items: center;
@@ -48,9 +56,15 @@
48
56
  overflow-y: auto;
49
57
  overscroll-behavior: contain;
50
58
  }
51
- .rf-search-result { display: block; }
52
- .rf-search-result__title { display: block; }
53
- .rf-search-result__excerpt { display: block; }
59
+ .rf-search-result {
60
+ display: block;
61
+ }
62
+ .rf-search-result__title {
63
+ display: block;
64
+ }
65
+ .rf-search-result__excerpt {
66
+ display: block;
67
+ }
54
68
  .rf-search-dialog__footer {
55
69
  display: flex;
56
70
  align-items: center;
@@ -63,7 +77,9 @@
63
77
  }
64
78
  @media (max-width: 768px) {
65
79
  .rf-search-trigger__label,
66
- .rf-search-trigger__kbd { display: none; }
80
+ .rf-search-trigger__kbd {
81
+ display: none;
82
+ }
67
83
  .rf-search-dialog[open] {
68
84
  top: 0;
69
85
  left: 0;
@@ -76,5 +92,7 @@
76
92
  max-height: 100vh;
77
93
  max-height: 100dvh;
78
94
  }
79
- .rf-search-dialog__footer { display: none; }
95
+ .rf-search-dialog__footer {
96
+ display: none;
97
+ }
80
98
  }