style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. @charset "UTF-8";
  2. /* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
  3. /* For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt */
  4. /* Don't edit this .css file. Edit the .scss file instead! */
  5. html, body, h1, h2, h3, p, table, td, th { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
  6. body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 1em; background: #fff; color: #000; }
  7. @media (prefers-color-scheme: dark) { body { background: #1e1e1e; } }
  8. @media (prefers-color-scheme: dark) { body { color: #eee; } }
  9. html > body { font-size: 16px; }
  10. a:active, a:focus { outline: 2px dashed #007acc; }
  11. p { font-size: .875em; line-height: 1.4em; }
  12. table { border-collapse: collapse; }
  13. td { vertical-align: top; }
  14. table tr.hidden { display: none !important; }
  15. p#no_rows { display: none; font-size: 1.2em; }
  16. a.nav { text-decoration: none; color: inherit; }
  17. a.nav:hover { text-decoration: underline; color: inherit; }
  18. #header { background: #f8f8f8; width: 100%; border-bottom: 1px solid #eee; }
  19. @media (prefers-color-scheme: dark) { #header { background: black; } }
  20. @media (prefers-color-scheme: dark) { #header { border-color: #333; } }
  21. .indexfile #footer { margin: 1rem 3rem; }
  22. .pyfile #footer { margin: 1rem 1rem; }
  23. #footer .content { padding: 0; color: #666; font-style: italic; }
  24. @media (prefers-color-scheme: dark) { #footer .content { color: #aaa; } }
  25. #index { margin: 1rem 0 0 3rem; }
  26. #header .content { padding: 1rem 3rem; }
  27. h1 { font-size: 1.25em; display: inline-block; }
  28. #filter_container { float: right; margin: 0 2em 0 0; }
  29. #filter_container input { width: 10em; padding: 0.2em 0.5em; border: 2px solid #ccc; background: #fff; color: #000; }
  30. @media (prefers-color-scheme: dark) { #filter_container input { border-color: #444; } }
  31. @media (prefers-color-scheme: dark) { #filter_container input { background: #1e1e1e; } }
  32. @media (prefers-color-scheme: dark) { #filter_container input { color: #eee; } }
  33. #filter_container input:focus { border-color: #007acc; }
  34. h2.stats { margin-top: .5em; font-size: 1em; }
  35. .stats button { font-family: inherit; font-size: inherit; border: 1px solid; border-radius: .2em; color: inherit; padding: .1em .5em; margin: 1px calc(.1em + 1px); cursor: pointer; border-color: #ccc; }
  36. @media (prefers-color-scheme: dark) { .stats button { border-color: #444; } }
  37. .stats button:active, .stats button:focus { outline: 2px dashed #007acc; }
  38. .stats button:active, .stats button:focus { outline: 2px dashed #007acc; }
  39. .stats button.run { background: #eeffee; }
  40. @media (prefers-color-scheme: dark) { .stats button.run { background: #373d29; } }
  41. .stats button.run.show_run { background: #dfd; border: 2px solid #00dd00; margin: 0 .1em; }
  42. @media (prefers-color-scheme: dark) { .stats button.run.show_run { background: #373d29; } }
  43. .stats button.mis { background: #ffeeee; }
  44. @media (prefers-color-scheme: dark) { .stats button.mis { background: #4b1818; } }
  45. .stats button.mis.show_mis { background: #fdd; border: 2px solid #ff0000; margin: 0 .1em; }
  46. @media (prefers-color-scheme: dark) { .stats button.mis.show_mis { background: #4b1818; } }
  47. .stats button.exc { background: #f7f7f7; }
  48. @media (prefers-color-scheme: dark) { .stats button.exc { background: #333; } }
  49. .stats button.exc.show_exc { background: #eee; border: 2px solid #808080; margin: 0 .1em; }
  50. @media (prefers-color-scheme: dark) { .stats button.exc.show_exc { background: #333; } }
  51. .stats button.par { background: #ffffd5; }
  52. @media (prefers-color-scheme: dark) { .stats button.par { background: #650; } }
  53. .stats button.par.show_par { background: #ffa; border: 2px solid #dddd00; margin: 0 .1em; }
  54. @media (prefers-color-scheme: dark) { .stats button.par.show_par { background: #650; } }
  55. .help_panel, #source p .annotate.long { display: none; position: absolute; z-index: 999; background: #ffffcc; border: 1px solid #888; border-radius: .2em; color: #333; padding: .25em .5em; }
  56. #source p .annotate.long { white-space: normal; float: right; top: 1.75em; right: 1em; height: auto; }
  57. #keyboard_icon { float: right; margin: 5px; cursor: pointer; }
  58. .help_panel { padding: .5em; border: 1px solid #883; }
  59. .help_panel .legend { font-style: italic; margin-bottom: 1em; }
  60. .indexfile .help_panel { width: 20em; min-height: 4em; }
  61. .pyfile .help_panel { width: 16em; min-height: 8em; }
  62. #panel_icon { float: right; cursor: pointer; }
  63. .keyhelp { margin: .75em; }
  64. .keyhelp .key { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em .35em; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: bold; background: #eee; }
  65. #source { padding: 1em 0 1em 3rem; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
  66. #source p { position: relative; white-space: pre; }
  67. #source p * { box-sizing: border-box; }
  68. #source p .n { float: left; text-align: right; width: 3rem; box-sizing: border-box; margin-left: -3rem; padding-right: 1em; color: #999; }
  69. @media (prefers-color-scheme: dark) { #source p .n { color: #777; } }
  70. #source p .n a { text-decoration: none; color: #999; }
  71. @media (prefers-color-scheme: dark) { #source p .n a { color: #777; } }
  72. #source p .n a:hover { text-decoration: underline; color: #999; }
  73. @media (prefers-color-scheme: dark) { #source p .n a:hover { color: #777; } }
  74. #source p.highlight .n { background: #ffdd00; }
  75. #source p .t { display: inline-block; width: 100%; box-sizing: border-box; margin-left: -.5em; padding-left: 0.3em; border-left: 0.2em solid #fff; }
  76. @media (prefers-color-scheme: dark) { #source p .t { border-color: #1e1e1e; } }
  77. #source p .t:hover { background: #f2f2f2; }
  78. @media (prefers-color-scheme: dark) { #source p .t:hover { background: #282828; } }
  79. #source p .t:hover ~ .r .annotate.long { display: block; }
  80. #source p .t .com { color: #008000; font-style: italic; line-height: 1px; }
  81. @media (prefers-color-scheme: dark) { #source p .t .com { color: #6A9955; } }
  82. #source p .t .key { font-weight: bold; line-height: 1px; }
  83. #source p .t .str { color: #0451A5; }
  84. @media (prefers-color-scheme: dark) { #source p .t .str { color: #9CDCFE; } }
  85. #source p.mis .t { border-left: 0.2em solid #ff0000; }
  86. #source p.mis.show_mis .t { background: #fdd; }
  87. @media (prefers-color-scheme: dark) { #source p.mis.show_mis .t { background: #4b1818; } }
  88. #source p.mis.show_mis .t:hover { background: #f2d2d2; }
  89. @media (prefers-color-scheme: dark) { #source p.mis.show_mis .t:hover { background: #532323; } }
  90. #source p.run .t { border-left: 0.2em solid #00dd00; }
  91. #source p.run.show_run .t { background: #dfd; }
  92. @media (prefers-color-scheme: dark) { #source p.run.show_run .t { background: #373d29; } }
  93. #source p.run.show_run .t:hover { background: #d2f2d2; }
  94. @media (prefers-color-scheme: dark) { #source p.run.show_run .t:hover { background: #404633; } }
  95. #source p.exc .t { border-left: 0.2em solid #808080; }
  96. #source p.exc.show_exc .t { background: #eee; }
  97. @media (prefers-color-scheme: dark) { #source p.exc.show_exc .t { background: #333; } }
  98. #source p.exc.show_exc .t:hover { background: #e2e2e2; }
  99. @media (prefers-color-scheme: dark) { #source p.exc.show_exc .t:hover { background: #3c3c3c; } }
  100. #source p.par .t { border-left: 0.2em solid #dddd00; }
  101. #source p.par.show_par .t { background: #ffa; }
  102. @media (prefers-color-scheme: dark) { #source p.par.show_par .t { background: #650; } }
  103. #source p.par.show_par .t:hover { background: #f2f2a2; }
  104. @media (prefers-color-scheme: dark) { #source p.par.show_par .t:hover { background: #6d5d0c; } }
  105. #source p .r { position: absolute; top: 0; right: 2.5em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
  106. #source p .annotate { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #666; padding-right: .5em; }
  107. @media (prefers-color-scheme: dark) { #source p .annotate { color: #ddd; } }
  108. #source p .annotate.short:hover ~ .long { display: block; }
  109. #source p .annotate.long { width: 30em; right: 2.5em; }
  110. #source p input { display: none; }
  111. #source p input ~ .r label.ctx { cursor: pointer; border-radius: .25em; }
  112. #source p input ~ .r label.ctx::before { content: "▶ "; }
  113. #source p input ~ .r label.ctx:hover { background: #d5f7ff; color: #666; }
  114. @media (prefers-color-scheme: dark) { #source p input ~ .r label.ctx:hover { background: #0f3a42; } }
  115. @media (prefers-color-scheme: dark) { #source p input ~ .r label.ctx:hover { color: #aaa; } }
  116. #source p input:checked ~ .r label.ctx { background: #aef; color: #666; border-radius: .75em .75em 0 0; padding: 0 .5em; margin: -.25em 0; }
  117. @media (prefers-color-scheme: dark) { #source p input:checked ~ .r label.ctx { background: #056; } }
  118. @media (prefers-color-scheme: dark) { #source p input:checked ~ .r label.ctx { color: #aaa; } }
  119. #source p input:checked ~ .r label.ctx::before { content: "▼ "; }
  120. #source p input:checked ~ .ctxs { padding: .25em .5em; overflow-y: scroll; max-height: 10.5em; }
  121. #source p label.ctx { color: #999; display: inline-block; padding: 0 .5em; font-size: .8333em; }
  122. @media (prefers-color-scheme: dark) { #source p label.ctx { color: #777; } }
  123. #source p .ctxs { display: block; max-height: 0; overflow-y: hidden; transition: all .2s; padding: 0 .5em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; white-space: nowrap; background: #aef; border-radius: .25em; margin-right: 1.75em; }
  124. @media (prefers-color-scheme: dark) { #source p .ctxs { background: #056; } }
  125. #source p .ctxs span { display: block; text-align: right; }
  126. #index { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.875em; }
  127. #index table.index { margin-left: -.5em; }
  128. #index td, #index th { text-align: right; width: 5em; padding: .25em .5em; border-bottom: 1px solid #eee; }
  129. @media (prefers-color-scheme: dark) { #index td, #index th { border-color: #333; } }
  130. #index td.name, #index th.name { text-align: left; width: auto; }
  131. #index th { font-style: italic; color: #333; cursor: pointer; }
  132. @media (prefers-color-scheme: dark) { #index th { color: #ddd; } }
  133. #index th:hover { background: #eee; }
  134. @media (prefers-color-scheme: dark) { #index th:hover { background: #333; } }
  135. #index th.headerSortDown, #index th.headerSortUp { white-space: nowrap; background: #eee; }
  136. @media (prefers-color-scheme: dark) { #index th.headerSortDown, #index th.headerSortUp { background: #333; } }
  137. #index th.headerSortDown:after { content: " ↑"; }
  138. #index th.headerSortUp:after { content: " ↓"; }
  139. #index td.name a { text-decoration: none; color: inherit; }
  140. #index tr.total td, #index tr.total_dynamic td { font-weight: bold; border-top: 1px solid #ccc; border-bottom: none; }
  141. #index tr.file:hover { background: #eee; }
  142. @media (prefers-color-scheme: dark) { #index tr.file:hover { background: #333; } }
  143. #index tr.file:hover td.name { text-decoration: underline; color: inherit; }
  144. #scroll_marker { position: fixed; right: 0; top: 0; width: 16px; height: 100%; background: #fff; border-left: 1px solid #eee; will-change: transform; }
  145. @media (prefers-color-scheme: dark) { #scroll_marker { background: #1e1e1e; } }
  146. @media (prefers-color-scheme: dark) { #scroll_marker { border-color: #333; } }
  147. #scroll_marker .marker { background: #ccc; position: absolute; min-height: 3px; width: 100%; }
  148. @media (prefers-color-scheme: dark) { #scroll_marker .marker { background: #444; } }