UNPKG

istanbul-coverage-display

Version:

React component which can be added to instrumentation build to display coverage report of testing.

62 lines (55 loc) 1.17 kB
.icd-table { border-collapse: collapse; font-size: 14px; } .icd-table th { text-align: center; font-weight: bold; } .icd-table th, .icd-table td { padding: 8px; border: 1px solid #eee; } .icd-table td:nth-child(3), .icd-table td:nth-child(4), .icd-table td:nth-child(5), .icd-table td:nth-child(6) { text-align: center; } .dropdown { display: inline-flex; align-items: center; } .dropdown__arrow { width: 10px; height: 10px; } .dropdown__text { margin-left: 8px; } .icd-summary__popover { padding: 20px; background-color: #eee; position: fixed; z-index: 10000; bottom: 30px; left: 0; } .icd-summary__show { position: fixed; bottom: 0; left: 0; background-color: #ff420e; z-index: 10000; color: white; padding: 5px 10px; font-size: 14px; border: 0; border-radius: 3px; } .icd-summary__nav { margin-top: 16px; text-align: center; } .icd-summary__button { font-size: 12px; background-color: #89da59; width: 70px; margin-right: 8px; color: white; padding: 5px 10px; border: 0; border-radius: 3px; } .icd-summary__table { max-width: 320px; font-size: 16px; }