mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-09 13:18:29 +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>
39 lines
1.1 KiB
CSS
39 lines
1.1 KiB
CSS
/*
|
|
* Copyright 2018 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 {
|
|
z-index: 30;
|
|
padding: 4px;
|
|
background-color: #e6e6e6; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
border-radius: 7px;
|
|
border: 2px solid #bababa; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
width: 90%;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
:host(.sources-edit-breakpoint-dialog) {
|
|
border-radius: 0;
|
|
z-index: 30;
|
|
background-color: var(--toolbar-bg-color);
|
|
width: 555px;
|
|
pointer-events: auto;
|
|
margin: 2px 0 2px -1px;
|
|
padding: 0 10px 10px 5px;
|
|
border: 1px solid var(--divider-color);
|
|
}
|
|
|
|
:host-context(.sources-edit-breakpoint-dialog) .condition-editor {
|
|
background-color: var(--color-background);
|
|
margin-left: 3px;
|
|
}
|
|
|
|
:host-context(.sources-edit-breakpoint-dialog) .source-frame-breakpoint-toolbar {
|
|
font-family: sans-serif;
|
|
font-size: 12px;
|
|
}
|