| /* 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. */ |
| |
| /* #css_wrapper_metadata_start |
| * #type=style-lit |
| * #import=//resources/cr_elements/cr_hidden_style_lit.css.js |
| * #import=//resources/cr_elements/cr_spinner_style_lit.css.js |
| * #scheme=relative |
| * #include=cr-hidden-style-lit cr-spinner-style-lit |
| * #css_wrapper_metadata_end */ |
| |
| :host { |
| display: grid; |
| grid-template-columns: repeat(3, 1fr) 3fr 1fr 250px 150px; |
| grid-auto-flow: column; |
| gap: 0 12px; |
| padding: 8px 16px; |
| background-color: var(--cr-card-background-color); |
| align-items: center; |
| min-width: 0; |
| position: relative; |
| border-bottom: var(--cr-separator-line); |
| } |
| |
| :host > div { |
| overflow: hidden; |
| min-width: 0; |
| } |
| |
| /* remove default button styling */ |
| .clickable-field { |
| text-align: start; |
| width: 100%; |
| text-overflow: ellipsis; |
| white-space: nowrap; |
| overflow: hidden; |
| background: none; |
| color: inherit; |
| border: none; |
| padding: 0; |
| font: inherit; |
| outline: inherit; |
| color: var(--cr-primary-text-color); |
| } |
| |
| .clickable-field.copiable { |
| cursor: copy; |
| } |
| |
| .upload-state-card { |
| flex: 1; |
| white-space: nowrap; |
| font-weight: bold; |
| border-radius: 1000px; |
| font-size: 14px; |
| display: flex; |
| height: 34px; |
| align-items: center; |
| padding: 0 16px; |
| color: var(--cr-primary-text-color); |
| } |
| |
| .state-default { |
| border: none; |
| background-color: lightblue; |
| } |
| |
| .state-success { |
| background-color: rgb(173, 255, 173); |
| } |
| |
| .state-pending { |
| background-color: orange; |
| } |
| |
| @media (prefers-color-scheme: dark) { |
| .action-button { |
| border: 1px solid DarkGray; |
| color: DarkGray; |
| background-color: transparent; |
| } |
| |
| .action-button:not([disabled]):hover { |
| --cr-icon-button-fill-color: var(--cr-card-background-color); |
| background-color: DarkGray; |
| } |
| } |
| |
| @media (prefers-color-scheme: light) { |
| .action-button { |
| border-color: transparent; |
| color: DarkGray; |
| background-color: rgb(239, 239, 239); |
| } |
| |
| .action-button:not([disabled]):hover { |
| --cr-icon-button-fill-color: black; |
| } |
| } |
| |
| .actions-container { |
| flex: 1; |
| justify-content: end; |
| display: flex; |
| } |
| |
| .action-button { |
| height: 40px; |
| width: 40px; |
| border-radius: 100%; |
| margin-inline-start: 0px; |
| margin-inline-end: 8px; |
| } |
| |
| .action-button.download { |
| pointer-events: visible; |
| } |
| |
| .info { |
| font-weight: bold; |
| font-size: 13px; |
| white-space: nowrap; |
| color: var(--cr-secondary-text-color); |
| } |
| |
| .value { |
| color: var(--cr-primary-text-color) |
| } |
| |
| .spinner { |
| --cr-spinner-size: 20px; |
| } |