1 /* Copyright (C) 2008 The Android Open Source Project 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14 */ 15 16 body { 17 font-family:arial,sans-serif; 18 color:#000; 19 font-size:13px; 20 color:#333; 21 padding:10; 22 margin:10; 23 } 24 25 table { 26 font-size:1em; 27 margin:0 0 1em; 28 padding:0; 29 border-collapse:collapse; 30 border-width:0; 31 empty-cells:show; 32 width: 95%; 33 } 34 35 /* Report logo and device name */ 36 #title table { 37 padding:5px; 38 border-width: 0px; 39 margin-left:auto; 40 margin-right:auto; 41 vertical-align:middle; 42 } 43 44 /* Device and test plan summary below the title */ 45 #summary table { 46 background-color: rgb(212, 233, 169); 47 -moz-border-radius:5px; 48 border-radius:5px; 49 padding:5px; 50 border-color: #A5C639 #A5C639 #A5C639 #A5C639; 51 border-width: 0px 0px 0px 0px; 52 margin-left:auto; 53 margin-right:auto; 54 width:80%; 55 } 56 57 #summary th { 58 background-color: #A5C639; 59 font-size:1.2em; 60 height: 2em; 61 width: 50%; 62 } 63 64 #summary td { 65 border-width: 0px 0px 0px 0px; 66 border-color: gray; 67 border-style: inset; 68 font-size:1em; 69 vertical-align: top; 70 } 71 72 #summaryinfo table { 73 background-color: rgb(212, 233, 169); 74 padding:5px; 75 border-width:0; 76 margin-left:auto; 77 margin-right:auto; 78 } 79 80 #summaryinfo td { 81 padding:1px; 82 border-width: 0px 0px 0px 0px; 83 vertical-align: top; 84 } 85 86 /* The test summary */ 87 #testsummary table { 88 background-color: rgb(212, 233, 169); 89 padding:5px; 90 border-width:1; 91 border-color: #A5C639; 92 margin-left:auto; 93 margin-right:auto; 94 width: 40%; 95 } 96 97 #testsummary th { 98 background-color: #A5C639; 99 border-width: 1px; 100 border-color: gray; 101 border-style: outset; 102 height: 2em; 103 } 104 105 #testsummary td { 106 border-width: 1px; 107 border-color: #A5C639; 108 border-style: outset; 109 text-align: center; 110 } 111 112 /* The test details */ 113 #testdetail table { 114 background-color: rgb(212, 233, 169); 115 padding:5px; 116 border-width:1; 117 border-color: #A5C639; 118 margin-left:auto; 119 margin-right:auto; 120 width: 95%; 121 table-layout:fixed; 122 vertical-align: top; 123 } 124 125 #testdetail th { 126 background-color: #A5C639; 127 border-width: 1px; 128 border-color: gray; 129 border-style: outset; 130 height: 2em; 131 } 132 133 #testdetail td { 134 border-width: 1px; 135 border-color: #A5C639; 136 border-style: outset; 137 text-align: left; 138 vertical-align: top; 139 padding:1; 140 } 141 142 /* The test package name */ 143 #none table { 144 border-width:0; 145 border-color: white; 146 background-color: white; 147 text-align:left; 148 border-collapse:collapse; 149 } 150 151 #none td { 152 border-width:0; 153 border-color: white; 154 background-color: white; 155 text-align:left; 156 border-collapse:collapse; 157 font-weight:bold; 158 } 159 160 /* Test cell details */ 161 td.failed { 162 background-color: #FA5858; 163 font-weight:bold; 164 vertical-align: top; 165 text-align: center; 166 } 167 168 td.failuredetails { 169 text-align: left; 170 } 171 172 td.pass { 173 text-align: center; 174 margin-left:auto; 175 margin-right:auto; 176 } 177 178 td.timeout, td.omitted, td.notExecuted { 179 background-color: #A5C639; 180 vertical-align: top; 181 text-align: center; 182 } 183 184 td.testname { 185 border-width: 1px; 186 border-color: #A5C639; 187 border-style: outset; 188 text-align: left; 189 vertical-align: top; 190 padding:1; 191 overflow:hidden; 192 } 193 194 td.testcase { 195 border-width: 1px; 196 border-color: #A5C639; 197 border-style: outset; 198 text-align: left; 199 vertical-align: top; 200 padding:1; 201 overflow:hidden; 202 font-weight:bold; 203 } 204 205 td.testcasespacer { 206 border-width: 1px; 207 border-color: #A5C639; 208 border-style: outset; 209 text-align: left; 210 vertical-align: top; 211 padding:1; 212 overflow:hidden; 213 font-weight:bold; 214 } 215 216 td.testsuite { 217 border-width: 1px; 218 border-color: #A5C639; 219 border-style: outset; 220 text-align: left; 221 vertical-align: top; 222 padding:1; 223 overflow:hidden; 224 font-weight:bold; 225 } 226 227 #details { 228 white-space: pre-wrap; /* css-3 */ 229 white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ 230 white-space: -pre-wrap; /* Opera 4-6 */ 231 white-space: -o-pre-wrap; /* Opera 7 */ 232 word-wrap: break-word; /* Internet Explorer 5.5+ */ 233 overflow:auto; 234 } 235