mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 17:57:36 +08:00
Bug: chromium:1083142 Change-Id: I0d55bdead797cd74ecf72c3ef0a8443e70e4f4c3 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2288693 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Mathias Bynens <mathias@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org>
77 lines
1.4 KiB
CSS
77 lines
1.4 KiB
CSS
/*
|
|
* Copyright (c) 2015 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.
|
|
*/
|
|
|
|
.text-prompt-root {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.text-prompt-editing {
|
|
box-shadow: var(--drop-shadow);
|
|
background-color: white;
|
|
text-overflow: clip !important;
|
|
padding-left: 2px;
|
|
margin-left: -2px;
|
|
padding-right: 2px;
|
|
margin-right: -2px;
|
|
margin-bottom: -1px;
|
|
padding-bottom: 1px;
|
|
opacity: 100% !important;
|
|
}
|
|
|
|
.text-prompt {
|
|
cursor: text;
|
|
overflow-x: visible;
|
|
}
|
|
|
|
.text-prompt::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.text-prompt-editing > .text-prompt {
|
|
color: #222 !important;
|
|
text-decoration: none !important;
|
|
white-space: pre;
|
|
}
|
|
|
|
.text-prompt > .auto-complete-text {
|
|
color: rgb(128 128 128) !important;
|
|
}
|
|
|
|
.text-prompt[data-placeholder]:empty::before {
|
|
content: attr(data-placeholder);
|
|
color: rgb(128 128 128);
|
|
}
|
|
|
|
.text-prompt:not([data-placeholder]):empty::after {
|
|
content: '\00A0';
|
|
width: 0;
|
|
display: block;
|
|
}
|
|
|
|
.text-prompt.disabled {
|
|
opacity: 50%;
|
|
cursor: default;
|
|
}
|
|
|
|
.text-prompt-editing br {
|
|
display: none;
|
|
}
|
|
|
|
.text-prompt-root:not(:focus-within) ::selection {
|
|
background: transparent;
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
.text-prompt[data-placeholder]:empty::before {
|
|
color: GrayText !important;
|
|
}
|
|
|
|
.text-prompt.disabled {
|
|
opacity: 100%;
|
|
}
|
|
}
|