Files
react-native-devtools-frontend/front_end/network/webSocketFrameView.css
T
Mathias Bynens ca9fa2d73f Consistently format CSS color and opacity values
- Prefer the modern comma-free CSS color function syntax over the
  legacy syntax. [1]
- Explicitly use the `deg` suffix for angle values in colors, to
  clarify the range.
- Explicitly use the `%` suffix for percentages instead of formatting
  the value as a number, again to clarify the range.

[1]: https://twitter.com/mathias/status/1253242715304857601
[2]: https://goo.gle/devtools-css-color

Bug: chromium:1083142
Fixed: chromium:1073885
Change-Id: I8e1582a2dee3553a61df88564051ea84c2011d76
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2209091
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
2020-05-19 16:50:26 +00:00

62 lines
1.2 KiB
CSS

/*
* Copyright (c) 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.
*/
.websocket-frame-view {
user-select: text;
}
.websocket-frame-view .data-grid {
flex: auto;
border: none;
}
.websocket-frame-view .data-grid .data {
background-image: none;
}
.websocket-frame-view-td {
border-bottom: 1px solid #ccc;
}
.websocket-frame-view .data-grid tr.selected {
background-color: #def;
}
.websocket-frame-view .data-grid td,
.websocket-frame-view .data-grid th {
border-left-color: #ccc;
}
.websocket-frame-view-row-send td:first-child::before {
content: "\2B06";
color: #080;
padding-right: 4px;
}
.websocket-frame-view-row-receive td:first-child::before {
content: "\2B07";
color: #e65100;
padding-right: 4px;
}
.data-grid:focus .websocket-frame-view-row-send.selected td:first-child::before,
.data-grid:focus .websocket-frame-view-row-receive.selected td:first-child::before {
color: white;
}
.websocket-frame-view-row-send {
background-color: rgb(226 247 218);
}
.websocket-frame-view-row-error {
background-color: rgb(255 237 237);
color: rgb(182 0 0);
}
.websocket-frame-view .toolbar {
border-bottom: var(--divider-border);
}