html {
  height: 100%;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-family: "STHeiti", "Microsoft YaHei", monospace;
  display: flex;
  flex-direction: column;
}

.header {
  height: 48px;
  background: #404040;
  position: relative;
  font-size: 12px;
  line-height: 48px;
  white-space: nowrap;
  overflow: hidden;
  overflow-x: auto;
}

.refresh-btn {
  /* position: absolute;
  right: 10px; */
  color: #F60 !important;
  transition: all 0.3s;
  cursor: pointer;
  opacity: 0.8;
}

.refresh-btn:hover {
  opacity: 1;
  text-decoration: underline;
  transition: all 0.3s;
}

input, select {
  outline: none;
}

.switch {
  display: inline;
}
.container {
  display: flex;
  margin: 0 20px;
}

.col {
  margin-right: 20px;
}

.line {
  height: 48px;
  color: #fff;
  display: inline;
  margin-right: 10px;
}

.line>.label {
  margin-right: 6px;
}

.line b {
  color: #AAA;
}

#inspector {
  flex: 1;
}

.error-box {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  bottom: 0;
  overflow: auto;
  overflow-y: scroll;
  background: #FFF;
  color: #888;
  line-height: 22px;
  padding: 20px;
  font-family: Consolas;
  white-space: pre;
  z-index: 1;
}
.error-box h3 {
  color: #333;
  font-weight: normal
}
.error-box p {
  color: #333;
  font-weight: bold;
}

#inspector[src^="file"],
#inspector[src^="http"],
#inspector[src^="/"] {
  z-index: 2;
  position: relative;
}