tr.tr_passed, div.tr_passed {
    background-color: rgba(0,250,0,0.2) !important;
}

/* `tr_failure` is the class needs carried before the result was spelled
   `failed`. It is kept because a project may still produce it: a result a
   `tr_json_mapping` supplies under a vocabulary of its own is passed through
   unnormalised, and the class is built from the result value. */
tr.tr_failed, div.tr_failed,
tr.tr_failure, div.tr_failure {
    background-color: rgba(250,0,0,0.2) !important;
}

tr.tr_skipped{
    background-color: rgba(0,0,0,0.1) !important;
}

tr.tr_error, div.tr_error {
    background-color: rgba(255,165,0,0.2) !important;
}

td.status p {
    padding: 3px 5px;
    text-align: center;
    border-radius: 10px;
}

td.status p.tr_passed{
    border: 1px solid #008000;
    color: #008000;
}

td.status p.tr_failed,
td.status p.tr_failure{
    border: 1px solid #800000;
    color: #800000;
}

td.status p.tr_skipped{
    border: 1px solid #555;
    color: #555;
}

td.status p.tr_error{
    border: 1px solid #cc6600;
    color: #cc6600;
}
