Skip to content

Improve the style of the sidebar in rustdoc output - #40265

Merged
bors merged 1 commit into
rust-lang:masterfrom
wesleywiser:rustdoc_style
Mar 9, 2017
Merged

Improve the style of the sidebar in rustdoc output#40265
bors merged 1 commit into
rust-lang:masterfrom
wesleywiser:rustdoc_style

Conversation

@wesleywiser

Copy link
Copy Markdown
Member

Makes the sidebar a light grey and highlights the currently viewed item in the sidebar more prominently.

All visual design credit goes to @johnwhelchel (#37856)

Sample screenshots:

screen shot 2017-03-04 at 12 29 48 pm

screen shot 2017-03-04 at 12 30 10 pm

screen shot 2017-03-04 at 12 30 31 pm

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

@frewsxcvfrewsxcv added A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-tools labels Mar 4, 2017
@steveklabnik

Copy link
Copy Markdown
Contributor

@bors: r+ rollup

thanks!

@bors

bors commented Mar 5, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 5bc2687 has been approved by steveklabnik

@bors

bors commented Mar 5, 2017

Copy link
Copy Markdown
Collaborator

🔒 Merge conflict

@wesleywiser

Copy link
Copy Markdown
MemberAuthor

@steveklabnik rebased

@frewsxcv

Copy link
Copy Markdown
Contributor

As far as I can tell, the build orchestration tool (powering bors) is currently broken, which is causing everything to be incorrectly errored as a merge conflict. We'll need to wait for that to get fixed before approving it again.

@wesleywiser

wesleywiser commented Mar 5, 2017 via email

Copy link
Copy Markdown
MemberAuthor

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

color changes shouldn't be in this file but in src/librustdoc/html/static/styles/main.css.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

@wesleywiser

Copy link
Copy Markdown
MemberAuthor

@GuillaumeGomez Fixed

@GuillaumeGomezGuillaumeGomez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one last change and it's good!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be just:

border:1px solid;

Instead of:

border-width:1px;
border-style: solid;

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I didn't even know you could do that.

Makes the sidebar a light grey and highlights the currently viewed item
in the sidebar more prominently.
All visual design credit goes to @johnwhelchel (rust-lang#37856)
@wesleywiser

Copy link
Copy Markdown
MemberAuthor

@GuillaumeGomez Fixed

@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks!

@bors: r+ rollup

@bors

bors commented Mar 7, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 2bb2a29 has been approved by GuillaumeGomez

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 8, 2017
…umeGomez
Improve the style of the sidebar in rustdoc output
Makes the sidebar a light grey and highlights the currently viewed item in the sidebar more prominently.
All visual design credit goes to @johnwhelchel (rust-lang#37856)
Sample screenshots:
![screen shot 2017-03-04 at 12 29 48 pm](https://cloud.githubusercontent.com/assets/831192/23580829/db6c26c2-00d6-11e7-8d89-822e25ba79f0.png)
![screen shot 2017-03-04 at 12 30 10 pm](https://cloud.githubusercontent.com/assets/831192/23580828/db69eeca-00d6-11e7-9f89-1e06fd3bf098.png)
![screen shot 2017-03-04 at 12 30 31 pm](https://cloud.githubusercontent.com/assets/831192/23580830/db6d00ce-00d6-11e7-89ca-cd03e148a121.png)
@frewsxcvfrewsxcv mentioned this pull request Mar 8, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 8, 2017
…umeGomez
Improve the style of the sidebar in rustdoc output
Makes the sidebar a light grey and highlights the currently viewed item in the sidebar more prominently.
All visual design credit goes to @johnwhelchel (rust-lang#37856)
Sample screenshots:
![screen shot 2017-03-04 at 12 29 48 pm](https://cloud.githubusercontent.com/assets/831192/23580829/db6c26c2-00d6-11e7-8d89-822e25ba79f0.png)
![screen shot 2017-03-04 at 12 30 10 pm](https://cloud.githubusercontent.com/assets/831192/23580828/db69eeca-00d6-11e7-9f89-1e06fd3bf098.png)
![screen shot 2017-03-04 at 12 30 31 pm](https://cloud.githubusercontent.com/assets/831192/23580830/db6d00ce-00d6-11e7-89ca-cd03e148a121.png)
@frewsxcvfrewsxcv mentioned this pull request Mar 8, 2017
arielb1 pushed a commit to arielb1/rust that referenced this pull request Mar 8, 2017
…umeGomez
Improve the style of the sidebar in rustdoc output
Makes the sidebar a light grey and highlights the currently viewed item in the sidebar more prominently.
All visual design credit goes to @johnwhelchel (rust-lang#37856)
Sample screenshots:
![screen shot 2017-03-04 at 12 29 48 pm](https://cloud.githubusercontent.com/assets/831192/23580829/db6c26c2-00d6-11e7-8d89-822e25ba79f0.png)
![screen shot 2017-03-04 at 12 30 10 pm](https://cloud.githubusercontent.com/assets/831192/23580828/db69eeca-00d6-11e7-9f89-1e06fd3bf098.png)
![screen shot 2017-03-04 at 12 30 31 pm](https://cloud.githubusercontent.com/assets/831192/23580830/db6d00ce-00d6-11e7-89ca-cd03e148a121.png)
@arielb1arielb1 mentioned this pull request Mar 8, 2017
bors added a commit that referenced this pull request Mar 9, 2017
@bors
bors merged commit 2bb2a29 into rust-lang:masterMar 9, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@wesleywiser@rust-highfive@steveklabnik@bors@frewsxcv@GuillaumeGomez