| 566 | } |
| 567 | |
| 568 | void HtmlReporter::printCSS(ofstream& ofs){ |
| 569 | ofs << "<style type=\"text/css\">" << endl; |
| 570 | ofs << "td {border:1px solid #dddddd;padding:5px;font-size:12px;}" << endl; |
| 571 | ofs << "table {border:1px solid #999999;padding:2x;border-collapse:collapse;width:100%}" << endl; |
| 572 | ofs << ".col1 {width:240px; font-weight:bold;}" << endl; |
| 573 | ofs << ".adapter_col {width:500px; font-size:10px;}" << endl; |
| 574 | ofs << "img {padding:30px;}" << endl; |
| 575 | ofs << "#menu {font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;}" << endl; |
| 576 | ofs << "#menu a {color:#0366d6; font-size:18px;font-weight:600;line-height:28px;text-decoration:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'}" << endl; |
| 577 | ofs << "a:visited {color: #999999}" << endl; |
| 578 | ofs << ".alignleft {text-align:left;}" << endl; |
| 579 | ofs << ".alignright {text-align:right;}" << endl; |
| 580 | ofs << ".figure {width:680px;height:600px;}" << endl; |
| 581 | ofs << ".header {color:#ffffff;padding:1px;height:20px;background:#000000;}" << endl; |
| 582 | ofs << ".section_title {color:#ffffff;font-size:20px;padding:5px;text-align:left;background:#663355; margin-top:10px;}" << endl; |
| 583 | ofs << ".section_table {width:100%;}" << endl; |
| 584 | ofs << ".subsection_title {font-size:16px;padding:5px;margin-top:10px;text-align:left;color:#663355}" << endl; |
| 585 | ofs << "#container {text-align:center;padding:3px 3px 3px 10px;font-family:Arail,'Liberation Mono', Menlo, Courier, monospace;}" << endl; |
| 586 | ofs << ".menu_item {text-align:left;padding-top:5px;font-size:18px;}" << endl; |
| 587 | ofs << ".highlight {text-align:left;padding-top:30px;padding-bottom:30px;font-size:20px;line-height:35px;}" << endl; |
| 588 | ofs << "#helper {text-align:left;border:1px dotted #fafafa;color:#777777;font-size:12px;}" << endl; |
| 589 | ofs << "#footer {text-align:left;padding:15px;color:#ffffff;font-size:10px;background:#663355;font-family:Arail,'Liberation Mono', Menlo, Courier, monospace;}" << endl; |
| 590 | ofs << ".kmer_table {text-align:center;font-size:8px;padding:2px;}" << endl; |
| 591 | ofs << ".kmer_table td{text-align:center;font-size:8px;padding:0px;color:#ffffff}" << endl; |
| 592 | ofs << ".sub_section_tips {color:#999999;font-size:10px;padding-left:5px;padding-bottom:3px;}" << endl; |
| 593 | ofs << "</style>" << endl; |
| 594 | } |
| 595 | |
| 596 | void HtmlReporter::printJS(ofstream& ofs){ |
| 597 | ofs << "<script src='https://opengene.org/plotly-1.2.0.min.js'></script>" << endl; |
nothing calls this directly
no outgoing calls
no test coverage detected