Skip to content

Commit 8117cf8

Browse files
benediktwernerJoshua Nelson
authored and
Joshua Nelson
committed
Fix help blurring whole page
1 parent 0e5e81b commit 8117cf8

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

templates/style/base.scss

+12-10
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,19 @@ body {
4141

4242
// this is a super nasty override for help dialog in rustdocs
4343
// see #52 for details
44-
.blur > :not(#help) {
45-
filter: none;
46-
-webkit-filter: none;
47-
}
44+
&.blur {
45+
> :not(#help) {
46+
filter: none;
47+
-webkit-filter: none;
48+
}
4849

49-
.blur > div.nav-container > *,
50-
.blur > div.cratesfyi-package-container > *,
51-
.blur > div.rustdoc > :not(#help) {
52-
filter: blur(8px);
53-
-webkit-filter: blur(8px);
54-
opacity: 0.7;
50+
> div.nav-container > *,
51+
> div.cratesfyi-package-container > *,
52+
> div.rustdoc > :not(#help) {
53+
filter: blur(8px);
54+
-webkit-filter: blur(8px);
55+
opacity: 0.7;
56+
}
5557
}
5658
}
5759

0 commit comments

Comments
 (0)