blob: 9e95e84982f3657d1805888e938baa8d6e7dc352 [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371/*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7.websocket-frame-view {
8 -webkit-user-select: text;
9}
10
11.websocket-frame-view .data-grid {
12 flex: auto;
13 border: none;
14}
15
16.websocket-frame-view .data-grid .data {
17 background-image: none;
18}
19
20.websocket-frame-view-td {
21 border-bottom: 1px solid #ccc;
22}
23
24.websocket-frame-view .data-grid tr.selected {
25 background-color: #def;
26}
27
28.websocket-frame-view .data-grid td,
29.websocket-frame-view .data-grid th {
30 border-left-color: #ccc;
31}
32
33.websocket-frame-view-row-send td:first-child::before {
34 content: "\2B06 ";
35 color: #080;
36}
37
38.websocket-frame-view-row-receive td:first-child::before {
39 content: "\2B07 ";
40 color: #E65100;
41}
42
43.data-grid:focus .websocket-frame-view-row-send.selected td:first-child::before,
44.data-grid:focus .websocket-frame-view-row-receive.selected td:first-child::before {
45 color: white;
46}
47
48.websocket-frame-view-row-send {
49 background-color: rgb(226, 247, 218);
50}
51
52.websocket-frame-view-row-opcode {
53 background-color: rgb(255, 255, 232);
54 color: rgb(170, 111, 71);
55}
56
57.websocket-frame-view-row-error {
58 background-color: rgb(255, 237, 237);
59 color: rgb(182, 0, 0);
60}
61
62.websocket-frame-view .toolbar {
63 border-bottom: var(--divider-border);
64}