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

@scope to (devtools-widget > *) {
  :scope {
    display: contents;
  }

  .text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .link,
  .devtools-link {
    color: var(--sys-color-primary);
    text-decoration: underline;
    cursor: pointer;
    outline-offset: 2px;
  }

  button.link {
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
  }

  .policies-list {
    padding-top: 3px;
  }

  .permissions-row {
    display: flex;
    line-height: 22px;
  }

  .permissions-row div {
    padding-right: 5px;
  }

  .feature-name {
    width: 135px;
  }

  .allowed-icon {
    vertical-align: sub;
  }

  .block-reason {
    width: 215px;
  }

  .disabled-features-button {
    padding-left: var(--sys-size-3);
  }
}
