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   color: #333;
     18   font-family: arial,sans-serif;
     19   font-size: 13px;
     20   margin: 10;
     21   padding: 10;
     22 }
     23 
     24 /* Report logo and device name */
     25 table.title {
     26   border-width: 0;
     27   margin-left: auto;
     28   margin-right: auto;
     29   padding: 5px;
     30   vertical-align: middle;
     31 }
     32 
     33 table.summary {
     34   background-color: #d4e9a9;
     35   border: 0 solid #a5c639;
     36   border-collapse: collapse;
     37   margin-left: auto;
     38   margin-right: auto;
     39 }
     40 
     41 table.summary th {
     42   background-color: #a5c639;
     43   font-size: 1.2em;
     44   padding: .5em;
     45 }
     46 
     47 table.summary td {
     48   border: 0 inset #808080;
     49   font-size: 1em;
     50   padding: .5em;
     51   vertical-align: top;
     52 }
     53 
     54 table.testsummary {
     55   background-color: #d4e9a9;
     56   border-collapse: collapse;
     57   margin-left: auto;
     58   margin-right: auto;
     59 }
     60 
     61 table.testsummary th {
     62   background-color: #a5c639;
     63   border: 1px outset #808080;
     64   padding: .5em;
     65 }
     66 
     67 table.testsummary td {
     68   border: 1px outset #a5c639;
     69   padding: .5em;
     70   text-align: center;
     71 }
     72 
     73 table.testdetails {
     74   background-color: #d4e9a9;
     75   border-collapse: collapse;
     76   border-color: #a5c639;
     77   border-width: 1;
     78   margin-bottom: 2em;
     79   margin-left: auto;
     80   margin-right: auto;
     81   vertical-align: top;
     82   width: 95%;
     83 }
     84 
     85 table.testdetails th {
     86   background-color: #a5c639;
     87   border: 1px outset #808080;
     88   height: 2em;
     89   padding: .2em;
     90 }
     91 
     92 table.testdetails td {
     93   border: 1px outset #a5c639;
     94   padding: .2em;
     95   text-align: left;
     96   vertical-align: top;
     97 }
     98 
     99 table.testdetails td.module {
    100   background-color: #fff;
    101   border: 0;
    102   font-weight: bold;
    103 }
    104 
    105 /* Test cell details */
    106 td.failed {
    107   background-color: #fa5858;
    108   font-weight: bold;
    109   text-align: center;
    110   vertical-align: top;
    111 }
    112 
    113 td.failuredetails {
    114   text-align: left;
    115 }
    116 
    117 td.pass {
    118   margin-left: auto;
    119   margin-right: auto;
    120   text-align: center;
    121 }
    122 
    123 td.not_executed {
    124   background-color: #a5c639;
    125   text-align: center;
    126   vertical-align: top;
    127 }
    128 
    129 td.testname {
    130   border: 1px outset #a5c639;
    131   overflow: hidden;
    132   padding: 1;
    133   text-align: left;
    134   vertical-align: top;
    135 }
    136 
    137 td.testcase {
    138   border: 1px outset #a5c639;
    139   font-weight: bold;
    140   overflow: hidden;
    141   padding: 1;
    142   text-align: left;
    143   vertical-align: top;
    144 }
    145 
    146 div.details {
    147   overflow: auto;
    148   white-space: pre-wrap;       /* css-3 */
    149   white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    150   white-space: -pre-wrap;      /* Opera 4-6 */
    151   white-space: -o-pre-wrap;    /* Opera 7 */
    152   word-wrap: break-word;       /* Internet Explorer 5.5+ */
    153 }
    154