about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/settings.css
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-26 19:47:03 +0200
committerGitHub <noreply@github.com>2022-06-26 19:47:03 +0200
commitdf26fdf3e1667e7ea2e442bb554aa9632677c862 (patch)
treeb2ba1a0e668507a38c9c3d6bc0036452ba32002a /src/librustdoc/html/static/css/settings.css
parente8a2e265b520e7bf72b4335a7d1185484366f0cf (diff)
parente4b2b41290f6b49441b5b9c8e013458bc23caeeb (diff)
downloadrust-df26fdf3e1667e7ea2e442bb554aa9632677c862.tar.gz
rust-df26fdf3e1667e7ea2e442bb554aa9632677c862.zip
Rollup merge of #98297 - GuillaumeGomez:help-pocket-menu, r=notriddle
Transform help popup into a pocket menu

Just like we moved the settings menu into a "pocket menu", it's doing the same to the help popup.

You can test it [here](https://rustdoc.crud.net/imperio/help-pocket-menu/doc/foo/index.html) and here is a screenshot:

![Screenshot from 2022-06-20 20-58-29](https://user-images.githubusercontent.com/3050060/174663718-538e9d11-3bf9-48b2-8909-f9bfe75af135.png)

r? ``````````@jsha``````````
Diffstat (limited to 'src/librustdoc/html/static/css/settings.css')
-rw-r--r--src/librustdoc/html/static/css/settings.css21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/librustdoc/html/static/css/settings.css b/src/librustdoc/html/static/css/settings.css
index 1cd8e39e036..e531e6ce6bb 100644
--- a/src/librustdoc/html/static/css/settings.css
+++ b/src/librustdoc/html/static/css/settings.css
@@ -86,27 +86,6 @@ input:checked + .slider:before {
 	display: block;
 }
 
-div#settings {
-	position: absolute;
-	right: 0;
-	z-index: 1;
-	display: block;
-	margin-top: 7px;
-	border-radius: 3px;
-	border: 1px solid;
-}
 #settings .setting-line {
 	margin: 1.2em 0.6em;
 }
-/* This rule is to draw the little arrow connecting the settings menu to the gear icon. */
-div#settings::before {
-	content: '';
-	position: absolute;
-	right: 11px;
-	border: solid;
-	border-width: 1px 1px 0 0;
-	display: inline-block;
-	padding: 4px;
-	transform: rotate(-45deg);
-	top: -5px;
-}