From 512db7e4381ce9c857ff3ae584acef0ef30c9c09 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 20 Jul 2022 03:28:19 +0200 Subject: Fix CSS on search input focus --- src/librustdoc/html/static/css/themes/dark.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/librustdoc/html/static/css/themes/dark.css') diff --git a/src/librustdoc/html/static/css/themes/dark.css b/src/librustdoc/html/static/css/themes/dark.css index aeaca7515f9..8e753f57682 100644 --- a/src/librustdoc/html/static/css/themes/dark.css +++ b/src/librustdoc/html/static/css/themes/dark.css @@ -159,7 +159,13 @@ details.rustdoc-toggle > summary::before { #crate-search, .search-input { color: #111; background-color: #f0f0f0; - /* Without the `!important`, the border-color is ignored for ``... + It cannot be in the group above because `.search-input` has a different border color on + hover. */ border-color: #f0f0f0 !important; } -- cgit 1.4.1-3-g733a5