driver.js
driver.js copied to clipboard
Refactor SCSS
This PR introduces several changes to CSS:
- Replaces overqualified selectors like
div#driver-popover-item
by removingdiv
and targeting attribute. This makes it easier to override default styles by passing custom class hook. - Lowers specificity by removing nesting where not needed.
References:
- https://csswizardry.com/2014/07/hacks-for-dealing-with-specificity/
- http://thesassway.com/beginner/the-inception-rule