Home | History | Annotate | Download | only in report
      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 /* Report logo and device name */
     26 table.title {
     27     padding:5px;
     28     border-width: 0px;
     29     margin-left:auto;
     30     margin-right:auto;
     31     vertical-align:middle;
     32 }
     33 
     34 table.summary {
     35     background-color: rgb(212, 233, 169);
     36     border-collapse:collapse;
     37     border: 0px solid #A5C639;
     38     margin-left:auto;
     39     margin-right:auto;
     40 }
     41 
     42 table.summary th {
     43     background-color: #A5C639;
     44     font-size: 1.2em;
     45     padding: 0.5em;
     46 }
     47 
     48 table.summary td {
     49     border-width: 0px 0px 0px 0px;
     50     border-color: gray;
     51     border-style: inset;
     52     font-size: 1em;
     53     padding: 0.5em;
     54     vertical-align: top;
     55 }
     56 
     57 table.testsummary {
     58     background-color: rgb(212, 233, 169);
     59     border-collapse:collapse;
     60     margin-left:auto;
     61     margin-right:auto;
     62 }
     63 
     64 table.testsummary th {
     65     background-color: #A5C639;
     66     border: 1px outset gray;
     67     padding: 0.5em;
     68 }
     69 
     70 table.testsummary td {
     71     border: 1px outset #A5C639;
     72     padding: 0.5em;
     73     text-align: center;
     74 }
     75 
     76 table.testdetails {
     77     background-color: rgb(212, 233, 169);
     78     border-collapse:collapse;
     79     border-width:1;
     80     border-color: #A5C639;
     81     margin-left:auto;
     82     margin-right:auto;
     83     margin-bottom: 2em;
     84     vertical-align: top;
     85     width: 95%;
     86 }
     87 
     88 table.testdetails th {
     89     background-color: #A5C639;
     90     border-width: 1px;
     91     border-color: gray;
     92     border-style: outset;
     93     height: 2em;
     94     padding: 0.2em;
     95 }
     96 
     97 table.testdetails td {
     98     border-width: 1px;
     99     border-color: #A5C639;
    100     border-style: outset;
    101     text-align: left;
    102     vertical-align: top;
    103     padding: 0.2em;
    104 }
    105 
    106 table.testdetails td.package {
    107     background-color: white;
    108     border: 0px;
    109     font-weight: bold;
    110 }
    111 
    112 /* Test cell details */
    113 td.failed {
    114     background-color: #FA5858;
    115     font-weight:bold;
    116     vertical-align: top;
    117     text-align: center;
    118 }
    119 
    120 td.failuredetails {
    121     text-align: left;
    122 }
    123 
    124 td.pass {
    125     text-align: center;
    126     margin-left:auto;
    127     margin-right:auto;
    128 }
    129 
    130 td.timeout, td.omitted, td.notExecuted {
    131     background-color: #A5C639;
    132     vertical-align: top;
    133     text-align: center;
    134 }
    135 
    136 td.testname {
    137     border-width: 1px;
    138     border-color: #A5C639;
    139     border-style: outset;
    140     text-align: left;
    141     vertical-align: top;
    142     padding:1;
    143     overflow:hidden;
    144 }
    145 
    146 td.testcase {
    147     border-width: 1px;
    148     border-color: #A5C639;
    149     border-style: outset;
    150     text-align: left;
    151     vertical-align: top;
    152     padding:1;
    153     overflow:hidden;
    154     font-weight:bold;
    155 }
    156 
    157 td.testcasespacer {
    158     border-width: 1px;
    159     border-color: #A5C639;
    160     border-style: outset;
    161     text-align: left;
    162     vertical-align: top;
    163     padding:1;
    164     overflow:hidden;
    165     font-weight:bold;
    166 }
    167 
    168 td.testsuite {
    169     border-width: 1px;
    170     border-color: #A5C639;
    171     border-style: outset;
    172     text-align: left;
    173     vertical-align: top;
    174     padding:1;
    175     overflow:hidden;
    176     font-weight:bold;
    177 }
    178 
    179 div.details {
    180     white-space: pre-wrap;       /* css-3 */
    181     white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    182     white-space: -pre-wrap;      /* Opera 4-6 */
    183     white-space: -o-pre-wrap;    /* Opera 7 */
    184     word-wrap: break-word;       /* Internet Explorer 5.5+ */
    185     overflow:auto;
    186 }
    187