Files
react-native-devtools-frontend/front_end/panels/browser_debugger/domBreakpointsSidebarPane.css
T
Jack Franklin e45d3e8f18 Rename legacy color variables with --legacy-*
This CL renames some of the legacy color variables. I plan to do them
all but landing them in small chunks!

Bug: chromium:1152736
Change-Id: Iefda2ce5fd3343be720dd03cebaf14c69fc638e8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2854685
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
2021-04-28 10:31:24 +00:00

50 lines
1.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.
*/
.breakpoint-list {
padding-bottom: 3px;
}
.breakpoint-list .dom-breakpoint > div {
overflow: hidden;
text-overflow: ellipsis;
}
.breakpoint-entry {
display: flex;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding: 2px 0;
}
.breakpoint-entry:focus-visible {
background-color: var(--legacy-focus-bg-color);
}
.breakpoint-list .breakpoint-entry:hover {
background-color: var(--color-background-elevation-2);
}
.breakpoint-hit {
background-color: var(--color-background-elevation-2);
border-right: 3px solid var(--color-details-hairline);
color: var(--color-text-primary);
}
@media (forced-colors: active) {
.breakpoint-entry:focus-visible,
.breakpoint-list .breakpoint-entry:hover {
forced-color-adjust: none;
background-color: Highlight;
}
.breakpoint-entry:focus-visible *,
.breakpoint-list .breakpoint-entry:hover * {
color: HighlightText;
}
}