themes/unit tests MDL-24983 move the pretty colour styles to the base theme.

Patch thanks to James Brisland.
I know that in general, we should not have specific pretty colours in the base theme, but I think unit tests are an exception. The concept of "the bar being green" is so fundamental to unit testing, and this bit of the UI is developer only.
This commit is contained in:
Tim Hunt 2010-11-01 13:40:06 +00:00
parent d854dff9ef
commit 512b42be5e
2 changed files with 8 additions and 7 deletions

View file

@ -37,6 +37,14 @@
#page-admin-report-unittest-index .exception pre {padding: 8px;} #page-admin-report-unittest-index .exception pre {padding: 8px;}
#page-admin-report-unittest-index .unittestsummary {padding: 8px;margin-top: 1em;} #page-admin-report-unittest-index .unittestsummary {padding: 8px;margin-top: 1em;}
#page-admin-report-unittest-index span.notice {color: teal;}
#page-admin-report-unittest-index b.pass {color: green;}
#page-admin-report-unittest-index b.fail, b.exception {color: red;}
#page-admin-report-unittest-index .exception, .exception pre {background-color: #FDD;}
#page-admin-report-unittest-index .unittestsummary {color: white;}
#page-admin-report-unittest-index .unittestsummary.failed {background-color: red;}
#page-admin-report-unittest-index .unittestsummary.passed {background-color: green;}
#page-admin-report-security-index .timewarninghidden {display:none;} #page-admin-report-security-index .timewarninghidden {display:none;}
#page-admin-report-security-index .statuswarning {background-color: #f0e000;} #page-admin-report-security-index .statuswarning {background-color: #f0e000;}
#page-admin-report-security-index .statusserious {background-color: #f07000;} #page-admin-report-security-index .statusserious {background-color: #f07000;}

View file

@ -94,13 +94,6 @@
.path-admin .incompatibleblockstable td.c0 {color: #ff0000;} .path-admin .incompatibleblockstable td.c0 {color: #ff0000;}
table.flexible .r0 {background-color: #F0F0F0;} table.flexible .r0 {background-color: #F0F0F0;}
table.flexible .r1 {background-color: #FAFAFA;} table.flexible .r1 {background-color: #FAFAFA;}
#page-admin-report-unittest-index span.notice {color: teal;}
#page-admin-report-unittest-index b.pass {color: green;}
#page-admin-report-unittest-index b.fail, b.exception {color: red;}
#page-admin-report-unittest-index .exception, .exception pre {background-color: #FDD;}
#page-admin-report-unittest-index .unittestsummary {color: white;}
#page-admin-report-unittest-index .unittestsummary.failed {background-color: red;}
#page-admin-report-unittest-index .unittestsummary.passed {background-color: green;}
#page-admin-report-security-index #timewarning {text-align:center;} #page-admin-report-security-index #timewarning {text-align:center;}
#adminsettings fieldset {background-color: #EEE;border:1px solid #BBB;color: #000;} #adminsettings fieldset {background-color: #EEE;border:1px solid #BBB;color: #000;}