cov-style.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /*
  2. * Copyright 2021 Collabora, Ltd.
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining
  5. * a copy of this software and associated documentation files (the
  6. * "Software"), to deal in the Software without restriction, including
  7. * without limitation the rights to use, copy, modify, merge, publish,
  8. * distribute, sublicense, and/or sell copies of the Software, and to
  9. * permit persons to whom the Software is furnished to do so, subject to
  10. * the following conditions:
  11. *
  12. * The above copyright notice and this permission notice (including the
  13. * next paragraph) shall be included in all copies or substantial
  14. * portions of the Software.
  15. *
  16. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  17. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  18. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  19. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  20. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  21. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  22. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  23. * SOFTWARE.
  24. */
  25. body {
  26. background-color: #f2f2f2;
  27. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
  28. "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif,
  29. "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
  30. "Noto Color Emoji";
  31. }
  32. .sourceHeading, .source, .coverFn,
  33. .testName, .testPer, .testNum,
  34. .coverLegendCovLo, .headerCovTableEntryLo, .coverPerLo, .coverNumLo,
  35. .coverLegendCovMed, .headerCovTableEntryMed, .coverPerMed, .coverNumMed,
  36. .coverLegendCovHi, .headerCovTableEntryHi, .coverPerHi, .coverNumHi,
  37. .coverFile {
  38. font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono",
  39. "Consolas", "Ubuntu Mono", "Courier New", "andale mono",
  40. "lucida console", monospace;
  41. }
  42. pre {
  43. font-size: 0.7875rem;
  44. }
  45. .headerCovTableEntry, .testPer, .testNum, .testName,
  46. .coverLegendCovLo, .headerCovTableEntryLo, .coverPerLo, .coverNumLo,
  47. .coverLegendCovMed, .headerCovTableEntryMed, .coverPerMed, .coverNumMed,
  48. .coverLegendCovHi, .headerCovTableEntryHi, .coverPerHi, .coverNumHi {
  49. text-align: right;
  50. white-space: nowrap;
  51. }
  52. .coverPerLo, .coverPerMed, .coverPerHi, .testPer {
  53. /* font-weight: bold;*/
  54. }
  55. .coverNumLo, .coverNumMed, .coverNumHi, .testNum {
  56. font-style: italic;
  57. font-size: 90%;
  58. padding-left: 1em;
  59. }
  60. .title {
  61. font-size: 200%;
  62. }
  63. .tableHead {
  64. text-align: center;
  65. font-weight: bold;
  66. background-color: #bfbfbf;
  67. }
  68. .coverFile, .coverBar, .coverFn {
  69. background-color: #d9d9d9;
  70. }
  71. .headerCovTableHead {
  72. font-weight: bold;
  73. text-align: right;
  74. }
  75. .headerCovTableEntry {
  76. background-color: #d9d9d9;
  77. }
  78. .coverFnLo,
  79. .coverLegendCovLo, .headerCovTableEntryLo, .coverPerLo, .coverNumLo {
  80. background-color: #f2dada;
  81. }
  82. .coverFnHi,
  83. .coverLegendCovMed, .headerCovTableEntryMed, .coverPerMed, .coverNumMed {
  84. background-color: #add9ad;
  85. }
  86. .coverLegendCovHi, .headerCovTableEntryHi, .coverPerHi, .coverNumHi {
  87. background-color: #59b359;
  88. }
  89. .coverBarOutline {
  90. border-style: solid;
  91. border-width: 1px;
  92. border-color: black;
  93. padding: 0px;
  94. }
  95. .coverFnLo, .coverFnHi {
  96. text-align: right;
  97. }
  98. .lineNum {
  99. background-color: #d9d9d9;
  100. }
  101. .coverLegendCov, .lineCov, .branchCov {
  102. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAABCAIAAABsYngUAAADAXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjazZVbktwgDEX/WUWWgCSExHIwj6rsIMvPxcY9PY9MzVTyEVMNtCwkoYNwGL9+zvADDxHHkNQ8l5wjnlRS4YqJx+upZ08xnf313O/otTw8FBgzwShbP2/5gJyhz1vetp0KuT4ZKmO/OF6/qNsQ+3ZwO9yOhC4HcRsOdRsS3p7T9f+4thVzcXveQtv6sz5t1dfW0CUxzprJEvrE0SwXzJ1jMuStr0CPvhfqdvTmf7hVGTHxEJKI3leEsn4kFWNCT/CGfUnBXDEuyd4yaHGIhnm58/r581nk4Q59Y32N+p69Qc3xPelwJvRWkTeE8mP8UE76Ig/PSE9uT55z3jN+LZ/pJaibXLjxzdl9znHtrqaMLee9qXuL5wx6x8rWuSqjGX4afSV7tYLmKImGc9RxyA60RoUYGCcl6lRp0jjHRg0hJh4MjszcALcFCB0wCjcgJYBGo8kGzF0cB6DhOAik/IiFTrfldNfI4biTB5wegjHCkr9q4StKc66CIlq55CtXiItXwhHFIkeE6ocaiNDcSdUzwXd7+yyuAoJ6ptmxwRqPZQH4D6WXwyUnaIGiYrwKmKxvA0gRIlAEQwICMZMoZYrGHIwIiXQAqgidJfEBLKTKHUFyEsmAgyqAb6wxOlVZ+RLjIgQIlRzEwAaFCFgpKc6PJccZqiqaVDWrqWvRmiWvCsvZ8rpRq4klU8tm5lasBhdPrp7d3L14LVwEN64W1GPxUkqtcFphuWJ1hUKtBx9ypEOPfNjhRzlq49CkpaYtN2veSqudu3TUcc/duvfS66CBozTS0JGHDR9l1ImjNmWmqTNPmz5LmPVBbWN9175BjTY1PkktRXtQg9TsNkHrOtHFDMQ4EYDbIkASmBez6JQSL3KLWSyMqlBGkLrgdFrEQDANYp30YPdCToPkf8MtAAT/C3JhofsCuffcPqLW6/mhk5PQKsOV1CiovpHgnx3LcCvhwlnz9dF8P4Y/vfju+J8aQpZK+A373P3XzDqcKwAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAd0SU1FB+UEEQYyDQA04tUAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADklEQVQI12PULVBlwAYAEagAxGHRDdwAAAAASUVORK5CYII=');
  103. background-repeat: repeat-y;
  104. background-position: left top;
  105. background-color: #c6ffb8;
  106. }
  107. .coverLegendNoCov, .lineNoCov, .branchNoCov, .branchNoExec {
  108. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAABCAIAAABsYngUAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH5QMUCiMidNgp2gAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAPSURBVAjXY/wZIcWADQAAIa4BbZaExr0AAAAASUVORK5CYII=');
  109. background-repeat: repeat-y;
  110. background-position: left top;
  111. background-color: #ffcfbb;
  112. }
  113. .coverLegendCov, .coverLegendNoCov {
  114. padding: 0em 1em 0em 1em;
  115. }
  116. .headerItem, .headerValue, .headerValueLeg {
  117. white-space: nowrap;
  118. }
  119. .headerItem {
  120. text-align: right;
  121. font-weight: bold;
  122. }
  123. .ruler {
  124. background-color: #d9d9d9;
  125. }
  126. .detail {
  127. font-size: 80%;
  128. }
  129. .versionInfo {
  130. font-size: 80%;
  131. text-align: right;
  132. }