base.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. body,
  2. html {
  3. margin: 0;
  4. padding: 0;
  5. height: 100%;
  6. }
  7. body {
  8. font-family: Helvetica Neue, Helvetica, Arial;
  9. font-size: 14px;
  10. color: #333;
  11. }
  12. .small {
  13. font-size: 12px;
  14. }
  15. *,
  16. *:after,
  17. *:before {
  18. -webkit-box-sizing: border-box;
  19. -moz-box-sizing: border-box;
  20. box-sizing: border-box;
  21. }
  22. h1 {
  23. font-size: 20px;
  24. margin: 0;
  25. }
  26. h2 {
  27. font-size: 14px;
  28. }
  29. pre {
  30. font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
  31. margin: 0;
  32. padding: 0;
  33. -moz-tab-size: 2;
  34. -o-tab-size: 2;
  35. tab-size: 2;
  36. }
  37. a {
  38. color: #0074d9;
  39. text-decoration: none;
  40. }
  41. a:hover {
  42. text-decoration: underline;
  43. }
  44. .strong {
  45. font-weight: bold;
  46. }
  47. .space-top1 {
  48. padding: 10px 0 0 0;
  49. }
  50. .pad2y {
  51. padding: 20px 0;
  52. }
  53. .pad1y {
  54. padding: 10px 0;
  55. }
  56. .pad2x {
  57. padding: 0 20px;
  58. }
  59. .pad2 {
  60. padding: 20px;
  61. }
  62. .pad1 {
  63. padding: 10px;
  64. }
  65. .space-left2 {
  66. padding-left: 55px;
  67. }
  68. .space-right2 {
  69. padding-right: 20px;
  70. }
  71. .center {
  72. text-align: center;
  73. }
  74. .clearfix {
  75. display: block;
  76. }
  77. .clearfix:after {
  78. content: "";
  79. display: block;
  80. height: 0;
  81. clear: both;
  82. visibility: hidden;
  83. }
  84. .fl {
  85. float: left;
  86. }
  87. @media only screen and (max-width: 640px) {
  88. .col3 {
  89. width: 100%;
  90. max-width: 100%;
  91. }
  92. .hide-mobile {
  93. display: none !important;
  94. }
  95. }
  96. .quiet {
  97. color: #7f7f7f;
  98. color: rgba(0, 0, 0, 0.5);
  99. }
  100. .quiet a {
  101. opacity: 0.7;
  102. }
  103. .fraction {
  104. font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  105. font-size: 10px;
  106. color: #555;
  107. background: #e8e8e8;
  108. padding: 4px 5px;
  109. border-radius: 3px;
  110. vertical-align: middle;
  111. }
  112. div.path a:link,
  113. div.path a:visited {
  114. color: #333;
  115. }
  116. table.coverage {
  117. border-collapse: collapse;
  118. margin: 10px 0 0 0;
  119. padding: 0;
  120. }
  121. table.coverage td {
  122. margin: 0;
  123. padding: 0;
  124. vertical-align: top;
  125. }
  126. table.coverage td.line-count {
  127. text-align: right;
  128. padding: 0 5px 0 20px;
  129. }
  130. table.coverage td.line-coverage {
  131. text-align: right;
  132. padding-right: 10px;
  133. min-width: 20px;
  134. }
  135. table.coverage td span.cline-any {
  136. display: inline-block;
  137. padding: 0 5px;
  138. width: 100%;
  139. }
  140. .missing-if-branch {
  141. display: inline-block;
  142. margin-right: 5px;
  143. border-radius: 3px;
  144. position: relative;
  145. padding: 0 4px;
  146. background: #333;
  147. color: yellow;
  148. }
  149. .skip-if-branch {
  150. display: none;
  151. margin-right: 10px;
  152. position: relative;
  153. padding: 0 4px;
  154. background: #ccc;
  155. color: white;
  156. }
  157. .missing-if-branch .typ,
  158. .skip-if-branch .typ {
  159. color: inherit !important;
  160. }
  161. .coverage-summary {
  162. border-collapse: collapse;
  163. width: 100%;
  164. }
  165. .coverage-summary tr {
  166. border-bottom: 1px solid #bbb;
  167. }
  168. .keyline-all {
  169. border: 1px solid #ddd;
  170. }
  171. .coverage-summary td,
  172. .coverage-summary th {
  173. padding: 10px;
  174. }
  175. .coverage-summary tbody {
  176. border: 1px solid #bbb;
  177. }
  178. .coverage-summary td {
  179. border-right: 1px solid #bbb;
  180. }
  181. .coverage-summary td:last-child {
  182. border-right: none;
  183. }
  184. .coverage-summary th {
  185. text-align: left;
  186. font-weight: normal;
  187. white-space: nowrap;
  188. }
  189. .coverage-summary th.file {
  190. border-right: none !important;
  191. }
  192. .coverage-summary th.pct {
  193. }
  194. .coverage-summary th.pic,
  195. .coverage-summary th.abs,
  196. .coverage-summary td.pct,
  197. .coverage-summary td.abs {
  198. text-align: right;
  199. }
  200. .coverage-summary td.file {
  201. white-space: nowrap;
  202. }
  203. .coverage-summary td.pic {
  204. min-width: 120px !important;
  205. }
  206. .coverage-summary tfoot td {
  207. }
  208. .coverage-summary .sorter {
  209. height: 10px;
  210. width: 7px;
  211. display: inline-block;
  212. margin-left: 0.5em;
  213. background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
  214. }
  215. .coverage-summary .sorted .sorter {
  216. background-position: 0 -20px;
  217. }
  218. .coverage-summary .sorted-desc .sorter {
  219. background-position: 0 -10px;
  220. }
  221. .status-line {
  222. height: 10px;
  223. }
  224. /* yellow */
  225. .cbranch-no {
  226. background: yellow !important;
  227. color: #111;
  228. }
  229. /* dark red */
  230. .red.solid,
  231. .status-line.low,
  232. .low .cover-fill {
  233. background: #c21f39;
  234. }
  235. .low .chart {
  236. border: 1px solid #c21f39;
  237. }
  238. .highlighted,
  239. .highlighted .cstat-no,
  240. .highlighted .fstat-no,
  241. .highlighted .cbranch-no {
  242. background: #c21f39 !important;
  243. }
  244. /* medium red */
  245. .cstat-no,
  246. .fstat-no,
  247. .cbranch-no,
  248. .cbranch-no {
  249. background: #f6c6ce;
  250. }
  251. /* light red */
  252. .low,
  253. .cline-no {
  254. background: #fce1e5;
  255. }
  256. /* light green */
  257. .high,
  258. .cline-yes {
  259. background: rgb(230, 245, 208);
  260. }
  261. /* medium green */
  262. .cstat-yes {
  263. background: rgb(161, 215, 106);
  264. }
  265. /* dark green */
  266. .status-line.high,
  267. .high .cover-fill {
  268. background: rgb(77, 146, 33);
  269. }
  270. .high .chart {
  271. border: 1px solid rgb(77, 146, 33);
  272. }
  273. /* dark yellow (gold) */
  274. .status-line.medium,
  275. .medium .cover-fill {
  276. background: #f9cd0b;
  277. }
  278. .medium .chart {
  279. border: 1px solid #f9cd0b;
  280. }
  281. /* light yellow */
  282. .medium {
  283. background: #fff4c2;
  284. }
  285. .cstat-skip {
  286. background: #ddd;
  287. color: #111;
  288. }
  289. .fstat-skip {
  290. background: #ddd;
  291. color: #111 !important;
  292. }
  293. .cbranch-skip {
  294. background: #ddd !important;
  295. color: #111;
  296. }
  297. span.cline-neutral {
  298. background: #eaeaea;
  299. }
  300. .coverage-summary td.empty {
  301. opacity: 0.5;
  302. padding-top: 4px;
  303. padding-bottom: 4px;
  304. line-height: 1;
  305. color: #888;
  306. }
  307. .cover-fill,
  308. .cover-empty {
  309. display: inline-block;
  310. height: 12px;
  311. }
  312. .chart {
  313. line-height: 0;
  314. }
  315. .cover-empty {
  316. background: white;
  317. }
  318. .cover-full {
  319. border-right: none !important;
  320. }
  321. pre.prettyprint {
  322. border: none !important;
  323. padding: 0 !important;
  324. margin: 0 !important;
  325. }
  326. .com {
  327. color: #999 !important;
  328. }
  329. .ignore-none {
  330. color: #999;
  331. font-weight: normal;
  332. }
  333. .wrapper {
  334. min-height: 100%;
  335. height: auto !important;
  336. height: 100%;
  337. margin: 0 auto -48px;
  338. }
  339. .footer,
  340. .push {
  341. height: 48px;
  342. }