Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up docs Sass code. #27443

Merged
merged 4 commits into from
Oct 20, 2018
Merged

Clean up docs Sass code. #27443

merged 4 commits into from
Oct 20, 2018

Conversation

XhmikosR
Copy link
Member

  • remove unused rules
  • use Sass nesting in more places
  • use the core mixins in more places
  • use the color variables more

* remove unused rules
* use Sass nesting in more places
* use the core mixins in more places
* use the color variables more
@XhmikosR XhmikosR force-pushed the v4-dev-xmr-clean-docs-css branch from 528a4f3 to 7c5b3a8 Compare October 15, 2018 13:21
// .bd-brand-item .glyphicon-remove {
// background-color: #d9534f;
// }
// Heading content within
Copy link
Member

Choose a reason for hiding this comment

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

There are no headings in .bd-brand-item, this can be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

True, but note that I didn't remove all unused CSS. Just whatever I found while digging at it.

@MartijnCuppens
Copy link
Member

This is a nice cleanup. I think there is room for more improvements (eg. more usage of utility classes where needed), but that's something we can look into later.

Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

Diff looks good!

@XhmikosR
Copy link
Member Author

@MartijnCuppens: feel free to clean the docs Sass more later; I'm pretty sure we have more unused stuff there :)

@mdo mdo mentioned this pull request Oct 20, 2018
@XhmikosR XhmikosR merged commit 242f198 into v4-dev Oct 20, 2018
@XhmikosR XhmikosR deleted the v4-dev-xmr-clean-docs-css branch October 20, 2018 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants