From 6b64826469e7c8f31979389d97d565ec981a5c65 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Wed, 8 Jul 2015 14:52:58 +0100 Subject: [PATCH] librustdoc: blur page when help dialogue is present Blurs the document's background when the help dialogue is present, making the contents of the dialogue stand out more. --- src/librustdoc/html/layout.rs | 69 ++++++++++++++++------------- src/librustdoc/html/static/main.css | 27 +++++++---- src/librustdoc/html/static/main.js | 7 ++- 3 files changed, 62 insertions(+), 41 deletions(-) diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index 2c6f62060b2..18f8ce3385f 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -84,37 +84,44 @@ r##"