mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-20 10:06:54 +03:00
Flatten linked stylesheet grouping rules and collect only selector rules that target the live DOM, preventing unused grouped and selector-less patterns from leaking into URL findings. AI assistance disclosure: Implemented and verified with Codex under maintainer direction.
21 lines
622 B
CSS
21 lines
622 B
CSS
@media (min-width: 1px) {
|
|
.flag-linked-stripes {
|
|
width: 160px;
|
|
height: 80px;
|
|
background: repeating-linear-gradient(45deg, #eee, #eee 10px, #fafafa 10px, #fafafa 20px);
|
|
}
|
|
}
|
|
|
|
/* Shipped but unused selectors must remain outside live URL findings, even
|
|
inside grouping rules or when their check does not serialize a selector. */
|
|
@supports (display: grid) {
|
|
.unused-linked-grid {
|
|
background: linear-gradient(90deg, #d9d9d9 1px, transparent 1px), linear-gradient(180deg, #d9d9d9 1px, transparent 1px);
|
|
background-size: 72px 72px;
|
|
}
|
|
}
|
|
|
|
.unused-linked-transition {
|
|
transition: width 200ms ease;
|
|
}
|