repometry 0.0.0-dev.0 → 0.1.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/LICENSE +21 -0
- package/README.md +24 -1
- package/package.json +48 -7
- package/target/main/resources/report/json/compact-json-v1.schema.json +24 -0
- package/target/main/resources/report/json/comparison-v1.schema.json +65 -0
- package/target/main/resources/report/json/config-v1.schema.json +34 -0
- package/target/main/resources/report/json/diff-coverage-v1.schema.json +55 -0
- package/target/main/resources/report/json/file-metrics-v1.schema.json +134 -0
- package/target/main/resources/report/json/inspection-context-v1.schema.json +172 -0
- package/target/main/resources/report/json/metabranch-v1.schema.json +9 -0
- package/target/main/resources/report/json/metric-catalog-v1.schema.json +31 -0
- package/target/main/resources/report/json/public-history-v1.schema.json +50 -0
- package/target/main/resources/report/json/pull-review-v1.schema.json +97 -0
- package/target/main/resources/report/json/quality-history-v1.schema.json +51 -0
- package/target/main/resources/report/json/report-v1.schema.json +65 -0
- package/target/main/resources/report/json/report-v2.schema.json +238 -0
- package/target/main/resources/report/json/repository-summary-v1.schema.json +181 -0
- package/target/main/resources/report/json/viewer-details-v1.schema.json +343 -0
- package/target/main/resources/report/json/viewer-inspection-v1.schema.json +13 -0
- package/target/main/resources/viewer/files.css +578 -0
- package/target/main/resources/viewer/index.html +130 -0
- package/target/main/resources/viewer/projects.html +52 -0
- package/target/main/resources/viewer/styles.css +586 -0
- package/target/main/resources/viewer/viewer-pulls.css +64 -0
- package/target/main/ts/api/gh/github-pr-comment.d.ts +4 -0
- package/target/main/ts/api/gh/github-pr-comment.js +107 -0
- package/target/main/ts/api/gh/github.d.ts +6 -0
- package/target/main/ts/api/gh/github.js +91 -0
- package/target/main/ts/api/git/blob-batch.d.ts +10 -0
- package/target/main/ts/api/git/blob-batch.js +105 -0
- package/target/main/ts/api/git/changes.d.ts +22 -0
- package/target/main/ts/api/git/changes.js +107 -0
- package/target/main/ts/api/git/commit-metadata.d.ts +3 -0
- package/target/main/ts/api/git/commit-metadata.js +54 -0
- package/target/main/ts/api/git/git-churn.d.ts +9 -0
- package/target/main/ts/api/git/git-churn.js +70 -0
- package/target/main/ts/api/git/git-reader.d.ts +16 -0
- package/target/main/ts/api/git/git-reader.js +73 -0
- package/target/main/ts/api/git/git.d.ts +21 -0
- package/target/main/ts/api/git/git.js +152 -0
- package/target/main/ts/api/git/inspection-source.d.ts +15 -0
- package/target/main/ts/api/git/inspection-source.js +30 -0
- package/target/main/ts/api/git/local-sources.d.ts +5 -0
- package/target/main/ts/api/git/local-sources.js +46 -0
- package/target/main/ts/api/git/local.d.ts +3 -0
- package/target/main/ts/api/git/local.js +35 -0
- package/target/main/ts/api/git/metabranch-worktree.d.ts +1 -0
- package/target/main/ts/api/git/metabranch-worktree.js +34 -0
- package/target/main/ts/api/git/source-cache.d.ts +3 -0
- package/target/main/ts/api/git/source-cache.js +56 -0
- package/target/main/ts/api/import/finding-import.d.ts +9 -0
- package/target/main/ts/api/import/finding-import.js +226 -0
- package/target/main/ts/api/import/lcov-files.d.ts +5 -0
- package/target/main/ts/api/import/lcov-files.js +13 -0
- package/target/main/ts/api/import/profile-file.d.ts +4 -0
- package/target/main/ts/api/import/profile-file.js +16 -0
- package/target/main/ts/api/worker/remote-executor.d.ts +2 -0
- package/target/main/ts/api/worker/remote-executor.js +45 -0
- package/target/main/ts/api/worker/worker-protocol.d.ts +7 -0
- package/target/main/ts/api/worker/worker-protocol.js +101 -0
- package/target/main/ts/api/worker/worker.d.ts +5 -0
- package/target/main/ts/api/worker/worker.js +85 -0
- package/target/main/ts/cli/arguments.d.ts +28 -0
- package/target/main/ts/cli/arguments.js +110 -0
- package/target/main/ts/cli/config.d.ts +14 -0
- package/target/main/ts/cli/config.js +60 -0
- package/target/main/ts/cli/github-pr-comment.d.ts +1 -0
- package/target/main/ts/cli/github-pr-comment.js +12 -0
- package/target/main/ts/cli/imports.d.ts +7 -0
- package/target/main/ts/cli/imports.js +29 -0
- package/target/main/ts/cli/main.d.ts +2 -0
- package/target/main/ts/cli/main.js +343 -284
- package/target/main/ts/cli/reporting.d.ts +18 -0
- package/target/main/ts/cli/reporting.js +108 -0
- package/target/main/ts/cli/revisions.d.ts +6 -0
- package/target/main/ts/cli/revisions.js +15 -0
- package/target/main/ts/cli/store.d.ts +13 -0
- package/target/main/ts/cli/store.js +38 -0
- package/target/main/ts/compose/analyze-snapshot.d.ts +4 -0
- package/target/main/ts/compose/analyze-snapshot.js +163 -0
- package/target/main/ts/compose/attach-churn.d.ts +2 -0
- package/target/main/ts/compose/attach-churn.js +37 -0
- package/target/main/ts/compose/diff-coverage.d.ts +20 -0
- package/target/main/ts/compose/diff-coverage.js +56 -0
- package/target/main/ts/compose/inspect.d.ts +23 -0
- package/target/main/ts/compose/inspect.js +44 -0
- package/target/main/ts/compose/plugin-list.d.ts +6 -0
- package/target/main/ts/compose/plugin-list.js +9 -0
- package/target/main/ts/compose/prepare-metabranch.d.ts +9 -0
- package/target/main/ts/compose/prepare-metabranch.js +16 -0
- package/target/main/ts/compose/review.d.ts +16 -0
- package/target/main/ts/compose/review.js +38 -0
- package/target/main/ts/compose/sources.d.ts +3 -0
- package/target/main/ts/compose/sources.js +29 -0
- package/target/main/ts/core/engine/execute.d.ts +10 -0
- package/target/main/ts/core/engine/execute.js +49 -0
- package/target/main/ts/core/engine/manifest.d.ts +4 -0
- package/target/main/ts/core/engine/manifest.js +104 -0
- package/target/main/ts/core/engine/plan.d.ts +22 -0
- package/target/main/ts/core/engine/plan.js +106 -0
- package/target/main/ts/core/engine/plugin.d.ts +59 -0
- package/target/main/ts/core/engine/plugin.js +4 -0
- package/target/main/ts/core/engine/report-products.d.ts +16 -0
- package/target/main/ts/core/engine/report-products.js +85 -0
- package/target/main/ts/core/model/changes.d.ts +8 -0
- package/target/main/ts/core/model/changes.js +1 -0
- package/target/main/ts/core/model/churn.d.ts +11 -0
- package/target/main/ts/core/model/churn.js +5 -0
- package/target/main/ts/core/model/clone-source.d.ts +16 -0
- package/target/main/ts/core/model/clone-source.js +14 -0
- package/target/main/ts/core/model/code-structure.d.ts +30 -0
- package/target/main/ts/core/model/code-structure.js +31 -0
- package/target/main/ts/core/model/comparison.d.ts +24 -0
- package/target/main/ts/core/model/comparison.js +1 -0
- package/target/main/ts/core/model/diff-coverage.d.ts +23 -0
- package/target/main/ts/core/model/diff-coverage.js +1 -0
- package/target/main/ts/core/model/finding-ignore.d.ts +8 -0
- package/target/main/ts/core/model/finding-ignore.js +35 -0
- package/target/main/ts/core/model/finding.d.ts +28 -0
- package/target/main/ts/core/model/finding.js +29 -0
- package/target/main/ts/core/model/ignore-rule.d.ts +11 -0
- package/target/main/ts/core/model/ignore-rule.js +1 -0
- package/target/main/ts/core/model/measurement.d.ts +27 -0
- package/target/main/ts/core/model/measurement.js +24 -0
- package/target/main/ts/core/model/metric-descriptor.d.ts +17 -0
- package/target/main/ts/core/model/metric-descriptor.js +1 -0
- package/target/main/ts/core/model/plugin-data.d.ts +25 -0
- package/target/main/ts/core/model/plugin-data.js +1 -0
- package/target/main/ts/core/model/pull-review.d.ts +48 -0
- package/target/main/ts/core/model/pull-review.js +1 -0
- package/target/main/ts/core/model/quality-summary.d.ts +42 -0
- package/target/main/ts/core/model/quality-summary.js +64 -0
- package/target/main/ts/core/model/report.d.ts +32 -0
- package/target/main/ts/core/model/report.js +5 -0
- package/target/main/ts/core/model/scanner-import.d.ts +39 -0
- package/target/main/ts/core/model/scanner-import.js +28 -0
- package/target/main/ts/core/model/snapshot.d.ts +15 -0
- package/target/main/ts/core/model/snapshot.js +50 -0
- package/target/main/ts/core/model/source-locator.d.ts +7 -0
- package/target/main/ts/core/model/source-locator.js +1 -0
- package/target/main/ts/core/model/source.d.ts +23 -0
- package/target/main/ts/core/model/source.js +1 -0
- package/target/main/ts/core/ports/report.d.ts +9 -0
- package/target/main/ts/core/ports/report.js +1 -0
- package/target/main/ts/core/ports/source-provider.d.ts +14 -0
- package/target/main/ts/core/ports/source-provider.js +4 -0
- package/target/main/ts/core/profile/exclusions.d.ts +11 -0
- package/target/main/ts/core/profile/exclusions.js +57 -0
- package/target/main/ts/core/profile/maintainability.d.ts +31 -0
- package/target/main/ts/core/profile/maintainability.js +9 -0
- package/target/main/ts/core/profile/profile.d.ts +4 -0
- package/target/main/ts/core/profile/profile.js +10 -0
- package/target/main/ts/core/usecases/compare.d.ts +6 -0
- package/target/main/ts/core/usecases/compare.js +145 -0
- package/target/main/ts/core/usecases/diff-coverage-policy.d.ts +6 -0
- package/target/main/ts/core/usecases/diff-coverage-policy.js +10 -0
- package/target/main/ts/core/usecases/diff-coverage.d.ts +40 -0
- package/target/main/ts/core/usecases/diff-coverage.js +15 -0
- package/target/main/ts/core/usecases/inspect.d.ts +38 -0
- package/target/main/ts/core/usecases/inspect.js +41 -0
- package/target/main/ts/core/usecases/review.d.ts +31 -0
- package/target/main/ts/core/usecases/review.js +128 -0
- package/target/main/ts/index.d.ts +35 -0
- package/target/main/ts/index.js +17 -13
- package/target/main/ts/plugin.d.ts +14 -0
- package/target/main/ts/plugin.js +5 -0
- package/target/main/ts/plugins/coverage/coverage.d.ts +23 -0
- package/target/main/ts/plugins/coverage/coverage.js +120 -0
- package/target/main/ts/plugins/coverage/diff-coverage.d.ts +7 -0
- package/target/main/ts/plugins/coverage/diff-coverage.js +89 -0
- package/target/main/ts/plugins/duplication/duplication.d.ts +4 -0
- package/target/main/ts/plugins/duplication/duplication.js +93 -0
- package/target/main/ts/plugins/language-js/babel-provider.d.ts +10 -0
- package/target/main/ts/plugins/language-js/babel-provider.js +46 -0
- package/target/main/ts/plugins/language-js/clone-candidates.d.ts +3 -0
- package/target/main/ts/plugins/language-js/clone-candidates.js +64 -0
- package/target/main/ts/plugins/language-js/code-lines.d.ts +6 -0
- package/target/main/ts/plugins/language-js/code-lines.js +35 -0
- package/target/main/ts/plugins/language-js/function-facts.d.ts +8 -0
- package/target/main/ts/plugins/language-js/function-facts.js +60 -0
- package/target/main/ts/plugins/language-js/structural-observations.d.ts +8 -0
- package/target/main/ts/plugins/language-js/structural-observations.js +79 -0
- package/target/main/ts/plugins/maintainability/maintainability.d.ts +9 -0
- package/target/main/ts/plugins/maintainability/maintainability.js +42 -0
- package/target/main/ts/plugins/maintainability/structural-smells.d.ts +3 -0
- package/target/main/ts/plugins/maintainability/structural-smells.js +15 -0
- package/target/main/ts/plugins/source/forges.d.ts +4 -0
- package/target/main/ts/plugins/source/forges.js +79 -0
- package/target/main/ts/plugins/structure/structure.d.ts +2 -0
- package/target/main/ts/plugins/structure/structure.js +37 -0
- package/target/main/ts/report/html/app/viewer-access.d.ts +19 -0
- package/target/main/ts/report/html/app/viewer-access.js +25 -0
- package/target/main/ts/report/html/app/viewer-chart.d.ts +101 -0
- package/target/main/ts/report/html/app/viewer-chart.js +711 -0
- package/target/main/ts/report/html/app/viewer-commits.d.ts +36 -0
- package/target/main/ts/report/html/app/viewer-commits.js +280 -0
- package/target/main/ts/report/html/app/viewer-data.d.ts +23 -0
- package/target/main/ts/report/html/app/viewer-data.js +105 -0
- package/target/main/ts/report/html/app/viewer-files.d.ts +117 -0
- package/target/main/ts/report/html/app/viewer-files.js +2087 -0
- package/target/main/ts/report/html/app/viewer-filter.d.ts +113 -0
- package/target/main/ts/report/html/app/viewer-filter.js +492 -0
- package/target/main/ts/report/html/app/viewer-metric-registry.d.ts +68 -0
- package/target/main/ts/report/html/app/viewer-metric-registry.js +206 -0
- package/target/main/ts/report/html/app/viewer-metrics.d.ts +44 -0
- package/target/main/ts/report/html/app/viewer-metrics.js +172 -0
- package/target/main/ts/report/html/app/viewer-profile.d.ts +17 -0
- package/target/main/ts/report/html/app/viewer-profile.js +401 -0
- package/target/main/ts/report/html/app/viewer-projects.d.ts +1 -0
- package/target/main/ts/report/html/app/viewer-projects.js +90 -0
- package/target/main/ts/report/html/app/viewer-pulls.d.ts +3 -0
- package/target/main/ts/report/html/app/viewer-pulls.js +242 -0
- package/target/main/ts/report/html/app/viewer-source.d.ts +75 -0
- package/target/main/ts/report/html/app/viewer-source.js +313 -0
- package/target/main/ts/report/html/app/viewer-trends.d.ts +74 -0
- package/target/main/ts/report/html/app/viewer-trends.js +413 -0
- package/target/main/ts/report/html/app/viewer.d.ts +1 -0
- package/target/main/ts/report/html/app/viewer.js +794 -0
- package/target/main/ts/report/html/site/badges.d.ts +14 -0
- package/target/main/ts/report/html/site/badges.js +39 -0
- package/target/main/ts/report/html/site/export-site.d.ts +21 -0
- package/target/main/ts/report/html/site/export-site.js +157 -0
- package/target/main/ts/report/html/site/exported-server.d.ts +6 -0
- package/target/main/ts/report/html/site/exported-server.js +70 -0
- package/target/main/ts/report/html/site/local-server.d.ts +7 -0
- package/target/main/ts/report/html/site/local-server.js +64 -0
- package/target/main/ts/report/html/site/projects.d.ts +3 -0
- package/target/main/ts/report/html/site/projects.js +79 -0
- package/target/main/ts/report/html/site/server.d.ts +4 -0
- package/target/main/ts/report/html/site/server.js +64 -0
- package/target/main/ts/report/html/site/source-route.d.ts +6 -0
- package/target/main/ts/report/html/site/source-route.js +22 -0
- package/target/main/ts/report/json/projections/commit-summary.d.ts +11 -0
- package/target/main/ts/report/json/projections/commit-summary.js +118 -0
- package/target/main/ts/report/json/projections/components.d.ts +4 -0
- package/target/main/ts/report/json/projections/components.js +29 -0
- package/target/main/ts/report/json/projections/file-metrics.d.ts +5 -0
- package/target/main/ts/report/json/projections/file-metrics.js +243 -0
- package/target/main/ts/report/json/projections/inspection-context.d.ts +6 -0
- package/target/main/ts/report/json/projections/inspection-context.js +92 -0
- package/target/main/ts/report/json/projections/inspection-details.d.ts +11 -0
- package/target/main/ts/report/json/projections/inspection-details.js +69 -0
- package/target/main/ts/report/json/projections/metric-values.d.ts +7 -0
- package/target/main/ts/report/json/projections/metric-values.js +57 -0
- package/target/main/ts/report/json/projections/public-history.d.ts +4 -0
- package/target/main/ts/report/json/projections/public-history.js +16 -0
- package/target/main/ts/report/json/store/components.d.ts +2 -0
- package/target/main/ts/report/json/store/components.js +31 -0
- package/target/main/ts/report/json/store/local-store.d.ts +13 -0
- package/target/main/ts/report/json/store/local-store.js +179 -0
- package/target/main/ts/report/json/store/pull-review-store.d.ts +3 -0
- package/target/main/ts/report/json/store/pull-review-store.js +51 -0
- package/target/main/ts/report/json/validation/metabranch.d.ts +4 -0
- package/target/main/ts/report/json/validation/metabranch.js +7 -0
- package/target/main/ts/report/json/validation/report.d.ts +15 -0
- package/target/main/ts/report/json/validation/report.js +64 -0
- package/target/main/ts/report/json/validation/summary-validation.d.ts +4 -0
- package/target/main/ts/report/json/validation/summary-validation.js +27 -0
- package/target/main/ts/report/json/wire/compact-json.d.ts +11 -0
- package/target/main/ts/report/json/wire/compact-json.js +76 -0
- package/target/main/ts/report/json/wire/component-model.d.ts +9 -0
- package/target/main/ts/report/json/wire/component-model.js +1 -0
- package/target/main/ts/report/json/wire/domain-types.d.ts +2 -0
- package/target/main/ts/report/json/wire/domain-types.js +1 -0
- package/target/main/ts/report/json/wire/file-metrics-model.d.ts +77 -0
- package/target/main/ts/report/json/wire/file-metrics-model.js +1 -0
- package/target/main/ts/report/json/wire/inspection-context-model.d.ts +26 -0
- package/target/main/ts/report/json/wire/inspection-context-model.js +1 -0
- package/target/main/ts/report/json/wire/inspection-details-model.d.ts +82 -0
- package/target/main/ts/report/json/wire/inspection-details-model.js +1 -0
- package/target/main/ts/report/json/wire/project-model.d.ts +7 -0
- package/target/main/ts/report/json/wire/project-model.js +1 -0
- package/target/main/ts/report/json/wire/public-history-model.d.ts +42 -0
- package/target/main/ts/report/json/wire/public-history-model.js +6 -0
- package/target/main/ts/report/json/wire/pull-review-model.d.ts +7 -0
- package/target/main/ts/report/json/wire/pull-review-model.js +1 -0
- package/target/main/ts/report/json/wire/summary-model.d.ts +45 -0
- package/target/main/ts/report/json/wire/summary-model.js +1 -0
- package/target/main/ts/report.d.ts +11 -0
- package/target/main/ts/report.js +5 -0
- package/index.js +0 -1
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
/* Repometry viewer: light, flat and quiet. Every colour is a token; the dark theme follows the system. */
|
|
2
|
+
:root {
|
|
3
|
+
--copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Crect x='3.6' y='3.6' width='7.4' height='7.4' rx='1.2'/%3E%3Cpath d='M8.4 3.6V2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v5.4a1 1 0 0 0 1 1h1.6'/%3E%3C/svg%3E");
|
|
4
|
+
--check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
|
|
5
|
+
--lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2.5 5V3.5a2.5 2.5 0 0 1 5 0V5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3Crect x='1' y='5' width='8' height='6.5' rx='1.2'/%3E%3C/svg%3E");
|
|
6
|
+
--branch-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle cx='3' cy='2.25' r='1.25'/%3E%3Ccircle cx='3' cy='9.75' r='1.25'/%3E%3Ccircle cx='9' cy='3.75' r='1.25'/%3E%3Cpath d='M3 3.5v5M9 5c0 2.5-6 1.5-6 3.5'/%3E%3C/svg%3E");
|
|
7
|
+
color-scheme: light dark;
|
|
8
|
+
--page: #ffffff;
|
|
9
|
+
--band: #f7f8fa;
|
|
10
|
+
--surface: #ffffff;
|
|
11
|
+
--surface-2: #f3f5f7;
|
|
12
|
+
--ink: #0f1720;
|
|
13
|
+
--secondary: #5b6673;
|
|
14
|
+
--muted: #7d8793;
|
|
15
|
+
--rule: #e6e9ed;
|
|
16
|
+
--rule-strong: #cdd3da;
|
|
17
|
+
--accent: #0d8a6c;
|
|
18
|
+
--accent-strong: #0a6f57;
|
|
19
|
+
--accent-soft: #e6f4ef;
|
|
20
|
+
--accent-ink: #0a5a47;
|
|
21
|
+
--selected: #f1f7f5;
|
|
22
|
+
--focus: #2b7fd6;
|
|
23
|
+
--good: #14804a;
|
|
24
|
+
--bad: #c2362b;
|
|
25
|
+
--flag-good: #2f9445;
|
|
26
|
+
--flag-bad: #c63d36;
|
|
27
|
+
--bad-bg: #fdecea;
|
|
28
|
+
--bad-ink: #9f2a21;
|
|
29
|
+
--warn-bg: #fdf3dc;
|
|
30
|
+
--warn-ink: #81580a;
|
|
31
|
+
--notice: #81580a;
|
|
32
|
+
--notice-bg: #fdf3dc;
|
|
33
|
+
--series: #3a4654;
|
|
34
|
+
--series-2: #c9ced5;
|
|
35
|
+
--event: #b4691d;
|
|
36
|
+
--heat-0: #f7e08a;
|
|
37
|
+
--heat-1: #f5c84a;
|
|
38
|
+
--heat-2: #ef9b3c;
|
|
39
|
+
--heat-3: #e6702f;
|
|
40
|
+
--heat-4: #d33a2f;
|
|
41
|
+
--heat-ink: #3d2a05;
|
|
42
|
+
--neutral-0: #e3e7eb;
|
|
43
|
+
--neutral-1: #c4ccd4;
|
|
44
|
+
--neutral-2: #98a4b0;
|
|
45
|
+
--neutral-3: #6b7987;
|
|
46
|
+
--neutral-4: #435160;
|
|
47
|
+
--grade-a: #1f9d5a;
|
|
48
|
+
--grade-b: #74a83a;
|
|
49
|
+
--grade-c: #d9a400;
|
|
50
|
+
--grade-d: #ec8a2c;
|
|
51
|
+
--grade-f: #db4a3f;
|
|
52
|
+
--grade-none: #c4ccd4;
|
|
53
|
+
/* Lockfiles: generated, counted apart from the languages and from the ignored files' grey. */
|
|
54
|
+
--lockfile: #d2c3a3;
|
|
55
|
+
--radius: 10px;
|
|
56
|
+
--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
57
|
+
--mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
|
|
58
|
+
--content: 92rem;
|
|
59
|
+
--control: 2.25rem;
|
|
60
|
+
--code-keyword: #9a2f6e;
|
|
61
|
+
--code-string: #0a6f57;
|
|
62
|
+
--code-number: #a5560f;
|
|
63
|
+
--chevron-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E");
|
|
64
|
+
--chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d8793' stroke-width='1.6'/%3E%3C/svg%3E");
|
|
65
|
+
font: 400 100%/1.5 var(--sans);
|
|
66
|
+
background: var(--page);
|
|
67
|
+
color: var(--ink);
|
|
68
|
+
-webkit-font-smoothing: antialiased;
|
|
69
|
+
}
|
|
70
|
+
@media (prefers-color-scheme: dark) {
|
|
71
|
+
:root {
|
|
72
|
+
--page: #0d1117;
|
|
73
|
+
--band: #11161d;
|
|
74
|
+
--surface: #131920;
|
|
75
|
+
--surface-2: #19212a;
|
|
76
|
+
--ink: #e6ebf0;
|
|
77
|
+
--secondary: #a2adb9;
|
|
78
|
+
--muted: #7b8794;
|
|
79
|
+
--rule: #232c36;
|
|
80
|
+
--rule-strong: #34404d;
|
|
81
|
+
--accent: #36c49b;
|
|
82
|
+
--accent-strong: #5bd6b0;
|
|
83
|
+
--accent-soft: #15302a;
|
|
84
|
+
--accent-ink: #bdeedd;
|
|
85
|
+
--selected: #16231f;
|
|
86
|
+
--focus: #6aaaf0;
|
|
87
|
+
--good: #4fcf8b;
|
|
88
|
+
--bad: #ff8478;
|
|
89
|
+
--flag-good: #5fd06a;
|
|
90
|
+
--flag-bad: #f0736b;
|
|
91
|
+
--bad-bg: #3a1c1a;
|
|
92
|
+
--bad-ink: #ffb1a8;
|
|
93
|
+
--warn-bg: #352812;
|
|
94
|
+
--warn-ink: #f2cd7f;
|
|
95
|
+
--notice: #f2cd7f;
|
|
96
|
+
--notice-bg: #2e2412;
|
|
97
|
+
--series: #c3ccd5;
|
|
98
|
+
--series-2: #3a4552;
|
|
99
|
+
--code-keyword: #e48fc4;
|
|
100
|
+
--code-string: #5fd0a6;
|
|
101
|
+
--code-number: #e5a45a;
|
|
102
|
+
--event: #e8a362;
|
|
103
|
+
--heat-0: #c9b04a;
|
|
104
|
+
--heat-1: #dcae3a;
|
|
105
|
+
--heat-2: #e08b35;
|
|
106
|
+
--heat-3: #e0612f;
|
|
107
|
+
--heat-4: #ef4c3f;
|
|
108
|
+
--heat-ink: #1a1203;
|
|
109
|
+
--neutral-0: #26303a;
|
|
110
|
+
--neutral-1: #384552;
|
|
111
|
+
--neutral-2: #52616f;
|
|
112
|
+
--neutral-3: #75869a;
|
|
113
|
+
--neutral-4: #a3b3c3;
|
|
114
|
+
--grade-a: #2aa766;
|
|
115
|
+
--grade-b: #7fae44;
|
|
116
|
+
--grade-c: #d1a01a;
|
|
117
|
+
--grade-d: #e58835;
|
|
118
|
+
--grade-f: #e2574c;
|
|
119
|
+
--grade-none: #3a4552;
|
|
120
|
+
--lockfile: #5e5440;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
* { box-sizing: border-box; }
|
|
124
|
+
[hidden] { display: none !important; }
|
|
125
|
+
body { margin: 0; min-height: 100vh; background: var(--page); }
|
|
126
|
+
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
|
|
127
|
+
a:hover { color: var(--accent-strong); }
|
|
128
|
+
:is(a, button, input, select, summary, [tabindex="0"]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
129
|
+
h1, h2, h3, h4, p, dl, dd { margin: 0; }
|
|
130
|
+
h1 { font-size: 1.375rem; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; overflow-wrap: anywhere; }
|
|
131
|
+
h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
|
|
132
|
+
h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
|
|
133
|
+
small { font-size: .8125rem; }
|
|
134
|
+
code, .commit { font-family: var(--mono); font-size: .875em; }
|
|
135
|
+
select, input, button { font: inherit; color: inherit; }
|
|
136
|
+
select, input:not([type="checkbox"]), .button {
|
|
137
|
+
min-height: var(--control);
|
|
138
|
+
padding: .3rem .65rem;
|
|
139
|
+
font-size: .875rem;
|
|
140
|
+
background: var(--surface);
|
|
141
|
+
border: 1px solid var(--rule-strong);
|
|
142
|
+
border-radius: 8px;
|
|
143
|
+
}
|
|
144
|
+
button, select { cursor: pointer; }
|
|
145
|
+
/* Every select draws the same chevron with the same inset, instead of each browser's own arrow. */
|
|
146
|
+
select { -webkit-appearance: none; appearance: none; padding-right: 2rem; background: var(--surface) no-repeat right .65rem center / .7rem var(--chevron); }
|
|
147
|
+
input[type="search"] { min-width: 0; max-width: 100%; }
|
|
148
|
+
label { display: grid; gap: .25rem; font-size: .75rem; font-weight: 500; color: var(--secondary); }
|
|
149
|
+
label select, label input { color: var(--ink); font-weight: 400; font-size: .875rem; }
|
|
150
|
+
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
151
|
+
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-200%); background: var(--surface); z-index: 5; padding: .7rem; }
|
|
152
|
+
.skip:focus { transform: none; }
|
|
153
|
+
|
|
154
|
+
/* Top bar */
|
|
155
|
+
.topbar { background: var(--band); border-bottom: 1px solid var(--rule); }
|
|
156
|
+
.topbar-inner { max-width: var(--content); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2.5rem); }
|
|
157
|
+
.topbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; padding: .875rem 0 .375rem; }
|
|
158
|
+
.topbar-row h1 { line-height: 1.875rem; }
|
|
159
|
+
/* The mark: a deep green flag (the r of repo) over three lighter green stems (the m of metrics). Its greens are its
|
|
160
|
+
own; the chart flags keep --flag-good. */
|
|
161
|
+
.brand { --brand-flag: #1f6b35; --brand-stems: #5fae6a; display: inline-flex; flex: none; width: 1.875rem; height: 1.875rem; color: var(--brand-stems); text-decoration: none; border-radius: 6px; }
|
|
162
|
+
@media (prefers-color-scheme: dark) { .brand { --brand-flag: #8fe08f; --brand-stems: #3f8a4c; } }
|
|
163
|
+
.brand-mark { width: 100%; height: 100%; fill: currentColor; }
|
|
164
|
+
.brand-flag { fill: var(--brand-flag); }
|
|
165
|
+
/* Commit picker: a trigger naming the commit, and a search popover over the whole inspected history. */
|
|
166
|
+
/* The commit picker ends the title row; the data download ends the tab row under it, so neither adds height. */
|
|
167
|
+
.commit-control { position: relative; width: clamp(16rem, 32vw, 26rem); max-width: 100%; margin-left: auto; }
|
|
168
|
+
/* Open, the control widens to the left and the list hangs from it: one frame, square where field and list meet. */
|
|
169
|
+
.commit-control.open { width: min(36rem, 100%); z-index: 20; }
|
|
170
|
+
.tabs-row { display: flex; align-items: center; gap: 1.5rem; }
|
|
171
|
+
.tabs-row .tabs { flex: 1 1 auto; min-width: 0; }
|
|
172
|
+
.inspection-meta { flex: none; }
|
|
173
|
+
.commit-field { position: relative; display: flex; align-items: center; min-height: 32px; background: var(--surface) no-repeat right .6rem center / .7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d8793' stroke-width='1.6'/%3E%3C/svg%3E"); border: 1px solid var(--rule); border-radius: 6px; cursor: text; }
|
|
174
|
+
.commit-field:hover { border-color: var(--rule-strong); }
|
|
175
|
+
.commit-control:focus-within .commit-field { border-color: var(--accent); }
|
|
176
|
+
.commit-control.open .commit-field { border-color: var(--rule-strong); border-bottom-color: var(--rule); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -1px 8px rgb(15 23 32 / .05); }
|
|
177
|
+
.commit-control .commit-search { flex: 1 1 auto; width: 100%; max-width: none; min-height: 30px; margin: 0; padding: .2rem 2rem .2rem .625rem; font: inherit; font-size: .875rem; color: var(--ink); background: transparent; border: 0; border-radius: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
|
|
178
|
+
.commit-control .commit-search:focus, .commit-control .commit-search:focus-visible { outline: none; box-shadow: none; }
|
|
179
|
+
.commit-control:not(.open) .commit-search { color: transparent; caret-color: transparent; }
|
|
180
|
+
.commit-control:not(.open) .commit-search::placeholder { color: transparent; }
|
|
181
|
+
.commit-entry { position: relative; display: flex; flex: 1 1 auto; align-self: stretch; min-width: 0; }
|
|
182
|
+
/* The branch heads the field, set off by a rule: the commits listed are its history. */
|
|
183
|
+
.commit-branch { display: inline-flex; align-items: center; gap: .3125rem; flex: 0 1 auto; max-width: 9rem; align-self: stretch; padding: 0 .625rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8125rem; font-weight: 500; color: var(--secondary); border-right: 1px solid var(--rule); }
|
|
184
|
+
.commit-branch::before { content: ""; flex: none; width: .75rem; height: .75rem; background: currentColor; -webkit-mask: var(--branch-glyph) center / contain no-repeat; mask: var(--branch-glyph) center / contain no-repeat; }
|
|
185
|
+
.commit-control.open .commit-branch { color: var(--muted); }
|
|
186
|
+
.commit-current { position: absolute; inset: 0 2rem 0 .625rem; display: flex; align-items: center; gap: .5rem; min-width: 0; overflow: hidden; pointer-events: none; font-size: .875rem; }
|
|
187
|
+
.commit-control.open .commit-current { display: none; }
|
|
188
|
+
.commit-current-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--secondary); }
|
|
189
|
+
.commit-hash { flex: none; font-family: var(--mono); font-size: .8125rem; color: var(--ink); }
|
|
190
|
+
.commit-popover { position: absolute; 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); }
|
|
191
|
+
.commit-options { max-height: min(24rem, 60vh); margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
|
|
192
|
+
.commit-option { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .625rem; row-gap: .125rem; align-items: baseline; padding: .5rem .875rem; cursor: pointer; }
|
|
193
|
+
.commit-option.active { background: var(--surface-2); }
|
|
194
|
+
.commit-option[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--accent); }
|
|
195
|
+
.commit-option-head { display: contents; font-size: .875rem; }
|
|
196
|
+
.commit-option-head .commit-subject { font-size: .875rem; }
|
|
197
|
+
.commit-subject { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
|
|
198
|
+
.commit-tag { flex: 0 1 auto; min-width: 2.5rem; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 .375rem; font-size: .75rem; font-weight: 500; line-height: 1.125rem; color: var(--accent-ink); background: var(--accent-soft); border-radius: 4px; }
|
|
199
|
+
.commit-tag-more { flex: none; min-width: 0; color: var(--secondary); background: var(--rule); }
|
|
200
|
+
.commit-option-meta { grid-column: 2; display: flex; align-items: center; gap: .375rem; min-width: 0; overflow: hidden; }
|
|
201
|
+
.commit-meta { flex: none; margin-right: .25rem; white-space: nowrap; font-size: .75rem; color: var(--muted); }
|
|
202
|
+
.commit-meta, .commit-option-head .commit-hash { font-family: inherit; }
|
|
203
|
+
.commit-option-head .commit-hash { font-family: var(--mono); font-size: .8125rem; color: var(--secondary); }
|
|
204
|
+
.commit-option mark { color: inherit; background: var(--warn-bg); border-radius: 2px; }
|
|
205
|
+
.commit-status { margin: 0; padding: .4375rem .875rem; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--rule); }
|
|
206
|
+
.inspection-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .75rem; color: var(--secondary); }
|
|
207
|
+
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--ink); }
|
|
208
|
+
.inspection-meta .status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--muted); }
|
|
209
|
+
.inspection-meta .status[data-status="complete"]::before { background: var(--good); }
|
|
210
|
+
.inspection-meta .status[data-status="partial"]::before { background: var(--grade-c); }
|
|
211
|
+
.download { color: var(--secondary); }
|
|
212
|
+
.tabs { display: flex; gap: .25rem 1.375rem; overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; }
|
|
213
|
+
.tabs::-webkit-scrollbar { display: none; }
|
|
214
|
+
.tabs a { flex: none; display: inline-flex; align-items: center; gap: .375rem; min-height: 40px; padding: 0 .1rem; color: var(--secondary); font-size: .875rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
|
|
215
|
+
.tabs a:hover { color: var(--ink); }
|
|
216
|
+
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
|
|
217
|
+
.tabs a[data-unavailable] { color: var(--muted); }
|
|
218
|
+
.tabs a[data-unavailable]::after { content: ""; width: .625rem; height: .75rem; background: currentColor; -webkit-mask: var(--lock) center / contain no-repeat; mask: var(--lock) center / contain no-repeat; }
|
|
219
|
+
.tabs a[data-unavailable]:hover { color: var(--secondary); }
|
|
220
|
+
.tabs a[data-unavailable][aria-current] { color: var(--secondary); border-bottom-color: var(--rule-strong); }
|
|
221
|
+
.report-notice { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem 1rem; padding: .75rem 1rem; font-size: .875rem; color: var(--secondary); background: var(--surface-2); border: 1px solid var(--rule); border-radius: var(--radius); }
|
|
222
|
+
.report-notice-text { flex: 1 1 22rem; margin: 0; line-height: 1.55; }
|
|
223
|
+
.report-notice strong { font-weight: 600; color: var(--ink); }
|
|
224
|
+
.report-notice code { color: var(--ink); white-space: nowrap; -webkit-user-select: all; user-select: all; }
|
|
225
|
+
.report-notice-text > code, .report-notice-command { padding: .125rem .375rem; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 4px; }
|
|
226
|
+
.report-notice-command { display: inline-flex; align-items: center; gap: .375rem; margin: 0; line-height: inherit; vertical-align: baseline; cursor: copy; }
|
|
227
|
+
.report-notice-command code { font-size: .8125rem; }
|
|
228
|
+
.report-notice-command::after { content: ""; width: .75rem; height: .75rem; background: var(--muted); -webkit-mask: var(--copy) center / contain no-repeat; mask: var(--copy) center / contain no-repeat; }
|
|
229
|
+
.report-notice-command:hover { border-color: var(--secondary); }
|
|
230
|
+
.report-notice-command:hover::after { background: var(--ink); }
|
|
231
|
+
.report-notice-command[data-copied]::after { background: var(--good); -webkit-mask-image: var(--check); mask-image: var(--check); }
|
|
232
|
+
#unavailable-content { max-width: 46rem; }
|
|
233
|
+
.public-panel { padding: 1.25rem 1.25rem 1.375rem; }
|
|
234
|
+
.public-panel h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; }
|
|
235
|
+
.public-panel h3::before { content: ""; width: .75rem; height: .875rem; background: var(--muted); -webkit-mask: var(--lock) center / contain no-repeat; mask: var(--lock) center / contain no-repeat; }
|
|
236
|
+
.public-panel p { margin: 0 0 .875rem; font-size: .875rem; line-height: 1.55; color: var(--secondary); }
|
|
237
|
+
.public-panel-command { display: flex; width: 100%; justify-content: space-between; min-height: 2.5rem; padding: 0 .75rem; background: var(--surface-2); border-radius: 6px; }
|
|
238
|
+
.public-panel code { color: var(--ink); white-space: nowrap; -webkit-user-select: all; user-select: all; }
|
|
239
|
+
.public-panel-command:hover { background: var(--surface); }
|
|
240
|
+
.public-panel-command code { font-size: .875rem; }
|
|
241
|
+
.public-panel > div > code { display: block; padding: .5rem .75rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--rule-strong); border-radius: 6px; }
|
|
242
|
+
.tab-count { min-width: 1.25rem; padding: 0 .35rem; border-radius: 999px; background: var(--rule); color: var(--secondary); font-size: .75rem; font-weight: 600; line-height: 1.25rem; text-align: center; font-variant-numeric: tabular-nums; }
|
|
243
|
+
.tab-count:empty { display: none; }
|
|
244
|
+
|
|
245
|
+
/* Page */
|
|
246
|
+
main { max-width: var(--content); margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
|
|
247
|
+
main:focus { outline: none; }
|
|
248
|
+
#message { color: var(--secondary); }
|
|
249
|
+
.detail { color: var(--secondary); font-size: .875rem; }
|
|
250
|
+
.empty { padding-block: 1rem; }
|
|
251
|
+
.card, .panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
|
|
252
|
+
.panel { min-width: 0; padding: 1rem 1.25rem; }
|
|
253
|
+
.panel > h2, .panel > h3, .fx-view .panel h2 { margin: 0 0 .25rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
|
|
254
|
+
.panel + .panel, .revisions { margin-top: 1rem; }
|
|
255
|
+
.section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .75rem; }
|
|
256
|
+
.section-heading h2 { margin: 0; }
|
|
257
|
+
.section-heading .detail { margin-top: .2rem; }
|
|
258
|
+
.text-link { font-size: .875rem; font-weight: 500; }
|
|
259
|
+
|
|
260
|
+
/* Overview */
|
|
261
|
+
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
|
|
262
|
+
.overview-grid:has(> aside:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem); }
|
|
263
|
+
.verdict-card { overflow: hidden; }
|
|
264
|
+
.verdicts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
|
|
265
|
+
.verdict {
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
gap: .9rem;
|
|
269
|
+
min-width: 0;
|
|
270
|
+
min-height: 4.5rem;
|
|
271
|
+
padding: .875rem 1.25rem;
|
|
272
|
+
position: relative;
|
|
273
|
+
background: var(--band);
|
|
274
|
+
border-left: 1px solid var(--rule);
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
}
|
|
277
|
+
.verdict:first-child { border-left: 0; }
|
|
278
|
+
.verdict:has(.verdict-tab[aria-selected="true"]) { background: var(--surface); box-shadow: inset 0 2px 0 var(--accent); }
|
|
279
|
+
.verdict:hover:not(:has(.verdict-tab[aria-selected="true"])) { background: var(--surface-2); }
|
|
280
|
+
.verdict-text { display: grid; justify-items: start; min-width: 0; }
|
|
281
|
+
/* The tab is the area's name; it stretches over the whole cell, so a click anywhere but the detail's link selects it. */
|
|
282
|
+
.verdict-tab { padding: 0; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; }
|
|
283
|
+
.verdict-tab::after { content: ""; position: absolute; inset: 0; }
|
|
284
|
+
.verdict-tab:focus-visible { outline: none; }
|
|
285
|
+
.verdict:has(.verdict-tab:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
|
|
286
|
+
.verdict-detail { color: var(--secondary); font-size: .875rem; overflow-wrap: anywhere; }
|
|
287
|
+
/* A detail that counts something leads to exactly what it counts. */
|
|
288
|
+
.verdict-detail a { position: relative; z-index: 1; color: inherit; text-decoration-color: var(--rule-strong); }
|
|
289
|
+
.verdict-detail a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
|
|
290
|
+
.mark { flex: none; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 8px; font-size: 1.25rem; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
|
|
291
|
+
.grade { background: var(--grade-a); }
|
|
292
|
+
.grade[data-grade="B"] { background: var(--grade-b); }
|
|
293
|
+
.grade[data-grade="C"] { background: var(--grade-c); }
|
|
294
|
+
.grade[data-grade="D"] { background: var(--grade-d); }
|
|
295
|
+
.grade[data-grade="F"] { background: var(--grade-f); }
|
|
296
|
+
.grade[data-grade="none"] { background: var(--grade-none); }
|
|
297
|
+
.ring { color: var(--ink); }
|
|
298
|
+
.ring svg { width: 2.5rem; height: 2.5rem; }
|
|
299
|
+
.ring-track { fill: none; stroke: var(--rule); stroke-width: 4.5; }
|
|
300
|
+
.ring-arc { fill: none; stroke: var(--grade-a); stroke-width: 4.5; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 20px 20px; }
|
|
301
|
+
.ring-label { fill: var(--ink); font-size: 12.5px; font-weight: 650; text-anchor: middle; }
|
|
302
|
+
.severity { background: var(--grade-a); font-size: 1.125rem; }
|
|
303
|
+
.severity[data-severity="none"] { background: var(--grade-none); }
|
|
304
|
+
.severity[data-severity="low"] { background: var(--grade-b); }
|
|
305
|
+
.severity[data-severity="medium"] { background: var(--grade-c); }
|
|
306
|
+
.severity[data-severity="high"] { background: var(--grade-d); }
|
|
307
|
+
.severity[data-severity="critical"] { background: var(--grade-f); }
|
|
308
|
+
@media (prefers-color-scheme: dark) { .mark:not(.ring) { color: #0d1117; } }
|
|
309
|
+
|
|
310
|
+
.trend { padding: 1rem 1.25rem .5rem; }
|
|
311
|
+
.chart { min-width: 0; margin-top: .5rem; }
|
|
312
|
+
.legend { margin-top: .35rem; font-size: .8125rem; color: var(--muted); }
|
|
313
|
+
.lead { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .75rem .25rem .875rem; border-top: 1px solid var(--rule); }
|
|
314
|
+
.figure { min-width: 0; padding: .5rem 1rem; }
|
|
315
|
+
.figure dt { color: var(--secondary); font-size: .8125rem; }
|
|
316
|
+
.figure-value { margin-top: .1rem; font-size: clamp(1.5rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
|
|
317
|
+
.figure-delta { min-height: 1.4em; margin-top: .1rem; font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
|
|
318
|
+
.figure-delta[data-direction="better"] { color: var(--good); }
|
|
319
|
+
.figure-delta[data-direction="worse"] { color: var(--bad); }
|
|
320
|
+
.scope-line { margin-top: .9rem; padding-inline: .2rem; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
|
|
321
|
+
.scope-line + .scope-line { margin-top: .2rem; }
|
|
322
|
+
|
|
323
|
+
.overview-aside { min-width: 0; }
|
|
324
|
+
.overview-aside .section-heading { margin: 1rem 0 0; }
|
|
325
|
+
.overview-aside .section-heading h3 { font-size: 1rem; }
|
|
326
|
+
.overview-hotspot-list { margin: .5rem 0 0; padding: 0; list-style: none; }
|
|
327
|
+
.overview-hotspot-list li + li { border-top: 1px solid var(--rule); }
|
|
328
|
+
.overview-hotspot-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .375rem; text-decoration: none; }
|
|
329
|
+
.hotspot-name { min-width: 0; }
|
|
330
|
+
.hotspot-name strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
|
|
331
|
+
.overview-hotspot-list a:hover strong { text-decoration: underline; }
|
|
332
|
+
.hotspot-name small { display: block; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
|
|
333
|
+
.chip {
|
|
334
|
+
flex: none;
|
|
335
|
+
display: inline-grid;
|
|
336
|
+
place-items: center;
|
|
337
|
+
min-width: 1.75rem;
|
|
338
|
+
height: 1.5rem;
|
|
339
|
+
padding: 0 .4rem;
|
|
340
|
+
border-radius: 6px;
|
|
341
|
+
background: var(--surface-2);
|
|
342
|
+
color: var(--ink);
|
|
343
|
+
font-size: .8125rem;
|
|
344
|
+
font-weight: 650;
|
|
345
|
+
font-variant-numeric: tabular-nums;
|
|
346
|
+
}
|
|
347
|
+
.chip[data-band="0"] { background: var(--heat-0); color: var(--heat-ink); }
|
|
348
|
+
.chip[data-band="1"] { background: var(--heat-1); color: var(--heat-ink); }
|
|
349
|
+
.chip[data-band="2"] { background: var(--heat-2); color: var(--heat-ink); }
|
|
350
|
+
.chip[data-band="3"] { background: var(--heat-3); color: #fff; }
|
|
351
|
+
.chip[data-band="4"] { background: var(--heat-4); color: #fff; }
|
|
352
|
+
|
|
353
|
+
/* Charts */
|
|
354
|
+
.tc { display: block; overflow: visible; font-family: var(--sans); font-variant-numeric: tabular-nums; }
|
|
355
|
+
.tc-grid { stroke: var(--rule); stroke-width: 1; }
|
|
356
|
+
.tc-base { stroke: var(--rule-strong); stroke-width: 1; }
|
|
357
|
+
.tc-tick, .tc-label { fill: var(--muted); font-size: 13px; }
|
|
358
|
+
.tc-line { fill: none; stroke: var(--series); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
|
|
359
|
+
.tc-line-secondary { stroke: var(--series-2); stroke-width: 2; }
|
|
360
|
+
.trend-key { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin: 0; font-size: .75rem; color: var(--secondary); }
|
|
361
|
+
.trend-key-item { display: inline-flex; align-items: center; gap: .4rem; }
|
|
362
|
+
/* Each key entry switches its line: struck through and faded when off; the last line left cannot be switched off. */
|
|
363
|
+
button.trend-key-item { min-height: 1.75rem; padding: 0 .375rem; font: inherit; color: inherit; background: none; border: 0; border-radius: 4px; cursor: pointer; }
|
|
364
|
+
button.trend-key-item:hover:not(:disabled) { color: var(--ink); background: var(--surface-2); }
|
|
365
|
+
button.trend-key-item:disabled { cursor: default; }
|
|
366
|
+
button.trend-key-item[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
|
|
367
|
+
button.trend-key-item[aria-pressed="false"]::before { opacity: .35; }
|
|
368
|
+
/* With its companion alone, the line keeps the companion's grey. */
|
|
369
|
+
.chart-companion-only .tc-line { stroke: var(--series-2); stroke-width: 2; }
|
|
370
|
+
.trend-key-item::before { content: ""; width: 1rem; height: 2.5px; border-radius: 2px; background: var(--series); }
|
|
371
|
+
.trend-key-second::before { height: 2px; background: var(--series-2); }
|
|
372
|
+
.tc-tick-secondary { fill: var(--muted); }
|
|
373
|
+
.tc-dot { fill: var(--surface); stroke: var(--series); stroke-width: 2; }
|
|
374
|
+
.tc-dot-current { fill: var(--series); stroke: var(--surface); stroke-width: 2.5; }
|
|
375
|
+
.tc-dot-partial { fill: var(--surface); stroke-dasharray: 2 2; }
|
|
376
|
+
.tc-value { fill: var(--ink); font-size: 13px; font-weight: 500; paint-order: stroke; stroke: var(--surface); stroke-width: 7px; stroke-linejoin: round; }
|
|
377
|
+
.tc-value-current { font-size: 14px; font-weight: 650; }
|
|
378
|
+
.tc-bar-better { fill: var(--good); opacity: .75; }
|
|
379
|
+
.tc-bar-worse { fill: var(--bad); opacity: .75; }
|
|
380
|
+
.tc-bar-current { opacity: 1; }
|
|
381
|
+
.tc-xtick { stroke: var(--rule-strong); stroke-width: 1; }
|
|
382
|
+
.tc-missing-mark { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
|
|
383
|
+
.tc-profile-changed, .tc-profile-unavailable { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 4; }
|
|
384
|
+
.tc-profile-unavailable { stroke-dasharray: 1 4; }
|
|
385
|
+
.tc-zero-mark { stroke: var(--secondary); stroke-width: 2; }
|
|
386
|
+
.tc-guide { stroke: var(--rule-strong); stroke-width: 1; pointer-events: none; }
|
|
387
|
+
.chart-interactive { position: relative; }
|
|
388
|
+
.chart-interactive .tc { cursor: pointer; touch-action: pan-y; }
|
|
389
|
+
.tc-point:focus { outline: none; }
|
|
390
|
+
.tc-point.is-active .tc-dot { r: 5.5; stroke-width: 2.5; }
|
|
391
|
+
.tc-hover-dot { pointer-events: none; }
|
|
392
|
+
.tc:focus { outline: none; }
|
|
393
|
+
.tc:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
|
|
394
|
+
.tc-point.is-active .tc-bar { opacity: 1; }
|
|
395
|
+
.tc-point:focus-visible .tc-dot, .tc-point:focus-visible .tc-bar { stroke: var(--focus); stroke-width: 3; }
|
|
396
|
+
.tc-tip {
|
|
397
|
+
position: absolute; z-index: 2; pointer-events: none;
|
|
398
|
+
display: grid; align-content: start; min-width: 9rem; max-width: 16rem;
|
|
399
|
+
/* A cluster's card scrolls inside itself, not the page. */
|
|
400
|
+
max-height: min(22rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
|
|
401
|
+
padding: .5rem .625rem .5625rem;
|
|
402
|
+
background: var(--surface); color: var(--ink);
|
|
403
|
+
border: 1px solid var(--rule-strong); border-radius: 6px;
|
|
404
|
+
box-shadow: 0 2px 10px rgb(0 0 0 / .08);
|
|
405
|
+
font-size: .8125rem; line-height: 1.35;
|
|
406
|
+
}
|
|
407
|
+
.tc-tip[hidden] { display: none; }
|
|
408
|
+
.tc-tip-entry { display: grid; gap: .125rem; }
|
|
409
|
+
.tc-tip-held { pointer-events: auto; }
|
|
410
|
+
a.tc-tip-entry { margin-inline: -.375rem; padding-inline: .375rem; border-radius: 4px; color: inherit; text-decoration: none; }
|
|
411
|
+
a.tc-tip-entry:hover { background: var(--surface-2); }
|
|
412
|
+
.tc-tip-entry + .tc-tip-entry { margin-top: .375rem; padding-top: .4375rem; border-top: 1px solid var(--rule); }
|
|
413
|
+
.tc-tip strong { font-weight: 600; }
|
|
414
|
+
.tc-tip code { color: var(--muted); font-size: .75rem; }
|
|
415
|
+
.tc-tip-subject { max-width: 18rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: .8125rem; }
|
|
416
|
+
.tc-tip-value { margin-top: .25rem; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
417
|
+
.tc-tip-change { font-size: .8125rem; font-weight: 500; color: var(--secondary); }
|
|
418
|
+
.tc-tip-change[data-direction="better"] { color: var(--good); }
|
|
419
|
+
.tc-tip-change[data-direction="worse"] { color: var(--bad); }
|
|
420
|
+
.tc-tip-note { color: var(--secondary); }
|
|
421
|
+
.tc-flag-best { fill: var(--flag-good); }
|
|
422
|
+
.tc-flag-worst { fill: var(--flag-bad); }
|
|
423
|
+
.tc-tip-flag { display: flex; align-items: center; gap: .375rem; margin-top: .125rem; font-weight: 500; }
|
|
424
|
+
.tc-tip-flag svg { flex: none; width: .6875rem; height: .875rem; }
|
|
425
|
+
.spark { display: block; overflow: visible; }
|
|
426
|
+
.spark-line { fill: none; stroke: var(--series); stroke-width: 1.75; }
|
|
427
|
+
.spark-dot { fill: var(--series); }
|
|
428
|
+
|
|
429
|
+
/* Trends page */
|
|
430
|
+
.trend-nav { display: grid; gap: 1.125rem; }
|
|
431
|
+
.trend-group h3 { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 1.5rem; margin: 0 0 .3rem; padding: 0 .5rem 0 .75rem; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
|
|
432
|
+
/* A group's reading: the grade or the coverage in its colour when it earns one, the size plain. */
|
|
433
|
+
.trend-reading { flex: none; min-width: 1.25rem; padding: 0 .4rem; border-radius: 999px; background: var(--rule); color: var(--secondary); font-size: .75rem; font-weight: 600; letter-spacing: 0; line-height: 1.25rem; text-align: center; text-transform: none; font-variant-numeric: tabular-nums; }
|
|
434
|
+
.trend-reading-grade, .trend-reading-good { color: #fff; background: var(--grade-a); }
|
|
435
|
+
.trend-reading-grade[data-grade="B"] { background: var(--grade-b); }
|
|
436
|
+
.trend-reading-grade[data-grade="C"] { background: var(--grade-c); }
|
|
437
|
+
.trend-reading-grade[data-grade="D"] { background: var(--grade-d); }
|
|
438
|
+
.trend-reading-grade[data-grade="F"] { background: var(--grade-f); }
|
|
439
|
+
.trend-group ul { margin: 0; padding: 0; list-style: none; }
|
|
440
|
+
.trend-group a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 32px; padding: 0 .5rem 0 .75rem; border-radius: 6px; color: var(--secondary); font-size: .875rem; text-decoration: none; }
|
|
441
|
+
.trend-group a:hover { color: var(--ink); background: var(--surface-2); }
|
|
442
|
+
.trend-group a[aria-current] { color: var(--ink); background: var(--surface-2); font-weight: 500; }
|
|
443
|
+
.trend-value { flex: none; color: var(--ink); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
444
|
+
.trend-select { display: none; }
|
|
445
|
+
.trend-main { min-width: 0; }
|
|
446
|
+
.trend-frame.panel { padding: 1.25rem 1.5rem 1rem; }
|
|
447
|
+
/* What a chart means and how to read it is set like its key: small, secondary grey. */
|
|
448
|
+
.trend-frame > .detail { margin: .5rem 0 0; }
|
|
449
|
+
.trend-frame > .detail, #trend-detail { font-size: .75rem; color: var(--secondary); }
|
|
450
|
+
.trend-frame-tools { display: flex; justify-content: flex-end; margin-bottom: .25rem; }
|
|
451
|
+
.trend-frame-tools select { min-height: 2rem; font-size: .8125rem; }
|
|
452
|
+
.trend-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .75rem 1.5rem; margin-bottom: 1rem; }
|
|
453
|
+
.trend-headline { margin: 0 0 .25rem; font-size: 1.25rem; }
|
|
454
|
+
.trend-head .detail { max-width: 40rem; }
|
|
455
|
+
.trend-head > :first-child { flex: 1 1 16rem; min-width: 0; }
|
|
456
|
+
.trend-period select { min-width: 11rem; }
|
|
457
|
+
.trend-subhead { margin-top: 1.75rem; }
|
|
458
|
+
.trend-main .revisions { margin-top: 2rem; }
|
|
459
|
+
.change[data-direction="better"] { color: var(--good); }
|
|
460
|
+
.change[data-direction="worse"] { color: var(--bad); }
|
|
461
|
+
.change:not([data-direction]) { color: var(--muted); }
|
|
462
|
+
|
|
463
|
+
.profile-event { margin-bottom: .8rem; padding: .5rem .7rem; color: var(--notice); background: var(--notice-bg); border-radius: 6px; font-size: .875rem; }
|
|
464
|
+
.section-intro { margin-bottom: 1rem; }
|
|
465
|
+
|
|
466
|
+
/* Components */
|
|
467
|
+
.component table a { overflow-wrap: anywhere; }
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
/* Tables */
|
|
471
|
+
.table-scroll { overflow: auto; max-width: 100%; }
|
|
472
|
+
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
|
|
473
|
+
th, td { padding: .5rem .75rem; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--rule); }
|
|
474
|
+
thead th { color: var(--secondary); font-size: .75rem; font-weight: 500; white-space: nowrap; }
|
|
475
|
+
tbody th { font-weight: 500; }
|
|
476
|
+
tbody tr:hover { background: var(--band); }
|
|
477
|
+
tbody tr.current { background: var(--selected); }
|
|
478
|
+
tbody tr:last-child > * { border-bottom: 0; }
|
|
479
|
+
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
|
|
480
|
+
.commit { display: inline-flex; align-items: center; white-space: nowrap; }
|
|
481
|
+
|
|
482
|
+
/* Projects index */
|
|
483
|
+
.project-index tbody a { display: inline-flex; align-items: center; font-weight: 600; }
|
|
484
|
+
.grade-inline { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: .55rem; border-radius: 5px; color: #fff; font-size: .8125rem; font-weight: 650; vertical-align: middle; }
|
|
485
|
+
.project-index td:last-child { color: var(--secondary); white-space: nowrap; }
|
|
486
|
+
|
|
487
|
+
@media (max-width: 72rem) {
|
|
488
|
+
.overview-grid:has(> aside:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
|
|
489
|
+
.public-panel { max-width: 36rem; }
|
|
490
|
+
.overview-aside { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; }
|
|
491
|
+
.overview-aside > :not(#overview-sunburst) { grid-column: 2; }
|
|
492
|
+
.overview-aside #overview-sunburst { grid-row: 1 / span 4; }
|
|
493
|
+
}
|
|
494
|
+
@media (max-width: 52rem) {
|
|
495
|
+
.verdicts { grid-auto-flow: row; }
|
|
496
|
+
.verdict { border-left: 0; border-top: 1px solid var(--rule); min-height: 4.5rem; }
|
|
497
|
+
.verdict:first-child { border-top: 0; }
|
|
498
|
+
.verdict:has(.verdict-tab[aria-selected="true"]) { box-shadow: inset 3px 0 0 var(--accent); }
|
|
499
|
+
.lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
500
|
+
.overview-aside { display: block; }
|
|
501
|
+
.trends-layout > .trend-picker { order: -1; }
|
|
502
|
+
.trend-nav { display: none; }
|
|
503
|
+
.trend-select { display: grid; }
|
|
504
|
+
}
|
|
505
|
+
@media (max-width: 40rem) {
|
|
506
|
+
.topbar-row { padding-top: 1rem; }
|
|
507
|
+
/* A phone reads the report; the raw data download belongs to a desk. */
|
|
508
|
+
.inspection-meta { display: none; }
|
|
509
|
+
.commit-control { width: 100%; margin-left: 0; }
|
|
510
|
+
.commit-control.open { width: 100%; }
|
|
511
|
+
.verdict { min-height: 3.5rem; padding-block: .625rem; gap: .75rem; }
|
|
512
|
+
.verdict .mark, .ring svg { width: 2.125rem; height: 2.125rem; font-size: 1.0625rem; }
|
|
513
|
+
h1 { font-size: 1.375rem; }
|
|
514
|
+
.verdict, .trend { padding-inline: 1rem; }
|
|
515
|
+
.figure { padding-inline: .6rem; }
|
|
516
|
+
.figure-value { font-size: 1.5rem; }
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/* Links inside lists and tables read by colour; the underline appears on hover. */
|
|
520
|
+
:is(table, .fx-ranking, .fx-function-list, .fx-breadcrumbs, .fx-event-list) a:not(:hover) { text-decoration: none; }
|
|
521
|
+
|
|
522
|
+
/* Touch screens keep 44 px targets; a mouse gets the denser desktop rhythm. */
|
|
523
|
+
@media (pointer: coarse) {
|
|
524
|
+
:root { --control: 2.75rem; }
|
|
525
|
+
.tabs a { min-height: 44px; }
|
|
526
|
+
.trend-group a, .overview-hotspot-list a { min-height: 44px; }
|
|
527
|
+
th, td { padding-block: .625rem; }
|
|
528
|
+
}
|
|
529
|
+
.revisions .section-heading { margin-bottom: .25rem; }
|
|
530
|
+
.revisions-filter input { width: 15rem; }
|
|
531
|
+
.revisions th[scope="row"] { font-weight: 400; }
|
|
532
|
+
.revision-key { display: flex; align-items: baseline; gap: .625rem; max-width: clamp(12rem, 40vw, 34rem); }
|
|
533
|
+
.revision-time, .revisions td { white-space: nowrap; }
|
|
534
|
+
.revision-subject { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--secondary); }
|
|
535
|
+
.revisions-more { display: block; width: 100%; min-height: var(--control); margin-top: .5rem; font-size: .875rem; color: var(--secondary); background: var(--band); border: 1px solid var(--rule); border-radius: 6px; }
|
|
536
|
+
.revisions-more:hover { color: var(--ink); border-color: var(--rule-strong); }
|
|
537
|
+
.revisions table { font-variant-numeric: tabular-nums; }
|
|
538
|
+
.change[data-direction="same"] { color: var(--muted); }
|
|
539
|
+
.figure-delta:empty { display: none; }
|
|
540
|
+
.lead-empty { grid-column: 1 / -1; margin: 0; padding: .25rem 1rem; font-size: .875rem; color: var(--muted); }
|
|
541
|
+
.project-index .topbar-row { padding-bottom: .875rem; }
|
|
542
|
+
.project-index .section-heading { align-items: center; }
|
|
543
|
+
.project-filter input { width: 15rem; }
|
|
544
|
+
.project-sort { grid-auto-flow: column; align-items: center; gap: .5rem; }
|
|
545
|
+
abbr.grade-inline { text-decoration: none; cursor: help; }
|
|
546
|
+
|
|
547
|
+
/* Every disclosure draws the same chevron as the selects: pointing right while closed, down while open. */
|
|
548
|
+
summary { list-style: none; }
|
|
549
|
+
summary::-webkit-details-marker { display: none; }
|
|
550
|
+
details:not(.fx-columns) > summary::before { content: ""; display: inline-block; flex: none; width: .625rem; height: .625rem; margin-right: .5rem; vertical-align: .05em; 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; }
|
|
551
|
+
details[open]:not(.fx-columns) > summary::before { transform: none; }
|
|
552
|
+
.fx-issue-summary::before { position: absolute; top: 50%; left: 1rem; margin: -.3125rem 0 0; }
|
|
553
|
+
.fx-issue-summary { position: relative; padding-left: 2.125rem; }
|
|
554
|
+
@media (prefers-reduced-motion: reduce) { details > summary::before { transition: none; } }
|
|
555
|
+
|
|
556
|
+
/* The Overview hotspot column while the inspection loads: placeholder rows of the real rows' size, or the previous
|
|
557
|
+
commit's map and ranking held dimmed until the new ones arrive. */
|
|
558
|
+
.overview-hotspot-stub li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .375rem; }
|
|
559
|
+
.overview-hotspot-stub li > span:first-child { display: grid; gap: .375rem; flex: 1; }
|
|
560
|
+
.stub-line { display: block; width: 55%; height: .875rem; border-radius: 3px; background: var(--surface-2); }
|
|
561
|
+
.stub-line-short { width: 80%; height: .625rem; }
|
|
562
|
+
.stub-chip { flex: none; width: 2.25rem; height: 1.5rem; border-radius: 6px; background: var(--surface-2); }
|
|
563
|
+
.overview-stale #overview-sunburst, .overview-stale #overview-hotspot-list { opacity: .45; transition: opacity .15s .1s; }
|
|
564
|
+
|
|
565
|
+
/* The footer: where the tool lives and on what terms. Light: a hairline, no fill; at the bottom of a short page. */
|
|
566
|
+
body { display: flex; flex-direction: column; }
|
|
567
|
+
body > main { flex: 1 0 auto; width: 100%; box-sizing: border-box; padding-bottom: 4rem; }
|
|
568
|
+
.site-footer { margin-top: auto; }
|
|
569
|
+
.site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; max-width: var(--content); margin: 0 auto; padding: 1rem clamp(1rem, 3vw, 2.5rem) 1.5rem; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }
|
|
570
|
+
.site-footer p { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin: 0; }
|
|
571
|
+
.site-footer a { display: inline-flex; align-items: center; gap: .4rem; color: var(--secondary); text-decoration: none; }
|
|
572
|
+
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
|
|
573
|
+
.site-footer-icon { width: 1rem; height: 1rem; fill: currentColor; }
|
|
574
|
+
|
|
575
|
+
/* A security level in a list: the letter of the security mark in its grade colour. */
|
|
576
|
+
.chip-level { color: #fff; background: var(--grade-a); }
|
|
577
|
+
.chip-level[data-level="1"] { background: var(--grade-b); }
|
|
578
|
+
.chip-level[data-level="2"] { background: var(--grade-c); }
|
|
579
|
+
.chip-level[data-level="3"] { background: var(--grade-d); }
|
|
580
|
+
.chip-level[data-level="4"] { background: var(--grade-f); }
|
|
581
|
+
@media (prefers-color-scheme: dark) { .chip-level { color: #0d1117; } }
|
|
582
|
+
/* An area with no chart says so once, in the chart's place; the figures under it would only repeat it. */
|
|
583
|
+
.verdict-card:has(#trend[data-empty="true"]) .lead:has(.lead-empty) { display: none; }
|
|
584
|
+
/* A lead figure that counts findings, files or a function leads to them, with a quiet underline. */
|
|
585
|
+
.figure-value a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; text-underline-offset: .15em; }
|
|
586
|
+
.figure-value a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.pull-picker { min-width: 12rem; }
|
|
2
|
+
.pull-picker { grid-auto-flow: column; align-items: center; gap: .5rem; }
|
|
3
|
+
.pull-revisions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; margin-bottom: .9rem; }
|
|
4
|
+
.pull-revisions time { margin-left: auto; }
|
|
5
|
+
.pull-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1.25rem; }
|
|
6
|
+
.pull-summary-block > .detail { margin-top: .85rem; }
|
|
7
|
+
.pull-fact { min-width: 0; border-top: 1px solid var(--rule); padding-top: .6rem; }
|
|
8
|
+
.pull-value { display: block; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; margin: .125rem 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
|
|
9
|
+
.pull-gate { display: inline-block; margin-top: .4rem; font-size: .8125rem; }
|
|
10
|
+
.pull-gate[data-status="failed"] { background: var(--bad-bg); color: var(--bad-ink); }
|
|
11
|
+
.pull-section { margin-top: 1.25rem; min-width: 0; }
|
|
12
|
+
.pull-section h3 { margin-bottom: .4rem; }
|
|
13
|
+
.pull-exclusions { margin-bottom: .65rem; overflow-wrap: anywhere; }
|
|
14
|
+
.pull-table { table-layout: auto; }
|
|
15
|
+
.pull-table th, .pull-table td { min-width: 0; vertical-align: top; overflow-wrap: anywhere; }
|
|
16
|
+
.pull-coverage-table thead th:not(:first-child) { text-align: right; overflow-wrap: normal; }
|
|
17
|
+
.pull-table td.numeric { white-space: nowrap; }
|
|
18
|
+
.pull-missed-lines { margin-top: .15rem; font-size: .875rem; font-weight: 400; color: var(--secondary); }
|
|
19
|
+
.pull-missed-lines summary { align-content: center; min-height: 44px; cursor: pointer; color: var(--accent); width: fit-content; }
|
|
20
|
+
.pull-missed-lines span { display: block; margin-bottom: .45rem; }
|
|
21
|
+
.pull-gaps { margin: .25rem 0 0; padding-left: 1.25rem; color: var(--secondary); overflow-wrap: anywhere; }
|
|
22
|
+
.pull-trend-axis, .pull-trend-list { --label-width: 10.5rem; --result-width: 12rem; --column-gap: 1rem; }
|
|
23
|
+
.pull-trend-axis {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
margin-inline: calc(var(--label-width) + var(--column-gap)) calc(var(--result-width) + var(--column-gap));
|
|
27
|
+
font-size: .8125rem;
|
|
28
|
+
color: var(--secondary);
|
|
29
|
+
}
|
|
30
|
+
.pull-trend-list { margin: .45rem 0 0; padding: 0; list-style: none; }
|
|
31
|
+
.pull-trend-row {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-columns: var(--label-width) minmax(0, 1fr) var(--result-width);
|
|
34
|
+
column-gap: var(--column-gap);
|
|
35
|
+
align-items: center;
|
|
36
|
+
padding: .55rem 0;
|
|
37
|
+
border-top: 1px solid var(--rule);
|
|
38
|
+
}
|
|
39
|
+
.pull-trend-subject > *, .pull-trend-result > * { display: block; }
|
|
40
|
+
.pull-trend-result { font-variant-numeric: tabular-nums; }
|
|
41
|
+
.pull-trend-track { min-width: 0; height: .7rem; background: var(--accent-soft); }
|
|
42
|
+
.pull-trend-bar { height: 100%; background: var(--accent); }
|
|
43
|
+
.pull-trend-bar[data-status="partial"] { background: repeating-linear-gradient(135deg, var(--event) 0 3px, var(--notice-bg) 3px 7px); }
|
|
44
|
+
.pull-trend-empty { background: none; border-bottom: 1px dashed var(--rule); }
|
|
45
|
+
@media (max-width: 58rem) {
|
|
46
|
+
.pull-trend-axis { margin-inline: 0; }
|
|
47
|
+
.pull-trend-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: .3rem; }
|
|
48
|
+
.pull-trend-result { grid-column: 2; grid-row: 1; text-align: right; }
|
|
49
|
+
.pull-trend-track { grid-column: 1 / -1; }
|
|
50
|
+
}
|
|
51
|
+
@media (max-width: 42rem) {
|
|
52
|
+
.pull-revisions time { width: 100%; margin: 0; }
|
|
53
|
+
.pull-picker { min-width: 0; }
|
|
54
|
+
.pull-summary { column-gap: .65rem; }
|
|
55
|
+
.pull-fact > .detail:first-child { display: block; min-block-size: 2.5em; line-height: 1.25; }
|
|
56
|
+
.pull-table th, .pull-table td { padding-inline: .375rem; }
|
|
57
|
+
}
|
|
58
|
+
@media (max-width: 23rem) {
|
|
59
|
+
.pull-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.pull-heading { margin-bottom: 1rem; }
|
|
63
|
+
.pull-heading h2 { margin: 0; }
|
|
64
|
+
.pull-number { color: var(--muted); font-weight: 500; }
|