Skip to content

Clean up docs Sass code.#27443

Merged
XhmikosR merged 4 commits intov4-devfrom
v4-dev-xmr-clean-docs-css
Oct 20, 2018
Merged

Clean up docs Sass code.#27443
XhmikosR merged 4 commits intov4-devfrom
v4-dev-xmr-clean-docs-css

Conversation

@XhmikosR
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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