mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 13:44:39 +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>
117 lines
2.1 KiB
CSS
117 lines
2.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.
|
|
*/
|
|
|
|
header {
|
|
padding: 0 0 6px;
|
|
}
|
|
|
|
header > h1 {
|
|
font-size: 18px;
|
|
font-weight: normal;
|
|
margin: 0;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.settings-content {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
margin: 8px 8px 8px 0;
|
|
padding: 0 4px;
|
|
flex: auto;
|
|
}
|
|
|
|
.settings-container {
|
|
width: 100%;
|
|
column-width: 288px;
|
|
}
|
|
|
|
.settings-tab.settings-container {
|
|
column-width: 308px;
|
|
}
|
|
|
|
.settings-tab label {
|
|
padding-right: 4px;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.settings-container-wrapper {
|
|
position: absolute;
|
|
top: 31px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow: auto;
|
|
padding-top: 9px;
|
|
}
|
|
|
|
.settings-tab.settings-content {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.settings-tab p {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
p.folder-exclude-pattern {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
p.folder-exclude-pattern > input {
|
|
flex: auto;
|
|
}
|
|
|
|
.settings-tab .file-system-container {
|
|
border-top: 1px solid #aaa; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
padding: 19px 0 10px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.settings-tab .file-system-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.settings-tab .file-system-name {
|
|
font-weight: bold;
|
|
flex: none;
|
|
margin-right: 10px;
|
|
font-size: 15px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 70%;
|
|
}
|
|
|
|
.settings-tab .file-system-path {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
flex: auto;
|
|
}
|
|
|
|
.settings-info-message {
|
|
background-color: #eee; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
padding: 10px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.settings-tab.settings-content.settings-container {
|
|
column-width: initial;
|
|
overflow: hidden;
|
|
padding-right: 10px;
|
|
}
|
|
/*
|
|
* Always show an outline. Needed because we have a white background here.
|
|
*/
|
|
|
|
.harmony-input[type=text]:not(.error-input):not(:invalid) {
|
|
box-shadow: var(--focus-ring-inactive-shadow);
|
|
}
|