about summary refs log tree commit diff
path: root/src/librustdoc/html/static/themes
AgeCommit message (Collapse)AuthorLines
2020-07-28ayu theme: Change doccomment color to `#a1ac88`Lzu Tao-3/+2
Co-authored-by: Cldfire <cldfire@3grid.net>
2020-07-26Don't italicize comments in ayu themeJarek Samic-1/+0
2020-07-24Rollup merge of #74504 - lzutao:ayu-border-selected-fn, r=GuillaumeGomezYuki Okushi-1/+3
Add right border bar to Dark and Light theme Demo: Light theme: https://github.com/rust-lang/rust/pull/74504#issuecomment-662491120 Dark theme: https://github.com/rust-lang/rust/pull/74504#issuecomment-662522446 Ayu theme: https://github.com/rust-lang/rust/pull/74504#issuecomment-662625685
2020-07-24Rollup merge of #74361 - GuillaumeGomez:theme-logo, r=ManishearthYuki Okushi-0/+12
Improve doc theme logo display Fixes #74350. The first commit cleans up the whitespaces and converts them to tabs. We should definitely write a tidy check for this (will do it in another PR). Screenshots: ![Screenshot from 2020-07-15 14-08-25](https://user-images.githubusercontent.com/3050060/87543748-8581c800-c6a5-11ea-8417-cbf98ebbfd10.png) ![Screenshot from 2020-07-15 14-11-59](https://user-images.githubusercontent.com/3050060/87543747-84e93180-c6a5-11ea-8cea-976b1470e809.png) ![Screenshot from 2020-07-15 14-12-12](https://user-images.githubusercontent.com/3050060/87543745-84509b00-c6a5-11ea-8324-c3c46ab2d9ef.png) r? @lzutao cc @Cldfire
2020-07-24Add right border bar to Dark and Light themeLzu Tao-0/+2
Ayu has it. Adding similar rule to other themes makes users less surprised and makes GUI more consistent.
2020-07-24ayu: Change to less luminous colorLzu Tao-1/+1
Co-authored-by: Cldfire <cldfire@3grid.net>
2020-07-20Rollup merge of #74505 - Cldfire:fix-search-focus, r=GuillaumeGomezManish Goregaokar-10/+0
Fix search input focus in ayu theme Closes #74496. Before: ![image](https://user-images.githubusercontent.com/13814214/87868463-d0c8fe80-c963-11ea-9003-aa578d869e98.png) After: ![image](https://user-images.githubusercontent.com/13814214/87868467-dc1c2a00-c963-11ea-89a8-1280f68ff9df.png)
2020-07-19Ayu: use different background color to make Run button easy-to-spotLzu Tao-4/+3
Co-authored-by: Cldfire <cldfire@3grid.net>
2020-07-19Fix search input focus in ayu themeJarek Samic-10/+0
2020-07-19Add an border around the Run buttonLzu Tao-0/+1
2020-07-17Fix tidy issuesGuillaume Gomez-12/+22
2020-07-17Convert whitespaces to tabsGuillaume Gomez-44/+54
2020-07-17Improve logo image display in different themesGuillaume Gomez-0/+12
2020-07-16Rollup merge of #74371 - Aloso:patch-1, r=GuilliameGomezManish Goregaokar-9/+6
Improve ayu rustdoc theme This PR changes the following: * It makes some lines darker * It gives the crate selector and search bar a border * The search bar's border turns blue when focused * ~~Gives the logo a bright shadow.~~ For standard library crates, it would be better to invert the logo, but that would be bad for crates with a colored logo, e.g. [async-std](https://docs.rs/async-std/1.6.2/async_std/). Before: ![old](https://user-images.githubusercontent.com/15658558/87576611-ed4e0800-c6d1-11ea-9667-3924702f79e2.png) After (note that this PR no longer includes the white shadow of the logo): ![new](https://user-images.githubusercontent.com/15658558/87576621-ef17cb80-c6d1-11ea-8e15-5d7f8b180c07.png)
2020-07-16Rollup merge of #74351 - lzutao:remove-rustc-internal-compiler-warns, ↵Manish Goregaokar-16/+0
r=Mark-Simulacrum Do not render unstable items for rustc doc See the zulip conversion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/rustc.20doc.3A.20.22internal.20compiler.20API.22.20warns.20are.20everywhere!/near/203850782 Before: ![image](https://user-images.githubusercontent.com/15225902/87501971-9cff8780-c68a-11ea-93b4-ea53ce18a77b.png) After: ![image](https://user-images.githubusercontent.com/15225902/87501985-a7218600-c68a-11ea-81c0-a6b5b120832c.png) Nothing changes in unstable items of std: Before: ![image](https://user-images.githubusercontent.com/15225902/87502004-b7d1fc00-c68a-11ea-9224-a27a1d2a81d6.png) After: ![image](https://user-images.githubusercontent.com/15225902/87502018-c0c2cd80-c68a-11ea-9773-4c63158025cb.png) Closes #54682
2020-07-16Remove !important on border-color and background-colorManish Goregaokar-6/+6
2020-07-16Add Ayu theme for spotlightManish Goregaokar-0/+5
2020-07-16Make spotlight show on hoverManish Goregaokar-62/+6
This makes the spotlight show on hover instead of click. Clicks can be used to persist it, which is also what's used on mobile.
2020-07-16Revert "Remove "important traits" feature"Manish Goregaokar-0/+66
This reverts commit 1244ced9580b942926afc06815e0691cf3f4a846.
2020-07-15Remove drop-shadowLudwig Stecher-5/+0
2020-07-15Improve ayu rustdoc themeLudwig Stecher-9/+11
* It makes some lines darker * It gives the crate selector and search bar a border * The search bar's border turns blue when focused * Gives the logo a bright shadow. This makes dark logos stand out more
2020-07-15Remove unused CSS rules for internal rustc itemsLzu Tao-16/+0
2020-07-12Add Ayu theme to rustdocJarek Samic-0/+561
2020-06-18Added tooltip for should_panic code examples.Jake Degen-0/+32
Previously, compile_fail and ignore code examples displayed a tooltip indicating this in the documentation. This tooltip has now also been added to should_panic examples.
2020-04-07Extend sidebar scrollbar changes to all scrollbarsGuillaume Gomez-8/+29
2020-04-07Improve scrollbar display in rustdocGuillaume Gomez-0/+24
2020-03-14Make ignore and compile fail signs more visibleGuillaume Gomez-10/+11
2020-02-27Remove "important traits" featureGuillaume Gomez-66/+0
2020-01-09rustdoc: improve stability mark arrowsLiigo Zhuang-0/+4
2019-11-20Change background-color of search input if disabledGuillaume Gomez-0/+8
2019-10-29add sub settings in rustdocGuillaume Gomez-0/+6
2019-10-01Improve sidebar styling to make its integration easierGuillaume Gomez-2/+2
2019-05-02Fix search sidebar width when no crate select is presentGuillaume Gomez-7/+8
2019-04-16Fix dark css ruleGuillaume Gomez-3/+3
2019-03-26Fix code block display in portability element in dark themeGuillaume Gomez-0/+8
2019-02-20Rollup merge of #58384 - GuillaumeGomez:fix-table-display, r=QuietMisdreavuskennytm-23/+3
Fix tables display Fixes #58134. cc @lzutao r? @QuietMisdreavus
2019-02-20Rollup merge of #58303 - GuillaumeGomez:stability-tags-display, ↵kennytm-9/+9
r=QuietMisdreavus Improve stability tags display The issue was the font color on dark theme. Fixed now: <img width="352" alt="screenshot 2019-02-08 at 14 15 24" src="https://user-images.githubusercontent.com/3050060/52483276-bd810380-2bb3-11e9-8d46-95368569ac85.png"> r? @QuietMisdreavus
2019-02-19Fix tables displayGuillaume Gomez-23/+3
2019-02-10Add style for trait aliasesGuillaume Gomez-0/+4
2019-02-08Improve stability tags displayGuillaume Gomez-9/+9
2019-01-28Rollup merge of #57859 - GuillaumeGomez:fix-background, r=QuietMisdreavusMazdak Farrokhzad-8/+0
Fix invalid background color As discussed in #57814. r? @QuietMisdreavus
2019-01-23Fix invalid background colorGuillaume Gomez-8/+0
2019-01-15Fixes text becoming invisible when element targettedGuillaume Gomez-14/+2
2018-12-29Auto merge of #57006 - GuillaumeGomez:no-crate-filter, r=QuietMisdreavusbors-2/+10
Add no-crate filter option on rustdoc @onur asked me about it so here it is! r? @QuietMisdreavus
2018-12-25Remove licensesMark Rousskov-24/+0
2018-12-24Add no-crate filter option on rustdocGuillaume Gomez-2/+10
2018-12-20display rustc_private APIs as "Internal"Andy Russell-0/+10
2018-12-06Rollup merge of #56332 - GuillaumeGomez:specifi-crate-search, r=QuietMisdreavusPietro Albini-2/+15
[rustdoc] Specific crate search Reopening of #54706. Fixes #54616. <img width="1440" alt="screenshot 2018-11-29 at 01 29 11" src="https://user-images.githubusercontent.com/3050060/49191372-979adf80-f376-11e8-963e-e4feb927c1da.png"> r? @QuietMisdreavus
2018-12-05Rollup merge of #55563 - GuillaumeGomez:doc-search-sentence, r=QuietMisdreavusPietro Albini-2/+2
Improve no result found sentence in doc search Fixes #55531. Look: <img width="1440" alt="screenshot 2018-11-01 at 02 21 56" src="https://user-images.githubusercontent.com/3050060/47827257-f6236c80-dd7c-11e8-9ea9-99c8cb4b2de5.png"> r? @QuietMisdreavus
2018-11-28Add crate filteringGuillaume Gomez-2/+15