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

Simplify CSS selectors to comply with coding standards #32

Open
ashleykolodziej opened this issue Oct 19, 2016 · 0 comments
Open

Simplify CSS selectors to comply with coding standards #32

ashleykolodziej opened this issue Oct 19, 2016 · 0 comments
Assignees

Comments

@ashleykolodziej
Copy link

The CSS selectors here are long and difficult for people coding themes to override. Simplifying them shouldn't affect sites or custom sites as long as the HTML doesn't change, since more specific selectors will always override less specific ones. Our coding standards say that no more than three levels of nesting are allowed, and nesting should be avoided at all costs.

Here's an example: https://github.com/bu-ist/bu-slideshow/blob/master/interface/css/bu-slideshow.css#L422

Let's get these cleaned up! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant