/* 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. */

.timeline-view * {
  -webkit-user-select: none;
  box-sizing: border-box;
}

.timeline-view {
  -webkit-box-flex: 1;
  -webkit-box-orient: vertical;
  cursor: default;
  display: -webkit-box;
  font-family: sans-serif;
  padding: 0;
}

.timeline-view > .control > .title {
  font-size: 14px;
  height: 19px;
  padding-left: 2px;
  padding-right: 8px;
  padding-top: 2px;
}

.timeline-view > .control {
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E5E5E5), to(#D1D1D1));
  background-color: #e6e6e6;
  border-bottom: 1px solid #8e8e8e;
  display: -webkit-box;
}

.timeline-view > .control > .controls {
  display: -webkit-box;
}

.timeline-view > .control > span {
  padding-left: 5px;
  padding-right: 10px;
}

.timeline-view > .control > .controls > button,
.timeline-view > .control > .controls > label {
  font-size: 11px;
  margin: 1px 2px 1px 2px;
  height: 19px;
}

.timeline-view > .control > .spacer {
  -webkit-box-flex: 1;
}

.timeline-view > .timeline-container {
  -webkit-box-flex: 1;
  display: -webkit-box;
  border-bottom: 1px solid #8e8e8e;
}

.timeline-view > .timeline-container > * {
  -webkit-box-flex: 1;
}

.timeline-drag-handle {
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E5E5E5), to(#D1D1D1));
  height: 8px;
  border-top: 1px solid white;
  border-bottom: 1px solid #8e8e8e;
  cursor: ns-resize;
}

.timeline-view > .analysis-container {
  height: 250px;
  overflow: auto;
  padding-left: 2px;
  padding-right: 2px;
}

.timeline-view .selection {
  margin: 2px;
}

.timeline-view .selection ul {
  margin: 0;
}

.timeline-find-control {
  -webkit-user-select: none;
  display: -webkit-box;
  position: relative;
}

.timeline-find-control .hit-count-label {
  left: 0;
  opacity: 0.25;
  pointer-events: none;
  position: absolute;
  text-align: right;
  top: 2px;
  width: 170px;
  z-index: 1;
}

.timeline-find-control input {
  -webkit-user-select: auto;
  background-color: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  height: 19px;
  margin-bottom: 1px;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1px;
  padding: 0;
  width: 170px;
}
.timeline-find-control input:focus {
  background-color: white;
}

.timeline-button.find-previous {
  border-left: none;
  margin-left: 0;
  margin-right: 0;
}
.timeline-button.find-next {
  border-left: none;
  margin-left: 0;
}

.timeline-view-help-overlay {
  padding: 6px;
}

.timeline-button {
  background-color: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: rgba(0,0,0,0.8);
  font-size: 14px;
  height: 19px;
  margin: 1px;
  text-align: center;
  width: 23px;
}

.timeline-button:hover {
  background-color: rgba(255, 255, 255, 1.0);
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4);
  color: rgba(0, 0, 0, 1);
}

.timeline-view-info-button {
  width: auto;
  padding-left: 4px;
  padding-right: 4px;
}

.timeline-view-info-button:hover {
  border: solid 1px;
}

.timeline-view-import-errors-button {
  color: darkred;
  border: solid 1px rgba(128, 0, 0, 0.2);
}

.timeline-view-import-errors-button:hover {
  color: red;
  border: solid 1px red;
}

.import-errors-dialog {
  overflow: auto;
  min-width: 400px;
  min-height: 200px;
  max-width: 800px;
  max-height: 500px;
}

.import-errors-dialog-text {
  white-space: pre;
  font-family: monospace;
  margin: 8px;
}

.metadata-dialog {
  overflow: auto;
  min-width: 400px;
  min-height: 200px;
  max-width: 800px;
  max-height: 500px;
}

.metadata-dialog-text {
  white-space: pre;
  font-family: monospace;
  margin: 8px;
}

.category-filter-dialog {
  min-width: 400px;
  min-height: 200px;
  padding: 20px;
}

.category-filter-dialog-form {
  padding: 10px;
  font-size: 80%;
}

.category-filter-dialog-form input {
  margin-right: 7px;
}
