repometry 0.0.0-stage → 0.2.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 (274) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +28 -2
  3. package/package.json +64 -4
  4. package/target/main/resources/report/json/compact-json-v1.schema.json +24 -0
  5. package/target/main/resources/report/json/comparison-v1.schema.json +65 -0
  6. package/target/main/resources/report/json/config-v1.schema.json +33 -0
  7. package/target/main/resources/report/json/diff-coverage-v1.schema.json +55 -0
  8. package/target/main/resources/report/json/file-metrics-v1.schema.json +134 -0
  9. package/target/main/resources/report/json/inspection-context-v1.schema.json +172 -0
  10. package/target/main/resources/report/json/metabranch-v1.schema.json +9 -0
  11. package/target/main/resources/report/json/metric-catalog-v1.schema.json +31 -0
  12. package/target/main/resources/report/json/public-history-v1.schema.json +50 -0
  13. package/target/main/resources/report/json/pull-review-v1.schema.json +97 -0
  14. package/target/main/resources/report/json/quality-history-v1.schema.json +51 -0
  15. package/target/main/resources/report/json/report-v1.schema.json +65 -0
  16. package/target/main/resources/report/json/report-v2.schema.json +252 -0
  17. package/target/main/resources/report/json/repository-summary-v1.schema.json +181 -0
  18. package/target/main/resources/report/json/viewer-details-v1.schema.json +343 -0
  19. package/target/main/resources/report/json/viewer-inspection-v1.schema.json +13 -0
  20. package/target/main/resources/viewer/files.css +578 -0
  21. package/target/main/resources/viewer/index.html +120 -0
  22. package/target/main/resources/viewer/projects.html +52 -0
  23. package/target/main/resources/viewer/styles.css +560 -0
  24. package/target/main/resources/viewer/viewer-pulls.css +64 -0
  25. package/target/main/ts/api/gh/github.d.ts +6 -0
  26. package/target/main/ts/api/gh/github.js +92 -0
  27. package/target/main/ts/api/git/blob-batch.d.ts +10 -0
  28. package/target/main/ts/api/git/blob-batch.js +106 -0
  29. package/target/main/ts/api/git/changes.d.ts +22 -0
  30. package/target/main/ts/api/git/changes.js +108 -0
  31. package/target/main/ts/api/git/commit-metadata.d.ts +3 -0
  32. package/target/main/ts/api/git/commit-metadata.js +53 -0
  33. package/target/main/ts/api/git/git-churn.d.ts +9 -0
  34. package/target/main/ts/api/git/git-churn.js +71 -0
  35. package/target/main/ts/api/git/git-reader.d.ts +16 -0
  36. package/target/main/ts/api/git/git-reader.js +74 -0
  37. package/target/main/ts/api/git/git.d.ts +21 -0
  38. package/target/main/ts/api/git/git.js +153 -0
  39. package/target/main/ts/api/git/inspection-source.d.ts +15 -0
  40. package/target/main/ts/api/git/inspection-source.js +31 -0
  41. package/target/main/ts/api/git/local-sources.d.ts +5 -0
  42. package/target/main/ts/api/git/local-sources.js +47 -0
  43. package/target/main/ts/api/git/local.d.ts +3 -0
  44. package/target/main/ts/api/git/local.js +36 -0
  45. package/target/main/ts/api/git/metabranch-worktree.d.ts +1 -0
  46. package/target/main/ts/api/git/metabranch-worktree.js +35 -0
  47. package/target/main/ts/api/git/source-cache.d.ts +3 -0
  48. package/target/main/ts/api/git/source-cache.js +57 -0
  49. package/target/main/ts/api/import/finding-import.d.ts +9 -0
  50. package/target/main/ts/api/import/finding-import.js +227 -0
  51. package/target/main/ts/api/import/lcov-files.d.ts +5 -0
  52. package/target/main/ts/api/import/lcov-files.js +14 -0
  53. package/target/main/ts/api/import/profile-file.d.ts +4 -0
  54. package/target/main/ts/api/import/profile-file.js +17 -0
  55. package/target/main/ts/api/worker/remote-executor.d.ts +2 -0
  56. package/target/main/ts/api/worker/remote-executor.js +46 -0
  57. package/target/main/ts/api/worker/worker-protocol.d.ts +7 -0
  58. package/target/main/ts/api/worker/worker-protocol.js +102 -0
  59. package/target/main/ts/api/worker/worker.d.ts +5 -0
  60. package/target/main/ts/api/worker/worker.js +86 -0
  61. package/target/main/ts/cli/arguments.d.ts +28 -0
  62. package/target/main/ts/cli/arguments.js +111 -0
  63. package/target/main/ts/cli/config.d.ts +13 -0
  64. package/target/main/ts/cli/config.js +58 -0
  65. package/target/main/ts/cli/imports.d.ts +7 -0
  66. package/target/main/ts/cli/imports.js +30 -0
  67. package/target/main/ts/cli/main.d.ts +2 -0
  68. package/target/main/ts/cli/main.js +379 -0
  69. package/target/main/ts/cli/reporting.d.ts +18 -0
  70. package/target/main/ts/cli/reporting.js +104 -0
  71. package/target/main/ts/cli/revisions.d.ts +6 -0
  72. package/target/main/ts/cli/revisions.js +16 -0
  73. package/target/main/ts/cli/store.d.ts +13 -0
  74. package/target/main/ts/cli/store.js +39 -0
  75. package/target/main/ts/compose/analyze-snapshot.d.ts +4 -0
  76. package/target/main/ts/compose/analyze-snapshot.js +164 -0
  77. package/target/main/ts/compose/attach-churn.d.ts +2 -0
  78. package/target/main/ts/compose/attach-churn.js +50 -0
  79. package/target/main/ts/compose/diff-coverage.d.ts +20 -0
  80. package/target/main/ts/compose/diff-coverage.js +57 -0
  81. package/target/main/ts/compose/inspect.d.ts +23 -0
  82. package/target/main/ts/compose/inspect.js +45 -0
  83. package/target/main/ts/compose/plugin-list.d.ts +6 -0
  84. package/target/main/ts/compose/plugin-list.js +10 -0
  85. package/target/main/ts/compose/prepare-metabranch.d.ts +9 -0
  86. package/target/main/ts/compose/prepare-metabranch.js +17 -0
  87. package/target/main/ts/compose/review.d.ts +16 -0
  88. package/target/main/ts/compose/review.js +39 -0
  89. package/target/main/ts/compose/sources.d.ts +3 -0
  90. package/target/main/ts/compose/sources.js +30 -0
  91. package/target/main/ts/core/engine/execute.d.ts +10 -0
  92. package/target/main/ts/core/engine/execute.js +50 -0
  93. package/target/main/ts/core/engine/manifest.d.ts +4 -0
  94. package/target/main/ts/core/engine/manifest.js +105 -0
  95. package/target/main/ts/core/engine/plan.d.ts +22 -0
  96. package/target/main/ts/core/engine/plan.js +107 -0
  97. package/target/main/ts/core/engine/plugin.d.ts +59 -0
  98. package/target/main/ts/core/engine/plugin.js +4 -0
  99. package/target/main/ts/core/engine/report-products.d.ts +16 -0
  100. package/target/main/ts/core/engine/report-products.js +86 -0
  101. package/target/main/ts/core/model/changes.d.ts +8 -0
  102. package/target/main/ts/core/model/changes.js +2 -0
  103. package/target/main/ts/core/model/churn.d.ts +11 -0
  104. package/target/main/ts/core/model/churn.js +5 -0
  105. package/target/main/ts/core/model/clone-source.d.ts +16 -0
  106. package/target/main/ts/core/model/clone-source.js +15 -0
  107. package/target/main/ts/core/model/code-structure.d.ts +30 -0
  108. package/target/main/ts/core/model/code-structure.js +32 -0
  109. package/target/main/ts/core/model/comparison.d.ts +24 -0
  110. package/target/main/ts/core/model/comparison.js +1 -0
  111. package/target/main/ts/core/model/diff-coverage.d.ts +23 -0
  112. package/target/main/ts/core/model/diff-coverage.js +1 -0
  113. package/target/main/ts/core/model/finding-ignore.d.ts +8 -0
  114. package/target/main/ts/core/model/finding-ignore.js +36 -0
  115. package/target/main/ts/core/model/finding.d.ts +28 -0
  116. package/target/main/ts/core/model/finding.js +29 -0
  117. package/target/main/ts/core/model/ignore-rule.d.ts +11 -0
  118. package/target/main/ts/core/model/ignore-rule.js +1 -0
  119. package/target/main/ts/core/model/measurement.d.ts +33 -0
  120. package/target/main/ts/core/model/measurement.js +30 -0
  121. package/target/main/ts/core/model/metric-descriptor.d.ts +17 -0
  122. package/target/main/ts/core/model/metric-descriptor.js +1 -0
  123. package/target/main/ts/core/model/plugin-data.d.ts +25 -0
  124. package/target/main/ts/core/model/plugin-data.js +1 -0
  125. package/target/main/ts/core/model/pull-review.d.ts +48 -0
  126. package/target/main/ts/core/model/pull-review.js +1 -0
  127. package/target/main/ts/core/model/quality-summary.d.ts +42 -0
  128. package/target/main/ts/core/model/quality-summary.js +64 -0
  129. package/target/main/ts/core/model/report.d.ts +40 -0
  130. package/target/main/ts/core/model/report.js +5 -0
  131. package/target/main/ts/core/model/scanner-import.d.ts +39 -0
  132. package/target/main/ts/core/model/scanner-import.js +29 -0
  133. package/target/main/ts/core/model/snapshot.d.ts +15 -0
  134. package/target/main/ts/core/model/snapshot.js +51 -0
  135. package/target/main/ts/core/model/source-locator.d.ts +7 -0
  136. package/target/main/ts/core/model/source-locator.js +1 -0
  137. package/target/main/ts/core/model/source.d.ts +23 -0
  138. package/target/main/ts/core/model/source.js +1 -0
  139. package/target/main/ts/core/ports/report.d.ts +9 -0
  140. package/target/main/ts/core/ports/report.js +2 -0
  141. package/target/main/ts/core/ports/source-provider.d.ts +14 -0
  142. package/target/main/ts/core/ports/source-provider.js +5 -0
  143. package/target/main/ts/core/profile/exclusions.d.ts +11 -0
  144. package/target/main/ts/core/profile/exclusions.js +58 -0
  145. package/target/main/ts/core/profile/maintainability.d.ts +31 -0
  146. package/target/main/ts/core/profile/maintainability.js +10 -0
  147. package/target/main/ts/core/profile/profile.d.ts +4 -0
  148. package/target/main/ts/core/profile/profile.js +11 -0
  149. package/target/main/ts/core/usecases/compare.d.ts +6 -0
  150. package/target/main/ts/core/usecases/compare.js +146 -0
  151. package/target/main/ts/core/usecases/diff-coverage-policy.d.ts +6 -0
  152. package/target/main/ts/core/usecases/diff-coverage-policy.js +11 -0
  153. package/target/main/ts/core/usecases/diff-coverage.d.ts +40 -0
  154. package/target/main/ts/core/usecases/diff-coverage.js +16 -0
  155. package/target/main/ts/core/usecases/inspect.d.ts +38 -0
  156. package/target/main/ts/core/usecases/inspect.js +42 -0
  157. package/target/main/ts/core/usecases/review.d.ts +31 -0
  158. package/target/main/ts/core/usecases/review.js +129 -0
  159. package/target/main/ts/index.d.ts +35 -0
  160. package/target/main/ts/index.js +18 -0
  161. package/target/main/ts/plugin.d.ts +14 -0
  162. package/target/main/ts/plugin.js +6 -0
  163. package/target/main/ts/plugins/coverage/coverage.d.ts +25 -0
  164. package/target/main/ts/plugins/coverage/coverage.js +199 -0
  165. package/target/main/ts/plugins/coverage/diff-coverage.d.ts +7 -0
  166. package/target/main/ts/plugins/coverage/diff-coverage.js +90 -0
  167. package/target/main/ts/plugins/duplication/duplication.d.ts +4 -0
  168. package/target/main/ts/plugins/duplication/duplication.js +94 -0
  169. package/target/main/ts/plugins/language-js/babel-provider.d.ts +10 -0
  170. package/target/main/ts/plugins/language-js/babel-provider.js +47 -0
  171. package/target/main/ts/plugins/language-js/clone-candidates.d.ts +3 -0
  172. package/target/main/ts/plugins/language-js/clone-candidates.js +65 -0
  173. package/target/main/ts/plugins/language-js/code-lines.d.ts +6 -0
  174. package/target/main/ts/plugins/language-js/code-lines.js +36 -0
  175. package/target/main/ts/plugins/language-js/function-facts.d.ts +8 -0
  176. package/target/main/ts/plugins/language-js/function-facts.js +61 -0
  177. package/target/main/ts/plugins/language-js/structural-observations.d.ts +8 -0
  178. package/target/main/ts/plugins/language-js/structural-observations.js +80 -0
  179. package/target/main/ts/plugins/maintainability/maintainability.d.ts +9 -0
  180. package/target/main/ts/plugins/maintainability/maintainability.js +43 -0
  181. package/target/main/ts/plugins/maintainability/structural-smells.d.ts +3 -0
  182. package/target/main/ts/plugins/maintainability/structural-smells.js +16 -0
  183. package/target/main/ts/plugins/source/forges.d.ts +4 -0
  184. package/target/main/ts/plugins/source/forges.js +80 -0
  185. package/target/main/ts/plugins/structure/structure.d.ts +2 -0
  186. package/target/main/ts/plugins/structure/structure.js +38 -0
  187. package/target/main/ts/report/html/app/viewer-chart.d.ts +101 -0
  188. package/target/main/ts/report/html/app/viewer-chart.js +711 -0
  189. package/target/main/ts/report/html/app/viewer-commits.d.ts +36 -0
  190. package/target/main/ts/report/html/app/viewer-commits.js +280 -0
  191. package/target/main/ts/report/html/app/viewer-data.d.ts +23 -0
  192. package/target/main/ts/report/html/app/viewer-data.js +105 -0
  193. package/target/main/ts/report/html/app/viewer-files.d.ts +117 -0
  194. package/target/main/ts/report/html/app/viewer-files.js +2104 -0
  195. package/target/main/ts/report/html/app/viewer-filter.d.ts +113 -0
  196. package/target/main/ts/report/html/app/viewer-filter.js +492 -0
  197. package/target/main/ts/report/html/app/viewer-metric-registry.d.ts +70 -0
  198. package/target/main/ts/report/html/app/viewer-metric-registry.js +224 -0
  199. package/target/main/ts/report/html/app/viewer-metrics.d.ts +44 -0
  200. package/target/main/ts/report/html/app/viewer-metrics.js +172 -0
  201. package/target/main/ts/report/html/app/viewer-profile.d.ts +17 -0
  202. package/target/main/ts/report/html/app/viewer-profile.js +401 -0
  203. package/target/main/ts/report/html/app/viewer-projects.d.ts +1 -0
  204. package/target/main/ts/report/html/app/viewer-projects.js +90 -0
  205. package/target/main/ts/report/html/app/viewer-pulls.d.ts +3 -0
  206. package/target/main/ts/report/html/app/viewer-pulls.js +242 -0
  207. package/target/main/ts/report/html/app/viewer-source.d.ts +75 -0
  208. package/target/main/ts/report/html/app/viewer-source.js +313 -0
  209. package/target/main/ts/report/html/app/viewer-trends.d.ts +73 -0
  210. package/target/main/ts/report/html/app/viewer-trends.js +423 -0
  211. package/target/main/ts/report/html/app/viewer.d.ts +1 -0
  212. package/target/main/ts/report/html/app/viewer.js +735 -0
  213. package/target/main/ts/report/html/site/badges.d.ts +14 -0
  214. package/target/main/ts/report/html/site/badges.js +40 -0
  215. package/target/main/ts/report/html/site/export-site.d.ts +22 -0
  216. package/target/main/ts/report/html/site/export-site.js +150 -0
  217. package/target/main/ts/report/html/site/exported-server.d.ts +6 -0
  218. package/target/main/ts/report/html/site/exported-server.js +71 -0
  219. package/target/main/ts/report/html/site/local-server.d.ts +7 -0
  220. package/target/main/ts/report/html/site/local-server.js +65 -0
  221. package/target/main/ts/report/html/site/projects.d.ts +3 -0
  222. package/target/main/ts/report/html/site/projects.js +80 -0
  223. package/target/main/ts/report/html/site/server.d.ts +4 -0
  224. package/target/main/ts/report/html/site/server.js +65 -0
  225. package/target/main/ts/report/html/site/source-route.d.ts +6 -0
  226. package/target/main/ts/report/html/site/source-route.js +23 -0
  227. package/target/main/ts/report/json/projections/commit-summary.d.ts +12 -0
  228. package/target/main/ts/report/json/projections/commit-summary.js +124 -0
  229. package/target/main/ts/report/json/projections/components.d.ts +4 -0
  230. package/target/main/ts/report/json/projections/components.js +30 -0
  231. package/target/main/ts/report/json/projections/file-metrics.d.ts +5 -0
  232. package/target/main/ts/report/json/projections/file-metrics.js +244 -0
  233. package/target/main/ts/report/json/projections/inspection-context.d.ts +6 -0
  234. package/target/main/ts/report/json/projections/inspection-context.js +93 -0
  235. package/target/main/ts/report/json/projections/inspection-details.d.ts +11 -0
  236. package/target/main/ts/report/json/projections/inspection-details.js +70 -0
  237. package/target/main/ts/report/json/projections/metric-values.d.ts +7 -0
  238. package/target/main/ts/report/json/projections/metric-values.js +58 -0
  239. package/target/main/ts/report/json/projections/public-history.d.ts +4 -0
  240. package/target/main/ts/report/json/projections/public-history.js +17 -0
  241. package/target/main/ts/report/json/store/components.d.ts +2 -0
  242. package/target/main/ts/report/json/store/components.js +32 -0
  243. package/target/main/ts/report/json/store/local-store.d.ts +13 -0
  244. package/target/main/ts/report/json/store/local-store.js +180 -0
  245. package/target/main/ts/report/json/store/pull-review-store.d.ts +3 -0
  246. package/target/main/ts/report/json/store/pull-review-store.js +52 -0
  247. package/target/main/ts/report/json/validation/metabranch.d.ts +4 -0
  248. package/target/main/ts/report/json/validation/metabranch.js +8 -0
  249. package/target/main/ts/report/json/validation/report.d.ts +15 -0
  250. package/target/main/ts/report/json/validation/report.js +65 -0
  251. package/target/main/ts/report/json/validation/summary-validation.d.ts +4 -0
  252. package/target/main/ts/report/json/validation/summary-validation.js +28 -0
  253. package/target/main/ts/report/json/wire/compact-json.d.ts +11 -0
  254. package/target/main/ts/report/json/wire/compact-json.js +76 -0
  255. package/target/main/ts/report/json/wire/component-model.d.ts +9 -0
  256. package/target/main/ts/report/json/wire/component-model.js +1 -0
  257. package/target/main/ts/report/json/wire/domain-types.d.ts +2 -0
  258. package/target/main/ts/report/json/wire/domain-types.js +1 -0
  259. package/target/main/ts/report/json/wire/file-metrics-model.d.ts +77 -0
  260. package/target/main/ts/report/json/wire/file-metrics-model.js +1 -0
  261. package/target/main/ts/report/json/wire/inspection-context-model.d.ts +26 -0
  262. package/target/main/ts/report/json/wire/inspection-context-model.js +1 -0
  263. package/target/main/ts/report/json/wire/inspection-details-model.d.ts +82 -0
  264. package/target/main/ts/report/json/wire/inspection-details-model.js +1 -0
  265. package/target/main/ts/report/json/wire/project-model.d.ts +7 -0
  266. package/target/main/ts/report/json/wire/project-model.js +1 -0
  267. package/target/main/ts/report/json/wire/public-history-model.d.ts +42 -0
  268. package/target/main/ts/report/json/wire/public-history-model.js +6 -0
  269. package/target/main/ts/report/json/wire/pull-review-model.d.ts +7 -0
  270. package/target/main/ts/report/json/wire/pull-review-model.js +1 -0
  271. package/target/main/ts/report/json/wire/summary-model.d.ts +45 -0
  272. package/target/main/ts/report/json/wire/summary-model.js +1 -0
  273. package/target/main/ts/report.d.ts +11 -0
  274. package/target/main/ts/report.js +6 -0
