github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/gubernator/static/style.css (about)

     1  body {
     2      font-family: sans-serif;
     3      padding: 0;
     4      margin: 0;
     5      scroll-behavior: smooth;
     6  }
     7  #header {
     8      background-color: #3f51b5;
     9      color: white;
    10      text-align: center;
    11      padding: 8px;
    12      box-shadow: 0px 0px 10px #666;
    13      min-height: 100px;
    14  }
    15  #header a {
    16      color: white;
    17  }
    18  #header img {
    19      width: 100px;
    20      height: 100px;
    21      float: left;
    22      padding-left: 20px;
    23  }
    24  #summary {
    25      text-align: center;
    26  }
    27  #failures {
    28      padding: 0 0 0 10px;
    29  }
    30  #content {
    31      margin: 10px;
    32  }
    33  #help {
    34      margin: 30px;
    35  }
    36  h3 {
    37      margin: 0.67em 0 0 0;
    38  }
    39  pre {
    40      white-space: pre-wrap;
    41      word-break: break-word;
    42  }
    43  pre.nowrap{
    44      white-space: pre;
    45  }
    46  pre.error {
    47      margin: .5em 0 1em 2em;
    48      padding: 10px;
    49      background-color: #eee;
    50      display: inline-block;
    51      border-radius: 10px;
    52      box-shadow: 5px 5px 2px 0 #aaa;
    53  }
    54  pre.cmd {
    55      padding: 1em;     /* make the click target large */
    56      margin: 0 0 0 0;  /* margin isn't clickable */
    57      font-size: 9pt;
    58      color: #777;
    59  }
    60  pre.cmd::before {
    61      content: "Command: ";  /* This text isn't selectable */
    62  }
    63  span.highlight {
    64      background-color: palegoldenrod;
    65  }
    66  span.keyword {
    67      font-weight: bolder;
    68  }
    69  span.skip {
    70      color: #999;
    71      text-decoration: underline;
    72      cursor: pointer;
    73  }
    74  span.inset-filename {
    75      float: right;
    76      color: #777;
    77      margin-left: 3em;
    78  }
    79  span.time {
    80      font-weight: lighter;
    81      font-family: monospace;
    82  }
    83  span.inset-expand {
    84      float: left;
    85      color: #777;
    86  }
    87  .hidden {
    88      display: none;
    89  }
    90  .expand {
    91      cursor: pointer;
    92      text-decoration: underline;
    93  }
    94  a.anchor, pre.error>a {
    95      color: inherit;
    96  }
    97  a.anchor:target {
    98      color: blue;
    99  }
   100  table.pr {
   101      margin: 20px;
   102  }
   103  tr.pr-version th {
   104      background-color: lightgrey;
   105  }
   106  table.pr td {
   107      padding: 5px;
   108      max-width: 30vw;
   109  }
   110  .build-success {
   111      background-color: lightgreen;
   112  }
   113  .build-failure {
   114      background-color: #F88;
   115  }
   116  .build-unset {
   117      background-color: lightgrey;
   118  }
   119  .build-unstable {
   120      background-color: yellow;
   121  }
   122  label:hover {
   123      cursor: pointer;
   124  }
   125  table.pr-dash {
   126      border-spacing: 0;
   127  }
   128  table.pr-dash tbody tr {
   129      cursor: pointer;
   130  }
   131  table.pr-dash tbody tr:nth-child(odd) {
   132      background: #EEE;
   133  }
   134  table.pr-dash tbody tr:hover {
   135      background: #e3e9ff;
   136  }
   137  #prdash-nav {
   138      margin: 10px 0 0 40px;
   139  }
   140  #userBox {
   141      width: 10em;
   142  }
   143  table.build-meta {
   144      text-align: left;
   145      word-break: break-word;
   146      margin: 0 auto;  /* center */
   147  }
   148  table.build-meta tr:nth-child(even) {
   149      background: #ddd;
   150  }
   151  table.build-meta td:nth-child(2) {
   152      max-width: 60vw;
   153  }
   154  table.build-meta td {
   155      padding:2px 5px 2px 5px;
   156  }
   157  h3.pr-section {
   158      margin: 1em 0 0 1em;
   159  }
   160  h4.pr-section {
   161      margin-left: 3em;
   162  }
   163  .text-success { color: #55a532; }
   164  .text-pending { color: #cea61b; }
   165  .text-failure { color: #bd2c00; }
   166  
   167  .testlist {
   168      margin-left: 2em;
   169  }
   170  .testlist p {
   171      margin: 0;
   172  }
   173  
   174  /* ansi colors from https://en.wikipedia.org/wiki/ANSI_escape_code#Colors */
   175  .ansi-0 { color: #000000; }  /* Black */
   176  .ansi-1 { color: #c23621; }  /* Red */
   177  .ansi-2 { color: #25bc26; }  /* Green */
   178  .ansi-3 { color: #adad27; }  /* Brown */
   179  .ansi-4 { color: #492ee1; }  /* Blue */
   180  .ansi-5 { color: #d338d3; }  /* Magenta */
   181  .ansi-6 { color: #33bbc8; }  /* Cyan */
   182  .ansi-7 { color: #cbcccd; }  /* Gray */
   183  /* Bright */
   184  .ansi-8 { color: #818383; }  /* Darkgray */
   185  .ansi-9 { color: #fc391f; }  /* Red */
   186  .ansi-10 { color: #31e722; }  /* Green */
   187  .ansi-11 { color: #eaec23; }  /* Yellow */
   188  .ansi-12 { color: #5833ff; }  /* Blue */
   189  .ansi-13 { color: #f935f8; }  /* Magenta */
   190  .ansi-14 { color: #14f0f0; }  /* Cyan */
   191  .ansi-15 { color: #e9ebeb; }  /* White */
   192  ul.nav {
   193      list-style-type:none;
   194  }
   195  li.nav {
   196      padding: 5px 20px 5px 20px;
   197      display: inline-block;
   198      background-color: #eee;
   199  }
   200  div#log {
   201      padding: 0 0 0 10px;
   202  }
   203  ul.log {
   204      list-style-type:none;
   205      margin: 0px;
   206      padding: 0px;
   207  }
   208  li.log {
   209      padding: 5px;
   210      display: inline-block;
   211  }
   212  
   213  /* weak mobile support */
   214  @media (max-device-width: 500px) {
   215      body { font-size: xx-large; }
   216      pre { font-size: x-small; }
   217      pre.cmd { display: none; }
   218      pre.error { font-size: medium; }
   219      button { font-size: xx-large; }
   220  }