mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 05:35:05 +08:00
The list of CSS properties we check for colors wasn't thorough and didn't include `border-left/right/top/bottom` or `background` on its own. This CL fixes that and disables the rule for any current violations. Bug: 1152736 Change-Id: Ic732d653fdfab0462a04dc891bcece1f44e5d471 No-Presubmit: true Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2676157 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
112 lines
2.1 KiB
CSS
112 lines
2.1 KiB
CSS
/*
|
|
* Copyright 2019 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 {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.web-audio-toolbar-container {
|
|
background-color: var(--color-background-elevation-1);
|
|
border-bottom: var(--color-background-highlight);
|
|
min-height: fit-content;
|
|
}
|
|
|
|
.web-audio-toolbar {
|
|
display: inline-block;
|
|
}
|
|
|
|
.web-audio-landing-page {
|
|
position: absolute;
|
|
background-color: var(--color-background);
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: auto;
|
|
font-size: 13px;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.web-audio-landing-page > div {
|
|
max-width: 500px;
|
|
margin: 10px;
|
|
}
|
|
|
|
.web-audio-landing-page > div > p {
|
|
flex: none;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.web-audio-content-container {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.web-audio-details-container {
|
|
min-height: fit-content;
|
|
}
|
|
|
|
.web-audio-summary-container {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.context-detail-container {
|
|
flex: none;
|
|
display: flex;
|
|
background-color: var(--color-background);
|
|
flex-direction: column;
|
|
}
|
|
|
|
.context-detail-header {
|
|
border-bottom: 1px solid rgb(230 230 230); /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
padding: 12px 24px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.context-detail-title {
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.context-detail-subtitle {
|
|
font-size: 12px;
|
|
margin-top: 10px;
|
|
user-select: text;
|
|
}
|
|
|
|
.context-detail-row {
|
|
flex-direction: row;
|
|
display: flex;
|
|
line-height: 18px;
|
|
padding-left: 24px;
|
|
}
|
|
|
|
.context-detail-row-entry:not(:empty) {
|
|
color: var(--color-text-secondary);
|
|
overflow: hidden;
|
|
width: 130px;
|
|
}
|
|
|
|
.context-detail-row-value {
|
|
user-select: text;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.context-summary-container {
|
|
flex: 0 0 27px;
|
|
line-height: 27px;
|
|
padding-left: 5px;
|
|
background-color: var(--color-background-elevation-2);
|
|
border-top: 1px solid var(--color-details-hairline);
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.context-summary-container span {
|
|
margin-right: 6px;
|
|
}
|