blob: 46913fb8fc1c8f56f543a3cd1acec615f12e550c [file] [log] [blame]
/* 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
* #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: auto auto 1fr 5fr;
grid-auto-flow: column;
gap: 0 12px;
padding: 4px 4px;
margin-bottom: 4px;
border-radius: 4px;
height: 40px;
align-items: center;
min-width: 0;
position: relative;
}
.info {
overflow: hidden;
font-size: 13px;
color: var(--cr-primary-text-color);
text-overflow: ellipsis;
}
.current-state-card {
width: 80px;
border-radius: 1000px;
font-size: 14px;
display: flex;
height: 34px;
align-items: center;
padding: 0 16px;
color: var(--cr-primary-text-color);
}
.state-disabled {
background-color: var(--google-grey-500);
}
.state-idle {
background-color: var(--google-yellow-300);
}
.state-active {
background-color: var(--google-blue-300);
}
.state-recording {
background-color: var(--google-green-300);
}