diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-05-12 16:41:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-12 16:41:04 +0200 |
| commit | 231cd0fd7d8b091e76fe4493c4570aee96f68ed3 (patch) | |
| tree | 2b3667f38a05d9314c044a2d672f6412eb53128a /src/librustdoc/html/static/css/settings.css | |
| parent | 80e1dec10e989a559a63a85c63339cb2eb553168 (diff) | |
| parent | dd6bb09133f1f97db6a36024bf4e66489fc760c1 (diff) | |
Rollup merge of #96939 - GuillaumeGomez:settings-css, r=notriddle
Fix settings page CSS In https://github.com/rust-lang/rust/pull/96741, I moved the CSS loading outside of `settings.js`. The result was that on the settings page, there isn't the settings CSS anymore:  I also used this opportunity to remove unused CSS rules (we don't have `<select>` elements anymore in the settings). cc `@jsha` r? `@notriddle`
Diffstat (limited to 'src/librustdoc/html/static/css/settings.css')
| -rw-r--r-- | src/librustdoc/html/static/css/settings.css | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/librustdoc/html/static/css/settings.css b/src/librustdoc/html/static/css/settings.css index 7b337c2bc7a..07588748ad6 100644 --- a/src/librustdoc/html/static/css/settings.css +++ b/src/librustdoc/html/static/css/settings.css @@ -56,38 +56,6 @@ position: absolute; } -.select-wrapper { - float: right; - position: relative; - height: 27px; - min-width: 25%; -} - -.select-wrapper select { - appearance: none; - -moz-appearance: none; - -webkit-appearance: none; - background: none; - border: 2px solid #ccc; - padding-right: 28px; - width: 100%; -} - -.select-wrapper img { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - background: #ccc; - height: 100%; - width: 28px; - padding: 0px 4px; -} - -.select-wrapper select option { - color: initial; -} - .slider { position: absolute; cursor: pointer; @@ -96,7 +64,6 @@ right: 0; bottom: 0; background-color: #ccc; - -webkit-transition: .3s; transition: .3s; } @@ -108,7 +75,6 @@ left: 4px; bottom: 4px; background-color: white; - -webkit-transition: .3s; transition: .3s; } @@ -121,8 +87,6 @@ input:focus + .slider { } input:checked + .slider:before { - -webkit-transform: translateX(19px); - -ms-transform: translateX(19px); transform: translateX(19px); } |
