/* Copyright (c) 2012 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. */

/*
 * The resizable box on the left of the events view, which lists the clickable
 * sources. The initial size of this box is fixed, however it can be
 * dynamically changed by dragging the bar to its right.
 */
#events-view-left-pane {
  min-width: 0;
  width: 300px;  /* Initial width */
}

/* The used to resize the left panel. */
.vertical-splitter {
  border-left: 1px solid #afafaf;
  cursor: ew-resize;
  user-select: none;
  width: 10px;
}

/* Needs to be wider on touch devices. */
.touch .vertical-splitter {
  width: 5mm;
}

#events-view-filter-box {
  background: #efefef;
  border-bottom: 1px solid #aaa;
  overflow: hidden;
  padding: 5px;
  white-space: nowrap;
}

#events-view-filter-box input {
  width: 100%;
}

#events-view-action-box {
  background: #efefef;
  border-top: 1px solid gray;
  overflow: hidden;
  white-space: nowrap;
}

#events-view-source-list-table {
  cursor: pointer;
}

#events-view-source-list-table thead td {
  background: rgb(229, 236, 249);
  font-weight: bold;
  text-align: left;
}

#events-view-source-list-table td {
  border-bottom: 1px solid #afafaf;
  border-left: 1px solid #afafaf;
  padding: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#events-view-source-list-tbody .mouseover {
  background: rgb(244,244,255);
}

#events-view-source-list-tbody .selected {
  background: rgb(195, 217, 255);
}

#events-view-source-list-tbody .error {
  background: rgb(255, 245, 245);
}

#events-view-source-list-tbody .inactive {
  background: rgb(245, 255, 245);
}

#events-view-source-list-tbody .source-connect-job {
  color: blue;
}

#events-view-source-list-tbody .source-host-resolver-impl-job,
#events-view-source-list-tbody .source-host-resolver-impl-request {
  color: rgb(32, 96, 96);
}

#events-view-source-list-tbody .source-disk-cache-entry,
#events-view-source-list-tbody .source-memory-cache-entry {
  color: #707070;
}

#events-view-source-list-tbody .source-socket {
  color: purple;
}

#events-view-source-list-tbody .source-udp-socket {
  color: rgb(128, 48, 48);
}

#events-view-source-list-tbody .source-pac-file-decider {
  color: green;
}

#events-view-source-list-tbody .source-download {
  color: rgb(112, 112, 0);
}

#events-view-source-list-tbody .source-none {
  color: rgb(235, 0, 0);
}

