about summary refs log tree commit diff
path: root/src/librustdoc/html/static/themes
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-10-01 00:47:54 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-11-28 19:33:33 +0100
commitdd717deccb3a4698beac8edb0a75e2efb6f08ebb (patch)
treed7e474fa30699d68c6e4b3db2b4191273f194e8b /src/librustdoc/html/static/themes
parentb76ee83254ec0398da554f25c2168d917ba60f1c (diff)
downloadrust-dd717deccb3a4698beac8edb0a75e2efb6f08ebb.tar.gz
rust-dd717deccb3a4698beac8edb0a75e2efb6f08ebb.zip
Add crate filtering
Diffstat (limited to 'src/librustdoc/html/static/themes')
-rw-r--r--src/librustdoc/html/static/themes/dark.css8
-rw-r--r--src/librustdoc/html/static/themes/light.css9
2 files changed, 15 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css
index 4a8950b236c..8fdf39ccaa1 100644
--- a/src/librustdoc/html/static/themes/dark.css
+++ b/src/librustdoc/html/static/themes/dark.css
@@ -182,9 +182,15 @@ a.test-arrow {
 	color: #999;
 }
 
+#crate-search {
+	color: #111;
+	background-color: #f0f0f0;
+	border-color: #000;
+}
+
 .search-input {
 	color: #111;
-	box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent;
+	box-shadow: 1px 0 0 1px #000, 0 0 0 2px transparent;
 	background-color: #f0f0f0;
 }
 
diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css
index b3b0b6b2ea9..425aa601e9b 100644
--- a/src/librustdoc/html/static/themes/light.css
+++ b/src/librustdoc/html/static/themes/light.css
@@ -182,9 +182,16 @@ a.test-arrow {
 	color: #999;
 }
 
+#crate-search {
+	color: #555;
+	background-color: white;
+	border-color: #e0e0e0;
+	box-shadow: 0px 0 0 1px #e0e0e0, 0 0 0 2px transparent;
+}
+
 .search-input {
 	color: #555;
-	box-shadow: 0 0 0 1px #e0e0e0, 0 0 0 2px transparent;
+	box-shadow: 1px 0 0 1px #e0e0e0, 0 0 0 2px transparent;
 	background-color: white;
 }