/*
 * 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;
}

.prefix {
  flex: none;
  color: var(--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;
  background-color: transparent;
}

.text-prompt-input .suggestion {
  color: var(--color-background-highlight);
  position: absolute;
  left: 0;
  z-index: 1;
}

/*
 * 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: 14px;
}

.prefix {
  flex: none;
  color: var(--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;
  background-color: transparent;
}

.text-prompt-input .suggestion {
  color: var(--color-background-highlight);
  position: absolute;
  left: 0;
  z-index: 1;
}

Set correct font-size for input elements.
[QuickOpen] Set correct font-size for input elements.

This regressed due to the introduction of a shadow root in between,
where the font-size: 14px outside would no longer propogate, so we
need to be explicit as well within the shadow root.

Fixed: chromium:1268745
Change-Id: I469e9367cb7c91504b3918377b8cf6a65a57435b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3971322
Commit-Queue: Nancy Li <75d1eae50692fe1e75f263dbfd52feffc9e7984f@chromium.org>
Commit-Queue: Benedikt Meurer <024a1e0af501338d11c3b837c6193d11c140d792@chromium.org>
Reviewed-by: Nancy Li <75d1eae50692fe1e75f263dbfd52feffc9e7984f@chromium.org>
Auto-Submit: Benedikt Meurer <024a1e0af501338d11c3b837c6193d11c140d792@chromium.org>
