/* Copyright 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

html {
  font-family: Arial, sans-serif;
  background: #f2f2f2;
  font-size: 14px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

h1 {
  text-align: center;
  font-size: 2.5em;
  font-family: 'Coda', sans-serif;
  text-shadow: 0.1em 0.1em 0.2em #666;
  margin: 0.5em;
  line-height: 1em;
}

#load_banner {
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 20em;
  z-index: -1;
}

#wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 2em;
  overflow: auto;
}

#tabs {
  width: 90%;
  margin: 1em auto;
  position: relative;
  box-shadow: 0 0 1.5em #999;
  visibility: hidden; /* Will be shown by JS after loading. */
}

#tabs > div > div {
  margin-bottom: 1em;
}

#tabs > div header {
  margin-bottom: 0.5em;
}

#status_bar {
  display: block;
  position: fixed;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  width: 100%;
  height: 2em;
  line-height: 2em;
  overflow: hidden;
  background: #333;
  color: #eee;
  font-family: monospace;
  z-index: 10;
  margin: 0;
  padding: 0;
  box-shadow: 0 0 5px #333;
}

#progress_bar {
  position: absolute;
  width: 20%;
  top: 3px;
  right: 3px;
  bottom: 3px;
  height: auto;
}

#progress_bar-label {
  position: absolute;
  left: 0;
  right: 0;
  width: auto;
  font-weight: bold;
  color: #444;
  text-align: center;
  line-height: 1.5em;
}

#status_messages {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  background: rgba(50,50,50,0.8);
  color: #0e0;
  font-family: monospace;
  white-space: pre;
  padding: 0 0.5em;
}

#status_bar.expanded { overflow: visible; }

#status_bar.expanded #status_messages {
  position: fixed;
  z-index: 21;
  left: 0;
  right: 0;
  width: auto;
  height: auto;
  max-height: 30%;
  bottom: 0;
  overflow: auto;
  line-height: 1.5em;
}

#os-mem_chart,
#os-cpu_chart {
  width: 49%;
  max-width: 49%;
  margin: 0;
  display: inline-block;
  height: 20em;
}

table {
  -webkit-user-select: none;
}