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

:host {
  overflow: hidden;
}

.coverage-toolbar-container {
  display: flex;
  border-bottom: 1px solid var(--sys-color-divider);
  flex: 0 0 auto;
}

.coverage-toolbar {
  flex: auto;
}

.coverage-toolbar-summary {
  background-color: var(--sys-color-cdt-base-container);
  border-top: 1px solid var(--sys-color-divider);
  padding-left: 5px;
  flex: 0 0 19px;
  display: flex;
  padding-right: 5px;
}

.coverage-toolbar-summary .coverage-message {
  padding-top: 2px;
  padding-left: 1ex;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.coverage-results {
  overflow-y: auto;
  display: flex;
  flex: auto;
}

.bfcache-page,
.prerender-page {
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.bfcache-page .message,
.prerender-page .message {
  white-space: pre-line;
  text-align: center;
}

.inline-button {
  display: inline-flex;
  border: 1px solid var(--sys-color-neutral-outline);
  border-radius: 4px;
  position: relative;
  vertical-align: sub;
  margin: 2px;
  background-color: var(--sys-color-cdt-base-container);
  justify-content: center;
  width: 28px;
}

.inline-button:hover {
  border-color: transparent;
  background-color: var(--sys-color-state-hover-on-subtle);
}
