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>
75 lines
2.6 KiB
CSS
75 lines
2.6 KiB
CSS
/*
|
|
* Copyright 2014 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.
|
|
*/
|
|
|
|
.service-worker-cache-data-view .data-view-toolbar {
|
|
position: relative;
|
|
background-color: #eee; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
border-bottom: 1px solid #ccc; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.service-worker-cache-data-view .data-grid {
|
|
flex: auto;
|
|
}
|
|
|
|
.service-worker-cache-data-view .data-grid .data-container tr:nth-last-child(1) td {
|
|
border: 0;
|
|
}
|
|
|
|
.service-worker-cache-data-view .data-grid .data-container tr:nth-last-child(2) td {
|
|
border-bottom: 1px solid #aaa; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
}
|
|
|
|
.service-worker-cache-data-view .data-grid .data-container tr.selected {
|
|
background-color: rgb(212 212 212); /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
color: inherit;
|
|
}
|
|
|
|
.service-worker-cache-data-view .data-grid:focus .data-container tr.selected {
|
|
background-color: var(--selection-bg-color);
|
|
color: #fff; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
}
|
|
|
|
.service-worker-cache-data-view .section,
|
|
.service-worker-cache-data-view .section > .header,
|
|
.service-worker-cache-data-view .section > .header .title {
|
|
margin: 0;
|
|
min-height: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.service-worker-cache-data-view .data-grid .data-container td .section .header .title {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cache-preview-panel-resizer {
|
|
background-color: #eee; /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
height: 4px;
|
|
border-bottom: 1px solid rgb(64% 64% 64%); /* stylelint-disable-line plugin/use_theme_colors */
|
|
/* See: crbug.com/1152736 for color variable migration. */
|
|
}
|
|
|
|
.cache-storage-summary-bar {
|
|
flex: 0 0 27px;
|
|
line-height: 27px;
|
|
padding-left: 5px;
|
|
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. */
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|