summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/settings.css
AgeCommit message (Collapse)AuthorLines
2022-10-19rustdoc: move `setting-line` color CSS to settings.cssMichael Howell-0/+19
2022-09-28rustdoc: clean up "normalize.css 8" input override CSSMichael Howell-1/+2
These rules were copied from normalize.css 3, and are mostly redundant. * `optgroup` isn't used in rustdoc at all * `textarea` is only used for the "copy" button, so it's not visible * The remaining buttons and inputs mostly have styles set anyway. * We should never be setting `color` without also setting the background to something. Otherwise, you get white-on-gray text. That seems to be [the reason] why `normalize.css` changed this. [the reason]: https://github.com/necolas/normalize.css/pull/502
2022-07-27Fix settings display on small screen sizeGuillaume Gomez-2/+1
2022-06-23Move help popup into a pocket menu as wellGuillaume Gomez-21/+0
2022-05-30Move theme rules out of settings.cssGuillaume Gomez-9/+0
2022-05-30Improve display of settings radio buttonsGuillaume Gomez-24/+20
2022-05-24Allow to click on toggle text to update itGuillaume Gomez-6/+34
2022-05-11Remove unused CSS settings rulesGuillaume Gomez-36/+0
2022-01-31Improve wrapping on settings pageJacob Hoffman-Andrews-7/+9
Previously, the radio button choices for themes would wrap awkwardly on narrow screens. With this change, the group of choices will prefer bumping down to the next line together, leaving the setting name on its own line. Also fix some minor spacing issues: - Align the setting name vertically with the radio button choices. - Use margin instead of padding for most spacing choices. - Use no margin/padding on the right-hand side.
2022-01-23rustdoc settings: use radio buttons for themeJacob Hoffman-Andrews-0/+24
This reduces the number of clicks required to change theme. Also, simplify the UI a bit (remove setting grouping), and add a "Back" link close to the settings icon.
2021-07-07Clean up rustdoc static filesGuillaume Gomez-0/+107