| /* |
| * 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 { |
| white-space: normal; |
| display: inline-block; |
| margin-right: var(--sys-size-1); |
| margin-left: var(--sys-size-1); |
| } |
| |
| .icon-button { |
| border: none; |
| margin-right: 2px; |
| margin-top: 4px; |
| display: inline-flex; |
| align-items: center; |
| color: inherit; |
| font-size: inherit; |
| font-family: inherit; |
| background-color: inherit; |
| } |
| |
| .icon-button.with-click-handler { |
| padding: 0; |
| margin: 0; |
| height: 18px; |
| border-radius: var(--sys-shape-corner-extra-small); |
| } |
| |
| .icon-button.with-click-handler:hover { |
| background-color: var(--sys-color-state-hover-on-subtle); |
| } |
| |
| .icon-button:focus-visible { |
| outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring); |
| } |
| |
| .compact .icon-button-title { |
| display: none; |
| } |
| |
| .icon-button-title { |
| margin-right: var(--sys-size-2); |
| |
| + devtools-icon { |
| margin-left: var(--sys-size-3); |
| } |
| } |
| |
| .status-icon { |
| margin-right: var(--sys-size-1); |
| margin-left: var(--sys-size-2); |
| } |
| |
| @media (forced-colors: active) { |
| .icon-button { |
| forced-color-adjust: none; |
| background-color: ButtonFace; |
| } |
| |
| .icon-button:focus-visible, |
| .icon-button.with-click-handler:hover { |
| background-color: Highlight; |
| color: HighlightText; |
| } |
| } |