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

.paused-status {
  padding: 6px;
  border-bottom: 1px solid transparent;
  border-top: 1px solid rgb(189 189 189); /* stylelint-disable-line plugin/use_theme_colors */
  /* See: crbug.com/1152736 for color variable migration. */
  background-color: hsl(50deg 100% 95%); /* stylelint-disable-line plugin/use_theme_colors */
  /* See: crbug.com/1152736 for color variable migration. */
  color: rgb(107 97 48); /* stylelint-disable-line plugin/use_theme_colors */
  /* See: crbug.com/1152736 for color variable migration. */
}

.-theme-with-dark-background .paused-status {
  background-color: hsl(46deg 98% 22%);
  color: #ccc;
}

.paused-status.error-reason {
  background-color: hsl(0deg 100% 97%); /* stylelint-disable-line plugin/use_theme_colors */
  /* See: crbug.com/1152736 for color variable migration. */
  color: #6b3b3b; /* stylelint-disable-line plugin/use_theme_colors */
  /* See: crbug.com/1152736 for color variable migration. */
}

.status-main {
  font-weight: bold;
  padding-left: 15px;
  position: relative;
}

.status-sub:not(:empty) {
  padding-left: 15px;
  padding-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paused-status.error-reason .status-sub {
  color: #f00; /* stylelint-disable-line plugin/use_theme_colors */
  /* See: crbug.com/1152736 for color variable migration. */
  line-height: 11px;
  max-height: 27px;
  user-select: text;
}

.status-icon {
  filter: hue-rotate(190deg);
  position: absolute;
  left: 0;
  top: calc(50% - 5px);
}

.paused-status.error-reason .status-icon {
  filter: none;
}
