diff options
| author | Michael Howell <michael@notriddle.com> | 2023-05-22 16:40:01 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-05-22 16:40:01 -0700 |
| commit | 5570fdae88cc93579cf2a03e9e2211051b0ef263 (patch) | |
| tree | f55c9ef4e942efbf284b77e017c1c3b9bb205e59 | |
| parent | 8b4b20836b832e91aa605a2faf5e2a55190202c8 (diff) | |
| download | rust-5570fdae88cc93579cf2a03e9e2211051b0ef263.tar.gz rust-5570fdae88cc93579cf2a03e9e2211051b0ef263.zip | |
rustdoc: merge identical CSS rules
| -rw-r--r-- | src/librustdoc/html/static/css/settings.css | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/librustdoc/html/static/css/settings.css b/src/librustdoc/html/static/css/settings.css index 99cf8e443f0..ff46ccee6c6 100644 --- a/src/librustdoc/html/static/css/settings.css +++ b/src/librustdoc/html/static/css/settings.css @@ -15,11 +15,6 @@ .setting-radio input { border-radius: 50%; } -.setting-check input:checked { - content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">\ - <path d="M7,25L17,32L33,12" fill="none" stroke="black" stroke-width="5"/>\ - <path d="M7,23L17,30L33,10" fill="none" stroke="white" stroke-width="5"/></svg>'); -} .setting-radio span, .setting-check span { padding-bottom: 1px; @@ -52,6 +47,9 @@ .setting-check input:checked { background-color: var(--settings-input-color); border-width: 1px; + content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">\ + <path d="M7,25L17,32L33,12" fill="none" stroke="black" stroke-width="5"/>\ + <path d="M7,23L17,30L33,10" fill="none" stroke="white" stroke-width="5"/></svg>'); } .setting-radio input:focus, .setting-check input:focus { box-shadow: 0 0 1px 1px var(--settings-input-color); |
