export default class CssTools { static applyCSS(element,id,outerclass,classlisthint) { // Return if no CSS to apply if (classlisthint==null || (outerclass==null && id==null)) { return } let outerClassNames = outerclass.split(" ").map(x => "."+x) let outerCssSelectors = [...outerClassNames,"#"+id] let styleSheets = document.styleSheets let l = styleSheets.length for (let i=0; i