CSS |
Examples |
.report_pdf |
General:
.report_pdf { color: blue; line-height: 1.5em; }
.report_pdf p { color: #000000; font-family: 'Montserrat'; font-weight: 300; margin-bottom: 25px; margin-top: 25px font-size: 12px; }
Headings:
.report_pdf h1, h2, h3 { color: red; font-family: 'Montserrat'; }
Tables:
.report_pdf th { background-color: #000; color: #fff; }
.report_pdf tr:nth-child(even) { background-color: #f2f2f2; }
th:nth-child(1){ width:150px; } th, td { border: 1px solid #ddd; padding: 8px; text-align: left; width: auto; word-break: break-all; white-space: normal; }
Column layout:
.report_pdf.section2 h1 { column-count:1; } .report_pdf.section2 h2 { column-count:1; } .report_pdf.section2 p { column-count: 2; } .report_pdf.section2 ul { column-count: 2; }
Justify text:
.report_pdf { text-align: justify; }
|
.report_pdf.section<number>
|
Style Cover page:
.report_pdf.section1 h1 { color: #FF465C; margin-bottom: 300px; margin-top: 400px; font-size: 56px; }
|
.report_pdf_footer
|
.report_pdf_footer { background-color: blue; }
|
.report_pdf_footer_image
|
Full width footer image:
.report_pdf_footer_image { margin-top: 0px; margin-left: 0px; margin-bottom: 0px; background-size: 800px 65px; background-repeat: no-repeat; }
Default logo footer image:
.report_pdf_footer_image { background-size: auto 40px; background-repeat: no-repeat; margin-left: 14px; margin-top: 14px;
}
|
.report_pdf_footer_pages
|
.report_pdf_footer_pages { color: #ccc; }
|
.report_pdf_footer_text |
.report_pdf_footer_text { color: #000; }
|
.report_pdf_header |
.report_pdf_header { background-color: blue; }
|
.report_pdf_header_text |
.report_pdf_header_text { color: #000; }
|
.report_pdf_header_pages |
.report_pdf_header_pages { color: #ccc; }
|
{token-name} -> .token_name |
.client_logo { text-align: center; }
|
.report_pdf .criticality-finding-<severity> |
.report_pdf .criticality-finding-high { background-color: blue; }
|
.report_pdf_toc_list-l<level> |
.report_pdf_toc_list-l1 { color: blue; }
.report_pdf_toc_list-l2 { color: #B200FF; }
.report_pdf_toc_list-l3 { color: #3DFFE5; }
Dotted lines, links formatted:
.report_pdf_toc_list-l1, .report_pdf_toc_list-l2, .report_pdf_toc_list-l3 { color: #000 !important; border-bottom: dashed 1px #000; }
.report_pdf_toc_list-l1 a, .report_pdf_toc_list-l1 a:link, .report_pdf_toc_list-l2 a, .report_pdf_toc_list-l2 a:link, .report_pdf_toc_list-l3 a, .report_pdf_toc_list-l3 a:link { color: #000 !important; text-decoration: none; }
|
.finding-details-title (Template 1)
.finding-details-title-v2 (Template 2)
|
.finding-details-title { color: blue; }
|
.severity-tablecell-<severity>
|
Color table cells with Finding Severity color:
.report_pdf .severity-tablecell-info { background-color: #91C2F7; } .report_pdf .severity-tablecell-low { background-color: #FFCC32; } .report_pdf .severity-tablecell-medium { background-color: #FF7F44; } .report_pdf .severity-tablecell-high { background-color: #FE443E; } .report_pdf .severity-tablecell-critical { background-color: #9900CC; }
|
.status-tablecell-<status>
|
Color table cells with Finding Status color:
.status-tablecell-pendingfix { background-color: #ffee59; } .status-tablecell-fixed { background-color: #11c664; } .status-tablecell-readyretest { background-color: #ff8c00; } .status-tablecell-accepted { background-color: #759383; }
|
.report_pdf pre code
|
.report_pdf pre code { overflow: hidden; display:inline-block; color: #000; line-height: 18px; font-size: 16px; }
line wrap:
.report_pdf pre code { white-space: pre-wrap; }
|
.report_pdf img
|
center
.report_pdf img { display: block; margin-left: auto; margin-right: auto; }
|