about summary refs log tree commit diff
path: root/src/librustdoc/html/static/rustdoc.css
AgeCommit message (Collapse)AuthorLines
2018-10-21Hide items if they use default docsGuillaume Gomez-0/+5
2018-10-21Improve stability messages display a bitGuillaume Gomez-12/+14
2018-10-11Fix mobile doc displayGuillaume Gomez-13/+24
2018-10-09Add line numbers option to rustdocGuillaume Gomez-0/+18
2018-10-04rustdoc: overflow:auto doesn't work nicely on small screensKazuyoshi Kato-1/+0
This property was introduced by 3f92ff34b5, but looks it doesn't overwrap even without the property. Fixes #54672.
2018-09-19Reduce code block sides paddingGuillaume Gomez-1/+1
2018-09-12Auto merge of #53409 - GuillaumeGomez:associated-const-value, r=QuietMisdreavusbors-0/+8
Don't show associated const value anymore Part of #44348. Before: <img width="1440" alt="screen shot 2018-08-16 at 00 48 30" src="https://user-images.githubusercontent.com/3050060/44177414-20ef1480-a0ee-11e8-80d4-7caf082cf0de.png"> After: <img width="1440" alt="screen shot 2018-08-16 at 00 48 23" src="https://user-images.githubusercontent.com/3050060/44177417-251b3200-a0ee-11e8-956a-4229275e3342.png"> cc @nox r? @QuietMisdreavus
2018-09-06Fix hover on implsGuillaume Gomez-9/+15
2018-08-30Rollup merge of #53806 - GuillaumeGomez:fix-ui-issues-foreign-type-impls, ↵Pietro Albini-0/+3
r=QuietMisdreavus Fix UI issues on Implementations on Foreign types Fixes #53800. <img width="1440" alt="screen shot 2018-08-29 at 22 06 35" src="https://user-images.githubusercontent.com/3050060/44814733-e9986180-abdd-11e8-97e0-0e3c1816ca04.png"> r? @QuietMisdreavus
2018-08-29Fix UI issues on Implementations on Foreign typesGuillaume Gomez-0/+3
2018-08-27Fix invalid display of unstable messagesGuillaume Gomez-0/+5
2018-08-26Rollup merge of #53706 - ehuss:rustdoc-section-anchor, r=GuillaumeGomezGuillaume Gomez-3/+2
rustdoc: Fix gap on section anchor symbol when hovering. Fixes #49485 for section headings.
2018-08-26Rollup merge of #53043 - GuillaumeGomez:improve-unstable-msg-display, ↵Guillaume Gomez-0/+13
r=QuietMisdreavus Improve unstable message display Fixes #51387. Reopening of #51563. New display: <img width="1440" alt="screen shot 2018-08-04 at 00 01 39" src="https://user-images.githubusercontent.com/3050060/43667793-dc14f708-9779-11e8-9808-f3ff126fc213.png"> r? @QuietMisdreavus
2018-08-25rustdoc: Fix gap on section anchor symbol when hovering.Eric Huss-3/+2
Fixes #49485 for section headings.
2018-08-25Don't show associated const value anymoreGuillaume Gomez-0/+8
2018-08-05Change rustdoc style so fully qualified names do not overlap src linksMike Boutin-5/+2
A type's fully qualified name will now wrap once it gets to the `[-][src]` link aligned against the right edge of the content area. Previously the two would overlap and the name would only wrap when hitting the edge of the content area. The `[-][src]` link will main at the top of the header.
2018-08-04Rollup merge of #53050 - carols10cents:rustdoc-moar-room, r=GuillaumeGomezkennytm-1/+1
Make left column of rustdoc search results narrower To make more room for the description of the item The description often has useful text that helps disambiguate between search results, but very little of it is shown. As a side effect, this breaks the alignment between the search results and the "In Return Types" tab, which tends to line up above the description-- up until I started investigating this, I thought "In Names"/"In Parameters"/"In Return Types" were column headers and I just never saw search results that had info for the "In Parameters" middle column! Now, with the two columns of search results each taking up about a half, they look more like tabs than column headers. Types that are long still wrap and look good-- I made some artificially long types in the following screenshots. Before screenshot: <img width="1258" alt="screen shot 2018-08-03 at 8 32 35 pm" src="https://user-images.githubusercontent.com/193874/43670805-56e3b3b4-975e-11e8-9296-600837d03de2.png"> After screenshot: <img width="1239" alt="screen shot 2018-08-03 at 8 31 17 pm" src="https://user-images.githubusercontent.com/193874/43670810-6591f9ac-975e-11e8-9e12-4ea9ab1e5806.png">
2018-08-03Make left column of rustdoc search results narrowerCarol (Nichols || Goulding)-1/+1
To make more room for the description of the item
2018-08-03Make entire row of doc search results clickableCarol (Nichols || Goulding)-0/+5
By adding empty `after` content that clears and is `display: block`. Technique found here: https://stackoverflow.com/a/7817313/51683 Now any part of a documentation search result that is highlighted when you hover over it should also be clickable.
2018-08-04Improve unstable message displayGuillaume Gomez-0/+13
2018-07-18Updated wording and placement of non-exhaustive notice so it is collapsed by ↵David Wood-1/+5
default and easier to understand.
2018-06-13Greatly improve tables display in docsGuillaume Gomez-7/+3
2018-06-04Add doc keyword supportGuillaume Gomez-0/+5
2018-06-03Auto merge of #51319 - Mark-Simulacrum:rollup, r=Mark-Simulacrumbors-1/+2
Rollup of 6 pull requests Successful merges: - #51143 (Specify that packed types must derive, not implement, Copy) - #51226 (Make Layout's align a NonZeroUsize) - #51297 (Fix run button style) - #51306 (impl Default for &mut str) - #51312 (Clarify the difference between get_mut and into_mut for OccupiedEntry) - #51313 (use type name in E0599 enum variant suggestion) Failed merges:
2018-06-02Add attributes for trait and methods as wellGuillaume Gomez-3/+12
2018-06-02Fix run button styleGuillaume Gomez-1/+2
2018-05-30Fixes some style issues in rustdoc "implementations on Foreign types"Guillaume Gomez-2/+21
2018-05-21rustdoc: set tab width in rust source blocksQuietMisdreavus-0/+2
2018-04-17Add rustdoc settings menuGuillaume Gomez-2/+17
2018-04-10Auto merge of #49504 - GuillaumeGomez:doc-all-types, r=QuietMisdreavusbors-0/+18
Add page to list all crate's items r? @QuietMisdreavus
2018-04-04Add page to list all crate's itemsGuillaume Gomez-0/+18
2018-03-30Fix anchor position on fieldsGuillaume Gomez-0/+3
2018-03-30Rollup merge of #49443 - GuillaumeGomez:fix-tooltip-position, r=QuietMisdreavuskennytm-2/+4
Fix tooltip position r? @QuietMisdreavus
2018-03-28Fix tooltip positionGuillaume Gomez-2/+4
2018-03-28Rollup merge of #49442 - GuillaumeGomez:text-overlap, r=QuietMisdreavuskennytm-4/+26
Fix text overlap Fixes #49006. r? @QuietMisdreavus
2018-03-28Fix text overlapGuillaume Gomez-4/+26
2018-03-27Fix search appearanceGuillaume Gomez-2/+15
2018-03-10Auto merge of #48755 - GuillaumeGomez:rustdoc-fixes, r=QuietMisdreavusbors-0/+3
Multiple rustdoc fixes Fixes #48733. r? @QuietMisdreavus
2018-03-09Fix anchor not always being put at the right placeGuillaume Gomez-0/+3
2018-03-06Fix sidebar horizontal scrollGuillaume Gomez-1/+1
2018-02-28Rollup merge of #48381 - GuillaumeGomez:rustdoc-theme-securities, ↵kennytm-0/+4
r=QuietMisdreavus Rustdoc theme securities Fixes #48375. Fixes #48376. r? @steveklabnik cc @QuietMisdreavus
2018-02-28Auto merge of #47894 - vi:rustdoc_foldable_impls, ↵bors-2/+21
r=GuillaumeGomez,QuietMisdreavus rustdoc: Foldable impl blocks Addresses #40363, #45720, #24483, #23986 and so on * Expands and refactors collapseDocs and toggleAllDocs * Adds [-] toggle to all impls (including inherent impl) * Makes it hiding though main css file, not though element inline style May need to be addressed: * "[-]" and anchor link copier are overlaid a bit * Inherent methods are also hidden by the global [-] toggle. * Auto-collapsing "Iterator" and so on by default is not implemented yet * Tested only shallowly and only in Chromiuim * No tests. Are there tests for css/js part here? * The new implementation may be a bit slower. What next steps are need to be done before the integration?
2018-02-20rustdoc: On mobile: hide §, adjust [+] positionVitaly _Vi Shukela-2/+6
2018-02-20Remove theme button outlineGuillaume Gomez-0/+4
2018-02-19rustdoc: Reposition the § per GuillaumeGomez requestVitaly _Vi Shukela-1/+5
2018-02-17rustdoc: Fix position of collapse-toggle on small screensVitaly _Vi Shukela-0/+4
2018-02-17rustdoc: Remove visual overlap between § and [+]Vitaly _Vi Shukela-2/+3
2018-02-08Hide theme button under menu in mobile mode and fix top margin issue (in ↵Guillaume Gomez-1/+1
mobile too)
2018-02-07Rollup merge of #47810 - GuillaumeGomez:fix-theme-but-position, ↵Manish Goregaokar-3/+28
r=QuietMisdreavus Fix rendering issues on mobile Fixes #47723 r? @QuietMisdreavus
2018-02-07rustdoc: Fix doc and impl collapsing on small screensVitaly _Vi Shukela-1/+2