5 <title>ESLint Report</title>
8 font-family:Arial, "Helvetica Neue", Helvetica, sans-serif;
26 width:calc(100% - 60px);
29 border:1px solid #ddd;
38 td.clr-1, td.clr-2, th span {
53 tr td:first-child, tr td:last-child {
56 #overview.bg-0, tr.bg-0 th {
59 border-bottom:1px solid #d6e9c6
61 #overview.bg-1, tr.bg-1 th {
64 border-bottom:1px solid #fbeed5
66 #overview.bg-2, tr.bg-2 th {
69 border-bottom:1px solid #eed3d7
72 border-bottom:1px solid #ddd
86 text-decoration:underline
91 <div id="overview" class="bg-<%= reportColor %>">
92 <h1>ESLint Report</h1>
94 <span><%= reportSummary %></span> - Generated on <%= date %>
102 <script type="text/javascript">
103 var groups = document.querySelectorAll("tr[data-group]");
104 for (i = 0; i < groups.length; i++) {
105 groups[i].addEventListener("click", function() {
106 var inGroup = document.getElementsByClassName(this.getAttribute("data-group"));
107 this.innerHTML = (this.innerHTML.indexOf("+") > -1) ? this.innerHTML.replace("+", "-") : this.innerHTML.replace("-", "+");
108 for (var j = 0; j < inGroup.length; j++) {
109 inGroup[j].style.display = (inGroup[j].style.display !== "none") ? "none" : "table-row";