Sha256: 1c17fd56c1bef26a0195e6431588e72319fbfabc45148559afacc27c7ee2739c
Contents?: true
Size: 701 Bytes
Versions: 118
Compression:
Stored size: 701 Bytes
Contents
<h2>Icons</h2> <ul id="icons"> </ul> <script> var iconsEl = $('#icons'); for(var i = 0; i < document.styleSheets.length; i++) { var styleSheet = document.styleSheets[i]; var rules = styleSheet.rules; if (rules) { for(var j = 0; j < rules.length; j++) { var rule = rules[j]; if (rule.selectorText && (rule.selectorText.indexOf('hot-icon') === 1 || rule.selectorText.indexOf('svg__') === 1 )) { var template = "<li class=\"style-group__icons\"><div><i class=\"" + rule.selectorText.replace(".", "") + " style-group__icon\"></i></div><span>" + rule.selectorText + "</span></li>" iconsEl.append(template); } } } } </script>
Version data entries
118 entries across 118 versions & 1 rubygems