| /* Copyright 2025 The Chromium Authors |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. */ |
| |
| /* #css_wrapper_metadata_start |
| * #type=style-lit |
| * #scheme=relative |
| * #css_wrapper_metadata_end */ |
| |
| |
| :host { |
| width: 32px; |
| height: 32px; |
| display: none; |
| } |
| |
| :host([visible]) { |
| display: flex; |
| } |
| |
| cr-button { |
| padding: 0; |
| --cr-button-background-color: transparent; |
| --cr-button-border-color: transparent; |
| --cr-button-border: 0; |
| min-width: 32px; |
| --cr-button-height: 32px; |
| } |
| |
| div#icon { |
| width: 20px; |
| height: 20px; |
| margin: 6px; |
| background-image: var(--extension-icon-url); |
| background-size: contain; |
| border-radius: 4px; /* matches the rounding effect of cr-icon-button */ |
| } |