mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
- Prefer the modern comma-free CSS color function syntax over the legacy syntax. [1] - Explicitly use the `deg` suffix for angle values in colors, to clarify the range. - Explicitly use the `%` suffix for percentages instead of formatting the value as a number, again to clarify the range. [1]: https://twitter.com/mathias/status/1253242715304857601 [2]: https://goo.gle/devtools-css-color Bug: chromium:1083142 Fixed: chromium:1073885 Change-Id: I8e1582a2dee3553a61df88564051ea84c2011d76 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2209091 Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Auto-Submit: Mathias Bynens <mathias@chromium.org>
58 lines
1.1 KiB
CSS
58 lines
1.1 KiB
CSS
/*
|
|
* Copyright 2017 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.
|
|
*/
|
|
|
|
.object-popover-content {
|
|
display: block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.object-popover-title {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
font-weight: bold;
|
|
padding-left: 18px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.object-popover-tree {
|
|
border-top: 1px solid rgb(184 184 184);
|
|
overflow: auto;
|
|
width: 100%;
|
|
height: calc(100% - 13px);
|
|
}
|
|
|
|
.object-popover-container {
|
|
display: inline-block;
|
|
}
|
|
|
|
.function-popover-title {
|
|
border-bottom: 1px solid #aaa;
|
|
margin-bottom: 3px;
|
|
padding-bottom: 2px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.function-popover-title .function-name {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.function-title-link-container {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.function-title-link-container .devtools-link {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|