@@ -0,0 +1,578 @@
1
+ .fx-view { display: grid; gap: 1rem; min-width: 0; }
2
+ .fx-view h2 { margin: 0; }
3
+ .fx-note { color: var(--secondary); font-size: .875rem; line-height: 1.45; }
4
+ .fx-results { margin-block-end: -.45rem; }
5
+ .fx-tools { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; }
6
+ .fx-field { display: block; min-width: 0; }
7
+ .fx-field :is(input, select) { inline-size: 100%; min-inline-size: 0; min-block-size: var(--control); }
8
+ .fx-field:has(input) { flex: 1 1 14rem; max-width: 22rem; }
9
+ .fx-field:has(select) { flex: 0 1 auto; }
10
+ .fx-hotspot-tools { justify-content: space-between; align-items: center; }
11
+ .fx-breadcrumbs { min-width: 0; font-size: .875rem; }
12
+ .fx-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0 .45rem; align-items: center; padding: 0; margin: 0; list-style: none; }
13
+ .fx-breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
14
+ .fx-breadcrumbs li + li::before { content: '/'; margin-inline-end: .45rem; color: var(--secondary); }
15
+ .fx-breadcrumbs [aria-current] { color: var(--ink); font-weight: 650; }
16
+ .fx-breadcrumbs a, .fx-inline-link, .fx-close { display: inline-flex; min-height: 2rem; align-items: center; }
17
+ .fx-inline-link, .fx-close { font-size: .875rem; }
18
+ .fx-inline-link { overflow-wrap: anywhere; }
19
+
20
+ .fx-table-scroll {
21
+ margin: 0;
22
+ overflow: auto;
23
+ border: 1px solid var(--rule);
24
+ border-radius: var(--radius);
25
+ background: var(--surface);
26
+ }
27
+ .fx-table { min-width: 40rem; table-layout: auto; }
28
+ .fx-table th { padding-block: 0; }
29
+ .fx-table td { padding-block: .4375rem; }
30
+ .fx-table .numeric { display: table-cell; }
31
+ .fx-table .numeric, .fx-rank-score, .fx-function-score { white-space: nowrap; font-variant-numeric: tabular-nums; }
32
+ .fx-table th:first-child { min-width: min(35vw, 12rem); }
33
+ .fx-table thead th { background: var(--band); color: var(--secondary); font-weight: 600; }
34
+ .fx-table tbody tr:last-child { border-bottom: 0; }
35
+ .fx-table tbody :is(tr:hover, tr[data-selected]) { background: var(--selected); }
36
+ .fx-sort {
37
+ min-height: 2.25rem;
38
+ padding: 0;
39
+ background: transparent;
40
+ border: 0;
41
+ color: inherit;
42
+ font: inherit;
43
+ text-align: inherit;
44
+ cursor: pointer;
45
+ white-space: nowrap;
46
+ }
47
+ .fx-sort:hover { color: var(--accent); }
48
+ .fx-table [aria-sort] .fx-sort { color: var(--accent); }
49
+ .fx-table [aria-sort] .fx-sort::after { margin-inline-start: .35em; }
50
+ .fx-table [aria-sort="ascending"] .fx-sort::after { content: '↑' / ''; }
51
+ .fx-table [aria-sort="descending"] .fx-sort::after { content: '↓' / ''; }
52
+ .fx-entry { display: inline-flex; gap: .5rem; align-items: center; min-height: 1.5rem; overflow-wrap: anywhere; white-space: normal; }
53
+ /* Row glyphs, solid and small: a page tinted by its language, a folder, a component as a diamond. */
54
+ .fx-folder-icon, .fx-file-icon, .fx-component-icon { flex: none; display: inline-block; background: currentColor; }
55
+ .fx-file-icon { width: .5625rem; height: .75rem; color: var(--neutral-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M1.5 0h6l4.5 4.5V14.5A1.5 1.5 0 0 1 10.5 16h-9A1.5 1.5 0 0 1 0 14.5v-13A1.5 1.5 0 0 1 1.5 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M1.5 0h6l4.5 4.5V14.5A1.5 1.5 0 0 1 10.5 16h-9A1.5 1.5 0 0 1 0 14.5v-13A1.5 1.5 0 0 1 1.5 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
56
+ .fx-folder-icon { width: .8125rem; height: .6875rem; color: var(--neutral-3); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath d='M0 1.5A1.5 1.5 0 0 1 1.5 0h4l1.5 2h7.5A1.5 1.5 0 0 1 16 3.5v8a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 11.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath d='M0 1.5A1.5 1.5 0 0 1 1.5 0h4l1.5 2h7.5A1.5 1.5 0 0 1 16 3.5v8a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 11.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
57
+ .fx-component-icon { width: .625rem; height: .625rem; color: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l6 6-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l6 6-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat; }
58
+ .fx-page-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; justify-content: flex-end; }
59
+ .fx-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1.25rem; }
60
+ .fx-pager > .fx-results { margin: 0; }
61
+ .fx-page-buttons button:disabled { opacity: .6; cursor: default; }
62
+ .fx-pager + .fx-note { margin-top: -.25rem; }
63
+
64
+ .fx-file-heading {
65
+ display: flex;
66
+ justify-content: space-between;
67
+ align-items: center;
68
+ flex-wrap: wrap;
69
+ gap: 0 1rem;
70
+ }
71
+ .fx-file-heading h2, .fx-path { overflow-wrap: anywhere; }
72
+ .fx-path { color: var(--secondary); font-size: .875rem; }
73
+ .fx-functions { margin-top: .9rem; padding-top: .25rem; border-top: 1px solid var(--rule); }
74
+ .fx-functions summary { min-height: 44px; padding-block: .65rem; color: var(--accent); cursor: pointer; }
75
+ .fx-function-list, .fx-event-list, .fx-event-paths, .fx-ranking { margin: 0; padding: 0; list-style: none; }
76
+ .fx-function-list > li {
77
+ display: grid;
78
+ grid-template-columns: minmax(0, 1fr) auto;
79
+ align-items: baseline;
80
+ gap: 1rem;
81
+ border-top: 1px solid var(--rule);
82
+ padding: .4375rem 0;
83
+ overflow-wrap: anywhere;
84
+ }
85
+ .fx-function-list > li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .625rem; min-width: 0; }
86
+ .fx-function-list .fx-path { font-size: .75rem; }
87
+ .fx-function-score { font-size: .875rem; }
88
+
89
+ .fx-hotspot-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1rem 2.5rem; }
90
+ /* The map and the file ranking pair up at equal height; the top functions run full width beneath them. */
91
+ .fx-hotspot-content { align-items: stretch; }
92
+ .fx-hotspot-content > *, .fx-file, .fx-events { min-width: 0; }
93
+ .fx-sunburst > p, .fx-rank > p { margin-top: .35rem; }
94
+ .fx-sunburst-chart { display: block; width: min(100%, 26rem); height: auto; margin: .875rem auto .5rem; }
95
+ .fx-sunburst-compact .fx-sunburst-chart { width: min(100%, 15.5rem); margin: 0 auto .5rem; }
96
+ .fx-sunburst, .fx-scale, .fx-rank {
97
+ --band-0: var(--heat-0);
98
+ --band-1: var(--heat-1);
99
+ --band-2: var(--heat-2);
100
+ --band-3: var(--heat-3);
101
+ --band-4: var(--heat-4);
102
+ }
103
+ .fx-sunburst[data-palette="none"] {
104
+ --band-0: var(--grade-none);
105
+ --band-1: var(--grade-none);
106
+ --band-2: var(--grade-none);
107
+ --band-3: var(--grade-none);
108
+ --band-4: var(--grade-none);
109
+ }
110
+ .fx-sunburst[data-palette="neutral"], .fx-rank[data-palette="neutral"] {
111
+ --band-0: var(--neutral-0);
112
+ --band-1: var(--neutral-1);
113
+ --band-2: var(--neutral-2);
114
+ --band-3: var(--neutral-3);
115
+ --band-4: var(--neutral-4);
116
+ }
117
+ /* Security levels take the grade steps of the security mark: none is green, critical red. */
118
+ :is(.fx-sunburst, .fx-scale)[data-palette="grade"] {
119
+ --band-0: var(--grade-a);
120
+ --band-1: var(--grade-b);
121
+ --band-2: var(--grade-c);
122
+ --band-3: var(--grade-d);
123
+ --band-4: var(--grade-f);
124
+ }
125
+ :is(.fx-sunburst, .fx-rank) [data-band="0"] { --band: var(--band-0); }
126
+ /* Grey is no data: a file no plugin read. */
127
+ .fx-sunburst [data-band="none"] { --band: var(--grade-none); }
128
+ :is(.fx-sunburst, .fx-rank) [data-band="1"] { --band: var(--band-1); }
129
+ :is(.fx-sunburst, .fx-rank) [data-band="2"] { --band: var(--band-2); }
130
+ :is(.fx-sunburst, .fx-rank) [data-band="3"] { --band: var(--band-3); }
131
+ :is(.fx-sunburst, .fx-rank) [data-band="4"] { --band: var(--band-4); }
132
+ .fx-wedge path {
133
+ fill: var(--band);
134
+ stroke: var(--surface);
135
+ stroke-width: 1.1;
136
+ cursor: pointer;
137
+ transition: opacity .12s ease-out;
138
+ }
139
+ .fx-sunburst-chart[data-inspecting] .fx-wedge:not([data-related]) path { opacity: .28; }
140
+ .fx-wedge-outline { fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linejoin: round; pointer-events: none; }
141
+ .fx-wedge:focus-visible { outline: none; }
142
+ @media (prefers-reduced-motion: reduce) { .fx-wedge path { transition: none; } }
143
+ .fx-scale { display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center; }
144
+ /* The scale is the language bar's strip: .5rem high, 2px apart, rounded only at its ends; its words sit under it. */
145
+ .fx-scale-bar { display: flex; gap: 2px; width: 4.75rem; height: .5rem; overflow: hidden; border-radius: 999px; }
146
+ .fx-scale-bar > span { flex: 1; background: var(--band); }
147
+ .fx-scale-labelled { display: grid; gap: .25rem; }
148
+ .fx-scale-labelled .fx-scale-bar { width: auto; }
149
+ .fx-scale-words { display: flex; gap: 2px; font-size: .8125rem; font-variant-numeric: tabular-nums; }
150
+ .fx-scale-words > span { flex: 1; min-width: 0; }
151
+ .fx-sunburst-value, .fx-sunburst-unit {
152
+ text-anchor: middle;
153
+ fill: var(--ink);
154
+ font-variant-numeric: tabular-nums;
155
+ }
156
+ .fx-sunburst-value { font-size: 1.5rem; font-weight: 650; }
157
+ .fx-sunburst-unit { fill: var(--secondary); font-size: .75rem; }
158
+
159
+ .fx-map-hint { color: var(--muted); }
160
+ /* The readout keeps one shape whatever is pointed at: the path on one line, the value under it, at a fixed height,
161
+ so nothing around the map moves while the pointer travels across it. */
162
+ .fx-map-summary {
163
+ display: grid;
164
+ grid-template-rows: 1.25rem 1.25rem;
165
+ align-content: start;
166
+ height: 2.75rem;
167
+ margin: 0;
168
+ overflow: hidden;
169
+ font-size: .875rem;
170
+ line-height: 1.25rem;
171
+ }
172
+ .fx-map-summary > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
173
+
174
+ .fx-ranking { margin-top: .65rem; }
175
+ .fx-ranking li {
176
+ display: grid;
177
+ grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) 4.5ch;
178
+ align-items: center;
179
+ gap: .55rem;
180
+ padding-inline: 0 .15rem;
181
+ border-top: 1px solid var(--rule);
182
+ }
183
+ /* The ranking beside the map is the page's side column: unframed, headed like a sidebar, raised to the title line. */
184
+ .fx-hotspot-content > .fx-rank { margin-top: calc(-1 * var(--lift, 0px)); }
185
+ .fx-view .fx-rank > h2 { margin-bottom: .5rem; font-size: 1rem; line-height: 1.35; }
186
+ .fx-rank-link { min-height: 2.5rem; align-content: center; padding-block: .25rem; overflow-wrap: anywhere; }
187
+ .fx-rank-path { display: block; color: var(--muted); font-size: .75rem; line-height: 1.25; }
188
+ /* The language bar's strip: rounded track, rounded fill in the file's band colour. */
189
+ .fx-rank-mark { display: flex; align-items: center; width: 100%; height: .5rem; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
190
+ .fx-rank-mark::after { content: ''; width: var(--length); height: 100%; border-radius: 999px; background: var(--band, var(--heat-2)); }
191
+ .fx-rank-score { justify-self: end; font-size: .875rem; }
192
+ .fx-rank .fx-page-buttons { margin-top: .7rem; }
193
+
194
+ .fx-event-list > li { padding: .85rem 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
195
+ .fx-event-list > li:last-child { padding-bottom: .25rem; }
196
+ .fx-event-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; margin-bottom: .25rem; }
197
+ .fx-state {
198
+ display: inline-block;
199
+ padding: .16rem .45rem;
200
+ border-radius: .3rem;
201
+ color: var(--secondary);
202
+ background: var(--selected);
203
+ font-size: .8125rem;
204
+ font-weight: 650;
205
+ line-height: 1.38;
206
+ }
207
+ .fx-state:is([data-state="high"], [data-state="failed"]) { background: var(--bad-bg); color: var(--bad-ink); }
208
+ .fx-state:is([data-state="medium"], [data-state="blocked"], [data-state="partial"]) { background: var(--warn-bg); color: var(--warn-ink); }
209
+ .fx-issue-list { overflow: clip; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
210
+ .fx-issue + .fx-issue { border-top: 1px solid var(--rule); }
211
+ .fx-issue-summary {
212
+ display: grid;
213
+ grid-template-columns: minmax(0, 1fr) auto 11rem;
214
+ align-items: center;
215
+ gap: .25rem 1rem;
216
+ min-height: 3rem;
217
+ padding: .5rem 1rem .5rem 2.25rem;
218
+ cursor: pointer;
219
+ }
220
+ .fx-issue-summary:hover { background: var(--band); }
221
+ .fx-issue[open] > .fx-issue-summary { background: var(--band); border-bottom: 1px solid var(--rule); }
222
+ .fx-issue-summary > span:first-of-type { display: flex; align-items: baseline; gap: .625rem; min-width: 0; }
223
+ .fx-issue-summary strong { font-size: .9375rem; overflow-wrap: anywhere; }
224
+ .fx-issue-summary .fx-state { justify-self: start; }
225
+ .fx-issue-count { justify-self: end; color: var(--secondary); font-size: .8125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
226
+ .fx-issue .fx-event-list { margin: 0; padding: 0 1rem .25rem 2.125rem; }
227
+ .fx-issue .fx-event-list > li:first-child { border-top: 0; }
228
+ .fx-ignore { margin-top: .125rem; }
229
+ .fx-ignore > summary { width: fit-content; min-height: 1.75rem; padding: 0; font-size: .8125rem; color: var(--secondary); cursor: pointer; }
230
+ .fx-ignore > summary:hover { color: var(--ink); }
231
+ .fx-top-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; }
232
+ .fx-aside .fx-top-files > li { padding: .3125rem 0; }
233
+ .fx-ignore-box { position: relative; width: min(100%, 40rem); margin: .5rem 0; }
234
+ .fx-ignore-code {
235
+ display: block;
236
+ width: 100%;
237
+ margin: 0;
238
+ padding: .6rem 2.75rem .6rem .6rem;
239
+ border: 1px solid var(--rule);
240
+ border-radius: .3rem;
241
+ resize: vertical;
242
+ background: var(--surface);
243
+ color: var(--ink);
244
+ font: 1rem/1.4 ui-monospace, monospace;
245
+ }
246
+ .fx-copy {
247
+ position: absolute; top: .375rem; right: .375rem;
248
+ display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0;
249
+ border: 0; border-radius: .25rem; background: transparent; color: var(--secondary); cursor: pointer;
250
+ }
251
+ .fx-copy:hover { background: var(--surface-2); color: var(--ink); }
252
+ .fx-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
253
+ .fx-copy svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
254
+ .fx-copy .fx-copy-check { display: none; stroke-width: 1.5; }
255
+ .fx-copy.fx-copied { color: var(--good); }
256
+ .fx-copy.fx-copied .fx-copy-sheets { display: none; }
257
+ .fx-copy.fx-copied .fx-copy-check { display: inline; }
258
+ .fx-copy-status:empty { display: none; }
259
+
260
+ @media (max-width: 63rem) {
261
+ .fx-hotspot-content { grid-template-columns: minmax(0, 1fr); }
262
+ }
263
+
264
+ @media (max-width: 42rem) {
265
+ .fx-tools { gap: .6rem .75rem; }
266
+ .fx-field:has(input) { flex-basis: 100%; max-width: none; }
267
+ .fx-table :is(thead th, .fx-path-column):first-child {
268
+ position: sticky;
269
+ z-index: 1;
270
+ left: 0;
271
+ width: 40vw;
272
+ max-width: 40vw;
273
+ background: var(--surface);
274
+ box-shadow: inset -1px 0 var(--rule);
275
+ }
276
+ .fx-table tbody :is(tr:hover, tr[data-selected]) .fx-path-column { background: var(--selected); }
277
+ .fx-ranking li { grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) 4.5ch; }
278
+ .fx-page-buttons { justify-content: start; }
279
+ .fx-issue-summary { grid-template-columns: .75rem auto minmax(0, 1fr); }
280
+ .fx-issue-summary > span:first-of-type { grid-column: span 2; }
281
+ .fx-issue-summary > .fx-state { grid-column: 2; }
282
+ .fx-issue-summary .fx-note { display: block; margin: 0; }
283
+ }
284
+
285
+ /* Metrics toolbar: search, view switch and the column menu on one line at one height. */
286
+ .fx-metrics-tools { align-items: center; }
287
+ .fx-field-bare > .fx-field-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
288
+ .fx-segmented { display: inline-flex; flex: none; height: var(--control); padding: 2px; background: var(--surface-2); border: 1px solid var(--rule); border-radius: 8px; }
289
+ .fx-segmented button { min-height: 0; padding: 0 .875rem; font-size: .875rem; color: var(--secondary); background: transparent; border: 0; border-radius: 6px; }
290
+ .fx-segmented button:hover { color: var(--ink); }
291
+ .fx-segmented button[aria-pressed="true"] { color: var(--ink); font-weight: 500; background: var(--surface); box-shadow: 0 0 0 1px var(--rule), 0 1px 2px rgb(15 23 32 / .08); }
292
+ .fx-columns { position: relative; flex: none; margin-left: auto; }
293
+ .fx-columns summary { display: inline-flex; align-items: center; min-height: var(--control); padding: 0 2rem 0 .75rem; font-size: .875rem; background: var(--surface) no-repeat right .65rem center / .7rem var(--chevron); border: 1px solid var(--rule-strong); border-radius: 8px; cursor: pointer; list-style: none; }
294
+ .fx-columns summary::-webkit-details-marker { display: none; }
295
+ .fx-columns[open] summary { border-color: var(--accent); }
296
+ .fx-column-toggles { position: absolute; z-index: 15; top: calc(100% + .25rem); right: 0; display: grid; min-width: 13rem; padding: .25rem 0; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius); box-shadow: 0 12px 28px rgb(15 23 32 / .14), 0 2px 6px rgb(15 23 32 / .06); }
297
+ .fx-column-toggle { display: flex; align-items: center; gap: .5rem; min-height: 2rem; padding: 0 .875rem; font-size: .875rem; font-weight: 400; color: var(--ink); cursor: pointer; }
298
+ .fx-column-toggle:hover { background: var(--surface-2); }
299
+ .fx-column-toggle input { appearance: auto; flex: none; width: 1rem; height: 1rem; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
300
+ .fx-hotspot-content > .panel { margin-top: 0; }
301
+ .fx-map-hint-quiet.fx-map-hint { visibility: hidden; }
302
+
303
+ /* Hotspots: the title, then the folder path; what the map is coloured by sits in the map's own title row. */
304
+ #hotspots:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
305
+ #hotspots > h2 { margin: 0; }
306
+ #hotspots-content, #hotspots-content > .fx-view { display: contents; }
307
+ #hotspots .fx-hotspot-tools { display: contents; }
308
+ #hotspots .fx-breadcrumbs { grid-column: 1 / -1; margin-top: 1rem; }
309
+ #hotspots .fx-hotspot-content, #hotspots .fx-churn-provenance, #hotspots-content > .fx-note { grid-column: 1 / -1; margin-top: 1rem; }
310
+ #hotspots .fx-churn-provenance { margin-top: .5rem; }
311
+ #hotspots .fx-churn-provenance + .fx-hotspot-content { margin-top: .75rem; }
312
+ .fx-entry-label { min-width: 0; }
313
+ /* A path breaks after its slashes; a file name stays whole unless it alone is wider than the column. */
314
+ .fx-entry:has(.fx-entry-label) { overflow-wrap: break-word; }
315
+ .fx-entry-folder { color: var(--muted); }
316
+ .fx-entry:hover .fx-entry-folder { color: inherit; }
317
+ .fx-table .fx-zero { color: var(--muted); }
318
+ .fx-table-scroll { container-type: inline-size; }
319
+ @container (max-width: 52rem) {
320
+ /* In a narrow table the file name leads and its folder follows in small type, instead of one long wrapped path. */
321
+ .fx-entry-label { display: flex; flex-direction: column-reverse; }
322
+ .fx-entry:has(.fx-entry-label) { align-items: flex-start; }
323
+ .fx-entry:has(.fx-entry-label) > :is(.fx-file-icon, .fx-folder-icon) { margin-top: .3rem; }
324
+ .fx-entry-folder { font-size: .75rem; line-height: 1.3; }
325
+ }
326
+
327
+ /* Metrics: the list on the left, the details of the selection on the right, in rows of label and value. */
328
+ .fx-split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem var(--aside, 20rem); align-items: start; }
329
+ /* The handle lives in the gap: invisible until the pointer is over it, then a thin accent line to drag. */
330
+ .fx-splitter { position: relative; align-self: stretch; min-height: 3rem; cursor: col-resize; touch-action: none; }
331
+ .fx-splitter::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--rule-strong); opacity: 0; transition: opacity .12s; }
332
+ .fx-splitter:hover::before, .fx-splitter:focus-visible::before, .fx-resizing .fx-splitter::before { opacity: 1; }
333
+ .fx-splitter:focus-visible { outline: none; }
334
+ .fx-resizing { cursor: col-resize; user-select: none; }
335
+ .fx-main { display: grid; gap: 1rem; min-width: 0; }
336
+ /* The aside needs no frame: the splitter and the framed list beside it already set it apart. */
337
+ .fx-aside { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; margin: 0; padding: .125rem .125rem 1rem 0; }
338
+ .fx-aside-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .75rem; }
339
+ .fx-view .fx-aside-heading h2 { font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
340
+ .fx-aside-path { grid-column: 1; margin: .125rem 0 0; font-family: var(--mono); font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
341
+ .fx-aside .fx-close { grid-row: 1; grid-column: 2; justify-content: center; width: 1.75rem; min-height: 1.75rem; margin-right: -.375rem; color: var(--secondary); text-decoration: none; border-radius: 6px; }
342
+ .fx-aside .fx-close::before { content: ""; width: .75rem; height: .75rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9m0-9l-9 9' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9m0-9l-9 9' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
343
+ .fx-aside .fx-close:hover { color: var(--ink); background: var(--surface-2); }
344
+ .fx-kv { margin: .75rem 0 0; font-variant-numeric: tabular-nums; }
345
+ .fx-kv > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 1rem; padding: .375rem 0; border-top: 1px solid var(--rule); }
346
+ .fx-kv dt { font-size: .875rem; color: var(--secondary); }
347
+ .fx-kv dd { margin: 0; font-size: .9375rem; font-weight: 600; text-align: right; }
348
+ .fx-kv dd.fx-note { grid-column: 1 / -1; margin-top: .0625rem; font-size: .75rem; font-weight: 400; color: var(--muted); text-align: left; }
349
+ .fx-aside-links { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: .25rem 0 0; }
350
+ .fx-aside-section { margin-top: 1rem; }
351
+ .fx-view .fx-aside-section h3 { margin: 0 0 .25rem; font-size: .75rem; font-weight: 600; color: var(--secondary); }
352
+ .fx-aside .fx-function-list > li { padding: .3125rem 0; font-size: .8125rem; }
353
+ .fx-aside .fx-function-list strong:not(.fx-function-score) { font-weight: 400; }
354
+ .fx-aside .fx-function-score { font-size: .8125rem; font-variant-numeric: tabular-nums; }
355
+ .fx-aside .fx-functions { margin: 0; padding: 0; border-top: 1px solid var(--rule); }
356
+ .fx-aside .fx-functions summary { min-height: 2.25rem; padding-block: .5rem; font-size: .8125rem; }
357
+ @media (max-width: 63rem) {
358
+ /* Narrow, the details come first and the list follows. */
359
+ .fx-split { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
360
+ .fx-split > .fx-splitter { display: none; }
361
+ .fx-aside { position: static; max-height: none; }
362
+ /* An open file leads; the totals of a folder or a selection follow the list. */
363
+ .fx-aside.fx-file { order: -1; }
364
+ }
365
+ @media (min-width: 42rem) and (max-width: 63rem) {
366
+ /* Full width, the label and value rows pair up in two columns instead of stretching across the page. */
367
+ .fx-aside .fx-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
368
+ .fx-aside .fx-function-list { columns: 2; column-gap: 2.5rem; }
369
+ .fx-aside .fx-function-list > li { break-inside: avoid; }
370
+ }
371
+
372
+ /* Query field: chips and text in one control; the suggestions hang from it in the same frame. */
373
+ .fx-metrics-tools .qf { flex: 1 1 24rem; min-width: 0; }
374
+ .qf { position: relative; }
375
+ .qf-box { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; min-height: var(--control); padding: .1875rem .375rem; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 8px; cursor: text; }
376
+ .qf:focus-within .qf-box { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
377
+ .qf.open .qf-box { border-radius: 8px 8px 0 0; border-color: var(--rule-strong); border-bottom-color: var(--rule); box-shadow: none; }
378
+ .qf-chips { display: contents; }
379
+ .qf-chip { display: inline-flex; align-items: center; gap: .3125rem; max-width: 100%; height: 1.625rem; padding: 0 .125rem 0 .5rem; font-size: .8125rem; line-height: 1; background: var(--surface-2); border: 1px solid var(--rule); border-radius: 6px; }
380
+ .qf-chip-key { color: var(--secondary); }
381
+ .qf-chip-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
382
+ .qf-chip-measure .qf-chip-value, .qf-chip-path .qf-chip-value { font-variant-numeric: tabular-nums; }
383
+ .qf-chip-path .qf-chip-value { font-family: var(--mono); font-weight: 500; font-size: .75rem; }
384
+ .qf-dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; }
385
+ .fx-view .qf-remove { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 4px; }
386
+ .qf-remove::before { content: ""; width: .5rem; height: .5rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9m0-9l-9 9' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9m0-9l-9 9' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
387
+ .fx-view .qf-remove:hover { color: var(--ink); background: var(--rule); }
388
+ .fx-view .qf-input { flex: 1 1 10rem; min-width: 6rem; min-height: 1.625rem; padding: 0 .25rem; font-size: .875rem; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
389
+ .fx-view .qf-input:focus, .fx-view .qf-input:focus-visible { outline: none; box-shadow: none; }
390
+ .qf-popover { position: absolute; z-index: 15; top: 100%; left: 0; right: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--rule-strong); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 32px rgb(15 23 32 / .14), 0 2px 6px rgb(15 23 32 / .06); }
391
+ .qf-options { max-height: min(22rem, 55vh); margin: 0; padding: 0 0 .25rem; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
392
+ .qf-group { padding: .625rem .875rem .25rem; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
393
+ .qf-option { display: flex; align-items: center; gap: .5rem; min-height: 2rem; padding: 0 .875rem; font-size: .875rem; cursor: pointer; }
394
+ .qf-option.active { background: var(--surface-2); }
395
+ .qf-option-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
396
+ .qf-option-detail { margin-left: auto; flex: none; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
397
+ .qf-help { margin: 0; padding: .5rem .875rem; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--rule); }
398
+
399
+ /* Languages of the selection: one bar, and a legend whose names toggle their chips. */
400
+ .fx-languages { display: grid; gap: .5rem; }
401
+ .fx-language-bar { display: flex; gap: 2px; height: .5rem; overflow: hidden; border-radius: 999px; }
402
+ .fx-language-segment { min-width: 2px; transition: opacity .15s; }
403
+ .fx-language-segment.fx-off { opacity: .2; }
404
+ .fx-language-legend { display: flex; flex-wrap: wrap; gap: .125rem .25rem; margin-left: -.375rem; }
405
+ .fx-language-measure { display: inline-flex; align-items: center; min-height: 1.75rem; margin-left: auto; font-size: .75rem; color: var(--muted); }
406
+ .fx-view .fx-language { display: inline-flex; align-items: center; gap: .375rem; min-height: 1.75rem; padding: 0 .375rem; font-size: .8125rem; color: var(--ink); background: transparent; border: 0; border-radius: 6px; }
407
+ .fx-view .fx-language:hover { background: var(--surface-2); }
408
+ .fx-view .fx-language[aria-pressed="true"] { background: var(--accent-soft); }
409
+ .fx-language-dot { width: .5rem; height: .5rem; border-radius: 50%; }
410
+ .fx-language-name { font-weight: 600; }
411
+ .fx-language-share { color: var(--secondary); font-variant-numeric: tabular-nums; }
412
+ .fx-hint { margin: 0; padding: .75rem 1rem; font-size: .875rem; color: var(--secondary); background: var(--band); border: 1px dashed var(--rule-strong); border-radius: var(--radius); }
413
+ .fx-aside-selection { font-family: inherit; font-size: .8125rem; color: var(--secondary); }
414
+
415
+ /* Component rows: a button that narrows the list to its files; the count follows the name. */
416
+ .fx-view .fx-entry-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 0; padding: 0; font: inherit; color: var(--accent); background: transparent; border: 0; text-align: left; cursor: pointer; }
417
+ .fx-view .fx-entry-button:hover { text-decoration: underline; }
418
+ .fx-entry-muted { display: inline-flex; align-items: center; gap: .5rem; color: var(--secondary); }
419
+ .fx-entry-count { margin-left: .5rem; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
420
+ .fx-entry-tag { flex: none; margin-left: .5rem; padding: 0 .375rem; font-size: .6875rem; font-weight: 500; line-height: 1.125rem; color: var(--secondary); border: 1px solid var(--rule-strong); border-radius: 4px; }
421
+ @media (max-width: 42rem) {
422
+ .fx-metrics-tools .qf { flex-basis: 100%; }
423
+ .fx-segmented button { padding: 0 .625rem; }
424
+ }
425
+
426
+ /* An open file: the source on the left, its figures and functions on the right. */
427
+ .fx-split-source { --aside-default: 20rem; }
428
+ .fx-source { min-width: 0; padding: 0; overflow: hidden; }
429
+ .fx-source-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding: .625rem 1rem; background: var(--band); border-bottom: 1px solid var(--rule); }
430
+ .fx-source-path { min-width: 0; font-size: .8125rem; color: var(--ink); overflow-wrap: anywhere; }
431
+ .fx-source-meta { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; color: var(--secondary); }
432
+ .fx-source-wait, .fx-source-missing { margin: 0; padding: 1.25rem 1rem; }
433
+ .fx-source-missing { color: var(--secondary); font-size: .875rem; }
434
+ .src { overflow-x: auto; padding: .375rem 0 .75rem; font-family: var(--mono); font-size: .8125rem; line-height: 1.6; tab-size: 2; }
435
+ .src-line { display: grid; grid-template-columns: 2.25rem 3rem max-content; min-width: 100%; width: max-content; }
436
+ .src-line:hover { background: var(--band); }
437
+ .src-mark { display: flex; align-items: center; justify-content: center; }
438
+ .src-number { padding-right: .875rem; color: var(--muted); text-align: right; text-decoration: none; user-select: none; }
439
+ .src-number:hover { color: var(--ink); }
440
+ .src-code { padding-right: 1.5rem; font: inherit; white-space: pre; color: var(--ink); }
441
+ .src-flagged { background: var(--warn-bg); }
442
+ .src-target, .src-target:hover { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
443
+ .src-complexity { min-width: 1.375rem; padding: 0 .25rem; font-family: var(--sans); font-size: .6875rem; font-weight: 650; line-height: 1.125rem; text-align: center; border-radius: 4px; color: var(--secondary); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--rule); }
444
+ .src-band-1 { color: var(--heat-ink); background: var(--heat-1); box-shadow: none; }
445
+ .src-band-2 { color: #fff; background: var(--heat-3); box-shadow: none; }
446
+ .src-band-3 { color: #fff; background: var(--heat-4); box-shadow: none; }
447
+ .src-note { display: grid; gap: .125rem; margin: .125rem 1rem .375rem 5.25rem; padding: .375rem .75rem; font-family: var(--sans); font-size: .8125rem; line-height: 1.4; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--grade-c); border-radius: 0 6px 6px 0; }
448
+ .src-note strong { font-size: .75rem; font-weight: 600; color: var(--secondary); }
449
+ .src-note-high { border-left-color: var(--bad); }
450
+ .src-note-low, .src-note-unknown { border-left-color: var(--neutral-2); }
451
+ .tok-k { color: var(--code-keyword); }
452
+ .tok-s { color: var(--code-string); }
453
+ .tok-n { color: var(--code-number); }
454
+ .tok-c { color: var(--muted); font-style: italic; }
455
+
456
+ /* Functions that lead into the code: the name or its first line, then the line number, then the score. */
457
+ .fx-function-jumps > li { padding: 0; }
458
+ .fx-view .fx-function-jump { display: flex; align-items: baseline; gap: .5rem; min-width: 0; min-height: 0; padding: .3125rem .25rem; margin-left: -.25rem; font: inherit; color: var(--ink); text-align: left; background: transparent; border: 0; border-radius: 4px; cursor: pointer; }
459
+ .fx-view .fx-function-jump:hover { background: var(--surface-2); }
460
+ .fx-function-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
461
+ code.fx-function-name { font-size: .75rem; color: var(--secondary); }
462
+ .fx-function-line { flex: none; font-size: .6875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
463
+ .fx-function-line::before { content: "L"; }
464
+ @media (max-width: 63rem) {
465
+ .fx-split-source { grid-template-columns: minmax(0, 1fr); }
466
+ .fx-splitter { display: none; }
467
+ .fx-split-source .fx-aside.fx-file { order: 0; }
468
+ }
469
+ .fx-split > .fx-aside { margin-top: calc(-1 * var(--lift, 0px)); }
470
+
471
+ /* Issues: each occurrence bound to its code; the place, the message, then a few lines of the source. */
472
+ .fx-occurrences > .fx-occurrence { display: grid; gap: .5rem; }
473
+ .fx-occurrence-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
474
+ .fx-location { font-family: var(--mono); font-size: .8125rem; }
475
+ .fx-occurrence-effort { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
476
+ .fx-occurrence-effort::before { content: "Effort "; }
477
+ .fx-occurrence-message { margin: 0; font-size: .875rem; }
478
+ .fx-occurrence-name { margin-right: .125rem; padding: .0625rem .3125rem; font-size: .8125rem; background: var(--surface-2); border-radius: 4px; }
479
+ .src-excerpt { padding: .3125rem 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
480
+ .src-excerpt .src-line { grid-template-columns: .375rem 2.75rem max-content; }
481
+ .src-excerpt .src-line:hover { background: transparent; }
482
+ .src-range, .src-excerpt .src-range:hover { background: var(--warn-bg); box-shadow: inset 3px 0 0 var(--grade-c); }
483
+ .src-more { display: block; padding: .1875rem 1rem .125rem 3.125rem; font-family: var(--sans); font-size: .75rem; }
484
+
485
+ /* Map heading with its shape switch; the treemap's labels and folder frames. */
486
+ .fx-map-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
487
+ /* The two controls are one family: the same height, frame and type. */
488
+ .fx-map-heading .fx-segmented { height: 2rem; }
489
+ .fx-map-heading select { min-height: 2rem; height: 2rem; padding-block: 0; font-size: .8125rem; border-radius: 8px; }
490
+ .fx-map-heading .fx-field { margin: 0; }
491
+ .fx-sunburst-compact > .fx-map-heading { justify-content: flex-end; margin-bottom: .5rem; }
492
+ /* The full map's scale: one strip the panel's width, under the title row. */
493
+ .fx-sunburst:not(.fx-sunburst-compact) > .fx-scale { margin: .875rem 0 0; }
494
+ .fx-sunburst:not(.fx-sunburst-compact) > .fx-scale:not(.fx-scale-labelled) .fx-scale-bar { flex: 1; }
495
+ .fx-map-heading .fx-segmented button { padding: 0 .625rem; font-size: .8125rem; }
496
+ .fx-sunburst[data-shape="tiles"] .fx-sunburst-chart { width: 100%; }
497
+ .fx-sunburst-compact[data-shape="tiles"] .fx-sunburst-chart { width: 100%; }
498
+ .fx-tile-label { font-size: 10.5px; font-weight: 600; fill: var(--heat-ink); pointer-events: none; }
499
+ .fx-tile-label-light { fill: #fff; }
500
+ .fx-sunburst[data-palette="neutral"] .fx-tile-label { fill: var(--ink); }
501
+ .fx-treemap .fx-wedge path { stroke-width: 1; }
502
+ .fx-issue-list, .fx-issue, .fx-occurrence, .fx-occurrence-code { min-width: 0; }
503
+ .fx-occurrence-code { overflow: hidden; }
504
+
505
+ /* Loading: a flat stand-in in the map's own frame and size. */
506
+ .fx-map-stub .fx-sunburst-chart circle { fill: none; stroke: var(--surface-2); }
507
+ .fx-map-stub .fx-sunburst-chart rect { fill: var(--surface-2); }
508
+
509
+ /* A filter of several choices: the Columns menu's dropdown, with a count beside each option. */
510
+ .fx-multi .fx-column-toggles { left: 0; right: auto; }
511
+ .fx-multi .fx-multi-name { flex: 1; }
512
+ .fx-multi .fx-multi-count { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
513
+ .fx-multi-active summary { color: var(--ink); font-weight: 500; }
514
+
515
+ /* Profile: how the report is made. The applied profile down the main column, the badges in the sidebar. */
516
+ .profile-block + .profile-block { margin-top: 2.25rem; }
517
+ .profile-block > h3 { margin: 0 0 .75rem; font-size: 1rem; }
518
+ .profile-block > .detail { margin: 0 0 .5rem; }
519
+ .profile-facts { margin: 0; }
520
+ .profile-facts > div { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: .5rem 1rem; align-items: baseline; padding: .625rem 0; border-top: 1px solid var(--rule); }
521
+ .profile-facts > div:last-child { border-bottom: 1px solid var(--rule); }
522
+ .profile-facts dt { color: var(--secondary); font-size: .875rem; }
523
+ .profile-facts dd { margin: 0; }
524
+ .profile-facts code { font-size: .8125rem; }
525
+ .profile-chips { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0; padding: 0; list-style: none; }
526
+ .profile-chips li { padding: .0625rem .5rem; border-radius: 5px; background: var(--surface-2); color: var(--ink); font: .8125rem/1.6 var(--mono); overflow-wrap: anywhere; }
527
+ .profile-rule { font-size: .8125rem; font-weight: 600; }
528
+ /* A profile list: toolbar, table, then the count beside the page buttons, as in Metrics. */
529
+ .profile-table-tools { margin-bottom: .75rem; }
530
+ .profile-table .fx-pager { margin-top: .625rem; }
531
+ .profile-plugin { color: var(--secondary); font-size: .875rem; }
532
+ .profile-list code { font-size: .8125rem; }
533
+ .profile-rule-meta { display: block; color: var(--muted); font-size: .75rem; }
534
+ .profile-notes { margin-top: .625rem; }
535
+ .profile-notes .fx-note { margin: .25rem 0 0; }
536
+ .profile-ignores { margin: 0; padding: 0; list-style: none; }
537
+ .profile-ignores li { display: grid; gap: .125rem; padding: .5rem 0; border-top: 1px solid var(--rule); }
538
+ .profile-ignore-rule { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
539
+ .profile-ignore-rule code { font-size: .8125rem; }
540
+ .profile-ignore-path { color: var(--secondary); font: .8125rem var(--mono); overflow-wrap: anywhere; }
541
+ /* Badges: each area its badge, its scale in the grade colours, and the snippet that embeds it. */
542
+ .profile-aside .fx-aside-heading .fx-segmented { height: 1.75rem; }
543
+ .profile-aside .fx-aside-heading .fx-segmented button { padding: 0 .5rem; font-size: .75rem; }
544
+ .profile-badge-area { display: grid; gap: .5rem; margin-top: 1.25rem; }
545
+ .profile-badge-area > h3 { margin: 0; }
546
+ .profile-badge { width: auto; height: 1.375rem; }
547
+ .profile-scale { display: grid; gap: .25rem; }
548
+ .profile-scale-strip { display: flex; gap: 2px; height: 1.25rem; overflow: hidden; border-radius: 999px; }
549
+ .profile-scale-grade { flex: 1; display: grid; place-items: center; color: #fff; font-size: .6875rem; font-weight: 650; background: var(--grade-a); opacity: .3; }
550
+ .profile-scale-grade[data-grade="B"] { background: var(--grade-b); }
551
+ .profile-scale-grade[data-grade="C"] { background: var(--grade-c); }
552
+ .profile-scale-grade[data-grade="D"] { background: var(--grade-d); }
553
+ .profile-scale-grade[data-grade="F"] { background: var(--grade-f); }
554
+ .profile-scale-grade[aria-current] { opacity: 1; }
555
+ .profile-scale-words { display: flex; gap: 2px; color: var(--secondary); font-size: .75rem; font-variant-numeric: tabular-nums; }
556
+ .profile-scale-words > span { flex: 1; text-align: center; }
557
+ .profile-snippet { position: relative; padding: .5rem 2.5rem .5rem .625rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface-2); }
558
+ .profile-snippet code { display: block; font-size: .75rem; line-height: 1.45; overflow-wrap: anywhere; color: var(--ink); }
559
+ .profile-snippet .fx-copy { position: absolute; top: .25rem; right: .25rem; }
560
+ .profile-aside .fx-note { margin: 0; }
561
+ .profile-aside > .profile-badge-note { margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid var(--rule); }
562
+ .profile-aside > .profile-footnote { margin-top: .5rem; }
563
+
564
+ /* Files no plugin read: a grey share at the end of the language bar, and one fold at the end of the Metrics list. */
565
+ .fx-view :is(.fx-language-unread, .fx-language-lockfile) .fx-language-name { font-weight: 500; color: var(--secondary); }
566
+ .fx-table .fx-unread td { padding-block: .25rem; background: var(--band); }
567
+ .fx-table tbody .fx-unread:hover { background: var(--band); }
568
+ .fx-view .fx-unread-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 2rem; padding: 0; font: inherit; font-size: .8125rem; color: var(--secondary); background: none; border: 0; cursor: pointer; }
569
+ .fx-view .fx-unread-toggle:hover { color: var(--ink); }
570
+ .fx-unread-toggle::before { content: ""; width: .625rem; height: .625rem; background: currentColor; opacity: .7; -webkit-mask: var(--chevron-mask) center / contain no-repeat; mask: var(--chevron-mask) center / contain no-repeat; transform: rotate(-90deg); transition: transform .12s ease-out; }
571
+ .fx-unread-toggle[aria-expanded="true"]::before { transform: none; }
572
+ @media (prefers-reduced-motion: reduce) { .fx-unread-toggle::before { transition: none; } }
573
+
574
+ /* Sources: the forge's page beside the file's language and size, and in place of an excerpt that cannot load. */
575
+ .fx-source-meta .fx-source-forge { color: var(--secondary); }
576
+ .fx-source-meta .fx-source-forge:hover { color: var(--accent-strong); }
577
+ .fx-occurrence-away { padding: .375rem 0 0; font-size: .8125rem; }
578
+ .fx-occurrence-away .fx-source-forge { color: var(--secondary); }