diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-26 19:47:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-26 19:47:03 +0200 |
| commit | df26fdf3e1667e7ea2e442bb554aa9632677c862 (patch) | |
| tree | b2ba1a0e668507a38c9c3d6bc0036452ba32002a /src/librustdoc/html/static/css/settings.css | |
| parent | e8a2e265b520e7bf72b4335a7d1185484366f0cf (diff) | |
| parent | e4b2b41290f6b49441b5b9c8e013458bc23caeeb (diff) | |
| download | rust-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:  r? ``````````@jsha``````````
Diffstat (limited to 'src/librustdoc/html/static/css/settings.css')
| -rw-r--r-- | src/librustdoc/html/static/css/settings.css | 21 |
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; -} |
