mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +08:00
Design doc: https://goo.gle/devtools-computed-styles Screencast: https://imgur.com/a/n8Y7jXH Updated screencast for expanding by default: https://imgur.com/a/0CUnlch Bug: chromium:1096230, chromium:1084673, chromium:1106251 Change-Id: Ib6f22de5f96cb7e35fe60730c186cbde7d2905fe Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2360377 Reviewed-by: Changhao Han <changhaohan@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Changhao Han <changhaohan@chromium.org>
49 lines
1.0 KiB
CSS
49 lines
1.0 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.
|
|
*/
|
|
|
|
.computed-properties {
|
|
user-select: text;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.styles-sidebar-pane-toolbar {
|
|
border-bottom: 1px solid #eee;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.styles-sidebar-pane-filter-box {
|
|
flex: auto;
|
|
display: flex;
|
|
}
|
|
|
|
.styles-sidebar-pane-filter-box > input {
|
|
outline: none !important;
|
|
border: none;
|
|
width: 100%;
|
|
background: white;
|
|
padding-left: 4px;
|
|
margin: 3px;
|
|
}
|
|
|
|
.styles-sidebar-pane-filter-box > input:focus,
|
|
.styles-sidebar-pane-filter-box > input:not(:placeholder-shown) {
|
|
box-shadow: var(--focus-ring-active-shadow);
|
|
}
|
|
|
|
.styles-sidebar-pane-filter-box > input::placeholder {
|
|
color: rgb(0 0 0 / 54%);
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
.styles-sidebar-pane-filter-box > input {
|
|
border: 1px solid ButtonText;
|
|
}
|
|
}
|
|
|
|
:host-context(.-theme-with-dark-background) devtools-computed-style-group-lists {
|
|
--group-title-color: #e8eaed;
|
|
}
|