/*
 * Copyright (c) 2015 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-status-dialog {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
  align-self: center;
  background-color: var(--color-background);
  box-shadow: var(--drop-shadow);
}

.status-dialog-line {
  margin: 2px;
  height: 14px;
  min-height: auto;
  display: flex;
  align-items: baseline;
}

.status-dialog-line .label {
  display: inline-block;
  width: 80px;
  text-align: right;
  color: var(--color-text-primary);
  margin-right: 10px;
}

.timeline-status-dialog .progress .indicator-container {
  display: inline-block;
  width: 200px;
  height: 8px;
  background-color: var(--color-background-elevation-2);
}

.timeline-status-dialog .progress .indicator {
  background-color: var(--color-primary-variant);
  height: 100%;
  width: 0;
  margin: 0;
}

.timeline-status-dialog .stop-button {
  margin-top: 8px;
  height: 100%;
  align-self: flex-end;
}

.timeline-status-dialog .stop-button button {
  min-width: 80px;
}

.timeline-status-dialog.small-dialog {
  width: inherit;
  justify-content: center;
}

.small-dialog > .stop-button {
  align-self: center;
  margin-top: 20px;
  height: initial;
}

@media (forced-colors: active) {
  .timeline-status-dialog {
    border: 1px solid canvastext;
  }

  .timeline-status-dialog .progress .indicator-container {
    border: 1px solid ButtonText;
    background-color: ButtonFace;
  }

  .timeline-status-dialog .progress .indicator {
    forced-color-adjust: none;
    background-color: ButtonText;
  }
}
