IET-OU / ou-web-ui

OU Web UI - HTML, CSS and JS framework for Open University Web Sites.
http://ou-web-ui.webhappens.co.uk
MIT License
1 stars 1 forks source link

Namespacing - certain elements (e.g. HTML/BODY) shouldn't be prefixed #1

Open jaybayley opened 7 years ago

jaybayley commented 7 years ago

When namespacing the Bootstrap framework with ouice, the Grunt tasks currently build the Bootstrap LESS files, and then import the resulting css file (as LESS) into the ouice namespace.

This prefixes all styles, including html, body etc - which causes a problem as these elements can never appear inside an element with the class ouice.

jaybayley commented 7 years ago

Suggested solution at present is to manually review all styling applied to html and body throughout the Bootstrap framework, and duplicate these styles inside a separate LESS file that is imported into ouice.less outside of the ouice namespace.