mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 20:58:24 +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.0 KiB
CSS
112 lines
2.0 KiB
CSS
/*
|
|
* Copyright 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.
|
|
*/
|
|
|
|
:host {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header {
|
|
padding: 0 0 6px;
|
|
border-bottom: 1px solid #eee; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
font-size: 18px;
|
|
font-weight: normal;
|
|
flex: none;
|
|
}
|
|
|
|
.intro {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ignore-list-content-scripts {
|
|
margin-top: 10px;
|
|
flex: none;
|
|
}
|
|
|
|
.add-button {
|
|
margin: 10px 2px;
|
|
align-self: flex-start;
|
|
flex: none;
|
|
}
|
|
|
|
.ignore-list {
|
|
margin-top: 10px;
|
|
max-width: 500px;
|
|
flex: 0 1 auto;
|
|
min-height: 30px;
|
|
}
|
|
|
|
.ignore-list-empty {
|
|
flex: auto;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ignore-list-item {
|
|
padding: 3px 5px 3px 5px;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
flex: auto 1 1;
|
|
}
|
|
|
|
.ignore-list-pattern {
|
|
flex: auto;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.ignore-list-item .ignore-list-pattern {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
user-select: none;
|
|
color: #222; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ignore-list-item.ignore-list-disabled .ignore-list-pattern {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.ignore-list-behavior {
|
|
flex: 0 0 100px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.ignore-list-behavior > select {
|
|
margin-left: -10px;
|
|
}
|
|
|
|
.ignore-list-separator {
|
|
flex: 0 0 1px;
|
|
background-color: rgb(231 231 231); /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
height: 30px;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.ignore-list-separator-invisible {
|
|
visibility: hidden;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.ignore-list-edit-row {
|
|
flex: none;
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 6px 5px;
|
|
align-items: center;
|
|
}
|
|
|
|
.ignore-list-edit-row input,
|
|
.ignore-list-edit-row select {
|
|
width: 100%;
|
|
text-align: inherit;
|
|
}
|