| /* |
| * 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. |
| */ |
| |
| :host { |
| display: inline-block; |
| white-space: nowrap; |
| color: inherit; |
| font-size: inherit; |
| font-family: inherit; |
| } |
| |
| :host([hidden]) { |
| display: none; |
| } |
| |
| button { |
| border: none; |
| background: transparent; |
| margin: 0; |
| padding: 0; |
| font-family: inherit; |
| font-size: inherit; |
| color: inherit; |
| |
| &.link { |
| cursor: pointer; |
| |
| & > span { |
| color: var(--sys-color-primary); |
| } |
| } |
| } |
| |
| devtools-icon { |
| width: 16px; |
| height: 16px; |
| vertical-align: middle; |
| color: var(--icon-no-request); |
| |
| .link > & { |
| color: var(--icon-link); |
| } |
| } |
| |
| @media (forced-colors: active) { |
| devtools-icon { |
| color: ButtonText; |
| } |
| } |