Files
react-native-devtools-frontend/front_end/developer_resources/developerResourcesView.css
T
Jack Franklin 49a9481a74 Lint color usage in background and border-* properties.
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>
2021-02-05 15:39:39 +00:00

47 lines
1.2 KiB
CSS

/*
* Copyright (c) 2020 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;
}
.developer-resource-view-toolbar-container {
display: flex;
border-bottom: 1px solid #ccc; /* stylelint-disable-line plugin/use_theme_colors */
/* See: crbug.com/1152736 for color variable migration. */
flex: 0 0 auto;
}
.developer-resource-view-toolbar {
display: inline-block;
width: 100%;
}
.developer-resource-view-toolbar-summary {
background-color: #eee; /* stylelint-disable-line plugin/use_theme_colors */
/* See: crbug.com/1152736 for color variable migration. */
border-top: 1px solid #ccc; /* stylelint-disable-line plugin/use_theme_colors */
/* See: crbug.com/1152736 for color variable migration. */
padding-left: 5px;
flex: 0 0 19px;
display: flex;
padding-right: 5px;
}
.developer-resource-view-toolbar-summary .developer-resource-view-message {
padding-top: 2px;
padding-left: 1ex;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.developer-resource-view-results {
overflow-y: auto;
display: flex;
flex: auto;
}