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

:host {
  height: var(--sys-size-9);
  width: var(--sys-size-9);

  devtools-icon {
    height: 100%;
    width: 100%;
  }

  devtools-icon.document {
    color: var(--override-file-source-icon-color, var(--icon-default));
  }

  devtools-icon.script,
  devtools-icon.sm-script,
  devtools-icon.snippet {
    color: var(--override-file-source-icon-color, var(--icon-file-script));
  }

  devtools-icon.stylesheet,
  devtools-icon.sm-stylesheet {
    color: var(--override-file-source-icon-color, var(--icon-file-styles));
  }

  devtools-icon.image,
  devtools-icon.font {
    color: var(--override-file-source-icon-color, var(--icon-file-image));
  }

  devtools-icon.dot::before {
    content: var(--image-file-empty);
    width: 35%;
    height: 35%;
    border-radius: 50%;
    outline: var(--sys-size-1) solid var(--icon-gap-focus-selected);
    top: 60%;
    left: 55%;
    position: absolute;
    z-index: 1;
  }

  devtools-icon.purple.dot::before {
    background-color: var(--sys-color-purple-bright);
  }

  devtools-icon.green.dot::before {
    background-color: var(--sys-color-green-bright);
  }
}
