chrome-devtools-frontend
Version:
Chrome DevTools UI
49 lines (42 loc) • 963 B
CSS
/*
* Copyright 2021 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
white-space: pre;
overflow: hidden;
display: flex;
}
input {
font-size: var(--sys-typescale-body3-size);
}
.prefix {
flex: none;
font-weight: var(--ref-typeface-weight-medium);
font-size: var(--sys-typescale-body3-size);
color: var(--sys-color-primary);
}
.text-prompt-input {
flex: auto;
position: relative;
}
.text-prompt-input input {
width: 100%;
border: none;
outline: none;
position: absolute;
left: 0;
padding: 0;
z-index: 2;
color: var(--sys-color-on-surface);
background-color: transparent;
line-height: var(--sys-typescale-body3-line-height);
}
.text-prompt-input .suggestion {
color: var(--sys-color-on-surface-subtle);
line-height: var(--sys-typescale-body3-line-height);
position: absolute;
left: 0;
z-index: 1;
}