Files
react-native-devtools-frontend/front_end/browser_debugger/domBreakpointsSidebarPane.css
T
Jack Lynch f85ad68a1c DevTools: Higher-contrast UI for hit breakpoints
This change adds a border to the right side of list elements for
breakpoints that have been hit, making it easier to distinguish hit
breakpoints. Initially recommended by aboxhall in
https://chromium-review.googlesource.com/c/chromium/src/+/1629013/39#message-e4f3d258e8c2e46652d76de2c675361f23afe9ca

Before: https://gyazo.com/f5df60f6de04c79cf3daea6b1947d9b3
After: https://gyazo.com/1e743392451a4eb0f2aba9d22d2b7253
https://gyazo.com/69ace940f429762e46cb70fca7c8774c

Bug: 963183
Change-Id: I336d47902790e16cdff0c3f6c1317ba366f95321
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717269
Commit-Queue: Jack Lynch <jalyn@microsoft.com>
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#687830}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4c720ea1311597ef036326162ffcc6a39a5dbaf9
2019-08-16 21:25:21 +00:00

37 lines
758 B
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-list .breakpoint-entry:hover {
background-color: #eee;
}
.breakpoint-hit {
background-color: rgb(255, 255, 194);
border-right: 3px solid rgb(107, 97, 48);
}
:host-context(.-theme-with-dark-background) .breakpoint-hit {
background-color: hsl(46, 98%, 22%);
color: #ccc;
}