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 table.incompletemodules {
    106   background-color: #d4e9a9;
    107   border-collapse: collapse;
    108   margin-left: auto;
    109   margin-right: auto;
    110 }
    111 
    112 table.incompletemodules th {
    113   background-color: #a5c639;
    114   border: 1px outset #808080;
    115   padding: .5em;
    116 }
    117 
    118 table.incompletemodules td {
    119   border: 1px outset #a5c639;
    120   padding: .5em;
    121   text-align: center;
    122 }
    123 
    124 /* Test cell details */
    125 td.failed {
    126   background-color: #fa5858;
    127   font-weight: bold;
    128   text-align: center;
    129   vertical-align: top;
    130 }
    131 
    132 td.failuredetails {
    133   text-align: left;
    134 }
    135 
    136 td.pass {
    137   margin-left: auto;
    138   margin-right: auto;
    139   text-align: center;
    140 }
    141 
    142 td.not_executed {
    143   background-color: #a5c639;
    144   text-align: center;
    145   vertical-align: top;
    146 }
    147 
    148 td.testname {
    149   border: 1px outset #a5c639;
    150   overflow: hidden;
    151   padding: 1;
    152   text-align: left;
    153   vertical-align: top;
    154 }
    155 
    156 td.testcase {
    157   border: 1px outset #a5c639;
    158   font-weight: bold;
    159   overflow: hidden;
    160   padding: 1;
    161   text-align: left;
    162   vertical-align: top;
    163 }
    164 
    165 div.details {
    166   overflow: auto;
    167   white-space: pre-wrap;       /* css-3 */
    168   white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    169   white-space: -pre-wrap;      /* Opera 4-6 */
    170   white-space: -o-pre-wrap;    /* Opera 7 */
    171   word-wrap: break-word;       /* Internet Explorer 5.5+ */
    172 }
    173