mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
Bug: chromium:1152736 Change-Id: I65be158488188cb2f6bd4ce30d387ba426886e65 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2571113 Commit-Queue: Mathias Bynens <mathias@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
50 lines
1.1 KiB
CSS
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(--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;
|
|
}
|
|
}
|