web/a11y: Prefers more field contrast (#17279)

* web/a11y: Prefers more field contrast

* web: Fix issue where Lit Analyzer cannot parse newer CSS.

* web: Remove commented out code.

* web: Move styles into separate files, remove Lit Analyzer warnings.

* web: Fix nested pointer event detection.

* web: Fix contrast ratios, alignment, placeholders.
This commit is contained in:
Teffen Ellis
2025-10-28 06:12:37 +01:00
committed by GitHub
parent eae14f215a
commit 0237ec2723
28 changed files with 699 additions and 548 deletions

View File

@@ -0,0 +1,15 @@
.pf-c-card {
container-type: inline-size;
}
.pf-c-card__title {
@container (width < 200px) {
font-size: var(--pf-global--FontSize--sm);
}
}
.status-container {
@container (width < 200px) {
font-size: var(--pf-global--icon--FontSize--md);
}
}