Home | History | Annotate | Download | only in report
      1 /* Copyright (C) 2015 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.module {
    107     background-color: white;
    108     border: 0px;
    109     font-weight: bold;
    110 }
    111 
    112 table.incompletemodules {
    113     background-color: rgb(212, 233, 169);
    114     border-collapse:collapse;
    115     margin-left:auto;
    116     margin-right:auto;
    117 }
    118 
    119 table.incompletemodules th {
    120     background-color: #A5C639;
    121     border: 1px outset gray;
    122     padding: 0.5em;
    123 }
    124 
    125 table.incompletemodules td {
    126     border: 1px outset #A5C639;
    127     padding: 0.5em;
    128     text-align: center;
    129 }
    130 
    131 /* Test cell details */
    132 td.failed {
    133     background-color: #FA5858;
    134     font-weight:bold;
    135     vertical-align: top;
    136     text-align: center;
    137 }
    138 
    139 td.failuredetails {
    140     text-align: left;
    141 }
    142 
    143 td.pass {
    144     text-align: center;
    145     margin-left:auto;
    146     margin-right:auto;
    147 }
    148 
    149 td.not_executed {
    150     background-color: #A5C639;
    151     vertical-align: top;
    152     text-align: center;
    153 }
    154 
    155 td.testname {
    156     border-width: 1px;
    157     border-color: #A5C639;
    158     border-style: outset;
    159     text-align: left;
    160     vertical-align: top;
    161     padding:1;
    162     overflow:hidden;
    163 }
    164 
    165 td.testcase {
    166     border-width: 1px;
    167     border-color: #A5C639;
    168     border-style: outset;
    169     text-align: left;
    170     vertical-align: top;
    171     padding:1;
    172     overflow:hidden;
    173     font-weight:bold;
    174 }
    175 
    176 div.details {
    177     white-space: pre-wrap;       /* css-3 */
    178     white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    179     white-space: -pre-wrap;      /* Opera 4-6 */
    180     white-space: -o-pre-wrap;    /* Opera 7 */
    181     word-wrap: break-word;       /* Internet Explorer 5.5+ */
    182     overflow:auto;
    183 }
    184