github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/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  table.pr th {
   111      cursor: pointer;
   112      user-select: none;
   113  }
   114  .build-success {
   115      background-color: lightgreen;
   116  }
   117  .build-failure {
   118      background-color: #F88;
   119  }
   120  .build-unset {
   121      background-color: lightgrey;
   122  }
   123  .build-unstable {
   124      background-color: yellow;
   125  }
   126  label:hover {
   127      cursor: pointer;
   128  }
   129  table.pr-dash {
   130      border-spacing: 0;
   131  }
   132  table.pr-dash tbody tr {
   133      cursor: pointer;
   134  }
   135  table.pr-dash tbody tr:nth-child(odd) {
   136      background: #EEE;
   137  }
   138  table.pr-dash tbody tr:hover {
   139      background: #e3e9ff;
   140  }
   141  #prdash-nav, #milestone-nav {
   142      margin: 10px 0 0 40px;
   143  }
   144  #userBox {
   145      width: 10em;
   146  }
   147  table.build-meta {
   148      text-align: left;
   149      word-break: break-word;
   150      margin: 0 auto;  /* center */
   151  }
   152  table.build-meta tr:nth-child(even) {
   153      background: #ddd;
   154  }
   155  table.build-meta td:nth-child(2) {
   156      max-width: 60vw;
   157  }
   158  table.build-meta td {
   159      padding:2px 5px 2px 5px;
   160  }
   161  h3.pr-section {
   162      margin: 1em 0 0 1em;
   163  }
   164  h4.pr-section {
   165      margin-left: 3em;
   166  }
   167  .text-success { color: #55a532; }
   168  .text-pending { color: #cea61b; }
   169  .text-failure { color: #bd2c00; }
   170  
   171  .testlist {
   172      margin-left: 2em;
   173  }
   174  .testlist p {
   175      margin: 0;
   176  }
   177  
   178  /* ansi colors from https://en.wikipedia.org/wiki/ANSI_escape_code#Colors */
   179  .ansi-0 { color: #000000; }  /* Black */
   180  .ansi-1 { color: #c23621; }  /* Red */
   181  .ansi-2 { color: #25bc26; }  /* Green */
   182  .ansi-3 { color: #adad27; }  /* Brown */
   183  .ansi-4 { color: #492ee1; }  /* Blue */
   184  .ansi-5 { color: #d338d3; }  /* Magenta */
   185  .ansi-6 { color: #33bbc8; }  /* Cyan */
   186  .ansi-7 { color: #cbcccd; }  /* Gray */
   187  /* Bright */
   188  .ansi-8 { color: #818383; }  /* Darkgray */
   189  .ansi-9 { color: #fc391f; }  /* Red */
   190  .ansi-10 { color: #31e722; }  /* Green */
   191  .ansi-11 { color: #eaec23; }  /* Yellow */
   192  .ansi-12 { color: #5833ff; }  /* Blue */
   193  .ansi-13 { color: #f935f8; }  /* Magenta */
   194  .ansi-14 { color: #14f0f0; }  /* Cyan */
   195  .ansi-15 { color: #e9ebeb; }  /* White */
   196  ul.nav {
   197      list-style-type:none;
   198  }
   199  li.nav {
   200      padding: 5px 20px 5px 20px;
   201      display: inline-block;
   202      background-color: #eee;
   203  }
   204  div#log {
   205      padding: 0 0 0 10px;
   206  }
   207  ul.log {
   208      list-style-type:none;
   209      margin: 0px;
   210      padding: 0px;
   211  }
   212  li.log {
   213      padding: 5px;
   214      display: inline-block;
   215  }
   216  
   217  /* weak mobile support */
   218  @media (max-device-width: 500px) {
   219      body { font-size: xx-large; }
   220      pre { font-size: x-small; }
   221      pre.cmd { display: none; }
   222      pre.error { font-size: medium; }
   223      button { font-size: xx-large; }
   224  }